aboutsummaryrefslogtreecommitdiff
path: root/_extensions/ruc-play/stylish-report/toc.tex
diff options
context:
space:
mode:
Diffstat (limited to '_extensions/ruc-play/stylish-report/toc.tex')
-rw-r--r--_extensions/ruc-play/stylish-report/toc.tex28
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