Blog 1

Random Talk on Random Thoughts

Testing MathJax

| Comments |

Following the instructions on Irreducible representation, MathJax works on Blogger.

I typed

1
$\cos^2\theta-\sin^2\theta=\cos 2\theta$

and here’s the result: $\cos^2\theta-\sin^2\theta=\cos 2\theta$

Antoher equation:

\[ ax+\frac{b}{y}=1 \]

This time, the equation is in display mode.

How about the inline verbatim environment? Googling “mathjax verbatim”, we have

\[ \verb*$x^2\sqrt y$* \text{ yields } x^2\sqrt y \]

according to $\rm \TeX$ Commands available in MathJax by Dr. Carol JVF Burns. Nevertheless, it only works in display mode.1

Finally, let’s get some equations numbered, just like an example on the MathJax CDN.

\[ \begin{equation} \int_{0}^{\frac{\pi}{2}} \sin x \ud x = 1 \end{equation} \]

  1. Last edited on DEC 19TH, 2014.

Comments