mirror of
https://gitlab.kit.edu/kit/cel/misc/cel-slides-template-2025.git
synced 2025-12-15 14:24:38 +00:00
added spaceforface mode
This commit is contained in:
parent
74f4c1e96c
commit
6430b6195d
@ -20,6 +20,8 @@
|
|||||||
\newif\iffranklin
|
\newif\iffranklin
|
||||||
\newif\ifsmallfooterfont
|
\newif\ifsmallfooterfont
|
||||||
\newif\ifkitgrid
|
\newif\ifkitgrid
|
||||||
|
\newif\ifspaceforface
|
||||||
|
\spaceforfacefalse
|
||||||
|
|
||||||
\def\groupname#1{\def\@groupname{#1}}
|
\def\groupname#1{\def\@groupname{#1}}
|
||||||
\def\groupnamewidth#1{\def\@groupnamewidth{#1}}
|
\def\groupnamewidth#1{\def\@groupnamewidth{#1}}
|
||||||
@ -50,6 +52,9 @@
|
|||||||
\DeclareOption{kitgrid}{
|
\DeclareOption{kitgrid}{
|
||||||
\kitgridtrue
|
\kitgridtrue
|
||||||
}
|
}
|
||||||
|
\DeclareOption{spaceforface}{
|
||||||
|
\spaceforfacetrue
|
||||||
|
}
|
||||||
|
|
||||||
\ExecuteOptions{en,bigfoot,helvet}
|
\ExecuteOptions{en,bigfoot,helvet}
|
||||||
|
|
||||||
@ -74,7 +79,7 @@
|
|||||||
% onlytextwidth allows columns to appear only within the margins.
|
% onlytextwidth allows columns to appear only within the margins.
|
||||||
\LoadClass[17pt,utf8,onlytextwidth]{beamer}
|
\LoadClass[17pt,utf8,onlytextwidth]{beamer}
|
||||||
% \renewcommand{\normalsize}{20pt}
|
% \renewcommand{\normalsize}{20pt}
|
||||||
\renewcommand{\normalsize}{\fontsize{19pt}{24pt}\selectfont}
|
\renewcommand{\normalsize}{\fontsize{18pt}{24pt}\selectfont}
|
||||||
% Babel-Paket wird nur bei deutscher Sprache benötigt
|
% Babel-Paket wird nur bei deutscher Sprache benötigt
|
||||||
\ifgerman
|
\ifgerman
|
||||||
\RequirePackage[ngerman]{babel}
|
\RequirePackage[ngerman]{babel}
|
||||||
@ -152,7 +157,7 @@
|
|||||||
\newlength{\kitrowsep}
|
\newlength{\kitrowsep}
|
||||||
\setlength{\kitrowsep}{0.6cm}
|
\setlength{\kitrowsep}{0.6cm}
|
||||||
|
|
||||||
% Position der vertikalen Hilfslinien
|
% Position of the vertical helper lines
|
||||||
\newlength{\kitcolumnoneleft}
|
\newlength{\kitcolumnoneleft}
|
||||||
\setlength{\kitcolumnoneleft}{\kitoutermargin}
|
\setlength{\kitcolumnoneleft}{\kitoutermargin}
|
||||||
\newlength{\kitcolumnoneright}
|
\newlength{\kitcolumnoneright}
|
||||||
@ -209,7 +214,7 @@
|
|||||||
\newlength{\kitrowfivebottom}
|
\newlength{\kitrowfivebottom}
|
||||||
\setlength{\kitrowfivebottom}{\dimexpr\kitoutermargin+5\kitrow+4\kitrowsep\relax}
|
\setlength{\kitrowfivebottom}{\dimexpr\kitoutermargin+5\kitrow+4\kitrowsep\relax}
|
||||||
|
|
||||||
% Breite von Elementen, die mehrere Spalten umfassen
|
% Width of elements that span multiple columns
|
||||||
\newlength{\kitonecolumn}
|
\newlength{\kitonecolumn}
|
||||||
\setlength{\kitonecolumn}{\kitcolumn}
|
\setlength{\kitonecolumn}{\kitcolumn}
|
||||||
\newlength{\kittwocolumns}
|
\newlength{\kittwocolumns}
|
||||||
@ -223,7 +228,7 @@
|
|||||||
\newlength{\kitsixcolumns}
|
\newlength{\kitsixcolumns}
|
||||||
\setlength{\kitsixcolumns}{\dimexpr6\kitcolumn+5\kitcolumnsep\relax}
|
\setlength{\kitsixcolumns}{\dimexpr6\kitcolumn+5\kitcolumnsep\relax}
|
||||||
|
|
||||||
% Breite von Elementen, die mehrere Zeilen umfassen
|
% Height of elements that span multiple rows
|
||||||
\newlength{\kitonerow}
|
\newlength{\kitonerow}
|
||||||
\setlength{\kitonerow}{\kitrow}
|
\setlength{\kitonerow}{\kitrow}
|
||||||
\newlength{\kittworows}
|
\newlength{\kittworows}
|
||||||
@ -235,8 +240,7 @@
|
|||||||
\newlength{\kitfiverows}
|
\newlength{\kitfiverows}
|
||||||
\setlength{\kitfiverows}{\dimexpr5\kitrow+4\kitrowsep\relax}
|
\setlength{\kitfiverows}{\dimexpr5\kitrow+4\kitrowsep\relax}
|
||||||
|
|
||||||
% Hintergrund-Raster sichtbar / Background grid visible
|
% Background grid visible
|
||||||
% Nach Vorlagen-pptx
|
|
||||||
\defbeamertemplate{background canvas}{kitgrid}{
|
\defbeamertemplate{background canvas}{kitgrid}{
|
||||||
\begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\paperheight}
|
\begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\paperheight}
|
||||||
% horizontal
|
% horizontal
|
||||||
@ -291,8 +295,14 @@
|
|||||||
\end{pgfpicture}%
|
\end{pgfpicture}%
|
||||||
}
|
}
|
||||||
|
|
||||||
% Ränder außen / Outside edges
|
% Outside edges
|
||||||
\setbeamersize{text margin left=\kitoutermargin,text margin right=\kitoutermargin}
|
\ifspaceforface
|
||||||
|
\newlength{\spaceforface}
|
||||||
|
\setlength{\spaceforface}{\kittwocolumns}
|
||||||
|
\setbeamersize{text margin left=\kitoutermargin,text margin right=\spaceforface}
|
||||||
|
\else
|
||||||
|
\setbeamersize{text margin left=\kitoutermargin,text margin right=\kitoutermargin}
|
||||||
|
\fi
|
||||||
|
|
||||||
% keine Navigationssymbole
|
% keine Navigationssymbole
|
||||||
\setbeamertemplate{navigation symbols}{}
|
\setbeamertemplate{navigation symbols}{}
|
||||||
|
|||||||
@ -12,3 +12,4 @@ All changes of this template is documented in this file.
|
|||||||
- Added the option for adding fundinglogos onto the title page
|
- Added the option for adding fundinglogos onto the title page
|
||||||
- Added the group logo onto overview page
|
- Added the group logo onto overview page
|
||||||
- Changed the normal fontsize to 19pt
|
- Changed the normal fontsize to 19pt
|
||||||
|
- Added the spaceforface mode to leave space on the right for recording
|
||||||
14
README.md
14
README.md
@ -11,7 +11,7 @@ Modified by: [Dr.-Ing. Hedongliang Liu]
|
|||||||
# Usage
|
# Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
## Options for the `CELbeamer` document class
|
## `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.
|
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.
|
||||||
|
|
||||||
@ -34,11 +34,17 @@ Slide titles are set in Helvetica. If you want Franklin Gothic for everything, y
|
|||||||
| Franklin Gothic | `franklin` |
|
| Franklin Gothic | `franklin` |
|
||||||
| Helvetica | `helvet` (default) |
|
| Helvetica | `helvet` (default) |
|
||||||
|
|
||||||
The navigation bar in the footer can be disabled using the `navbaroff` option.
|
### Other options
|
||||||
|
- The navigation bar in the footer can be enabled using the `navbaron` option.
|
||||||
|
|
||||||
With the `kitgrid` option, the grid of the slides can be displayed.
|
- With the `kitgrid` option, the grid of the slides can be displayed.
|
||||||
|
|
||||||
Example: `\documentclass[de,smallfoot, navbaroff]{CELbeamer}`
|
- The `handout` option turns off the animations. Multiple slides for the same frame will be shown on one slide, or according to the commands in the animation instructions.
|
||||||
|
E.g., `\only<2|handout:0>{This is not shown in handout mode.}`, `\item<1-|handout:2>{This shows only on the second slide of the frame in the handout mode.}`
|
||||||
|
|
||||||
|
- The `spaceforface` option leaves extra space on the right-hand-side of the frame to put presenter's video. The width of the space can be adjusted by changing the <width> in \setlength{\spaceforface}{<width>} in `CELbeamer.cls`.
|
||||||
|
|
||||||
|
Example: `\documentclass[de, navbaron, kitgrid, handout]{CELbeamer}`
|
||||||
|
|
||||||
## Title Slide
|
## Title Slide
|
||||||
-----------
|
-----------
|
||||||
|
|||||||
@ -4,9 +4,10 @@
|
|||||||
%% Modified by: Hedongliang Liu
|
%% Modified by: Hedongliang Liu
|
||||||
%% Last modified on: 14.08.2025
|
%% Last modified on: 14.08.2025
|
||||||
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
|
%%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%%
|
||||||
\documentclass[kitgrid]{CELbeamer}
|
\documentclass[spaceforface, kitgrid]{CELbeamer}
|
||||||
%% default options: en, helvet, bigfoot (12pt)
|
%% default options: en, helvet, bigfoot (12pt)
|
||||||
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid
|
%% other options: de, franklin, smallfoot (11pt), navbaron, kitgrid, handout,
|
||||||
|
%% spaceforface
|
||||||
|
|
||||||
%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
|
%%%%%%%%%%% Load packages (from previous CEL template %%%%%%%%%%%%%%%
|
||||||
\newcommand{\templates}{packages}
|
\newcommand{\templates}{packages}
|
||||||
@ -17,18 +18,19 @@
|
|||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%% Group info: logo must be in the directory logos/ %%%%%%%%%%%%%%%
|
%%%%%%%%%%% Group info: logo must be in the directory logos/ %%%%%%%%%%%%%%%
|
||||||
%% If no group logo is desired, please call \grouplogo{}
|
%% If no group logo is desired, please call \grouplogo{}
|
||||||
\grouplogo{CEL_logo.pdf}
|
\grouplogo{CEL_logo.pdf}
|
||||||
|
|
||||||
%% Group name and width (default: 89 mm)
|
%% Group name and width (default: 89 mm)
|
||||||
\groupname{Communication Engineering Lab (CEL)}
|
\groupname{Communication Engineering Lab (CEL)}
|
||||||
% \groupname{}
|
% \groupname{}
|
||||||
\groupnamewidth{80mm} % addjust this to change the distance between the group name and the group logo in the footer
|
\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 %%%%%%%%%%%%%%
|
%%%%%%%%%%%% Funding logos: logos must be in logos/Funding-logos %%%%%%%%%%%%%%
|
||||||
%% If no funding logos are desired, please call \fundinglogos{}
|
%% If no funding logos are desired, please call \fundinglogos{}
|
||||||
\fundinglogos{}
|
% \fundinglogos{}
|
||||||
% \fundinglogos{bmbf_logo_en, dfg_logo, erc_logo} % add funding logos here
|
\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 %%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%% Presentation Meta Data %%%%%%%%%%%%%%%%%%%%
|
||||||
\title[short title]{Title: Presentation with \emph{CEL} template}
|
\title[short title]{Title: Presentation with \emph{CEL} template}
|
||||||
@ -53,32 +55,33 @@
|
|||||||
\titlepage
|
\titlepage
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
% \begin{frame}[title white vertical, picture=images/schloss_schmal.jpg]
|
|
||||||
% \titlepage
|
|
||||||
% \end{frame}
|
|
||||||
|
|
||||||
% \begin{frame}[title blue vertical, picture=images/schloss_back_cut.jpg]
|
|
||||||
% \titlepage
|
|
||||||
% \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
|
|
||||||
% \end{frame}
|
|
||||||
|
|
||||||
% % Table of contents
|
|
||||||
% \begin{frame}[tableofcontents=green]{Overview}
|
|
||||||
% \tableofcontents
|
|
||||||
% \end{frame}
|
|
||||||
|
|
||||||
\begin{frame}[tableofcontents=blue]{Overview}
|
\begin{frame}[tableofcontents=blue]{Overview}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\section{Basic options}
|
\section{Basic options}
|
||||||
|
\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{Row/Column Split}
|
\subsection{Row/Column Split}
|
||||||
\begin{frame}{Column Split}
|
\begin{frame}{Column Split}
|
||||||
\begin{columns}
|
\begin{columns}
|
||||||
@ -138,7 +141,8 @@
|
|||||||
\begin{frame}{Row Split}
|
\begin{frame}{Row Split}
|
||||||
\begin{columns}
|
\begin{columns}
|
||||||
\column{\kitfourcolumns}
|
\column{\kitfourcolumns}
|
||||||
\includegraphics[width=\linewidth, trim={0 2cm 0 2cm}, clip]{images/palladio_bauplan.jpg}
|
% \includegraphics[width=\linewidth, trim={0 2cm 0 2cm}, clip]{images/palladio_bauplan.jpg}
|
||||||
|
\lipsum[1][1-8]
|
||||||
\column{\kittwocolumns}
|
\column{\kittwocolumns}
|
||||||
\begin{standardbox}
|
\begin{standardbox}
|
||||||
Beschreibung
|
Beschreibung
|
||||||
@ -272,18 +276,26 @@
|
|||||||
\section{Mode Options}
|
\section{Mode Options}
|
||||||
\subsection{Handout Mode}
|
\subsection{Handout Mode}
|
||||||
\subsection{Face-to-Face Mode}
|
\subsection{Face-to-Face Mode}
|
||||||
\begin{frame}{Itemize List}
|
\begin{frame}{Itemize List in Handout Mode}
|
||||||
Text
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Item\\ new line
|
\only<1|handout:0>{\item One: This will not be shown in the handout mode.}
|
||||||
\item Item
|
\only<2-|handout:1->{\item \textcolor{red}{One:} This is the first item.}
|
||||||
\begin{itemize}
|
\only<1|handout:0>{\item Two: This will not be shown in the handout mode.}
|
||||||
\item Item
|
\only<2-|handout:1->{\item \textcolor{blue}{Two:} This is the second item.}
|
||||||
\item Item
|
\item<only@3|handout:2>{Three: This will be shown on a new page in the handout mode.}
|
||||||
\end{itemize}
|
\item<only@4|handout:2>{Four: This is the fourth item.}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
% Text
|
||||||
|
% \begin{itemize}
|
||||||
|
% \item Item\\ new line
|
||||||
|
% \item Item
|
||||||
|
% \begin{itemize}
|
||||||
|
% \item Item
|
||||||
|
% \item Item
|
||||||
|
% \end{itemize}
|
||||||
|
% \end{itemize}
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item enumeration
|
\item enumeration \lipsum[1][1-8]
|
||||||
\item enumeration
|
\item enumeration
|
||||||
\item enumeration
|
\item enumeration
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user