Equations

Equations in your text should use the code font (monospace). This can either be achieved by enclosing the equation in double backticks or by using the <code> HTML tag.

Generally, we use an asterisk as the multiplication symbol. So, the equation for the area of a circle would be typed as:

``A = 𝜋 * r²``

And rendered as:

A = 𝜋 *

As a rule, leave a space around each operator to aid readability.

Superscripts and subscripts

For superscripts and subscripts, you can either use Unicode characters (if available) or use the HTML tags <sup> and <sub>. Note, however, that you can only use these when using the <code> HTML tag method.

Here’s an example:

<code>N = R<sub>*</sub> * f<sub>p</sub> * n<sub>e</sub> * f<sub>l</sub> * f<sub>s</sub> * f<sub>t</sub> * L</code>

Which would render like this:

N = R* * fp * ne * fl * fs * ft * L

Tip

When you use multiple Unicode super and subscript numbers together, the spacing can look odd. One solution is to the HTML <sub> and <sup> tags instead.

Centering short equations

For very short equations, you should consider centering them to make them standout more to the reader. You can currently do this with the <center> HTML tag. Therefore, you’ll need to also use the <code> tag to display the equation as code text. So, for the area of a circle example, the text would be:

<center><code>A = 𝜋 * r²</code></center>

Which will render like this:

A = 𝜋 * r²

Symbols

If you need to use special symbols in your equation, check out the Symbols section of this handbook.