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 |
|
| 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
|
% Styled ToC on new section
|
||||||
\ifoption@sec
|
\ifoption@sec
|
||||||
\AtBeginSection[]{%
|
\AtBeginSection[]{
|
||||||
\frame{
|
\begin{frame}[plain, noframenumbering]{\contentsname}
|
||||||
\frametitle{\contentsname}
|
|
||||||
\tableofcontents[
|
\tableofcontents[
|
||||||
currentsection,
|
currentsection,
|
||||||
subsectionstyle=shaded,
|
subsectionstyle=shaded,
|
||||||
]
|
]
|
||||||
}
|
\end{frame}
|
||||||
\addtocounter{framenumber}{-1}
|
|
||||||
}
|
}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Styled ToC on new subsection
|
% Styled ToC on new subsection
|
||||||
\ifoption@subsec
|
\ifoption@subsec
|
||||||
\AtBeginSubsection[]{
|
\AtBeginSubsection[]{
|
||||||
\frame{
|
\begin{frame}[plain, noframenumbering]{\contentsname}
|
||||||
\frametitle{\contentsname}
|
|
||||||
\tableofcontents[
|
\tableofcontents[
|
||||||
currentsubsection,
|
currentsubsection,
|
||||||
sectionstyle=show/shaded,
|
sectionstyle=show/shaded,
|
||||||
subsectionstyle=show/shaded,
|
subsectionstyle=show/shaded,
|
||||||
]
|
]
|
||||||
}
|
\end{frame}
|
||||||
\addtocounter{framenumber}{-1}
|
|
||||||
}
|
}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue