From 85cdca3a5fcc64dce5cf0ecc1fb9160a1bf33e6a Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 13 Aug 2016 17:18:48 +0200 Subject: [PATCH] define a command to patch \beamer@sectionintoc command to set a new height separating item in toc list --- cours/cours_beamer.cls | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/cours/cours_beamer.cls b/cours/cours_beamer.cls index bdadc72..6d8d709 100644 --- a/cours/cours_beamer.cls +++ b/cours/cours_beamer.cls @@ -60,6 +60,13 @@ } % ToC +% change l'espace vertical entre les sections +\patchcmd{\beamer@sectionintoc} +{\vfill} +{\setlength{\itemsep}{10pt}\vskip\itemsep} +{} +{} +% change le symbole pour lister \defbeamertemplate{subsection in toc}{bullets}{% \leavevmode \parbox[t]{1em}{\textbullet\hfill}% @@ -75,19 +82,6 @@ \setbeamertemplate{section in toc}[sections numbered roman] \setbeamertemplate{subsection in toc}[bullets] - -% sections -% \setbeamertemplate{section}{ -% \def\cType{\Roman} -% \cType{section}.% -% \inserttocsection\par -% } -% \renewcommand{\thesection}{ -% \def\cType{\Roman} -% \cType{section}. -% } -% \renewcommand{\thesubsection}{\arabic{subsection})} - % mdframed \pgfdeclarehorizontalshading{partiebkg}{100bp}{ color(0bp)=(white!40);color(100bp)=(black!0)