From 04b370f1a51318158307587f85f5954e01701126 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 23 Feb 2025 14:55:53 +0100 Subject: initial draft --- _extensions/ruc-play/stylish-report/toc.tex | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 _extensions/ruc-play/stylish-report/toc.tex (limited to '_extensions/ruc-play/stylish-report/toc.tex') 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 -- cgit v1.2.3