Math
TeX and HTML
Before introducing TeX markup for producing special characters, it should be noted that, as this comparison table shows, sometimes similar results can be achieved in HTML (see Help:Special characters).
TeX Syntax (forcing PNG) | TeX Rendering | HTML Syntax | HTML Rendering |
---|---|---|---|
<math>\alpha</math>
|
{{math|<VAR>α</VAR>}}
|
α | |
<math> f(x) = x^2\,</math>
|
{{math|''f''(<var>x</var>) {{=}} <var>x</var><sup>2</sup>}}
|
f(x) = x2 | |
<math>\sqrt{2}</math>
|
{{math|{{radical|2}}}}
|
√2 | |
<math>\sqrt{1-e^2}</math>
|
{{math|{{radical|1 − ''e''²}}}}
|
√1 − e² |
The codes on the left produce the symbols on the right, but the latter can also be put directly in the wikitext, except for ‘=’.
Syntax | Rendering |
---|---|
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
∫ ∑ ∏ √ − ± &infty; ≈ ∝ {{=}} ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ Ø ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ ↑ ℵ - – — |
∫ ∑ ∏ √ − ± ∞ ≈ ∝ = ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ Ø ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ ↑ ℵ - – — |