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 would like to align everything of an in steps appearing text on a LaTeX beamer frame on its bottom and if there is to much text so that it would not fit on the frame just cut it at the top. The last lines should be always shown. I guess that it is possible with some box tricks, but I cannot find the solution.

I have tried things like

\documentclass{beamer}
\begin{document}
\begin{frame}[<+->]
\begin{minipage}[t][\textheight]{\textwidth}
\vfill

test a\par\pause
test b\par\pause
test c\par\pause
test d\par\pause
test e\par\pause
test f\par\pause
test g\par\pause
test h\par\pause
test i\par\pause
test j\par\pause
\end{minipage}
\end{frame}
\end{document}

But there are two problems with this:

First of all, because of the usage of \pause it does not align everything on the bottom but just such that the last page is really bottom aligned (It works with \only<1->, \only<2-> etc.) but I cannot use this because I want an extra command (defined by \newcommand) to display "test ..." in a special formatting defined by its contents and I do not know which number i I am currently at to use in

\only<i->

).

And the second one is that it does not cut off at the top then there are to many lines to display.

I would be very grateful for some help.

share|improve this question
    
Hi Olga and welcome to TeX.sx. In its current form, your question might not receive many answers. Please take a look at the How to Ask-page and try to improve your question according to the guidance found there. This may require you to show some effort on your part in terms of attempting a solution. If you have questions about what to do or if you don't quite understand what this means, please ask for clarification using the add comment function. –  percusse Jul 30 '12 at 11:55
    
Thank you, percusse, for your comment. I hope that it is better now. –  Olga Jul 30 '12 at 12:28

1 Answer 1

If I understand you correctly you just want to use a [b] aligned minipage instead of [t].

enter image description here

\documentclass{beamer}
\begin{document}
\begin{frame}[<+->]
\noindent
\begin{minipage}[b][\textheight]{\textwidth}


test a\par\pause
test b\par\pause
test c\par\pause
test d\par\pause
test e\par\pause
test f\par\pause
test g\par\pause
test h\par\pause
test i\par\pause
test j\par\pause
test k\par\pause
test l\par\pause
test m\par\pause
test n\par\pause
test o\par\pause
test p\par\pause
test q\par\pause
test r\par\pause
test s\par\pause
test t\par\pause
test u\par\pause
test v\par\pause
test w\par\pause
\end{minipage}
\vskip-5pt
\end{frame}
\end{document}
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.