Align preprint title top margin with TeX

This commit is contained in:
gloamxun committed 2026-10-19 18:00:24 +08:00
1 parent d4e52dc225
commit 87b6b6e44e
1 file changed
+3 -1
+3 -1
View File
@@ -1688,13 +1688,15 @@ pub(super) fn build_positioned_pages(
run.small_caps = true;
}
}
// TeX's \@toptitlebar sits a little above the generic text
// margin, so start the first rule in the title block higher.
push_title_rule(
&mut pages,
&mut deferred,
&mut cursor,
page_breaks,
page_goal,
top_skip,
top_skip.saturating_sub(millimeters_to_scaled(3.1)),
max_depth,
rule_width,
rule_height,