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:

More by this Author


Comments 3 comments

jim.sheng profile image

jim.sheng 18 months ago from UK Author

Hi, I think easiest way is to draw maths equations in Word, and publish on any website as images.


victor 18 months ago

How do you use mathjax on hubpages?


jeruel 3 years ago

This page which should be helping dummies like me does not help at all. If we dummies understand your post, then we would have already known how to do it. Which defeats the purpose why we dropped here in the first place.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working