edemaine / coauthor

Coauthor supercollaboration/discussion forum
MIT License
246 stars 32 forks source link

Weird spacing after `\begin{proof}` in certain cases #567

Open diomidov opened 3 years ago

diomidov commented 3 years ago

What's wrong?

If a proof immediately follows a lemma (or similar) that ends in a list with no blank line between \end{lemma} and \begin{proof}, then the spacing between the first two paragraphs of the proof is reduced.

image

image

How to Reproduce

Steps to reproduce the behavior, e.g., link to where to see the behavior:

  1. Go to https://coauthor.csail.mit.edu/coauthor-dev/m/YTPDxhxvBKkH4jiTo

Context

diomidov commented 3 years ago

Relatedly, I think the proofs should be wrapped in a <div class='proof'>, similarly to how the other environments are wrapped in a <blockquote class='thm'>.