I'm having a slight problem with the width of the sidebar and the width of the text in the sidebar using beamer.

enter image description here

As seen here, I have manually set the width of the sidebar to 2.9cm, but while there are plenty of room, the text in the sidebar (which currently acts as a table of contents) are still a fixed size, hence some items taking up two lines instead of one.

Complete MWE:

\usepackage[utf8]{inputenc} % UFT8 - danske bogstaver



\setbeamersize{sidebar width left=\swidth}
\setbeamertemplate{sidebar left}
  {\usebeamerfont{title in sidebar}%
    \usebeamercolor[fg]{title in sidebar}%
    \usebeamercolor[fg]{author in sidebar}%
    \usebeamerfont{author in sidebar}%
      \hbox to2cm{\hss\insertlogo\hss}
      \hbox to2cm{\hskip0.6cm\usebeamerfont{subsection in
          sidebar}\strut\usebeamercolor[fg]{subsection in

\author{Philip Jakobsen}

\setbeamersize{sidebar width left = 2.9cm}



\section{NMR - kort teori}

    \item $x$-aksen: elektrontæthed omkring det atom, som proton(erne) er     bundet til
    \item $y$-aksen: antal \ce{^{1}H}-kerner 
    \item Intensitet $=$ areal (integral) under signal
    \item Kan ``mærke'' nærliggende \ce{^{1}H}-kerner $\to$ opsplitning


\section{Isoeugenol Acetat}





  • 1
    it works if you pass the option through the theme declaration: \def\swidth{2.2cm}\usetheme[width=\swidth]{Hannover}
    – d-cmst
    Jun 8, 2014 at 19:47

1 Answer 1


According to the Documentation the Hannover theme has the option width specified in the way you need it:

width=⟨dimension⟩ sets the width of the sidebar.

So replace your custom code to define the sidebar width with


and it works fine.

  • 2
    Where on earth is the documentation of the Hannover theme?
    – Kartik
    Apr 6, 2019 at 23:45

You must log in to answer this question.

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