| 1 |
%% This is file `DEMO-TUDaBeamer.tex' version 4.05 (2025-11-13), |
| 2 |
%% it is part of |
| 3 |
%% TUDa-CI -- Corporate Design for TU Darmstadt |
| 4 |
%% ---------------------------------------------------------------------------- |
| 5 |
%% |
| 6 |
%% Copyright (C) 2018--2025 by Marei Peischl <[email protected]> |
| 7 |
%% |
| 8 |
%% ============================================================================ |
| 9 |
%% This work may be distributed and/or modified under the |
| 10 |
%% conditions of the LaTeX Project Public License, either version 1.3c |
| 11 |
%% of this license or (at your option) any later version. |
| 12 |
%% The latest version of this license is in |
| 13 |
%% http://www.latex-project.org/lppl.txt |
| 14 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 15 |
%% version 2008/05/04 or later. |
| 16 |
%% |
| 17 |
%% This work has the LPPL maintenance status `maintained'. |
| 18 |
%% |
| 19 |
%% The current maintainer of this work is |
| 20 |
%% Marei Peischl <[email protected]> |
| 21 |
%% |
| 22 |
%% The development repository can be found at |
| 23 |
%% https://github.com/tudace/tuda_latex_templates |
| 24 |
%% Please use the issue tracker for feedback! |
| 25 |
%% |
| 26 |
%% If you need a compiled version of this document, have a look at |
| 27 |
%% http://mirror.ctan.org/macros/latex/contrib/tuda-ci/doc |
| 28 |
%% or at the documentation directory of this package (if installed) |
| 29 |
%% <path to your LaTeX distribution>/doc/latex/tuda-ci |
| 30 |
%% ============================================================================ |
| 31 |
%% |
| 32 |
% !TeX program = lualatex |
| 33 |
%% |
| 34 |
|
| 35 |
\documentclass[ |
| 36 |
english,% Main language as global option |
| 37 |
accentcolor=9c,% Choose accent color: For a list of available colors see the full tudapub documentation |
| 38 |
% accept-missing-logos=true,% No error in case logo files are not available |
| 39 |
% logofile=example-image,% In case logo should be replaced |
| 40 |
]{tudabeamer} |
| 41 |
|
| 42 |
%%%%%%%%%%%%%%%%%%% |
| 43 |
% Language setup |
| 44 |
%%%%%%%%%%%%%%%%%%% |
| 45 |
\usepackage[english]{babel} |
| 46 |
\usepackage[autostyle]{csquotes}% \enquote, to simplify use of quotation marks |
| 47 |
|
| 48 |
%%%%%%%%%%%%%%%%%%% |
| 49 |
% Document specific setup for demonstration, generally not needed! |
| 50 |
%%%%%%%%%%%%%%%%%%% |
| 51 |
\newcommand*{\code}[1]{\texttt{#1}} |
| 52 |
%%%%%%%%%%%%%%%%%%% |
| 53 |
% End of demo specific setup |
| 54 |
%%%%%%%%%%%%%%%%%%% |
| 55 |
|
| 56 |
\title[TUDaBeamer2023]{\LaTeX~beamer using TU Darmstadts Corporate Design} |
| 57 |
\subtitle{Design2023-beta} |
| 58 |
\author[M. Peischl]{Marei Peischl} |
| 59 |
\department{\TeX/\LaTeX} |
| 60 |
\institute{pei\TeX} |
| 61 |
|
| 62 |
% Scaling for additional logos and titlegraphic is described on slide “Scaling logos/titlegraphic” |
| 63 |
% Sublogo/partnerlogo will be placed in the headline/sidebar |
| 64 |
|
| 65 |
\sublogo{\color{blue!50}\rule{\width}{\height}} |
| 66 |
\partnerlogo*{\includegraphics{example-image}} |
| 67 |
|
| 68 |
% Titlegraphic will be placed behind the title |
| 69 |
% \titlegraphic*{\includegraphics{example-image}} |
| 70 |
|
| 71 |
\date{2023-10-02}% In case \today should not be used |
| 72 |
|
| 73 |
\AtBeginSection{\sectionpage}% Enable section pages |
| 74 |
|
| 75 |
\begin{document} |
| 76 |
|
| 77 |
\maketitle |
| 78 |
|
| 79 |
\tableofcontents |
| 80 |
|
| 81 |
\section{Documentation} |
| 82 |
|
| 83 |
\begin{frame}{The tudabeamer class} |
| 84 |
\begin{itemize} |
| 85 |
\item Basic usage identical to beamer |
| 86 |
\item No special syntax required |
| 87 |
\end{itemize} |
| 88 |
\end{frame} |
| 89 |
|
| 90 |
\begin{frame}{Additional Features for titlegraphic/logos} |
| 91 |
\begin{itemize} |
| 92 |
\item \code{\textbackslash{}partnerlogo} additional logo next to TUDa logo |
| 93 |
\item \code{\textbackslash{}sublogo} additional logo below TUDa logo |
| 94 |
\item \code{\textbackslash{}titlegraphic} place image as a background for title slide |
| 95 |
\end{itemize} |
| 96 |
The additional option \code{authorontitle=true/false} allows to place author/institue below the title. |
| 97 |
\end{frame} |
| 98 |
|
| 99 |
\begin{frame}{Scaling logos/titlegraphic} |
| 100 |
\begin{itemize} |
| 101 |
\item The commands shown on previous slide support \code{\textbackslash{}height}/\code{\textbackslash{}width} to adjust the size to be used for graphic scaling. |
| 102 |
\item All have a starred variant (e.\,g. \code{\textbackslash{}sublogo*\{\textbackslash{}includegraphics\{example-image\}\}}). This will automatically scale/clip the logo/image to desired size. |
| 103 |
|
| 104 |
To align the sublogo together with the visible part of the TUDa logo there also exists the possibility to add a second star behind the mandatory argument. This will move the logo to the left to match. This variant is only available for the sublogo. |
| 105 |
\end{itemize} |
| 106 |
\end{frame} |
| 107 |
|
| 108 |
\begin{frame}{Table of Contents} |
| 109 |
By design the toc is structured in two columns. This layout doesn't really support subsections or subsubsections. |
| 110 |
|
| 111 |
To be able to use the new design with old content, the mechanism was extended to support those. This will automatically switch to a single columns toc. |
| 112 |
|
| 113 |
In case you want to disable that mechanism there is the class option \code{toc-columns=one/two/auto} which can also be adjusted locally be directly setting it with the command: |
| 114 |
\code{\textbackslash{}tableofcontents[columns=two]}. |
| 115 |
|
| 116 |
Please be also aware of beamer's mechanism to filter the toc, e.\,g. by \code{\textbackslash{}tableofcontents[hideallsubsections]}, see the beamer documentation for details. |
| 117 |
\end{frame} |
| 118 |
|
| 119 |
\section{Slide examples} |
| 120 |
|
| 121 |
\begin{frame}{Frame with a subtitle} |
| 122 |
\framesubtitle{Subtitle} |
| 123 |
An example. |
| 124 |
\end{frame} |
| 125 |
|
| 126 |
\begin{frame}[fragile,uppercase=false]{Please be aware of uppercase frametitles} |
| 127 |
The mechanism to provide uppercase frame titles might have unexpected side effects. |
| 128 |
It's aware of macros in general, but there are issues with arguments. e.\,g. using \verb+\color{dark2}+ will create an error. |
| 129 |
|
| 130 |
To avoid that issue one can disable the case change locally |
| 131 |
\begin{verbatim} |
| 132 |
\frameztitle{Test \NoCaseChange{\textcolor{dark2}{\MakeUppercase{Test}}}} |
| 133 |
\end{verbatim} |
| 134 |
or use the frame option \verb+uppercase=false+ like it as been done for this frame. |
| 135 |
For a global change tudabeamer is also providing the class option \verb+uppercase-frametitle=false+. |
| 136 |
\end{frame} |
| 137 |
|
| 138 |
\begin{frame}{Color Scheme} |
| 139 |
The new design introduced new colors to be used to highlight specific content. |
| 140 |
|
| 141 |
The additional colors are: |
| 142 |
|
| 143 |
\renewcommand*{\do}[1]{TUDa-####1: \textcolor{TUDa-####1}{\rule{1cm}{\ht\strutbox}}\par} |
| 144 |
\docsvlist{dark1,dark2,light1,light2,accent1,accent2,accent3,accent4,accent5,accent5,hyperlink} |
| 145 |
\end{frame} |
| 146 |
|
| 147 |
\begin{frame}{Remark on vertical alignment (especially columns)} |
| 148 |
The vertical alignment has been changed from \code{c} to \code{t} in contrast to beamers default setup. |
| 149 |
Therefore frame content will be top aligned as required by the design guideline. |
| 150 |
This is leading to some side effects, e\,g. with the columns environment. |
| 151 |
|
| 152 |
To resolve this one can either globally add the \code{c} option to restore beamer's default or pass it to the environment itself. |
| 153 |
|
| 154 |
\begin{columns}[onlytextwidth,c] |
| 155 |
\column{.8\linewidth} |
| 156 |
\begin{itemize} |
| 157 |
\item one |
| 158 |
\item two |
| 159 |
\end{itemize} |
| 160 |
\column{.2\linewidth} |
| 161 |
\includegraphics[width=\linewidth]{example-image} |
| 162 |
\end{columns} |
| 163 |
\end{frame} |
| 164 |
|
| 165 |
\end{document} |
| 166 |
%% End of file `DEMO-TUDaBeamer.tex'. |