revise special characters exercise

This commit is contained in:
Kremitzl 2022-06-16 15:47:17 +02:00
parent 8e7e39b564
commit b764b4eeef
4 changed files with 11 additions and 10 deletions

View File

@ -339,6 +339,6 @@ Sonderzeichen einfügen
Kompiliert von nun an immer die Datei `main.tex`, um eure Änderungen im Skript zu sehen (in diesem Fall im Abschnitt „Übung 5“). Kompiliert von nun an immer die Datei `main.tex`, um eure Änderungen im Skript zu sehen (in diesem Fall im Abschnitt „Übung 5“).
</div> </div>
* Ersetzt die Leerzeichen innerhalb der Abkürzungen in `exercises/special-characters.tex` durch **schmale Leerzeichen**. Setzt außerdem ein schmales Leerzeichen vor das *Euro-Zeichen*. * Ersetzt die Leerzeichen innerhalb der Abkürzungen in `exercises/special-characters.tex` durch **schmale Leerzeichen**.
* Ersetzt die Bindestriche bei den Öffnungszeiten der ERBA durch **Halbgeviertstriche**. * Ersetzt die Bindestriche bei den Öffnungszeiten der ERBA durch **Halbgeviertstriche**, optional mit schmalen Leerzeichen außenrum.
* Setzt beim Wort *Studierendenausweis* eine **ausschließliche Trennstelle** nach *Studierenden-*. * Setzt beim Wort *Studierendenausweis* eine **ausschließliche Trennstelle** nach *Studierenden-*.

View File

@ -337,6 +337,6 @@ Insert special characters
From now on, compile the file `main.tex` to see your changes appear in the script itself (in this task, see section “Übung 5”). From now on, compile the file `main.tex` to see your changes appear in the script itself (in this task, see section “Übung 5”).
</div> </div>
* Replace the spaces in `exercises/special-characters.tex` within the abbreviations (“e.&thinsp;g.”, “i.&thinsp;a.”) by **thin spaces**. On top of that, replace the space before the *Euro sign* by a thin space. * Replace the spaces in `exercises/special-characters.tex` within the abbreviations (“e.&thinsp;g.”, “i.&thinsp;a.”) by **thin spaces**.
* Replace the hyphens by a **dash** (`--`). * Replace the hyphens separating the opening hours by **en dashes** (`--`), optionally surrounded by thin spaces.
* Add an **exclusive hyphenation** in the word *Studierendenausweis* after *Studierenden-*. * Add an **exclusive hyphenation** in the word *Studierendenausweis* after *Studierenden-*.

View File

@ -15,6 +15,7 @@ Installing the compiler
Before starting out with LaTeX, a compiler has to be installed. Before starting out with LaTeX, a compiler has to be installed.
The following list gives you exemplary compilers for different operating systems: The following list gives you exemplary compilers for different operating systems:
* Windows * Windows
* MacOS * MacOS
* Ubuntu * Ubuntu

View File

@ -1,7 +1,7 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@title @title
First steps with L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X First steps with&nbsp;L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X
@content @content
In order to compile the script for this tutorial, a few steps have to be followed, which are explained in the next slides. In order to compile the script for this tutorial, a few steps have to be followed, which are explained in the next slides.
@ -9,7 +9,7 @@ In order to compile the script for this tutorial, a few steps have to be followe
@slide(layout=content-only) @slide(layout=content-only)
@title @title
Digression: Opening a command prompt Digression: Opening&nbsp;a&nbsp;command&nbsp;prompt
@content @content
* For the following tasks, we are going to need a command prompt * For the following tasks, we are going to need a command prompt
@ -45,12 +45,12 @@ Installing the editor
@content @content
* An editor can downloaded once the compiler has been installed * An editor can downloaded once the compiler has been installed
* For editing LaTeX documents, any text editor works fine, e.g., <a href="https://notepad-plus-plus.org/downloads/">Notepad++</a>, <a href="https://code.visualstudio.com/download">VSCode</a> * For editing LaTeX documents, any text editor works fine, e.g., <a href="https://notepad-plus-plus.org/downloads/">Notepad++</a>, <a href="https://code.visualstudio.com/download">VSCode</a>
* For beginners, <a href="https://www.texstudio.org/">T<sub style="font-size: 100%; margin-left: -.1em">E</sub>Xstudio</a> is recommended due to its LaTex-specific features * For beginners, <a href="https://www.texstudio.org/">T<sub style="font-size: 100%; margin-left: -.1em">E</sub>Xstudio</a> is recommended due to its LaTeX-specific features
* Download and install T<sub style="font-size: 100%; margin-left: -.1em">E</sub>Xstudio * Download and install T<sub style="font-size: 100%; margin-left: -.1em">E</sub>Xstudio
@slide(layout=content-only) @slide(layout=content-only)
@title @title
Compile the script for the first time Compile the script for&nbsp;the&nbsp;first&nbsp;time
@content @content
* Download the project archive from the VC. * Download the project archive from the VC.
@ -132,4 +132,4 @@ In order to compile the script using `minted`, the listings mode has to be chang
![](images/code-listing-default.png) ![](images/code-listing-default.png)
![](images/code-listing-minted.png) ![](images/code-listing-minted.png)
</figure> </figure>
<figcaption>``listings`` (top) vs. ``minted`` (bottom)</figcaption> <figcaption>``listings`` (top) vs. ``minted`` (bottom)</figcaption>