%% 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[kitgrid, handout, overviewatsection, showsubsectionsatfirstoverview]{CELbeamer} 
%% default options: en, helvet, bigfoot (12pt)
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout, 
%% spaceforface, overviewatsection, showsubsectionsatfirstoverview

%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
\newcommand{\templates}{packages}
\input{\templates/packages.tex}
\input{\templates/macros.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}

% Literature
 
\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.
	\\
	The command \texttt{$\backslash$pagesNotes\{<label>\}} can be used to create a page with grid lines for notes, shown on the next slide. \\
	\texttt{$\backslash$refnotes{<label>}} creates a symbol linked to the page with notes. \refnotes{note1}
\end{frame}

\subsection{Grid Page for Hand-written Notes}
\pagesNotes{note1}

\subsection{Footnotes}
\begin{frame}{Footnotes}
	\begin{itemize}
		\item This is a normal footnote\footnote{This is a normal footnote.}.
		\item \texttt{$\backslash$nomarkfootnote} creates a footnote without a mark in the text\nomarkfootnote{This is a footnote without a mark.}.
		\item This is another normal footnote\footnote{This is another normal footnote.}.
	\end{itemize}
\end{frame}

\section{Other Tips}
\subsection{Citations}
\begin{frame}{Citations using BibLaTeX}
  Citations in beamer were often dealed by pasting the full text in the footnote. \\
  The biblatex package enables citing from your .bib file. \\
  Note that these commands requires setting \texttt{\schlagwort{backend=biber}} when loading the \texttt{biblatex} package.\\
  Here are several ways of usage:\\[-.5em]
  \begin{itemize}
	\item Cite full text in footnote \footfullcite{Rode23ECOC} by \texttt{$\backslash$footfullcite}.
	\item If the mark is not wanted, combine \texttt{$\backslash$nomarkfootnote} and \texttt{$\backslash$fullcite}. \nomarkfootnote{\fullcite{Rode23JLT}}
 	\item Cite author and year in text \autocite{Rode23JLT}.
  	\item Cite title in text \citetitle{Karanov18JLT}.
\end{itemize}
\textit{\footnotesize For more usage please refer to \href{http://tug.ctan.org/info/biblatex-cheatsheet/biblatex-cheatsheet.pdf}{\textcolor{kit-blue}{Biblatex Cheat Sheet}}.}\\
%   \vspace{-1em}
%   You can print all references that are cited at the end of presentation, as shown in the next slide.
\end{frame}

\subsection{Handout Mode}
\begin{frame}{Handout Mode}
	Handout mode is activated by the option \texttt{handout} in the document class.\\
	A frame with multiple animated slides will be shown on one slide in the handout version.\\
	One can still control the number of slides of one frame in the handout version, e.g.,
	\begin{itemize}
        \only<1|handout:0>{\item One: This will not be shown in the handout version.}
        \only<2-|handout:1->{\item \textcolor{red}{One:} This is shown on the first slide of this frame in the handout version.}
        \only<1|handout:0>{\item Two: This will not be shown in the handout version.}
        \only<2-|handout:1->{\item \textcolor{blue}{Two:} This is also shown on the first slide in the handout version.}
		\item<only@3|handout:2>{Three: This is shown on the second slide in the handout version.}
		\item<only@4|handout:2>{Four: This is also shown on the second slide.}
    \end{itemize}
\end{frame}

\subsection{Macros}
\begin{frame}{Predefined Macros}
	\begin{itemize}
		\item \schlagwort{Schlagwort} for highlighting keywords
		\item An important thing \mind for pointing out important things
		% \item \endofproof for a colored small box representing the end of a proof
	\end{itemize}
	Math macros
	\begin{itemize}
		\item \texttt{$\backslash$coloneq} $\coloneq$ for defining a new variable, e.g., $a \coloneq b + c$
		\item \texttt{$\backslash$myspan$\{\cdot\}$} for span notation, e.g. $\myspan{\ba,\bb,\bc}$
		\item \texttt{$\backslash$ceil$\{\cdot\}$} $\ceil{x}$ for ceiling function, e.g., $\ceil{3.14} = 4$
		\item \texttt{$\backslash$floor$\{\cdot\}$} $\floor{x}$ for floor function, e.g., $\floor{3.14} = 3$
		\item \texttt{$\backslash$dd} for differential operator, e.g., $\int f(x) \dd x$, $\frac{\dd f(x)}{\dd x}$
		\item \texttt{$\backslash$real} $\real$ for real part, e.g., $\real(z)$
		\item \texttt{$\backslash$imag} $\imag$ for imaginary part, e.g., $\imag(z)$ 
	\end{itemize}
\end{frame}

\begin{frame}{Math Macros (Cont'd)}
	\begin{itemize}
		\item \texttt{$\backslash$sinc} $\sinc(x)$ for sinc function, e.g., $\sinc(x) = \frac{\sin(\pi x)}{\pi x}$
		\item \texttt{$\backslash$rect} $\rect(x)$ for rectangular function, e.g., $\rect(x) = \begin{cases} 1 & |x| \leq \frac{1}{2} \\ 0 & \text{otherwise} \end{cases}$
	\end{itemize}
	Math symbols:
	\begin{itemize}
		\item \texttt{$\backslash$cA, $\cdots$} $\cA, \cB, \cC, \cdots$ for calligraphic letters
		\item $\0, \bm{n}, \bm{\alpha}, \bm{M}, \bm{\cM}$ for bold math symbols
		\item $\bbN, \bbR, \bbZ$ blackboard bold symbols for the sets of natural numbers, real numbers, and integers, respectively
		\item $\F, \Fq, \Fqm$ for finite field
		\item $\sfA, \sfB, \sfC, \cdots$ sans-serif math letters, usually for naming instead of parameters in notations
	\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}
\todo{Fix the bibliography issue.}
% \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}
