mirror of
https://github.com/eddelbuettel/binb
synced 2024-12-22 12:39:58 +01:00
Added tightoc option
This commit is contained in:
parent
ca2534907d
commit
6ed861101b
@ -253,10 +253,15 @@ $endif$
|
||||
$if(toc)$
|
||||
\AtBeginSection[]{
|
||||
\frame<beamer>{
|
||||
\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<beamer>{
|
||||
\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$
|
||||
|
Loading…
x
Reference in New Issue
Block a user