From b03a9abca85e0d322e2002a8739ec5893386cdb1 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 15:32:31 +0100 Subject: [PATCH 01/14] Add current presenters --- slides/titlepage.de.md | 2 +- slides/titlepage.en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/titlepage.de.md b/slides/titlepage.de.md index fe72a7e..36506df 100644 --- a/slides/titlepage.de.md +++ b/slides/titlepage.de.md @@ -4,5 +4,5 @@ LATEX-Wochenende @subscript -Ein Workshop der Fachschaft WIAI. Präsentiert von Jessica Klarmann, Jannik Kiesel, Florian Knoch, Theresa Knoll und Hannah Rattenberger. +Ein Workshop der Fachschaft WIAI. Präsentiert von Laetitia Hilgendorf, Jessica Klarmann, Florian Knoch, Theresa Knoll und Jochen Mehlich. diff --git a/slides/titlepage.en.md b/slides/titlepage.en.md index 3d163ba..fc6ad25 100644 --- a/slides/titlepage.en.md +++ b/slides/titlepage.en.md @@ -4,5 +4,5 @@ LATEX Weekend @subscript -A Fachschaft WIAI workshop. Presented by Jessica Klarmann, Jannik Kiesel, Florian Knoch, Theresa Knoll, and Hannah Rattenberger. +A Fachschaft WIAI workshop. Presented by Laetitia Hilgendorf, Jessica Klarmann, Florian Knoch, Theresa Knoll, and Jochen Mehlich.. -- 2.47.2 From 72975392bca5d87972128b506fd92856bf88d92c Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 15:33:52 +0100 Subject: [PATCH 02/14] Move titlepage to the front --- slides.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides.yml b/slides.yml index 63c1cf5..a7b4b50 100644 --- a/slides.yml +++ b/slides.yml @@ -1,5 +1,5 @@ -- intro - titlepage +- intro - why-use-latex - basic-functionality - basic-document-structure -- 2.47.2 From 8929eb976daeb7d8001dcd2188a144a8dc6f009b Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 15:34:35 +0100 Subject: [PATCH 03/14] Fix typo --- slides/intro.de.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/intro.de.md b/slides/intro.de.md index 36c7c69..6c9d858 100644 --- a/slides/intro.de.md +++ b/slides/intro.de.md @@ -16,7 +16,7 @@ Exkurs: Eine Kommandozeile öffnen @content * Für die kommenden Aufgaben brauchen wir eine Kommandozeile. -* Je nach Betriebssystem, das verwendet wird, gibt es unteschiedliche Wege, sie zu öffnen: +* Je nach Betriebssystem, das verwendet wird, gibt es unterschiedliche Wege, sie zu öffnen: * **Windows**: Drückt die Windows-Taste, tippt *cmd* und drückt Enter * **MacOS**: Drückt die *Command*-Taste und die Leertaste gleichzeitig, tippt danach *Terminal* und macht einen Doppelklick auf *Terminal* -- 2.47.2 From 1b7cdbb527b6db63461c30c910bcd0a852228fca Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 16:15:55 +0100 Subject: [PATCH 04/14] Fix outdated Java version in task 11a --- slides/references-and-footnotes.de.md | 2 +- slides/references-and-footnotes.en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/references-and-footnotes.de.md b/slides/references-and-footnotes.de.md index 58aa67f..87f3f30 100644 --- a/slides/references-and-footnotes.de.md +++ b/slides/references-and-footnotes.de.md @@ -145,7 +145,7 @@ Dinge, die zu beachten sind Fußnoten einfügen @content -* Pack den Text *March 2023* in der Datei `exercises/footnotes/footnotes.tex` in eine **Fußnote**. +* Verschiebt den Text *„released in September 2023“* in der Datei `exercises/footnotes/footnotes.tex` in eine **Fußnote**. * Fügt zusätzlich eine **klickbare URL**, die zur Download-Seite des Java Development Kit führt (`https://www.oracle.com/java/technologies/javase-downloads.html`), als Fußnote ein. diff --git a/slides/references-and-footnotes.en.md b/slides/references-and-footnotes.en.md index a9049d7..2a595e2 100644 --- a/slides/references-and-footnotes.en.md +++ b/slides/references-and-footnotes.en.md @@ -148,7 +148,7 @@ Things to consider Inserting footnotes @content -* Make the text *March 2023* in file `exercises/footnotes/footnotes.tex` appear as a **footnote**. +* Make the text *“released in September 2023”* in file `exercises/footnotes/footnotes.tex` appear as a **footnote**. * Additionally, insert a **clickable URL** that leads to the download page for the Java Development Kit (`https://www.oracle.com/java/technologies/javase-downloads.html`). -- 2.47.2 From 7909106c9087cece96d43ec396d3f2a463ac36d7 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:02:32 +0100 Subject: [PATCH 05/14] Refactor motivational section --- slides/why-use-latex.de.md | 83 +++++++++----------------------------- slides/why-use-latex.en.md | 81 +++++++++---------------------------- 2 files changed, 38 insertions(+), 126 deletions(-) diff --git a/slides/why-use-latex.de.md b/slides/why-use-latex.de.md index e521bcc..eb9864e 100644 --- a/slides/why-use-latex.de.md +++ b/slides/why-use-latex.de.md @@ -24,80 +24,35 @@ Entstehung @preview ![](svg/chapter-01/taocp.jpg) - -@slide(layout=macro-typography-grid) +@slide(layout=content-only) @title -Gründe für LaTeX: Makrotypografie +5 Gründe für LaTeX -@example-text -Dieser Absatz soll zeigen, wie sich unter­schied­liche Zeilen­abstände bei unter­schied­lichen Satz­breiten aus­wirken. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. Dazu ist hier noch ein bisschen mehr Text nötig, damit das auch wirklich nach einem Absatz aussieht. - -@narrow-tight -Kurz und eng - -@normal-tight -Normale Länge und enger Zeilenabstand - -@wide-tight -Lange Zeilen und enger Zeilenabstand - -@narrow-medium -Kurz und normal - -@normal-medium -Normale Länge und Zeilenabstand - -@wide-medium -Lange Zeilen und normaler Zeilenabstand - -@narrow-loose -Kurz und weit - -@normal-loose -Normale Länge und weiter Zeilenabstand - -@wide-loose -Lange Zeilen und weiter Zeilenabstand - - - -@slide(layout=micro-typography-grid) - -@title -Gründe für LaTeX: Mikrotypografie - -@example1a -schräg (verzerrt) - -@example1b -gerade - -@example1c -kursiv (eigener Schnitt) - -@example2a -kleine Schrift vergrößert - -@example2b -jeweils passender Schriftgrad - -@example2c -große Schrift verkleinert +@content +1. LaTeX ist – neben Word – **eines der beiden dominierenden Textsatzsysteme** in der akademischen Welt. +2. ++ **Mathematische Formeln** fühlen sich in LaTeX am wohlsten. Darum wurde die LaTeX-Formelnotation in zahlreiche andere Tools integriert (z. B. OneNote, Word, Wikipedia, …). +3. ++ Es gibt **unzählige Erweiterungen** für die verschiedensten Anwendungsgebiete. +4. ++ LaTeX wurde entwickelt, um **ästhetisch anspechenden Textsatz** zu produzieren – und das sieht man den Texten auch an. +5. ++ Komplexe Dokumente, die in LaTeX gesetzt sind, **erleichtern die Zusammenarbeit** enorm (z. B. durch Versionierung, Strukturierung, Templates, zuverlässiges Undo, …). @slide(layout=content-only) @title -Gründe für LaTeX: Plaintext +Die Schwächen von LaTeX @content -* zuverlässiges Undo -* einfache Versionierung -* unabhängig von proprietären Programmen -* Quelltext langfristig lesbar -* einfache Zusammenarbeit mit anderen Programmen -* keine Ablenkung durch Formatierung oder eingebettete Medien +* Der Textsatz ist mitunter sehr **aufwändig**, insbesondere für kurze Dokumente. +* **Layout-Anpassungen** sind nur in einem begrenzten Rahmen möglich. + +
+Die Debatte „LaTeX vs. Word“ ist schon sehr alt. Für eine Recherche dazu lohnt sich als Einstieg folgender Artikel: + +Moorhead, A.V. [**Is LaTeX use correlated with the number of equations in a manuscript?**](https://doi.org/10.1007/s11192-021-04119-2). Scientometrics 126, 8259–8273 (2021). + +(TL;DR: LaTeX-Nutzende machen mehr Fehler, brauchen außer bei Formeln länger, sind aber zufriedener mit ihrem Werkzeug.) +
@slide(layout=content-and-preview) diff --git a/slides/why-use-latex.en.md b/slides/why-use-latex.en.md index da1b5f1..b8e579b 100644 --- a/slides/why-use-latex.en.md +++ b/slides/why-use-latex.en.md @@ -25,78 +25,35 @@ Origin ![](svg/chapter-01/taocp.jpg) -@slide(layout=macro-typography-grid) +@slide(layout=content-only) @title -Reasons for using LaTeX: macrotypography +5 Reasons for LaTeX -@example-text -This paragraph shows the effect of varied line heights in combination with varied line lengths. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. For this purpose, a little more text is needed to make it look like an actual paragraph. - -@narrow-tight -short & tight - -@normal-tight -normal length and tight leading - -@wide-tight -long lines and tight leading - -@narrow-medium -short & medium - -@normal-medium -normal length and leading - -@wide-medium -long lines and medium leading - -@narrow-loose -short & loose - -@normal-loose -normal length and loose leading - -@wide-loose -long lines and loose leading - - -@slide(layout=micro-typography-grid) - -@title -Reasons for using LaTeX: microtypography - -@example1a -slanted (distorted) - -@example1b -straight - -@example1c -italic (separate font) - -@example2a -small font scaled up - -@example2b -separate appropriate fonts - -@example2c -big font scaled down +@content +1. Besides Word, LaTeX is **one of the two dominant typesetting systems** in the academic world. +2. ++ **Mathematical formulas** feel most at home in LaTeX. This is why the LaTeX formula notation has been integrated into numerous other tools (e. g. OneNote, Word, Wikipedia, …). +3. ++ There are **countless packages** for the most diverse areas of application. +4. ++ LaTeX was developed to produce **aesthetically pleasing typesetting** — and you can see that in the texts it produces. +5. ++ Complex documents typeset in LaTeX **facilitate collaboration** enormously (e. g. through versioning, proper document structuring, templates, reliable undo, …). @slide(layout=content-only) @title -Reasons for using LaTeX: plaintext +LaTeX' Shortcomings @content -* reliable undo -* easy versioning -* independence of proprietary software -* source code readable in the long term -* easy cooperation with other software -* no distraction by formatting or embedded media +* Typesetting text can be **cumbersome**, especially for short documents. +* **Layout adjustments** are only possible within certain limits. + +
+The “LaTeX vs. Word” debate is very old. If you are interested in tracing it, we can recommend the following article as a starting point: + +Moorhead, A.V. [**Is LaTeX use correlated with the number of equations in a manuscript?**](https://doi.org/10.1007/s11192-021-04119-2). Scientometrics 126, 8259–8273 (2021). + +(TL;DR: LaTeX users make more errors, they need more time except when it comes to formulas, but they are happier with their tool.) +
@slide(layout=content-and-preview) -- 2.47.2 From af444feee69c7691108a61918e6238f5c7ddbae9 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:20:58 +0100 Subject: [PATCH 06/14] Add indentation to front matter --- slides/basic-document-structure.de.md | 15 ++++++++------- slides/basic-document-structure.en.md | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/slides/basic-document-structure.de.md b/slides/basic-document-structure.de.md index aa0f28f..4e62323 100644 --- a/slides/basic-document-structure.de.md +++ b/slides/basic-document-structure.de.md @@ -218,14 +218,15 @@ Titelei \author{Fooboar Rüssel \and Fachschaft WIAI} \date{\today} + \begin{document} -\maketitle -\section{Trüffelsuche} -\subsection{Suche mit Schwein} -\subsection{Suche ohne Schwein} -Wer macht denn sowas? -\section{Trüffelrezepte} -Mein Lieblingsrezept + \maketitle + \section{Trüffelsuche} + \subsection{Suche mit Schwein} + \subsection{Suche ohne Schwein} + Wer macht denn sowas? + \section{Trüffelrezepte} + Mein Lieblingsrezept \end{document} ``` diff --git a/slides/basic-document-structure.en.md b/slides/basic-document-structure.en.md index b145505..4faada7 100644 --- a/slides/basic-document-structure.en.md +++ b/slides/basic-document-structure.en.md @@ -218,14 +218,15 @@ Front matter \author{Fooboar Rüssel \and Fachschaft WIAI} \date{\today} + \begin{document} -\maketitle -\section{Truffle hunt} -\subsection{Hunt with a pig} -\subsection{Hunt without a pig} -Why would you do that? -\section{Truffle recipes} -My favorite recipe + \maketitle + \section{Truffle hunt} + \subsection{Hunt with a pig} + \subsection{Hunt without a pig} + Why would you do that? + \section{Truffle recipes} + My favorite recipe \end{document} ``` -- 2.47.2 From be0d898ade6077683c25a25181dd6b4956a94360 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:27:44 +0100 Subject: [PATCH 07/14] Replace scrartcl --- slides/basic-document-structure.de.md | 28 +++++++++++++-------------- slides/basic-document-structure.en.md | 26 ++++++++++++------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/slides/basic-document-structure.de.md b/slides/basic-document-structure.de.md index 4e62323..5cf4458 100644 --- a/slides/basic-document-structure.de.md +++ b/slides/basic-document-structure.de.md @@ -258,21 +258,21 @@ Inhaltsverzeichnis @content ``` {.lang-tex .hljs data-source=title.tex} -\documentclass[ngerman]{scrartcl} +\documentclass[ngerman]{article} \usepackage{babel} \begin{document} -\tableofcontents -\section{Trüffelsuche} -Der erste Abschnitt. -\subsection{Suche mit Schwein} -Ein Unterabschnitt. -\subsection{Suche ohne Schwein} -Ein weiterer Unterabschitt. -\subsubsection[But why?] - {Wer macht denn sowas?} -Unter-Unterabschnitt. -\section{Trüffelrezepte} -Mein Lieblingsrezept + \tableofcontents + \section{Trüffelsuche} + Der erste Abschnitt. + \subsection{Suche mit Schwein} + Ein Unterabschnitt. + \subsection{Suche ohne Schwein} + Ein weiterer Unterabschitt. + \subsubsection[But why?]{Wer macht + denn sowas?} + Unter-Unterabschnitt. + \section{Trüffelrezepte} + Mein Lieblingsrezept \end{document} ``` @@ -294,7 +294,7 @@ Dokument und Text gliedern * Packt den gesamten Text in der Datei in eine **Document**-Umgebung und schreibt darüber folgende **Präambel**. Kompiliert die Datei. ``` {.lang-tex .hljs .fragment} -\documentclass{scrartcl} +\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} diff --git a/slides/basic-document-structure.en.md b/slides/basic-document-structure.en.md index 4faada7..a8a1d10 100644 --- a/slides/basic-document-structure.en.md +++ b/slides/basic-document-structure.en.md @@ -261,18 +261,18 @@ Table of contents \documentclass{article} \usepackage{babel} \begin{document} -\tableofcontents -\section{Truffle hunt} -The first section. -\subsection{Hunt with a pig} -A subsection. -\subsection{Hunt without a pig} -Another subsection. -\subsubsection[But why?] - {Why would you do that?} -Sub-subsection. -\section{Truffle recipes} -My favorite recipe + \tableofcontents + \section{Truffle hunt} + The first section. + \subsection{Hunt with a pig} + A subsection. + \subsection{Hunt without a pig} + Another subsection. + \subsubsection[But why?]{Why would + you do that?} + Sub-subsection. + \section{Truffle recipes} + My favorite recipe \end{document} ``` @@ -293,7 +293,7 @@ Structure your document and text * Wrap the entire text in a **document** environment and insert the following **preamble**. Compile the document. ``` {.lang-tex .hljs .fragment} -\documentclass{scrartcl} +\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} -- 2.47.2 From 8c17db43a7ae4d2d354061e5dfa69f090bcbcda0 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:47:17 +0100 Subject: [PATCH 08/14] Fix path visualization colors --- svg/chapter-04/relative-path-crop.svg | 549 +++++++++--------- svg/chapter-04/relative-path-english-crop.svg | 549 +++++++++--------- svg/chapter-04/relative-path-english-orig.svg | 549 +++++++++--------- svg/chapter-04/relative-path-english.tex | 3 +- svg/chapter-04/relative-path-orig.svg | 549 +++++++++--------- svg/chapter-04/relative-path-subdir-crop.svg | 549 +++++++++--------- .../relative-path-subdir-english-crop.svg | 549 +++++++++--------- .../relative-path-subdir-english-orig.svg | 549 +++++++++--------- .../relative-path-subdir-english.tex | 3 +- svg/chapter-04/relative-path-subdir-orig.svg | 549 +++++++++--------- svg/chapter-04/relative-path-subdir.tex | 3 +- .../relative-path-transitive-crop.svg | 549 +++++++++--------- .../relative-path-transitive-english-crop.svg | 549 +++++++++--------- .../relative-path-transitive-english-orig.svg | 549 +++++++++--------- .../relative-path-transitive-english.tex | 5 +- .../relative-path-transitive-orig.svg | 549 +++++++++--------- svg/chapter-04/relative-path-transitive.tex | 5 +- svg/chapter-04/relative-path.tex | 3 +- 18 files changed, 3278 insertions(+), 3332 deletions(-) diff --git a/svg/chapter-04/relative-path-crop.svg b/svg/chapter-04/relative-path-crop.svg index e815b88..409f1fa 100644 --- a/svg/chapter-04/relative-path-crop.svg +++ b/svg/chapter-04/relative-path-crop.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-english-crop.svg b/svg/chapter-04/relative-path-english-crop.svg index e815b88..409f1fa 100644 --- a/svg/chapter-04/relative-path-english-crop.svg +++ b/svg/chapter-04/relative-path-english-crop.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-english-orig.svg b/svg/chapter-04/relative-path-english-orig.svg index 3a9f997..975966e 100644 --- a/svg/chapter-04/relative-path-english-orig.svg +++ b/svg/chapter-04/relative-path-english-orig.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-english.tex b/svg/chapter-04/relative-path-english.tex index 8bd2b82..700542e 100644 --- a/svg/chapter-04/relative-path-english.tex +++ b/svg/chapter-04/relative-path-english.tex @@ -4,6 +4,7 @@ \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{trees} +\usepackage[dvipsnames]{xcolor} \usepackage{verbatimbox} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} @@ -12,7 +13,7 @@ \tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!30] \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{rel}=[draw=Blue,fill=ProcessBlue!50] \tikzstyle{partition}=[draw=white] \begin{tikzpicture}[% diff --git a/svg/chapter-04/relative-path-orig.svg b/svg/chapter-04/relative-path-orig.svg index 3a9f997..975966e 100644 --- a/svg/chapter-04/relative-path-orig.svg +++ b/svg/chapter-04/relative-path-orig.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-subdir-crop.svg b/svg/chapter-04/relative-path-subdir-crop.svg index 94462c1..f253b61 100644 --- a/svg/chapter-04/relative-path-subdir-crop.svg +++ b/svg/chapter-04/relative-path-subdir-crop.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-subdir-english-crop.svg b/svg/chapter-04/relative-path-subdir-english-crop.svg index 94462c1..f253b61 100644 --- a/svg/chapter-04/relative-path-subdir-english-crop.svg +++ b/svg/chapter-04/relative-path-subdir-english-crop.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-subdir-english-orig.svg b/svg/chapter-04/relative-path-subdir-english-orig.svg index 84ff8a7..dd945c8 100644 --- a/svg/chapter-04/relative-path-subdir-english-orig.svg +++ b/svg/chapter-04/relative-path-subdir-english-orig.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-subdir-english.tex b/svg/chapter-04/relative-path-subdir-english.tex index fe7de11..8150c89 100644 --- a/svg/chapter-04/relative-path-subdir-english.tex +++ b/svg/chapter-04/relative-path-subdir-english.tex @@ -4,6 +4,7 @@ \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{trees} +\usepackage[dvipsnames]{xcolor} \usepackage{verbatimbox} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} @@ -12,7 +13,7 @@ \tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!30] \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{rel}=[draw=Blue,fill=ProcessBlue!50] \tikzstyle{partition}=[draw=white] % \begin{tikzpicture}[% diff --git a/svg/chapter-04/relative-path-subdir-orig.svg b/svg/chapter-04/relative-path-subdir-orig.svg index 84ff8a7..dd945c8 100644 --- a/svg/chapter-04/relative-path-subdir-orig.svg +++ b/svg/chapter-04/relative-path-subdir-orig.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-subdir.tex b/svg/chapter-04/relative-path-subdir.tex index 2af3f7d..d932f42 100644 --- a/svg/chapter-04/relative-path-subdir.tex +++ b/svg/chapter-04/relative-path-subdir.tex @@ -4,6 +4,7 @@ \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{trees} +\usepackage[dvipsnames]{xcolor} \usepackage{verbatimbox} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} @@ -12,7 +13,7 @@ \tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!30] \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{rel}=[draw=Blue,fill=ProcessBlue!50] \tikzstyle{partition}=[draw=white] diff --git a/svg/chapter-04/relative-path-transitive-crop.svg b/svg/chapter-04/relative-path-transitive-crop.svg index 2c78206..052658a 100644 --- a/svg/chapter-04/relative-path-transitive-crop.svg +++ b/svg/chapter-04/relative-path-transitive-crop.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-transitive-english-crop.svg b/svg/chapter-04/relative-path-transitive-english-crop.svg index 2c78206..052658a 100644 --- a/svg/chapter-04/relative-path-transitive-english-crop.svg +++ b/svg/chapter-04/relative-path-transitive-english-crop.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-transitive-english-orig.svg b/svg/chapter-04/relative-path-transitive-english-orig.svg index 73bd75b..384d7d0 100644 --- a/svg/chapter-04/relative-path-transitive-english-orig.svg +++ b/svg/chapter-04/relative-path-transitive-english-orig.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-transitive-english.tex b/svg/chapter-04/relative-path-transitive-english.tex index 38d3af4..6383e0d 100644 --- a/svg/chapter-04/relative-path-transitive-english.tex +++ b/svg/chapter-04/relative-path-transitive-english.tex @@ -4,6 +4,7 @@ \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{trees} +\usepackage[dvipsnames]{xcolor} \usepackage{verbatimbox} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} @@ -12,8 +13,8 @@ \tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!30] \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] - \tikzstyle{intermediate}=[draw=blue,fill=blue!30] + \tikzstyle{rel}=[draw=Blue,fill=ProcessBlue!50] + \tikzstyle{intermediate}=[draw=ProcessBlue,fill=ProcessBlue!30] \tikzstyle{partition}=[draw=white] % \begin{tikzpicture}[% diff --git a/svg/chapter-04/relative-path-transitive-orig.svg b/svg/chapter-04/relative-path-transitive-orig.svg index 73bd75b..384d7d0 100644 --- a/svg/chapter-04/relative-path-transitive-orig.svg +++ b/svg/chapter-04/relative-path-transitive-orig.svg @@ -1,306 +1,301 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - + + + diff --git a/svg/chapter-04/relative-path-transitive.tex b/svg/chapter-04/relative-path-transitive.tex index 38d3af4..6383e0d 100644 --- a/svg/chapter-04/relative-path-transitive.tex +++ b/svg/chapter-04/relative-path-transitive.tex @@ -4,6 +4,7 @@ \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{trees} +\usepackage[dvipsnames]{xcolor} \usepackage{verbatimbox} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} @@ -12,8 +13,8 @@ \tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!30] \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] - \tikzstyle{intermediate}=[draw=blue,fill=blue!30] + \tikzstyle{rel}=[draw=Blue,fill=ProcessBlue!50] + \tikzstyle{intermediate}=[draw=ProcessBlue,fill=ProcessBlue!30] \tikzstyle{partition}=[draw=white] % \begin{tikzpicture}[% diff --git a/svg/chapter-04/relative-path.tex b/svg/chapter-04/relative-path.tex index 8bd2b82..700542e 100644 --- a/svg/chapter-04/relative-path.tex +++ b/svg/chapter-04/relative-path.tex @@ -4,6 +4,7 @@ \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{trees} +\usepackage[dvipsnames]{xcolor} \usepackage{verbatimbox} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} @@ -12,7 +13,7 @@ \tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!30] \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{rel}=[draw=Blue,fill=ProcessBlue!50] \tikzstyle{partition}=[draw=white] \begin{tikzpicture}[% -- 2.47.2 From e7bba4f47beeaad7e46f023c45895f0bcfe7e3f4 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:51:45 +0100 Subject: [PATCH 09/14] Move hint on compiling the main document --- slides/project-structure.de.md | 17 ++++++++++++----- slides/project-structure.en.md | 19 ++++++++++++------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/slides/project-structure.de.md b/slides/project-structure.de.md index ea81b7f..0ef05cb 100644 --- a/slides/project-structure.de.md +++ b/slides/project-structure.de.md @@ -174,10 +174,6 @@ Kompilieren des Projekts * ++ Fehlermeldungen enthalten dann Verweis, in welcher Unterdatei sie aufgetreten sind. * ++ Die Unterdateien können wegen ihrer fehlenden Präambel nicht selbstständig kompiliert werden. -
-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. -
- @slide(layout=task) @@ -193,4 +189,15 @@ 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-exercises.tex` im Wurzelverzeichnis. Wie binden wir hier die einzelnen Abschnitte ein? \ No newline at end of file +* Schaut euch abschließend die Gesamtstruktur unseres Projektarchivs an, beginnend mit `main-exercises.tex` im Wurzelverzeichnis. Wie binden wir hier die einzelnen Abschnitte ein? + +@slide(layout=content-only) + +@title +Hinweis + +@content + ++ 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. \ No newline at end of file diff --git a/slides/project-structure.en.md b/slides/project-structure.en.md index 990f1ed..3def5ba 100644 --- a/slides/project-structure.en.md +++ b/slides/project-structure.en.md @@ -171,12 +171,6 @@ Compiling the project * ++ Error messages include a reference to the corresponding subfile. * ++ Subfiles cannot be compiled on their own as they don’t have a preamble. -
-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. -
- @slide(layout=task) @@ -192,4 +186,15 @@ 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-exercises.tex` (in the root folder of the project archive). How do we include the different sections here? \ No newline at end of file +* 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? + +@slide(layout=content-only) + +@title +Note + +@content + ++ 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. \ No newline at end of file -- 2.47.2 From e99939dcdb06c6a20dffd03fb4f5aabb288c1c2a Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 18:17:58 +0100 Subject: [PATCH 10/14] Fix table caption --- slides/tables.de.md | 2 +- slides/tables.en.md | 4 +- svg/chapter-12/tabelle-beispiel-crop.svg | 644 +++++++++++------------ svg/chapter-12/tabelle-beispiel-orig.svg | 644 +++++++++++------------ svg/chapter-12/tabelle-beispiel.tex | 2 +- svg/chapter-12/table-example-crop.svg | 642 +++++++++++----------- svg/chapter-12/table-example-orig.svg | 642 +++++++++++----------- svg/chapter-12/table-example.tex | 4 +- 8 files changed, 1280 insertions(+), 1304 deletions(-) diff --git a/slides/tables.de.md b/slides/tables.de.md index 54b9948..6233e80 100644 --- a/slides/tables.de.md +++ b/slides/tables.de.md @@ -101,6 +101,7 @@ Die gesamte Tabelle @content ``` {.hljs .lang-tex} \begin{table}[h] + \caption{Bekannte Programmiersprachen} \begin{tabular}{lrcl} \toprule Sprache & Autor & Erscheinungsjahr & Dateiendung \\ @@ -110,7 +111,6 @@ Die gesamte Tabelle Python & Guido van Rossum & 1991 & .py \\ \bottomrule \end{tabular} - \caption{Bekannte Programmiersprachen} \end{table} ``` diff --git a/slides/tables.en.md b/slides/tables.en.md index cf58e1f..39e9227 100644 --- a/slides/tables.en.md +++ b/slides/tables.en.md @@ -101,16 +101,16 @@ The entire table @content ``` {.hljs .lang-tex} \begin{table}[h] + \caption{Well-known programming languages} \begin{tabular}{lrcl} \toprule - Language & Author & Year & Filename extension \\ + Language & Author & Year & File extension \\ \midrule C++ & Bjarne Stroustrup & 1985 & .cpp \\ Java & James Gosling & 1998 & .java \\ Python & Guido van Rossum & 1991 & .py \\ \bottomrule \end{tabular} - \caption{Well-known programming languages} \end{table} ``` diff --git a/svg/chapter-12/tabelle-beispiel-crop.svg b/svg/chapter-12/tabelle-beispiel-crop.svg index d5216f9..4b48696 100644 --- a/svg/chapter-12/tabelle-beispiel-crop.svg +++ b/svg/chapter-12/tabelle-beispiel-crop.svg @@ -1,375 +1,359 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + - - - + + + - - + + + + + - - - - - + + + - - - - - + + + + + + + - - - - - + + + - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + + - - - - - + + + + + + + - - + + + - - - - - - - + + - - - - - + + + + + - - - - - - - + + + + + - - - - - - - - - - - + + + + + - - - - - + + + + + + + + + - - - - - - + + + + + - - - + + + + + + + + - - + + + + + - - + + + + + + + - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - - - + + - - - - - - + + - - + + + + + + - - - + + + + + + + + - - - - - - - + + + + + - - - - - + + + + - - - - - - + + - - - + + - - - + + + + + + + - - - - - + + + + + + - - - + + - - - - - - - + + + - - - + + + + + + + - - - - - - - - - - - - - - - - - + + + + + - - - - + + + + + + diff --git a/svg/chapter-12/tabelle-beispiel-orig.svg b/svg/chapter-12/tabelle-beispiel-orig.svg index 051b049..2268823 100644 --- a/svg/chapter-12/tabelle-beispiel-orig.svg +++ b/svg/chapter-12/tabelle-beispiel-orig.svg @@ -1,375 +1,359 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + - - - + + + - - + + + + + - - - - - + + + - - - - - + + + + + + + - - - - - + + + - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + + - - - - - + + + + + + + - - + + + - - - - - - - + + - - - - - + + + + + - - - - - - - + + + + + - - - - - - - - - - - + + + + + - - - - - + + + + + + + + + - - - - - - + + + + + - - - + + + + + + + + - - + + + + + - - + + + + + + + - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - - - + + - - - - - - + + - - + + + + + + - - - + + + + + + + + - - - - - - - + + + + + - - - - - + + + + - - - - - - + + - - - + + - - - + + + + + + + - - - - - + + + + + + - - - + + - - - - - - - + + + - - - + + + + + + + - - - - - - - - - - - - - - - - - + + + + + - - - - + + + + + + diff --git a/svg/chapter-12/tabelle-beispiel.tex b/svg/chapter-12/tabelle-beispiel.tex index ecc8008..afbf1d5 100644 --- a/svg/chapter-12/tabelle-beispiel.tex +++ b/svg/chapter-12/tabelle-beispiel.tex @@ -11,6 +11,7 @@ \begin{table}[h] \centering + \caption{Bekannte Programmiersprachen} \begin{tabular}{lrcl} \toprule Sprache & Autor & Erscheinungsjahr & Dateiendung \\ \midrule @@ -19,7 +20,6 @@ Python & Guido van Rossum & 1991 & .py \\ \bottomrule \end{tabular} - \caption{Bekannte Programmiersprachen} \end{table} \end{document} diff --git a/svg/chapter-12/table-example-crop.svg b/svg/chapter-12/table-example-crop.svg index 45b1667..74fc7cb 100644 --- a/svg/chapter-12/table-example-crop.svg +++ b/svg/chapter-12/table-example-crop.svg @@ -1,361 +1,365 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + - - + + + + + - - - - - - + + + - - + + - - - - + + + + + + + + - - + + + - - - - - - - + + + + + + + + + + + + - - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - - - - + + + + + + + + + + - - - - - + + - - - - - - + + + + + + - - - + + - - + + + + - - + + + + + - - - - - - + + + + + + + + + + - - - - - - - - + + + + + - - - - - + + + + + + + - - - + + + + + + + + + + + - - - - - - - + + + + + - - - - - - + + + + + - - + + + - - - + + - - - - - - - + + - - - - - + + + + + + - - - - - - + + + + + + + + - - - + + + + + - - - - - + + + + - - - + + - - + + - - - - - - - - + + + + + + + - - - + + + + + + - - - - - - - - - - - - + + - - - - + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-12/table-example-orig.svg b/svg/chapter-12/table-example-orig.svg index 5049a5a..acbc1ad 100644 --- a/svg/chapter-12/table-example-orig.svg +++ b/svg/chapter-12/table-example-orig.svg @@ -1,361 +1,365 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + - - + + + + + - - - - - - + + + - - + + - - - - + + + + + + + + - - + + + - - - - - - - + + + + + + + + + + + + - - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - - - - + + + + + + + + + + - - - - - + + - - - - - - + + + + + + - - - + + - - + + + + - - + + + + + - - - - - - + + + + + + + + + + - - - - - - - - + + + + + - - - - - + + + + + + + - - - + + + + + + + + + + + - - - - - - - + + + + + - - - - - - + + + + + - - + + + - - - + + - - - - - - - + + - - - - - + + + + + + - - - - - - + + + + + + + + - - - + + + + + - - - - - + + + + - - - + + - - + + - - - - - - - - + + + + + + + - - - + + + + + + - - - - - - - - - - - - + + - - - - + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-12/table-example.tex b/svg/chapter-12/table-example.tex index 2da8871..428aa29 100644 --- a/svg/chapter-12/table-example.tex +++ b/svg/chapter-12/table-example.tex @@ -11,15 +11,15 @@ \begin{table}[h] \centering + \caption{Well-known programming languages} \begin{tabular}{lrcl} \toprule - Language & Author & Year & Filename extension \\ + Language & Author & Year & File extension \\ \midrule C++ & Bjarne Stroustrup & 1985 & .cpp \\ Java & James Gosling & 1998 & .java \\ Python & Guido van Rossum & 1991 & .py \\ \bottomrule \end{tabular} - \caption{Well-known programming languages} \end{table} \end{document} -- 2.47.2 From f1b43189920d97840d2eee105c043971c73c9717 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 18:20:11 +0100 Subject: [PATCH 11/14] Cancel Fooboar's wedding --- slides/references-and-footnotes.en.md | 2 +- svg/chapter-13/cref-example-crop.svg | 349 +++++++++++++------------- svg/chapter-13/cref-example-orig.svg | 349 +++++++++++++------------- svg/chapter-13/cref-example.tex | 2 +- svg/chapter-13/ref-example-crop.svg | 120 ++++----- svg/chapter-13/ref-example-orig.svg | 120 ++++----- svg/chapter-13/ref-example.tex | 2 +- 7 files changed, 475 insertions(+), 469 deletions(-) diff --git a/slides/references-and-footnotes.en.md b/slides/references-and-footnotes.en.md index 2a595e2..ab2fbab 100644 --- a/slides/references-and-footnotes.en.md +++ b/slides/references-and-footnotes.en.md @@ -108,7 +108,7 @@ Using the `cleveref` package (with *one* ‘r’!): \label{fig:fooboar} \end{figure} -Fooboar is a young and highly engaged +Fooboar is a young and highly committed boar (see \Cref{fig:fooboar}). ``` diff --git a/svg/chapter-13/cref-example-crop.svg b/svg/chapter-13/cref-example-crop.svg index be7fe8e..f6d98dc 100644 --- a/svg/chapter-13/cref-example-crop.svg +++ b/svg/chapter-13/cref-example-crop.svg @@ -1,206 +1,203 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - + + - - + + - - - + + + - - - - + + + + - - + + - - + + - - - + + + - - - - + + + + - - - + + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + + + - - + + - - - - + + + + - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + diff --git a/svg/chapter-13/cref-example-orig.svg b/svg/chapter-13/cref-example-orig.svg index 6dcaa2c..d063503 100644 --- a/svg/chapter-13/cref-example-orig.svg +++ b/svg/chapter-13/cref-example-orig.svg @@ -1,206 +1,203 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - + + - - + + - - - + + + - - - - + + + + - - + + - - + + - - - + + + - - - - + + + + - - - + + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + + + - - + + - - - - + + + + - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + diff --git a/svg/chapter-13/cref-example.tex b/svg/chapter-13/cref-example.tex index 42ba028..6b6d341 100644 --- a/svg/chapter-13/cref-example.tex +++ b/svg/chapter-13/cref-example.tex @@ -15,6 +15,6 @@ \label{img:fooboar} \end{figure} -Fooboar is a young and highly engaged boar (see \Cref{img:fooboar}). +Fooboar is a young and highly committed boar (see \Cref{img:fooboar}). \end{document} diff --git a/svg/chapter-13/ref-example-crop.svg b/svg/chapter-13/ref-example-crop.svg index 7d87d20..6ac0f52 100644 --- a/svg/chapter-13/ref-example-crop.svg +++ b/svg/chapter-13/ref-example-crop.svg @@ -63,13 +63,13 @@ - - - + + + - + @@ -123,96 +123,102 @@ - + - - + + - - - + + + - - - + + + - - + + - - - - - - + + + + + + - - + + - - + - - + - - - + + - - + + + - + + - + - - - - + - - - + + + + - + + + - - - + + + + + + - - - - - - - + + + + + + + + + - + - - - - + + + + + + diff --git a/svg/chapter-13/ref-example-orig.svg b/svg/chapter-13/ref-example-orig.svg index e147cae..da56950 100644 --- a/svg/chapter-13/ref-example-orig.svg +++ b/svg/chapter-13/ref-example-orig.svg @@ -63,13 +63,13 @@ - - - + + + - + @@ -123,96 +123,102 @@ - + - - + + - - - + + + - - - + + + - - + + - - - - - - + + + + + + - - + + - - + - - + - - - + + - - + + + - + + - + - - - - + - - - + + + + - + + + - - - + + + + + + - - - - - - - + + + + + + + + + - + - - - - + + + + + + diff --git a/svg/chapter-13/ref-example.tex b/svg/chapter-13/ref-example.tex index 3fd68cf..53526e4 100644 --- a/svg/chapter-13/ref-example.tex +++ b/svg/chapter-13/ref-example.tex @@ -15,6 +15,6 @@ \label{img:fooboar} \end{figure} -As you can see in Figure \ref{img:fooboar}, fooboar is a young and very engaged boar. +As you can see in Figure \ref{img:fooboar}, Fooboar is a young and highly committed boar. \end{document} -- 2.47.2 From 7afabb80df0479054ef46d49c5a3bf82f807d508 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 18:25:47 +0100 Subject: [PATCH 12/14] Fix LaTeX companion year --- slides/literature.de.md | 2 +- slides/literature.en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/literature.de.md b/slides/literature.de.md index 5c3689d..f0064c4 100644 --- a/slides/literature.de.md +++ b/slides/literature.de.md @@ -105,7 +105,7 @@ Ein Literaturverzeichnis erstellen und einfügen * Erstellt im Ordner `exercises/literature` eine neue BibTeX-Datei `literature.bib`. * Sucht bei Google Scholar oder dblp.org die BibTeX-Einträge für folgende $\LaTeX$-Handbücher: * Dilip Datta (2017): $\LaTeX$ in 24 Hours. A Practical Guide for Scientific Writing. - * Frank Mittelbach / Michel Goossens (2012): Der $\LaTeX$-Begleiter. + * Frank Mittelbach / Michel Goossens (2010): Der $\LaTeX$-Begleiter. * Fügt die BibTeX-Einträge in die BibTeX-Datei ein. * Vergebt aussagekräftige BibTeX-Keys. * Bindet die BibTeX-Datei an einer geeigneten Stelle ein, an der später auch das Literaturverzeichnis zu sehen sein soll. diff --git a/slides/literature.en.md b/slides/literature.en.md index 79325df..4c88feb 100644 --- a/slides/literature.en.md +++ b/slides/literature.en.md @@ -106,7 +106,7 @@ Creating and inserting references * Create a new BibTeX file called `literature.bib` in the `exercises/literature` folder. * Use Google Scholar or dblp.org to retrieve BibTeX references for the following $\LaTeX$ handbooks: * Dilip Datta (2017): $\LaTeX$ in 24 Hours. A Practical Guide for Scientific Writing. - * Frank Mittelbach / Michel Goossens (2012): Der $\LaTeX$-Begleiter. + * Frank Mittelbach / Michel Goossens (2010): Der $\LaTeX$-Begleiter. * Add the BibTeX entries to the BibTeX file. * Assign unique and meaningful BibTeX keys. * Include the BibTeX file in a suitable location, where later on the references should be listed. -- 2.47.2 From 859345f5090859f2717e94061add89f55daa6835 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 18:38:14 +0100 Subject: [PATCH 13/14] Add the library's notes on reference management --- slides/literature.de.md | 10 ++++++++++ slides/literature.en.md | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/slides/literature.de.md b/slides/literature.de.md index f0064c4..ef712db 100644 --- a/slides/literature.de.md +++ b/slides/literature.de.md @@ -112,3 +112,13 @@ Ein Literaturverzeichnis erstellen und einfügen * Zitiert die zwei Handbücher im Text in der Datei `exercises/literature/literature.tex`. * Wählt den Bibliographiestil `plain`. +@slide(layout=extra-content-only) + +@title +Die Unibib empfiehlt … + +@content +* Literaturverwaltungsprogramme (insbes. **[Zotero](https://www.zotero.org/)**) helfen, eine Literaturdatenbank aufzubauen, Zitate zu speichern und eigene Notizen zu den Texten zu organisieren +* ++ Support durch das **Literaturverwaltungs-Team der Universitätsbibliothek**: literaturverwaltung.ub@uni-bamberg.de +* ++ für die Zusammenarbeit zwischen LaTeX und Literaturverwaltung: **`biblatex` + [`biber`](https://biblatex-biber.sourceforge.net/)** (bessere Unterstützung von UTF-8 und diversen Zitierstilen) +* ++ in Zotero: aktiviert das Plugin **["Better BibTeX"](https://retorque.re/zotero-better-bibtex/)** (auch, wenn man `biblatex` verwendet) diff --git a/slides/literature.en.md b/slides/literature.en.md index 4c88feb..6e1e7c3 100644 --- a/slides/literature.en.md +++ b/slides/literature.en.md @@ -112,3 +112,14 @@ Creating and inserting references * Include the BibTeX file in a suitable location, where later on the references should be listed. * Cite the two handbooks in the file `exercises/literature/literature.tex`. * Make use of the `plain` bibliography style. + +@slide(layout=extra-content-only) + +@title +The University Library recommends … + +@content +* reference management software (esp. **[Zotero](https://www.zotero.org/)**) help to build a literature database, store quotations, and organize one's own notes +* ++ support available from the **library's own reference management team**: literaturverwaltung.ub@uni-bamberg.de +* ++ for connecting LaTeX and reference management: **`biblatex` + [`biber`](https://biblatex-biber.sourceforge.net/)** (better support for UTF-8 and varius citation styles) +* ++ in Zotero: activate the plugin **["Better BibTeX"](https://retorque.re/zotero-better-bibtex/)** (applies also if you are using `biblatex`) \ No newline at end of file -- 2.47.2 From 34c7083d9aa787b4a6bfcf406ed66e411f179c63 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 18:53:22 +0100 Subject: [PATCH 14/14] Fix task description --- slides/basic-document-structure.de.md | 3 ++- slides/basic-document-structure.en.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/slides/basic-document-structure.de.md b/slides/basic-document-structure.de.md index 5cf4458..0ad0e67 100644 --- a/slides/basic-document-structure.de.md +++ b/slides/basic-document-structure.de.md @@ -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. diff --git a/slides/basic-document-structure.en.md b/slides/basic-document-structure.en.md index a8a1d10..8284c80 100644 --- a/slides/basic-document-structure.en.md +++ b/slides/basic-document-structure.en.md @@ -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. -- 2.47.2