Honour TeX float number limits
Add top_number, bottom_number and total_number to Document with TeX defaults 2, 1 and 12. Top and bottom float branches, including the incremental edit path, refuse an extra float once its placement count or the total page count is reached, so the float moves to the next page.
This commit is contained in:
1 parent
f2deac541e
commit
7385b8862a
3 files changed
+145
-3
No files matched your search
@@ -472,7 +472,8 @@ Route-D float placement mirrors TeX fractions:
|
||||
|
||||
- `Document::top_fraction_percent` defaults to 70 (`\topfraction`); a taller top float keeps body text off its page.
|
||||
- `Document::bottom_fraction_percent` defaults to 30 (`\bottomfraction`); a taller bottom float moves to the next page.
|
||||
- `Engine::edit` applies `top_fraction_percent`, `text_fraction_percent`, `bottom_fraction_percent`, and `float_page_fraction_percent`, so incremental layout matches full layout.
|
||||
- `Document::top_number`, `bottom_number` and `total_number` default to TeX's 2, 1 and 12; they cap top floats, bottom floats and all floats on one page.
|
||||
- `Engine::edit` applies the float fractions and number limits, so incremental layout matches full layout.
|
||||
|
||||
These glyphs are rasterized at
|
||||
600 dpi and shared by PDF and SVG. Ordinary math atom glyphs are rasterized from
|
||||
|
||||
Reference in new issue
Block a user