Fix \slide command to include subsubsection numbering

This commit is contained in:
Julian Ospald 2015-04-21 14:13:56 +02:00
förälder e0c1112ca0
incheckning 2a6b4d94f2
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 220CD1C5BDEED020
1 ändrade filer med 1 tillägg och 1 borttagningar

Visa fil

@ -28,7 +28,7 @@
\NewDocumentCommand {\slide} { m O{} O{} }
{\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}
\end{frame}}