Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
mvr wants to merge 2 commits intoKaTeX:mainfrom
mvr:main
Open

Skip the jot on the final line in an align or gather environment#4050
mvr wants to merge 2 commits intoKaTeX:mainfrom
mvr:main

Conversation

@mvr
Copy link

@mvr mvr commented May 19, 2025

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
Copy link
Author

mvr commented May 19, 2025

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

@mvr
Copy link
Author

mvr commented May 23, 2025

This should be good to go now.

@edemaine edemaine force-pushed the main branch 8 times, most recently from 9a985be to 0ef8921 Compare January 25, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unwanted vertical space after aligned environment

1 participant