Honour vspace as paragraph glue

This commit is contained in:
gloamxun committed 2026-10-24 23:39:53 +08:00
1 parent 32ca78bff5
commit a9614ccee2
4 files changed
+26 -7

No files matched your search

+3 -1
View File
@@ -388,7 +388,9 @@ a column range, and spanning cells distribute their width over the covered
natural columns; the resulting width matches the reference XeLaTeX output.
In route-D, `\halign`/`\calign` sources support `l`/`c`/`r`/`p{width}` cells, explicit `\tabskip`, `@{}`/`@{\hspace{...}}` column expressions, `\noalign{\vskip ...}` row glue, booktabs rule weights (`\toprule`/`\bottomrule` 0.8pt, `\midrule`/`\cmidrule` 0.5pt) with `\cmidrule(lr){a-b}` trims and ranges, row-level page splitting that repeats the column widths, longtable head/foot sections (`\endfirsthead`/`\endhead`/`\endfoot`/`\endlastfoot`) whose continuation chunks repeat the head rows and paint the foot block once, and LaTeX `tabular` sources mapped onto the same alignment path. 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
page bottom, `[p]` to a float page, `[h]` stays in the flow); a standalone
`\vspace{...}` between paragraphs becomes vertical glue with its `plus`/`minus`
parts; tables honor
`[t]` by deferring the caption and rows to the next page, `[b]` at the page
bottom, and `[p]` with a float page. `\label`, `\ref`, and `\cite`
resolve section, figure, table, and bibliography numbers. `\bibliography{file}`