Help:Formulas

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
Simple formulas can be inserted as a plain text, of course. But some formulas are so complicated that have to be inserted as a special piece of code.

Special tag  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  does this: $$\sqrt{1-e^2}$$. As you can see, the tag  is followed by the code of the expression and the ended by end-tag.

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.

Chemical formulas
Chemical formulas can be written as a plain text, text with special tags using edit buttons above the edit field ( → H2O) or using special tag.

For example, code  creates H2SO4.

Unfortunately more complicated formulas (e.g. organic substances) has to be drawn as an image and uploaded to WikiLectures. The tag  cannot be printed in the PDF version of an article, so we strongly recommend to use only plain text with special tags   and   or images.

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