updated latex weekend slides

This commit is contained in:
User 2024-04-02 10:20:05 +00:00
parent eecf781c98
commit 41d982fcb3
12 changed files with 761 additions and 785 deletions

View File

@ -539,7 +539,7 @@ Image source: <a href="https://xkcd.com/1341/">xkcd</a>
<div class="layout-content"> <div class="layout-content">
<h2>Backslash <h2>Backslash
</h2> </h2>
<p>You get the backslash by pressing</p> <p>Assuming a German keyboard layout, you get the backslash by pressing</p>
<p><kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)</p> <p><kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)</p>
<p><kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>7</kbd> (MacOS)</p> <p><kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>7</kbd> (MacOS)</p>
@ -732,7 +732,7 @@ Place of birth: Milwaukee, Wisconsin
<article> <article>
<div class="layout-wide-content"> <div class="layout-wide-content">
<div class="layout-content"> <div class="layout-content">
<h2>Front matter <h2>Title page
</h2> </h2>
<pre class="lang-tex hljs" data-source="title.tex"><code>\title{The World of Truffles} <pre class="lang-tex hljs" data-source="title.tex"><code>\title{The World of Truffles}
\author{Fooboar Rüssel \and Fachschaft WIAI} \author{Fooboar Rüssel \and Fachschaft WIAI}
@ -743,7 +743,7 @@ Place of birth: Milwaukee, Wisconsin
<ul> <ul>
<li>The values for the entries are stored in the preamble.</li> <li>The values for the entries are stored in the preamble.</li>
<li> <li>
<code>\maketitle</code> typesets the front matter within the document environment.</li> <code>\maketitle</code> typesets the title page within the document environment.</li>
<li>The exact appearance depends on the document class.</li> <li>The exact appearance depends on the document class.</li>
<li>Multiple authors can be joined with <code>\and</code>.</li> <li>Multiple authors can be joined with <code>\and</code>.</li>
<li>If no date is given, the current date will be used. A different date can be defined with <code>\date{}</code>.</li> <li>If no date is given, the current date will be used. A different date can be defined with <code>\date{}</code>.</li>
@ -863,7 +863,7 @@ My favorite recipe
<li>Based on the document class, the layout of the generated pdf file changes.</li> <li>Based on the document class, the layout of the generated pdf file changes.</li>
<li>Normally speled classes adhere to American English layout norms.</li> <li>Normally speled classes adhere to American English layout norms.</li>
<li> <li>
<strong><code>src</code></strong> document classes usually adhere to European layout norms.</li> <strong><code>scr</code></strong> document classes usually adhere to European layout norms.</li>
</ul> </ul>
<p>Following document classes are available:</p> <p>Following document classes are available:</p>
<ul> <ul>
@ -2325,7 +2325,7 @@ result
<tbody> <tbody>
<tr class="odd"> <tr class="odd">
<td>Gravitational acceleration</td> <td>Gravitational acceleration</td>
<td><span class="math inline">\(9,81\,\frac{m}{s^2}\)</span></td> <td><span class="math inline">\(9.81\,\frac{m}{s^2}\)</span></td>
</tr> </tr>
<tr class="even"> <tr class="even">
<td>Formula to solve quadratic equations</td> <td>Formula to solve quadratic equations</td>
@ -2987,11 +2987,11 @@ wiki/Wild_boar}}</code></pre>
<pre class="hljs lang-tex"><code>\begin{figure}[H] <pre class="hljs lang-tex"><code>\begin{figure}[H]
\includegraphics % … \includegraphics % …
\caption{Our mascot Fooboar} \caption{Our mascot Fooboar}
\label{img:fooboar} \label{fig:fooboar}
\end{figure} \end{figure}
As you can see in figure As you can see in Figure
\ref{img:fooboar}, …</code></pre> \ref{fig:fooboar}, …</code></pre>
</div> </div>
<div class="layout-preview"> <div class="layout-preview">
@ -3056,11 +3056,11 @@ As you can see in figure
<pre class="hljs lang-tex"><code>\begin{figure}[H] <pre class="hljs lang-tex"><code>\begin{figure}[H]
\includegraphics % … \includegraphics % …
\caption{Our mascot Fooboar} \caption{Our mascot Fooboar}
\label{img:fooboar} \label{fig:fooboar}
\end{figure} \end{figure}
Fooboar is a young and highly engaged Fooboar is a young and highly engaged
boar (see \Cref{img:fooboar}).</code></pre> boar (see \Cref{fig:fooboar}).</code></pre>
<p>The <code>\cref</code> command automatically inserts suitable prefixes.</p> <p>The <code>\cref</code> command automatically inserts suitable prefixes.</p>
</div> </div>

View File

@ -9,6 +9,8 @@ This program is meant to be used as a git submodule of your actual presentation
Make sure to have python3 and pandoc (the same version for all developers!) installed. Make sure to have python3 and pandoc (the same version for all developers!) installed.
Next, we can install all requirements: Next, we can install all requirements:
$ python3 -m venv venv
$ source venv/bin/activate
$ cd onpoint $ cd onpoint
$ pip3 install -r requirements.txt $ pip3 install -r requirements.txt

View File

@ -1,3 +1,3 @@
pypandoc==1.4 pypandoc==1.13
lxml==4.8.0 lxml==5.2.0
pyyaml==6.0 pyyaml==6.0.1

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 128 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 128 KiB

