mirror of
https://gitlab.kit.edu/kit/cel/misc/cel-slides-template-2025.git
synced 2025-12-13 06:34:40 +00:00
implemented showsubsectionsatfirstoverview option
This commit is contained in:
parent
91d7140df3
commit
a80bde5b71
@ -26,6 +26,8 @@
|
||||
\overviewatsectionfalse
|
||||
\newif\ifshowallatfirstoverview
|
||||
\showallatfirstoverviewtrue
|
||||
\newif\ifshowsubsectionsatfirstoverview
|
||||
\showsubsectionsatfirstoverviewfalse
|
||||
|
||||
\def\groupname#1{\def\@groupname{#1}}
|
||||
\def\groupnamewidth#1{\def\@groupnamewidth{#1}}
|
||||
@ -62,6 +64,9 @@
|
||||
\DeclareOption{overviewatsection}{
|
||||
\overviewatsectiontrue
|
||||
}
|
||||
\DeclareOption{showsubsectionsatfirstoverview}{
|
||||
\showsubsectionsatfirstoverviewtrue
|
||||
}
|
||||
|
||||
\ExecuteOptions{en,bigfoot,helvet}
|
||||
|
||||
@ -663,7 +668,11 @@
|
||||
\ifnum\value{section}=1
|
||||
{
|
||||
\begin{frame}[tableofcontents=blue]{Overview}
|
||||
\tableofcontents[subsectionstyle=show/show/hide]
|
||||
\ifshowsubsectionsatfirstoverview{
|
||||
\tableofcontents
|
||||
}
|
||||
\else{\tableofcontents[subsectionstyle=show/show/hide]}
|
||||
\fi
|
||||
\end{frame}
|
||||
}
|
||||
\else
|
||||
|
||||
@ -13,4 +13,4 @@ All changes of this template is documented in this file.
|
||||
- Added the group logo onto overview page
|
||||
- Changed the normal fontsize to 19pt
|
||||
- Added the spaceforface option to leave space on the right for recording
|
||||
- Added the overviewatsection option
|
||||
- Added the overviewatsection, showsubsectionsatfirstoverview option
|
||||
@ -46,6 +46,8 @@ E.g., `\only<2|handout:0>{This is not shown in handout mode.}`, `\item<1-|handou
|
||||
|
||||
- The `overviewatsection` option displays the table of contents at each section. Only subsections of the current section is shown.
|
||||
|
||||
- The `showsubsectionsatfirstoverview` option shows all the subsections at the first overview. This requires `overviewatsection` option.
|
||||
|
||||
Example: `\documentclass[de, navbaron, kitgrid, handout, overviewatsection]{CELbeamer}`
|
||||
|
||||
## Title Slide
|
||||
@ -64,8 +66,10 @@ Additionally, for horizontal layouts, you can choose the color of the KIT logo.
|
||||
Example: `\begin{frame}[title white horizontal, picture=images/palladio_bauplan, kitlogo=black]`
|
||||
|
||||
## Special Slides
|
||||
### Table of content
|
||||
For tables of contents, you can specify the option `tableofcontents=<color>`, where `color` can be either `blue` or `green`. The table of contents will then be shown on a fully colored slide.
|
||||
|
||||
### Image slides
|
||||
There are also special layouts for divider slides with large images. You can select them using frame options.
|
||||
|
||||
| Vertical image share: | Frame Option |
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
%% Modified by: Hedongliang Liu
|
||||
%% Last modified on: 14.08.2025
|
||||
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
|
||||
\documentclass[handout, overviewatsection]{CELbeamer}
|
||||
\documentclass[handout, overviewatsection, showsubsectionsatfirstoverview]{CELbeamer}
|
||||
%% default options: en, helvet, bigfoot (12pt)
|
||||
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout,
|
||||
%% spaceforface, overviewatsection
|
||||
%% spaceforface, overviewatsection, showsubsectionsatfirstoverview
|
||||
|
||||
%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
|
||||
\newcommand{\templates}{packages}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user