Command or symbol |
---|
phantom{} |
color |
cancel |
underrightarrow, underleftarrow, underleftrightarrow |
lneq, gneq, lvertneq, gvertneq |
thinspace, medspace, thickspace, negthinspace, negmedspace, negthickspace |
':', ',', ';', '!', ' ' |
lmoustache, rmoustache |
lgroup, rgroup |
brace, brack |
xleftarrow, xrightarrow |
dddot, ddddot |
copyright |
pounds |
diagup, diagdown |
dag,ddag, dagger, ddagger |
owns, ni |
{split} |
Command or symbol | Notes |
---|---|
mathring{} | |
ae, AE | |
smallint | |
idotsint | |
euro | Unicode symbol; works in text mode only |
varGamma | |
cal | Use mathcal{} |
mathml{} | |
center | |
[lrc] in aligned | |
fillin | |
strut | |
vphantom | |
hphantom | |
smash | |
hspace | Use ':', ',', ';', or phantom{} |
mspace | |
centernot | |
buildrelover | Use overset, underset |
tabular-related environments | Limited support for matrix and aligned |
sideset | |
pmb, boldmath, unboldmath | Use boldsymbol |
Command or symbol |
---|
phantom{} |
color |
cancel |
underrightarrow, underleftarrow, underleftrightarrow |
lneq, gneq, lvertneq, gvertneq |
thinspace, medspace, thickspace, negthinspace, negmedspace, negthickspace |
':', ',', ';', '!', ' ' |
lmoustache, rmoustache |
lgroup, rgroup |
brace, brack |
xleftarrow, xrightarrow |
dddot, ddddot |
Command or symbol | Notes |
---|---|
mathring{} | |
copyright | Unicode symbol; works in text mode only |
pounds | Unicode symbol; works in text mode only |
ae, AE | |
smallint | |
diagup, diagdown | |
idotsint | |
euro | Unicode symbol; works in text mode only |
varGamma | |
cal | Use mathcal{} |
mathml{} | |
center | |
[lrc] in aligned | |
fillin | |
strut | |
vphantom | |
hphantom | |
smash | |
dag, ddag | dagger, ddagger supported |
{split} | |
hspace | Use ':', ',', ';', or phantom{} |
mspace | |
centernot | |
buildrelover | Use overset, underset |
owns | Use ni |
tabular-related environments | Limited support for matrix and aligned |
sideset | |
pmb, boldmath, unboldmath | Use boldsymbol |
Package | Notes |
---|---|
cancel | Use cancel |
ams | Use underrightarrow, underleftarrow, underleftrightarrow |
centernot |
Element | Notes |
---|---|
mo | |
mi | |
mn | |
mrow | |
menclose | Not all forms of enclosing are supported |
mtable | Not all attributes are supported |
mtr | |
mtd | |
mfrac | |
msup | |
msub | |
msubsup | |
munder | |
mover | |
munderover | |
mstack | |
msrow | |
msgroup | |
mscarries | |
mscarry | |
msline | |
mlongdiv | |
mpadded | |
mspace | |
maction | iWork and iBooks Author support the first MathML child and ignores the rest |
mphantom | |
mfenced | |
mroot | |
msqrt | |
none | |
mstyle | |
mtext | |
ms | |
maligngroup | |
malignmark |
Element | Notes |
---|---|
mlabeledtr | Treated as <mtr> with the first child ignored |
semantics | Treated as row |
annotation | Effectively ignored |
Element | Notes |
---|---|
mmultiscripts | |
mprescripts | |
mglyph | |
merror | |
{ContExp} | Content MathML elements are not supported. See which elements are covered by {ContExp}. |
Element | Attribute | Default value inheritable from <mstyle> | Values (Value syntax if subset of spec) |
---|---|---|---|
* | mathcolor | yes | |
mstyle | scriptlevel | no | |
mstyle | display | no | |
mstyle | scriptminsize | no | |
mstyle | scriptsizemultiplier | no | |
mstyle | <attributes specified with default value inheritable> | n/a | |
mo | lspace | yes | |
mo | rspace | yes | |
mo | largeop | yes | |
mo | minsize | yes | |
mo | maxsize | yes | |
mo | accent | yes | |
mo | movablelimits | yes | |
mo | symmetric | yes | |
mo | stretchy | yes | |
mo | form | yes | |
mspace | width | yes | |
mspace | height | yes | |
mspace | depth | yes | |
ms | lqoute | yes | |
ms | rqoute | yes | |
mfrac | linethickness | yes | |
mfrac | numalign | yes | |
mfrac | denomalign | yes | |
mover | accent | yes | |
mover | align | yes | |
munderover | accent | yes | |
munderover | underaccent | yes | |
munder | accentunder | yes | |
munder | align | yes | |
mtable | rowalign | yes | |
mtable | columnalign | yes | |
mtable | columnspacing | yes | |
mtable | displaystyle | yes | |
mtr | rowalign | yes | |
mtr | columnalign | yes | |
mtd | rowalign | yes | |
mtd | columnalign | yes | |
mstack | align | yes | top | bottom | center | baseline | axis |
msrow | position | yes | |
msgroup | position | yes | |
msgroup | shift | yes | |
mscarries | position | yes | |
mscarries | crossout | yes | updiagonalstrike | downdiagonalstrike | horizontalstrike | verticalstrike |
mscarry | crossout | yes | updiagonalstrike | downdiagonalstrike | horizontalstrike | verticalstrike |
msline | length | yes | |
msline | position | yes | |
mpadded | height | no | |
mpadded | depth | no | |
mpadded | width | no | |
mpadded | lspace | no | |
mpadded | voffset | no | |
mfenced | open | yes | |
mfenced | close | yes | |
mfenced | separators | yes | |
maligngroup | groupalign | yes | |
malignmark | edge | yes |
Element | Attribute | Default value inheritable from <mstyle> | Values (Value syntax if subset of spec) | Notes |
---|---|---|---|---|
mo, mn, mi | mathvariant | yes | Not supporting initial, stretched, looped, tailed | |
mtable | align | no | top | bottom | center | baseline | axis | rownumber not supported |
menclose | notation | yes | updiagonalstrike | downdiagonalstrike | horizontalstrike | verticalstrike | Learn more |
mlongdiv | longdivstyle | no | lefttop |
Element | Attribute | Notes |
---|---|---|
* | mathbackground | |
mstyle | infixlinebreakstyle | |
mstyle | veryverythinmathspace, verythinmathspace, thinmathspace, mediummathspace, thickmathspace, verythickmathspace, veryverythickmathspace | Depreciated in MathML 3. |
mi, mn, mo, ms, mstyle, mtext | mathsize | |
mi, mn, mo, ms, mstyle, mtext | dir | |
mi, mn, mo, ms, mstyle, mtext | fontfamily, fontweight, fontstyle, fontsize, color, background | Depreciated in MathML 3. |
mo | linebreak | |
mo | lineleading | |
mo | linebreakstyle | |
mo | linebreakmultchar | |
mo | identalign | |
mo | identshift | |
mo | identtarget | |
mo | identalignfirst | |
mo | identshiftfirst | |
mo | identalignlast | |
mo | identshiftlast | |
mo | fence | Doesn't affect visual layout |
mo | separator | Doesn't affect visual layout |
mspace | linebreak | |
mfrac | bevelled | |
mtable | groupalign | |
mtable | alignmentscope | |
mtable | columnwidth | |
mtable | width | |
mtable | rowspacing | |
mtable | rowlines | |
mtable | columnlines | |
mtable | frame | |
mtable | framespacing | |
mtable | equalrows | |
mtable | equalcolumns | |
mtable | side | |
mtable | minlabelspacing | |
mtr | groupalign | |
mtd | rowspan | |
mtd | columnspan | |
mtd | groupalign | |
mstack | stackalign | |
mstack | charalign | |
mstack | charspacing | |
mlongdiv | position | |
mlongdiv | shift | |
mscarries | location | |
mscarries | scriptsizemultiplier | |
mscarry | location | |
msline | leftoverhang | |
msline | rightoverhang | |
msline | mslinethickness | |
msub | subscriptshift | |
msup | superscriptshift | |
msubsup | superscriptshift | |
msubsup | subscriptshift | |
mrow | ltr | |
maction | selection | |
maction | actiontype |
LaTeX | Renders as |
---|---|
A nice trick for aligning equation elements is to use mbox{phantom{space}}. The contents inside the brackets (space) will account for the amount of white space created. In the example above, adding extra characters to =digit gives more white space in between the 10 • 9. |