TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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.