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

+6 -4
View File
@@ -366,11 +366,13 @@ 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 use natural column widths
by the current PDF dependency. `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]`
`\hline`/`\booktabs` rules exactly over the table columns; `l`, `c`, `r`, and
paragraph (`p{...}`) columns are supported. `\multicolumn{n}{align}{...}`
spans columns, `\cmidrule(r){a-b}` and `\cline{a-b}` draw partial rules over
a column range, and spanning cells distribute their width over the covered
natural columns. 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