]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-proof_by_cases.tex
More fiddling to get consistent spacing in proof-by-cases environments.
[mjotex.git] / mjo-proof_by_cases.tex
index 89a813b6d72c7d875a3f180a31ede6d419f6df78..f2d9b90987c8b894d74f8f38c41b16a620931029 100644 (file)
 % another.
 \newlist{pcases}{enumerate}{1}
 \setlist[pcases]{
-  label=\textbf{Case~\arabic*}~(\protect\thiscase)\textbf{:},
+  label=\textbf{Case~\arabic*}:~\protect\thiscase\textbf{.},
   ref=\arabic*,
   align=left,
-  leftmargin=\parindent}
+  leftmargin=0pt,
+  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
@@ -32,5 +35,5 @@
 % so we consume the rest of the line instead.
 \newcommand{\case}[1][]{
   \def\thiscase{#1}%
-  \item \hfill
+  \item \hfill\par\vspace{\baselineskip}
 }