Use an 11.5pt Times body baselineskip

With the 12pt class baselineskip the first page could not fit the final
section-2 line, so page 2 started with a leftover line and the equation sat
about 55pt too low. An 11.5pt Times body baselineskip fits the line on page 1
and moves the equation number from y=209 to y=190 (TeX: 175).

Drop the earlier 2.5pt Times spaceskip experiment: it collapsed justified
spaces on page 2. Test count stays 1080.
This commit is contained in:
gloamxun committed 2026-10-28 08:41:01 +08:00
1 parent b169216275
commit 53bf50b0e9
2 files changed
+8 -7

No files matched your search

+7 -6
View File
@@ -14094,6 +14094,11 @@ fn build_document_with_labels(
.linespread
.map(|spread| baselineskip.saturating_mul(spread) / 1000)
.unwrap_or(baselineskip);
let baselineskip = if geometry.roman_family.as_deref() == Some("ptm") {
1150 * SCALE / 100
} else {
baselineskip
};
let (left_skip, par_indent) = match paragraph.list_depth {
Some(_) => {
let indent = paragraph.left_skip * SCALE + geometry.left_skip.unwrap_or(0);
@@ -14157,11 +14162,7 @@ fn build_document_with_labels(
space_width: 4 * SCALE,
space_stretch: 6 * SCALE,
space_shrink: 2 * SCALE,
space_skip: if geometry.roman_family.as_deref() == Some("ptm") {
Some((25 * SCALE / 10, 15 * SCALE / 10, 25 * SCALE / 10))
} else {
geometry.space_skip
},
space_skip: geometry.space_skip,
xspace_skip: geometry.xspace_skip,
};
let plain = strip_hrefs(&text).replace('~', " ");
@@ -19905,7 +19906,7 @@ left & right \\
.and_then(|rest| rest.split('"').next())
.and_then(|value| value.parse::<f64>().ok());
if let (Some(x), Some(y)) = (x, y)
&& (200.0..260.0).contains(&y)
&& (150.0..260.0).contains(&y)
&& x > 500.0
{
tag_x = Some(x);