# 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.

# Symbols (in math mode)

## The basics

 description command output addition + $$+$$ subtraction - $$-$$ plus or minus \pm $$\pm$$ multiplication (times) \times $$\times$$ multiplication (dot) \cdot $$\cdot$$ division symbol \div $$\div$$ division (slash) / $$/$$ infinity \infty $$\infty$$ dots 1,2,3,\ldots $$1,2,3,\ldots$$ dots 1+2+3+\cdots $$1+2+3+\cdots$$ fraction \frac{a}{b} $$\frac{a}{b}$$ square root \sqrt{x} $$\sqrt{x}$$ $$n$$th root \sqrt[n]{x} $$\sqrt[n]{x}$$ exponentiation a^b $$a^{b}$$ subscript a_b $$a_{b}$$ absolute value |x| $$|x|$$ natural log \ln(x) $$\ln(x)$$ logarithms \log_{a}b $$\log_{a}b$$ exponential function e^x=\exp(x) $$e^{x}=\exp(x)$$ degree \deg(f) $$\deg(f)$$ circle plus \oplus $$\oplus$$ circle times \otimes $$\otimes$$ equal = $$=$$ not equal \ne $$\ne$$ less than < $$<$$ less than or equal to \le $$\le$$ greater than or equal to \ge $$\ge$$ approximately equal to \approx $$\approx$$