Replace occurrences of main.tex
This commit is contained in:
parent
7e4504b11e
commit
23105ddf93
@ -2,7 +2,7 @@
|
||||
<div class="layout-content">
|
||||
<h1>
|
||||
<span class="chapter-number">@number(inline).</span>
|
||||
@title(inline)
|
||||
<span>@title(inline)</span>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -83,31 +83,31 @@
|
||||
</style>
|
||||
<div class="macro-typography">
|
||||
<p class="example narrow tight">@example-text(inline)</p>
|
||||
<p class="caption narrow good">☺ @narrow-tight(inline)</p>
|
||||
<p class="caption narrow good">☺ <span>@narrow-tight(inline)</span></p>
|
||||
|
||||
<p class="example normal tight">@example-text(inline)</p>
|
||||
<p class="caption normal bad">☹ @normal-tight(inline)</p>
|
||||
<p class="caption normal bad">☹ <span>@normal-tight(inline)</span></p>
|
||||
|
||||
<p class="example wide tight">@example-text(inline)</p>
|
||||
<p class="caption wide ugly">☹ @wide-tight(inline)</p>
|
||||
<p class="caption wide ugly">☹ <span>@wide-tight(inline)</span></p>
|
||||
|
||||
<p class="example narrow medium">@example-text(inline)</p>
|
||||
<p class="caption narrow bad">☹ @narrow-medium(inline)</p>
|
||||
<p class="caption narrow bad">☹ <span>@narrow-medium(inline)</span></p>
|
||||
|
||||
<p class="example normal medium">@example-text(inline)</p>
|
||||
<p class="caption normal good">☺ @normal-medium(inline)</p>
|
||||
<p class="caption normal good">☺ <span>@normal-medium(inline)</span></p>
|
||||
|
||||
<p class="example wide medium">@example-text(inline)</p>
|
||||
<p class="caption wide bad">☹ @wide-medium(inline)</p>
|
||||
<p class="caption wide bad">☹ <span>@wide-medium(inline)</span></p>
|
||||
|
||||
<p class="example narrow loose">@example-text(inline)</p>
|
||||
<p class="caption narrow ugly">☹ @narrow-loose(inline)</p>
|
||||
<p class="caption narrow ugly">☹ <span>@narrow-loose(inline)</span></p>
|
||||
|
||||
<p class="example normal loose">@example-text(inline)</p>
|
||||
<p class="caption normal bad">☹ @normal-loose(inline)</p>
|
||||
<p class="caption normal bad">☹ <span>@normal-loose(inline)</span></p>
|
||||
|
||||
<p class="example wide loose">@example-text(inline)</p>
|
||||
<p class="caption wide good">☺ @wide-loose(inline)</p>
|
||||
<p class="caption wide good">☺ <span>@wide-loose(inline)</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -105,7 +105,7 @@ Gründe für LaTeX: Plaintext
|
||||
Ablauf des Workshops
|
||||
|
||||
@content
|
||||
**Ziel:** Wir arbeiten zusammen unser [LaTeX-Skript](https://github.com/fs-wiai/latex-script/) durch, das ihr nach dem Wochenende als kompakte Referenz verwenden könnt.
|
||||
**Ziel:** Wir arbeiten zusammen unser [LaTeX-Skript](https://github.com/fs-wiai/latex-script/) durch, das ihr nach dem Workshop als kompakte Referenz verwenden könnt.
|
||||
|
||||
* Learning by Doing
|
||||
* Verstehen, wie LaTeX funktioniert
|
||||
@ -124,5 +124,5 @@ Ablauf des Workshops
|
||||
</div>
|
||||
|
||||
@preview
|
||||

|
||||

|
||||
|
||||
|
||||
@ -125,4 +125,4 @@ Procedure of this workshop
|
||||
</div>
|
||||
|
||||
@preview
|
||||

|
||||

|
||||
|
||||
@ -199,7 +199,7 @@ Kompilieren des Projekts
|
||||
* ++ Die Unterdateien können wegen ihrer fehlenden Präambel nicht selbstständig kompiliert werden.
|
||||
|
||||
<div class="box warning fragment">
|
||||
Von nun an kompilieren wir die Datei `main.tex` im Wurzelverzeichnis des Projektordners. Klickt hierzu in TeXstudio mit der rechten Maustaste auf die Datei und wählt **„Explizit als Root-Dokument setzen“**. Anschließend könnt ihr wie gewohnt kompilieren.
|
||||
Von nun an kompilieren wir die Datei `main-exercises.tex` im Wurzelverzeichnis des Projektordners. Klickt hierzu in TeXstudio mit der rechten Maustaste auf die Datei und wählt **„Explizit als Root-Dokument setzen“**. Anschließend könnt ihr wie gewohnt kompilieren.
|
||||
</div>
|
||||
|
||||
|
||||
@ -217,4 +217,4 @@ Im Ordner `exercises/project-structure` findet ihr eine Datei namens `main.tex`.
|
||||
* 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.
|
||||
* 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?
|
||||
* Schaut euch abschließend die Gesamtstruktur unseres Projektarchivs an, beginnend mit `main-exercises.tex` im Wurzelverzeichnis. Wie binden wir hier die einzelnen Abschnitte ein?
|
||||
@ -195,7 +195,7 @@ Compiling the project
|
||||
* ++ Subfiles cannot be compiled on their own as they don’t have a preamble.
|
||||
|
||||
<div class="box warning fragment">
|
||||
From now on, we will compile the file `main.tex` in the project root.
|
||||
From now on, we will compile the file `main-exercises.tex` in the project root.
|
||||
To do so, right click on the file in TeXstudio and choose **“Select as explicit root document”** from the dropdown.
|
||||
Next, compile as usual.
|
||||
</div>
|
||||
@ -215,4 +215,4 @@ 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` and `section2.tex`.
|
||||
* 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?
|
||||
* Finally, have a look at the general project archive, starting from `main-exercises.tex` (in the root folder of the project archive). How do we include the different sections here?
|
||||
@ -116,7 +116,7 @@ Sonderzeichen einfügen
|
||||
|
||||
@content
|
||||
<div class="box warning">
|
||||
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-exercises.tex`, um eure Änderungen im Übungsskript zu sehen (in diesem Fall im Abschnitt zu Übung 5).
|
||||
</div>
|
||||
|
||||
* Ersetzt die Leerzeichen innerhalb der Abkürzungen in `exercises/special-characters.tex` durch **schmale Leerzeichen**.
|
||||
|
||||
@ -113,7 +113,7 @@ Insert special characters
|
||||
|
||||
@content
|
||||
<div class="box warning">
|
||||
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-exercises.tex` to see your changes appear in the exercise script (in this task, see exercise 5).
|
||||
</div>
|
||||
|
||||
* Replace the spaces in `exercises/special-characters.tex` within the abbreviations (“e. g.”, “i. a.”) by **thin spaces**.
|
||||
|
||||
@ -99,7 +99,7 @@ Listings
|
||||
|
||||
@content
|
||||
* Im Ordner `exercises/source-code-listings` findet ihr eine Datei namens `Source.java`.
|
||||
* **Bindet** den Java-Quelltext in der Datei `source-code-listings.tex` **ein**. (Beachtet, dass der Dateipfad relativ zu `main.tex` ist.)
|
||||
* **Bindet** den Java-Quelltext in der Datei `source-code-listings.tex` **ein**. (Beachtet, dass der Dateipfad relativ zu `main-exercises.tex` ist.)
|
||||
* Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java.
|
||||
* **Nummeriert** die Zeilen und aktiviert **Umbrüche**.
|
||||
* Setzt mit dem Parameter `basicstyle` eine dicktengleiche Schrift (`\ttfamily \small`).
|
||||
|
||||
@ -99,7 +99,7 @@ Listings
|
||||
|
||||
@content
|
||||
* In the directory `exercises/source-code-listings` you can find a file named `Source.java`.
|
||||
* **Include** it in the file `source-code-listings.tex`. (Keep in mind that the file path is relative to the main LaTeX document, i. e., to `main.tex`.)
|
||||
* **Include** it in the file `source-code-listings.tex`. (Keep in mind that the file path is relative to the main LaTeX document, i. e., to `main-exercises.tex`.)
|
||||
* Activate **syntax highlighting** by stating the programming language Java.
|
||||
* **Number** the code lines.
|
||||
* Set the `basicstyle` to a proper mono-spaced font (`\ttfamily \small`)
|
||||
|
||||
@ -58,7 +58,7 @@ Kompilieren des Skriptes
|
||||
@content
|
||||
* Ladet das Projektarchiv aus dem VC herunter
|
||||
* Entpackt das Archiv
|
||||
* Öffnet die Datei main.tex in TeXstudio. Ihr findet es im Wurzelverzeichnis des Archivs
|
||||
* Öffnet die Datei main-exercises.tex in TeXstudio. Ihr findet es im Wurzelverzeichnis des Archivs
|
||||
* Kompiliert die Datei, indem ihr <span class="emoji">⏩</span> klickt
|
||||
* Einige neue Dateien sollten nun durch das Kompilieren generiert werden
|
||||
|
||||
|
||||
@ -58,8 +58,8 @@ Compile the script for the first time
|
||||
@content
|
||||
* Download the project archive from the VC.
|
||||
* Unzip the archive.
|
||||
* Open the file `main.tex` in T<sub style="font-size: 100%; margin-left: -.1em">E</sub>Xstudio. It is located in the root directory of the archive.
|
||||
* Compile `main.tex` by pressing <span class="emoji">⏩</span>
|
||||
* Open the file `main-exercises.tex` in T<sub style="font-size: 100%; margin-left: -.1em">E</sub>Xstudio. It is located in the root directory of the archive.
|
||||
* Compile `main-exercises.tex` by pressing <span class="emoji">⏩</span>
|
||||
* A few new files will be generated by the compilation.
|
||||
|
||||
<div class="box warning">
|
||||
|
||||
BIN
svg/chapter-01/cover-exercises.jpeg
Normal file
BIN
svg/chapter-01/cover-exercises.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 138 KiB |
BIN
svg/chapter-01/cover-script.jpeg
Normal file
BIN
svg/chapter-01/cover-script.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 138 KiB |
Loading…
x
Reference in New Issue
Block a user