Add inline framed fbox

This commit is contained in:
gloamxun committed 2026-10-19 13:03:05 +08:00
1 parent 32b0064e5f
commit 2552008d4b
11 files changed
+273 -28

No files matched your search

+6 -6
View File
@@ -205,8 +205,9 @@ is measured as a single unbreakable unit, spaces inside become fixed-width kerns
(no stretching, no line break, and hyphenation is suppressed inside the box),
and nested boxes and inline rules are preserved. Boxes that do not fit on the
current line overflow like an overfull TeX hbox rather than wrapping.
`\makebox[width][l|c|r]{...}` fixes the box width and aligns its content, and
`\raisebox{lift}{...}` lifts inline content (or a nested box) by a dimension.
`\makebox[width][l|c|r]{...}` fixes the box width and aligns its content,
`\raisebox{lift}{...}` lifts inline content by a dimension, and `\fbox{...}`
draws a framed inline box with 3pt padding and a 0.4pt rule.
`\checkmark`, `\textdagger`, `\textdaggerdbl`, `\textperiodcentered`,
`\textsection`, `\textparagraph`, `\textbrokenbar`, and `\textvisiblespace`
@@ -292,9 +293,8 @@ Known gaps for full document classes: base font-size class options
(`10pt`/`11pt`/`12pt`) are parsed but the engine still uses 11pt; footnotes and
`\thanks` are dropped,
custom `\maketitle` implementations are ignored (the engine title layout is
used), `\minipage` is not implemented yet, inline `\fbox` still starts a block
instead of an inline frame, `\parbox` is block-level rather than inline, and the
abstract prints as body text without an "Abstract" heading.
used), `\minipage` is not implemented yet, `\parbox` is block-level rather than
inline, and the abstract prints as body text without an "Abstract" heading.
Basic `\input{file}` imports are read relative to the main `.tex` file. Imported
files participate in source mapping and frontend cache invalidation. Local style
@@ -454,7 +454,7 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
| Area | Implemented | Remaining |
| --- | --- | --- |
| Boxes | `\rule`, block `\fbox`/`\parbox`, inline `\mbox`/`\makebox` (fixed width and alignment), `\raisebox`, `center`, `\hrule` | inline framed `\fbox`, `\minipage`, VBox |
| Boxes | `\rule`, inline framed `\fbox`, block `\parbox`, inline `\mbox`/`\makebox` (fixed width and alignment), `\raisebox`, `center`, `\hrule` | `\minipage`, VBox |
| Fonts | serif/sans/mono faces, bold/italic/mono/sans declarations, group scoping, true scaled small caps | — |
| Paragraphs | Knuth-Plass breaking, TeX hyphenation, justification, centering, `\parindent` (17pt default), `\hfill`/`\hfil` | `\raggedright`/`\raggedleft` |
| Notes/floats | — | footnote insertion area, figure/table floats |