Placing a figure in the solutionbox doesn't seem to work... Any suggestions?
\documentclass[a4paper,addpoints,12pt,answers]{exam}
\qformat{\textbf{Oefening \thequestion}. \hrulefill \thepoints}
\begin{questions}
\question [5]
here's the question
\begin{solutionorbox}[\stretch{1}]
\begin{figure}[h]
\centering
\includegraphics[width=0.9\linewidth]{Figures/Oef_Saturn_001}
\caption{Saturn}
\label{fig:oefsaturn001}
\end{figure}
\end{solutionorbox}
\end{questions}
When i only place this it works, but the "Solution"is centered as well
\begin{solutionorbox}[\stretch{1}] \\
\centering
\includegraphics[width=0.9\linewidth]{Figures/Oef_Saturn_001}
\end{solutionorbox}
I only seem to work with this
\begin{solutionorbox}[\stretch{1}] \\
\begin{center}
\includegraphics[width=0.9\linewidth]{Figures/Oef_Saturn_001}
\end{center}
\end{solutionorbox}
\captionof
from the caption or capt-of packages.