diff --git a/README.md b/README.md index a276667..45e5465 100644 --- a/README.md +++ b/README.md @@ -46,4 +46,4 @@ Options disponibles : | Diapositive | Titre de la partie 1 | Titre de la sous-partie 2 | | :----------------------------------: | :----------------------------------: | :----------------------------------: | -| ![](https://i.imgur.com/bAdX4mG.png) | ![](https://i.imgur.com/XEHqmki.png) | ![](https://i.imgur.com/kUMRMrq.png) | +| ![](https://i.imgur.com/bAdX4mG.png) | ![](https://i.imgur.com/Qx0RT4Q.png) | ![](https://i.imgur.com/bL6BQo3.png) | diff --git a/projektor.sty b/projektor.sty index cf13019..2d5cd36 100644 --- a/projektor.sty +++ b/projektor.sty @@ -39,30 +39,26 @@ % Styled ToC on new section \ifoption@sec - \AtBeginSection[]{% - \frame{ - \frametitle{\contentsname} + \AtBeginSection[]{ + \begin{frame}[plain, noframenumbering]{\contentsname} \tableofcontents[ currentsection, subsectionstyle=shaded, ] - } - \addtocounter{framenumber}{-1} + \end{frame} } \fi % Styled ToC on new subsection \ifoption@subsec \AtBeginSubsection[]{ - \frame{ - \frametitle{\contentsname} + \begin{frame}[plain, noframenumbering]{\contentsname} \tableofcontents[ currentsubsection, sectionstyle=show/shaded, subsectionstyle=show/shaded, ] - } - \addtocounter{framenumber}{-1} + \end{frame} } \fi