157 lines
5.4 KiB
Markdown
157 lines
5.4 KiB
Markdown
<div class="layout-content-only">
|
|
<div class="layout-content">
|
|
<h1>Text­auszeichnung</h1>
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-and-preview">
|
|
<div class="layout-content">
|
|
<h2>Hervorhebungen</h2>
|
|
<p>TODO `\emph{}` und was äquivalentes zu `<strong>`</p>
|
|
</div>
|
|
<div class="layout-preview">
|
|
TODO
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-only">
|
|
<div class="layout-content">
|
|
<h2>Hervorhebungen schachteln</h2>
|
|
<p>Innerhalb kursiver Hervorhebung kann man auch den Befehl `\emph{text}` verwenden, um Passagen von der Kursivierung auszunehmen:</p>
|
|
<pre class="lang-tex hljs"><code>\textit{Very \emph{Important} Stuff}</code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-and-preview">
|
|
<div class="layout-content">
|
|
<h2>Optische Auszeichnungen</h2>
|
|
<p>
|
|
<table>
|
|
<tr><th>Bezeichnung</th><th>Befehl</th></tr>
|
|
<tr><td>fett (bold face)</td><td><code>\textbf{Very Important Stuff}</code></td></tr>
|
|
<tr><td>kursiv (italics)</td><td><code>\textit{Very Important Stuff}</code></td></tr>
|
|
<tr><td>Kapitälchen (small capitals)</td><td><code>\textsc{Very Important Stuff}</code></td></tr>
|
|
<tr><td>dicktengleich (teletypefont)</td><td><code>\texttt{Very Important Stuff}</code></td></tr>
|
|
<tr><td>geneigt (slanted)</td><td><code>\textsl{Very Important Stuff)</code></td></tr>
|
|
<tr><td>unterstrichen</td><td><code>\underline{Very Important Stuff}</code></td></tr>
|
|
<tr><td>hochgestellt</td><td><code>\textsuperscript{Very Important Stuff}</code></td></tr>
|
|
<tr><td>tiefgestellt</td><td><code>\textsubscript{Very Important Stuff}</code></td></tr>
|
|
</table>
|
|
</div>
|
|
<div class="layout-preview">
|
|
<img src="sections/german/06/hervorhebungen.png">
|
|
<img src="sections/german/06/hervorhebungen-crop.svg">
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-only">
|
|
<div class="layout-content">
|
|
<h2>Auszeichnungen schachteln</h2>
|
|
<p>Problemlos möglich:</p>
|
|
<pre class="lang-tex hljs"><code>\textbf{Very \textit{Important Stuff}}</code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-only">
|
|
<div class="layout-content">
|
|
<h2>Schriftgröße</h2>
|
|
<div class="box warning">
|
|
<p><strong>Ein gutgemeinter Rat: Better Call ~~Saul~~ LaTeX!</strong></p>
|
|
<p>Vgl. Abschnitt zu Syntax und Semantik:<br>
|
|
Konsistentes Aussehen über das gesamte Dokument hinweg gewünscht?</p>
|
|
<p>Voreinstellungen von LaTeX zur Schriftgröße verschiedener Textelemente (Titel, Fließtext, Fußnoten) vertrauen!<br>
|
|
Das heißt im Umkehrschluss: Möglichst wenig manuell an Schriftgrößen herumschrauben.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-only">
|
|
<div class="layout-content">
|
|
<h2>Schriftgröße</h2>
|
|
<h3>normalsize</h3>
|
|
<ul>
|
|
<li>Wird für den Fließtext verwendet</li>
|
|
<li>Standard: 10pt</li>
|
|
<li>Kann im Header folgendermaßen verändert werden:</li>
|
|
</ul>
|
|
<pre class="lang-tex hljs"><code>\documentclass[12pt]{article}</code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-and-preview">
|
|
<div class="layout-content">
|
|
<h2>Schriftgröße</h2>
|
|
<h3>Voreingestellte Schriftgrößen</h3>
|
|
<p>Syntax:</p>
|
|
<pre class="lang-tex hljs"><code>{\fontsize ein Textabschnitt}</code></pre>
|
|
<p>Zur Auswahl: immer relativ zu normalsize</p>
|
|
<pre class="lang-tex hljs"><code>{\tiny Wenn}
|
|
{\footnotesize du}
|
|
{\small das}
|
|
{\normalsize lesen}
|
|
{\large kannst,}
|
|
{\Large brauchst}
|
|
{\LARGE du}
|
|
{\huge keine}
|
|
{\Huge Brille.}</code></pre>
|
|
</div>
|
|
<div class="layout-preview">
|
|
<img src="sections/german/06/schriftgroesse_optiker.png">
|
|
</div>
|
|
|
|
---
|
|
|
|
<div class="layout-content-and-preview">
|
|
<div class="layout-content">
|
|
<h2>Schriftgröße</h2>
|
|
<h3>Manuelle Konfiguration möglich</h3>
|
|
<pre class="lang-tex hljs"><code>\fontsize{<Schriftgröße>}{<Zeilenhöhe>}
|
|
\selectfont</code></pre>
|
|
<p>Beispiel:</p>
|
|
<pre class="lang-tex hljs"><code>Das ist Text in normaler Schriftgröße.
|
|
|
|
\fontsize{1cm}{1.25cm}\selectfont
|
|
Das ist eine Textpassage in
|
|
wirklich riesiger Schrift.
|
|
|
|
\normalsize
|
|
Back to normal.</code></pre>
|
|
</div>
|
|
<div class="layout-preview">
|
|
<img src="sections/german/06/schriftgroesse_fontsize_befehl.png">
|
|
</div>
|
|
</div>
|
|
|
|
---
|
|
|
|
## URLs
|
|
|
|
Paket hyperref mit `\url` sorgt für zeichentreue Wiedergabe und bindestrichlose Umbrüche
|
|
|
|
---
|
|
|
|
<div class="layout-only">
|
|
<div class="layout-content">
|
|
<h2 data-category="Aufgabe">4. Sonderzeichen einfügen</h2>
|
|
<ul>
|
|
<li class="fragment">Suche dir aus der PDF-Liste zu Sonderzeichen einige interessante Symbole aus und füge sie in den ersten Absatz von xxx ein.</li>
|
|
<li class="fragment">Ließ dir den ersten Absatz von xxx durch und hebe auf unterschiedliche Art und Weise (fett, kursiv etc.) Abschnitte hervor, die dir wichtig erscheinen.</li>
|
|
<li class="fragment">Variiere zum Testen die Schriftgröße: Setze einen Satz in winziger, einen anderen in riesiger Schrift. Probiere aus, eine eigene Schriftgröße zu konfiguieren.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|