cel-slides-template-2025/presentation.tex
2025-10-24 10:30:45 +02:00

444 lines
14 KiB
TeX

%% Example presentation with CEL LaTeX template in KIT-Design
%% Modified from the KIT-Design by SDQ in February 2025
%% See https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen
%% Modified by: Hedongliang Liu
%% Last modified on: 14.08.2025
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
\documentclass[handout, overviewatsection]{CELbeamer}
%% default options: en, helvet, bigfoot (12pt)
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout,
%% spaceforface, overviewatsection
%%%%%%%%%%% 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}
% \showallatfirstoverviewfalse % uncomment to not show all sections at the first section
%%%%%%%%%%% Group info: logo must be in the directory logos/ %%%%%%%%%%%%%%%
%% If no group logo is desired, please call \grouplogo{}
\grouplogo{CEL_logo.pdf}
%% Group name and width (default: 89 mm)
\groupname{Communication Engineering Lab (CEL)}
% \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} % add funding logos here
% erc_logo, bmbf_logo_en, BMFTR_en_crop, bmwk_logo, logo_jupyter
%%%%%%%%%%%% Presentation Meta Data %%%%%%%%%%%%%%%%%%%%
\title[short title]{Title: Presentation with \emph{CEL} template}
\subtitle{Subtitle: Example Presentation with CEL Template}
\author[Doe, Liu \& Schmalen]{\underline{Jone Doe}, Hedongliang Liu and Laurent Schmalen}
\date[]{\today}
% Literatur
\usepackage[citestyle=authoryear,bibstyle=numeric,hyperref,backend=biber]{biblatex}
\addbibresource{presentation.bib}
\bibhang1em
\usepackage{lipsum}
\begin{document}
% Start of the presentation
% Title page
\begin{frame}[title white vertical, picture=images/castleflagcut]
\titlepage
\end{frame}
% \begin{frame}[tableofcontents=blue]{Overview}
% \tableofcontents
% \end{frame}
\section{Basic Usage}
\subsection{Options}
\begin{frame}{Usages Options}
The following options can be used by putting the \texttt{<option>} in the \texttt{\textbackslash documentclass[<option>]\{CELbeamer.cls\}} command:
\begin{itemize}
\item \texttt{en} \textit{(default)} for English, \texttt{de} for German
\item \texttt{helvet} \textit{(default)} for Helvetica font, \texttt{franklin} for Franklin Gothic font
\item \texttt{bigfoot} \textit{(default)} for 12pt font size, \texttt{smallfoot} for 11pt font size
\item \texttt{navbaron} to show the navigation bar
\item \texttt{kitgrid} to show the grid of rows and columns
\item<2-> \texttt{handout} to create a handout version of the slides
\item<2-> \texttt{spaceforface} to leave space for face in recording
\item<2-> \texttt{overviewatsection} to show the table of contents at each section
\end{itemize}
\end{frame}
\begin{frame}{Font Size Examples}
\tiny Tiny text
\scriptsize Scriptsize text
\footnotesize Footnotesize text
\small Small text
\normalsize Normal text
\large Large text
\Large Large (capital L) text
\LARGE LARGE (all caps) text
\huge Huge text
\Huge Huge (capital H) text
\end{frame}
\subsection{Color Boxes}
\begin{frame}{Color Blocks}{in the KIT Color Scheme}
\begin{columns}
\column{\kittwocolumns}
\begin{greenblock}{Greenblock}
Standard (\texttt{block})
\end{greenblock}
\column{\kittwocolumns}
\begin{royalblueblock}{Royalblueblock}
= \texttt{exampleblock}
\end{royalblueblock}
\column{\kittwocolumns}
\begin{redblock}{Redblock}
= \texttt{alertblock}
\end{redblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{grayblock}{Grayblock}
Text
\end{grayblock}
\column{\kittwocolumns}
\begin{lightgrayblock}{Lightgrayblock}
Text
\end{lightgrayblock}
\column{\kittwocolumns}
\begin{blueblock}{Blueblock}
Text
\end{blueblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{brownblock}{Brownblock}
Text
\end{brownblock}
\column{\kittwocolumns}
\begin{purpleblock}{Purpleblock}
Text
\end{purpleblock}
\column{\kittwocolumns}
\begin{cyanblock}{Cyanblock}
Text
\end{cyanblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{yellowblock}{Yellowblock}
Text
\end{yellowblock}
\column{\kittwocolumns}
\begin{lightgreenblock}{Lightgreenblock}
Text
\end{lightgreenblock}
\column{\kittwocolumns}
\begin{orangeblock}{Orangeblock}
Text
\end{orangeblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{contentblock}{Contentblock}
This is a content block without color.
\end{contentblock}
\column{\kittwocolumns}
\column{\kittwocolumns}
\end{columns}
% For more colors, see \ref{frame:kit-colors}.
\end{frame}
\begin{frame}{Color Boxes}{with Filled Background}
\begin{columns}
\column{\kitthreecolumns}
\begin{standardbox}
Standard box
\end{standardbox}
\column{\kitthreecolumns}
\begin{highlightbox}
Highlight box
\end{highlightbox}
\end{columns}
\vspace{\kitrowsep}
\begin{columns}
\column{\kittwocolumns}
\begin{grayhighlightbox}
Gray highlight box
\end{grayhighlightbox}
\column{\kittwocolumns}
\begin{lightgrayhighlightbox}
Light gray highlight box
\end{lightgrayhighlightbox}
\end{columns}
\end{frame}
\begin{frame}{Slide Layout via Column Split}
The pre-defined lengths \texttt{$\backslash$kitcolumn, $\backslash$kittwocolumns}, ..., \texttt{ $\backslash$kitsixcolumns} can be used to create columns of different widths.
\vspace{\kitrowsep}
\begin{columns}
\column{\kitthreecolumns}
This is a three-column layout. \\
\lipsum[1][1-4]
\column{\kitthreecolumns}
This is another three-column layout. \\
\lipsum[1][1-4]
\end{columns}
\vspace{\kitrowsep}
\begin{columns}
\column{\kittwocolumns}
\begin{standardbox}
Two column box
\end{standardbox}
\column{\kittwocolumns}
\begin{highlightbox}
Two column box
\end{highlightbox}
\column{\kittwocolumns}
\begin{grayhighlightbox}
Two column box
\end{grayhighlightbox}
\end{columns}
\end{frame}
\section{Frames}
\subsection{Title and Footer}
\begin{frame}[t]{Title}{Subtitle}
% Bei Frames mit Option \texttt{[t]} werden die Inhalte nicht vertikal zentriert, sondern an der Oberkante begonnen.
With frames with the option \texttt{[t]}, the content is not vertically centered but started at the top edge.
\end{frame}
\begin{frame}
With frames without a title, the free space for title can be used for content.
\end{frame}
\begin{frame}[plain]
% Bei Frames mit Option \texttt{[plain]} werden weder Kopf- noch Fußzeile angezeigt.
With frames with the option \texttt{[plain]}, neither header nor footer are displayed.
\end{frame}
\subsection{Footnotes}
\begin{frame}{Footnotes}
\lipsum[1][1-8]\footnote{This is a footnote.}
\end{frame}
\section{Other Tips}
\subsection{Citations}
\begin{frame}{Citations}
Citations in beamer were often dealed by pasting the full text in the footnote. The biblatex package provides a solution allowing you reuse your .bib file for presentations. Here are several ways of usage:\\[-.5em]
\begin{itemize}
\item cite full text in footnote \footfullcite{art} %or \footnote{\footnotesize\fullcite{art}}
\item short citation with author and year in text \autocite{art}
\item cite title in text \citetitle{art2}
\item \textit{*For more usage please refer to \href{http://tug.ctan.org/info/biblatex-cheatsheet/biblatex-cheatsheet.pdf}{\textcolor{kit-blue}{Biblatex Cheat Sheet}}.}\\
\end{itemize}
\vspace{-1em}
Note that you need to run ``\textbf{Biber}'' instead of ``BibTeX'' to generate the .bbl file.\\
You can print all references that are cited at the end of presentation, as shown in the next slide.
\end{frame}
\begin{frame}{Citation}
Citing literature: \cite{klare2021jss}
\end{frame}
\subsection{Handout Mode}
\begin{frame}{Itemize List in Handout Mode}
\begin{itemize}
\only<1|handout:0>{\item One: This will not be shown in the handout mode.}
\only<2-|handout:1->{\item \textcolor{red}{One:} This is the first item.}
\only<1|handout:0>{\item Two: This will not be shown in the handout mode.}
\only<2-|handout:1->{\item \textcolor{blue}{Two:} This is the second item.}
\item<only@3|handout:2>{Three: This will be shown on a new page in the handout mode.}
\item<only@4|handout:2>{Four: This is the fourth item.}
\end{itemize}
\end{frame}
\appendix
\beginbackup
\begin{frame}[allowframebreaks]{References}
\begin{exampleblock}{Backup Parts}
% Folien, die nach \texttt{\textbackslash beginbackup} eingefügt werden, zählen nicht in die Gesamtzahl der Folien.
Slides that are inserted after \texttt{\textbackslash beginbackup} do not count towards the total number of slides.
\end{exampleblock}
\printbibliography
\end{frame}
\begin{frame}{KIT Color Palette}\label{frame:kit-colors}
\newcommand{\csq}{\strut\hskip1.2em}
\begin{tabular}{rccccccccccccc}
& 100 & 90 & 80 & 70 & 60 & 50 & 40 & 30 & 25 & 20 & 15 & 10 & 5\\
% GREEN
kit-green
& \colorbox{kit-green100}{\csq}
& \colorbox{kit-green90}{\csq}
& \colorbox{kit-green80}{\csq}
& \colorbox{kit-green70}{\csq}
& \colorbox{kit-green60}{\csq}
& \colorbox{kit-green50}{\csq}
& \colorbox{kit-green40}{\csq}
& \colorbox{kit-green30}{\csq}
& \colorbox{kit-green25}{\csq}
& \colorbox{kit-green20}{\csq}
& \colorbox{kit-green15}{\csq}
& \colorbox{kit-green10}{\csq}
& \colorbox{kit-green5}{\csq}\\[.5em]
% BLUE
kit-royalblue
& \colorbox{kit-royalblue100}{\csq}
& \colorbox{kit-royalblue90}{\csq}
& \colorbox{kit-royalblue80}{\csq}
& \colorbox{kit-royalblue70}{\csq}
& \colorbox{kit-royalblue60}{\csq}
& \colorbox{kit-royalblue50}{\csq}
& \colorbox{kit-royalblue40}{\csq}
& \colorbox{kit-royalblue30}{\csq}
& \colorbox{kit-royalblue25}{\csq}
& \colorbox{kit-royalblue20}{\csq}
& \colorbox{kit-royalblue15}{\csq}
& \colorbox{kit-royalblue10}{\csq}
& \colorbox{kit-royalblue5}{\csq}\\[.5em]
% BLUE
kit-blue
& \colorbox{kit-blue100}{\csq}
& \colorbox{kit-blue90}{\csq}
& \colorbox{kit-blue80}{\csq}
& \colorbox{kit-blue70}{\csq}
& \colorbox{kit-blue60}{\csq}
& \colorbox{kit-blue50}{\csq}
& \colorbox{kit-blue40}{\csq}
& \colorbox{kit-blue30}{\csq}
& \colorbox{kit-blue25}{\csq}
& \colorbox{kit-blue20}{\csq}
& \colorbox{kit-blue15}{\csq}
& \colorbox{kit-blue10}{\csq}
& \colorbox{kit-blue5}{\csq}\\[.5em]
% RED
kit-red
& \colorbox{kit-red100}{\csq}
& \colorbox{kit-red90}{\csq}
& \colorbox{kit-red80}{\csq}
& \colorbox{kit-red70}{\csq}
& \colorbox{kit-red60}{\csq}
& \colorbox{kit-red50}{\csq}
& \colorbox{kit-red40}{\csq}
& \colorbox{kit-red30}{\csq}
& \colorbox{kit-red25}{\csq}
& \colorbox{kit-red20}{\csq}
& \colorbox{kit-red15}{\csq}
& \colorbox{kit-red10}{\csq}
& \colorbox{kit-red5}{\csq}\\[.5em]
% GREY
kit-gray
& \colorbox{kit-gray100}{\csq}
& \colorbox{kit-gray90}{\csq}
& \colorbox{kit-gray80}{\csq}
& \colorbox{kit-gray70}{\csq}
& \colorbox{kit-gray60}{\csq}
& \colorbox{kit-gray50}{\csq}
& \colorbox{kit-gray40}{\csq}
& \colorbox{kit-gray30}{\csq}
& \colorbox{kit-gray25}{\csq}
& \colorbox{kit-gray20}{\csq}
& \colorbox{kit-gray15}{\csq}
& \colorbox{kit-gray10}{\csq}
& \colorbox{kit-gray5}{\csq}\\[.5em]
% Orange
kit-orange
& \colorbox{kit-orange100}{\csq}
& \colorbox{kit-orange90}{\csq}
& \colorbox{kit-orange80}{\csq}
& \colorbox{kit-orange70}{\csq}
& \colorbox{kit-orange60}{\csq}
& \colorbox{kit-orange50}{\csq}
& \colorbox{kit-orange40}{\csq}
& \colorbox{kit-orange30}{\csq}
& \colorbox{kit-orange25}{\csq}
& \colorbox{kit-orange20}{\csq}
& \colorbox{kit-orange15}{\csq}
& \colorbox{kit-orange10}{\csq}
& \colorbox{kit-orange5}{\csq}\\[.5em]
% lightgreen
kit-lightgreen
& \colorbox{kit-lightgreen100}{\csq}
& \colorbox{kit-lightgreen90}{\csq}
& \colorbox{kit-lightgreen80}{\csq}
& \colorbox{kit-lightgreen70}{\csq}
& \colorbox{kit-lightgreen60}{\csq}
& \colorbox{kit-lightgreen50}{\csq}
& \colorbox{kit-lightgreen40}{\csq}
& \colorbox{kit-lightgreen30}{\csq}
& \colorbox{kit-lightgreen25}{\csq}
& \colorbox{kit-lightgreen20}{\csq}
& \colorbox{kit-lightgreen15}{\csq}
& \colorbox{kit-lightgreen10}{\csq}
& \colorbox{kit-lightgreen5}{\csq}\\[.5em]
% Brown
kit-brown
& \colorbox{kit-brown100}{\csq}
& \colorbox{kit-brown90}{\csq}
& \colorbox{kit-brown80}{\csq}
& \colorbox{kit-brown70}{\csq}
& \colorbox{kit-brown60}{\csq}
& \colorbox{kit-brown50}{\csq}
& \colorbox{kit-brown40}{\csq}
& \colorbox{kit-brown30}{\csq}
& \colorbox{kit-brown25}{\csq}
& \colorbox{kit-brown20}{\csq}
& \colorbox{kit-brown15}{\csq}
& \colorbox{kit-brown10}{\csq}
& \colorbox{kit-brown5}{\csq}\\[.5em]
% Purple
kit-purple
& \colorbox{kit-purple100}{\csq}
& \colorbox{kit-purple90}{\csq}
& \colorbox{kit-purple80}{\csq}
& \colorbox{kit-purple70}{\csq}
& \colorbox{kit-purple60}{\csq}
& \colorbox{kit-purple50}{\csq}
& \colorbox{kit-purple40}{\csq}
& \colorbox{kit-purple30}{\csq}
& \colorbox{kit-purple25}{\csq}
& \colorbox{kit-purple20}{\csq}
& \colorbox{kit-purple15}{\csq}
& \colorbox{kit-purple10}{\csq}
& \colorbox{kit-purple5}{\csq}\\[.5em]
% Cyan
kit-cyan
& \colorbox{kit-cyan100}{\csq}
& \colorbox{kit-cyan90}{\csq}
& \colorbox{kit-cyan80}{\csq}
& \colorbox{kit-cyan70}{\csq}
& \colorbox{kit-cyan60}{\csq}
& \colorbox{kit-cyan50}{\csq}
& \colorbox{kit-cyan40}{\csq}
& \colorbox{kit-cyan30}{\csq}
& \colorbox{kit-cyan25}{\csq}
& \colorbox{kit-cyan20}{\csq}
& \colorbox{kit-cyan15}{\csq}
& \colorbox{kit-cyan10}{\csq}
& \colorbox{kit-cyan5}{\csq}\\[.5em]
\end{tabular}
\end{frame}
\backupend
\end{document}