# Using LaTeX in Your Posts

Hi all!

Here is a quick guide to inserting simple LaTeX formulas into your blog posts. Just type $latex your-code-goes-here$ and your equations will appear. The LaTeX plugin here seems to support the amsmath, amsfonts, and amssymb packages (only).

A quick note: when editing your post and inserting LaTeX, you may need to type your code in “Text” mode rather than “Visual” mode, since the markup in the latter seems to occasionally mess with the parser.

Here is a quick example:

Let $latex A$ be an $latex m\times n$ matrix, and $latex b$ is an $latex m\times 1$ vector. Then exactly one of the following is true:

1. $latex \exists x\in\mathbb{R}^n : Ax\leq b$
2. $latex \exists p\in\mathbb{R}^m : p^TA \leq 0 \text{ and } p^Tb < 0, p\geq 0$.

Output:

Let $A$ be an $m\times n$ matrix, and $b$ is an $m\times 1$ vector. Then exactly one of the following is true:

1. $\exists x\in\mathbb{R}^n : Ax\leq b$
2. $\exists p\in\mathbb{R}^m : p^TA \leq 0 \text{ and } p^Tb < 0, p\geq 0$.

Here is a link to more info. Happy blogging!

Advertisements

## 2 thoughts on “Using LaTeX in Your Posts”

1. yaronsinger says:

Awesome — thanks Arjun!