Draw booktabs rules with their own weights and spans

This commit is contained in:
gloamxun committed 2026-10-24 01:03:53 +08:00
1 parent d0ffeea94b
commit c3e75bd244
5 files changed
+267 -7

No files matched your search

+1 -1
View File
@@ -385,7 +385,7 @@ 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; the resulting width matches the reference XeLaTeX output.
Multi-page table headers are not implemented. Figures honor `[htbp]`
In route-D, `\halign`/`\calign` sources support `l`/`c`/`r`/`p{width}` cells, explicit `\tabskip`, booktabs rule weights (`\toprule`/`\bottomrule` 0.8pt, `\midrule`/`\cmidrule` 0.5pt) with `\cmidrule(lr){a-b}` trims and ranges, and row-level page splitting that repeats the column widths. 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