考试科目:在solutionorbox环境中放置图片不起作用

考试科目:在solutionorbox环境中放置图片不起作用

在解决方案框中放置图形似乎不起作用...有什么建议吗?

\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}

当我只放置它时它可以工作,但“解决方案”也居中

\begin{solutionorbox}[\stretch{1}] \\
    \centering
    \includegraphics[width=0.9\linewidth]{Figures/Oef_Saturn_001}
    
\end{solutionorbox}

我似乎只用这个

\begin{solutionorbox}[\stretch{1}] \\
    \begin{center}
    \includegraphics[width=0.9\linewidth]{Figures/Oef_Saturn_001}
    \end{center}
\end{solutionorbox}

相关内容