mirror of
https://gitlab.kit.edu/kit/cel/misc/cel-slides-template-2025.git
synced 2025-12-15 21:14:40 +00:00
implemented showsubsectionsatfirstoverview option
This commit is contained in:
parent
58fed8303d
commit
ef1f12201f
@ -26,6 +26,8 @@
|
|||||||
\overviewatsectionfalse
|
\overviewatsectionfalse
|
||||||
\newif\ifshowallatfirstoverview
|
\newif\ifshowallatfirstoverview
|
||||||
\showallatfirstoverviewtrue
|
\showallatfirstoverviewtrue
|
||||||
|
\newif\ifshowsubsectionsatfirstoverview
|
||||||
|
\showsubsectionsatfirstoverviewfalse
|
||||||
|
|
||||||
\def\groupname#1{\def\@groupname{#1}}
|
\def\groupname#1{\def\@groupname{#1}}
|
||||||
\def\groupnamewidth#1{\def\@groupnamewidth{#1}}
|
\def\groupnamewidth#1{\def\@groupnamewidth{#1}}
|
||||||
@ -62,6 +64,9 @@
|
|||||||
\DeclareOption{overviewatsection}{
|
\DeclareOption{overviewatsection}{
|
||||||
\overviewatsectiontrue
|
\overviewatsectiontrue
|
||||||
}
|
}
|
||||||
|
\DeclareOption{showsubsectionsatfirstoverview}{
|
||||||
|
\showsubsectionsatfirstoverviewtrue
|
||||||
|
}
|
||||||
|
|
||||||
\ExecuteOptions{en,bigfoot,helvet}
|
\ExecuteOptions{en,bigfoot,helvet}
|
||||||
|
|
||||||
@ -663,7 +668,11 @@
|
|||||||
\ifnum\value{section}=1
|
\ifnum\value{section}=1
|
||||||
{
|
{
|
||||||
\begin{frame}[tableofcontents=blue]{Overview}
|
\begin{frame}[tableofcontents=blue]{Overview}
|
||||||
\tableofcontents[subsectionstyle=show/show/hide]
|
\ifshowsubsectionsatfirstoverview{
|
||||||
|
\tableofcontents
|
||||||
|
}
|
||||||
|
\else{\tableofcontents[subsectionstyle=show/show/hide]}
|
||||||
|
\fi
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
\else
|
\else
|
||||||
|
|||||||
@ -13,4 +13,4 @@ All changes of this template is documented in this file.
|
|||||||
- Added the group logo onto overview page
|
- Added the group logo onto overview page
|
||||||
- Changed the normal fontsize to 19pt
|
- Changed the normal fontsize to 19pt
|
||||||
- Added the spaceforface option to leave space on the right for recording
|
- 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 `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}`
|
Example: `\documentclass[de, navbaron, kitgrid, handout, overviewatsection]{CELbeamer}`
|
||||||
|
|
||||||
## Title Slide
|
## 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]`
|
Example: `\begin{frame}[title white horizontal, picture=images/palladio_bauplan, kitlogo=black]`
|
||||||
|
|
||||||
## Special Slides
|
## 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.
|
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.
|
There are also special layouts for divider slides with large images. You can select them using frame options.
|
||||||
|
|
||||||
| Vertical image share: | Frame Option |
|
| Vertical image share: | Frame Option |
|
||||||
|
|||||||
@ -4,10 +4,10 @@
|
|||||||
%% Modified by: Hedongliang Liu
|
%% Modified by: Hedongliang Liu
|
||||||
%% Last modified on: 14.08.2025
|
%% Last modified on: 14.08.2025
|
||||||
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
|
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
|
||||||
\documentclass[handout, overviewatsection]{CELbeamer}
|
\documentclass[handout, overviewatsection, showsubsectionsatfirstoverview]{CELbeamer}
|
||||||
%% default options: en, helvet, bigfoot (12pt)
|
%% default options: en, helvet, bigfoot (12pt)
|
||||||
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout,
|
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout,
|
||||||
%% spaceforface, overviewatsection
|
%% spaceforface, overviewatsection, showsubsectionsatfirstoverview
|
||||||
|
|
||||||
%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
|
%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
|
||||||
\newcommand{\templates}{packages}
|
\newcommand{\templates}{packages}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user