Prev | Next | mathml |
$latex \mathml{start text stop}$$
\mathml
command only works using the
*.xml
files and a browser that supports
MathML
; e.g., Firefox (and not Chrome).
mathml
command has two purposes described below:
text
is a sequence of characters.
They can use the Unicode representation
&xunicode;
where
unicode
be a valid MathML Unicode value.
For a list of the valid Unicode values see
Section 6.2.1
of the
MathML 2.0
specifications.
The arguments
start
,
stop
,
text
can be one of the following:
start
|
stop
|
text
|
<mo stretchy='false'> |
</mo> | an operator that should not stretch to fit |
<mi mathvariant='normal'> |
</mi> | an identifier that should be displayed in normal font |
mathml
command is used to test,
and discuss,
certain MathML commands in the context for OMhelp.
These usages the mathml
command are not considered standard
and may not work in future versions.
http://www.w3.org/TR/MathML2/chapter3.html#presm_tokel
there is a paragraph with the text:
"Finally, there is a redundancy problem
with the mathvariant attribute that must
be dealt with as a special case.
When the mathvariant attribute
is used on an mi element containing a single character ...
the resulting rendering will be visually indistinguishable
from an mi element with no attributes containing
the corresponding SMP character."
From this discussion, it seems to me that both of the
x
in the commands below should
be displayed the same.
$latex \[
\mathml{
<mi>x</mi>
<mi mathvariant="normal">x</mi>
}
\]$$
generates the output
@[@
\mathml{
mi
elements are token elements and as such,
mstyle
elements can not be placed with in them.
Thus, there does not seem to be another
way to override the changing of fonts
by mi
elements that have single character values.
$latex \mathml{
<mover>
<mrow>
<mi>x</mi><mo>+</mo><mi>y</mi><mo>+</mo><mi>z</mi>
</mrow>
<mo stretchy="true"> ︷ </mo>
</mover>
<mspace width="2em"/>
<mover>
<mrow>
<mi>x</mi><mo>+</mo><mi>y</mi><mo>+</mo><mi>z</mi>
</mrow>
<mo stretchy="true"> ˜ </mo>
</mover>
} $$
results in the following output
@(@
\mathml{