Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there a way to make \frametitle automatically take the \subsection heading?

Or maybe equivalently, is there a way to make the section\subsection titles in the header larger? I am afraid the audience may not follow the section\subsection title.

Thanks! (FWIW, so far I've been using the Warsaw theme)

share|improve this question

1 Answer 1

up vote 10 down vote accepted

Adding

\addtobeamertemplate{frametitle}{\let\insertframetitle\insertsubsectionhead}{}

will replace all frame titles, as far as they exist, but will not magically make a frame title appear if you don't give the argument to the frame environment or give a \frametitle{} command.

ETA: Additionally adding

\makeatletter
  \CheckCommand*\beamer@checkframetitle{\@ifnextchar\bgroup\beamer@inlineframetitle{}}
  \renewcommand*\beamer@checkframetitle{\global\let\beamer@frametitle\relax\@ifnextchar\bgroup\beamer@inlineframetitle{}}
\makeatother

makes every frame have a title, even if it is \relax by default. (This is somewhat hackish.)

share|improve this answer

Your Answer

 
discard

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.