Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a few very simple beamer slides, which are built up this way:

A short introducory text

A picture, which is almost the same in all slides

Unfortunately, the introducory text is sometimes one line, sometimes two lines and sometimes three. Therefore the picture gets always a little bit shifted in its vertical position. Since this is a presentation, I would it like to have it fixed on a certain position, so that it doesn't change when loading the new slide.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You could use the overprint environment so that the same space is reserved on all slides.

\begin{frame}
\frametitle<1>{Title for slide 1}
\frametitle<2>{Title for slide 2}
\frametitle<3>{Title for slide 3}

\begin{overprint}
  \onslide<1> introductory text for first slide
  \onslide<2> introductory text for second slide
  \onslide<3> introductory text for third slide
              \\can also be longer
\end{overprint}

\begin{overprint}
  \onslide<1>\centerline{\includegraphics[width=<length>]{filename1}}%
  \onslide<2>\centerline{\includegraphics[width=<length>]{filename2}}%
  \onslide<3>\centerline{\includegraphics[width=<length>]{filename3}}%
\end{overprint}

\end{frame}

Another simple idea is to add a \vfill between text and graphic to push both apart. Then the graphic will always be at the bottom. A third alternative is to use the textpos package to place the graphic using absolute coordinates.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.