enumitem - Customizing lists with the enumitem package...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Customizing lists with the enumitem package Javier Bezos * Version 2.2 2009-05-18 1 Introduction When I began to use L A T E X several year ago, two particular points annoyed me because I found customizing them was very complicated —headlines/footlines and lists. A new way to redefine the former is accomplished in my own titlesec package, but none was availiable to customize the latter except: • enumerate , which just allows to change the label and it does it pretty well (or almost, as in Spanish a standard label is a ) which cannot be set with \emph{a}) and one must write \itshape a\/\upshape) ). • mdwlist , which only “provides some vaguely useful list-related commands and environments,” as its manual states, and not a coherent way of handling lists. • paralist , which provides lists within a paragraph (the original purpose of this package), a few other hard-wired specific changes and the optional argument of enumerate . Note enumitem does not allow grouping items within a paragraph yet. One of the main drawbacks of the standard list is its weird parameters, whose meaning is not always obvious. In order to provide a cleaner interface two approaches were possible: either defining new lists, or introducing a new syntax making the standard lists easier to customize. For marks I took the first approach in titlesec, just because I did not manage to find a satisfactory solution with the L A T E X internal macros, but since lists are in some sense more “complete” than sections and marks, I have taken here the second approach. In the interface a sort of “inheritance” is used. You can set globally the behaviour of lists and then override several parameters of, say, enumerate and then in turn override a few paremeters of a particular instance. The values will be searched in the hierarchy. This is basically an advance of a project which I am working on which will add this kind of inheritance to other structures of L A T E X. 2 The package This package is intended to ease customizing the three basic list environments: enumerate , itemize and description . It extends their syntax to allow an optional argument where a set of parameters in the form key=value are available: * For bug reports, comments and suggestions go to http://www.tex-tipografia.com/enumitem.html . English is not my strong point, so contact me when you find mistakes in the manual. Other packages by the same author: gloss (with Jos´ e Luis D´ ıaz), accents, tensind, esindex, dotlessi, titlesec, titletoc . 1 • Vertical spacing: – topsep – partopsep – parsep – itemsep • Horizontal spacing: – leftmargin – rightmargin – listparindent – labelwidth – labelsep – itemindent These are equivalent to the well known list parameters, but two of them, namely leftmargin and labelsep , can have in addition the special value of * as described below....
View Full Document

This note was uploaded on 04/06/2010 for the course MATH various taught by Professor Tao/analysis during the Spring '10 term at UCLA.

Page1 / 11

enumitem - Customizing lists with the enumitem package...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online