O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – shrinking our tutorial

We shall remove the white space around the list items and before and after the whole list as well:

  1. In the previous example, load the package paralist and replace enumerate with compactenum and itemize with compactitem:
    \documentclass{article} \usepackage{paralist} \begin{document} \begin{compactenum} \item State the paper size by an option to the document class \item Determine the margin dimensions using one of these packages: \begin{compactitem} \item geometry \item typearea \end{compactitem} \item Customize header and footer by one of these packages: \begin{compactitem} \item fancyhdr \item scrpage2 \end{compactitem} \item Adjust the line spacing for the whole document \begin{compactitem} \item by using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required