Add sans family and true small caps
This commit is contained in:
1 parent
e44d4c8669
commit
337eaa1778
15 files changed
+628
-122
No files matched your search
+4
-4
@@ -14,8 +14,9 @@ the source changes; the SVG preview is refreshed per page.
|
||||
`\section*` variants (starred headings do not advance the counter).
|
||||
- Box material: `\rule` (raise/width/height), block `\fbox`, `\parbox`,
|
||||
inline `\mbox`/`\makebox`, `center`, `\hrule` with `width`/`height`.
|
||||
- Fonts: Liberation Serif/Mono faces, bold/italic/monospace declarations with
|
||||
group scoping, grouped text-style commands, uppercase small-caps approximation.
|
||||
- Fonts: Liberation Serif/Sans/Mono faces, bold/italic/monospace/sans
|
||||
declarations with group scoping, grouped text-style commands, true small caps
|
||||
(lowercase uppercase glyphs at 80% size), and sans/serif/mono small caps.
|
||||
- Paragraphs: Knuth-Plass breaking, TeX hyphenation patterns, justification,
|
||||
centering, first-line `\parindent` (17pt default, group-scoped, `\setlength`/
|
||||
`\addtolength`/`\noindent` aware), and `\hfill`/`\hfil` infinite glue.
|
||||
@@ -35,7 +36,6 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
## Known approximations / gaps
|
||||
|
||||
- Fonts: no sans family (`\sffamily` is a no-op); small caps are uppercase-only.
|
||||
- Boxes: `\fbox`/`\parbox` are block-level (an inline `\fbox` starts a block);
|
||||
`\raisebox`, `\minipage`, and VBox material are missing.
|
||||
- Pages: no footnote insertion area, no floats, no headers/footers (fancyhdr
|
||||
@@ -50,7 +50,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 --workspace` (15 tests) covers the three
|
||||
- `cargo fmt --check` passes; `cargo test --workspace` (17 tests) covers the three
|
||||
examples, the arXiv fixture, SVG/PDF output, project API, static frontend
|
||||
assets, path traversal, the legacy `/texrra` endpoint, and page-hash cache
|
||||
stability.
|
||||
|
||||
Reference in new issue
Block a user