Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Commit 09e48be

Browse files
committed
feat: Content overview (formerly known as lecture overview) in two columns
1 parent a9adf45 commit 09e48be

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

beamerthemeuulm.sty

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
\usepackage{fitbox} % used to auto-scale long frame titles
1212
\usepackage{tcolorbox} % used for color boxes (definition, example, note)
1313
\usepackage{ifthen}
14+
\usepackage{multicol} % for auto multi-column in content overview
1415
% ---------------------------------------------
1516

1617

@@ -182,9 +183,9 @@
182183
\AtBeginSection{
183184
\ifsectionoverview
184185
\begin{frame}{\thesection.~\insertsection}
185-
\setlength{\parskip}{0ex}
186-
\vfill
187-
\tableofcontents[currentsection,hideothersubsections]
186+
\linespread{.5}
187+
\vfill
188+
\tableofcontents[currentsection,hideothersubsections]
188189
\end{frame}
189190
\else
190191
\begin{frame}
@@ -194,12 +195,17 @@
194195
}
195196
\fi
196197

197-
\newcommand{\lectureoverview}{
198+
\newcommand{\contentoverview}{
198199
\begin{frame}{\inserttitle}
199-
\setlength{\parskip}{0ex}
200-
\tableofcontents
200+
\linespread{.5}
201+
\vfill
202+
\begin{multicols}{2}
203+
\tableofcontents
204+
\end{multicols}
201205
\end{frame}
202206
}
207+
208+
\newcommand{\lectureoverview}{\contentoverview} % deprecated version of \contentoverview, do not use anymore
203209
% ---------------------------------------------
204210

205211

demo-slides/demoSlides.pdf

36 Bytes
Binary file not shown.

demo-slides/demoSlides.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ \subsection{Alternative Title Pictures}
263263
\maketitle[may21-ulm][300] % optional parameters to change title picture and offset to move it upwards
264264
\maketitle[oct20-q37][350] % optional parameters to change title picture and offset to move it upwards
265265

266-
\lectureoverview
266+
\contentoverview
267267

268268
%\section{Old Slide Layouts (Deprecated)}
269269
%

0 commit comments

Comments
 (0)