I Can’t help Myself …
Unable to leave well enough alone, I tinkered some more with itex2MML. The latest version does the following:
- Because of MathML’s strange inheritance rules for the
<mi>
element,\mathrm{a}
did not, as you might expect, produce an upright , but instead produced an . Now it does the right thing. - I purged itex2MML of the deprecated
fontstyle
andfontweight
attributes, substituting the preferredmathvariant
attribute instead. - I added
\tfrac{·}{·}
, the AMSLaTeX synonym for{\textstyle \frac{·}{·}}
With much trepidation, I added colour support, in the form of
\color
and\bgcolor
. Hideous, inaccessible, things are — of course — possible. (I will resist the temptation to link to some examples.) But a judicious use of colour need not always be bad.is produced by
$$ \bgcolor{#DEF}\: x(t) = x_0 \color{purple} e^{-\gamma t} \color{red} \cos({\color{blue}\omega} t)\: $$
To enable the colour features in comments required yet another re-jiggering of our sanitize spec.
Oh, and the rendering bug on MacOSX, which screwed up \overline
? Fixed that.
Re: I Can’t help Myself …
Ahem.
If? If? IF?
;-)