diff --git a/slides/chapter-02.de.md b/slides/chapter-02.de.md index 986a5b6..03646f4 100644 --- a/slides/chapter-02.de.md +++ b/slides/chapter-02.de.md @@ -44,7 +44,7 @@ Was brauchen wir dazu? ### Editor enthält unseren Quelltext mit allen Befehlen zur semantischen Gliederung -*TeXstudio, TeXMaker* +TeXstudio, TeXMaker @column-two ### Compiler diff --git a/slides/chapter-02.en.md b/slides/chapter-02.en.md index 20f8f2a..2e975dc 100644 --- a/slides/chapter-02.en.md +++ b/slides/chapter-02.en.md @@ -44,7 +44,7 @@ What do we need? ### Editor provides our source code with all the commands that structure the text semantically -*TeXstudio, TeXMaker* +TeXstudio, TeXMaker @column-two ### Compiler @@ -71,7 +71,7 @@ General structure of a command: \newpage % inserts a new page \textbf{} % formats the text bold \usepackage[utf8]{inputenc} % configures the character encoding -\frac{}{} % inserts a mathematical fraction +\frac{}{} % inserts a mathematical fraction ``` diff --git a/slides/chapter-03.de.md b/slides/chapter-03.de.md index 2f265cd..82fb2f0 100644 --- a/slides/chapter-03.de.md +++ b/slides/chapter-03.de.md @@ -13,10 +13,10 @@ Präambel & Dokumentumgebung

👁 Ein mit LaTeX gesetztes Dokument besteht aus:

