3

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?

  • If you cut the code and paste in new files, you can use \include{} to compile only what you wish. – Sigur Jan 29 '16 at 19:56
1

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

Found an alternative solution at: Remove frame from presentation

It does not require to add new definitions, but you can't encapsulate many frames at once.

It simply consists on adding <0> after \begin{frame}.

\documentclass{beamer}

\begin{document}
\begin{frame}<0>
1
\end{frame}
\begin{frame}
2
\end{frame}
\begin{frame}<0>[noframenumbering]
skipping frame numbering
\end{frame}
\begin{frame}
3
\end{frame}
\begin{frame}
4
\end{frame}
\end{document}
2

With the beameraudience package you can create different versions of the presentation based on keywords of your choice:

\documentclass{beamer}

\usepackage[
    audience=long
    ]{beameraudience}

\begin{document}

\frame{Frame 1}

\justfor{long}{%
    \frame{Frame 2 -- Additional Slide} 
}


\frame{Frame 3}

\end{document}
1

The beamer package offers a 'handout' mode. You can mark frames to be only printed in the 'beamer' (projector) version, to be only printed in the handout version or in both. The beameruserguide explains how to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.