Tighten the title footnote reserve
This commit is contained in:
1 parent
09414e1fe1
commit
6f71414d69
1 file changed
+4
-3
@@ -1727,10 +1727,11 @@ pub(super) fn build_positioned_pages(
|
||||
math_layout,
|
||||
cache,
|
||||
);
|
||||
// The measured note may wrap to one more line than the conservative
|
||||
// estimate; reserve a full baseline of slack above the insertion area.
|
||||
// Keep the body goal a small margin above the measured note area; the
|
||||
// footnote separator still uses the original page goal.
|
||||
if title_reserve > 0 {
|
||||
page_goal = page_goal.saturating_sub(title_reserve.saturating_add(normal_line_height));
|
||||
page_goal =
|
||||
page_goal.saturating_sub(title_reserve.saturating_add(millimeters_to_scaled(2.0)));
|
||||
}
|
||||
let mut deferred: Vec<DeferredFloat> = Vec::new();
|
||||
let mut block_end_pages: HashMap<usize, usize> = HashMap::new();
|
||||
|
||||
Reference in new issue
Block a user