Add inline box raise and makebox alignment

This commit is contained in:
gloamxun committed 2026-10-19 12:58:21 +08:00
1 parent 337eaa1778
commit 32b0064e5f
11 files changed
+425 -73

No files matched your search

+1 -2
View File
@@ -6,7 +6,7 @@ are still missing. Each item names the files/functions to touch.
Completed: paragraph indentation (`\parindent`) and `\hfill`/`\hfil`; sans
family and true scaled small caps (see `docs/STATUS.md`).
## 1. Inline framed boxes / `\raisebox`
## 1. Inline framed `\fbox`
- Add `y_offset: Mm` to `PositionedSpan` and `PositionedRule`; PDF/SVG painters
add it to the baseline.
@@ -15,7 +15,6 @@ family and true scaled small caps (see `docs/STATUS.md`).
advances by its width.
- Paint child items at `x + inset`, baseline `- raise`; draw frame rules at the
box rectangle when `frame` is set.
- `\raisebox{lift}{...}` reuses the same nested item with `raise = lift`.
## 2. Footnotes