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 am trying to build my own beamertheme and I want to modify the line spread in the title.

I use {\LARGE \linespread{1.6} \selectfont \inserttitle \par} to modify the line spread, but it does only work in the main text of a frame and not inside the headline.

My minimal theme looks like this



    {\LARGE \linespread{1.6} \selectfont \inserttitle \par}

and my test presentation looks like this:

  \mode<presentation> { 

 \title{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. }
    \begin{block}{\large Test}
      {\Large \linespread{1.6} \selectfont \inserttitle \par}

Here is a picture of the compiled output:

Compiled output

As you can see, the text inside the frame is correctly spaced, but the line spread command in the headline does not affect the spacing of the title output.

How can I fix this? Thanks!

share|improve this question
up vote 6 down vote accepted

beamer explicitly turns off linespacing in the headline.

If you add this to your beamer theme (with the % before \offinterlineskip being the only change) then line spacing works again. But something else may break:-)

\def\beamer@typesetheadorfoot#1{% typeset the head or footline
  {\parskip0pt %\offinterlineskip%
share|improve this answer
Thanks, that worked like a charm. And it does not seem to break anything at first glance. :) – FloF Aug 8 '12 at 13:01

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.