* **Präambel:** globale Einstellungen (Dokumentklasse, Kodierung, Sprache, Seitenformat, zusäzliche Pakete, …) und -* **Dokumentumgebung:** textueller Inhalt des Dokuments. +* **Dokumentumgebung:** Inhalt des Dokuments. ``` {.lang-tex .hljs .fragment} -\documentclass{scrartcl} +\documentclass[ngerman]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} @@ -37,7 +37,7 @@ Dokumentenklasse @content ``` {.lang-tex .hljs} -\documentclass[<parameter>]{<dokumentklasse>} +\documentclass[]{} ``` Konkret zum Beispiel @@ -338,8 +338,8 @@ Der erste Abschnitt. Ein Unterabschnitt. \subsection{Suche ohne Schwein} Ein weiterer Unterabschitt. -\subsubsection[But why?]{Wer macht denn -sowas?} +\subsubsection[But why?] + {Wer macht denn sowas?} Unter-Unterabschnitt. \section{Trüffelrezepte} Mein Lieblingsrezept diff --git a/slides/chapter-03.en.md b/slides/chapter-03.en.md index af2a0df..c7770e6 100644 --- a/slides/chapter-03.en.md +++ b/slides/chapter-03.en.md @@ -13,21 +13,21 @@ Preamble & document environment

👁 Every LaTeX document is composed of

* a **preamble:** global settings (document class, encoding, language, page format, additional packages, …) and -* a **document environment:** textual content of the document. +* a **document environment:** content of the document. ``` {.lang-tex .hljs .fragment} -\documentclass{scrartcl} +\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} -\usepackage[ngerman]{babel} +\usepackage{babel} \begin{document} -Hallo, Welt! +Hello world! \end{document} ``` @preview -![](svg/chapter-03/hallo-crop.svg) +![](svg/chapter-03/hello-crop.svg) @slide(layout=wide-content) @@ -37,7 +37,7 @@ Document class @content ``` {.lang-tex .hljs} -\documentclass[<parameter>]{<document_class>} +\documentclass[]{} ``` For example: @@ -64,7 +64,7 @@ Packages \usepackage[]{} ``` -* Packages provide additional commands and funcionality. +* Packages provide additional commands and functionality. * There a different packages for different use cases (e. g., formulas, lists, ...). * Before they can be used, they have to be included **within the preamble.** @@ -159,8 +159,8 @@ Continuous Text @content ``` {.lang-tex .hljs} -Continous text can be written directly in the ↲ -source code. ↲ +Continous text can be written directly ↲ +in the source code. ↲ Simple line breaks ↲ are ignored, ↲ just as multiple space characters. ↲ @@ -191,7 +191,7 @@ Some characters do things in LaTeX: 50% is the half. ``` -Solution: prefix with »`\`«: +Solution: prefix with ‘`\`’: ``` {.lang-tex .hljs} 50\% is the half. @@ -338,7 +338,8 @@ The first section. A subsection. \subsection{Hunt without a pig} Another subsection. -\subsubsection[But why?]{Why would you do that?} +\subsubsection[But why?] + {Why would you do that?} Sub-subsection. \section{Truffle recipes} My favorite recipe diff --git a/svg/chapter-02/wysiwyg.svg b/svg/chapter-02/wysiwyg.svg old mode 100644 new mode 100755 diff --git a/svg/chapter-03/hallo-crop.svg b/svg/chapter-03/hallo-crop.svg index f3feec4..c9821c8 100644 --- a/svg/chapter-03/hallo-crop.svg +++ b/svg/chapter-03/hallo-crop.svg @@ -1,56 +1,56 @@ - + - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + - + - - - - + + + + diff --git a/svg/chapter-03/hallo-orig.svg b/svg/chapter-03/hallo-orig.svg index f6fae6a..498643f 100644 --- a/svg/chapter-03/hallo-orig.svg +++ b/svg/chapter-03/hallo-orig.svg @@ -6,51 +6,51 @@ - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + - + - - - - + + + + diff --git a/svg/chapter-03/hallo.tex b/svg/chapter-03/hallo.tex index cd5d387..db0c78f 100644 --- a/svg/chapter-03/hallo.tex +++ b/svg/chapter-03/hallo.tex @@ -1,10 +1,8 @@ -\documentclass[a4paper,ngerman]{article} -\usepackage{babel} +\documentclass[ngerman]{article} +\usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} -\usepackage{lmodern} - \begin{document} \thispagestyle{empty} Hallo, Welt! diff --git a/svg/chapter-03/hello-crop.svg b/svg/chapter-03/hello-crop.svg new file mode 100644 index 0000000..28c7690 --- /dev/null +++ b/svg/chapter-03/hello-crop.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-03/hello-orig.svg b/svg/chapter-03/hello-orig.svg new file mode 100644 index 0000000..2e765fc --- /dev/null +++ b/svg/chapter-03/hello-orig.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-03/hello.tex b/svg/chapter-03/hello.tex new file mode 100644 index 0000000..97b4bbd --- /dev/null +++ b/svg/chapter-03/hello.tex @@ -0,0 +1,9 @@ +\documentclass[a4paper]{article} +\usepackage{babel} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} + +\begin{document} +\thispagestyle{empty} +Hello world! +\end{document} diff --git a/svg/chapter-03/inhalt-crop.svg b/svg/chapter-03/inhalt-crop.svg index bb0102e..22a2b6a 100644 --- a/svg/chapter-03/inhalt-crop.svg +++ b/svg/chapter-03/inhalt-crop.svg @@ -137,6 +137,9 @@ + + + @@ -911,6 +914,7 @@ + diff --git a/svg/chapter-03/inhalt-orig.svg b/svg/chapter-03/inhalt-orig.svg index 7b342e8..58c72a3 100644 --- a/svg/chapter-03/inhalt-orig.svg +++ b/svg/chapter-03/inhalt-orig.svg @@ -137,6 +137,9 @@ + + + @@ -911,6 +914,7 @@ + diff --git a/svg/chapter-03/inhalt.tex b/svg/chapter-03/inhalt.tex index a9e59fd..4cb725c 100644 --- a/svg/chapter-03/inhalt.tex +++ b/svg/chapter-03/inhalt.tex @@ -11,7 +11,7 @@ Der erste Abschnitt. Ein Unterabschnitt. \subsection{Suche ohne Schwein} Ein weiterer Unterabschitt. -\subsubsection[But why?]{Wer macht denn sowas} +\subsubsection[But why?]{Wer macht denn sowas?} Unter-Unterabschnitt. \section{Trüffelrezepte} Mein Lieblingsrezept diff --git a/svg/chapter-03/paragraphs.tex b/svg/chapter-03/paragraphs.tex index ee197ef..dcc7370 100644 --- a/svg/chapter-03/paragraphs.tex +++ b/svg/chapter-03/paragraphs.tex @@ -7,8 +7,8 @@ \begin{document} \thispagestyle{empty} \section*{Absätze} -Continous text can be written directly in the -source code. +Continous text can be written directly +in the source code. Simple line breaks are ignored, just as multiple space characters.