mirror of
https://github.com/vincentdoerig/latex-css.git
synced 2026-04-02 23:58:54 -06:00
fix: revise the heading's margins and line height #11
Labels
No labels
bug
enhancement
enhancement
invalid
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/latex-css#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vihuna on 2/11/2025
em, relative to heading title font units, for section headings (top and bottom, forh2-h6)<number>units to specify the line height of section headings (forh2-h6)hnwith a next-siblinghn+1, n= 2,..6 (to avoid unpredictable margin collapses)m(s) = alpha * (s - (1 - epsilon) * h6).margin-topfor abstract heading, to keep the same dimensions, because it uses a custom font size.--h2-font-size--h3-font-size--h4-font-size--h5-font-size--h6-font-size--h2-line-height--h3-h6-line-height--h2-margin-top(emunits)--h3-h6-margin-top(emunits)--h2-margin-bottom(emunits)--h3-h6-margin-bottom(emunits)m(s)parameters):--h3-h6-sibling-alpha--h3-h6-sibling-epsilon