New answers tagged

2

With the awesome help of @Inkane, I've tried to develop a version of Steven's code that interacts more nicely with enumerate and itemize environments. It's used like Steven's implementation, but has the following changes: It does not prevent the parskip when the next paragraph is an enumerate or itemize. It does not change the internal spacing in a list ...


4

the extra lines contain the spurious spaces you have added in the environment definition. Remove them and you get: \documentclass{article} \newenvironment{eparskip} {% \parindent0pt \setlength{\parskip}{1em}% }{% \par \vspace{1em} } \begin{document} \begin{eparskip} The paragraphs in this block will have single space and no indent, and will not ...


4

The third example ends with <space><space>\vspace{1em}<bookkeeping business><space>\par where the <bookkeeping business> is done by \end{eparskip} and is irrelevant to the issue. The relevant thing is that the horizontal spaces before \vspace are not removed and make for a third line in the paragraph. Where do they come ...


3

You could just copy the relevant changes form parskip.sty and wrap them in an environment. I named it Parskip (uppercase P!) because \parskip is already defined as a length an thus there can't be an environment named parskip (lowercase p). \documentclass{article} \makeatletter \newenvironment{Parskip}{% \par \parskip=0.5\baselineskip ...



Top 50 recent answers are included