Browse Source

adapt to pdflatex, add wordmarke

Meik Hellmund 1 year ago
  1. 7
  2. 47
  3. BIN
  4. 230

.gitignore vendored

@ -14,6 +14,7 @@
## Intermediate documents:
## Bibliography auxiliary files (bibtex/biblatex/biber):
@ -64,3 +65,9 @@ _minted*
# emacs
# gnuplot
# tests


@ -1,9 +1,7 @@
% Name : beamerthemeleipzig.sty
% Author : Lukas Gienapp
% Version : 1.0
% Author : Lukas Gienapp, small changes by Meik Hellmund
% Created on : 02.04.2018
% Last Edited on : 04.10.2018
% License : This file may be distributed and/or modified under
% the GNU Public License.
% Description : Beamer theme that complies with the corporate
@ -96,18 +94,29 @@
% Specification
% sans serif math %
% serif math %
% \if@doSans%
% % sans serif math %
% \usepackage[no-math]{fontspec}%
% \setmainfont{Arial}%
% \else%
% % serif math %
% \usepackage{fontspec}%
% \usefonttheme[onlymath]{serif}%
% \fi%
% \newfontfamily\Light{Arial}%
% \newfontfamily\Bold{Arial-Bold}%
% \setsansfont{Arial}%
@ -123,8 +132,8 @@
% Header & Footer
\setbeamerfont{header title}{family=\Bold, size=\scriptsize}%
\setbeamerfont{header subtitle}{family=\Light, size=\scriptsize}%
\setbeamerfont{footer}{family=\Light, size=\scriptsize}%
\setbeamerfont{header subtitle}{family=\Normal, size=\scriptsize}% was: \Light
\setbeamerfont{footer}{family=\Normal, size=\scriptsize}% was: \Light
\setbeamerfont{frame number}{family=\Light, size=\scriptsize}%
@ -375,7 +384,7 @@
\vbox to \paperheight{\vfil\hbox{\usebeamerfont{section title}{\insertsectionHEAD}}\vfil}%
\vbox to \paperheight{\vfil\parbox[c]{.7\textwidth}{\usebeamerfont{section title}{\insertsectionHEAD}}\vfil}%
@ -650,7 +659,7 @@
\hbox to 0.99\linewidth{\textcolor{leipzigDarkRed}{\rule{0.98\linewidth}{0.6pt}\hfill}}%
\hbox to 0.99\linewidth{
\includegraphics[height=5mm, trim=0 3mm 0 0]{ul-wordmark.pdf}\hspace*{5mm}
%\textcolor{leipzigDarkRed}{\insertframenumber\,/\,\inserttotalframenumber} % optional


Binary file not shown.


@ -0,0 +1,230 @@
\subtitle[Beamer Theme]{Beamer theme}
\thankstitle{Thank You!}
\address{Beethovenstraße 15, 04107 Leipzig}
\phone{+49 1234 5678910}
\begin{frame}{Table of contents}
\setbeamertemplate{section in toc}[sections numbered]
The \themename theme is a Beamer theme that complies with the corporate design of the Leipzig University.
Enable the theme by loading
Note that this package only works with XeTeX/XeLaTeX, as it depends on \texttt{fontspec}.
\begin{frame}[fragile]{Package Options}
\item[\texttt{noserifmath}] displays math using Arial
\item[\texttt{nosectionpages}] hides section pages.
\item[\texttt{aspectratio=169}] to enable 16:9 aspect ratio (default is 4:3)
\begin{frame}[fragile]{Title Page Macros}
The usual title page macros such as author, date, title and subtitle are supported.
Additional options include:
\item short title for use in the header: \verb+\title[short title]{long title}+ (analogous for subtitle)
\item institution for use in the footer: \\ \verb+\institute{institution}+
\item additional graphics on the title page: \\ \verb+\titlegraphic{filename}+
\item location of the talk: \verb+\location{location}+
\begin{frame}[fragile]{Thanks Page Macros}
A ``Thank You!''-Page can be displayed using \verb+\makethanks+. The displayed information can be specified using:
\item \verb+\thankstitle{}+ for a customized thank-you text, default is ``Vielen Dank''
\item \verb+\address{}+
\item \verb+\email{}+
\item \verb+\phone{}+
\item \verb+\website{}+ - default is \texttt{}, leave empty to disable
You can \emph{emphasize} text, \alert{accent}
parts or show \textbf{bold} results.
You can \emph{emphasize} text, \alert{accent} parts or show \textbf{bold} results.\footnote{Footnotes work as well.}
\begin{frame}{Font features}
\item Regular
\item \textit{Italic}
\item \textbf{Bold}
\item \textbf{\textit{Bold Italic}}
\item \texttt{Monospace}
\item \texttt{\textit{Monospace Italic}}
\item \texttt{\textbf{Monospace Bold}}
\item \texttt{\textbf{\textit{Monospace Bold Italic}}}
\item Item \item Item \item Item
\item First \item Second \item Last
$$ Y = X^3 =\int \alpha^2\log (aeqwvnm) $$
\item[Caption] Text
\item[Caption] Text
\item[Caption] Text
\colorlet{col1}{alerted text.fg!80}
\colorlet{col2}{alerted text.fg!60}
\colorlet{col3}{alerted text.fg!40}
\colorlet{col4}{alerted text.fg!20}
\draw [help lines] (-4.25,-1.25) grid (4.25,1.5);
\draw [help lines,step=0.25cm] (-2.99,0) grid (2.99,0.99);
\filldraw [fill=col3] plot[id=f1,domain=-3:-2] function {exp(-x*x/2)}
-- (-2,0) -- (-3,0) -- cycle;
\filldraw [fill=col2] plot[id=f2,domain=-2:-1] function {exp(-x*x/2)}
-- (-1,0) -- (-2,0) -- cycle;
\filldraw [fill=col1] plot[id=f3,domain=-1:0] function {exp(-x*x/2)}
-- (0,0) -- (-1,0) -- cycle;
\filldraw [fill=col1] plot[id=f4,domain=0:1] function {exp(-x*x/2)}
-- (1,0) -- (0,0) -- cycle;
\filldraw [fill=col2] plot[id=f5,domain=1:2] function {exp(-x*x/2)}
-- (2,0) -- (1,0) -- cycle;
\filldraw [fill=col3] plot[id=f6,domain=2:3] function {exp(-x*x/2)}
-- (3,0) -- (2,0) -- cycle;
\draw[black] plot[id=f7,domain=-4.25:4.25,samples=100]
function {exp(-x*x/2)};
\draw[->] (-4.25,0) -- (4.25,0) node [right] {$x$};
\foreach \pos/\label in {-3/$-3\sigma$,-2/$-2\sigma$,-1/$-\sigma$,
\draw (\pos,0) -- (\pos,-0.1) (\pos cm,-3ex) node
[anchor=base,fill=white,inner sep=1pt] {\label};
\draw (-0.1,1) -- (.1,1) node [right,fill=white,inner sep=1pt] {$\sigma$};
\foreach \pos/\percent/\height in {1/34/0.5,2/14/0.25,3/2/0.125,4/0.1/0.1}
inner sep=1pt] at (\pos,\height) {$\percent\%$};
inner sep=1pt] at (-\pos,\height) {$\percent\%$};
\caption{Standard deviation from \href{}{}.}
\caption{Largest cities in the world (source: Wikipedia)}
\begin{tabular}{@{} lr @{}}
City & Population\\
Mexico City & 20,116,842\\
Shanghai & 19,210,000\\
Peking & 15,796,450\\
Istanbul & 14,160,467\\
Three different block environments are pre-defined.
Block content.
Block content.
Block content.
For a general introduction to creating slides with Beamer, refer to the Beamer manual.\cite{BeamerManual}
To split your bibliography into multiple frames, use the \verb+[allowframebreaks]+ option.
Things that differ in the \LaTeX~ version compared to the original \texttt{.pptx} style:
\item the footer does not include the university wordmark, as a vector-based graphic file of such is not obtainable from the university
\item the frame titles are not converted to uppercase, as this introduces a bug with the \texttt{[allowframebreaks]} option