I'm using \setlength{\parskip}{\baselineskip}
to insert vertical space between the paragraphs in my document. However this create a conflict with my list environments. To solve that I am using the enumitem
package to set the space between the last line before my itemize environment and my first item to =0pt
however, the paragraph spacing created with \setlength{\parskip}{\baselineskip}
cancel this out. I can get at it by setting topsep
to ~ -9pt
, but them I loose the spacing between the last item and the next paragraph (MWE is below). I have deliberately chosen noitemsep
as I also want less spacing between the individual item, I would like to keep this.
\documentclass{article}
% insert vertical space between paragraphs
\setlength{\parskip}{\baselineskip}
% Modifies itemized lists with enumitem http://www.ctan.org/pkg/enumitem
\usepackage{enumitem}
\setlist[itemize]{noitemsep, topsep=0pt} % , topsep=-9pt
% http://tug.ctan.org/tex-archive/macros/latex/contrib/blindtext/blindtext.pdf
\usepackage{blindtext}
\begin{document}
\blindtext
\noindent
This is the things cancel each other out:
% space I would like to get rid of is here!
\begin{itemize}
\item dummy first item
\item insert vertical space between paragraphs
\item \verb|[topsep=0pt]| in \verb| \usepackage{enumitem} |
\item dummy last item
\end{itemize}
\blindtext
\blindtext
\end{document}