From WikiLectures

There is a possibility to display mathematical or chemical formulas in the text of the articles. Characters of the Greek alphabet can be inserted as well. How to insert these useful things is described below.

Mathematical formulas[edit | edit source]

Simple formulas can be inserted as a plain text, of course (a + b = c). But some formulas are so complicated that have to be inserted as a special piece of code.

Special tag <math> is used for the complicated formulas. It allows to insert special mathematical symbols, quotations, formulas and large expressions. It uses syntax similar to LaTeX code.

For example, code <math>\sqrt{1-e^2}</math> does this: [math]\displaystyle{ \sqrt{1-e^2} }[/math]. As you can see, the tag <math> is followed by the code of the expression and the ended by end-tag </math>.

Even if you can use it to create very complicated expression, this probably will not be used at WikiLectures. So this help article shows only basics of the code.

Code (inside the <math> tag!) Preview
+ - \times \div [math]\displaystyle{ + - \times \div }[/math]
\sqrt{2} \sqrt[n]{x+1} [math]\displaystyle{ \sqrt{2} \; \sqrt[n]{x+1} }[/math]
< = > [math]\displaystyle{ \lt = \gt }[/math]
\leftarrow \rightarrow \uparrow \downarrow [math]\displaystyle{ \leftarrow \rightarrow \uparrow \downarrow }[/math]
\Leftarrow \Rightarrow \Uparrow \Downarrow [math]\displaystyle{ \Leftarrow \Rightarrow \Uparrow \Downarrow }[/math]
a^2 a_2 a^2_3 a^{c+3} [math]\displaystyle{ a^2 \; a_2 \; a^2_3 \; a^{c+3} }[/math]
\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu \nu \xi \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega [math]\displaystyle{ \alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu \nu \xi \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega }[/math]
\Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta \Iota \Kappa \Lambda \Mu \Nu \Xi \Pi \Rho \Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega [math]\displaystyle{ \Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta \Iota \Kappa \Lambda \Mu \Nu \Xi \Pi \Rho \Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega }[/math]

Chemical formulas[edit | edit source]

Chemical formulas can be written as a plain text (NO), text with special tags using edit buttons above the edit field (H<sub>2</sub>O → H2O).

Greek alphabet[edit | edit source]

You can insert characters of the Greek alphabet directly in the text using these pieces of code:

Code Preview
&alpha; &beta; &gamma; &delta; &epsilon; &zeta;

&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; &xi; &omicron; &pi; &rho; &sigma; &sigmaf; &tau; &upsilon; &phi; &chi; &psi; &omega;

α β γ δ ε ζ

η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω