From 4251abb98905aa92015c136c7d155ea5fa1f773d Mon Sep 17 00:00:00 2001 From: efradtschuk Date: Thu, 20 Jan 2022 20:40:39 +0100 Subject: [PATCH] adapt basic-document-structure exercise to presentation --- exercises/basic-document-structure/preamble.code.tex | 4 ++++ exercises/basic-document-structure/task.tex | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 exercises/basic-document-structure/preamble.code.tex diff --git a/exercises/basic-document-structure/preamble.code.tex b/exercises/basic-document-structure/preamble.code.tex new file mode 100644 index 0000000..c43055e --- /dev/null +++ b/exercises/basic-document-structure/preamble.code.tex @@ -0,0 +1,4 @@ +\documentclass{scrartcl} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[english]{babel} \ No newline at end of file diff --git a/exercises/basic-document-structure/task.tex b/exercises/basic-document-structure/task.tex index 7360747..4a9f85c 100644 --- a/exercises/basic-document-structure/task.tex +++ b/exercises/basic-document-structure/task.tex @@ -1,10 +1,6 @@ \begin{enumerate} - \item In the directory \file{exercises/basic-document-structure}, you can - find a file named \file{document-structure.tex}. Open the - file, copy its text and paste it into a new file. You can name the new file - as you want. Wrap the text of your new file in a - \code{latex}{document} environment and add a preamble in order to be - able to compile your first \LaTeX{} document. + \item In the directory \file{exercises/basic-document-structure}, you can find a file named \file{document-structure.tex}. Wrap the text of the file in a \code{latex}{document} environment and add the following preamble. Afterwards, compile the document. + \codeblock{latex}{./exercises/basic-document-structure/preamble.code.tex} \item Congratulations! You have created and compiled your first \LaTeX{} document. Maybe you have noticed that paragraphs within the text were created by using \code{latex}{\textbackslash\textbackslash}. Replace the