Render arxiv-style preprint title blocks
This commit is contained in:
1 parent
8d5cbc69ba
commit
4991bdfcfc
12 files changed
+559
-77
No files matched your search
@@ -316,15 +316,19 @@ Base font-size class options `10pt`, `11pt`, and `12pt` now set the body
|
||||
size and propagate through headings, title material, lists, tables, block
|
||||
boxes, footnotes, and the default paragraph indent. The article default is
|
||||
`10pt`, matching LaTeX.
|
||||
A document-level `\renewcommand{\maketitle}` replaces the engine title block;
|
||||
class and package files that replace `\maketitle` are ignored so template
|
||||
title code cannot break the native layout. In particular, the arXiv style
|
||||
file defines its own box-level `\maketitle`/`\@maketitle` (title rules,
|
||||
`\undertitle`, author tabular); that block is not executed, so arXiv PDFs use
|
||||
the native title layout without those pieces. Known gaps for full document
|
||||
classes: `\parbox`/`\minipage` are block-level rather than inline, and
|
||||
`\vbox`/`\vtop` capture vertical material but do not form an independent
|
||||
natural-width box with its own baseline.
|
||||
A document-level `\renewcommand{\maketitle}` replaces the engine title block.
|
||||
When a document loads `arxiv.sty`, the engine switches to a native preprint
|
||||
title style: top/bottom title rules, small-caps title and `\undertitle`,
|
||||
two-column author blocks with affiliations and monospaced e-mail addresses,
|
||||
a long date, and `\thispagestyle{empty}` on the first page. Class and package
|
||||
files that replace `\maketitle` itself are still ignored, so box-level
|
||||
template code cannot break the native layout. Ordinary text is now placed on
|
||||
a TeX baseline grid (1.2em line height, 0.8em ascent) instead of the fallback
|
||||
TrueType font's larger ascent/descent, which matches LaTeX line spacing and
|
||||
page breaks. Known gaps for full document classes: `\parbox`/`\minipage` are
|
||||
block-level rather than inline, and `\vbox`/`\vtop` capture vertical
|
||||
material but do not form an independent natural-width box with its own
|
||||
baseline.
|
||||
|
||||
`\footnote{...}` captures its content, emits a superscript marker, reserves
|
||||
space on the page where the paragraph ends, and paints the notes with a
|
||||
@@ -502,7 +506,7 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
|
||||
| Notes/floats | footnotes with page-bottom insertion area, title/author `\thanks`, figure `[htbp]` placement (deferred top floats, bottom/page/here), table `[t]`/`[b]`/`[p]` placement | table float-page queues, `\textfraction` |
|
||||
| Contents | `\tableofcontents`, `\listoffigures`, `\listoftables` generated from numbered headings and captions, dotted leaders, page numbers resolved after pagination | per-chapter book/report contents |
|
||||
| Pages | A4/Letter/... page sizes, margins/geometry, automatic pagination, `\newpage`, `\pagebreak`, plain/fancy page styles, `\thispagestyle`, fancyhdr L/C/R headers and footers | — |
|
||||
| Classes/packages | built-in + local classes, option protocol, local package options, base font sizes 10/11/12pt, chapter headings and numbering, chapter page breaks, document-level custom `\maketitle` | class-specific formatting beyond chapter breaks |
|
||||
| Classes/packages | built-in + local classes, option protocol, local package options, base font sizes 10/11/12pt, chapter headings and numbering, chapter page breaks, document-level custom `\maketitle`, native arxiv-style preprint title blocks (rules, `\undertitle`, author columns, long date) | class-specific formatting beyond chapter breaks |
|
||||
| Live preview | incremental paragraph cache, page-hash diffing, SVG refresh | — |
|
||||
|
||||
The compatibility layer also covers spacing macros, text symbols/letters, style
|
||||
|
||||
Reference in new issue
Block a user