better section frame
This commit is contained in:
parent
68c02970e2
commit
d0e9ecdca6
2 changed files with 6 additions and 10 deletions
|
@ -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) |
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue