Match Times interword glue to the TeX layout
With only the 11.5pt baselineskip, page 1 was fixed but the 2.1 paragraph still took seven lines instead of six and pushed the equation to y=190. Use Times glue of 2.5/1.5/0.83pt; page 1 stays aligned, 2.1 returns to six lines, and the equation number moves to y=178 (TeX: 175). Test count stays 1080.
This commit is contained in:
1 parent
764436fc71
commit
423b202c54
3 files changed
+8
-4
No files matched your search
@@ -21,8 +21,8 @@ The current arXiv template comparison reports:
|
|||||||
|
|
||||||
```text
|
```text
|
||||||
reference_pages 3, candidate_pages 3
|
reference_pages 3, candidate_pages 3
|
||||||
reference_words 1246, candidate_words 1256
|
reference_words 1246, candidate_words 1253
|
||||||
word_sequence_ratio 0.853
|
word_sequence_ratio 0.851
|
||||||
page 1 ink bbox: TeX [72, 79, 540, 721] route-D [71, 79, 540, 724]
|
page 1 ink bbox: TeX [72, 79, 540, 721] route-D [71, 79, 540, 724]
|
||||||
page 2 ink bbox: TeX [72, 36, 540, 748] route-D [71, 41, 540, 751]
|
page 2 ink bbox: TeX [72, 36, 540, 748] route-D [71, 41, 540, 751]
|
||||||
page 3 ink bbox: TeX [72, 36, 540, 748] route-D [71, 41, 540, 751]
|
page 3 ink bbox: TeX [72, 36, 540, 748] route-D [71, 41, 540, 751]
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ PDF was rendered page-by-page next to the route-D output.
|
|||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| Page count / paper | 3 pages, letter | 3 pages, letter |
|
| Page count / paper | 3 pages, letter | 3 pages, letter |
|
||||||
| Typeface | Times (`ptm`, arxiv.sty) | Times Roman/bold/italic metrics (`ptmr8t`, `ptmb8t`, `ptmri8t`, `ptmbi8t`) with Liberation Serif TrueType |
|
| Typeface | Times (`ptm`, arxiv.sty) | Times Roman/bold/italic metrics (`ptmr8t`, `ptmb8t`, `ptmri8t`, `ptmbi8t`) with Liberation Serif TrueType |
|
||||||
| Text block | 1in left/right margins, 6.5in measure | 1in margins and 6.5in measure; Times body baselineskip is 11.5pt |
|
| Text block | 1in left/right margins, 6.5in measure | 1in margins and 6.5in measure; Times body baselineskip is 11.5pt with 2.5/1.5/0.83pt interword glue |
|
||||||
| Running header | `arxiv Template` / `A PREPRINT` | `arXiv Template` / `A Preprint` on pages 2–3; small-caps styling differs |
|
| Running header | `arxiv Template` / `A PREPRINT` | `arXiv Template` / `A Preprint` on pages 2–3; small-caps styling differs |
|
||||||
| Title | `A TEMPLATE FOR THE arxiv STYLE`, small caps, rules above/below | uppercase Times with rules above/below |
|
| Title | `A TEMPLATE FOR THE arxiv STYLE`, small caps, rules above/below | uppercase Times with rules above/below |
|
||||||
| Author block | two affiliations, ORCID icons, footnote symbols | two-column author table; ORCID shows an `iD` text marker instead of the vector icon |
|
| Author block | two affiliations, ORCID icons, footnote symbols | two-column author table; ORCID shows an `iD` text marker instead of the vector icon |
|
||||||
|
|||||||
+5
-1
@@ -14162,7 +14162,11 @@ fn build_document_with_labels(
|
|||||||
space_width: 4 * SCALE,
|
space_width: 4 * SCALE,
|
||||||
space_stretch: 6 * SCALE,
|
space_stretch: 6 * SCALE,
|
||||||
space_shrink: 2 * SCALE,
|
space_shrink: 2 * SCALE,
|
||||||
space_skip: geometry.space_skip,
|
space_skip: if geometry.roman_family.as_deref() == Some("ptm") {
|
||||||
|
Some((25 * SCALE / 10, 15 * SCALE / 10, 83 * SCALE / 100))
|
||||||
|
} else {
|
||||||
|
geometry.space_skip
|
||||||
|
},
|
||||||
xspace_skip: geometry.xspace_skip,
|
xspace_skip: geometry.xspace_skip,
|
||||||
};
|
};
|
||||||
let plain = strip_hrefs(&text).replace('~', " ");
|
let plain = strip_hrefs(&text).replace('~', " ");
|
||||||
|
|||||||
Reference in new issue
Block a user