Skip to content
Leilei Tong
Go back

Sample post: how formulas will look

This is a preview-only sample post. It will be removed before the site goes live, unless you want to keep it as a formatting reference.

Inline math looks like this: u(x1,x2)=x1αx21−αu(x_1, x_2) = x_1^\alpha x_2^{1-\alpha}.

Block math looks like this:

max⁡x1,x2  u(x1,x2)s.t.p1x1+p2x2=m\max_{x_1, x_2} \; u(x_1, x_2) \quad \text{s.t.} \quad p_1 x_1 + p_2 x_2 = m

If the formulas above render correctly in the preview, KaTeX is working.


Share this post: