I want to resize the figure captions in an rmarkdown beamer template, so I added \usepackage[font={small,it}]{caption} to my header.tex. But it doesn't work - the options are ignored. I didn't find any similar problem so far. Any ideas? thank you.

.rmd file:

title: "Presentation"
      in_header: header.tex
      fig_caption: true
\caption{Lorem ipsum dolor sit amet}


\addtobeamertemplate{title page}{%


\setbeamertemplate{footline}[text line]{%
  \parbox{\linewidth}{\vspace*{-8pt} Institute | Hans Dampf \hfill\insertshortauthor\hfill\insertpagenumber}}

\setbeamertemplate{navigation symbols}{}
  • Please give us a small but complete document which shows the problem and which we can compile (MWE). Having only code snippets we cannot reproduce your problem and therefore it's difficult to help.
    – user2574
    Apr 28, 2016 at 19:09

1 Answer 1


beamer and the caption package are not the best friends, but you can simply use beamers font mechanism to control the caption size:


\setbeamerfont{caption}{size=\tiny, shape=\itshape}


enter image description here

  • Shouldn't it be shape=\itshape in the definition of the caption font?
    – user94293
    Feb 18, 2017 at 14:37

You must log in to answer this question.

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