Time for action – writing a step-by-step tutorial
Let's prepare a tiny "how-to" about designing the page layout:
Start with a new document and enter the following code:
\documentclass{article} \begin{document} \begin{enumerate} \item State the paper size by an option to the document class \item Determine the margin dimensions using one of these packages: \begin{itemize} \item geometry \item typearea \end{itemize} \item Customize header and footer by one of these packages: \begin{itemize} \item fancyhdr \item scrpage2 \end{itemize} \item Adjust the line spacing for the whole document \begin{itemize} \item by using the setspace package \item or by the command \linespread{factor} \end{itemize} \end{enumerate} \end{document}
Typeset to generate the «how-to»:
What just happened?
We used an enumerate environment. Except for the name, we use it just like the itemize
environment; each list item is introduced by the command \item
. Again, we nested two lists...