What is the best way to format a list as to remove the spaces between list items.
If you want to remove the spacing globally for every list in your document just put \setlist[itemize]{noitemsep} in your preamble.
You have to do it manually: \kern-\parskip\begin{itemize} then your \items and then \end{itemize}\kern-\parskip.
You can add negative as well as positive space with an \vspace command. LaTeX removes vertical space that comes at the end of a page. If you don't want LaTeX to remove this space, include the optional * argument. Then the space is never removed.
It's easier with the enumitem package:
\documentclass{article} \usepackage{enumitem} \begin{document} Less space: \begin{itemize}[noitemsep] \item foo \item bar \item baz \end{itemize} Even more compact: \begin{itemize}[noitemsep,nolistsep] \item foo \item bar \item baz \end{itemize} \end{document}
The enumitem package provides a lot of features to customize bullets, numbering and lengths.
The paralist package provides very compact lists: compactitem, compactenum and even lists within paragraphs like inparaenum and inparaitem.
You could do something like this:
\documentclass{article} \begin{document} Normal: \begin{itemize} \item foo \item bar \item baz \end{itemize} Less space: \begin{itemize} \setlength{\itemsep}{1pt} \setlength{\parskip}{0pt} \setlength{\parsep}{0pt} \item foo \item bar \item baz \end{itemize} \end{document}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With