adapt basic-document-structure exercise to presentation

This commit is contained in:
Fradtschuk 2022-01-20 20:40:39 +01:00
parent 0037368ab3
commit 4251abb989
2 changed files with 6 additions and 6 deletions

View File

@ -0,0 +1,4 @@
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

View File

@ -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