Compare commits
No commits in common. "4f908fa34fa235efe462ddd29e960e7e711761d5" and "4eccf3ff5c763710e957243826f2e83503fb07c8" have entirely different histories.
4f908fa34f
...
4eccf3ff5c
2
onpoint
2
onpoint
@ -1 +1 @@
|
|||||||
Subproject commit ac3c4fff4236888e81f86a90a7c84c314af2d70e
|
Subproject commit 8cc875dac8ce14838b81fae25e59b69f3485193f
|
||||||
@ -313,7 +313,7 @@ Dokumentenklassen
|
|||||||
* Natürlich gibt es auch andere Dokumentenklassen als `article`.
|
* Natürlich gibt es auch andere Dokumentenklassen als `article`.
|
||||||
* Je nachdem, welche Dokumentenklasse man verwendet, ändert sich das Layout der generierten PDF.
|
* Je nachdem, welche Dokumentenklasse man verwendet, ändert sich das Layout der generierten PDF.
|
||||||
* Die korrekt geschriebenen Dokumentenklassen richten sich nach US-amerikanischen Layout-Normen.
|
* Die korrekt geschriebenen Dokumentenklassen richten sich nach US-amerikanischen Layout-Normen.
|
||||||
* **`scr`**-Dokumentenklassen versuchen europäische Normen abzubilden.
|
* **`src`**-Dokumentenklassen versuchen europäische Normen abzubilden.
|
||||||
|
|
||||||
Folgende Dokumentenklassen stehen zur Verfügung:
|
Folgende Dokumentenklassen stehen zur Verfügung:
|
||||||
|
|
||||||
|
|||||||
@ -186,7 +186,7 @@ Additionally, for some document classes:
|
|||||||
@slide(layout=wide-content)
|
@slide(layout=wide-content)
|
||||||
|
|
||||||
@title
|
@title
|
||||||
Title page
|
Front matter
|
||||||
|
|
||||||
@content
|
@content
|
||||||
``` {.lang-tex .hljs data-source=title.tex}
|
``` {.lang-tex .hljs data-source=title.tex}
|
||||||
@ -199,7 +199,7 @@ Title page
|
|||||||
```
|
```
|
||||||
|
|
||||||
* The values for the entries are stored in the preamble.
|
* The values for the entries are stored in the preamble.
|
||||||
* `\maketitle` typesets the title page within the document environment.
|
* `\maketitle` typesets the front matter within the document environment.
|
||||||
* The exact appearance depends on the document class.
|
* The exact appearance depends on the document class.
|
||||||
* Multiple authors can be joined with `\and`.
|
* Multiple authors can be joined with `\and`.
|
||||||
* If no date is given, the current date will be used. A different date can be defined with `\date{}`.
|
* If no date is given, the current date will be used. A different date can be defined with `\date{}`.
|
||||||
@ -312,7 +312,7 @@ Document classes
|
|||||||
* There are also other document classes than `article`.
|
* There are also other document classes than `article`.
|
||||||
* Based on the document class, the layout of the generated pdf file changes.
|
* Based on the document class, the layout of the generated pdf file changes.
|
||||||
* Normally speled classes adhere to American English layout norms.
|
* Normally speled classes adhere to American English layout norms.
|
||||||
* **`scr`** document classes usually adhere to European layout norms.
|
* **`src`** document classes usually adhere to European layout norms.
|
||||||
|
|
||||||
Following document classes are available:
|
Following document classes are available:
|
||||||
|
|
||||||
|
|||||||
@ -84,7 +84,7 @@ Allgemeiner Aufbau eine Befehls:
|
|||||||
Backslash
|
Backslash
|
||||||
|
|
||||||
@content
|
@content
|
||||||
Den Backslash erzeugt ihr auf deutschen Tastaturen mit folgender Tastenkombination:
|
Den Backslash erzeugt ihr mit folgender Tastenkombination:
|
||||||
|
|
||||||
<kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)
|
<kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)
|
||||||
|
|
||||||
|
|||||||
@ -84,7 +84,7 @@ General structure of a command:
|
|||||||
Backslash
|
Backslash
|
||||||
|
|
||||||
@content
|
@content
|
||||||
Assuming a German keyboard layout, you get the backslash by pressing
|
You get the backslash by pressing
|
||||||
|
|
||||||
<kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)
|
<kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Formel-Umgebungen 🧮
|
|||||||
$2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$
|
$2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$
|
||||||
```
|
```
|
||||||
|
|
||||||
Mathematische Formeln können **nur im sogenannten Mathmode** gesetzt werden. Hierfür werden sie durch Dollarzeichen eingerahmt. Außerdem gibt es eine Blockumgebung:
|
Mathematische Formeln können **nur im sogenannten Mathmode** gesetzt werden, der inline durch zwei Dollarzeichen aktiviert wird. Außerdem gibt es eine Blockumgebung:
|
||||||
|
|
||||||
``` {.lang-tex .hljs}
|
``` {.lang-tex .hljs}
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
|
|||||||
@ -93,7 +93,7 @@ Code up the following formulas in the file `exercises/maths/math-formulas.tex`.
|
|||||||
|
|
||||||
| Meaning | Result |
|
| Meaning | Result |
|
||||||
|---------|--------|
|
|---------|--------|
|
||||||
| Gravitational acceleration | $9.81\,\frac{m}{s^2}$ |
|
| Gravitational acceleration | $9,81\,\frac{m}{s^2}$ |
|
||||||
| Formula to solve quadratic equations | $x_{1,2} = - \frac{p}{2} \pm \sqrt{\left(\frac{p}{2}\right)^2 - q}$ |
|
| Formula to solve quadratic equations | $x_{1,2} = - \frac{p}{2} \pm \sqrt{\left(\frac{p}{2}\right)^2 - q}$ |
|
||||||
| Another formula to solve quadratic equations | $x_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ |
|
| Another formula to solve quadratic equations | $x_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ |
|
||||||
| Catalan numbers | $C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!}$ |
|
| Catalan numbers | $C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!}$ |
|
||||||
|
|||||||
@ -50,10 +50,10 @@ Mit dem Befehl `\ref`:
|
|||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\includegraphics % …
|
\includegraphics % …
|
||||||
\caption{Unser Maskottchen Fooboar}
|
\caption{Unser Maskottchen Fooboar}
|
||||||
\label{fig:fooboar}
|
\label{img:fooboar}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
Wie man in Abbildung \ref{fig:fooboar} …
|
Wie man in Abbildung \ref{img:fooboar} …
|
||||||
```
|
```
|
||||||
|
|
||||||
@preview
|
@preview
|
||||||
@ -72,11 +72,11 @@ Mit dem Paket `cleveref` (mit *einem* ›r‹!):
|
|||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\includegraphics % …
|
\includegraphics % …
|
||||||
\caption{Unser Maskottchen Fooboar}
|
\caption{Unser Maskottchen Fooboar}
|
||||||
\label{fig:fooboar}
|
\label{img:fooboar}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
Fooboar ist ein sehr engagierter
|
Fooboar ist ein sehr engagierter
|
||||||
Jungeber (siehe \Cref{fig:fooboar}).
|
Jungeber (siehe \Cref{img:fooboar}).
|
||||||
```
|
```
|
||||||
|
|
||||||
Der Befehl `\cref` fügt selbstständig die passende Abkürzung ein.
|
Der Befehl `\cref` fügt selbstständig die passende Abkürzung ein.
|
||||||
|
|||||||
@ -53,11 +53,11 @@ Using the `\ref` command:
|
|||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\includegraphics % …
|
\includegraphics % …
|
||||||
\caption{Our mascot Fooboar}
|
\caption{Our mascot Fooboar}
|
||||||
\label{fig:fooboar}
|
\label{img:fooboar}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
As you can see in Figure
|
As you can see in figure
|
||||||
\ref{fig:fooboar}, …
|
\ref{img:fooboar}, …
|
||||||
```
|
```
|
||||||
|
|
||||||
@preview
|
@preview
|
||||||
@ -105,11 +105,11 @@ Using the `cleveref` package (with *one* ‘r’!):
|
|||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\includegraphics % …
|
\includegraphics % …
|
||||||
\caption{Our mascot Fooboar}
|
\caption{Our mascot Fooboar}
|
||||||
\label{fig:fooboar}
|
\label{img:fooboar}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
Fooboar is a young and highly engaged
|
Fooboar is a young and highly engaged
|
||||||
boar (see \Cref{fig:fooboar}).
|
boar (see \Cref{img:fooboar}).
|
||||||
```
|
```
|
||||||
|
|
||||||
The `\cref` command automatically inserts suitable prefixes.
|
The `\cref` command automatically inserts suitable prefixes.
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 130 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 130 KiB |
@ -15,6 +15,6 @@
|
|||||||
\label{img:fooboar}
|
\label{img:fooboar}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
As you can see in Figure \ref{img:fooboar}, fooboar is a young and very engaged boar.
|
As you can see in figure \ref{img:fooboar}, fooboar is a young and very engaged boar.
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user