Skip to content

Instantly share code, notes, and snippets.

@jhedev
Created December 11, 2013 22:31
Show Gist options
  • Save jhedev/7919692 to your computer and use it in GitHub Desktop.
Save jhedev/7919692 to your computer and use it in GitHub Desktop.
Shows how to add frame numbers in footline in LaTeX Beamer class
\setbeamertemplate{footline}{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.6\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\hspace*{3em}
\insertframenumber{} \hspace*{1ex}
\end{beamercolorbox}}%
\vskip0pt%
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment