%% This is file `DEMO-UniBW-M-beamer.tex' version 0.7 (2025-01-02)
%% it is part of
%% UniBWM-CI -- Corporate Design for Universität der Bundeswehr München
%% ----------------------------------------------------------------------------
%%
%% Copyright (C) 2024 by Marei Peischl <marei@peitex.de>
%%
%% ============================================================================
%%
%% This template has beta status! There will be changes concerning some layout settings. Please be aware of this and check for the latest version before using.
%%
% !TeX program = lualatex
%%
\documentclass[
english,% Main language as global option
% logofile=example-image,% In case logo files are not available
]{unibwm-beamer}
%%%%%%%%%%%%%%%%%%%
% Language setup
%%%%%%%%%%%%%%%%%%%
\usepackage[english]{babel}
\usepackage[autostyle]{csquotes}% \enquote, to simplify use of quotation marks
%%%%%%%%%%%%%%%%%%%
% Document specific setup for demonstration, generally not needed!
%%%%%%%%%%%%%%%%%%%
\newcommand*{\code}[1]{\texttt{#1}}
%%%%%%%%%%%%%%%%%%%
% End of demo specific setup
%%%%%%%%%%%%%%%%%%%
\title[UniBW-Beamer]{\LaTeX~beamer using UniBWM's Corporate Design}
\subtitle{Universität der Bundeswehr München}
\author[M. Peischl]{Marei Peischl}
\institute{Beta Version}
%\partnerlogo{\includegraphics[width=\linewidth]{example-image}}
% Titlegraphic will right of the orange area holding the logo
% titlegraphic using manual scaling
% \titlegraphic{\includegraphics[width=1.5cm]{example-image}}
% titlegraphic using automatic scaling
% \titlegraphic{\includegraphics[width=1.5cm]{example-image}}
\date{}% In case \today should not be used
\AtBeginSection{\sectionpage}% Enable section pages
\begin{document}
\maketitle
\begin{frame}{Status information}
This template is still work in progress as some layout decisions are not yet resolved.
We still decided to publish it to offer the possibility to let us know about specific wishes to get a better understanding of your way of using it.
In case you face any issues or have feature requests as well as suggestions, please let us know!
Email: unibwm-ci@peitex.de
\end{frame}
\section{Documentation}
\begin{frame}{The unibwm-beamer class}
\begin{itemize}
\item Basic usage identical to beamer
\item No special syntax required
\end{itemize}
\end{frame}
\section{Title page variants}
\begin{frame}{Additional Features for titlegraphic/logos}
\begin{itemize}
\item \code{\textbackslash{}logo} additional logo next to the title
\item \code{\textbackslash{}titlegraphic} place image as a background for title slide
\end{itemize}
\end{frame}
\begin{frame}{Scaling logos/titlegraphic}
\begin{itemize}
\item The commands shown on previous slide support \code{\textbackslash{}height}/\code{\textbackslash{}width} to adjust the size to be used for graphic scaling.
\item All have a starred variant (e.\,g. \code{\textbackslash{}logo*\{\textbackslash{}includegraphics\{example-image\}\}}). This will automatically scale/clip the logo/image to desired size.
\end{itemize}
\end{frame}
% Titlepage example data, will be used for all as defined at the beginning of the document
%\subtitle{Subtitle}
%\author{Author}
%\institute{Institute}
\title{Titlepage without titlegraphic and partnerlogo}
%\titlegraphic{}% empty by default
%\partnerlogo{}% empty by default
\maketitle
\title{Titlepage with manual scaled titlegraphic}
\titlegraphic{\includegraphics[width=.5\linewidth]{example-image}\includegraphics[width=.5\linewidth]{example-image}}
%\partnerlogo{}% empty by default
\maketitle
\title{Titlepage with partnerlogo}
\titlegraphic*{\includegraphics{example-image}}
\partnerlogo{\includegraphics[width=\linewidth]{example-image}}
\maketitle
\section{Slide examples}
\begin{frame}{Frame with a subtitle}
\framesubtitle{Subtitle}
An example.
\end{frame}
\begin{frame}{Color Scheme}
The new design introduced new colors to be used to highlight specific content.
The additional colors are:
\renewcommand*{\do}[1]{unibwm-####1: \textcolor{unibwm-####1}{\rule{1cm}{\ht\strutbox}}\par}
\docsvlist{rostorange,anthrazit,gray1,gray2,gray3,gray4,gray5}
\end{frame}
\begin{frame}{Remark on vertical alignment (especially columns)}
The vertical alignment has been changed from \code{c} to \code{t} in contrast to beamers default setup.
Therefore frame content will be top aligned as required by the design guideline.
This is leading to some side effects, e\,g. with the columns environment.
To resolve this one can either globally add the \code{c} option to restore beamer's default or pass it to the environment itself.
\begin{columns}[onlytextwidth,c]
\column{.8\linewidth}
\begin{itemize}
\item one
\item two
\end{itemize}
\column{.2\linewidth}
\includegraphics[width=\linewidth]{example-image}
\end{columns}
\end{frame}
\end{document}
%% End of file `DEMO-UniBW-M-beamer.tex