Merge branch 'master' of git.stuve-bamberg.de:latex/latex-wochenende
This commit is contained in:
commit
12b532fac0
@ -364,6 +364,15 @@ table {
|
||||
table th:last-child, table td:last-child {
|
||||
padding-right: .1em; }
|
||||
|
||||
.layout-content-only table {
|
||||
border-spacing: 0;
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.layout-content-only table tr > *:first-child {
|
||||
padding-left: .3rem;
|
||||
padding-right: .3rem; }
|
||||
|
||||
.box, blockquote {
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square)); }
|
||||
|
||||
@ -457,6 +457,18 @@ table {
|
||||
}
|
||||
}
|
||||
|
||||
.layout-content-only table {
|
||||
border-spacing: 0;
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
tr>*:first-child {
|
||||
padding-left: .3rem;
|
||||
padding-right: .3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.box, blockquote {
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding: .8em .1em .1em calc(var(--margin) * var(--square));
|
||||
|
||||
@ -6,17 +6,17 @@
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h3>Präambel und Dokumentumgebung</h3>
|
||||
<div class="layout-two-columns">
|
||||
<div class="layout-title">Präambel und Dokumentumgebung</div>
|
||||
<div class="layout-column-one">
|
||||
<p>👁 Ein mit LaTeX gesetztes Dokument besteht aus zwei Teilen.</p>
|
||||
<ul class="fragment">
|
||||
<li><b>Präambel</b>: globale Einstellungen (Dokumentklasse, Encoding, Sprache, Seitenformat, zusäzliche Pakete, ...) und</li>
|
||||
<li><b>Dokumentumgebung</b>: textueller Inhalt des Dokuments.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<pre class="lang-tex hljs" data-sourcefile="hallo.tex"><code>\documentclass{scrartcl}
|
||||
<div class="layout-column-two">
|
||||
<pre class="lang-tex hljs"><code>\documentclass{scrartcl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[ngerman]{babel}
|
||||
@ -143,7 +143,6 @@ Text in Sprache B innerhalb eines Textes
|
||||
|
||||
\selectlanguage{english}
|
||||
\today
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
@ -155,7 +154,7 @@ Text in Sprache B innerhalb eines Textes
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Absätze</h2>
|
||||
<h2>Fließtext</h2>
|
||||
<pre class="lang-tex hljs"><code>Fließtext kann direkt in den Quelltext ↲
|
||||
geschrieben werden. ↲
|
||||
Einfache Zeilenumbrüche ↲
|
||||
@ -229,13 +228,37 @@ nichts verloren.</code></pre>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-wide-content">
|
||||
<div class="layout-content">
|
||||
<h2>Titelei</h2>
|
||||
<pre class="lang-tex hljs" data-source="title.tex"><code>\title{Die Welt der Trüffel}
|
||||
\author{Fooboar Rüssel \\\\ Fachschaft WIAI\thanks{WIe AIn Profi}, Otto-Friedrich-Universität Bamberg}
|
||||
\date{\today}
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\end{document}</code></pre>
|
||||
<ul>
|
||||
<li>In der Präambel werden die Werte für die Einträge gespeichert.</li>
|
||||
<li>Das Setzen des Titels erfolgt in der Dokumentumgebung mit dem Befehl <code>\maketitle</code>.</li>
|
||||
<li>Die genaue Gestaltung hängt ab von der verwendeten Dokumentklasse.</li>
|
||||
<li>Mehrere Autoren werden mit <code>\and</code> getrennt.</li>
|
||||
<li>Wird kein Datum angegeben, wird per default das aktuelle Datum gesetzt. Dies kann mit <code>\date{}</code> vermieden werden.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Titelei</h2>
|
||||
<pre data-source="title.tex"><code class="lang-tex hljs">\documentclass[ngerman]{scrartcl}
|
||||
<pre class="lang-tex hljs" data-source="title.tex"><code>\documentclass[ngerman]{scrartcl}
|
||||
\usepackage{babel}
|
||||
\author{Fooboar Rüssel}
|
||||
\title{Die Welt der Trüffel}
|
||||
\author{Fooboar Rüssel \\\\ Fachschaft
|
||||
WIAI\thanks{WIe AIn Profi},
|
||||
Otto-Friedrich-Universität Bamberg}
|
||||
\date{\today}
|
||||
\begin{document}
|
||||
\maketitle
|
||||
@ -273,7 +296,7 @@ Mein Lieblingsrezept
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Inhaltsverzeichnis</h2>
|
||||
<pre data-source="title.tex"><code class="lang-tex hljs">\documentclass[ngerman]{scrartcl}
|
||||
<pre class="lang-tex hljs" data-source="title.tex"><code>\documentclass[ngerman]{scrartcl}
|
||||
\usepackage{babel}
|
||||
\begin{document}
|
||||
\tableofcontents
|
||||
@ -325,9 +348,10 @@ Mein Lieblingsrezept
|
||||
|
||||
---
|
||||
|
||||
|
||||
<div class="layout-only">
|
||||
<div class="layout-content">
|
||||
<h2 data-category="Aufgabe">2. Grundstruktur des Skripts anpassen</h2>
|
||||
<h2 data-category="⌨️ Aufgabe">2. Grundstruktur des Skripts anpassen</h2>
|
||||
<ul>
|
||||
<li class="fragment">Füge ein Inhaltsverzeichnis in das Skript ein.</li>
|
||||
<li class="fragment">Füge im 1. Kapitel xxxxx mehrere neue Absätze mit <code>\section{}</code> und <code>\subsection{}</code> ein und beobachte, was im Inhaltsverzeichnis passiert.</li>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[ngerman]{babel}
|
||||
\author{Fooboar Rüssel}
|
||||
\author{Fooboar Rüssel \\ Fachschaft WIAI\thanks{WIe AIn Profi}\\ Otto-Friedrich-Universität Bamberg}
|
||||
\title{Die Welt der Trüffel}
|
||||
\date{\today}
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Geordnete Listen</h2>
|
||||
<h2>Geordnete Listen und Definitionslisten</h2>
|
||||
<pre class="lang-tex hljs"><code>\begin{enumerate}
|
||||
\item die Zwiebeln in einem Topf anbraten
|
||||
\item passierte Tomaten, Möhren und Erbsen dazugeben und aufkochen
|
||||
@ -37,23 +37,13 @@
|
||||
\item in einer Auflaufform abwechselnd Béchamelsauce, Nudelplatten und Gemüsesoße stapeln
|
||||
\item in Scheiben geschnittenen Mozzarella darauf verteilen und im Ofen backen
|
||||
\end{enumerate}</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/08/enumerate-crop.svg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Definitionslisten</h2>
|
||||
<pre class="lang-tex hljs"><code>\begin{description}
|
||||
\item [Béchamelsauce] Béchamelsauce, Sauce Béchamel oder Milchsauce ist eine helle Sauce aus Milch, Butter und Mehl, die meist zu Gemüse, Kartoffeln oder Eierspeisen serviert wird. Als klassische Grundsauce findet sie variiert bei vielen Gerichten Verwendung. (siehe \url{https://de.wikipedia.org/wiki/B%C3%A9chamelsauce})
|
||||
\item [Lasagne] Als Lasagne (Plural Lasagnen) werden sowohl besonders breite Bandnudeln als auch der mehrere Teigschichten (Nudelplatten) beinhaltende Auflauf bezeichnet. (siehe \url{https://de.wikipedia.org/wiki/Lasagne})
|
||||
\end{description}</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<div class="layout-preview" style="display: flex; flex-direction: column;">
|
||||
<img src="sections/german/08/enumerate-crop.svg" style="margin-bottom: 0;">
|
||||
<img src="sections/german/08/definition-crop.svg">
|
||||
</div>
|
||||
</div>
|
||||
@ -89,7 +79,6 @@
|
||||
<h2>Verschachtelte Listen</h2>
|
||||
<p>Listen lassen sich beliebig verschachteln.</p>
|
||||
<pre class="lang-tex hljs"><code>\begin{compactitem}
|
||||
\item Nudelplatten
|
||||
\item Gemüse \begin{compactitem}
|
||||
\item Passierte Tomaten
|
||||
\item Möhren
|
||||
@ -100,12 +89,8 @@
|
||||
\item Oregano
|
||||
\item Basilikum
|
||||
\item Rosmarin
|
||||
\item Salz
|
||||
\item Pfeffer
|
||||
\end{compactenum}
|
||||
\item Mozzarella
|
||||
\item Mehl
|
||||
\item Milch
|
||||
% ...
|
||||
\end{compactitem}</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
|
||||
@ -1 +1,67 @@
|
||||
TODO: Formeln (inline und block)
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h1>🧮<br/>Mathematische Formeln</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Formel-Umgebungen</h2>
|
||||
<pre class="lang-tex hljs"><code>$2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$</code></pre>
|
||||
<p>Die mathematische Umgebung wird durch zwei Dollarzeichen abgegrenzt. 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>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/09/simple-maths-crop.svg" style="max-height: 100%;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Einige Beispiele</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Quelltext</th>
|
||||
<th>Ergebnis</th>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>\sqrt{16}$</code></td>
|
||||
<td>$\sqrt{16}$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>\frac{3}{4}$</code></td>
|
||||
<td>$\frac{3}{4}$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>e^{\pi}$</code></td>
|
||||
<td>$e^{\pi}$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>\sum\_{i=1}^{n}x^2$</code></td>
|
||||
<td>$\sum_{i=1}^{n} x^2$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>12 \leq 4 x^2 + 13$</code></td>
|
||||
<td>$12 \leq 4 x^2 + 13$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>(A \cup B) \cap C$</code></td>
|
||||
<td>$(A \cup B) \cap C$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>(A \lor B) \land C$</code></td>
|
||||
<td>$(A \lor B) \land C$</td>
|
||||
</tr>
|
||||
<tr class="fragment">
|
||||
<td>`$`<code>(A \cdot B) \times C$</code></td>
|
||||
<td>$(A \cdot B) \times C$</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
80
sections/german/09/simple-maths-crop.svg
Normal file
80
sections/german/09/simple-maths-crop.svg
Normal file
@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="42pt" height="19pt" viewBox="0 0 42 19" version="1.1">
|
||||
<defs>
|
||||
<g>
|
||||
<symbol overflow="visible" id="glyph0-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph0-1">
|
||||
<path style="stroke:none;" d="M 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 L 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 Z M 4.46875 -1.734375 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph1-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph1-1">
|
||||
<path style="stroke:none;" d="M 10.171875 -0.203125 C 10.171875 -0.3125 10.09375 -0.40625 9.96875 -0.40625 C 9.8125 -0.40625 9.78125 -0.265625 9.734375 -0.140625 L 4.625 16.046875 L 2.484375 8.578125 L 1.09375 10.203125 L 1.25 10.34375 L 1.9375 9.546875 L 4.234375 17.546875 C 4.5625 17.546875 4.5625 17.546875 4.640625 17.3125 L 10.125 0 C 10.171875 -0.15625 10.171875 -0.203125 10.171875 -0.203125 Z M 10.171875 -0.203125 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph2-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph2-1">
|
||||
<path style="stroke:none;" d="M 4.484375 -2.796875 C 4.484375 -3 4.3125 -3 4.1875 -3 L 1.5625 -3 C 1.28125 -3 1.078125 -2.9375 0.765625 -2.640625 C 0.578125 -2.484375 0.3125 -2.109375 0.3125 -2.046875 C 0.3125 -1.96875 0.40625 -1.96875 0.4375 -1.96875 C 0.515625 -1.96875 0.515625 -1.984375 0.5625 -2.046875 C 0.90625 -2.53125 1.34375 -2.53125 1.5 -2.53125 L 1.921875 -2.53125 C 1.703125 -1.765625 1.328125 -0.9375 1.125 -0.515625 C 1.078125 -0.4375 1.015625 -0.28125 0.984375 -0.265625 C 0.984375 -0.234375 0.96875 -0.203125 0.96875 -0.15625 C 0.96875 -0.046875 1.046875 0.0625 1.21875 0.0625 C 1.484375 0.0625 1.5625 -0.25 1.734375 -0.875 L 2.171875 -2.53125 L 3 -2.53125 C 2.890625 -2.109375 2.734375 -1.484375 2.734375 -0.921875 C 2.734375 -0.640625 2.78125 -0.453125 2.8125 -0.3125 C 2.921875 0.046875 3.015625 0.0625 3.125 0.0625 C 3.296875 0.0625 3.453125 -0.078125 3.453125 -0.25 C 3.453125 -0.296875 3.4375 -0.328125 3.40625 -0.390625 C 3.265625 -0.65625 3.140625 -1.046875 3.140625 -1.625 C 3.140625 -1.75 3.140625 -2.03125 3.234375 -2.53125 L 4.109375 -2.53125 C 4.234375 -2.53125 4.296875 -2.53125 4.375 -2.578125 C 4.46875 -2.65625 4.484375 -2.765625 4.484375 -2.796875 Z M 4.484375 -2.796875 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph3-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph3-1">
|
||||
<path style="stroke:none;" d="M 2.9375 -0.96875 L 2.71875 -0.96875 C 2.71875 -0.875 2.65625 -0.5625 2.578125 -0.515625 C 2.546875 -0.484375 2.125 -0.484375 2.046875 -0.484375 L 1.078125 -0.484375 C 1.40625 -0.71875 1.765625 -1 2.0625 -1.203125 C 2.515625 -1.515625 2.9375 -1.796875 2.9375 -2.328125 C 2.9375 -2.96875 2.328125 -3.3125 1.625 -3.3125 C 0.953125 -3.3125 0.453125 -2.9375 0.453125 -2.4375 C 0.453125 -2.1875 0.671875 -2.140625 0.75 -2.140625 C 0.875 -2.140625 1.03125 -2.234375 1.03125 -2.4375 C 1.03125 -2.609375 0.90625 -2.71875 0.75 -2.71875 C 0.890625 -2.953125 1.1875 -3.09375 1.515625 -3.09375 C 2 -3.09375 2.40625 -2.8125 2.40625 -2.328125 C 2.40625 -1.90625 2.109375 -1.578125 1.734375 -1.265625 L 0.515625 -0.234375 C 0.46875 -0.1875 0.453125 -0.1875 0.453125 -0.15625 L 0.453125 0 L 2.765625 0 Z M 2.9375 -0.96875 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph4-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph4-1">
|
||||
<path style="stroke:none;" d="M 3.578125 -1.203125 C 3.578125 -1.75 3.140625 -2.296875 2.375 -2.453125 C 3.09375 -2.71875 3.359375 -3.234375 3.359375 -3.671875 C 3.359375 -4.21875 2.734375 -4.625 1.953125 -4.625 C 1.1875 -4.625 0.59375 -4.25 0.59375 -3.6875 C 0.59375 -3.453125 0.75 -3.328125 0.953125 -3.328125 C 1.171875 -3.328125 1.3125 -3.484375 1.3125 -3.671875 C 1.3125 -3.875 1.171875 -4.03125 0.953125 -4.046875 C 1.203125 -4.34375 1.671875 -4.421875 1.9375 -4.421875 C 2.25 -4.421875 2.6875 -4.265625 2.6875 -3.671875 C 2.6875 -3.375 2.59375 -3.046875 2.40625 -2.84375 C 2.1875 -2.578125 1.984375 -2.5625 1.640625 -2.53125 C 1.46875 -2.515625 1.453125 -2.515625 1.421875 -2.515625 C 1.421875 -2.515625 1.34375 -2.5 1.34375 -2.421875 C 1.34375 -2.328125 1.40625 -2.328125 1.53125 -2.328125 L 1.90625 -2.328125 C 2.453125 -2.328125 2.84375 -1.953125 2.84375 -1.203125 C 2.84375 -0.34375 2.328125 -0.078125 1.9375 -0.078125 C 1.65625 -0.078125 1.03125 -0.15625 0.75 -0.578125 C 1.078125 -0.578125 1.15625 -0.8125 1.15625 -0.96875 C 1.15625 -1.1875 0.984375 -1.34375 0.765625 -1.34375 C 0.578125 -1.34375 0.375 -1.21875 0.375 -0.9375 C 0.375 -0.28125 1.09375 0.140625 1.9375 0.140625 C 2.90625 0.140625 3.578125 -0.515625 3.578125 -1.203125 Z M 3.578125 -1.203125 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph4-2">
|
||||
<path style="stroke:none;" d="M 3.515625 -1.265625 L 3.28125 -1.265625 C 3.265625 -1.109375 3.1875 -0.703125 3.09375 -0.640625 C 3.046875 -0.59375 2.515625 -0.59375 2.40625 -0.59375 L 1.125 -0.59375 C 1.859375 -1.234375 2.109375 -1.4375 2.515625 -1.765625 C 3.03125 -2.171875 3.515625 -2.609375 3.515625 -3.265625 C 3.515625 -4.109375 2.78125 -4.625 1.890625 -4.625 C 1.03125 -4.625 0.4375 -4.015625 0.4375 -3.375 C 0.4375 -3.03125 0.734375 -2.984375 0.8125 -2.984375 C 0.96875 -2.984375 1.171875 -3.109375 1.171875 -3.359375 C 1.171875 -3.484375 1.125 -3.734375 0.765625 -3.734375 C 0.984375 -4.21875 1.453125 -4.375 1.78125 -4.375 C 2.484375 -4.375 2.84375 -3.828125 2.84375 -3.265625 C 2.84375 -2.65625 2.40625 -2.1875 2.1875 -1.9375 L 0.515625 -0.265625 C 0.4375 -0.203125 0.4375 -0.1875 0.4375 0 L 3.3125 0 Z M 3.515625 -1.265625 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph5-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph5-1">
|
||||
<path style="stroke:none;" d="M 1.90625 -2.5 C 1.90625 -2.78125 1.671875 -3.015625 1.390625 -3.015625 C 1.09375 -3.015625 0.859375 -2.78125 0.859375 -2.5 C 0.859375 -2.203125 1.09375 -1.96875 1.390625 -1.96875 C 1.671875 -1.96875 1.90625 -2.203125 1.90625 -2.5 Z M 1.90625 -2.5 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph6-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph6-1">
|
||||
<path style="stroke:none;" d="M 4.28125 -1.0625 C 4.28125 -1.125 4.234375 -1.203125 4.171875 -1.203125 C 4.109375 -1.203125 4.09375 -1.171875 4.03125 -1.09375 C 3.25 -0.109375 2.15625 -0.109375 2.046875 -0.109375 C 1.421875 -0.109375 1.140625 -0.59375 1.140625 -1.203125 C 1.140625 -1.609375 1.34375 -2.578125 1.6875 -3.1875 C 2 -3.765625 2.546875 -4.1875 3.09375 -4.1875 C 3.421875 -4.1875 3.8125 -4.0625 3.953125 -3.78125 C 3.78125 -3.78125 3.65625 -3.78125 3.515625 -3.65625 C 3.34375 -3.5 3.328125 -3.328125 3.328125 -3.265625 C 3.328125 -3.015625 3.515625 -2.90625 3.703125 -2.90625 C 3.984375 -2.90625 4.25 -3.15625 4.25 -3.546875 C 4.25 -4.03125 3.78125 -4.40625 3.078125 -4.40625 C 1.734375 -4.40625 0.40625 -2.984375 0.40625 -1.578125 C 0.40625 -0.671875 0.984375 0.109375 2.03125 0.109375 C 3.453125 0.109375 4.28125 -0.953125 4.28125 -1.0625 Z M 4.28125 -1.0625 "/>
|
||||
</symbol>
|
||||
</g>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph0-1" x="-0.254" y="12.53"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph1-1" x="4.727" y="0.705"/>
|
||||
</g>
|
||||
<path style="fill:none;stroke-width:0.398;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.00140625 -0.0018125 L 27.165469 -0.0018125 " transform="matrix(1,0,0,-1,14.69,0.506)"/>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph2-1" x="15.885" y="8.607"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph3-1" x="20.794" y="6.615"/>
|
||||
</g>
|
||||
<path style="fill:none;stroke-width:0.398;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.00171875 -0.0000625 L 8.798594 -0.0000625 " transform="matrix(1,0,0,-1,15.885,10.039)"/>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph4-1" x="18.299" y="15.965"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph5-1" x="28.092" y="12.53"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph6-1" x="33.074" y="12.53"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph4-2" x="37.385" y="14.024"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.9 KiB |
80
sections/german/09/simple-maths-orig.svg
Normal file
80
sections/german/09/simple-maths-orig.svg
Normal file
@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="595.276pt" height="841.89pt" viewBox="0 0 595.276 841.89" version="1.1">
|
||||
<defs>
|
||||
<g>
|
||||
<symbol overflow="visible" id="glyph0-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph0-1">
|
||||
<path style="stroke:none;" d="M 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 L 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 Z M 4.46875 -1.734375 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph1-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph1-1">
|
||||
<path style="stroke:none;" d="M 10.171875 -0.203125 C 10.171875 -0.3125 10.09375 -0.40625 9.96875 -0.40625 C 9.8125 -0.40625 9.78125 -0.265625 9.734375 -0.140625 L 4.625 16.046875 L 2.484375 8.578125 L 1.09375 10.203125 L 1.25 10.34375 L 1.9375 9.546875 L 4.234375 17.546875 C 4.5625 17.546875 4.5625 17.546875 4.640625 17.3125 L 10.125 0 C 10.171875 -0.15625 10.171875 -0.203125 10.171875 -0.203125 Z M 10.171875 -0.203125 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph2-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph2-1">
|
||||
<path style="stroke:none;" d="M 4.484375 -2.796875 C 4.484375 -3 4.3125 -3 4.1875 -3 L 1.5625 -3 C 1.28125 -3 1.078125 -2.9375 0.765625 -2.640625 C 0.578125 -2.484375 0.3125 -2.109375 0.3125 -2.046875 C 0.3125 -1.96875 0.40625 -1.96875 0.4375 -1.96875 C 0.515625 -1.96875 0.515625 -1.984375 0.5625 -2.046875 C 0.90625 -2.53125 1.34375 -2.53125 1.5 -2.53125 L 1.921875 -2.53125 C 1.703125 -1.765625 1.328125 -0.9375 1.125 -0.515625 C 1.078125 -0.4375 1.015625 -0.28125 0.984375 -0.265625 C 0.984375 -0.234375 0.96875 -0.203125 0.96875 -0.15625 C 0.96875 -0.046875 1.046875 0.0625 1.21875 0.0625 C 1.484375 0.0625 1.5625 -0.25 1.734375 -0.875 L 2.171875 -2.53125 L 3 -2.53125 C 2.890625 -2.109375 2.734375 -1.484375 2.734375 -0.921875 C 2.734375 -0.640625 2.78125 -0.453125 2.8125 -0.3125 C 2.921875 0.046875 3.015625 0.0625 3.125 0.0625 C 3.296875 0.0625 3.453125 -0.078125 3.453125 -0.25 C 3.453125 -0.296875 3.4375 -0.328125 3.40625 -0.390625 C 3.265625 -0.65625 3.140625 -1.046875 3.140625 -1.625 C 3.140625 -1.75 3.140625 -2.03125 3.234375 -2.53125 L 4.109375 -2.53125 C 4.234375 -2.53125 4.296875 -2.53125 4.375 -2.578125 C 4.46875 -2.65625 4.484375 -2.765625 4.484375 -2.796875 Z M 4.484375 -2.796875 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph3-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph3-1">
|
||||
<path style="stroke:none;" d="M 2.9375 -0.96875 L 2.71875 -0.96875 C 2.71875 -0.875 2.65625 -0.5625 2.578125 -0.515625 C 2.546875 -0.484375 2.125 -0.484375 2.046875 -0.484375 L 1.078125 -0.484375 C 1.40625 -0.71875 1.765625 -1 2.0625 -1.203125 C 2.515625 -1.515625 2.9375 -1.796875 2.9375 -2.328125 C 2.9375 -2.96875 2.328125 -3.3125 1.625 -3.3125 C 0.953125 -3.3125 0.453125 -2.9375 0.453125 -2.4375 C 0.453125 -2.1875 0.671875 -2.140625 0.75 -2.140625 C 0.875 -2.140625 1.03125 -2.234375 1.03125 -2.4375 C 1.03125 -2.609375 0.90625 -2.71875 0.75 -2.71875 C 0.890625 -2.953125 1.1875 -3.09375 1.515625 -3.09375 C 2 -3.09375 2.40625 -2.8125 2.40625 -2.328125 C 2.40625 -1.90625 2.109375 -1.578125 1.734375 -1.265625 L 0.515625 -0.234375 C 0.46875 -0.1875 0.453125 -0.1875 0.453125 -0.15625 L 0.453125 0 L 2.765625 0 Z M 2.9375 -0.96875 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph4-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph4-1">
|
||||
<path style="stroke:none;" d="M 3.578125 -1.203125 C 3.578125 -1.75 3.140625 -2.296875 2.375 -2.453125 C 3.09375 -2.71875 3.359375 -3.234375 3.359375 -3.671875 C 3.359375 -4.21875 2.734375 -4.625 1.953125 -4.625 C 1.1875 -4.625 0.59375 -4.25 0.59375 -3.6875 C 0.59375 -3.453125 0.75 -3.328125 0.953125 -3.328125 C 1.171875 -3.328125 1.3125 -3.484375 1.3125 -3.671875 C 1.3125 -3.875 1.171875 -4.03125 0.953125 -4.046875 C 1.203125 -4.34375 1.671875 -4.421875 1.9375 -4.421875 C 2.25 -4.421875 2.6875 -4.265625 2.6875 -3.671875 C 2.6875 -3.375 2.59375 -3.046875 2.40625 -2.84375 C 2.1875 -2.578125 1.984375 -2.5625 1.640625 -2.53125 C 1.46875 -2.515625 1.453125 -2.515625 1.421875 -2.515625 C 1.421875 -2.515625 1.34375 -2.5 1.34375 -2.421875 C 1.34375 -2.328125 1.40625 -2.328125 1.53125 -2.328125 L 1.90625 -2.328125 C 2.453125 -2.328125 2.84375 -1.953125 2.84375 -1.203125 C 2.84375 -0.34375 2.328125 -0.078125 1.9375 -0.078125 C 1.65625 -0.078125 1.03125 -0.15625 0.75 -0.578125 C 1.078125 -0.578125 1.15625 -0.8125 1.15625 -0.96875 C 1.15625 -1.1875 0.984375 -1.34375 0.765625 -1.34375 C 0.578125 -1.34375 0.375 -1.21875 0.375 -0.9375 C 0.375 -0.28125 1.09375 0.140625 1.9375 0.140625 C 2.90625 0.140625 3.578125 -0.515625 3.578125 -1.203125 Z M 3.578125 -1.203125 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph4-2">
|
||||
<path style="stroke:none;" d="M 3.515625 -1.265625 L 3.28125 -1.265625 C 3.265625 -1.109375 3.1875 -0.703125 3.09375 -0.640625 C 3.046875 -0.59375 2.515625 -0.59375 2.40625 -0.59375 L 1.125 -0.59375 C 1.859375 -1.234375 2.109375 -1.4375 2.515625 -1.765625 C 3.03125 -2.171875 3.515625 -2.609375 3.515625 -3.265625 C 3.515625 -4.109375 2.78125 -4.625 1.890625 -4.625 C 1.03125 -4.625 0.4375 -4.015625 0.4375 -3.375 C 0.4375 -3.03125 0.734375 -2.984375 0.8125 -2.984375 C 0.96875 -2.984375 1.171875 -3.109375 1.171875 -3.359375 C 1.171875 -3.484375 1.125 -3.734375 0.765625 -3.734375 C 0.984375 -4.21875 1.453125 -4.375 1.78125 -4.375 C 2.484375 -4.375 2.84375 -3.828125 2.84375 -3.265625 C 2.84375 -2.65625 2.40625 -2.1875 2.1875 -1.9375 L 0.515625 -0.265625 C 0.4375 -0.203125 0.4375 -0.1875 0.4375 0 L 3.3125 0 Z M 3.515625 -1.265625 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph5-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph5-1">
|
||||
<path style="stroke:none;" d="M 1.90625 -2.5 C 1.90625 -2.78125 1.671875 -3.015625 1.390625 -3.015625 C 1.09375 -3.015625 0.859375 -2.78125 0.859375 -2.5 C 0.859375 -2.203125 1.09375 -1.96875 1.390625 -1.96875 C 1.671875 -1.96875 1.90625 -2.203125 1.90625 -2.5 Z M 1.90625 -2.5 "/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph6-0">
|
||||
<path style="stroke:none;" d=""/>
|
||||
</symbol>
|
||||
<symbol overflow="visible" id="glyph6-1">
|
||||
<path style="stroke:none;" d="M 4.28125 -1.0625 C 4.28125 -1.125 4.234375 -1.203125 4.171875 -1.203125 C 4.109375 -1.203125 4.09375 -1.171875 4.03125 -1.09375 C 3.25 -0.109375 2.15625 -0.109375 2.046875 -0.109375 C 1.421875 -0.109375 1.140625 -0.59375 1.140625 -1.203125 C 1.140625 -1.609375 1.34375 -2.578125 1.6875 -3.1875 C 2 -3.765625 2.546875 -4.1875 3.09375 -4.1875 C 3.421875 -4.1875 3.8125 -4.0625 3.953125 -3.78125 C 3.78125 -3.78125 3.65625 -3.78125 3.515625 -3.65625 C 3.34375 -3.5 3.328125 -3.328125 3.328125 -3.265625 C 3.328125 -3.015625 3.515625 -2.90625 3.703125 -2.90625 C 3.984375 -2.90625 4.25 -3.15625 4.25 -3.546875 C 4.25 -4.03125 3.78125 -4.40625 3.078125 -4.40625 C 1.734375 -4.40625 0.40625 -2.984375 0.40625 -1.578125 C 0.40625 -0.671875 0.984375 0.109375 2.03125 0.109375 C 3.453125 0.109375 4.28125 -0.953125 4.28125 -1.0625 Z M 4.28125 -1.0625 "/>
|
||||
</symbol>
|
||||
</g>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph0-1" x="139.746" y="138.42"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph1-1" x="144.727" y="126.595"/>
|
||||
</g>
|
||||
<path style="fill:none;stroke-width:0.398;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.00140625 0.00146875 L 27.165469 0.00146875 " transform="matrix(1,0,0,-1,154.69,126.396)"/>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph2-1" x="155.885" y="134.497"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph3-1" x="160.794" y="132.505"/>
|
||||
</g>
|
||||
<path style="fill:none;stroke-width:0.398;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.00171875 -0.0006875 L 8.798594 -0.0006875 " transform="matrix(1,0,0,-1,155.885,135.929)"/>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph4-1" x="158.299" y="141.855"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph5-1" x="168.092" y="138.42"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph6-1" x="173.074" y="138.42"/>
|
||||
</g>
|
||||
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
|
||||
<use xlink:href="#glyph4-2" x="177.385" y="139.914"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.0 KiB |
12
sections/german/09/simple-maths.tex
Normal file
12
sections/german/09/simple-maths.tex
Normal file
@ -0,0 +1,12 @@
|
||||
\documentclass[a4paper]{article}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{amssymb,amsmath}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{hyperref}
|
||||
\begin{document}
|
||||
\thispagestyle{empty}
|
||||
|
||||
$2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$
|
||||
|
||||
\end{document}
|
||||
@ -1 +1,31 @@
|
||||
TODO: Listings
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Codeblöcke mit Syntaxhighlighting</h2>
|
||||
<p>Paket <code>minted</code></p>
|
||||
<p>Voraussetzungen: das Python-Paket <code>Pygments</code></p>
|
||||
<p>--shell-escape Flag hinzufügen (TeXstudio: Options > Configure TeXstudio > Commands "pdflatex -syntex=1 -interaction=nonstopmode %.tex" in "pdflatex -syntex=1 -interaction=nonstopmode --shell-escape %.tex" ändern)</p>
|
||||
<pre class="lang-tex hljs">
|
||||
<code>
|
||||
\begin{minted}{java}
|
||||
public class Duck {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hallo,Welt!");
|
||||
}
|
||||
}
|
||||
\end{minted}
|
||||
|
||||
\begin{minted}{python}
|
||||
def printHello:
|
||||
print("Hallo, Welt!")
|
||||
\end{minted}
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="preview-layout">
|
||||
<img src="sections/german/10/minted.png">
|
||||
</div>
|
||||
|
||||
|
||||
@ -6,16 +6,6 @@
|
||||
|
||||
---
|
||||
|
||||
Weitere Umgebungen
|
||||
|
||||
* Abstracts (für Paper)
|
||||
* Algorithmen
|
||||
* Blockquotes
|
||||
* Chemische Strukturformeln
|
||||
* Konstituentenbäume
|
||||
* Abhängigkeitsbäume
|
||||
* Indizes
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
@ -82,7 +72,6 @@ child { node {home}
|
||||
\end{tikzpicture}
|
||||
</code>
|
||||
</pre>
|
||||
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/relative_path.png">
|
||||
@ -91,6 +80,49 @@ child { node {home}
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>paralist</h2>
|
||||
<p>Paket für platzsparendere Listen</p>
|
||||
<pre class="lang-tex hljs">
|
||||
<code>
|
||||
\begin{asparaenum} %enumerate
|
||||
\item Erdbeeren
|
||||
\item Stachelbeeren
|
||||
\item Eisbären
|
||||
\end{asparaenum}
|
||||
|
||||
\begin{asparaitem} %itemize
|
||||
\item Erdbeeren
|
||||
\item Stachelbeeren
|
||||
\item Eisbären
|
||||
\end{asparaitem}
|
||||
</code>
|
||||
</div>
|
||||
<div>
|
||||
<img src="sections/german/15/paralist.png">
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Linguistik</h2>
|
||||
<p>Beispiel Konstituentenbäume mit <code>qtree</code></p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<pre class="lang-tex hljs">
|
||||
<code>
|
||||
\Tree [.S [.NP LaTeX ] [.VP [.V is ] [.NP fun ] ] ]
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/15/constituency_tree.png">
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2><a href="https://ctan.org">CTAN - Comprehensive TeX Archive Network</a></h2>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user