# beamer: footnote text collides with navigation symbols

Footnotes in presentations are "usually not a good idea" (beamer manual, p. 130). Suppose, however, I have a valid reason to use the \footnote command in a beamer document (e.g., for printing a full citation similar to a bibliography entry). Many beamer themes include navigation symbols, and to my dismay I noticed that footnotes will be placed at the very bottom of a frame where they are likely to collide with any navigation symbols present. I tried to put the contents of a frame inside a minipage, but this will make footnotes (too) closely aligned to the text.

\documentclass{beamer}

\useoutertheme{infolines}

\author{Author}
\institute{Institute}
\date{\today}

% Remove footnote rule
\renewcommand*{\footnoterule}{}

\begin{document}

\begin{frame}{Frame 1}

Some text.\footnote{A long footnote that partially overwrites the navigation symbols.}

\end{frame}

\begin{frame}{Frame 2}

\begin{minipage}{\textwidth}

Some text.\footnote{A footnote that is closely aligned to the text.}

\end{minipage}

\end{frame}

\end{document}


How can I place footnotes at the bottom of a frame excluding the vertical space claimed by navigation symbols?

EDIT: Stefan's answer made me realize that the problem is more complicated. I'm looking for a solution that also works with beamer themes which include information about author, institute etc. in the footline (and the navigation symbols immediately above this information). I edited my code example accordingly.

EDIT2: Following Stefan's suggestion to "just insert the navigation symbols", this is what I came up with (to be added to the preamble of my code example):

\makeatletter
\setbeamertemplate{sidebar right}{}
\setbeamertemplate{footline}
{
\leavevmode%
% Begin of additions - note that this is pure guesswork
\vskip2pt%
\begin{beamercolorbox}[wd=0.9925\paperwidth,right]{}
\end{beamercolorbox}
\vskip2pt%
\hbox{%
\end{beamercolorbox}%
\end{beamercolorbox}%
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother


To rephrase my original question once more: Is there a solution that doesn't depend on which beamer themes are used? E.g., adding vertical space after the last (!) footnote on a frame if navigation symbols are present?

• A very similar question is here (and also here). Is is a duplicate? – Hendrik Vogt Nov 23 '10 at 18:50
• @Hendrik: The first question is about inserting additional material into the footline (which also contains the navigation symbols), while I want to displace footnote text from the footline. The second question (about beamer and biblatex) would actually profit from an answer to my question. – lockstep Nov 23 '10 at 19:03
• @lockstep: Ah, thanks for the explanation. Does this imply that my 2nd link is not a duplicate of the 1st one (as suggested by Matthew)? – Hendrik Vogt Nov 23 '10 at 19:05
• @Hendrik: Indeed. Full citations tend to be rather long, and the first question seems to be about short texts (which don't collide with anything else present in the footline). – lockstep Nov 23 '10 at 19:10
• Best solution: turn off navigation symbols – Seamus Nov 23 '10 at 21:21

You can achieve that by placing the navigation symbols in the footline instead of the default position in the right sidebar:

\setbeamertemplate{sidebar right}{}


The original definition uses \llap and the sidebar, that's why it may be overwritten:

% From beamerouterthemedefault.sty:
\defbeamertemplate*{sidebar right}{default}
{
\vfill%
\llap{\insertlogo\hskip0.1cm}%
\vskip2pt%
\vskip2pt%
}


In response to locksteps edit: this tiny example used the complete footline for demonstration. If there's already a footline present, I would modify this footline inserting \usebeamertemplate***{navigation symbols} therein, so it may become a footline with a height of two lines. This cannot be accidentally overwritten.

Seeing locksteps last edit now: for example, using Matthew's suggestion \addtobeamertemplate on the footline instead of the footnote brings us to:

\setbeamertemplate{sidebar right}{}% or get rid of navigation entries there somehow
\hspace*{0.1cm}\par\vskip 2pt}{}


This reserves the space and works with or without an existing footline, no matter if that footline is one or more lines tall. I've tested it with the themes Berlin, Singapore and Madrid.

• Many thanks, but I realized that your suggestion would remove any additional information present in the footline. I edited my question. – lockstep Nov 23 '10 at 19:34
• @lockstep: just insert the navigation symbols into the existing footline. It doesn't mean that one has to replace it. I've edited as well. – Stefan Kottwitz Nov 23 '10 at 19:39
• Many thanks, especially for your tests. Just a small suggestion: \par\vskip 2pt would come closer to the original. – lockstep Nov 23 '10 at 21:43
• ... the second solution removes the navigation symbols in all slides in Madrid style for me... – Rmano Dec 9 '15 at 20:53

The more I learn about beamer's template mechanism, the more I like it. Try this in the preamble:

\addtobeamertemplate{footnote}{}{\vspace{2ex}}


This just adds some space to the footnote so it doesn't overwrite the navigation symbols.

• this is fine if just one footnote is used, but this space would also be inserted between each two footnotes on one frame. – Stefan Kottwitz Nov 23 '10 at 20:05
• @Stefan: this is true. Bad use case, then. :-) – Matthew Leingang Nov 23 '10 at 20:24
• you made a very good suggestion to use \addtobeamertemplate! I've combined it with my proposal. – Stefan Kottwitz Nov 24 '10 at 0:51
• The next time Stefan and you come up with helpful answers to a question of mine, I'll accept your answer. – lockstep Nov 24 '10 at 7:05

Matthew's answer inspired me to add vertical space to the footnote line:

\addtobeamertemplate{footnote}{\vspace{-6pt}\advance\hsize-0.5cm}{\vspace{6pt}}
\makeatletter
% Alternative A: footnote rule
\renewcommand*{\footnoterule}{\kern -3pt \hrule \@width 2in \kern 8.6pt}
% Alternative B: no footnote rule
% \renewcommand*{\footnoterule}{\kern 6pt}
\makeatother


EDIT: Incorporated reduction of the horizontal size of the footnote text, by courtesy of egreg.