Fix \slide command to include subsubsection numbering

This commit is contained in:
Julian Ospald 2015-04-21 14:13:56 +02:00
parent e0c1112ca0
commit 2a6b4d94f2
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -28,7 +28,7 @@
\NewDocumentCommand {\slide} { m O{} O{} } \NewDocumentCommand {\slide} { m O{} O{} }
{\begin{frame}{#3} {\begin{frame}{#3}
\frametitle{\thesection.\ifnum\thesubsection=0\else\thesubsection.\fi\ \currentname {#2}} \frametitle{\thesection.\ifnum\thesubsection=0\else\thesubsection.\fi\ifnum\thesubsubsection=0\else\thesubsubsection.\fi\ \currentname {#2}}
\input{#1} \input{#1}
\end{frame}} \end{frame}}