Adjust project structure exercise

This commit is contained in:
Knoch 2022-09-26 11:44:59 +02:00
parent 550e2dea16
commit 79fdd1e824
2 changed files with 7 additions and 4 deletions

View File

@ -216,6 +216,7 @@ Ein strukturiertes Projekt
@content @content
Im Ordner `exercises/project-structure` findet ihr eine Datei namens `main.tex`. Im Ordner `exercises/project-structure` findet ihr eine Datei namens `main.tex`.
* Erstellt neue Dateien (z. B.`section1.tex`, `section2.tex` und `section3.tex` und verschiebt die Abschnitte in diese. * Erstellt neue Dateien (z. B. `section1.tex` und `section2.tex` und verschiebt die Abschnitte in diese.
* Importiert die Fragmente anschließend mit Hilfe des `\input`-Befehls. * Importiert die Fragmente anschließend mit Hilfe des `\input`-Befehls.
* Schaut euch abschließend die Gesamtstruktur unseres Projektarchivs an, beginnend mit `main.tex` im Wurzelverzeichnis. * Lagert die Präambel auf demselben Weg in eine eigene Datei aus.
* Schaut euch abschließend die Gesamtstruktur unseres Projektarchivs an, beginnend mit `main.tex` im Wurzelverzeichnis. Wie binden wir hier die einzelnen Abschnitte ein?

View File

@ -213,5 +213,7 @@ A structured project
@content @content
You will find a file named `main.tex` in the folder `exercises/project-structure`. You will find a file named `main.tex` in the folder `exercises/project-structure`.
* Put the sections of the file into separate files, named `section1.tex`, `section2.tex`, and `section3.tex`. Include them using the `\input` command. * Put the sections of the file into separate files, named `section1.tex` and `section2.tex`.
* Finally, have a look at the general project archive, starting from `main.tex` (in the root folder of the project archive). * Include them using the `\input` command.
* Move the preamble to its own file in a similar fashion.
* Finally, have a look at the general project archive, starting from `main.tex` (in the root folder of the project archive). How do we include the different sections here?