I am using the Hannover theme in beamer and I am using the title frame as plain


\title[Title]{Centering Title frame}


picture of frame title not centered picture of frame title without "plain" not centered

Because it was not obvious on the first picture (white on white, I have added the same picture without the option "plain" on the frame). My point is that I would like that with the option plain the frame forget about the hannover theme and centers the whole frame.

I tried to put a \hspace{-xpt} before the frame but it did not seem to work.

3 Answers 3


You could \hoffset to move the content of the frame to the left, by the half amount of the sidebar width:


I used \begingroupand \endgroup to limit the effect of the change to \hoffset to just this frame. \makeatletter and \makeatletter are necessary for accessing the internal macro \beamer@sidebarwidth.

  • This solution doesn't work anymore. Any idea what might work now?
    – luchonacho
    Dec 18, 2015 at 19:45
  • @luchonacho Perhaps tell us what "doesn't work" means in your case. And you may post a new question if you like.
    – Stefan Kottwitz
    Dec 18, 2015 at 20:23
  • Sorry, my bad. I am trying to center the title for another beamer template, and it doesn't work. Is your solution unique to the Hannover theme? I get Undefined control sequence. \setlength{\hoffset}{-.5\beamer@sidebarwidth}
    – luchonacho
    Dec 21, 2015 at 22:09
  • @luchonacho Possibly! For example, a beamer theme without a sidebar doesn't need a \beamer@sidebarwidth length. Your case may be different, so it would be a good idea to post a new question with all template information.
    – Stefan Kottwitz
    Dec 21, 2015 at 22:36
  • Wow this is clever! :) Thank you, exactly what i was looking for!
    – Tim Hilt
    Nov 10, 2018 at 9:28

If the background of the title page isn't white -- for instance, if filled with the \fill from tikz, -- then the Stefan's solution won't work as intended: the filled area will be shifted to the left exposing the white background. My solution is to put the title page into a minibox and then shift it by half of the sidebar width:

  • Is it possible to give this as a minimal working example? I'm having this problem, but can't figure it out
    – Dolphin
    Nov 7, 2019 at 10:36

Another solution is to simply define a custom title page:

In the preamble:

\defbeamertemplate*{title page}{customized}[1][]
  • 1
    But this won't remove the additional margin from the sidebar. Try this with a longer title and you will see that the left margin is still much bigger than the right one. Feb 9, 2017 at 1:29

You must log in to answer this question.

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