example.md 5.37 KB
Newer Older
Bernhard Heinloth's avatar
Bernhard Heinloth committed
1
2
---
# Document settings
Sebastian Endres's avatar
Sebastian Endres committed
3
title: 'i7**neo** with Markdown'
Bernhard Heinloth's avatar
Bernhard Heinloth committed
4
5
6
7
8
9
subtitle: Proposal for a modern Beamer theme generated out of a simple Markup language
date: \today
author: Wolfgang Händler
institute: 'Friedrich-Alexander-Universität Erlangen-Nürnberg'
# Some logos on the title page?
titlegraphic:
Sebastian Endres's avatar
Sebastian Endres committed
10
11
 - theme/images/logo-i7-de.pdf
 - theme/images/logo-fau-tf.pdf
Bernhard Heinloth's avatar
Bernhard Heinloth committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# Internal or external title background image?
titletype: intern
# Show TOC?
toc: true
# Overall font size
fontsize: 10pt
# Additional (LaTeX) commands
header-includes: \usepackage{pgfplots} \neoset{notes=show}
# Bibliography
bibliography: demo
biblio-title: References
biblio-style: abbrv
---

# Introduction

##

The **neo** theme is a LaTeX Beamer theme with minimal visual noise based on
the [[Metropolis]{.smallcaps} Beamer Theme](https://github.com/matze/mtheme)
by Matthias Vogelgesang and inspired by the
[[hsrm]{.smallcaps} Beamer Theme](https://github.com/hsrmbeamertheme/hsrmbeamertheme)
by Benjamin Weiss.

But it is not necessary to write **TeX** -- you can use **Markdown** instead!


## Sections

Sections group slides of the same topic with

        Elements
        ========

or

        # Elements

for which **neo** provides a nice progress indicator ...


## Frames

Start a new frame with

        Frametitle
        ----------

or

        # Frametitle

For title-less frames just remove the name

        #

Setting attributes like *standout* is still possible by appending them

        # {.standout}


## Document settings

Metadata and configuration is stored in the beginning of the document in [YAML](https://yaml.org/) Format

        ---
        title: Good Omens
        date: 1 May 1990
        author:
         - Terry Pratchett
         - Neil Gaiman
        toc: true
        fontsize: 10pt
        ---

(although it is not required to have an header)


## Presentation notes

The built-in support for notes is available as well

        \pnote{Important presentation note}

**neo** can not only create pdfpc files but also full note
pages, either located on the side for presentation or embedded for
printing

        \neoset{notes=show}

\pnote{Hi there!}
\pnote{We have some text in \textbf{here}!}
\pnote{Try to use \texttt{notes=preview-right} with \texttt{pdfpc --notes=right ./out/presentation.pdf}}


# Elements

## Typography

    The theme provides sensible defaults to
    *emphasize* text, \alert{accent} parts
    or show **bold** results.

becomes

The theme provides sensible defaults to *emphasize* text,
\alert{accent} parts or show **bold** results.


## Font feature test

 - Regular
 - *Italic*
 - [SmallCaps]{.smallcaps}
 - **Bold**
 - ***Bold Italic***
 - **[Bold SmallCaps]{.smallcaps}**
 - `Monospace`
 - *`Monospace Italic`*
 - **`Monospace Bold`**
 - ***`Monospace Bold Italic`***


## Predefined Colors

  Dark                       Normal                                        Light
 -------------------------- ---------------------------------- ---------------------------
 \nDarkRed{nDarkRed}        \nRed{nRed}                        \nLightRed{nLightRed}
 \nDarkGreen{nDarkGreen}    \nGreen{nGreen}                    \nLightGreen{nLightGreen}
 \nDarkBlue{nDarkBlue}      \nBlue{nBlue}                      \nLightBlue{nLightBlue}
 \nDarkCyan{nDarkCyan}      \nCyan{nCyan}                      \nLightCyan{nLightCyan}
 \nDarkYellow{nDarkYellow}  \nYellow{nYellow}                  \nLightYellow{nLightYellow}
 \nDarkGrey{nDarkGrey}      \nGrey{nGrey}                      \nLightGrey{nLightGrey}
                            \nBlack{nBlack}
                            \colorbox{nBlack}{\nWhite{nWhite}}
 -------------------------- ---------------------------------- ---------------------------


## Lists (and Columns)

::: {.columns}

:::: {.column width=0.33}
Items

 - Milk
 - Eggs
 - Potatos
::::

:::: {.column width=0.33}
Enumerations

 1. First,
 2. Second and
 3. Last.
::::

:::: {.column width=0.33}
Descriptions

PowerPoint
:   Meeh.

Beamer
:   Yeeeha.
::::

:::

## Animation

 - \alert<4>{This is\only<4>{ really} important} \pause
 - Now this \pause
 - And now this \pause


## Tables

  City            Population
  ------------- ------------
  Mexico City     20,116,842
  Shanghai        19,210,000
  Peking          15,796,450
  Istanbul        14,160,467

  : Largest cities in the world (source: Wikipedia)


## Code

``` {.c language="C"}
#include <stdio.h>

int main(void) {
   printf("Hello World!");
}
```


## Math

$$e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n$$


## Line Plots

\begin{figure}
 \begin{tikzpicture}
  \begin{axis}[
    mlineplot,
    width=0.9\textwidth,
    height=6cm,
  ]

   \addplot {sin(deg(x))};
   \addplot+[samples=100] {sin(deg(2*x))};

  \end{axis}
 \end{tikzpicture}
 \caption{Embedded TikZ Image}
\end{figure}


## Quotes

> Veni, Vidi, Vici


## Images

![Screenshot from titlepage](.screenshots/demo-01.png){width=50%}


## References

Some references to showcase [@knuth92; @ConcreteMath; @Simpson; @Er01; @greenwade93]
References can also be added in place as footnote[^1]


[^1]: Just use a normal footnote which contains lots and lots of text



# Conclusion

## Summary

Get the source of this theme from

Sebastian Endres's avatar
Sebastian Endres committed
262
<https://gitlab.cs.fau.de/sedrubal/masterarbeit/i7neo.git>
Bernhard Heinloth's avatar
Bernhard Heinloth committed
263
264
265
266
267
268
269
270

The theme *itself* is licensed under a [Creative Commons
Attribution-ShareAlike 4.0 International
License](http://creativecommons.org/licenses/by-sa/4.0/).


## {.standout}

271
272
\only<handout:0>{Questions?}
\only<beamer:0>{Have Fun!}
Bernhard Heinloth's avatar
Bernhard Heinloth committed
273