# [Tex/LaTex] Beamer allowframebreaks default option

beamermacrosoptional arguments

How do I tell beamer that I want allowframebreaks allowed by default?

Something like noitemsep for itemize: \setlist[itemize]{noitemsep}

So that I don't have to do:

\begin{frame}[allowframebreaks]
something
\end{frame}


but just:

\begin{frame}
something
\end{frame}


Since everyone is telling you not to do it, here;s one way of doing it:-)

\documentclass{beamer}

\let\oldframe\frame
\renewcommand\frame[1][allowframebreaks]{\oldframe[#1]}

\begin{document}

\begin{frame}
\begin{enumerate}
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\item    something \item    something \item    something
\end{enumerate}
\end{frame}

\end{document}


That leaves breaking as the default option but if you specify any other option the default is not used so you need to include allowframebreaks whenever you have an option.

If you definitely always want it (rather than just having it as default if no option used) you can use instead of the above

 \renewcommand\frame[1][]{\oldframe[allowframebreaks,#1]}


so that allowframebreaks is always prepended to the option list.