-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Reduce vertical space above equation after orphans #2438
Copy link
Copy link
Open
Labels
feature requestNew feature or requestNew feature or requestlayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.mathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.
Description
Description
Not sure whether this qualifies as a bug or feature request:
Consider the following document:
#lorem(18)
// #v(-1em)
$
p(x) = sum_(k = 0)^(n - 1) c_k x^k
$
#lorem(50)which renders as
note the excessive whitespace above the equation (which is visually unpleasant, and generally reduces the available space on pages with many block equations significantly).
Manually adding a negative space as indicated by the comment in the typst source yields
which is what I would expect. If I remember corretly, LaTeX also does something like this automatically.
Thanks!
Use Case
Write math-heavy documents without worrying about fixing up spacing manually.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requestlayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.mathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.

