15

Now i have a frametitle named "AAA", but now i've got a subtitle named "bbb", is there some ways to add "bbb" as a subtitle. The following is the codes:

\documentclass{beamer}
\usetheme{Warsaw} 
\begin{document}
\begin{frame}
\frametitle{AAA}
\end{frame}
\end{document}

thanks

22

There is also a command:

\framesubtitle{<subtitle>}

Quoting the Beamer user guide:

\framesubtitle<⟨overlay specification⟩>{⟨frame subtitle text⟩}

If present, a subtitle will be shown in a smaller font below the main title. Like the \frametitle command, this command can be given anywhere in the frame, since the frame title is actually typeset only when everything else has already been typeset. Example:

     \begin{frame}
       \frametitle<presentation>{Frame Title Should Be in Uppercase.}
       \framesubtitle{Subtitles can be in lowercase if they are full sentences.}
       Frame contents.
     \end{frame}
| improve this answer | |
  • 1
    what's the meaning of " this command can be given anywhere in the frame, since the frame title is actually typeset only when everything else has already been typeset" ? – Nax Nov 11 '13 at 14:46
  • 3
    I guess this means that you can put it even at the end of a frame, like \begin{frame}{title}some text\framesubtitle{subtitle}\end{frame}. – Claudio Fiandrino Nov 11 '13 at 14:59
0

You can use:

\begin{frame}{title}{subtitle}
content here
\end{frame}

Be careful if the content starts with { as a scope limiter.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.