13

How to set up beamer in a document so that frame titles are centered? Most of the themes seem to use left aligned frame titles.

1

1 Answer 1

22

You can control the title alignment by using the second optional argument of the frametitle template (See page 75 of the beamer documentation):

\documentclass{beamer}
\usetheme{CambridgeUS}

\setbeamertemplate{frametitle}[default][center]

\begin{document}

\begin{frame}
\frametitle{test}
\end{frame}

\end{document}

enter image description here

2
  • Unfortunately this solution does not work well with some themes, like Rochester, which I use with the option height=\baselineskip. In this case the title frame height is completely ignored.
    – Romildo
    Mar 9, 2012 at 19:15
  • 2
    @Romildo: in this case, simply add \addtobeamertemplate{frametitle}{\vspace{-1.6\baselineskip}} to my solution. Mar 9, 2012 at 22:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .