I'm using the exam class to typeset exams and exercises. This is fine for paper exams, however, I'm looking for a solution to present those questions and answers via beamer.
The (in my opinion) "quick and dirty" solution is just to present the solution pdf.
Does anybody a better way know how to use the /question ... \begin{solution}...\end{solution} part in (probably many) beamer slides?
Here's a MWE: The question:
\question
A vehicle has a mass of ...
\begin{parts}
\part[4]
Find the maximum velocity!
\begin{solutionorbox}[2.5cm]
This is how you find out v_max.
\end{solutionorbox}
\part[5]
Compute the accelleration time.
\begin{solutionorbox}[1cm]
\[ t = 20s \]
\end{solutionorbox}
\end{parts}
And here comes the wrapper:
\documentclass[a4paper, addpoints, 11pt]{exam}
\printanswers
\newif\ifExamenisStyle
\ExamenisStylefalse
\usepackage{HGexam}
\begin{document}
\sloppy
\doctitle{Homework}{Physics}{\today}{Hermann}{}{}{}
\begin{questions}
\input{beschlEnergieerhaltung}
\end{questions}
\end{document}
Now I'd like one slide for the question and another one for each part. Hope anybody has a good suggestion.