- HubPages
*»* - Education and Science
*»* - Math

# How to write math equations in Blogger

You start a blog for teaching mathematics, and try to find some ways to type maths equations on the blog. After some research, you find that there are many ways to do that.

You can convert your maths equations into images and insert into your post, or you may insert some HTML maths symbols and alternative symbols to represent your equations, such as a backslash "/" for division sign, a star * for multiplication sign.

Many people use Blogger or Wordpress for blogging, and are already familiar with MathML or LaTeX. In this hub, I try to demonstrate how to type maths equations into your Wordpress or blogger post.

## Using LaTeX in WordPress

Wordpress.com supports LaTeX. You type LaTeX code inside two dollar sign, and it converts the code into image for you. It can also change font size and color.

There are no Plugin for self-hosted WordPress, but its really quite straight forward to integrate LaTeX into your post by installing jsMath.

## Using LaTeX in Blogger

Among the top hits of Google Search, I only recommend MathJax, because it works in all modern browsers, very simple to install, and most reliable. MathJax has its own Content Distribution Network (CDN).

WatchMath is recommended by some bloggers, but it's not reliable, because the website was down then moved to another server, and this may happen again in future. And the author himself uses MathJax in his own website.

If you choose Dynamic view, you can't edit HTML, so you have to choose other templates. Ignore the warning, and proceed to put the code into the <head> block.

You type your TeX code within double dollar signs, and it's so beautifully rendered and simple to configure, without installing any plugins or special fonts, Just one line in the template header.

For example, You copy and paste this into the HTML editor:

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}.$$

And it will render for you into something like this: