adapt exercises to new script version

This commit is contained in:
Fradtschuk 2022-01-20 20:23:43 +01:00
parent 02d87d50f7
commit 42d12f31a9
4 changed files with 7 additions and 9 deletions

View File

@ -386,12 +386,11 @@ Dokument und Text gliedern
\documentclass{scrartcl} \documentclass{scrartcl}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[ngerman]{babel} \usepackage[ngerman]{english}
\usepackage[hidelinks]{hyperref}
``` ```
* Wie ihr sehen könnt, sind in der Datei die Absätze im Dokument mit `\\` erstellt worden. Ersetzt diese durch richtige Absätze. * Wie ihr sehen könnt, sind in der Datei die Absätze im Dokument mit `\\` erstellt worden. Ersetzt diese durch richtige Absätze.
* Zeit für etwas Struktur! Verwendet für die **Überschriften** die passenden LaTeX-Befehle (`\section` u. ä.). * Zeit für etwas Struktur! Verwendet für die **Überschriften** die passenden LaTeX-Befehle (`\section` u. ä.).
* Fügt anschließend ein **Inhaltsverzeichnis** in euer Dokument ein. * Fügt anschließend ein **Inhaltsverzeichnis** in euer Dokument ein.
* **Kommentiert** zuletzt die Präambel, die Dokumentenumgebung und das Inhaltsverzeichnis **wieder aus**. Nur so kann eure Lösung auch ins Skript eingebunden werden. * **Kommentiert** zuletzt die Präambel, die Dokumentenumgebung und das Inhaltsverzeichnis **wieder aus**. Nur so kann eure Lösung auch ins Skript eingebunden werden (Schnelles Auskommentieren kann in TeXstudio mit dem Shortcut Ctrl+T erreicht werden).

View File

@ -386,12 +386,11 @@ Structure your document and text
\documentclass{scrartcl} \documentclass{scrartcl}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[ngerman]{babel} \usepackage[english]{babel}
\usepackage[hidelinks]{hyperref}
``` ```
* As you may already have noticed, **paragraphs** are marked as `\\`. Use real paragraphs instead. * As you may already have noticed, **paragraphs** are marked as `\\`. Use real paragraphs instead.
* Time to structure our document! Use LaTex commands to declare all **headings** (`\section`, `\subsubsection`, etc.). * Time to structure our document! Use LaTex commands to declare all **headings** (`\section`, `\subsubsection`, etc.).
* Add a **table of contents** to your document. * Add a **table of contents** to your document.
* Finally, **comment out** the preamble, the document environment, and the table of contents. Only this way, your solution can be embedded in the script itself. * Finally, **comment out** the preamble, the document environment, and the table of contents. Only this way, your solution can be embedded in the script itself (In TeXstudio, comments can be achieved by the shortcut Ctrl+D).

View File

@ -158,5 +158,5 @@ Die Art der Aufzählung lässt sich über den optionalen Parameter `label` ände
Aufzählungen einfügen Aufzählungen einfügen
@content @content
* Formatiert das Rezept in `lists.tex` im Ordner `exercises/lists` als **ungeordnete Liste** mit den Elementen *Zutaten* und *Arbeitsschritte*. Nutzt dafür den Befehl `\itemize`. * Formatiert das Rezept in `lists.tex` im Ordner `exercises/lists` als **ungeordnete Liste** mit den Elementen *Ingredients* und *Instructions*. Nutzt dafür den Befehl `\itemize`.
* Benutzt innerhalb dieser Liste für die Zutaten eine **kompakte, ungeordnete Liste** und für die Arbeitsschritte eine **kompakte, geordnete Liste**. * Benutzt innerhalb dieser Liste für die Zutaten eine **kompakte, ungeordnete Liste** und für die Arbeitsschritte eine **kompakte, geordnete Liste**.

View File

@ -160,5 +160,5 @@ To accomplish this, we need to include the package `enumitem` first.
Adding enumerations Adding enumerations
@content @content
* Turn the recipe in `lists.tex` into an **unordered list** consisting of the elements *Zutaten* and *Arbeitsschritte*. You can find the file in the directory `exercises/lists`. Use the `itemize` command. * Turn the recipe in `lists.tex` into an **unordered list** consisting of the elements *Ingredients* and *Instructions*. You can find the file in the directory `exercises/lists`. Use the `itemize` command.
* Within this list, create a **compact unordered list** for the ingredients (*Zutaten*) and a **compact ordered list** for the instructions (*Arbeitsschritte*). * Within this list, create a **compact unordered list** for the ingredients and a **compact ordered list** for the instructions.