From be0d898ade6077683c25a25181dd6b4956a94360 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:27:44 +0100 Subject: [PATCH] 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}