[Tex/LaTex] How to skip slides in Beamer

beamer

I have a beamer presentation for a long presentation, but I'd like to make a smaller presentation which skips some of the slides. Does beamer have a way to do that, or should I just comment out the source code for the slides I want to skip?

Best Answer

You could define your own if condition and just wrap every additional slide inside of \ifadditional ... \fi.

\documentclass{beamer}

\newif\ifadditional
\additionaltrue
%\additionalfalse % UNCOMMENT TO CREATE SMALLER VERSION

\begin{document}

\frame{Frame 1}

\ifadditional
\frame{Frame 2 -- Additional Slide}
\fi

\frame{Frame 3}

\end{document}
Related Question