mirror of
https://gitlab.kit.edu/kit/cel/misc/cel-slides-template-2025.git
synced 2025-12-15 14:04:40 +00:00
see diff in CHANGELOG.nd
This commit is contained in:
parent
a3c0be18f5
commit
87eb9ad3a5
@ -309,15 +309,14 @@
|
|||||||
|
|
||||||
\BeforeBeginEnvironment{frame}{%
|
\BeforeBeginEnvironment{frame}{%
|
||||||
\restoregeometry
|
\restoregeometry
|
||||||
% Section-Navigation wieder auf Paketoption zurücksetzen
|
|
||||||
% Section navigation reset to package option
|
% Section navigation reset to package option
|
||||||
\ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi
|
\ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi
|
||||||
% KIT-Logo bunt
|
% KIT-Logo rgb
|
||||||
\footlinelogo{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}{} % originally 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
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -325,7 +324,7 @@
|
|||||||
% │ Header │
|
% │ Header │
|
||||||
% └───────────┘
|
% └───────────┘
|
||||||
|
|
||||||
% #1 = Breite / textwidth of the title
|
% #1 = textwidth of the title
|
||||||
\defbeamertemplate{frametitle}{KIT 2025}[1]{
|
\defbeamertemplate{frametitle}{KIT 2025}[1]{
|
||||||
% Oberkante Titeltext / Top title text
|
% Oberkante Titeltext / Top title text
|
||||||
\begin{textblock*}{#1}[0,0](\kitoutermargin,\kitoutermargin)%
|
\begin{textblock*}{#1}[0,0](\kitoutermargin,\kitoutermargin)%
|
||||||
@ -339,11 +338,10 @@
|
|||||||
|
|
||||||
% #1 = logo
|
% #1 = logo
|
||||||
\defbeamertemplate{logo}{KIT 2025 title/toc}[1]{
|
\defbeamertemplate{logo}{KIT 2025 title/toc}[1]{
|
||||||
\begin{textblock*}{24mm}(297.5mm, \kitoutermargin) % originally 297.5mm = A4 width - 1.03cm (outer margin)
|
\begin{textblock*}{28mm}(297.5mm, \kitoutermargin) % originally {24mm}
|
||||||
% setting 297.5mm to 304.3mm will make the KIT logo right-alighed to the margin
|
|
||||||
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
||||||
% KIT
|
% KIT
|
||||||
\includegraphics[width=24mm]{logos/#1}
|
\includegraphics[width=\linewidth]{logos/#1}
|
||||||
\end{textblock*}
|
\end{textblock*}
|
||||||
\vspace{37mm}%
|
\vspace{37mm}%
|
||||||
}
|
}
|
||||||
@ -462,19 +460,15 @@
|
|||||||
\newlength{\kitbottomheight}
|
\newlength{\kitbottomheight}
|
||||||
\newlength{\kitfootergroupwidth}
|
\newlength{\kitfootergroupwidth}
|
||||||
|
|
||||||
% Standardfußzeile Vollbreite
|
|
||||||
% Standard footer full width
|
% Standard footer full width
|
||||||
\defbeamertemplate{footline}{KIT 2025}{%
|
\defbeamertemplate{footline}{KIT 2025}{%
|
||||||
%% die "%" am Ende sind nötig, damit keine Abstände eingefügt werden
|
|
||||||
%% The "%" at the end are necessary to avoid adding spaces
|
%% The "%" at the end are necessary to avoid adding spaces
|
||||||
|
|
||||||
% Falls kein Gruppenname angegeben, die ganze Breite der Fußzeile für den Titel nutzen.
|
|
||||||
% If no group name is given, use the entire width of the footer for the title.
|
% If no group name is given, use the entire width of the footer for the title.
|
||||||
\ifdefined\@groupname%
|
\ifdefined\@groupname%
|
||||||
\ifx\@groupname\empty%
|
\ifx\@groupname\empty%
|
||||||
\setlength{\kitfootergroupwidth}{0mm}%
|
\setlength{\kitfootergroupwidth}{0mm}%
|
||||||
\else%
|
\else%
|
||||||
% Falls die Breite des Gruppennamens definiert ist, diese nehmen, sonst 89 mm
|
|
||||||
% If the width of the group name is defined, use that, otherwise 89 mm
|
% If the width of the group name is defined, use that, otherwise 89 mm
|
||||||
\ifdefined\@groupnamewidth%
|
\ifdefined\@groupnamewidth%
|
||||||
\setlength{\kitfootergroupwidth}{\@groupnamewidth}%
|
\setlength{\kitfootergroupwidth}{\@groupnamewidth}%
|
||||||
@ -486,12 +480,10 @@
|
|||||||
\setlength{\kitfootergroupwidth}{0mm}%
|
\setlength{\kitfootergroupwidth}{0mm}%
|
||||||
\fi%
|
\fi%
|
||||||
\usebeamerfont{footer}%
|
\usebeamerfont{footer}%
|
||||||
% Baseline so setzen, dass Text ungefähr mittig
|
|
||||||
% Set the baseline so that the text is approximately centered
|
% Set the baseline so that the text is approximately centered
|
||||||
\setlength{\kitbottomdepth}{\dimexpr.5\kitbottom-.3\baselineskip\relax}%
|
\setlength{\kitbottomdepth}{\dimexpr.5\kitbottom-.3\baselineskip\relax}%
|
||||||
\setlength{\kitbottomheight}{\dimexpr.5\kitbottom+.7\baselineskip\relax}%
|
\setlength{\kitbottomheight}{\dimexpr.5\kitbottom+.7\baselineskip\relax}%
|
||||||
%
|
%
|
||||||
% Ränder rechts und links optisch durch Ausprobieren gesetzt
|
|
||||||
% Right and left margins set visually by trial and error
|
% Right and left margins set visually by trial and error
|
||||||
\ifsectionnavigation%
|
\ifsectionnavigation%
|
||||||
\begin{beamercolorbox}[wd=\paperwidth, leftskip=7.5mm, rightskip=7.5mm]{}%
|
\begin{beamercolorbox}[wd=\paperwidth, leftskip=7.5mm, rightskip=7.5mm]{}%
|
||||||
@ -500,22 +492,22 @@
|
|||||||
\fi%
|
\fi%
|
||||||
\leavevmode%
|
\leavevmode%
|
||||||
\kitfootlinepagenumber%
|
\kitfootlinepagenumber%
|
||||||
\kitfootlinedate%
|
% \kitfootlinedate%
|
||||||
% The boxes with the title and group name are vertically centered, so that even two-line texts look nice
|
% The boxes with the title and group name are vertically centered, so that even two-line texts look nice
|
||||||
% Therefore, they must be shifted down by \kitbottomdepth
|
% Therefore, they must be shifted down by \kitbottomdepth
|
||||||
\raisebox{-\kitbottomdepth}{%
|
\raisebox{-\kitbottomdepth}{%
|
||||||
% The box therefore has a height of \kitbottom and a depth of 0mm
|
% The box therefore has a height of \kitbottom and a depth of 0mm
|
||||||
\kitfootlinetitle{\dimexpr251mm-\kitfootergroupwidth\relax}%
|
\kitfootlinetitle{\dimexpr285mm-\kitfootergroupwidth\relax}% originally 251mm; added the width of removed date width and reduced logo width
|
||||||
\ifdefined\@groupname%
|
\ifdefined\@groupname%
|
||||||
\kitfootlinegroupname%
|
\kitfootlinegroupname%
|
||||||
\fi%
|
\fi%
|
||||||
}%
|
}%
|
||||||
% KIT logo
|
% logo in footline
|
||||||
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
% \ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
||||||
\kitfootlinelogo{kitlogo_\@footlinelogo}%
|
\kitfootlinelogo{CEL_logo}% originally was {kitlogo_\@footlinelogo}
|
||||||
}
|
}
|
||||||
|
|
||||||
% Footer variable width for slides with full-screen image content: without section navigation, without group name
|
% Footer variable width for slides with full-screen image content: without section navigation, group name, and group logo
|
||||||
\defbeamertemplate{footline}{KIT 2025 picture}[1]{%
|
\defbeamertemplate{footline}{KIT 2025 picture}[1]{%
|
||||||
\usebeamerfont{footer}%
|
\usebeamerfont{footer}%
|
||||||
% Set the baseline so that the text is approximately centered
|
% Set the baseline so that the text is approximately centered
|
||||||
@ -523,7 +515,7 @@
|
|||||||
\setlength{\kitbottomheight}{\dimexpr.5\kitbottom+.7\baselineskip\relax}%
|
\setlength{\kitbottomheight}{\dimexpr.5\kitbottom+.7\baselineskip\relax}%
|
||||||
\leavevmode%
|
\leavevmode%
|
||||||
\kitfootlinepagenumber%
|
\kitfootlinepagenumber%
|
||||||
\kitfootlinedate%
|
% \kitfootlinedate%
|
||||||
% The box with the title is vertically centered, so that even two-line texts look nice
|
% The box with the title is vertically centered, so that even two-line texts look nice
|
||||||
% Therefore, they must be shifted down by \kitbottomdepth
|
% Therefore, they must be shifted down by \kitbottomdepth
|
||||||
\raisebox{-\kitbottomdepth}{%
|
\raisebox{-\kitbottomdepth}{%
|
||||||
@ -531,10 +523,10 @@
|
|||||||
\kitfootlinetitle{#1}%
|
\kitfootlinetitle{#1}%
|
||||||
}%
|
}%
|
||||||
% Kein Gruppenname
|
% Kein Gruppenname
|
||||||
\hskip\dimexpr251mm-#1\relax%
|
\hskip\dimexpr285mm-#1\relax% originally 251mm; added the width of removed date width
|
||||||
% KIT logo
|
% This is a picture frame, don't put logo in the footline
|
||||||
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
% \ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
|
||||||
\kitfootlinelogo{kitlogo_\@footlinelogo}%
|
% \kitfootlinelogo{kitlogo_\@footlinelogo}%
|
||||||
}
|
}
|
||||||
|
|
||||||
% Page nummer
|
% Page nummer
|
||||||
@ -545,19 +537,18 @@
|
|||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
}
|
}
|
||||||
|
|
||||||
% Datum
|
% % Date
|
||||||
\newcommand{\kitfootlinedate}{%
|
% \newcommand{\kitfootlinedate}{%
|
||||||
\begin{beamercolorbox}[wd=31mm, ht=\kitbottomheight, dp=\kitbottomdepth]{footer}%
|
% \begin{beamercolorbox}[wd=31mm, ht=\kitbottomheight, dp=\kitbottomdepth]{footer}%
|
||||||
\usebeamerfont{date in head/foot}%
|
% \usebeamerfont{date in head/foot}%
|
||||||
\strut\insertshortdate%
|
% \strut\insertshortdate%
|
||||||
\end{beamercolorbox}%
|
% \end{beamercolorbox}%
|
||||||
}
|
% }
|
||||||
|
|
||||||
% Autor/Titel in Breite #1
|
% Autor/Titel in width #1
|
||||||
\newcommand{\kitfootlinetitle}[1]{%
|
\newcommand{\kitfootlinetitle}[1]{%
|
||||||
\begin{beamercolorbox}[wd=#1, ht=\kitbottom, dp=0mm]{footer}%
|
\begin{beamercolorbox}[wd=#1, ht=\kitbottom, dp=0mm]{footer}%
|
||||||
% Inhalt vertikal zentrieren; Anpassung um 1.5 pt, damit bei einzeiligem Inhalt genau die Baseline der Blöcke mit Seitenzahl und Datum getroffen wird
|
% Content vertically centered; adjustment by 1.5 pt so that with single-line content the baseline of the blocks with page number is exactly hit
|
||||||
% Content vertically centered; adjustment by 1.5 pt so that with single-line content the baseline of the blocks with page number and date is exactly hit
|
|
||||||
\vbox to\kitbottom{\vfill\vskip\kitfooterbaselinecorrection%
|
\vbox to\kitbottom{\vfill\vskip\kitfooterbaselinecorrection%
|
||||||
\strut\beamer@shortauthor\ifx\beamer@shortauthor\empty\else: \fi\beamer@shorttitle%
|
\strut\beamer@shortauthor\ifx\beamer@shortauthor\empty\else: \fi\beamer@shorttitle%
|
||||||
\vfill}%
|
\vfill}%
|
||||||
@ -573,10 +564,10 @@
|
|||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
}
|
}
|
||||||
|
|
||||||
% KIT-Logo, Dateiname #1
|
% Group Logo in footer, file name #1
|
||||||
\newcommand{\kitfootlinelogo}[1]{%
|
\newcommand{\kitfootlinelogo}[1]{%
|
||||||
\begin{beamercolorbox}[wd=18mm, ht=\kitbottomheight, dp=\kitbottomdepth]{footer}
|
\begin{beamercolorbox}[wd=15mm, ht=\kitbottomheight, dp=\kitbottomdepth]{footer}
|
||||||
\raisebox{-4pt}{
|
\raisebox{-8pt}{
|
||||||
\includegraphics[width=\linewidth]{logos/#1}
|
\includegraphics[width=\linewidth]{logos/#1}
|
||||||
}
|
}
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
@ -609,6 +600,7 @@
|
|||||||
|
|
||||||
\newcommand{\kitpicturevertical}[1]{
|
\newcommand{\kitpicturevertical}[1]{
|
||||||
\setbeamertemplate{frametitle}[KIT 2025]{\dimexpr#1-\kitoutermargin-\kitcolumnsep\relax}
|
\setbeamertemplate{frametitle}[KIT 2025]{\dimexpr#1-\kitoutermargin-\kitcolumnsep\relax}
|
||||||
|
\setbeamertemplate{logo}{}
|
||||||
\setbeamertemplate{footline}[KIT 2025 picture]{\dimexpr#1-\kitoutermargin-\kitcolumn\relax}
|
\setbeamertemplate{footline}[KIT 2025 picture]{\dimexpr#1-\kitoutermargin-\kitcolumn\relax}
|
||||||
\newgeometry{top=0.5cm,bottom=0cm,left=\kitoutermargin,right=\dimexpr\paperwidth-#1+\kitcolumnsep\relax}
|
\newgeometry{top=0.5cm,bottom=0cm,left=\kitoutermargin,right=\dimexpr\paperwidth-#1+\kitcolumnsep\relax}
|
||||||
\setbeamertemplate{background}{\hskip#1\includegraphics[height=\paperheight]{\@titleimage}}
|
\setbeamertemplate{background}{\hskip#1\includegraphics[height=\paperheight]{\@titleimage}}
|
||||||
@ -698,7 +690,7 @@
|
|||||||
\setbeamertemplate{background}[KIT 2025 title horizontal]
|
\setbeamertemplate{background}[KIT 2025 title horizontal]
|
||||||
\setbeamertemplate{frametitle}[KIT 2025 title horizontal]
|
\setbeamertemplate{frametitle}[KIT 2025 title horizontal]
|
||||||
\setbeamertemplate{footline}[KIT 2025 title horizontal]
|
\setbeamertemplate{footline}[KIT 2025 title horizontal]
|
||||||
% KIT-Logo nach Definition, sonst bunt
|
% KIT-Logo according to definition, otherwise rgb
|
||||||
\ifdefined\@titlelogo\else\titlelogo{rgb}\fi
|
\ifdefined\@titlelogo\else\titlelogo{rgb}\fi
|
||||||
\setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_\@titlelogo}
|
\setbeamertemplate{logo}[KIT 2025 title/toc]{kitlogo_\@titlelogo}
|
||||||
\setbeamertemplate{title page}[KIT 2025 horizontal]
|
\setbeamertemplate{title page}[KIT 2025 horizontal]
|
||||||
|
|||||||
@ -4,4 +4,7 @@ All changes of this template is documented in this file.
|
|||||||
## [2025.08.13 v1.0.0] Modifications from sdqbeamer.cls
|
## [2025.08.13 v1.0.0] Modifications from sdqbeamer.cls
|
||||||
- Changed position of subtitle from above authors to below title
|
- Changed position of subtitle from above authors to below title
|
||||||
- Changed default beamer-class options to en, helvet
|
- Changed default beamer-class options to en, helvet
|
||||||
- Changed the font size of TOC page
|
- Changed the font size of TOC page
|
||||||
|
- Changed the logo in the footer to group logo
|
||||||
|
- Removed date in footer
|
||||||
|
- Added KIT logo in the header
|
||||||
12
README.md
12
README.md
@ -78,16 +78,6 @@ There are also special layouts for divider slides with large images. You can sel
|
|||||||
|
|
||||||
The image is set with the option `picture=<path>`, where `path` must be given relative to the main document.
|
The image is set with the option `picture=<path>`, where `path` must be given relative to the main document.
|
||||||
|
|
||||||
Additionally, you can choose the color of the KIT logo in the footer, as it appears above the image.
|
|
||||||
|
|
||||||
| KIT logo color | Frame Option |
|
|
||||||
| -------------- | ------------------------ |
|
|
||||||
| colored | `kitlogo=rgb` |
|
|
||||||
| white | `kitlogo=white` |
|
|
||||||
| black | `kitlogo=black` |
|
|
||||||
|
|
||||||
Example: `\begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with image}`
|
|
||||||
|
|
||||||
Logo and Name of Department/KIT Faculty/Institute
|
Logo and Name of Department/KIT Faculty/Institute
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
@ -99,7 +89,7 @@ To use your own logo, place the file (e.g., `mylogo.pdf`) in the `logos/` direct
|
|||||||
|
|
||||||
The group name can be set with the following command:
|
The group name can be set with the following command:
|
||||||
|
|
||||||
`\groupname{Software Design and Quality}`
|
`\groupname{Communication Engineering Lab}`
|
||||||
|
|
||||||
The group name appears in the footer at the bottom right. Long names will be wrapped into two lines. If the group name is left empty (`\groupname{}`), the full width of the footer will be used for author names and title.
|
The group name appears in the footer at the bottom right. Long names will be wrapped into two lines. If the group name is left empty (`\groupname{}`), the full width of the footer will be used for author names and title.
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
%% Last modified on: 14.08.2025
|
%% Last modified on: 14.08.2025
|
||||||
|
|
||||||
%% Example presentation
|
%% Example presentation
|
||||||
\documentclass[]{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), navbaroff, kitgrid
|
||||||
|
|
||||||
@ -15,7 +15,8 @@
|
|||||||
|
|
||||||
%% Gruppenname und Breite (Standard: 89 mm)
|
%% Gruppenname und Breite (Standard: 89 mm)
|
||||||
\groupname{Communication Engineering Lab (CEL)}
|
\groupname{Communication Engineering Lab (CEL)}
|
||||||
%\groupnamewidth{89mm}
|
% \groupname{}
|
||||||
|
\groupnamewidth{80mm} % addjust this to change the distance between the group name and the group logo in the footer
|
||||||
|
|
||||||
% Beginn der Präsentation
|
% Beginn der Präsentation
|
||||||
|
|
||||||
@ -214,7 +215,7 @@
|
|||||||
\column{\kittwocolumns}
|
\column{\kittwocolumns}
|
||||||
\column{\kittwocolumns}
|
\column{\kittwocolumns}
|
||||||
\end{columns}
|
\end{columns}
|
||||||
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}
|
||||||
@ -236,7 +237,7 @@
|
|||||||
\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]
|
\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}
|
||||||
@ -256,8 +257,8 @@
|
|||||||
With frames with the option \texttt{[t]}, the content is not vertically centered but started at the top edge.
|
With frames with the option \texttt{[t]}, the content is not vertically centered but started at the top edge.
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\begin{frame}{Example: Literature}
|
\begin{frame}{Citation}
|
||||||
Literaturzitat: \cite{klare2021jss}
|
Citing literature: \cite{klare2021jss}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\section{Mode Options}
|
\section{Mode Options}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user