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.

I want to change only the \frametitle font size. Changing this, is the height of the frame title going to decrease also? Because I want that.

I'm using the Warsaw theme.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Yes; changing the font size will also affect the height of the frametitle template. However, depending on the theme used the effect will be different; using Warsaw:

An image of the default frametitle height:

enter image description here

and with \tiny font size (as in the example code):

enter image description here

\documentclass{beamer}
\usetheme{Warsaw}
\setbeamerfont{frametitle}{size=\tiny}

\begin{document}

\begin{frame}
\frametitle{A test frame}
Test
\end{frame}

\end{document}

And using CambridgeUS:

\documentclass{beamer}
\usetheme{CambridgeUS}
\setbeamerfont{frametitle}{size=\tiny}

\begin{document}

\begin{frame}
\frametitle{A test frame}
Test
\end{frame}

\end{document}

An image of the default frametitle height:

enter image description here

and with \tiny font size (as in the example code):

enter image description here

The change can be locally applied to some specific frame(s), as the following example illustrates:

\documentclass{beamer}
\usetheme{Warsaw}

\begin{document}

\begin{frame}
\frametitle{A test frame}
Test
\end{frame}

{
\setbeamerfont{frametitle}{size=\tiny}
\begin{frame}
\frametitle{A test frame}
Test
\end{frame}
}

\begin{frame}
\frametitle{A test frame}
Test
\end{frame}

\end{document}
share|improve this answer
    
:Ok,thanks!And how can i apply it to only one slide? –  George Sep 25 '12 at 18:13
    
@George please see my updated answer (notice the use of braces to keep the change local). –  Gonzalo Medina Sep 25 '12 at 18:18
    
:Excellent,thanks! –  George Sep 25 '12 at 18:22
add comment

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.