Syntax#
\fboxm:T{a}text contentArgspec m:T — one mandatory argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Equivalent forms#
\boxed{...}approximate\boxedprovides a similar framed box specifically intended for math-mode contents, but typically ensures contents remain in display/text style as appropriate, and is part of amsmath rather than standard LaTeX.
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\fbox{a} | Positive · baseline | Pass | Pass | Pass |
\fbox a | Positive · bare[0] | Pass | Pass | Pass |
\fbox{a^2} | Negative · neg:T[0] | Pass | Fail | Fail |