## Sunday, August 09, 2009

### Mathematical formulae in blogs

I just discovered how to put latex into my blog:

$\int_{-\infty}^{\infty} e^{-x^2}dx.$

To see how go here.

Update: I see from the comment below that I can use XY-pic.
$\usepackage[all]{xy}\color{Red}\xymatrix@C+2em@R+2em{ Q \ar@/_10pt/[ddr]_{q_1} \ar@/^10pt/[drr]^{q_2} \ar@{-->}[dr]|*+<3pt,3pt>{\scriptstyle u} & & \\ & P \ar[d]_(0.4){p_1} \ar[r]^(0.4){p_2} & Y \ar[d]^{g}\\ & X \ar[r]_{f} & Z }$

Labels: , ,

$\usepackage[all]{xy}\color{Red}\xymatrix@C+2em@R+2em{ Q \ar@/_10pt/[ddr]_{q_1} \ar@/^10pt/[drr]^{q_2} \ar@{-->}[dr]|*+<3pt,3pt>{\scriptstyle u} & & \\ & P \ar[d]_(0.4){p_1} \ar[r]^(0.4){p_2} & Y \ar[d]^{g}\\ & X \ar[r]_{f} & Z }$