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

I would like to put an equation at the center of a page in beamer (viewing the page from top to bottom rather than left to right - I already know how to center an equation going from left to right). I would also like to have some text above the equation. How can I do both at once?

share|improve this question
So you want the text to appear just below the \frametitle, and then the equation is vertically centred on the slide? The simple frame: \begin{frame} \frametitle{Frame title} Here is some text \[ f(x) = ax^2 + bx + c \] \end{frame} produces a centred equation and text immediately above it. – Werner Sep 26 '12 at 19:18

beamer frames are vertically centered by default unless you have \documentclass[t]{beamer} or \begin{frame}[t].
You can use \vfil and \vfill to accomplish a vertically centered equation and some text that is vertically centered between the top and the equation.


%\usepackage{lua-visual-debug} % used to show output debug
Text over equation


output without lua-visual-debug output with lua-visual-debug

Is this what you want?

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.