RNA Facts and News

Posting latex equations in blogger.

When using the mathjax javascript code found at:

http://www.mathjax.org/docs/1.1/start.html#mathjax-cdn

One can post mathematical equations using latex as in the following example:

LaTeX Code:
When a \ne 0, there are two solutions to ax^2 + bx + c = 0 and they are
x = {-b \pm \sqrt{b^2-4ac} \over 2a}.


RENDERED Equations:
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

Great, so now I can make posts with simple matrix equations if necessary.

0 comments:

Post a Comment

Blog Archive