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
+8
-5
@@ -50,10 +50,13 @@ the source changes; the SVG preview is refreshed per page.
|
||||
headings, title material, lists, tables, block boxes, footnotes, and the
|
||||
default paragraph indent (10/12pt use 15pt; 11pt uses 17pt).
|
||||
- Title blocks: a document-level `\renewcommand{\maketitle}` replaces the
|
||||
engine title layout and can use `\@title`/`\@author`/`\@date`; class and
|
||||
package replacements are ignored so template title code keeps using the
|
||||
native layout. The arXiv style's box-level `\maketitle`/`\@maketitle`
|
||||
(title rules, `\undertitle`, author tabular) is therefore not applied.
|
||||
engine title layout and can use `\@title`/`\@author`/`\@date`. Loading
|
||||
`arxiv.sty` selects a native preprint title style (rules, small-caps title,
|
||||
`\undertitle`, two-column author/affiliation blocks, long date, empty first
|
||||
page style), so arXiv PDFs no longer fall back to the plain article title.
|
||||
Class/package replacements of `\maketitle` itself remain ignored.
|
||||
- Line spacing: ordinary text lines use a TeX baseline grid (1.2em height,
|
||||
0.8em ascent); boxes/rules keep their measured vertical metrics.
|
||||
- Classes/packages: built-in classes, local `.cls`/`.sty`, paper options,
|
||||
`\DeclareOption`/`\ProcessOptions`/`\ExecuteOptions`/option passing.
|
||||
- Compatibility: spacing macros (quad/qquad/thin/en/med/thick, `\vspace*`,
|
||||
@@ -87,7 +90,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- `examples/hello.tex`, `examples/boxes.tex`, `examples/compat.tex` compile to
|
||||
one A4 page each; the arXiv template project compiles to 3 Letter pages.
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (41 tests: 37 compiler
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (42 tests: 38 compiler
|
||||
integration tests + 4 server tests) covers the three examples, the arXiv
|
||||
fixture, figure/table floats (top and bottom), newpage, page styles and `\thispagestyle`, SVG/PDF output,
|
||||
project API, static frontend assets, path traversal, the legacy
|
||||
|
||||
Reference in new issue
Block a user