diff --git a/inst/rmarkdown/templates/monash/resources/template.tex b/inst/rmarkdown/templates/monash/resources/template.tex index 2edb8cd..14326b3 100644 --- a/inst/rmarkdown/templates/monash/resources/template.tex +++ b/inst/rmarkdown/templates/monash/resources/template.tex @@ -253,10 +253,15 @@ $endif$ $if(toc)$ \AtBeginSection[]{ \frame{ - \frametitle{$if(tocheader)$$tocheader$$else$Outline$endif$} + \frametitle{$if(tocheader)$$tocheader$$else$Outline$endif$}\vspace*{0.2cm} + $if(tighttoc)$\fontsize{12}{13}\selectfont\parskip=0cm\itemsep=0cm$endif$ \tableofcontents[currentsection,hideallsubsections] }} $endif$ +$if(tighttoc)$ +\setbeamerfont{section number projected}{size=\small} +$endif$ + % Redefine shaded environment if it exists (to ensure text is black) \ifcsname Shaded\endcsname \definecolor{shadecolor}{RGB}{225,225,225} @@ -334,7 +339,8 @@ $endfor$ $if(toc)$ \frame{ - \frametitle{$if(tocheader)$$tocheader$$else$Outline$endif$} + \frametitle{$if(tocheader)$$tocheader$$else$Outline$endif$}\vspace*{0.2cm} + $if(tighttoc)$\fontsize{12}{13}\selectfont\parskip=0cm\itemsep=0cm$endif$ \tableofcontents[hideallsubsections] } $endif$