Use Base-14 fonts when possible and center natural-width tables

This commit is contained in:
gloamxun committed 2026-10-19 17:40:04 +08:00
1 parent 1da9e0dde9
commit ca5cb0b8af
8 files changed
+295 -35

No files matched your search

+9 -6
View File
@@ -127,8 +127,10 @@ page
breaks, basic display and inline math, figures, simple tables,
section/figure/table references, numeric citations from a manual bibliography or a
local `.bib` file, and natbib-style author-year citations for the arXiv template. A4 pages use 25 mm margins unless
`geometry` sets them. Liberation Serif is embedded in the PDF for Latin and math
glyphs; CJK text uses an installed fallback font.
`geometry` sets them. The PDF uses the Base-14 Times/Courier faces without
embedding when all text fits the standard WinAnsi encoding, and falls back to
embedded Liberation Serif/Sans/Mono for other characters; CJK text uses an
installed fallback font.
### LaTeX compatibility layer
@@ -364,10 +366,11 @@ parameter with a default value. Unknown packages fail with a clear error.
`\includegraphics` embeds PNG, JPEG, or BMP files relative to the `.tex` file.
It supports `width`, `height`, and `scale`; width and height accept physical
units or fractions of `\linewidth`. Images with transparency are not supported
by the current PDF dependency. Basic `tabular` rows become equal-width PDF
columns; `l`, `c`, `r`, and paragraph (`p{...}`) columns are supported, as are
full-width `\hline` and `booktabs` rules. Spanning cells, partial `\cline` rules,
and multi-page table headers are not implemented. Figures honor `[htbp]`
by the current PDF dependency. Basic `tabular` rows use natural column widths
(content width plus 6pt `\tabcolsep`), are centered in the text block, and draw
`\hline`/`booktabs` rules exactly over the table columns; `l`, `c`, `r`, and
paragraph (`p{...}`) columns are supported. Spanning cells, partial `\cline`
rules, and multi-page table headers are not implemented. Figures honor `[htbp]`
placement hints (`[t]` is deferred to the top of the next page, `[b]` to the
page bottom, `[p]` to a float page, `[h]` stays in the flow); tables honor
`[t]` by deferring the caption and rows to the next page, `[b]` at the page