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?

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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