Support multicolumn spans and partial table rules

This commit is contained in:
gloamxun committed 2026-10-19 17:53:26 +08:00
1 parent ca5cb0b8af
commit d4e52dc225
13 files changed
+698 -187

No files matched your search

+2 -1
View File
@@ -18,7 +18,8 @@ author-year citations and plainnat bibliography formatting;
`\vbox`/`\vtop` vertical-material capture with inline splicing
(`build_positioned_pages` is the only page builder and no separate break
planner remains); conditional Base-14 font embedding and natural-width centered
table layout.
table layout; `\multicolumn` column spans with alignment and partial
`\cmidrule(r){a-b}`/`\cline{a-b}` rules.
## 1. Float tuning and table queue
+3 -1
View File
@@ -65,6 +65,8 @@ the source changes; the SVG preview is refreshed per page.
- Compatibility: spacing macros (quad/qquad/thin/en/med/thick, `\vspace*`,
`\hspace*`, skips), text symbols/letters/punctuation, break advisories,
metadata, `\paragraph` run-in headings, citations/references, tables/lists/images.
- Tables: natural column widths, centered tables, `\multicolumn` spans with
per-span alignment, and partial `\cmidrule`/`\cline` rules over a column range.
- Citations: numeric citations by default; `natbib`/`arxiv.sty` selects author-year
`\citet`/`\citep` from `.bib` metadata, formats bibliography entries in
plainnat order (`First Last`, `In ...`, `pages`, publisher/year), and drops
@@ -104,7 +106,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- ASCII-only documents use non-embedded Base-14 Times/Courier (arXiv PDF is
about 0.7 MB); documents with accented/non-WinAnsi text embed Liberation
faces. Tables use natural column widths and centered rules.
- `cargo fmt --check` passes; `cargo test --offline` (47 tests: 43 compiler
- `cargo fmt --check` passes; `cargo test --offline` (48 tests: 44 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