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}
7
  • To this frames add option [b]. This should help.
    – Zarko
    Commented Dec 1, 2015 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
    Commented Dec 1, 2015 at 14:51
  • for that you ask in your question ... Than you actually need a footnote. Why then you not use it?
    – Zarko
    Commented Dec 1, 2015 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
    Commented Dec 2, 2015 at 9: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
    Commented Dec 2, 2015 at 13:27

1 Answer 1

5
+100

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

2
  • You need a \btVfill also at the start
    – egreg
    Commented Dec 14, 2015 at 9:22
  • @egreg: Sure, if you want the other content to be vertically centered.
    – Daniel
    Commented Dec 14, 2015 at 9:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .