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.

The beamer frames optinal argument [c] seems to be ignored in the following example:

\begin{frame}[c, fragile, shrink] %seems to be ignored, not aligning vertically 
    \makebox[\textwidth][c]{ % works, aligning horizontally
            \node[draw]{Center Me};

How do i need to modify the example to center the node vertically?

share|improve this question
Incidentally, a MWE starts (at least) with \documentclass and ends with \end{document}. Sometimes problems are due to package clashes and it's hard to debug them without knowing what packages are being loaded. –  Loop Space Feb 8 '13 at 12:08
add comment

1 Answer 1

up vote 6 down vote accepted

The problem is the shrink option. If you remove that then the frame is vertically centred. My guess is that since shrink is meant for cramming stuff that is too big onto the page, the c option gets ignored since if shrink is needed, vertical alignment goes out of the window as the box will fill the entire page.

share|improve this answer
add comment

Your Answer


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.