Adding mathematical formulas to a text module

LaTeX

Mathematical formulas can be added to text modules by using the LaTeX syntax. If you are not familiar with this syntax type, the easiest way to begin adding mathematical formulas to your text modules is by using a tool that converts handwritten formulas to LaTeX. To do this, you can use the following demo, for example: https://webdemo.myscript.com/views/math/index.html

To search for the LaTeX codes for individual mathematical symbols, it might be easier to use a directory such as http://detexify.kirelabs.org/classify.html.

For a complete list of symbols supported by the LaTeX syntax, see http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf.

Instead of the usual "\begin{math}" code, the Peda.net platform distinguishes LaTeX code from normal text with double brackets and a dollar sign "[[­$". Conversely, the end of LaTeX code is marked with a dollar sign and closed double brackets "$­]]".

To give your formulas more space, you can add another dollar sign to the code: "[[­$$" and "$$­]]". This gives LaTeX more vertical space to write the formula.

If you choose the ”pedanetmath” tool from the toolbar's ”Insert” tab, the beginning and ending codes for LaTeX are automatically added.

Presenting chemical formulas

Chemical formulas can be added to a text module by using mathematical formulas. In Peda.net's version of LaTeX, this is achieved with the "mhchem" package. Examine the examples below to see how chemical formulas are added to the "Text" tool with LaTeX.

Examples

Water's chemical formula is [[­$ \ce{H2O} $­]]​.
Water's chemical formula is [[$ \ce{H2O} $]].

A single bond is marked as follows: [[­$ \ce{A-B} $­]]​.
A single bond is marked as follows: [[$ \ce{A-B} $]].

A double bond is marked as follows: [[­$ \ce{A=B} $­]]​.
A double bond is marked as follows: [[$ \ce{A=B} $]].

A triple bond is marked as follows: [[­$ \ce{A#B} $­]]​.
A triple bond is marked as follows: [[$ \ce{A#B} $]].

[[­$ \ce{^{227}_{90}Th+} $­]]​ is a Thorium isotope.
[[$ \ce{^{227}_{90}Th+} $]] is a Thorium isotope.

[[­$ \ce{A ->[H2O] B} $­]]​ is one way to write a reaction arrow.
[[$ \ce{A ->[H2O] B} $]] is one way to write a reaction arrow.