diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-02-23 14:55:53 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-02-23 14:55:53 +0100 |
commit | 04b370f1a51318158307587f85f5954e01701126 (patch) | |
tree | a91afd92e5b062b6a3537cb02a3e30e90be3a99f /_extensions/ruc-play/stylish-report/toc.tex |
initial draft
Diffstat (limited to '_extensions/ruc-play/stylish-report/toc.tex')
-rw-r--r-- | _extensions/ruc-play/stylish-report/toc.tex | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/_extensions/ruc-play/stylish-report/toc.tex b/_extensions/ruc-play/stylish-report/toc.tex new file mode 100644 index 0000000..95cffff --- /dev/null +++ b/_extensions/ruc-play/stylish-report/toc.tex @@ -0,0 +1,28 @@ +$if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ +$if(beamer)$ +\begin{frame}[allowframebreaks] +$if(toc-title)$ + \frametitle{$toc-title$} +$endif$ + \setcounter{tocdepth}{$toc-depth$} + \tableofcontents +\end{frame} +$else$ +{ +$if(colorlinks)$ +\hypersetup{$if(toccolor)$linkcolor=$toccolor$$endif$} +$endif$ +\setcounter{tocdepth}{$toc-depth$} +\tableofcontents +} +$endif$ +$endif$ +$if(lof)$ +\listoffigures +$endif$ +$if(lot)$ +\listoftables +$endif$
\ No newline at end of file |