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

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
up vote 11 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
    
Is there a way to stop this routine modifying the looks of "\titlepage" and "\sectionpage"? Because currently it adds an empty ribbon on top of the frame. – Halil ŞEN May 7 at 19:13

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.