The preamble looks like this
With the initial handout tag I can toggle between handout mode and normal mode in latex. With the \ho tag I can decide whether the handouts are filled in or not.\documentclass[compress,transparent,10pt ,handout ]{beamer} % toggle print-out to the handout for fill-in-the-blanks part %\newcommand{\ho}{} \newcommand{\ho}{|handout:0}
Let's look at the following code
This can be compiled in three different ways. For the initial student printout I am using the commands as shown above to obtain:\begin{frame} \frametitle{Energy and waves} \begin{block}{Planck law} \onslide<2-\ho>{\[ E = h\nu \]} \end{block} \begin{block}{Speed of light} \onslide<3-\ho>{\[ c = \nu\lambda \]} \end{block} \begin{description} \item[$E$] Energy \item[$h$] Planck constant, $h=6.626\times 10^{-34}Js$ \item[$c$] Speed of light, $c=2.997\times 10^8 m/s$ \item[$\lambda$] Wavelength of light \end{description} \end{frame}3->2->
If I want to fill in the blanks, I just change the following:
to get% toggle print-out to the handout for fill-in-the-blanks part \newcommand{\ho}{} %\newcommand{\ho}{|handout:0}
And for my lecture I uncomment the "handout" part to get three separate slides where the equations appear on click:
No comments:
Post a Comment