<<

MathML Browser Test (Presentation Markup)

This is an HTML5 using MathML document. Click on a formula/equation to see the source code that generated it. If you are having problems viewing this document, try viewing this older version (XHTML 1.1 plus MathML 2.0).

Image of TeX rendering Image of MathML rendering MathML rendering Formula (MiKTeX 2.9) ( 4.0 with STIX Fonts) (by this browser) Axiom of ∀A∃P∀B[B∈P∀C(C∈B⇒ power set Logic: ¬ (p∧q) (¬p) ∨

De Morgan's ‾ n law Boolean algebra: ⋃ Ai= ⋂ i=1 i

2 Quadratic x= −b± b −4ac Formula 2a

  Binomial C(n,k) =Cn= C k n =  n  = k  k  Coefficient k!

1 ∞ Sophomore's xx ⅆx= ∑ −1 n+1n− ∫0 ( ) dream n=1

→ v v v ∇· v = ∂ x + ∂ y + ∂ z Divergence ∂x ∂y ∂z

complex number Complex c= a + bⅈ number real imaginary

   q qn−1   α1 α … α   1 1   q qn−1   α2 α … α  Moore  2 2  M=   determinant  ⋮ ⋮ ⋱ ⋮   α αq … α qn−1   m m m   

Spherical coordinates derivation of the volume of a sphere The formula S for a sphere of radius R in spherical coordinates is: S= { 0≤ ϕ≤ 2π,0≤ θ≤ π,0≤ ρ≤ R} Volume = ∭ρ2sin θⅆρⅆθⅆ ϕ S Sphere = 2πⅆϕ πsin θⅆ θ Rρ2ⅆ ∫ 0 ∫ 0 ∫ 0 volume  2π  π = ϕ ( − cosθ)  1 ρ  0  0 3 = 2π× 2× 1 R3 3 = 4 πR3 3

Schwinger-       ψ  δ F [ϕ]   ψ =− ⅈ ψ F [ Dyson   δϕ     equation  Differentiable  γ (0) = γ (0) = p , and  1 2 Manifold γ ≡γ   ⅆ   ⅆ 1 2  ϕ∘γ (t)  t =  ϕ∘   t 1  =0  t (tangent   ⅆ   ⅆ vector)

cov (ℒ) non () cof () ↑ ↑ ↑ Cichoń's Diagram ↑ ↑ ℵ1 add (ℒ) add () cov ( multiscripts & greek alphabet ℭ µ λ ι κ ∏ υ τ ρ σ π ο ν ξ δ ω ψ ϕ χ

1+ 3 2+ 5 3+ 7 4+ 11 5+ 13 6+ 17 7+ nested roots ⅇπ

        b1        a a a a   b    1 2 3 4   2    a a a a   b    5 6 7 8   3    b    4           c1 c2   0     c3 c4      nested  matrices

scriptlevel font sizes : ( − 3 , − 2 , − 1

NOTES:

I hope this site can be used as a learning aid (tutorial by example) for mathematics in TeX/LaTeX and in coding MathML. A small sample of many different types of mathematical expressions and equations is shown. All the examples are complete with the source code available. (Just click on the equation/formula.)

This web page was validated as: HTML5 at The W3C Markup Validation Service CSS level 3 at The W3C CSS Validation Service Section 508 accessibility requirements/guidelines at The HiSoftware Cynthia Says Portal

Lessons Learned Working on MathML with STIX Fonts on Firefox:

When using an mtable, the table cell (mtd) default vertical padding produces excessive spacing. Setting the top and bottom padding to zero "0" fixes this.

When using the mfenced tag, the "fences" have no spacing around them. When using the vertical bar "|" (|) as a fence, adding a little spacing around it improves the readability of the result.

Firebug is an add-on to the Firefox browser. It is a great development tool that works well with MathML.

Bugs / Enhancements:

Firefox: Bug 236963 - (stretchy-in-cells) Stretchy characters don't stretch in mtable cells Firefox: Bug 403958 - mroot and msqrt overlines not consistent with right hooks in radical glyphs Firefox: Bug 491384 - MathML does not honor columnalign attribute of mtable element Firefox: Bug 491668 - MathML elements rendered x & y position available but width and height undefined Firefox: Bug 667567 - MathML is not displayed correctly inside link and underline tags

Useful :