KaTeX icon indicating copy to clipboard operation
KaTeX copied to clipboard

Skip the jot on the final line in an `align` or `gather` environment

Open mvr opened this issue 10 months ago • 2 comments

What is the previous behavior before this PR? The extra spacing added to align and gather environments by #725 was erroneously being added to the final line, causing some awkward spacing below those environments.

What is the new behavior after this PR? The extra spacing is skipped for the final line. The Gathered and Equation tests are also affected by this, but the positioning there is now more in line with LaTeX.

Fixes #3142

mvr avatar May 19 '25 05:05 mvr

I'm having trouble regenerating those screenshots on my machine, so I'll need some help here, sorry.

mvr avatar May 19 '25 08:05 mvr

This should be good to go now.

mvr avatar May 23 '25 09:05 mvr