Syntax#
\buildrelu{\over}a\overmath contentm{b}math contentArgspec u{\over} m — two mandatory arguments. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Expands to#
\buildrel #1 \over #2 \mathrel{\mathop{#2}\limits^{#1}}MathJax directly constructs an munderover node wrapped in a TeXAtom of class REL.
Rewrite plain TeX buildrel syntax to stackrel.
\buildrel #1 \over #2 \stackrel{#1}{#2}Equivalent forms#
\stackrel{#1}{#2}approximateAchieves a similar visual stack but produces different MathML structure and uses standard brace-delimited arguments.
\mathrel{\overset{#1}{#2}}exactThis matches MathJax's output including the surrounding relation-class TeXAtom.
\overset{#1}{#2}approximateWithout an added
\mathrel,\oversetdoes not itself force relation spacing/classification.
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
a \buildrel \rm def \over = b | Positive · ctx:basic | Pass | Fail | Pass |