Capture vertical material in vbox and vtop

This commit is contained in:
gloamxun committed 2026-10-19 14:34:22 +08:00
1 parent 5e9552d785
commit 7ad3c327ec
8 files changed
+99 -14

No files matched your search

+3 -3
View File
@@ -319,8 +319,8 @@ A document-level `\renewcommand{\maketitle}` replaces the engine title block;
class and package files that replace `\maketitle` are ignored so template
title code cannot break the native layout. Known gaps for full document
classes: `\parbox`/`\minipage` are block-level rather than inline, and
`\vbox` and `\vtop` map to a full-width block box rather than true nested
VBox material.
`\vbox`/`\vtop` capture vertical material but do not form an independent
natural-width box with its own baseline.
`\footnote{...}` captures its content, emits a superscript marker, reserves
space on the page where the paragraph ends, and paints the notes with a
@@ -486,7 +486,7 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
| Area | Implemented | Remaining |
| --- | --- | --- |
| Boxes | `\rule`, inline framed `\fbox`, block `\parbox`/`\minipage`, `\vbox`/`\vtop` (as full-width block), inline `\mbox`/`\makebox`, `\raisebox`, `center`, `\hrule` | true nested VBox material |
| Boxes | `\rule`, inline framed `\fbox`, block `\parbox`/`\minipage`, `\vbox`/`\vtop` (vertical material capture), inline `\mbox`/`\makebox`, `\raisebox`, `center`, `\hrule` | independent VBox natural width/baseline |
| Fonts | serif/sans/mono faces, bold/italic/mono/sans declarations, group scoping, true scaled small caps | — |
| Paragraphs | Knuth-Plass breaking, TeX hyphenation, justification, `\centering`/`\raggedright`/`\raggedleft`, `\parindent` (17pt default), `\hfill`/`\hfil` | — |
| Notes/floats | footnotes with page-bottom insertion area, title/author `\thanks`, figure `[htbp]` placement (deferred top floats, bottom/page/here), table page breaks | table float queue, `\textfraction` |