LanX: Verwendung von MathML

Beitrag lesen

Hi Andreas

Zweifel! Das XML-Paradigma stellt sich da AFAIK selbst nen Fuß,
"Trennung von Inhalt und Layout" oder so (Korrigiert mich ;)

TeX bzw. LaTeX ist doch auch Trennung von Inhalt und Layout. Das macht's ja für mich so einfach vernünftige Texte damit zu schreiben. *g* Außerdem ist das Erstellen von Formeln natürlich perfekt. ;-)

Hier mal ein Auszug zum Thema "Tex oder MathML" was geht einfacher, aus
http://pear.math.pitt.edu/mathzilla/mathml.html
(Da findest du auch Details zu iTex)

Example: A Taylor series expansion.

In latex:

[f(z) = \sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!} (z-a)^n].

And in MathML:

<math xmlns='http://www.w3.org/1998/Math/MathML' mode='display'>
<mi>f</mi><mo>(</mo><mi>z</mi><mo>)</mo>
<mo>=</mo>
<msubsup>
<mo>&Sum;</mo>
<mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow>
<mn>∞</mn>
</msubsup>
<mfrac>
<mrow>
<msup><mi>f</mi> <mrow><mo>(</mo><mi>n</mi><mo>)</mo></mrow> </msup>
<mo>(</mo><mi>a</mi><mo>)</mo>
</mrow>
<mrow><mi>n</mi><mo>!</mo></mrow>
</mfrac>
<mo>(</mo><mi>z</mi><mo>-</mo><mi>a</mi>
<msup><mo>)</mo> <mi>n</mi></msup>
</math>

Das macht Spass gell?

Viele Grüße
Rolf