I encountered a problem regarding the spacing between two lines of an item when wrapping a row of text.
Here is a MWE:
\documentclass[a4paper, 12pt]{article}
\begin{document}
\noindent
Some text some text some text some text some text some text some text.
Some wrapped text some wrapped text some wrapped text some wrapped text:
\begin{enumerate}
\item Some other text some other text some other text some other text some other text some other text.
Here lies the problem.
\item Some other text some other text some other text some other text some other text some other text.
\end{enumerate}
Some boring text again some boring text again some boring text again.
\end{document}
Which gives the following image as an output:
As can be seen, the vertical space between the lines of the top text is different than the one between the lines of the first item.
I could fix it by using the enumitem
package and setting parsep=0pt
, but doing so also changes the spacing between the two items, which is given by \itemsep + \parsep
, and I don't want that.
Another way could be to set a negative vertical space before the wrapped line using the \vspace{}
command, but I'm unable to find the correct value of vertical space to remove and it also feels a bit sloppy to me.
How can I get correct line spacing for the wrapped line of the item, by maintaining all other spacings the same?
Thank you for your time, it is very appreciated.
enumitem
you can easily changes vertical distances by defining new values fortopsep
,partopsep
,parsep
anditemsep
.enumitem
doesn't contain image of lists layout. so you need to find it somewhere else, that you will see what define each mentioned distances . if you have installedmemoir
package, you will find it on page 137 of its documentation.