Use Times metrics for ptm documents
Add a merged ptmr8t TFM asset, a TimesRoman paragraph face and Cmr10Metrics entry, map a ptm Roman paragraph to it, and select the Liberation Serif TrueType PDF backend for those projects. The title is uppercased rather than small-capped so its widths use Times metrics. The arXiv PDF now embeds Liberation Serif for body text; title/author/abstract land at y=88/173/277pt with three pages and all references. Headings and bold/ italic Times faces still use CMR metrics. Test count is 1075.
This commit is contained in:
1 parent
2ef5e29329
commit
e9bbd4bd87
11 files changed
+108
-29
No files matched your search
@@ -46,7 +46,7 @@ now means route-D.
|
||||
|
||||
| Area | Route-D | Evidence / impact |
|
||||
| --- | --- | --- |
|
||||
| Article/report basics: title, sections, lists, TOC, page numbers | Supported | corpus and 1074-test suite |
|
||||
| Article/report basics: title, sections, lists, TOC, page numbers | Supported | corpus and 1075-test suite |
|
||||
| Inline/display math, equations, tags, cleveref | Supported | math tests, oracle fixtures |
|
||||
| Floats, captions, tables, booktabs | Supported | table/math tests, corpus |
|
||||
| PNG/JPEG/BMP `\includegraphics` | Supported | project image tests; PDF XObjects use pixel dimensions and the SVG preview embeds a PNG data URI |
|
||||
@@ -139,24 +139,25 @@ PDF was rendered page-by-page next to the route-D output.
|
||||
| Page element | TeX Live reference | Route-D output |
|
||||
| --- | --- | --- |
|
||||
| Page count / paper | 3 pages, letter | 3 pages, letter |
|
||||
| Typeface | Times (`ptm`, arxiv.sty) | Computer Modern / Liberation fallback |
|
||||
| Typeface | Times (`ptm`, arxiv.sty) | Times body metrics (`ptmr8t`) with Liberation Serif TrueType; headings still CMR metrics |
|
||||
| Text block | 1in left/right margins, 6.5in measure | 1in margins and 6.5in measure after the page-origin fix; body face still 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 | normal case, no rules |
|
||||
| Author block | two affiliations, ORCID icons, footnote symbols | one concatenated paragraph, no ORCID |
|
||||
| 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 icons missing |
|
||||
| Abstract/keywords | small-caps heading, bold `Keywords`, `·` separators | bold heading, comma separators |
|
||||
| Citations | natbib author-year `(Kour and Saabne, 2014a; …)` | author-year `(Kour and Saabne, 2014a; Keshet et al., 2016)` for `.bib`; numeric for unlabeled inline bibliographies |
|
||||
| Table | booktabs rules, `Size (µm)`, `~100`, `10^6` | centred with rules; readable ASCII fallback `Size (um)`, `approx. 100`, `10**6` |
|
||||
| Figure | framed rule box above the caption | centred framed rule body (raster); page order differs |
|
||||
| Display equation | fully typeset fraction/product/sum | approximate, visibly jumbled |
|
||||
| References | author-year, italic venue, DOI link | numeric `[1]`–`[3]`, plain venue text |
|
||||
| References | author-year, italic venue, DOI link | author-year entries; plain venue text, no DOI |
|
||||
| Float order | figure/table on page 3 with section 3.4 | figure/table float to page 2 top |
|
||||
|
||||
After this comparison, the PDF page origin was fixed: the PDF writer had
|
||||
ignored the document's horizontal/vertical offsets, so route-D PDFs started at
|
||||
x=0 and clipped headers above the page. The revised PDF now has the 1in text
|
||||
block and page 2/3 headers. Title vertical spacing, Times metrics, author
|
||||
blocks, citation style, math and float placement still differ.
|
||||
block and page 2/3 headers. Times body metrics, title/author blocks and author-year citations
|
||||
are now in place; math, float placement and the remaining Times faces still
|
||||
differ.
|
||||
|
||||
The visual difference is therefore not a single bug. Route-D models the
|
||||
document semantically and lays out paragraphs/tables/floats with its own page
|
||||
|
||||
Reference in new issue
Block a user