Exclude space before \ begin {itemize}

In latex, how do I remove the space inserted before itemize?

\begin{itemize} % produces lots of vertical space \item ... \item ... \end{itemize} 
+90
latex
Jun 29 '09 at 23:43
source share
7 answers

Try \vspace{-5mm} before detailing.

+61
Jun 29 '09 at 23:46
source share

A solution to this problem is to override the appropriate list environment. The enumitem package is my favorite way to do such things; It has many parameters and parameters that can vary, either for all lists, or for each list separately.

Here's how to do it (something like), which I think you want:

 \ usepackage {enumitem}
 \ setlist {nolistsep}
+101
Jul 02 '09 at 8:22
source share

Use \vspace{-\topsep} before \begin{itemize} .

Use \setlength{\parskip}{0pt} \setlength{\itemsep}{0pt plus 1pt} after \begin{itemize} .

And for the space after the list, use \vspace{-\topsep} after \end{itemize} .

 \vspace{-\topsep} \begin{itemize} \setlength{\parskip}{0pt} \setlength{\itemsep}{0pt plus 1pt} \item ... \item ... \end{itemize} \vspace{-\topsep} 
+37
Nov 19 '13 at 19:05
source share

The โ€œrightโ€ LaTeX way to do this is to use a package that allows you to specify the desired interval. There are several such packages, and these two pages link to their lists ...

+13
Jun 29 '09 at 23:59
source share

The cleanest way to do this is to use the enumitem package ( http://mirror.hmc.edu/ctan/macros/latex/contrib/enumitem/enumitem.pdf ). For example,

enter image description here

 \documentclass{article} \usepackage{enumitem}% http://ctan.org/pkg/enumitem \begin{document} \noindent Here is some text and I want to make sure there is no spacing the different items. \begin{itemize}[noitemsep] \item Item 1 \item Item 2 \item Item 3 \end{itemize} \noindent Here is some text and I want to make sure there is no spacing between this line and the item list below it. \begin{itemize}[noitemsep,topsep=0pt] \item Item 1 \item Item 2 \item Item 3 \end{itemize} \end{document} 

Also, if you want to use this option globally by lists, you can use

 \usepackage{enumitem}% http://ctan.org/pkg/enumitem \setlist[itemize]{noitemsep, topsep=0pt} 

However, note that this package does not work with the beamer package, which is used to create presentations in Latex.

+12
Jan 21 '16 at 8:52
source share

I am very pleased with the paralysis package

+7
Jun 30 '09 at 9:35
source share
 \renewcommand{\@listI}{% \leftmargin=25pt \rightmargin=0pt \labelsep=5pt \labelwidth=20pt \itemindent=0pt \listparindent=0pt \topsep=0pt plus 2pt minus 4pt \partopsep=0pt plus 1pt minus 1pt \parsep=0pt plus 1pt \itemsep=\parsep} 
+6
Jun 30 '09 at 9:13
source share



All Articles