8 List Environments

8.1 Supported Environments

Basically, there are three simple ways to generate lists: Normal lists, numbered lists, and lists with keywords as item labels. The corresponding environments are itemize, enumerate, and description.

8.2 Examples

Here you will find an example for each of the above list environments:

\begin{itemize}  
\item First item.  
\item Second item.  
  \begin{itemize}  
  \item First subitem.  
  \item Second subitem.  
  \end{itemize}  
\end{itemize

  1. This is an item which contains text that is more than one line long. It will be broken correctly at the line end.
  2. That is the second item, which contains two subitems.
    1. This is an item which contains text that is more than one line long. It will be broken correctly at the line end.

\begin{enumerate}  
\item This is an item which contains text that is more than one line  
  long. It will be broken correctly at the line end.  
\item That is the second item, which contains two subitems.  
  \begin{enumerate}  
  \item This is an item which contains text that is more than one line  
    long. It will be broken correctly at the line end.  
  \item \dots  
  \end{enumerate}  
\end{enumerate}

Item 1.
Here comes the text.
Item 2.
Text for the second item.
Subitem 1.
Here comes the text.
Subitem 2.
Text for the second subitem.

\begin{description}  
\item[Item 1.]Here comes the text.  
\item[Item 2.]Text for the second item.  
  \begin{description}  
  \item[Subitem 1.]Here comes the text.  
  \item[Subitem 2.]Text for the second subitem.  
  \end{description}  
\end{description}

These environments can also be mixed in the sense that e.g. a numbered list can contain a description list as a sublist.


  Go to previous page Go up Go to next page