diff --git a/CELbeamer.cls b/CELbeamer.cls index bfadfb1..3e20a6e 100644 --- a/CELbeamer.cls +++ b/CELbeamer.cls @@ -22,6 +22,8 @@ \newif\ifkitgrid \newif\ifspaceforface \spaceforfacefalse +\newif\ifoverviewatsection +\overviewatsectionfalse \def\groupname#1{\def\@groupname{#1}} \def\groupnamewidth#1{\def\@groupnamewidth{#1}} @@ -55,6 +57,9 @@ \DeclareOption{spaceforface}{ \spaceforfacetrue } +\DeclareOption{overviewatsection}{ + \overviewatsectiontrue +} \ExecuteOptions{en,bigfoot,helvet} @@ -131,7 +136,7 @@ %% ┗━━━━━━━━━━━━━━┛ %% ┏━━━━━━━━━━━━━━━┓ -%% ┃ Folien-Layout ┃ +%% ┃ Frame-Layout ┃ %% ┗━━━━━━━━━━━━━━━┛ % Seitenverhältnis @@ -608,7 +613,9 @@ \setbeamertemplate{background}{\hskip#1\includegraphics[height=\paperheight]{\@titleimage}} } -% Table of contents +% ┏━━━━━━━━━━━━━━━━━━━┓ +% ┃ Table of contents ┃ +% ┗━━━━━━━━━━━━━━━━━━━┛ \define@key{beamerframe}{tableofcontents}[blue]{% \setbeamertemplate{background}{ @@ -636,6 +643,10 @@ \end{textblock*} } +% ┏━━━━━━━━━━━━━━━━━━━┓ +% ┃ /Table of contents ┃ +% ┗━━━━━━━━━━━━━━━━━━━┛ + % siehe README.md \define@key{beamerframe}{picture}{% \titleimage{#1} @@ -650,7 +661,7 @@ % └──────────────────┘ %% ┏━━━━━━━━━━━━━━━━┓ -%% ┃ /Frame-Layout ┃ +%% ┃ /Frame-Layout ┃ %% ┗━━━━━━━━━━━━━━━━┛ %% ┏━━━━━━━━━━━━┓ @@ -797,13 +808,16 @@ \defbeamertemplate{background}{KIT 2025 title vertical}{ \begin{beamercolorbox}[ht=\paperheight,wd=\kitcolumnthreeright]{title text box} \end{beamercolorbox}% - \begin{beamercolorbox}[ht=\paperheight,wd=\dimexpr2\kitcolumn+3\kitcolumnsep\relax]{title logo box}% - \ifdefined\@titleimage% - \ifx\@titleimage\empty\else% - \includegraphics[height=\paperheight]{\@titleimage}% + % \ifspaceforface{} + % \else + \begin{beamercolorbox}[ht=\paperheight,wd=\dimexpr2\kitcolumn+3\kitcolumnsep\relax]{title logo box}% + \ifdefined\@titleimage% + \ifx\@titleimage\empty\else% + \includegraphics[height=\paperheight]{\@titleimage}% + \fi% \fi% - \fi% \end{beamercolorbox}% + % \fi \begin{beamercolorbox}[ht=\paperheight,wd=\dimexpr\kitcolumn+\kitoutermargin\relax,center,rightskip=\kitoutermargin]{title logo box} \ifdefined\@fundinglogos% \ifx\@fundinglogos\empty\else% diff --git a/CHANGELOG.md b/CHANGELOG.md index 3635964..2d6c491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,4 +12,5 @@ All changes of this template is documented in this file. - Added the option for adding fundinglogos onto the title page - Added the group logo onto overview page - Changed the normal fontsize to 19pt -- Added the spaceforface mode to leave space on the right for recording \ No newline at end of file +- Added the spaceforface mode to leave space on the right for recording +- Added a newif for overview at section option !!! Modification is still needed \ No newline at end of file diff --git a/presentation.tex b/presentation.tex index 5640ffc..1d18567 100644 --- a/presentation.tex +++ b/presentation.tex @@ -4,10 +4,10 @@ %% Modified by: Hedongliang Liu %% Last modified on: 14.08.2025 %%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%% -\documentclass[spaceforface, kitgrid]{CELbeamer} +\documentclass[overviewatsection]{CELbeamer} %% default options: en, helvet, bigfoot (12pt) %% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout, -%% spaceforface +%% spaceforface, overviewatsection %%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%% \newcommand{\templates}{packages} @@ -15,7 +15,15 @@ \input{\templates/booleans.tex} % \input{\templates/modifications.tex} % \input{\templates/makros_own.tex} +\overviewatsectiontrue% toggles to show the toc +\AtBeginSection{% +\ifoverviewatsection +\begin{frame}[tableofcontents=blue]{Overview} + \tableofcontents[currentsection, subsectionstyle=show/show/hide] +\end{frame} +\fi +} %%%%%%%%%%% Group info: logo must be in the directory logos/ %%%%%%%%%%%%%%% %% If no group logo is desired, please call \grouplogo{} @@ -59,7 +67,20 @@ \tableofcontents \end{frame} -\section{Basic options} +\section{Basic Usage} +\begin{frame}{Usages Options} + The following options can be used by putting the \texttt{