# Second Footer Line in beamer

I was wondering if we could have a second footer line (below the author's name, short title, date, and the number of the slide) in beamer like the one below? If so, I would welcome any ideas so as to try it.

• To answer your question: Yes we could. – Skillmon Nov 7 '17 at 22:55
• The place to work on is \setbeamertemplate{footline}. Sorry if I'm annoying you, but I'm tired and going to bed now and don't have enough energy left to give better answers. – Skillmon Nov 7 '17 at 23:03
• What theme are you using? – Werner Nov 8 '17 at 2:01

## 1 Answer

You can add an additional line by redefining the footline.

\documentclass{beamer}

\usetheme{Boadilla}

\makeatletter
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor\expandafter\ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%

\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot} text
\end{beamercolorbox}%
\vskip0pt%
}
\makeatother

\begin{document}

\begin{frame}
\end{frame}

\end{document}

• Thank you! There is an error showing: "! Undefined control sequence. <recently read> \ifblank " when I'm trying to run it. – Y_gr Nov 8 '17 at 23:15
• @Y_gr Works for me without error. How are you compiling? Which tex distribution do you have? – user36296 Nov 9 '17 at 0:58
• TeXworks and I compiled it with pdfLaTeX – Y_gr Nov 9 '17 at 9:32
• @Y_gr Which version? I used pdflatex from texlive 2017. – user36296 Nov 9 '17 at 9:40
• Out of curiosity: Why did you add the \vskip0pt to the bottom of the footline? – Skillmon Nov 10 '17 at 9:37