Time for action – writing a step-by-step tutorial

Let's prepare a tiny "how-to" about designing the page layout:

  1. 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}
  2. Typeset to generate the «how-to»: ...

Get LaTeX Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.