You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+63-11Lines changed: 63 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,13 @@ First, you need to create a new beamer presentation. For that, add ``\documentcl
10
10
### Including the Theme
11
11
The beamer theme can be used for a beamer presentation by the command ``\usetheme{uulm}``.
12
12
13
+
### Empty Slides Template
14
+
You can easily start creating slides by using a copy of the ``empty-slides.tex`` template file.
15
+
13
16
### Creating a Symbolic Link
14
17
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:
@@ -29,14 +32,20 @@ The title picture can be changed with an optional parameter: ``\maketitle[<path-
29
32
30
33
If no picture is given (`\maketitle`), a default picture is used. To create a title frame without a picture, you can use `\maketitle[]`.
31
34
35
+
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.
36
+
37
+
### Content Overview
38
+
39
+
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`.
40
+
32
41
### Section Frames
33
42
34
43
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.
35
44
36
45
You can overwrite this behaviour by using one of the following documentclass-options:
37
-
*`\nosectionframes`: no automatic frames at the begin of each section
38
-
*`\sectiontitleslides`: automatic title frames at the begin of each section
39
-
*`\sectionoverviews`: automatic section overviews at the begin of each section
46
+
*`nosectionframes`: no automatic frames at the begin of each section
47
+
*`sectiontitleslides`: automatic title frames at the begin of each section
48
+
*`sectionoverviews`: automatic section overviews at the begin of each section
40
49
41
50
### Faculty Colors
42
51
@@ -64,9 +73,9 @@ Within, the `\mynextcolumn` can be used to separate columns, various options all
64
73
\begin{mycolumns}[columns=3, t]
65
74
Content of Column 1
66
75
\mynextcolumn
67
-
Content of Column 2
76
+
Content of Column 2
68
77
\mynextcolumn
69
-
Content of Column 3
78
+
Content of Column 3
70
79
\end{mycolumns}
71
80
```
72
81
@@ -78,11 +87,13 @@ In total, there are the following options:
78
87
|`b`| no | Will vertically align based on the baseline of the last line of each column |
79
88
|`T`| no | Similar to `t` but will use the very top of the first line (good for images, ...). |
80
89
|`width=<width>`|`\linewidth`| The total width of all columns (including margins) |
90
+
|`height=<width>`|`no height`| The artificial height of the columns environment (e.g. for animations with different heights). |
91
+
|`no height`|| Counterpart of `height =<width>` makes the layout use the natural height again. |
81
92
|`margin=<width>`|`0.035\linewidth`| The horizontal space between columns. |
82
93
|`columns=<amount>`|`2`| The number of columns |
83
94
|`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}`). |
84
-
|`animation=none`| yes | Will make all slides visible by default, without any animation (should not be combined with `reverse`). |
85
-
|`keep` or `animation=keep`| no | Similar to the "and" mode of the old layouts. This will cause the columns to be animated one after the other, with previous columns remaining visible. |
95
+
|`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`). |
96
+
|`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. |
86
97
|`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`. |
87
98
|`reverse`| no | With the default animation order being left-to-right, this makes it right-to-left. |
88
99
|`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. |
@@ -93,6 +104,11 @@ Some of these defaults may appear arbitrary. They can be changed (locally to the
93
104
\setmycolumnsdefault{margin=7mm,t}
94
105
```
95
106
107
+
### Unique Slide-Numbering
108
+
109
+
With the package option `uniqueslidenumber` you can ensure that even frames with overlays get a unique slide number at the bottom right.
110
+
For this, this option adds a suffix to the slide number (`<slide>.<overlay>`) of slides with animations, so the slides can be uniquely identified.
111
+
96
112
#### Old Macros
97
113
98
114
Please note that, all of the macros in this section are deprecated (for not being verbatim-safe). Please use the `mycolumns`-mechanism described above.
@@ -103,14 +119,50 @@ The following layouts can be used to arrange content into multiple columns on a
103
119
*``\leftorright{<left>}{<right>}``, ``\leftmiddleorright{<left>}{<middle>}{<right>}`` <br> 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 in ``handout``-mode). <br> **Hint:** This only works if the recording mode is enabled via ``\recordingtrue``, otherwise it will act the same as ``\leftthenright`` or ``\leftmiddlethenright``.
104
120
105
121
### Color Boxes
106
-
The following colorboxes can be used for writing definitions, examples and notes. The each consist of a title and a content part.
122
+
The following colorboxes can be used for writing definitions, examples and notes:
123
+
124
+
```latex
125
+
\begin{definition}{<Title>}
126
+
<Content>
127
+
\end{definition}
128
+
129
+
\begin{example}{<Title>}
130
+
<Content>
131
+
\end{example}
132
+
133
+
\begin{note}{<Title>}
134
+
<Content>
135
+
\end{note}
136
+
```
137
+
138
+
#### Custom Color Boxes
139
+
You can also create own colorbox-environments with ``\MakeNewBox{<box-name>}{<box-color>}`` or modify existing ones using ``\UpdateBoxColor{<box-name>}{<new-box-color>}``.
140
+
141
+
#### Counting Color Boxes
142
+
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.
143
+
144
+
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>]``
145
+
146
+
#### Old Macros
147
+
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.
148
+
107
149
*``\mydefinition{<title>}{<content>}``
108
150
*``\myexample{<title>}{<content>}``
109
151
*``\mynote{<title>}{<content>}``
110
152
111
-
Additionally there are environments named `environment`, `example` and `note`, that can be used as verbatim-safe alternatives.
153
+
### Dark Mode
154
+
For easier viewing and editing slides in dark environments, the template features a dark mode that can be enabled with the documentclass-option ``darkmode``.
155
+
156
+
### Including Pictures
157
+
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.
158
+
159
+
#### Automatic Dark Mode for Pictures
160
+
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.
161
+
162
+
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.
112
163
113
164
### Other Functionalities
114
165
***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.
115
166
***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.
116
-
***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. <br> The recording mode can be enabled using the command ``\recordingtrue``.
167
+
***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. <br> The recording mode can be enabled using the command ``\recordingtrue``.
168
+
***Using Lectures:** Standard LaTeX `\lecture`s can also be used with the template. `lecture-demo` contains an example for how to use them.
0 commit comments