adapt basic-document-structure exercise to presentation
This commit is contained in:
parent
0037368ab3
commit
4251abb989
4
exercises/basic-document-structure/preamble.code.tex
Normal file
4
exercises/basic-document-structure/preamble.code.tex
Normal file
@ -0,0 +1,4 @@
|
||||
\documentclass{scrartcl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[english]{babel}
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user