I am trying to reduce the standard font size in a Beamer presentation, created in Rmarkdown, using the Frankfurt theme.

When I set fontsize: 10pt (as desired) in the YAML it impacts the spacing in the navigation bar... see below for a screenshot of the last slide.

I have tried messing around with \setbeamerfont{headline}{size=\large} as in this question, but I am not to sure where to put the command in the .Rmd file - everywhere i have tried so far has no impact.

Some code to replicate the crappy spacing...

title: "Untitled"
fontsize: 10pt
    theme: "Frankfurt"
    slide_level: 3

# Section 1

## .

### R Markdown

This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

### Slide with Bullets

- Bullet 1
- Bullet 2
- Bullet 3

... and a screenshot of the navigation bar in a standard slide

enter image description here

1 Answer 1


Add \addtobeamertemplate{frametitle}{\vskip0.5ex}{} to the header

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .