I am currently in process of tweaking the look of my beamer presentation and would like the navigational elements (TOC and mini-navigation, that is shipped alongside the Frankfurt theme) to use Sans-Serif fonts, while the rest of the presentation is supposed to use Roman fonts.

This wasn't such a problem for the TOC, but I have trouble correctly selecting the text above the navigational circles.

Referring to this answer, I tried to use mini, but that didn't change anything.

Here is the current code snippet:

\setbeamerfont{section in toc}{size=\scriptsize,family=\sf}
\setbeamerfont{subsection in toc}{size=\tiny,family=\sf}

I'm afraid I'm not completely sure what you want to achieve, as sans fonts are the same as sans-serif fonts, that is to say fonts without the little lines at the end of the strokes (like the one used on this website). I guess you're using something like


to get a serif typeface for the normal text of your presentation, but you still want to retain the default sans-serif typeface in the headline. This can be achieved by changing the beamer theme section in head/foot:

\setbeamerfont{section in head/foot}{family=\sffamily}

(using \sffamily instead of the deprecated \sf).

Full example code

\setbeamerfont{section in head/foot}{family=\sffamily}
\section{Section 1}
\frame{Serif typeface}\frame{Serif typeface}\frame{Serif typeface}
\section{Section 2}
\frame{Serif typeface}\frame{Serif typeface}\frame{Serif typeface}\frame{Serif typeface}\frame{Serif typeface}
\section{Section 3}
\frame{Serif typeface}\frame{Serif typeface}

frame showing text in serif typeface in combination with a sans-serif header

|improve this answer|||||
  • I'm sorry for confusing you, of course I meant Serif/Roman fonts and Sans-Serif fonts, not Sans fonts and Sans-Serif fonts. I've updated the question with the correct terms. In the end, your solution achieves what I wanted, thank you for your contribution. – Big-Blue Oct 27 '13 at 15:01

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.