mirror of
https://gitlab.kit.edu/kit/cel/misc/cel-slides-template-2025.git
synced 2025-12-13 06:34:40 +00:00
See Changelog.md
This commit is contained in:
parent
3f2c361017
commit
6ef9ea101e
@ -12,10 +12,10 @@
|
||||
|
||||
\RequirePackage[utf8]{inputenc}
|
||||
\RequirePackage[T1]{fontenc}
|
||||
|
||||
% \RequirePackage{pgffor}
|
||||
\newif\ifsectionnavigationoption
|
||||
\newif\ifsectionnavigation
|
||||
\sectionnavigationoptiontrue
|
||||
\sectionnavigationoptionfalse
|
||||
\newif\ifgerman
|
||||
\newif\iffranklin
|
||||
\newif\ifsmallfooterfont
|
||||
@ -32,8 +32,8 @@
|
||||
\DeclareOption{de}{
|
||||
\germantrue
|
||||
}
|
||||
\DeclareOption{navbaroff}{
|
||||
\sectionnavigationoptionfalse
|
||||
\DeclareOption{navbaron}{
|
||||
\sectionnavigationoptiontrue
|
||||
}
|
||||
\DeclareOption{smallfoot}{
|
||||
\smallfooterfonttrue
|
||||
@ -312,12 +312,12 @@
|
||||
% Section navigation reset to package option
|
||||
\ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi
|
||||
% KIT-Logo rgb
|
||||
\footlinelogo{rgb}
|
||||
\setbeamertemplate{frametitle}[KIT 2025]{\paperwidth}
|
||||
\setbeamertemplate{footline}[KIT 2025]
|
||||
\setbeamertemplate{background}[default]
|
||||
\setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_rgb} % orignally was {logo}{}
|
||||
\ifkitgrid\setbeamertemplate{background canvas}[kitgrid]\fi
|
||||
% \setbearmertemplate{fundings}{}
|
||||
}
|
||||
|
||||
% ┌───────────┐
|
||||
@ -332,16 +332,13 @@
|
||||
\ifx\insertframesubtitle\@empty\else\\\fi
|
||||
{\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\insertframesubtitle}%
|
||||
\end{textblock*}%
|
||||
% Rand oben entsprechend KIT-Vorlage
|
||||
\vspace{37mm}%
|
||||
}
|
||||
|
||||
% #1 = logo
|
||||
\defbeamertemplate{logo}{KIT 2025 title/toc}[1]{
|
||||
\begin{textblock*}{28mm}(297.5mm, \kitoutermargin) % originally {24mm}
|
||||
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
||||
% KIT
|
||||
\includegraphics[width=\linewidth]{logos/#1}
|
||||
\includegraphics[width=\linewidth]{logos/#1}
|
||||
\end{textblock*}
|
||||
\vspace{37mm}%
|
||||
}
|
||||
@ -357,10 +354,6 @@
|
||||
% The footer is adjusted for two-line titles
|
||||
\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
|
||||
\ifsmallfooterfont
|
||||
% 11pt wie in offiziellen Vorlage
|
||||
@ -503,8 +496,7 @@
|
||||
\fi%
|
||||
}%
|
||||
% logo in footline
|
||||
% \ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
||||
\kitfootlinelogo{CEL_logo}% originally was {kitlogo_\@footlinelogo}
|
||||
\kitfootlinelogo{CEL_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
|
||||
\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
|
||||
% \ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
||||
% \kitfootlinelogo{kitlogo_\@footlinelogo}%
|
||||
% \kitfootlinelogo{CEL_logo}%
|
||||
}
|
||||
|
||||
% Page nummer
|
||||
@ -611,6 +602,10 @@
|
||||
\define@key{beamerframe}{tableofcontents}[blue]{%
|
||||
\setbeamertemplate{background}{
|
||||
\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}
|
||||
}
|
||||
\setbeamercolor{section in toc}{fg=white}
|
||||
@ -635,7 +630,6 @@
|
||||
|
||||
\define@key{beamerframe}{kitlogo}[rgb]{%
|
||||
\titlelogo{#1}
|
||||
\footlinelogo{#1}
|
||||
}
|
||||
|
||||
% ┌──────────────────┐
|
||||
@ -647,13 +641,13 @@
|
||||
%% ┗━━━━━━━━━━━━━━━━┛
|
||||
|
||||
%% ┏━━━━━━━━━━━━┓
|
||||
%% ┃ Titelseite ┃
|
||||
%% ┃ Titel page ┃
|
||||
%% ┗━━━━━━━━━━━━┛
|
||||
|
||||
\def\titleimage#1{\def\@titleimage{#1}}
|
||||
\def\titlelogo#1{\def\@titlelogo{#1}}
|
||||
\def\grouplogo#1{\def\@grouplogo{#1}}
|
||||
|
||||
\def\fundinglogos#1{\def\@fundinglogos{#1}}
|
||||
%% Frame options
|
||||
|
||||
% vertical Layouts
|
||||
@ -663,7 +657,8 @@
|
||||
\setbeamercolor*{title text box}{parent=green block}
|
||||
\setbeamercolor*{title logo box}{parent=white block}
|
||||
\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{frametitle}{}
|
||||
\setbeamertemplate{footline}{}
|
||||
@ -756,7 +751,8 @@
|
||||
\newcommand{\kittitlegrouplogo}{
|
||||
\ifdefined\@grouplogo
|
||||
\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
|
||||
\else % if \grouplogo is not called at all, show text
|
||||
\colorbox{kit-purple100!20}{\parbox[b][18mm][c]{35mm}{\color{kit-purple100}\scriptsize\centering
|
||||
@ -769,6 +765,13 @@
|
||||
\fi
|
||||
}
|
||||
|
||||
|
||||
%%
|
||||
%% Funding logos
|
||||
%%
|
||||
\newcommand{\fundinglogo}[1]{
|
||||
\includegraphics[width=30mm, keepaspectratio]{logos/Funding-logos/#1} % heightg = 20mm
|
||||
}
|
||||
%%
|
||||
%% Title page Template Definitions
|
||||
%%
|
||||
@ -779,7 +782,6 @@
|
||||
}
|
||||
|
||||
% vertical Layout
|
||||
|
||||
\defbeamertemplate{background}{KIT 2025 title vertical}{
|
||||
\begin{beamercolorbox}[ht=\paperheight,wd=\kitcolumnthreeright]{title text box}
|
||||
\end{beamercolorbox}%
|
||||
@ -790,7 +792,14 @@
|
||||
\fi%
|
||||
\fi%
|
||||
\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
|
||||
\vskip\kitbottom
|
||||
\end{beamercolorbox}
|
||||
|
||||
@ -8,4 +8,6 @@ All changes of this template is documented in this file.
|
||||
- Changed the logo in the footer to group logo
|
||||
- Removed date in footer
|
||||
- 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
|
||||
|
||||
@ -42,14 +42,7 @@ Example: `\documentclass[de,smallfoot, navbaroff]{CELbeamer}`
|
||||
|
||||
## Title Slide
|
||||
-----------
|
||||
There are several layouts for the title slide. You can select them using frame options:
|
||||
|
||||
| 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` |
|
||||
Setup: `\begin{frame}[title white vertical, picture=images/...., fundings=]`
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@ -6,17 +6,17 @@
|
||||
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
|
||||
\documentclass[kitgrid]{CELbeamer}
|
||||
%% 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 %%%%%%%%%%%%%%%
|
||||
\newcommand{\templates}{packages}
|
||||
\input{\templates/packages.tex}
|
||||
\input{\templates/booleans.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{}
|
||||
\grouplogo{CEL_logo.pdf}
|
||||
|
||||
@ -25,6 +25,11 @@
|
||||
% \groupname{}
|
||||
\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 %%%%%%%%%%%%%%%%%%%%
|
||||
\title[short title]{Title: Presentation with \emph{CEL} template}
|
||||
\subtitle{Subtitle: Example Presentation with CEL Template}
|
||||
@ -43,17 +48,14 @@
|
||||
|
||||
% Start of the presentation
|
||||
% 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]
|
||||
\titlepage
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[title white vertical, picture=images/schloss_schmal.jpg]
|
||||
\titlepage
|
||||
\end{frame}
|
||||
% \begin{frame}[title white vertical, picture=images/schloss_schmal.jpg]
|
||||
% \titlepage
|
||||
% \end{frame}
|
||||
|
||||
% \begin{frame}[title blue vertical, picture=images/schloss_back_cut.jpg]
|
||||
% \titlepage
|
||||
@ -63,14 +65,14 @@
|
||||
% \titlepage
|
||||
% \end{frame}
|
||||
|
||||
\begin{frame}[title white horizontal, picture=images/schloss, kitlogo=white]
|
||||
\titlepage
|
||||
\end{frame}
|
||||
% \begin{frame}[title white horizontal, picture=images/schloss, kitlogo=white]
|
||||
% \titlepage
|
||||
% \end{frame}
|
||||
|
||||
% Table of contents
|
||||
\begin{frame}[tableofcontents=green]{Overview}
|
||||
\tableofcontents
|
||||
\end{frame}
|
||||
% % Table of contents
|
||||
% \begin{frame}[tableofcontents=green]{Overview}
|
||||
% \tableofcontents
|
||||
% \end{frame}
|
||||
|
||||
\begin{frame}[tableofcontents=blue]{Overview}
|
||||
\tableofcontents
|
||||
@ -224,27 +226,27 @@
|
||||
% For more colors, see \ref{frame:kit-colors}.
|
||||
\end{frame}
|
||||
|
||||
\subsection{Spezial Frames}
|
||||
\begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{2}{3}$ Size}
|
||||
\lipsum[1][1-8]
|
||||
\end{frame}
|
||||
% \subsection{Spezial Frames}
|
||||
% \begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{2}{3}$ Size}
|
||||
% \lipsum[1][1-8]
|
||||
% \end{frame}
|
||||
|
||||
\begin{frame}[picture 50 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{1}{2}$ Size}
|
||||
\lipsum[1][1-16]
|
||||
\end{frame}
|
||||
% \begin{frame}[picture 50 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{1}{2}$ Size}
|
||||
% \lipsum[1][1-16]
|
||||
% \end{frame}
|
||||
|
||||
\begin{frame}[picture 33 vertical,picture=images/palladio_bauplan,kitlogo=white]{Slide with Picture in $\frac{1}{3}$ Size}
|
||||
\begin{columns}
|
||||
\column{\kittwocolumns}
|
||||
\lipsum[1][1-8]
|
||||
\column{\kittwocolumns}
|
||||
\lipsum[1][1-8]
|
||||
\end{columns}
|
||||
\end{frame}
|
||||
% \begin{frame}[picture 33 vertical,picture=images/palladio_bauplan,kitlogo=white]{Slide with Picture in $\frac{1}{3}$ Size}
|
||||
% \begin{columns}
|
||||
% \column{\kittwocolumns}
|
||||
% \lipsum[1][1-8]
|
||||
% \column{\kittwocolumns}
|
||||
% \lipsum[1][1-8]
|
||||
% \end{columns}
|
||||
% \end{frame}
|
||||
|
||||
\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.}
|
||||
\end{frame}
|
||||
% \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.}
|
||||
% \end{frame}
|
||||
|
||||
\subsection{Title and Footer}
|
||||
\begin{frame}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user