I specifically chose WordPress for this blog because of it allows the use of for typesetting mathematics, used by many mathematicians and scientists for writing documents with extensive mathematical symbols.

To use in WordPress, the basic command is

This creates a small image rendering the mathematical symbols. If you hover your mouse over any image, you should see the source code that made the image possible.

If you’re not familiar with , I’ve illustrated some common syntax with the examples below. The text on the left should replace [Your LaTex command here] above.

- y = a(x-h)^2 + k becomes
- \frac{x^2-y^2}{x-y} = x + y \hbox{~if~} x \ne y becomes
- \pi \approx \frac{22}{7} becomes
- \pi \approx \displaystyle \frac{355}{113} becomes
- a^2 + b^2 = c^2 becomes
- x \ge 6 becomes
- \sqrt{x^2} = |x| becomes
- \sqrt[3]{-216} = -6 becomes
- \log_{10} \frac{x}{y} = \log_{10} x – \log_{10} y becomes
- \sin^2 \theta + \cos^2 \theta = 1 becomes
- (x+y)^n = \displaystyle \sum_{k=0}^n {n \choose k} x^k y^{n-k} becomes
- \displaystyle \int_a^b f(x) dx \approx \frac{h}{2} \left[ f(x_0) + 2f(x_1) + \dots + 2f(x_{n-1}) + f(x_n) \right] becomes
- \frac{d}{d\phi} \left(\tan^2 \phi\right) = 2 \tan \phi\sec^2 \phibecomes
- \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset \mathbb{C} becomes
- \displaystyle \frac{-b \pm \sqrt{b^2-4ac}}{2a} becomes
- P(A \cap B) becomes
- \triangle ABC \cong \triangle DEF becomes
- (-\infty,-2] \cup [2,\infty) becomes

## 1 Comment