^^MathML. Presentation MathML.    -df

http://rypress.com/tutorials/git/index

http://rypress.com/tutorials/mathml/index

https://reference.wolfram.com/language/XML/tutorial/MathML.html

 

Basic Algebra

<mi> i stands for identifier
<mo> o stands for operator
<mn> n stands for number

 

3 x + 2 number 3

identifier x

: upright font

: italicized

<mrow> grouping

Subexpressions are grouped using the <mrow></mrow> tag.

5(x+y)

<msup> Superscripts are defined using the <msup></msup> tag.
<msub>
Subscripts are defined using the <msub></msub> tag.

 

Presentation Markup, but

Typographic decisions often carry mathematical meaning.

<mi> i stands for identifier
, which is really more semantic than presentational
<mo> o stands for operator
, which is really more semantic than presentational
<mn> n stands for number
, which is really more semantic than presentational

This makes it hard to draw a clear line between presentation and content.

 

Esempi

 

x 2

 

xn+1

 

e 2 x + 1

 

a2 + b2 = c2

 

a + b 2

 

x 2 + 4 x + 4 = 0

 

a x 2 + b x + c = 0

 

a 2 x 2 + a 1 x + a 0 = 0

 

a n x n + a n-1 x n-1 + ... + a 0 = 0

 

a 0 + a 1 x + a 2 x 2 = 0

 

( 3x - 2y ) 2

 

Xn+1

<mfrac> Fractions are defined using the <mfrac></mfrac> tag

v= s t

 

x2 1 x2 +1

 

x + 2 3

 

x + 2 3

 

x+2 3

 

y= x+2 3

Radicals

4 × 8 3 = 4

 

x+2 3

 

x+2

double-struck

R 2

 

Vectors & Functions

v

3 ı ^ + 2 ȷ ^ + 5 k ^

v = ( v1 , v2 , v3 )

12 m1 u 1 2 + 12 m2 u 2 2

F x y z

x y z

3x 2y 2

F G : U R 3 R 2

Invisible Operators

a ( b )

a 1 2

mixed number 4 e 2/3

4 2 3 4 2 3

proj v a = a v v 2 v

Espressioni complesse

Formula risolutiva eq 2� grado

x = - b ± b 2 4 a c 2 a

 

Content MathML

 

x 2 1 x 2 1

 

f x x 1 x