diff --git a/CELbeamer.cls b/CELbeamer.cls index 1d06603..20869dc 100644 --- a/CELbeamer.cls +++ b/CELbeamer.cls @@ -20,6 +20,8 @@ \newif\iffranklin \newif\ifsmallfooterfont \newif\ifkitgrid +\newif\ifspaceforface +\spaceforfacefalse \def\groupname#1{\def\@groupname{#1}} \def\groupnamewidth#1{\def\@groupnamewidth{#1}} @@ -50,6 +52,9 @@ \DeclareOption{kitgrid}{ \kitgridtrue } +\DeclareOption{spaceforface}{ + \spaceforfacetrue +} \ExecuteOptions{en,bigfoot,helvet} @@ -74,7 +79,7 @@ % onlytextwidth allows columns to appear only within the margins. \LoadClass[17pt,utf8,onlytextwidth]{beamer} % \renewcommand{\normalsize}{20pt} -\renewcommand{\normalsize}{\fontsize{19pt}{24pt}\selectfont} +\renewcommand{\normalsize}{\fontsize{18pt}{24pt}\selectfont} % Babel-Paket wird nur bei deutscher Sprache benötigt \ifgerman \RequirePackage[ngerman]{babel} @@ -152,7 +157,7 @@ \newlength{\kitrowsep} \setlength{\kitrowsep}{0.6cm} -% Position der vertikalen Hilfslinien +% Position of the vertical helper lines \newlength{\kitcolumnoneleft} \setlength{\kitcolumnoneleft}{\kitoutermargin} \newlength{\kitcolumnoneright} @@ -209,7 +214,7 @@ \newlength{\kitrowfivebottom} \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} \setlength{\kitonecolumn}{\kitcolumn} \newlength{\kittwocolumns} @@ -223,7 +228,7 @@ \newlength{\kitsixcolumns} \setlength{\kitsixcolumns}{\dimexpr6\kitcolumn+5\kitcolumnsep\relax} -% Breite von Elementen, die mehrere Zeilen umfassen +% Height of elements that span multiple rows \newlength{\kitonerow} \setlength{\kitonerow}{\kitrow} \newlength{\kittworows} @@ -235,8 +240,7 @@ \newlength{\kitfiverows} \setlength{\kitfiverows}{\dimexpr5\kitrow+4\kitrowsep\relax} -% Hintergrund-Raster sichtbar / Background grid visible -% Nach Vorlagen-pptx +% Background grid visible \defbeamertemplate{background canvas}{kitgrid}{ \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\paperheight} % horizontal @@ -291,8 +295,14 @@ \end{pgfpicture}% } -% Ränder außen / Outside edges -\setbeamersize{text margin left=\kitoutermargin,text margin right=\kitoutermargin} +% Outside edges +\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 \setbeamertemplate{navigation symbols}{} diff --git a/CHANGELOG.md b/CHANGELOG.md index b98899c..3635964 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 group logo onto overview page - Changed the normal fontsize to 19pt +- Added the spaceforface mode to leave space on the right for recording \ No newline at end of file diff --git a/README.md b/README.md index b86f2a9..111b084 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Modified by: [Dr.-Ing. Hedongliang Liu] # 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. @@ -34,11 +34,17 @@ Slide titles are set in Helvetica. If you want Franklin Gothic for everything, y | Franklin Gothic | `franklin` | | 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 in \setlength{\spaceforface}{} in `CELbeamer.cls`. + +Example: `\documentclass[de, navbaron, kitgrid, handout]{CELbeamer}` ## Title Slide ----------- diff --git a/presentation.tex b/presentation.tex index eeb5d1a..5640ffc 100644 --- a/presentation.tex +++ b/presentation.tex @@ -4,9 +4,10 @@ %% Modified by: Hedongliang Liu %% Last modified on: 14.08.2025 %%%%%%%%%%% CEL beamer class %%%%%%%%%%%%%%% -\documentclass[kitgrid]{CELbeamer} +\documentclass[spaceforface, kitgrid]{CELbeamer} %% 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 %%%%%%%%%%%%%%% \newcommand{\templates}{packages} @@ -17,18 +18,19 @@ %%%%%%%%%%% 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} -%% Group name and width (default: 89 mm) +%% 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, erc_logo} % add funding logos here +% \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} @@ -53,32 +55,33 @@ \titlepage \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} \tableofcontents \end{frame} \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} \begin{frame}{Column Split} \begin{columns} @@ -138,7 +141,8 @@ \begin{frame}{Row Split} \begin{columns} \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} \begin{standardbox} Beschreibung @@ -272,18 +276,26 @@ \section{Mode Options} \subsection{Handout Mode} \subsection{Face-to-Face Mode} -\begin{frame}{Itemize List} - Text +\begin{frame}{Itemize List in Handout Mode} \begin{itemize} - \item Item\\ new line - \item Item - \begin{itemize} - \item Item - \item Item - \end{itemize} - \end{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{Three: This will be shown on a new page in the handout mode.} + \item{Four: This is the fourth item.} + \end{itemize} + % 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 \lipsum[1][1-8] \item enumeration \item enumeration \end{enumerate}