I searched and could not find an easy non-labour intensive solution to this one.
In making a Beamer presentation, I have some framed minipages with various arbitrary content I am transferring from a document to slides. I have some long minipages I'd like to be split such that they span across two or more single-column slides (preserving the frame box). I, of course could split up the minipages manually to smaller ones or play with fonts in some cases such that they fit into slides, but it's a tedious process. I'd rather automate, like Beamer allows with allowframebreaks
+listings
for automatic multi-slide content, but for minipages instead.
MWE
\documentclass{beamer}
\mode<presentation>
\usepackage{lipsum}
\begin{document}
\begin{frame}[allowframebreaks,fragile]
\frametitle{Need to span the minipage across slides}
\begin{itemize}
\item Sometimes
\item need to
\item span the
\item minipage across
\item multiple slides.
\end{itemize}
\fbox{\begin{minipage}[b]{.95\textwidth}%
\small
\lipsum[1-5]
\normalsize
\end{minipage}}
\end{frame}
\end{document}
mdframed
, which works nice for usual pages - but I tried it with your example, and it won't work withbeamer
(asmdframed
does detection if it is in a box, and if so, it doesn't split and outputs just a single box anyway) – sdaau Feb 16 '14 at 11:47