initialized CELbeamer.cls, modified from sdqbeamer.cls

This commit is contained in:
Hedongliang Liu 2025-08-13 21:36:07 +02:00
parent edeee8ad90
commit d50e022007
5 changed files with 413 additions and 222 deletions

View File

@ -1,11 +1,14 @@
%% Vorlage für Präsentationen mit LaTeX Beamer im KIT-Design %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% entsprechend den Gestaltungsrichtlinien vom Februar 2025 %% CELbeamer.cls
%% %% Provided as a template class for presentations
%% Siehe https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen %% Modified from sdqbeamer.cls (v4.0.0, 2025 Feb.) in KIT-Design
%% See changelog.md for detailed changes
%% Last modified on: 15.08.2025
%% For the original sdqbeamer.cls, see https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesClass{sdqbeamer}[2025-03-01 v4.0.0 SDQ Beamer class] \ProvidesClass{CELbeamer}[2025-08-15 v1.0.0 CEL Beamer class]
\RequirePackage[utf8]{inputenc} \RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
@ -21,13 +24,13 @@
\def\groupname#1{\def\@groupname{#1}} \def\groupname#1{\def\@groupname{#1}}
\def\groupnamewidth#1{\def\@groupnamewidth{#1}} \def\groupnamewidth#1{\def\@groupnamewidth{#1}}
% siehe README.md % see README.md
\DeclareOption{de}{
\germantrue
\PassOptionsToPackage{autostyle}{csquotes}
}
\DeclareOption{en}{ \DeclareOption{en}{
\germanfalse \germanfalse
\PassOptionsToPackage{autostyle}{csquotes}
}
\DeclareOption{de}{
\germantrue
} }
\DeclareOption{navbaroff}{ \DeclareOption{navbaroff}{
\sectionnavigationoptionfalse \sectionnavigationoptionfalse
@ -48,14 +51,13 @@
\kitgridtrue \kitgridtrue
} }
\ExecuteOptions{de,bigfoot,franklin} \ExecuteOptions{en,bigfoot,helvet}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}}
\ProcessOptions\relax \ProcessOptions\relax
% In der PowerPoint-Vorlage ist die Schrift 16 pt groß. Dies wird von LaTeX aber standardmäßig nicht angeboten. % The standard font sizes are:
% Daher wurden 17 pt als Standardschriftgröße gewählt. Das ergibt:
% %
% \tiny = 10pt % \tiny = 10pt
% \scriptsize = 11pt % \scriptsize = 11pt
@ -69,7 +71,7 @@
% \Huge = 48pt % \Huge = 48pt
% \HUGE = 60pt % \HUGE = 60pt
% %
% onlytextwidth läßt Spalten nur innerhalb der Ränder erscheinen. % onlytextwidth allows columns to appear only within the margins.
\LoadClass[17pt,utf8,onlytextwidth]{beamer} \LoadClass[17pt,utf8,onlytextwidth]{beamer}
% Babel-Paket wird nur bei deutscher Sprache benötigt % Babel-Paket wird nur bei deutscher Sprache benötigt
@ -232,7 +234,7 @@
\newlength{\kitfiverows} \newlength{\kitfiverows}
\setlength{\kitfiverows}{\dimexpr5\kitrow+4\kitrowsep\relax} \setlength{\kitfiverows}{\dimexpr5\kitrow+4\kitrowsep\relax}
% Hintergrund-Raster sichtbar % Hintergrund-Raster sichtbar / Background grid visible
% Nach Vorlagen-pptx % Nach Vorlagen-pptx
\defbeamertemplate{background canvas}{kitgrid}{ \defbeamertemplate{background canvas}{kitgrid}{
\begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\paperheight} \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\paperheight}
@ -288,13 +290,15 @@
\end{pgfpicture}% \end{pgfpicture}%
} }
% Ränder außen % Ränder außen / Outside edges
\setbeamersize{text margin left=\kitoutermargin,text margin right=\kitoutermargin} \setbeamersize{text margin left=\kitoutermargin,text margin right=\kitoutermargin}
% keine Navigationssymbole % keine Navigationssymbole
\setbeamertemplate{navigation symbols}{} \setbeamertemplate{navigation symbols}{}
\setbeamercovered{invisible} \setbeamercovered{invisible}
\beamer@compresstrue % Miniframes (Navigations-Punkte) für Subsections immer in einer Zeile, ohne Umbrüche \beamer@compresstrue
% Miniframes (Navigations-Punkte) für Subsections immer in einer Zeile, ohne Umbrüche
% Miniframes (navigation points) for subsections always in one line, without breaks
% Mehrere Folienlayouts erlauben % Mehrere Folienlayouts erlauben
% siehe https://stackoverflow.com/questions/3158665/having-multiple-slide-templates-in-latex-beamer % siehe https://stackoverflow.com/questions/3158665/having-multiple-slide-templates-in-latex-beamer
@ -306,23 +310,24 @@
\BeforeBeginEnvironment{frame}{% \BeforeBeginEnvironment{frame}{%
\restoregeometry \restoregeometry
% Section-Navigation wieder auf Paketoption zurücksetzen % Section-Navigation wieder auf Paketoption zurücksetzen
% Section navigation reset to package option
\ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi \ifsectionnavigationoption\sectionnavigationtrue\else\sectionnavigationfalse\fi
% KIT-Logo bunt % KIT-Logo bunt
\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}{} \setbeamertemplate{logo}{} % originally was {logo}{}
\ifkitgrid\setbeamertemplate{background canvas}[kitgrid]\fi \ifkitgrid\setbeamertemplate{background canvas}[kitgrid]\fi
} }
% %
% Kopfzeile % Header
% %
% #1 = Breite % #1 = Breite / textwidth of the title
\defbeamertemplate{frametitle}{KIT 2025}[1]{ \defbeamertemplate{frametitle}{KIT 2025}[1]{
% Oberkante Titeltext % Oberkante Titeltext / Top title text
\begin{textblock*}{#1}[0,0](\kitoutermargin,\kitoutermargin)% \begin{textblock*}{#1}[0,0](\kitoutermargin,\kitoutermargin)%
{\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\insertframetitle}% {\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\insertframetitle}%
\ifx\insertframesubtitle\@empty\else\\\fi \ifx\insertframesubtitle\@empty\else\\\fi
@ -334,27 +339,31 @@
% #1 = logo % #1 = logo
\defbeamertemplate{logo}{KIT 2025 title/toc}[1]{ \defbeamertemplate{logo}{KIT 2025 title/toc}[1]{
\begin{textblock*}{24mm}(297.5mm,\kitoutermargin) \begin{textblock*}{24mm}(297.5mm, \kitoutermargin) % originally 297.5mm = A4 width - 1.03cm (outer margin)
% setting 297.5mm to 304.3mm will make the KIT logo right-alighed to the margin
\ifdefined\@footlinelogo\else\footlinelogo{rgb}\fi
% KIT
\includegraphics[width=24mm]{logos/#1} \includegraphics[width=24mm]{logos/#1}
\end{textblock*} \end{textblock*}
\vspace{37mm}% \vspace{37mm}%
} }
% %
% /Kopfzeile % /Header
% %
% %
% Fußzeile % Footer
% %
% Anpassung der Fußzeile für zweizeilige Titel % The footer is adjusted for two-line titles
\newlength{\kitfooterbaselinecorrection} \newlength{\kitfooterbaselinecorrection}
% KIT-Logo (rgb, white, black) % Logo color scheme (rgb, white, black) in footline
\def\footlinelogo#1{\def\@footlinelogo{#1}} \def\footlinelogo#1{\def\@footlinelogo{#1}}
% kleiner Text nur, wenn "smallfoot" gewählt % kleiner Text nur, wenn "smallfoot" gewählt
% small text only if "smallfoot" option is chosen
\ifsmallfooterfont \ifsmallfooterfont
% 11pt wie in offiziellen Vorlage % 11pt wie in offiziellen Vorlage
\setbeamerfont{footer}{size=\scriptsize} \setbeamerfont{footer}{size=\scriptsize}
@ -366,9 +375,9 @@
\fi \fi
% %
% Section-Punkte, die mit der Schriftgröße skalieren % Section points that scale with the font size
% %
% angepaßt von https://tex.stackexchange.com/questions/292070/beamer-navigation-bar-too-long % adjusted from https://tex.stackexchange.com/questions/292070/beamer-navigation-bar-too-long
\defbeamertemplate{mini frame}{scaled circle} \defbeamertemplate{mini frame}{scaled circle}
{% {%
\usebeamerfont{footer}% \usebeamerfont{footer}%
@ -444,7 +453,7 @@
\setbeamertemplate{mini frame in current subsection}[scaled circle] \setbeamertemplate{mini frame in current subsection}[scaled circle]
%% %%
%% /Section-Punkte, die mit der Schriftgröße skalieren %% /Section points that scale with the font size
%% %%
\setbeamerfont{page number in head/foot}{series=\bfseries} \setbeamerfont{page number in head/foot}{series=\bfseries}
@ -454,14 +463,19 @@
\newlength{\kitfootergroupwidth} \newlength{\kitfootergroupwidth}
% Standardfußzeile Vollbreite % Standardfußzeile Vollbreite
% 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 %% die "%" am Ende sind nötig, damit keine Abstände eingefügt werden
%% 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. % 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.
\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 % 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
\ifdefined\@groupnamewidth% \ifdefined\@groupnamewidth%
\setlength{\kitfootergroupwidth}{\@groupnamewidth}% \setlength{\kitfootergroupwidth}{\@groupnamewidth}%
\else% \else%
@ -473,10 +487,12 @@
\fi% \fi%
\usebeamerfont{footer}% \usebeamerfont{footer}%
% Baseline so setzen, dass Text ungefähr mittig % Baseline so setzen, dass Text ungefähr mittig
% 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 % Ränder rechts und links optisch durch Ausprobieren gesetzt
% 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]{}%
\insertnavigation{\dimexpr\paperwidth-15mm\relax}% \insertnavigation{\dimexpr\paperwidth-15mm\relax}%
@ -485,10 +501,10 @@
\leavevmode% \leavevmode%
\kitfootlinepagenumber% \kitfootlinepagenumber%
\kitfootlinedate% \kitfootlinedate%
% Die Boxen mit dem Titel und dem Gruppennamen sind vertikal zentriert, damit auch zweizeilige Texte schön aussehen % The boxes with the title and group name are vertically centered, so that even two-line texts look nice
% Daher müssen sie um \kitbottomdepth nach unten verschoben werden % Therefore, they must be shifted down by \kitbottomdepth
\raisebox{-\kitbottomdepth}{% \raisebox{-\kitbottomdepth}{%
% Die Box hat daher auch Höhe \kitbottom und Tiefe 0mm % The box therefore has a height of \kitbottom and a depth of 0mm
\kitfootlinetitle{\dimexpr251mm-\kitfootergroupwidth\relax}% \kitfootlinetitle{\dimexpr251mm-\kitfootergroupwidth\relax}%
\ifdefined\@groupname% \ifdefined\@groupname%
\kitfootlinegroupname% \kitfootlinegroupname%
@ -499,17 +515,17 @@
\kitfootlinelogo{kitlogo_\@footlinelogo}% \kitfootlinelogo{kitlogo_\@footlinelogo}%
} }
% Fußzeile variabler Breite für Folien mit vollflächigem Bild-Anteil: ohne Section-Navigation, ohne Gruppennamen % Footer variable width for slides with full-screen image content: without section navigation, without group name
\defbeamertemplate{footline}{KIT 2025 picture}[1]{% \defbeamertemplate{footline}{KIT 2025 picture}[1]{%
\usebeamerfont{footer}% \usebeamerfont{footer}%
% Baseline so setzen, dass Text ungefähr mittig % 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}%
\leavevmode% \leavevmode%
\kitfootlinepagenumber% \kitfootlinepagenumber%
\kitfootlinedate% \kitfootlinedate%
% Die Box mit dem Titel ist sind vertikal zentriert, damit auch zweizeilige Texte schön aussehen % The box with the title is vertically centered, so that even two-line texts look nice
% Daher müssen sie um \kitbottomdepth nach unten verschoben werden % Therefore, they must be shifted down by \kitbottomdepth
\raisebox{-\kitbottomdepth}{% \raisebox{-\kitbottomdepth}{%
% Die Box hat daher auch Höhe \kitbottom und Tiefe 0mm % Die Box hat daher auch Höhe \kitbottom und Tiefe 0mm
\kitfootlinetitle{#1}% \kitfootlinetitle{#1}%
@ -521,7 +537,7 @@
\kitfootlinelogo{kitlogo_\@footlinelogo}% \kitfootlinelogo{kitlogo_\@footlinelogo}%
} }
% Seitennummer % Page nummer
\newcommand{\kitfootlinepagenumber}{% \newcommand{\kitfootlinepagenumber}{%
\begin{beamercolorbox}[wd=\dimexpr\kitoutermargin+16mm\relax, ht=\kitbottomheight, dp=\kitbottomdepth, leftskip=\kitoutermargin]{footer} \begin{beamercolorbox}[wd=\dimexpr\kitoutermargin+16mm\relax, ht=\kitbottomheight, dp=\kitbottomdepth, leftskip=\kitoutermargin]{footer}
\usebeamerfont{page number in head/foot}% \usebeamerfont{page number in head/foot}%
@ -541,6 +557,7 @@
\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 % 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 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}%
@ -570,10 +587,10 @@
% %
% %
% Spezial-Layouts % Special-Layouts
% %
% Text/Bild vertikal geteilt % Text/image vertically split
\define@key{beamerframe}{picture 33 vertical}[true]{% \define@key{beamerframe}{picture 33 vertical}[true]{%
\kitpicturevertical{\kitcolumnfiveleft} \kitpicturevertical{\kitcolumnfiveleft}
} }
@ -597,7 +614,7 @@
\setbeamertemplate{background}{\hskip#1\includegraphics[height=\paperheight]{\@titleimage}} \setbeamertemplate{background}{\hskip#1\includegraphics[height=\paperheight]{\@titleimage}}
} }
% Inhaltsverzeichnis % Table of contents
\define@key{beamerframe}{tableofcontents}[green]{% \define@key{beamerframe}{tableofcontents}[green]{%
\setbeamertemplate{background}{ \setbeamertemplate{background}{
@ -614,7 +631,7 @@
\defbeamertemplate{frametitle}{KIT 2025 title in toc}{ \defbeamertemplate{frametitle}{KIT 2025 title in toc}{
\begin{textblock*}{\kitcolumn}(\kitoutermargin,\kitoutermargin) \begin{textblock*}{\kitcolumn}(\kitoutermargin,\kitoutermargin)
\begin{beamercolorbox}[wd=\kitcolumn]{} \begin{beamercolorbox}[wd=\kitcolumn]{}
\usebeamerfont*{frametitle}{\large\color{white}\insertframetitle} \usebeamerfont*{frametitle}{\color{white}\insertframetitle} % 2025KIT-template has \large
\end{beamercolorbox} \end{beamercolorbox}
\end{textblock*} \end{textblock*}
} }
@ -630,11 +647,11 @@
} }
% %
% /Spezial-Layouts % /Special-Layouts
% %
%% %%
%% /Folien-Layout %% /Frame-Layout
%% %%
%% %%
@ -645,9 +662,9 @@
\def\titlelogo#1{\def\@titlelogo{#1}} \def\titlelogo#1{\def\@titlelogo{#1}}
\def\grouplogo#1{\def\@grouplogo{#1}} \def\grouplogo#1{\def\@grouplogo{#1}}
%% Frame-Optionen %% Frame options
% vertikale Layouts % vertical Layouts
\define@key{beamerframe}{title white vertical}[true]{% \define@key{beamerframe}{title white vertical}[true]{%
\setbeamercolor*{title}{parent=title on green} \setbeamercolor*{title}{parent=title on green}
\setbeamercolor*{subtitle}{parent=subtitle on green} \setbeamercolor*{subtitle}{parent=subtitle on green}
@ -672,7 +689,7 @@
\setbeamertemplate{footline}{} \setbeamertemplate{footline}{}
} }
% horizontale Layouts % horizontal Layouts
\define@key{beamerframe}{title green horizontal}[true]{% \define@key{beamerframe}{title green horizontal}[true]{%
\setbeamercolor*{title}{parent=title on green} \setbeamercolor*{title}{parent=title on green}
\setbeamercolor*{subtitle}{parent=subtitle on green} \setbeamercolor*{subtitle}{parent=subtitle on green}
@ -702,15 +719,15 @@
} }
%% %%
%% Absolut positionierte Elemente %% Absolute position elements
%% %%
% %
% From textpos documentation (https://ctan.org/pkg/textpos) % From textpos documentation (https://ctan.org/pkg/textpos)
% %
% \begin{textblock}{<hsize>}[<ho>,<vo>](<hpos>,<vpos>) % \begin{textblock}{<hsize>}[<href>,<vref>](<hpos>,<vpos>)
% The coordinates <ho> and <vo> are fractions of the width and height of the text % The coordinates <href> and <vref> are fractions of the width and height of the text
% box, respectively, and state that the box is to be placed so that the reference point % box, respectively, and state that the box is to be placed so that the reference point
% (<ho>,<vo>) within the box is to be placed at the point (<hpos>,<vpos>) on the page. % (<href>,<vref>) within the box is to be placed at the point (<hpos>,<vpos>) on the page.
% KIT-Logo % KIT-Logo
\newcommand{\kittitlekitlogo}[1]{ \newcommand{\kittitlekitlogo}[1]{
@ -719,36 +736,37 @@
\end{textblock*} \end{textblock*}
} }
% Titel auf vertikaler Höhe #1 mit Breite #2 % Title at vertical height #1 with width #2
\newcommand{\kittitletitle}[2]{ \newcommand{\kittitletitle}[2]{
\begin{textblock*}{#2}(\kitoutermargin,#1) \begin{textblock*}{#2}(\kitoutermargin,#1)
\begin{beamercolorbox}[wd=#2]{title} \begin{beamercolorbox}[wd=#2]{title}
\usebeamerfont*{title}\inserttitle \usebeamerfont*{title}\inserttitle \ifx\@subtitle\@empty\else\\[.2em]\fi %
\usebeamerfont*{subtitle}\insertsubtitle %
\end{beamercolorbox} \end{beamercolorbox}
\end{textblock*} \end{textblock*}
} }
% Untertitel/Autor/Datum an Unterkante mit Breite #1 % Untertitle/Author/Date at the bottom with width #1
\newcommand{\kittitlesubtitle}[1]{ \newcommand{\kittitlesubtitle}[1]{
\begin{textblock*}{#1}[0,1](\kitoutermargin,\dimexpr\paperheight-\kitbottom\relax) \begin{textblock*}{#1}[0,1](\kitoutermargin,\dimexpr\paperheight-\kitbottom\relax)
\begin{beamercolorbox}[wd=#1]{subtitle} \begin{beamercolorbox}[wd=#1]{subtitle}
\usebeamerfont*{subtitle}\insertsubtitle \ifx\@author\@empty\else\\[.2em]\fi % % \usebeamerfont*{subtitle}\insertsubtitle \ifx\@author\@empty\else\\[.2em]\fi %
\usebeamerfont*{author}\insertauthor \ifx\@date\@empty\else~\textbar~\fi % \usebeamerfont*{author}\insertauthor \ifx\@date\@empty\else\\[.2em]\fi %
\usebeamerfont*{date}\insertdate % \usebeamerfont*{date}\insertdate %
\end{beamercolorbox} \end{beamercolorbox}
\end{textblock*} \end{textblock*}
} }
%% %%
%% Gruppenlogo %% Group logo
%% %%
\newcommand{\kittitlegrouplogo}{ \newcommand{\kittitlegrouplogo}{
\ifdefined\@grouplogo \ifdefined\@grouplogo
\ifx\@grouplogo\empty \else \ifx\@grouplogo\empty \else
\includegraphics[width=37mm,height=20mm,keepaspectratio]{logos/\@grouplogo} \includegraphics[width=37mm,height=20mm,keepaspectratio]{logos/\@grouplogo} % originally width was 37mm
\fi % falls \grouplogo{} aufgerufen wird, kein Gruppenlogo einbinden \fi % if \grouplogo{} is called, do not include group logo
\else % falls \grouplogo gar nicht aufgerufen wurde, Text anzeigen \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
\ifgerman \ifgerman
Bitte Logo über \texttt{\textbackslash grouplogo\{\}} festlegen. Bitte Logo über \texttt{\textbackslash grouplogo\{\}} festlegen.
@ -760,7 +778,7 @@
} }
%% %%
%% Template-Definitionen %% Title page Template Definitions
%% %%
\defbeamertemplate{title page}{KIT 2025 vertical}{ \defbeamertemplate{title page}{KIT 2025 vertical}{
@ -768,7 +786,7 @@
\kittitlesubtitle{\dimexpr\kitthreecolumns-\kitcolumnsep\relax} \kittitlesubtitle{\dimexpr\kitthreecolumns-\kitcolumnsep\relax}
} }
% vertikales 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}
@ -791,10 +809,10 @@
\defbeamertemplate{title page}{KIT 2025 horizontal}{ \defbeamertemplate{title page}{KIT 2025 horizontal}{
\kittitletitle{\kitrowfourtop}{\kitfivecolumns} \kittitletitle{\kitrowfourtop}{\kitfivecolumns}
\kittitlesubtitle{\kitfivecolumns} \kittitlesubtitle{\kitfivecolumns}
\frametitle{none} % Damit die obere Hälfte gerendert wird \frametitle{none} % The upper half is rendered
} }
% Im horizontalen Modus ist der Frametitle die obere Hälfte des Titels % In horizontal mode, the frametitle is the upper half of the title
\defbeamertemplate{frametitle}{KIT 2025 title horizontal}{ \defbeamertemplate{frametitle}{KIT 2025 title horizontal}{
\begin{beamercolorbox}[ht=\kitrowthreebottom,wd=\paperwidth]{title logo box}% \begin{beamercolorbox}[ht=\kitrowthreebottom,wd=\paperwidth]{title logo box}%
\ifdefined\@titleimage% \ifdefined\@titleimage%
@ -805,7 +823,7 @@
\end{beamercolorbox}% \end{beamercolorbox}%
} }
% Im horizontalen Modus ist die Footline die untere Hälfte des Titels % In horizontal mode, the footline is the lower half of the title
\defbeamertemplate{footline}{KIT 2025 title horizontal}{ \defbeamertemplate{footline}{KIT 2025 title horizontal}{
\begin{beamercolorbox}[ht=\dimexpr2\kitrowsep+2\kitrow+\kitbottom\relax,wd=\paperwidth,right,rightskip=\kitoutermargin]{title logo box}% \begin{beamercolorbox}[ht=\dimexpr2\kitrowsep+2\kitrow+\kitbottom\relax,wd=\paperwidth,right,rightskip=\kitoutermargin]{title logo box}%
\kittitlegrouplogo% \kittitlegrouplogo%
@ -814,13 +832,13 @@
} }
%% %%
%% /Titelseite %% /Titel page
%% %%
%% %%
%% Farben %% Colors
%% %%
%% KIT-Farbschema %% KIT-Color scheme
% KIT color green : % KIT color green :
\definecolor{kit-green}{RGB}{0, 150, 130} \definecolor{kit-green}{RGB}{0, 150, 130}
@ -875,7 +893,7 @@
\definecolor{kit-iceblue50}{RGB}{168, 185, 196} \definecolor{kit-iceblue50}{RGB}{168, 185, 196}
\definecolor{kit-iceblue30}{RGB}{218, 225, 230} \definecolor{kit-iceblue30}{RGB}{218, 225, 230}
% KIT color red : % KIT color red :
\definecolor{kit-red}{RGB}{162, 34, 35} \definecolor{kit-red}{RGB}{162, 34, 35}
\colorlet{kit-red100}{kit-red} \colorlet{kit-red100}{kit-red}
\colorlet{kit-red90}{kit-red!90!white} \colorlet{kit-red90}{kit-red!90!white}
@ -891,7 +909,7 @@
\colorlet{kit-red10}{kit-red!10!white} \colorlet{kit-red10}{kit-red!10!white}
\colorlet{kit-red5}{kit-red!5!white} \colorlet{kit-red5}{kit-red!5!white}
% KIT color yellow : % KIT color yellow :
\definecolor{kit-yellow}{RGB}{252, 229, 0} \definecolor{kit-yellow}{RGB}{252, 229, 0}
\colorlet{kit-yellow100}{kit-yellow} \colorlet{kit-yellow100}{kit-yellow}
\colorlet{kit-yellow90}{kit-yellow!90!white} \colorlet{kit-yellow90}{kit-yellow!90!white}
@ -907,7 +925,7 @@
\colorlet{kit-yellow10}{kit-yellow!10!white} \colorlet{kit-yellow10}{kit-yellow!10!white}
\colorlet{kit-yellow5}{kit-yellow!5!white} \colorlet{kit-yellow5}{kit-yellow!5!white}
% KIT color orange : % KIT color orange :
\definecolor{kit-orange}{RGB}{223, 155, 27} \definecolor{kit-orange}{RGB}{223, 155, 27}
\colorlet{kit-orange100}{kit-orange} \colorlet{kit-orange100}{kit-orange}
\colorlet{kit-orange90}{kit-orange!90!white} \colorlet{kit-orange90}{kit-orange!90!white}
@ -923,7 +941,7 @@
\colorlet{kit-orange10}{kit-orange!10!white} \colorlet{kit-orange10}{kit-orange!10!white}
\colorlet{kit-orange5}{kit-orange!5!white} \colorlet{kit-orange5}{kit-orange!5!white}
% KIT color lightgreen : % KIT color lightgreen :
\definecolor{kit-lightgreen}{RGB}{140, 182, 60} \definecolor{kit-lightgreen}{RGB}{140, 182, 60}
\colorlet{kit-lightgreen100}{kit-lightgreen} \colorlet{kit-lightgreen100}{kit-lightgreen}
\colorlet{kit-lightgreen90}{kit-lightgreen!90!white} \colorlet{kit-lightgreen90}{kit-lightgreen!90!white}
@ -940,7 +958,7 @@
\colorlet{kit-lightgreen5}{kit-lightgreen!5!white} \colorlet{kit-lightgreen5}{kit-lightgreen!5!white}
% KIT color purple : % KIT color purple :
\definecolor{kit-purple}{RGB}{163, 16, 124} \definecolor{kit-purple}{RGB}{163, 16, 124}
\colorlet{kit-purple100}{kit-purple} \colorlet{kit-purple100}{kit-purple}
\colorlet{kit-purple90}{kit-purple!90!white} \colorlet{kit-purple90}{kit-purple!90!white}
@ -956,7 +974,7 @@
\colorlet{kit-purple10}{kit-purple!10!white} \colorlet{kit-purple10}{kit-purple!10!white}
\colorlet{kit-purple5}{kit-purple!5!white} \colorlet{kit-purple5}{kit-purple!5!white}
% KIT color brown : % KIT color brown :
\definecolor{kit-brown}{RGB}{167, 130, 46} \definecolor{kit-brown}{RGB}{167, 130, 46}
\colorlet{kit-brown100}{kit-brown} \colorlet{kit-brown100}{kit-brown}
\colorlet{kit-brown90}{kit-brown!90!white} \colorlet{kit-brown90}{kit-brown!90!white}
@ -972,7 +990,7 @@
\colorlet{kit-brown10}{kit-brown!10!white} \colorlet{kit-brown10}{kit-brown!10!white}
\colorlet{kit-brown5}{kit-brown!5!white} \colorlet{kit-brown5}{kit-brown!5!white}
% KIT color cyan : % KIT color cyan :
\definecolor{kit-cyan}{RGB}{35, 161, 224} \definecolor{kit-cyan}{RGB}{35, 161, 224}
\colorlet{kit-cyan100}{kit-cyan} \colorlet{kit-cyan100}{kit-cyan}
\colorlet{kit-cyan90}{kit-cyan!90!white} \colorlet{kit-cyan90}{kit-cyan!90!white}
@ -988,7 +1006,7 @@
\colorlet{kit-cyan10}{kit-cyan!10!white} \colorlet{kit-cyan10}{kit-cyan!10!white}
\colorlet{kit-cyan5}{kit-cyan!5!white} \colorlet{kit-cyan5}{kit-cyan!5!white}
% KIT color gray : % KIT color gray :
\definecolor{kit-gray}{RGB}{0, 0, 0} \definecolor{kit-gray}{RGB}{0, 0, 0}
\colorlet{kit-gray100}{kit-gray} \colorlet{kit-gray100}{kit-gray}
\colorlet{kit-gray90}{kit-gray!90!white} \colorlet{kit-gray90}{kit-gray!90!white}
@ -1057,20 +1075,31 @@
\setbeamercolor{section in head/foot}{fg=kit-royalblue100!50!white} \setbeamercolor{section in head/foot}{fg=kit-royalblue100!50!white}
%% %%
%% /Farben %% /Colors
%% %%
%%
%% TOC sections styles
%%
\setbeamertemplate{section in toc}{{\inserttocsectionnumber.~\inserttocsection}\\[.2em]} \setbeamertemplate{section in toc}{{\inserttocsectionnumber.~\inserttocsection}\\[.2em]}
\setbeamercolor{section in toc}{fg=kit-royalblue} \setbeamercolor{section in toc}{fg=kit-royalblue}
\setbeamerfont{section in toc}{size=\huge, series=\bfseries} \setbeamerfont{section in toc}{size=\Large, series=\bfseries}
\setbeamerfont{subsection in toc}{size=\large} \setbeamerfont{subsection in toc}{size=\large}
%%
%% /TOC sections styles
%%
%% %%
%% Block-Definitionen %% Block-Definitionen
%% %%
% Original von tex/latex/beamer/beamerinnerthemedefault.sty % Original von tex/latex/beamer/beamerinnerthemedefault.sty
% Originally from beamerinnerthemedefault.sty
% colsep* durch colsep ersetzt, damit die Blöcke nicht über das Raster herausragen % colsep* durch colsep ersetzt, damit die Blöcke nicht über das Raster herausragen
% colsep* is replaced by colsep, so that the blocks do not exceed the grid
\defbeamertemplate*{block begin}{KIT 2025} \defbeamertemplate*{block begin}{KIT 2025}
{ {
\par\vskip\medskipamount% \par\vskip\medskipamount%
@ -1225,7 +1254,7 @@
\endgroup} \endgroup}
%% %%
%% Boxen %% Boxs
%% %%
\newenvironment<>{standardbox}{% \newenvironment<>{standardbox}{%
@ -1260,7 +1289,7 @@
%% /Block-Definitionen %% /Block-Definitionen
%% %%
%% Appendix-Seiten zählen nicht in die Gesamtfolienzahl %% Appendix pages do not count in the total number of slides
\newcommand{\beginbackup}{ \newcommand{\beginbackup}{
\newcounter{framenumbervorappendix} \newcounter{framenumbervorappendix}

7
CHANGELOG.md Normal file
View File

@ -0,0 +1,7 @@
# Changelog
All changes of this template is documented in this file.
## [2025.08.13 v1.0.0] Modifications from sdqbeamer.cls
- Changed position of subtitle from above authors to below title
- Changed default beamer-class options to en, helvet
- Changed the font size of TOC page

145
README.md Normal file
View File

@ -0,0 +1,145 @@
LaTeX Template for Presentations
================================
This package serves as a template for presentations in the [Corporate Design of KIT](https://kit-cd.sts.kit.edu/praesentationen.php) (version from February 2025).
It is modified from the template developed by the research group [DSiS](https://dsis.kastel.kit.edu) at the KIT Faculty of Computer Science and is based on [LaTeX Beamer](https://ctan.org/pkg/beamer).
See https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen
Modified by: [Dr.-Ing. Hedongliang Liu]
# Usage
=====
## Options for the `CELbeamer` document class
------------------------------------------
The font size in the footer is set larger by default than in the PowerPoint template. This can be enforced to match the original specification using the `smallfoot` option.
| Footer font size | Option |
| --------------------- | -------------------- |
| slightly larger (12pt) | `bigfoot` (default) |
| KIT specification (11pt) | `smallfoot` |
German and English are available as languages. The language selection automatically sets the appropriate formats (e.g., quotation marks, date).
| Language | Option |
| --------- | --------------- |
| German | `de` |
| English | `en` (default) |
Slide titles are set in Helvetica. If you want Franklin Gothic for everything, you can define this.
| Title font | Option |
| ----------------- | --------------------- |
| Franklin Gothic | `franklin` |
| Helvetica | `helvet` (default) |
The navigation bar in the footer can be disabled using the `navbaroff` option.
With the `kitgrid` option, the grid of the slides can be displayed.
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` |
| 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.
Additionally, for horizontal layouts, you can choose the color of the KIT logo.
| KIT logo color | Frame Option |
| -------------- | ------------------------ |
| colored | `kitlogo=rgb` |
| white | `kitlogo=white` |
| black | `kitlogo=black` |
Example: `\begin{frame}[title white horizontal, picture=images/palladio_bauplan, kitlogo=black]`
Special Slides
--------------
For tables of contents, you can specify the option `tableofcontents=<color>`, where `color` can be either `blue` or `green`. The table of contents will then be shown on a fully colored slide.
There are also special layouts for divider slides with large images. You can select them using frame options.
| Vertical image share: | Frame Option |
| --------------------- | ------------------------------ |
| 33% | `picture 33 vertical` |
| 50% | `picture 50 vertical` |
| 66% | `picture 66 vertical` |
| arbitrary | `picture vertical=<value in %>`|
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
-------------------------------------------------
The logo at the bottom right of the title slide can be set with the following command:
`\grouplogo{mylogo}` (without file extension)
To use your own logo, place the file (e.g., `mylogo.pdf`) in the `logos/` directory and adjust the command. If no logo should be included, use `\grouplogo{}`.
The group name can be set with the following command:
`\groupname{Software Design and Quality}`
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 default width of the group name is 89 mm. It can be changed with
`\groupnamewidth{120mm}`
which also adjusts the width of the author and title text field accordingly. Line breaks are possible with `\\`. Instead of two-line footers, the `smallfoot` option may be preferable.
General LaTeX
-------------
See https://sdq.kastel.kit.edu/wiki/LaTeX
Directory Structure
===================
`presentation.tex`
------------------
Main file of the LaTeX document.
`presentation.bib`
------------------
Sample file for BibTeX references
https://sdq.kastel.kit.edu/wiki/BibTeX-Literaturlisten
`CELbeamer.cls`
---------------
Document class for CEL presentations in KIT design.
`logos/`
--------
This directory contains the KIT, CEL, and funding logos in various color variants as PDF.
`images/`
---------
This directory contains the background image for the title slide as JPG.
`CHANGELOG.md`
--------------
Documentation of changes in each version.
`README.md`
-----------
This file.

BIN
logos/CEL_logo.pdf Normal file

Binary file not shown.

View File

@ -2,28 +2,28 @@
%% Modified from the KIT-Design by SDQ in February 2025 %% Modified from the KIT-Design by SDQ in February 2025
%% See https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen %% See https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen
%% Modified by: Hedongliang Liu %% Modified by: Hedongliang Liu
%% Last modified on: 12.08.2025 %% Last modified on: 14.08.2025
%% Beispiel-Präsentation %% Example presentation
\documentclass[en, helvet]{sdqbeamer} \documentclass[]{CELbeamer}
%% default options: bigfoot (12pt), de, franklin %% default options: en, helvet, bigfoot (12pt)
%% other options: smallfoot (11pt), navbaroff, kitgrid %% other options: de, franklin, smallfoot (11pt), navbaroff, kitgrid
%% Gruppenlogo, muss im Verezeichnis logos/ liegen %% Gruppenlogo, muss im Verezeichnis logos/ liegen
%% falls kein Gruppenlogo gewünscht, bitte \grouplogo{} aufrufen %% falls kein Gruppenlogo gewünscht, bitte \grouplogo{} aufrufen
\grouplogo{sdqlogo} \grouplogo{CEL_logo.pdf}
%% Gruppenname und Breite (Standard: 89 mm) %% Gruppenname und Breite (Standard: 89 mm)
\groupname{Software Design and Quality} \groupname{Communication Engineering Lab (CEL)}
%\groupnamewidth{89mm} %\groupnamewidth{89mm}
% Beginn der Präsentation % Beginn der Präsentation
\title[CEL-Slide-template]{Presentation with \emph{CEL} template} \title[short title]{Title: Presentation with \emph{CEL} template}
\subtitle{based on the KIT-Design in February 2025} \subtitle{Subtitle: Example Presentation with CEL Template}
\author[Doe \& Liu]{\underline{Jone Doe} and Hedongliang Liu} \author[Doe, Liu \& Schmalen]{\underline{Jone Doe}, Hedongliang Liu and Laurent Schmalen}
\date[12.\,8.\,2025]{12. August 2025} \date[]{\today}
% Literatur % Literatur
@ -40,31 +40,116 @@
\titlepage \titlepage
\end{frame} \end{frame}
\begin{frame}[title blue vertical, picture=images/palladio_bauplan] \begin{frame}[title white vertical, picture=images/schloss_back_cut.jpg]
\titlepage \titlepage
\end{frame} \end{frame}
\begin{frame}[title green horizontal, picture=images/palladio_bauplan, kitlogo=white] \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
% \end{frame}
% \begin{frame}[title green horizontal, picture=images/schloss, kitlogo=white]
% \titlepage
% \end{frame}
\begin{frame}[title white horizontal, picture=images/schloss, kitlogo=white]
\titlepage \titlepage
\end{frame} \end{frame}
\begin{frame}[title white horizontal, picture=images/palladio_bauplan, kitlogo=white] % Table of contents
\titlepage \begin{frame}[tableofcontents=green]{Overview}
\end{frame}
%Inhaltsverzeichnis
\begin{frame}[tableofcontents=green]{Inhaltsverzeichnis}
\tableofcontents \tableofcontents
\end{frame} \end{frame}
\begin{frame}[tableofcontents=blue]{Inhaltsverzeichnis} \begin{frame}[tableofcontents=blue]{Overview}
\tableofcontents \tableofcontents
\end{frame} \end{frame}
\section{Erster Abschnitt} \section{Basic options}
\subsection{Inhaltselemente} \subsection{Row/Column Split}
\begin{frame}{Column Split}
\begin{columns}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitcolumn}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\column{\kitcolumn}
\begin{grayhighlightbox}
This is in a gray highlight box.
\end{grayhighlightbox}
\column{\kitcolumn}
\begin{lightgrayhighlightbox}
This is in a light gray highlight box.
\end{lightgrayhighlightbox}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\end{columns}
\vspace{1em}
\begin{columns}
\column{\kittwocolumns}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kittwocolumns}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\column{\kittwocolumns}
\begin{grayhighlightbox}
Ich bin ein Blindtext.
\end{grayhighlightbox}
\end{columns}
\vspace{1em}
\begin{columns}
\column{\kitthreecolumns}
\begin{standardbox}
This is in a standardbox.
\end{standardbox}
\column{\kitthreecolumns}
\begin{highlightbox}
This is in a highlightbox.
\end{highlightbox}
\end{columns}
\end{frame}
\begin{frame}{Blöcke}{in den KIT-Farben} \begin{frame}{Row Split}
\begin{columns}
\column{\kitfourcolumns}
\includegraphics[width=\linewidth, trim={0 2cm 0 2cm}, clip]{images/palladio_bauplan.jpg}
\column{\kittwocolumns}
\begin{standardbox}
Beschreibung
\end{standardbox}
\vspace{1em}
\begin{highlightbox}
Dies ist ein Bauplan der berühmten Villa Rotonda.
\end{highlightbox}
\vspace{1em}
\begin{grayhighlightbox}
Foto: Klaus Krogmann
\end{grayhighlightbox}
\end{columns}
\end{frame}
\begin{frame}{Color Blocks}{in the KIT Color Scheme}
\begin{columns} \begin{columns}
\column{\kittwocolumns} \column{\kittwocolumns}
\begin{greenblock}{Greenblock} \begin{greenblock}{Greenblock}
@ -129,113 +214,19 @@
\column{\kittwocolumns} \column{\kittwocolumns}
\column{\kittwocolumns} \column{\kittwocolumns}
\end{columns} \end{columns}
\end{frame} For more colors, see \ref{frame:kit-colors}.
\begin{frame}{Auflistungen}
Text
\begin{itemize}
\item Auflistung\\ Umbruch
\item Auflistung
\begin{itemize}
\item Auflistung
\item Auflistung
\end{itemize}
\end{itemize}
\begin{enumerate}
\item Aufzählung
\item Aufzählung
\item Aufzählung
\end{enumerate}
\end{frame} \end{frame}
\begin{frame}{Spalten} \subsection{Spezial Frames}
\begin{columns} \begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Slide with Picture in $\frac{2}{3}$ Size}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitcolumn}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\column{\kitcolumn}
\begin{grayhighlightbox}
Ich bin ein Blindtext.
\end{grayhighlightbox}
\column{\kitcolumn}
\begin{lightgrayhighlightbox}
Ich bin ein Blindtext.
\end{lightgrayhighlightbox}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\end{columns}
\vspace{1em}
\begin{columns}
\column{\kittwocolumns}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kittwocolumns}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\column{\kittwocolumns}
\begin{grayhighlightbox}
Ich bin ein Blindtext.
\end{grayhighlightbox}
\end{columns}
\vspace{1em}
\begin{columns}
\column{\kitthreecolumns}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitthreecolumns}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\end{columns}
\end{frame}
\begin{frame}{Spalten}
\begin{columns}
\column{\kitfourcolumns}
\includegraphics[width=\linewidth, trim={0 2cm 0 2cm}, clip]{images/palladio_bauplan.jpg}
\column{\kittwocolumns}
\begin{standardbox}
Beschreibung
\end{standardbox}
\vspace{1em}
\begin{highlightbox}
Dies ist ein Bauplan der berühmten Villa Rotonda.
\end{highlightbox}
\vspace{1em}
\begin{grayhighlightbox}
Foto: Klaus Krogmann
\end{grayhighlightbox}
\end{columns}
\end{frame}
\section{Spezialframes}
\begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Folie mit Bild auf $\frac{2}{3}$ Größe}
\lipsum[1][1-8] \lipsum[1][1-8]
\end{frame} \end{frame}
\begin{frame}[picture 50 vertical,picture=images/palladio_bauplan,kitlogo=black]{Folie mit Bild auf halber Größe} \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]{Folie mit Bild auf $\frac{1}{3}$ Größe} \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]
@ -244,46 +235,67 @@
\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]{Folie mit Bild auf variabler Größe (20 \%)}
\lipsum[1][1-16] \lipsum[1][1-16]
\end{frame} \end{frame}
\section{Titel-/Fußzeile} \subsection{Title and Footer}
\begin{frame} \begin{frame}
Bei Frames ohne Titel wird die Kopfzeile nicht angezeigt, und % Bei Frames ohne Titel wird die Kopfzeile nicht angezeigt, und
der freie Platz kann für Inhalte genutzt werden. % der freie Platz kann für Inhalte genutzt werden.
With frames without a title, the header is not displayed, and the free space can be used for content.
\end{frame} \end{frame}
\begin{frame}[plain] \begin{frame}[plain]
Bei Frames mit Option \texttt{[plain]} werden weder Kopf- noch Fußzeile angezeigt. % 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} \end{frame}
\begin{frame}[t]{Beispielinhalt} \begin{frame}[t]{Example}
Bei Frames mit Option \texttt{[t]} werden die Inhalte nicht vertikal zentriert, sondern an der Oberkante begonnen. % 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} \end{frame}
\begin{frame}{Example: Literature}
\begin{frame}{Beispielinhalt: Literatur}
Literaturzitat: \cite{klare2021jss} Literaturzitat: \cite{klare2021jss}
\end{frame} \end{frame}
\section{Mode Options}
\subsection{Handout Mode}
\subsection{Face-to-Face Mode}
\begin{frame}{Itemize List}
Text
\begin{itemize}
\item Item\\ new line
\item Item
\begin{itemize}
\item Item
\item Item
\end{itemize}
\end{itemize}
\begin{enumerate}
\item enumeration
\item enumeration
\item enumeration
\end{enumerate}
\end{frame}
\begin{frame}{Footnotes}
\lipsum[1][1-8]\footnote{Dies ist eine Fußnote.}
\end{frame}
\appendix \appendix
\beginbackup \beginbackup
\begin{frame}{Literatur} \begin{frame}{Literatur}
\begin{exampleblock}{Backup-Teil} \begin{exampleblock}{Backup Parts}
Folien, die nach \texttt{\textbackslash beginbackup} eingefügt werden, zählen nicht in die Gesamtzahl der Folien. % 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} \end{exampleblock}
\printbibliography \printbibliography
\end{frame} \end{frame}
\section{Farben} \begin{frame}{KIT Color Palette}\label{frame:kit-colors}
%% ----------------------------------------
%% | Test-Folie mit definierten Farben |
%% ----------------------------------------
\begin{frame}{Farbpalette}
\newcommand{\csq}{\strut\hskip1.2em} \newcommand{\csq}{\strut\hskip1.2em}
\begin{tabular}{rccccccccccccc} \begin{tabular}{rccccccccccccc}
& 100 & 90 & 80 & 70 & 60 & 50 & 40 & 30 & 25 & 20 & 15 & 10 & 5\\ & 100 & 90 & 80 & 70 & 60 & 50 & 40 & 30 & 25 & 20 & 15 & 10 & 5\\
@ -439,9 +451,7 @@
& \colorbox{kit-cyan5}{\csq}\\[.5em] & \colorbox{kit-cyan5}{\csq}\\[.5em]
\end{tabular} \end{tabular}
\end{frame} \end{frame}
%% ----------------------------------------
%% | /Test-Folie mit definierten Farben |
%% ----------------------------------------
\backupend \backupend
\end{document} \end{document}