Inserting mathematical formulas into html slides

We can insert as an inline formula, or a display formula:

(1)

Or, formula in the box:

(2)

If we need, we can also insert shifted down, or insert a shifted up and rescaled: . We can also temporarily change the default size of the formulas. For example, this paragraph is typeset using small font. The formula comes out smaller because we changed the default size. After we restore the default size is of the normal size. Some people like colored formulas:

See the syntax part for more examples.