I would like to place, in some frames, a text, on the bottom right of a beamer slide.
I created a command which places this text by \vfill\hfill
. In a normal class (as article), it works perfectly. But with beamer, the \vfill
does not seem to have the standard behavior.
Compare the frame 1 and 2 in the following MWE
\documentclass[handout]{beamer}
\def\position#1#2{\vfill\hfill #1-#2}
\begin{document}
\begin{frame}
\begin{itemize}\item a
\item a
\item a
\end{itemize}
\position{2}{2}
\end{frame}
\begin{frame}
\begin{itemize}\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\item a
\end{itemize}
\position{2}{2}
\end{frame}
\end{document}
Any idea?
beamer
uses\vfill
at both ends to vertically center the frame contents.\position
in the lower right corner of the frame? Then\vfill\hfill
is certainly not the best way even forarticle
.