View File

@ -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}

View File

@ -540,7 +540,7 @@ Bildquelle: <a href="https://xkcd.com/1341/">xkcd</a>
<div class="layout-content"> <div class="layout-content">
<h2>Backslash <h2>Backslash
</h2> </h2>
<p>Den Backslash erzeugt ihr mit folgender Tastenkombination:</p> <p>Den Backslash erzeugt ihr auf deutschen Tastaturen mit folgender Tastenkombination:</p>
<p><kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)</p> <p><kbd>AltGr</kbd> + <kbd>ß</kbd> (Windows/Linux)</p>
<p><kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>7</kbd> (MacOS)</p> <p><kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>7</kbd> (MacOS)</p>
@ -865,7 +865,7 @@ Mein Lieblingsrezept
<li>Je nachdem, welche Dokumentenklasse man verwendet, ändert sich das Layout der generierten PDF.</li> <li>Je nachdem, welche Dokumentenklasse man verwendet, ändert sich das Layout der generierten PDF.</li>
<li>Die korrekt geschriebenen Dokumentenklassen richten sich nach US-amerikanischen Layout-Normen.</li> <li>Die korrekt geschriebenen Dokumentenklassen richten sich nach US-amerikanischen Layout-Normen.</li>
<li> <li>
<strong><code>src</code></strong>-Dokumentenklassen versuchen europäische Normen abzubilden.</li> <strong><code>scr</code></strong>-Dokumentenklassen versuchen europäische Normen abzubilden.</li>
</ul> </ul>
<p>Folgende Dokumentenklassen stehen zur Verfügung:</p> <p>Folgende Dokumentenklassen stehen zur Verfügung:</p>
<ul> <ul>
@ -2226,7 +2226,7 @@ Guter Flattersatz ist noch schwieriger als guter Blocksatz, daher lieber vermeid
<h2>Formel-Umgebungen 🧮 <h2>Formel-Umgebungen 🧮
</h2> </h2>
<pre class="lang-tex hljs"><code>$2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$</code></pre> <pre class="lang-tex hljs"><code>$2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$</code></pre>
<p>Mathematische Formeln können <strong>nur im sogenannten Mathmode</strong> gesetzt werden, der inline durch zwei Dollarzeichen aktiviert wird. Außerdem gibt es eine Blockumgebung:</p> <p>Mathematische Formeln können <strong>nur im sogenannten Mathmode</strong> gesetzt werden. Hierfür werden sie durch Dollarzeichen eingerahmt. Außerdem gibt es eine Blockumgebung:</p>
<pre class="lang-tex hljs"><code>\begin{equation} <pre class="lang-tex hljs"><code>\begin{equation}
2 \sqrt{\frac{\pi^2}{3} \cdot c_2} 2 \sqrt{\frac{\pi^2}{3} \cdot c_2}
\end{equation}</code></pre> \end{equation}</code></pre>
@ -2988,10 +2988,10 @@ wiki/Eber}}</code></pre>
<pre class="hljs lang-tex"><code>\begin{figure}[H] <pre class="hljs lang-tex"><code>\begin{figure}[H]
\includegraphics % … \includegraphics % …
\caption{Unser Maskottchen Fooboar} \caption{Unser Maskottchen Fooboar}
\label{img:fooboar} \label{fig:fooboar}
\end{figure} \end{figure}
Wie man in Abbildung \ref{img:fooboar} …</code></pre> Wie man in Abbildung \ref{fig:fooboar} …</code></pre>
</div> </div>
<div class="layout-preview"> <div class="layout-preview">
@ -3010,11 +3010,11 @@ Wie man in Abbildung \ref{img:fooboar} …</code></pre>
<pre class="hljs lang-tex"><code>\begin{figure}[H] <pre class="hljs lang-tex"><code>\begin{figure}[H]
\includegraphics % … \includegraphics % …
\caption{Unser Maskottchen Fooboar} \caption{Unser Maskottchen Fooboar}
\label{img:fooboar} \label{fig:fooboar}
\end{figure} \end{figure}
Fooboar ist ein sehr engagierter Fooboar ist ein sehr engagierter
Jungeber (siehe \Cref{img:fooboar}).</code></pre> Jungeber (siehe \Cref{fig:fooboar}).</code></pre>
<p>Der Befehl <code>\cref</code> fügt selbstständig die passende Abkürzung ein.</p> <p>Der Befehl <code>\cref</code> fügt selbstständig die passende Abkürzung ein.</p>
</div> </div>

View File

@ -9,6 +9,8 @@ This program is meant to be used as a git submodule of your actual presentation
Make sure to have python3 and pandoc (the same version for all developers!) installed. Make sure to have python3 and pandoc (the same version for all developers!) installed.
Next, we can install all requirements: Next, we can install all requirements:
$ python3 -m venv venv
$ source venv/bin/activate
$ cd onpoint $ cd onpoint
$ pip3 install -r requirements.txt $ pip3 install -r requirements.txt

View File

@ -1,3 +1,3 @@
pypandoc==1.4 pypandoc==1.13
lxml==4.8.0 lxml==5.2.0
pyyaml==6.0 pyyaml==6.0.1

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 128 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 128 KiB

View File

@ -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}