Reputation: 7313
How can I have the outline of a beamer presentation appear before each section in Rmarkdown, like this code for regular beamer?
Upvotes: 0
Views: 916
Reputation: 19857
Put this code in header.tex
:
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Plan}
\tableofcontents[currentsection]
\end{frame}
}
And compile with:
---
output:
beamer_presentation:
includes:
in_header: header.tex
---
Upvotes: 1