This is a beamer latex template for slides and lectures at University of Ulm.
The template has been discontinued and replace by a customized version of a university-agnostic template: https://github.com/sp-uulm/FancyBeamerUULM
First, you need to create a new beamer presentation. For that, add \documentclass[aspectratio=169]{beamer}
to your .tex
-file (and change the aspectratio)
The beamer theme can be used for a beamer presentation by the command \usetheme{uulm}
.
You can easily start creating slides by using a copy of the empty-slides.tex
template file.
To use the template from another directory, you can create a symbolic link to the directory of the cloned template. The terminal-commands to create such links vary between different operating systems:
- Windows:
mklink /J \path\to\slides\template path\to\template
- Linux/macOS:
ln -s /path/to/template /path/to/slides/template
To add a title frame, you can use the standard \maketitle
command. It creates a title Frame with a default picture and the information that is set by the following commands:
\title[<optional short title>]{<title>}
\subtitle[<optional short subtitle>]{<subtitle>}
\author[<optional short author>]{<long author>}
\date{<date>}
The title picture can be changed with an optional parameter: \maketitle[<path-to-picture>]
. The picture's width will automatically be set to fill the frame. To move the picture up or down you can pass an additional optional parameter to set an offset: \maketitle[<path-to-picture>][<offset>]
.
If no picture is given (\maketitle
), a default picture is used. To create a title frame without a picture, you can use \maketitle[]
.
To repeat the title slide you can use the command \againtitle
at any point. It creates a copy of the last title slide with the same picture and picture-offset.
A slide that shows a clickable multi-column table of contents (including the sections and subsections of the document) can be generated using the command \contentoverview
.
At the begin of each section a title slide is automatically generated. If you are in handout-mode, this slide also includes an overview of all sections and subsections that can be used to navigate through the slides easily.
You can overwrite this behaviour by using one of the following documentclass-options:
nosectionframes
: no automatic frames at the begin of each sectionsectiontitleslides
: automatic title frames at the begin of each sectionsectionoverviews
: automatic section overviews at the begin of each section
The color-scheme of the template can be adapted to each faculty of Ulm University with the command \setfaculty{<faculty>}
. It can take the following values:
infIngPsy
: "Informatik, Ingenieurwissenschaften, Psychologie"med
: "Medizin"math
: "Mathematik"nat
: "Naturwissenschaften"
The title slide contains a university (bottom right) and an institute (bottom left) logo. By default, the university logo is the logo of Ulm University and the institute logo is empty.
Your can set the logos yourself using the commands \universitylogo{<image-file>}
and \institutelogo{<image-file>}
. The commands \clearuniversitylogo
and \clearinstitutelogo
can be used to remove the logos.
You can also freely configure as many logos as you want using the command \uulmlogos{<list-of-logos>}
(with the logos separated by commas).
You can use the the mycolumns
environment to layout your slides (it is safe to use with verbatim, but still requires the beamer fragile
-option for the frame ).
Within, the \mynextcolumn
can be used to separate columns, various options allow you to customize the appearance:
\begin{mycolumns}[columns=3, t]
Content of Column 1
\mynextcolumn
Content of Column 2
\mynextcolumn
Content of Column 3
\end{mycolumns}
In total, there are the following options:
Option | Default | Description |
---|---|---|
c |
yes | Will center the content of the columns vertically |
t |
no | Will vertically align based on the baseline of the first line of each column |
b |
no | Will vertically align based on the baseline of the last line of each column |
T |
no | Similar to t but will use the very top of the first line (good for images, ...). |
width=<width> |
\linewidth |
The total width of all columns (including margins) |
height=<width> |
no height |
The artificial height of the columns environment (e.g. for animations with different heights). |
no height |
Counterpart of height =<width> makes the layout use the natural height again. |
|
margin=<width> |
0.035\linewidth |
The horizontal space between columns. |
columns=<amount> |
2 |
The number of columns |
widths={<widths>} |
{} |
A comma-separated list of values, which determine how wide the columns should be. For example, using columns=4, widths={40,30} will cause the first column to occupy 40% of the width, the next one 30%, and evenly distribute the remaining 30% among the other two columns (equivalent to columns=4, widths={40,30,15,15} ). |
animation=none |
yes | Similar to the "and" mode of the old layouts. Will make all slides visible by default, without any animation (should not be combined with reverse ). |
keep or animation=keep |
no | Similar to the "then" mode of the old layouts. This will cause the columns to be animated one after the other, with previous columns remaining visible. |
forget or animation=forget |
no | Similar to the "or" mode of the old layouts. This will cause the columns to be animated one after the other, with previous columns disappearing again. This behavior is active only in recording mode (\recordingtrue ), otherwise, this is similar to animation=keep . |
reverse |
no | With the default animation order being left-to-right, this makes it right-to-left. |
extra/columns=<value> |
{} |
Only for people who know, what they are doing. This allows direct, overwriting access on the beamer-columns mechanism working behind the scenes. |
Some of these defaults may appear arbitrary. They can be changed (locally to the current group) with the macro \setmycolumnsdefault
(accumulative):
\setmycolumnsdefault{margin=7mm,t}
With the package option uniqueslidenumber
you can ensure that even frames with overlays get a unique slide number at the bottom right.
For this, this option adds a suffix to the slide number (<slide>.<overlay>
) of slides with animations, so the slides can be uniquely identified.
Please note that, all of the macros in this section are deprecated (for not being verbatim-safe). Please use the mycolumns
-mechanism described above.
The following layouts can be used to arrange content into multiple columns on a frame. Some of them are also animated.
\leftandright{<left>}{<right>}
,\leftmiddleandright{<left>}{<middle>}{<right>}
Splits the frame into multiple columns, which contain the content given by the multiple arguments.\leftthenright{<left>}{<right>}
,\leftmiddlethenright{<left>}{<middle>}{<right>}
Splits the frame into multiple columns, which contain the content given by the multiple arguments and are displayed column by column with the previous columns remaining on the slide (only if not inhandout
-mode).\leftorright{<left>}{<right>}
,\leftmiddleorright{<left>}{<middle>}{<right>}
Splits the frame into multiple columns, which contain the content given by the multiple arguments and are displayed column by column individually with a blank frame in between (only if not inhandout
-mode).
Hint: This only works if the recording mode is enabled via\recordingtrue
, otherwise it will act the same as\leftthenright
or\leftmiddlethenright
.
The following colorboxes can be used for writing definitions, examples and notes:
\begin{definition}{<Title>}
<Content>
\end{definition}
\begin{example}{<Title>}
<Content>
\end{example}
\begin{note}{<Title>}
<Content>
\end{note}
You can also create own colorbox-environments with \MakeNewBox{<box-name>}{<box-color>}
or modify existing ones using \UpdateBoxColor{<box-name>}{<new-box-color>}
.
The prefix and suffix of a box title can be updated using \UpdateBoxPrefix{<new-prefix>}
and \UpdateBoxSuffix{<new-suffix>}
. To create a counting box, \boxnumber
can be used in the definition of the prefix or suffix.
You can also directly add a prefix and suffix to the box title at creation using additional options: \MakeNewBox[<prefix>]{<box-name>}{<box-color>}[<suffix>]
Please note that, all of the macros in this section are deprecated (for not being verbatim-safe). Please use the definition
, example
and note
environments described above.
\mydefinition{<title>}{<content>}
\myexample{<title>}{<content>}
\mynote{<title>}{<content>}
For easier viewing and editing slides in dark environments, the template features a dark mode that can be enabled with the documentclass-option darkmode
.
Pictures can be included using the \pic{<path>}
-command. This command also enables creating automatic links on the pictures (e.g. for sources). Therefore, the link simply has to be stored in a .txt
-file with the same filename.
Similar to the \pic
command described above, \picDark{<path>}
can be used to include pictures that get inverted automatically when the dark mode is used. Therefore, white gets converted to a dark gray that matches the dark background color of the slides.
Alternatively, a separate dark version of the picture can be stored with the suffix -dark
to get automatically used instead of the normal version when dark mode is enabled.
- Easy Navigation in Slides: A click on the title or subtitle in the slide footer leads to a jump to the title slide. A click on the section title brings you to the begin of the section.
- Auto-Scaling: Frame titles that are longer than the width of the frame are scaled down automatically. This can avoid annoying linebreaks for a single character or word.
- Recording mode: This theme comes with a optional recording mode. In this mode, the animations for the content layouts
\leftorright
and\leftmiddleorright
are different. Each column that is generated by those layouts is displayed individually one after another with a blank slide in between. That way, the presenter can walk over to the other side of the frame if recording in front of the slides.
The recording mode can be enabled using the command\recordingtrue
. - Using Lectures: Standard LaTeX
\lecture
s can also be used with the template.lecture-demo
contains an example for how to use them.