mirror of
https://github.com/eddelbuettel/binb
synced 2025-01-03 10:11:32 +01:00
Added tightoc option
This commit is contained in:
parent
ca2534907d
commit
6ed861101b
@ -253,10 +253,15 @@ $endif$
|
|||||||
$if(toc)$
|
$if(toc)$
|
||||||
\AtBeginSection[]{
|
\AtBeginSection[]{
|
||||||
\frame<beamer>{
|
\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]
|
\tableofcontents[currentsection,hideallsubsections]
|
||||||
}}
|
}}
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(tighttoc)$
|
||||||
|
\setbeamerfont{section number projected}{size=\small}
|
||||||
|
$endif$
|
||||||
|
|
||||||
% Redefine shaded environment if it exists (to ensure text is black)
|
% Redefine shaded environment if it exists (to ensure text is black)
|
||||||
\ifcsname Shaded\endcsname
|
\ifcsname Shaded\endcsname
|
||||||
\definecolor{shadecolor}{RGB}{225,225,225}
|
\definecolor{shadecolor}{RGB}{225,225,225}
|
||||||
@ -334,7 +339,8 @@ $endfor$
|
|||||||
|
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
\frame<beamer>{
|
\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]
|
\tableofcontents[hideallsubsections]
|
||||||
}
|
}
|
||||||
$endif$
|
$endif$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user