Update slides for winter semester 2024/25 #14

Merged
fknoch merged 14 commits from master into production 2024-11-23 20:30:10 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 34c7083d9a - Show all commits

View File

@ -291,7 +291,7 @@ Dokument und Text gliedern
@content
* Öffnet die Datei `document-structure.tex`, die im Ordner `exercises/basic-document-structure` liegt.
* Packt den gesamten Text in der Datei in eine **Document**-Umgebung und schreibt darüber folgende **Präambel**. Kompiliert die Datei.
* Packt den gesamten Text in der Datei in eine **Document**-Umgebung und schreibt darüber folgende **Präambel**.
``` {.lang-tex .hljs .fragment}
\documentclass{article}
@ -300,6 +300,7 @@ Dokument und Text gliedern
\usepackage[ngerman]{babel}
```
* Öffnet mittels Rechtsklick auf die Datei das Kontextmenü und setzt die Datei als explizites Root-Dokument. Kompiliert sie anschließend.
* 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. ä.).
* Fügt anschließend ein **Inhaltsverzeichnis** in euer Dokument ein.

View File

@ -290,7 +290,7 @@ Structure your document and text
@content
* Open the file `document-structure.tex`. It is located in the directory `exercises/basic-document-structure`.
* Wrap the entire text in a **document** environment and insert the following **preamble**. Compile the document.
* Wrap the entire text in a **document** environment and insert the following **preamble**.
``` {.lang-tex .hljs .fragment}
\documentclass{article}
@ -299,6 +299,7 @@ Structure your document and text
\usepackage[english]{babel}
```
* In TeXstudio, right click on the file and select “Set as explicit root document.” Next, compile the file.
* 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.).
* Add a **table of contents** to your document.