updated latex weekend slides
@ -539,7 +539,7 @@ Image source: <a href="https://xkcd.com/1341/">xkcd</a>
|
||||
<div class="layout-content">
|
||||
<h2>Backslash
|
||||
</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>Alt</kbd> + <kbd>Shift</kbd> + <kbd>7</kbd> (MacOS)</p>
|
||||
|
||||
@ -732,7 +732,7 @@ Place of birth: Milwaukee, Wisconsin
|
||||
<article>
|
||||
<div class="layout-wide-content">
|
||||
<div class="layout-content">
|
||||
<h2>Front matter
|
||||
<h2>Title page
|
||||
</h2>
|
||||
<pre class="lang-tex hljs" data-source="title.tex"><code>\title{The World of Truffles}
|
||||
\author{Fooboar Rüssel \and Fachschaft WIAI}
|
||||
@ -743,7 +743,7 @@ Place of birth: Milwaukee, Wisconsin
|
||||
<ul>
|
||||
<li>The values for the entries are stored in the preamble.</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>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>
|
||||
@ -863,7 +863,7 @@ My favorite recipe
|
||||
<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>
|
||||
<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>
|
||||
<p>Following document classes are available:</p>
|
||||
<ul>
|
||||
@ -2325,7 +2325,7 @@ result
|
||||
<tbody>
|
||||
<tr class="odd">
|
||||
<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 class="even">
|
||||
<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]
|
||||
\includegraphics % …
|
||||
\caption{Our mascot Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
As you can see in figure
|
||||
\ref{img:fooboar}, …</code></pre>
|
||||
As you can see in Figure
|
||||
\ref{fig:fooboar}, …</code></pre>
|
||||
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
@ -3056,11 +3056,11 @@ As you can see in figure
|
||||
<pre class="hljs lang-tex"><code>\begin{figure}[H]
|
||||
\includegraphics % …
|
||||
\caption{Our mascot Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
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>
|
||||
|
||||
</div>
|
||||
|
||||
@ -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.
|
||||
Next, we can install all requirements:
|
||||
|
||||
$ python3 -m venv venv
|
||||
$ source venv/bin/activate
|
||||
$ cd onpoint
|
||||
$ pip3 install -r requirements.txt
|
||||
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
pypandoc==1.4
|
||||
lxml==4.8.0
|
||||
pyyaml==6.0
|
||||
pypandoc==1.13
|
||||
lxml==5.2.0
|
||||
pyyaml==6.0.1
|
||||
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 128 KiB |
@ -15,6 +15,6 @@
|
||||
\label{img:fooboar}
|
||||
\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}
|
||||
|
||||
@ -540,7 +540,7 @@ Bildquelle: <a href="https://xkcd.com/1341/">xkcd</a>
|
||||
<div class="layout-content">
|
||||
<h2>Backslash
|
||||
</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>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>Die korrekt geschriebenen Dokumentenklassen richten sich nach US-amerikanischen Layout-Normen.</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>
|
||||
<p>Folgende Dokumentenklassen stehen zur Verfügung:</p>
|
||||
<ul>
|
||||
@ -2226,7 +2226,7 @@ Guter Flattersatz ist noch schwieriger als guter Blocksatz, daher lieber vermeid
|
||||
<h2>Formel-Umgebungen 🧮
|
||||
</h2>
|
||||
<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}
|
||||
2 \sqrt{\frac{\pi^2}{3} \cdot c_2}
|
||||
\end{equation}</code></pre>
|
||||
@ -2988,10 +2988,10 @@ wiki/Eber}}</code></pre>
|
||||
<pre class="hljs lang-tex"><code>\begin{figure}[H]
|
||||
\includegraphics % …
|
||||
\caption{Unser Maskottchen Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
Wie man in Abbildung \ref{img:fooboar} …</code></pre>
|
||||
Wie man in Abbildung \ref{fig:fooboar} …</code></pre>
|
||||
|
||||
</div>
|
||||
<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]
|
||||
\includegraphics % …
|
||||
\caption{Unser Maskottchen Fooboar}
|
||||
\label{img:fooboar}
|
||||
\label{fig:fooboar}
|
||||
\end{figure}
|
||||
|
||||
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>
|
||||
|
||||
</div>
|
||||
|
||||
@ -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.
|
||||
Next, we can install all requirements:
|
||||
|
||||
$ python3 -m venv venv
|
||||
$ source venv/bin/activate
|
||||
$ cd onpoint
|
||||
$ pip3 install -r requirements.txt
|
||||
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
pypandoc==1.4
|
||||
lxml==4.8.0
|
||||
pyyaml==6.0
|
||||
pypandoc==1.13
|
||||
lxml==5.2.0
|
||||
pyyaml==6.0.1
|
||||
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 128 KiB |
@ -15,6 +15,6 @@
|
||||
\label{img:fooboar}
|
||||
\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}
|
||||
|
||||