See Changelog.md

This commit is contained in:
Hedongliang Liu 2025-08-15 17:36:09 +02:00
parent 6031d4bdd3
commit 213baeacb1
9 changed files with 73 additions and 67 deletions

View File

@ -12,10 +12,10 @@
\RequirePackage[utf8]{inputenc} \RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
% \RequirePackage{pgffor}
\newif\ifsectionnavigationoption \newif\ifsectionnavigationoption
\newif\ifsectionnavigation \newif\ifsectionnavigation
\sectionnavigationoptiontrue \sectionnavigationoptionfalse
\newif\ifgerman \newif\ifgerman
\newif\iffranklin \newif\iffranklin
\newif\ifsmallfooterfont \newif\ifsmallfooterfont
@ -32,8 +32,8 @@
\DeclareOption{de}{ \DeclareOption{de}{
\germantrue \germantrue
} }
\DeclareOption{navbaroff}{ \DeclareOption{navbaron}{
\sectionnavigationoptionfalse \sectionnavigationoptiontrue
} }
\DeclareOption{smallfoot}{ \DeclareOption{smallfoot}{
\smallfooterfonttrue \smallfooterfonttrue
@ -312,12 +312,12 @@
% Section navigation reset to package option % Section navigation reset to package option
\ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi \ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi
% KIT-Logo rgb % KIT-Logo rgb
\footlinelogo{rgb}
\setbeamertemplate{frametitle}[KIT 2025]{\paperwidth} \setbeamertemplate{frametitle}[KIT 2025]{\paperwidth}
\setbeamertemplate{footline}[KIT 2025] \setbeamertemplate{footline}[KIT 2025]
\setbeamertemplate{background}[default] \setbeamertemplate{background}[default]
\setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_rgb} % orignally was {logo}{} \setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_rgb} % orignally was {logo}{}
\ifkitgrid\setbeamertemplate{background canvas}[kitgrid]\fi \ifkitgrid\setbeamertemplate{background canvas}[kitgrid]\fi
% \setbearmertemplate{fundings}{}
} }
% %
@ -332,16 +332,13 @@
\ifx\insertframesubtitle\@empty\else\\\fi \ifx\insertframesubtitle\@empty\else\\\fi
{\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\insertframesubtitle}% {\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\insertframesubtitle}%
\end{textblock*}% \end{textblock*}%
% Rand oben entsprechend KIT-Vorlage
\vspace{37mm}% \vspace{37mm}%
} }
% #1 = logo % #1 = logo
\defbeamertemplate{logo}{KIT 2025 title/toc}[1]{ \defbeamertemplate{logo}{KIT 2025 title/toc}[1]{
\begin{textblock*}{28mm}(297.5mm, \kitoutermargin) % originally {24mm} \begin{textblock*}{28mm}(297.5mm, \kitoutermargin) % originally {24mm}
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi \includegraphics[width=\linewidth]{logos/#1}
% KIT
\includegraphics[width=\linewidth]{logos/#1}
\end{textblock*} \end{textblock*}
\vspace{37mm}% \vspace{37mm}%
} }
@ -357,10 +354,6 @@
% The footer is adjusted for two-line titles % The footer is adjusted for two-line titles
\newlength{\kitfooterbaselinecorrection} \newlength{\kitfooterbaselinecorrection}
% Logo color scheme (rgb, white, black) in footline
\def\footlinelogo#1{\def\@footlinelogo{#1}}
% kleiner Text nur, wenn "smallfoot" gewählt
% small text only if "smallfoot" option is chosen % small text only if "smallfoot" option is chosen
\ifsmallfooterfont \ifsmallfooterfont
% 11pt wie in offiziellen Vorlage % 11pt wie in offiziellen Vorlage
@ -503,8 +496,7 @@
\fi% \fi%
}% }%
% logo in footline % logo in footline
% \ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi \kitfootlinelogo{CEL_logo}%
\kitfootlinelogo{CEL_logo}% originally was {kitlogo_\@footlinelogo}
} }
% Footer variable width for slides with full-screen image content: without section navigation, group name, and group logo % Footer variable width for slides with full-screen image content: without section navigation, group name, and group logo
@ -525,8 +517,7 @@
% Kein Gruppenname % Kein Gruppenname
\hskip\dimexpr285mm-#1\relax% originally 251mm; added the width of removed date width \hskip\dimexpr285mm-#1\relax% originally 251mm; added the width of removed date width
% This is a picture frame, don't put logo in the footline % This is a picture frame, don't put logo in the footline
% \ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi % \kitfootlinelogo{CEL_logo}%
% \kitfootlinelogo{kitlogo_\@footlinelogo}%
} }
% Page nummer % Page nummer
@ -611,6 +602,10 @@
\define@key{beamerframe}{tableofcontents}[blue]{% \define@key{beamerframe}{tableofcontents}[blue]{%
\setbeamertemplate{background}{ \setbeamertemplate{background}{
\begin{beamercolorbox}[ht=\paperheight,wd=\kitcolumnsixleft]{#1 block} \begin{beamercolorbox}[ht=\paperheight,wd=\kitcolumnsixleft]{#1 block}
\end{beamercolorbox}%
\begin{beamercolorbox}[ht=\paperheight,wd=\dimexpr\kitcolumn+\kitoutermargin\relax,center,rightskip=\kitoutermargin]{title logo box}
\kittitlegrouplogo
\vskip\kitbottom
\end{beamercolorbox} \end{beamercolorbox}
} }
\setbeamercolor{section in toc}{fg=white} \setbeamercolor{section in toc}{fg=white}
@ -635,7 +630,6 @@
\define@key{beamerframe}{kitlogo}[rgb]{% \define@key{beamerframe}{kitlogo}[rgb]{%
\titlelogo{#1} \titlelogo{#1}
\footlinelogo{#1}
} }
% %
@ -647,13 +641,13 @@
%% %%
%% %%
%% Titelseite %% Titel page
%% %%
\def\titleimage#1{\def\@titleimage{#1}} \def\titleimage#1{\def\@titleimage{#1}}
\def\titlelogo#1{\def\@titlelogo{#1}} \def\titlelogo#1{\def\@titlelogo{#1}}
\def\grouplogo#1{\def\@grouplogo{#1}} \def\grouplogo#1{\def\@grouplogo{#1}}
\def\fundinglogos#1{\def\@fundinglogos{#1}}
%% Frame options %% Frame options
% vertical Layouts % vertical Layouts
@ -663,7 +657,8 @@
\setbeamercolor*{title text box}{parent=green block} \setbeamercolor*{title text box}{parent=green block}
\setbeamercolor*{title logo box}{parent=white block} \setbeamercolor*{title logo box}{parent=white block}
\setbeamertemplate{background}[KIT 2025 title vertical] \setbeamertemplate{background}[KIT 2025 title vertical]
\setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_rgb} \setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_rgb} % logo in the header
% \setbeamertemplate{fundings}[KIT 2025 title vertical]
\setbeamertemplate{title page}[KIT 2025 vertical] \setbeamertemplate{title page}[KIT 2025 vertical]
\setbeamertemplate{frametitle}{} \setbeamertemplate{frametitle}{}
\setbeamertemplate{footline}{} \setbeamertemplate{footline}{}
@ -756,7 +751,8 @@
\newcommand{\kittitlegrouplogo}{ \newcommand{\kittitlegrouplogo}{
\ifdefined\@grouplogo \ifdefined\@grouplogo
\ifx\@grouplogo\empty \else \ifx\@grouplogo\empty \else
\includegraphics[width=37mm,height=20mm,keepaspectratio]{logos/\@grouplogo} % originally width was 37mm \includegraphics[width=30mm,keepaspectratio]{logos/\@grouplogo} % originally width was 37mm
% height=20mm,
\fi % if \grouplogo{} is called, do not include group logo \fi % if \grouplogo{} is called, do not include group logo
\else % if \grouplogo is not called at all, show text \else % if \grouplogo is not called at all, show text
\colorbox{kit-purple100!20}{\parbox[b][18mm][c]{35mm}{\color{kit-purple100}\scriptsize\centering \colorbox{kit-purple100!20}{\parbox[b][18mm][c]{35mm}{\color{kit-purple100}\scriptsize\centering
@ -769,6 +765,13 @@
\fi \fi
} }
%%
%% Funding logos
%%
\newcommand{\fundinglogo}[1]{
\includegraphics[width=30mm, keepaspectratio]{logos/Funding-logos/#1} % heightg = 20mm
}
%% %%
%% Title page Template Definitions %% Title page Template Definitions
%% %%
@ -779,7 +782,6 @@
} }
% vertical Layout % vertical Layout
\defbeamertemplate{background}{KIT 2025 title vertical}{ \defbeamertemplate{background}{KIT 2025 title vertical}{
\begin{beamercolorbox}[ht=\paperheight,wd=\kitcolumnthreeright]{title text box} \begin{beamercolorbox}[ht=\paperheight,wd=\kitcolumnthreeright]{title text box}
\end{beamercolorbox}% \end{beamercolorbox}%
@ -790,7 +792,14 @@
\fi% \fi%
\fi% \fi%
\end{beamercolorbox}% \end{beamercolorbox}%
\begin{beamercolorbox}[ht=\paperheight,wd=\dimexpr\kitcolumn+\kitoutermargin\relax,right,rightskip=\kitoutermargin]{title logo box} \begin{beamercolorbox}[ht=\paperheight,wd=\dimexpr\kitcolumn+\kitoutermargin\relax,center,rightskip=\kitoutermargin]{title logo box}
\ifdefined\@fundinglogos%
\ifx\@fundinglogos\empty\else%
\foreach \logo in \@fundinglogos {
\fundinglogo{\logo}
\vskip\kitoutermargin
}
\fi%
\kittitlegrouplogo \kittitlegrouplogo
\vskip\kitbottom \vskip\kitbottom
\end{beamercolorbox} \end{beamercolorbox}

View File

@ -8,4 +8,6 @@ All changes of this template is documented in this file.
- Changed the logo in the footer to group logo - Changed the logo in the footer to group logo
- Removed date in footer - Removed date in footer
- Added KIT logo in the header - Added KIT logo in the header
- - Disabled navigation bar by default
- Added the option for adding fundinglogos onto the title page
- Added the group logo onto overview page

View File

@ -42,14 +42,7 @@ Example: `\documentclass[de,smallfoot, navbaroff]{CELbeamer}`
## Title Slide ## Title Slide
----------- -----------
There are several layouts for the title slide. You can select them using frame options: Setup: `\begin{frame}[title white vertical, picture=images/...., fundings=]`
| Layout | Frame Option |
| ------------------- | -------------------------- |
| green/white vertical| `title white vertical` (default) |
| green/blue vertical | `title white vertical` |
| white horizontal | `title white horizontal` |
| green horizontal | `title green horizontal` |
The image on the title slide can be set with the `picture=` option. For vertical layouts, the image fits the height; for horizontal layouts, it fits the width. The image on the title slide can be set with the `picture=` option. For vertical layouts, the image fits the height; for horizontal layouts, it fits the width.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

View File

@ -6,17 +6,17 @@
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%% %%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
\documentclass[kitgrid]{CELbeamer} \documentclass[kitgrid]{CELbeamer}
%% default options: en, helvet, bigfoot (12pt) %% default options: en, helvet, bigfoot (12pt)
%% other options: de, franklin, smallfoot (11pt), navbaroff, kitgrid %% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid
%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%% %%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
\newcommand{\templates}{packages} \newcommand{\templates}{packages}
\input{\templates/packages.tex} \input{\templates/packages.tex}
\input{\templates/booleans.tex} \input{\templates/booleans.tex}
% \input{\templates/modifications.tex} % \input{\templates/modifications.tex}
\input{\templates/makros_own.tex} % \input{\templates/makros_own.tex}
%%%%%%%%%%% Group logo, must be in the directory logos/ %%%%%%%%%%%%%%% %%%%%%%%%%% Group info: logo must be in the directory logos/ %%%%%%%%%%%%%%%
%% If no group logo is desired, please call \grouplogo{} %% If no group logo is desired, please call \grouplogo{}
\grouplogo{CEL_logo.pdf} \grouplogo{CEL_logo.pdf}
@ -25,6 +25,11 @@
% \groupname{} % \groupname{}
\groupnamewidth{80mm} % addjust this to change the distance between the group name and the group logo in the footer \groupnamewidth{80mm} % addjust this to change the distance between the group name and the group logo in the footer
%%%%%%%%%%%% Funding logos: logos must be in logos/Funding-logos %%%%%%%%%%%%%%
%% If no funding logos are desired, please call \fundinglogos{}
\fundinglogos{}
% \fundinglogos{bmbf_logo_en, dfg_logo, erc_logo} % add funding logos here
%%%%%%%%%%%% Presentation Meta Data %%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%% Presentation Meta Data %%%%%%%%%%%%%%%%%%%%
\title[short title]{Title: Presentation with \emph{CEL} template} \title[short title]{Title: Presentation with \emph{CEL} template}
\subtitle{Subtitle: Example Presentation with CEL Template} \subtitle{Subtitle: Example Presentation with CEL Template}
@ -43,17 +48,14 @@
% Start of the presentation % Start of the presentation
% Title page % Title page
\begin{frame}[title white vertical, picture=images/palladio_bauplan]
\titlepage
\end{frame}
\begin{frame}[title white vertical, picture=images/schloss_back_cut.jpg] \begin{frame}[title white vertical, picture=images/schloss_back_cut.jpg]
\titlepage \titlepage
\end{frame} \end{frame}
\begin{frame}[title white vertical, picture=images/schloss_schmal.jpg] % \begin{frame}[title white vertical, picture=images/schloss_schmal.jpg]
\titlepage % \titlepage
\end{frame} % \end{frame}
% \begin{frame}[title blue vertical, picture=images/schloss_back_cut.jpg] % \begin{frame}[title blue vertical, picture=images/schloss_back_cut.jpg]
% \titlepage % \titlepage
@ -63,14 +65,14 @@
% \titlepage % \titlepage
% \end{frame} % \end{frame}
\begin{frame}[title white horizontal, picture=images/schloss, kitlogo=white] % \begin{frame}[title white horizontal, picture=images/schloss, kitlogo=white]
\titlepage % \titlepage
\end{frame} % \end{frame}
% Table of contents % % Table of contents
\begin{frame}[tableofcontents=green]{Overview} % \begin{frame}[tableofcontents=green]{Overview}
\tableofcontents % \tableofcontents
\end{frame} % \end{frame}
\begin{frame}[tableofcontents=blue]{Overview} \begin{frame}[tableofcontents=blue]{Overview}
\tableofcontents \tableofcontents
@ -224,27 +226,27 @@
% For more colors, see \ref{frame:kit-colors}. % For more colors, see \ref{frame:kit-colors}.
\end{frame} \end{frame}
\subsection{Spezial Frames} % \subsection{Spezial Frames}
\begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{2}{3}$ Size} % \begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{2}{3}$ Size}
\lipsum[1][1-8] % \lipsum[1][1-8]
\end{frame} % \end{frame}
\begin{frame}[picture 50 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{1}{2}$ Size} % \begin{frame}[picture 50 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{1}{2}$ Size}
\lipsum[1][1-16] % \lipsum[1][1-16]
\end{frame} % \end{frame}
\begin{frame}[picture 33 vertical,picture=images/palladio_bauplan,kitlogo=white]{Slide with Picture in $\frac{1}{3}$ Size} % \begin{frame}[picture 33 vertical,picture=images/palladio_bauplan,kitlogo=white]{Slide with Picture in $\frac{1}{3}$ Size}
\begin{columns} % \begin{columns}
\column{\kittwocolumns} % \column{\kittwocolumns}
\lipsum[1][1-8] % \lipsum[1][1-8]
\column{\kittwocolumns} % \column{\kittwocolumns}
\lipsum[1][1-8] % \lipsum[1][1-8]
\end{columns} % \end{columns}
\end{frame} % \end{frame}
\begin{frame}[picture vertical=20,picture=images/palladio_bauplan,kitlogo=white]{Slide with Picture in Variable Size (20\%)} % \begin{frame}[picture vertical=20,picture=images/palladio_bauplan,kitlogo=white]{Slide with Picture in Variable Size (20\%)}
\lipsum[1][1-16]\footnote{This is a footnote on a page without the navigation bar.} % \lipsum[1][1-16]\footnote{This is a footnote on a page without the navigation bar.}
\end{frame} % \end{frame}
\subsection{Title and Footer} \subsection{Title and Footer}
\begin{frame} \begin{frame}