# Remove frame from presentation

Question: how do I remove a frame from my presentation?

I am using the beamer package and I just want to remove 1 frame quickly from my presentation because it is not relevant. Is there a quick way to do this? Like

\begin{frame}[exclude]
\end{frame}

• The answer of @dcmst is correct. After my post I also came across this topic, tex.stackexchange.com/questions/17816/…. In my case it was also sufficient to use the \iffalse ... \fi statements – WG- Sep 8 '14 at 13:07
• I think in the specific case of a beamer presentation the answer here is probably preferable to the general 'commenting out' one. Also, the question is distinct: nice one! – Joseph Wright Sep 8 '14 at 13:09

use <presentation:0>

\documentclass{beamer}

\begin{document}
\begin{frame}<presentation:0>
1
\end{frame}
\begin{frame}
2
\end{frame}
\begin{frame}
3
\end{frame}
\begin{frame}
4
\end{frame}
\begin{frame}
5
\end{frame}
\end{document}


Obligatory gif:

The slide number is still incremented by slides hidden in this way. If you don't wish to number hidden slides, add the argument

\begin{frame}<presentation:0>[noframenumbering]

• You can omit the presentation: if you want to just hide the slide from any kind of mode (e.g. handout), like \begin{frame}<0>[noframenumbering] – Mitja Sep 14 '17 at 13:28