Skip to content
Snippets Groups Projects
Commit baca3233 authored by Goik Martin's avatar Goik Martin
Browse files

Starting Tdoc exercises

parent e2c70ad6
No related branches found
No related tags found
No related merge requests found
File added
<?xml version="1.0" encoding="UTF-8"?>
<chapter version="5.0" xml:id="tdocChapExercises"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:m="http://www.w3.org/1998/Math/MathML"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:db="http://docbook.org/ns/docbook">
<title>Exercises</title>
<section xml:id="tdocSectExerciseLatex">
<title>LaTeX</title>
<section xml:id="tdocExerciseLatexHello">
<title>LaTeX hello,... world</title>
<qandaset defaultlabel="qanda" xml:id="tdocQandaLatexHello">
<qandadiv>
<qandaentry>
<question>
<para>Use the <link
xlink:href="https://www.tug.org/texworks">TeXworks</link> GUI to
create this <link
xlink:href="Ref/Screen/latexHelloWorld.pdf">PDF
result</link>.</para>
</question>
<answer>
<programlisting language="tex">\documentclass[11pt]{article} % use larger type; default would be 10pt
\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
\title{Basic example}
\author{The Author}
\begin{document}
\maketitle
\section{A hello world example}
Your text goes here.
\subsection{A subsection}
This may become a real subsection when adding further text ...
\end{document}</programlisting>
</answer>
</qandaentry>
</qandadiv>
</qandaset>
</section>
</section>
</chapter>
......@@ -213,6 +213,8 @@
<xi:include href="Tdoc/general.xml" xpointer="element(/1)"/>
<xi:include href="Tdoc/software.xml" xpointer="element(/1)"/>
<xi:include href="Tdoc/exercise.xml" xpointer="element(/1)"/>
</part>
<part xml:id="sda2">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment