2

I would like to put content at the bottom of some slide, possibly containing environment such as tabular, in a manner similar to footnotes but without footnote marks. My current attempt is the following, with vfill being not enough.

\documentclass{beamer}
\begin{document}
\begin{frame}{Duke says}
  \begin{itemize}
  \item It don't mean a thing
  \end{itemize}
\vfill{\footnotesize%
\hrule\vspace{.2em}
  \begin{tabular}{ll}
    If it ain't got & that swing.\\
  \end{tabular}
}

\end{frame}

\end{document}
M. Toya
  • 3,227
  • To this frames add option [b]. This should help. – Zarko Dec 01 '15 at 14:14
  • @Zarko With the [b] option, all the content is move downwards which is not exactly what I am looking for. – M. Toya Dec 01 '15 at 14:51
  • for that you ask in your question ... Than you actually need a footnote. Why then you not use it? – Zarko Dec 01 '15 at 17:09
  • @Zarko: I would like to avoid the footnote marks and it seems that tabular environment are a problem in footnotes. – M. Toya Dec 02 '15 at 09:47
  • If you not use footnotes in your presentation, than you can add to preamble \renewcommand*{\footnoterule}{}\renewcommand*{\thefootnote}{~} and put your table (tabular) into \footnote{<whatever>\\}. – Zarko Dec 02 '15 at 13:27
  • @Zarko: there are 2 problems with that approach. 1) There is a leading dot in the footnote. 2) Tabular content appears inline, not as a table. – M. Toya Dec 14 '15 at 09:12
  • In my test I didn't observe this. Better solution is proposed in Daniel's answer. – Zarko Dec 14 '15 at 11:38

1 Answers1

5

The following defines and uses a \btVFill command that pushes the content really to the bottom of the slide. See also How do I write something at the end of the slide in beamer?

\documentclass{beamer}

\newcommand{\btVFill}{\vskip0pt plus 1filll}

\begin{document}
\begin{frame}{Duke says}
  \begin{itemize}
  \item It don't mean a thing
  \end{itemize}
\btVFill
{\footnotesize%
\hrule\vspace{.2em}
  \begin{tabular}{ll}
    If it ain't got & that swing.\\
  \end{tabular}
}

\end{frame}

\end{document}

enter image description here

The \btVFill command inserts an infinitely stretchable vertical fill, which has the side effect that the content above it is also pushed to the top. To prevent this, one can just "stack" several \btVFill. In this case TeX will distribute the vertical space equally:

\documentclass{beamer}

\newcommand{\btVFill}{\vskip0pt plus 1filll}

\begin{document}
\begin{frame}{Duke says}
\btVFill
  \begin{itemize}
  \item It don't mean a thing
  \end{itemize}
\btVFill
{\footnotesize%
\hrule\vspace{.2em}
  \begin{tabular}{ll}
    If it ain't got & that swing.\\
  \end{tabular}
}

\end{frame}

\end{document}

enter image description here

Daniel
  • 37,517