Apply bottom float fractions in incremental layout
This commit is contained in:
1 parent
48d10f901d
commit
93dd4e531b
3 files changed
+39
-4
No files matched your search
@@ -465,7 +465,9 @@ variant for delimiters and large display operators, and builds taller glyphs
|
||||
from the font's MATH assembly parts. `\\left...\\right` target sizing follows
|
||||
the assignable TeX parameters `\\delimiterfactor` (default 901) and
|
||||
`\\delimitershortfall` (default 5pt), including local and global assignments.
|
||||
Route-D integration can also be checked against a real TeX page: `cargo test -p texrra-tex-core --test route_d` includes `Route-D float placement also mirrors `\bottomfraction`: Route-D top floats follow `\topfraction` as well: The same rule is applied by `Engine::edit`, so a body unit that starts after an oversized top float stays on the next page after an incremental edit.
|
||||
Route-D integration can also be checked against a real TeX page: `cargo test -p texrra-tex-core --test route_d` includes `Route-D float placement also mirrors `\bottomfraction`: Route-D top floats follow `\topfraction` as well: `Engine::edit` also applies `text_fraction_percent` and `bottom_fraction_percent` when it meets a bottom float, so incremental layout matches full layout.
|
||||
|
||||
The same rule is applied by `Engine::edit`, so a body unit that starts after an oversized top float stays on the next page after an incremental edit.
|
||||
|
||||
`Document::top_fraction_percent` defaults to 70, so a top float taller than 70% of the page keeps the body on the next page.
|
||||
|
||||
|
||||
Reference in new issue
Block a user