Skip to content

Commit

Permalink
adapt basic-document-structure exercise to presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
efradtschuk committed Jan 20, 2022
1 parent 0037368 commit 4251abb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions exercises/basic-document-structure/preamble.code.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
8 changes: 2 additions & 6 deletions exercises/basic-document-structure/task.tex
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4251abb

Please sign in to comment.