Keep in-text floats in the body flow
This commit is contained in:
1 parent
830e1f851b
commit
d2df1907be
4 files changed
+235
-20
No files matched your search
@@ -475,6 +475,7 @@ Route-D float placement mirrors TeX fractions:
|
||||
- `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.
|
||||
- `Document::float_sep` defaults to 12pt (`\floatsep`); stacked top floats or stacked bottom floats reserve that gap between each other, in full layout and after `Engine::edit`.
|
||||
- `Document::text_float_sep` defaults to 20pt (`\textfloatsep`); a page that carries both floats and body text reserves one such gap between them. `Page::display_list_with_layout(page_goal, text_float_sep)` mirrors that in rendered output, while `display_list_with_goal` keeps the historic no-gap behaviour for callers without document settings.
|
||||
- `FloatPlacement::Here` keeps an `[h]` float in the body flow: `Document::in_text_sep` (TeX `\intextsep`, default 12pt) separates it from the surrounding text, the float moves to the next page when it does not fit, and it counts against `\totalnumber`. `Page::display_list_with_layout` paints the float at the same flow position the page builder reserved.
|
||||
- `Engine::edit` applies the float fractions, number limits and separations, so incremental layout matches full layout.
|
||||
|
||||
These glyphs are rasterized at
|
||||
|
||||
Reference in new issue
Block a user