How to write Math in Authorea

Writing math for the web!

Authorea supports LaTeX, a powerful typesetting program that renders beautiful math notation. There are two ways to present a mathematical expression— inline or as an equation.

Inline mathematical expressions

Inline expressions occur in the middle of a sentence. To produce an inline expression, place the math expression between dollar signs ($ ). For example, typing $E=mc^2$ yields \(E=mc^2\).

Equations

Equations are mathematical expressions that are given their own line and are centered on the page. These are usually used for important equations that deserve to be showcased on their own line or for large equations that cannot fit inline. To produce an inline expression, place the mathematical expression between the symbols \[ and \] . Typing \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\] yields \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.\]

Displaystyle

To get full-sized inline mathematical expressions use \displaystyle . Ty