05.25.07
LaTeX package of the week: enumitem
Last week I wrote about the enumerate package which customizes the ordered list environment. It’s very useful, but if you want to do more, enumitem is for you.
This package takes many more optional arguments using the keyval-style interface. This means in order to get a list labeled (a)…(b)…(c)… you can type
\begin{enumerate}[label=(\alph*)]
\item item the first
\item item the second
\item item the third
\end{enumerate}
So far this is the same functionality as enumerate with more cumbersome syntax. But there are lots of other optional arguments you can use as well. For instance, on tests I want not only ordered lists of problem parts, but lots of space between the list items for the students to work. With enumitem I can type
\begin{enumerate}[label=(\alph*),itemsep=\fill]
\item Derive the equation …
\item Now solve the equation.
\end{enumerate}
\vfill
The package’s documentation has lots of other examples.
technorati tags:LaTeX, package, enumerate, enumitem
Blogged with Flock