February 19, 2025

Reduce spaces before and after a list of items

I read about parameters of list in Lamport’s book, i.e. \topsep, \itemsep and \parsep, and was trying to remove spaces before and after a list of items, however, I could manage altering the value of these parameters.

Then I found on a website which stipulates:

Lamport’s book lists various parameters for the layout of list (things like , and ), but fails to mention that they’re set automatically within the standard (LaTeX-defined) lists.

This happens because each list executes a command @list (the depth appearing as a lower-case roman numeral); what’s more, the top-level @listi is usually reset when the font size is changed.

As a result, it’s rather tricky for the user to control list spacing. Of course, the real answer is to use a document class designed with more modest list spacing, but we all know such things are hard to come by. The memoir class doesn’t provide more compact lists, but offers the user control over the list spacing using and (and *-ed versions of them); see section 8.6 of the memoir manual.

The article lists different options to alter these parameters, and then says that:

For ultimate flexibility (including manipulation of ), the enumitem package permits adjustment of list parameters using a key=‹value›” format.

I added the enumitem package:

\usepackage{enumitem}

in the preamble of my document, but I have not managed to alter the sizes of spaces before and after items yet.

Source: https://texfaq.org/FAQ-complist


personal computing command-line interface (cli) gnu linux trisquel office applications wiki publishing latex

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2025 by yctct is licensed under CC BY-SA 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88