Skip to content

Commit

Permalink
Add frame breaks formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
argenos committed Mar 26, 2018
1 parent cc005d6 commit 20baf86
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
Binary file modified hbrs-example.pdf
Binary file not shown.
23 changes: 23 additions & 0 deletions hbrs-example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,27 @@ \section{Something else}
\end{itemize}
\end{frame}

\begin{frame}[allowframebreaks]{Test}
First slide
\begin{itemize}
\item
\item
\item
\item
\item
\end{itemize}
\framebreak
Second slide
\begin{itemize}
\item
\item
\item
\item
\item
\end{itemize}
\end{frame}
%--- Next Frame ---%



\end{document}
13 changes: 13 additions & 0 deletions theme/beamerouterthemehbrs.sty
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,18 @@
}%


% Formatting for allowframebrakes
\newcounter{cont}
\makeatletter
\setbeamertemplate{frametitle continuation}{%
\setcounter{cont}{\beamer@endpageofframe}%
\addtocounter{cont}{1}%
\addtocounter{cont}{-\beamer@startpageofframe}%
(\insertcontinuationcount/\arabic{cont})%
}
\makeatletter



\mode<all>
\endinput

0 comments on commit 20baf86

Please sign in to comment.