To get consistent paragraph spacing, the "parsep" value was set on our
pcases environment. This naturally messed up the spacing between the
case label and the following paragraph, so the "itemsep" value was
tweaked, and a custom \vspace was added to each item.
ref=\arabic*,
align=left,
leftmargin=0pt,
- listparindent=\parindent}
+ listparindent=\parindent,
+ parsep=\parskip,
+ itemsep=\baselineskip}
% The optional argument here gets stuffed into the \thiscase macro, to
% be called by pcases when it creates this list item. The \hfill is a
% so we consume the rest of the line instead.
\newcommand{\case}[1][]{
\def\thiscase{#1}%
- \item \hfill\par
+ \item \hfill\par\vspace{\baselineskip}
}