How to Display Math Symbols in WordPress

[ad name=”Google Adsense 468_60″]

Ron Fredericks writes: Have you ever wanted to include math equations in your blog posts or lecture materials?  Here is an easy yet professional looking way to get the job done.  Use Embedded Components WordPress plugin called WordPress Math Publisher, or wpmathpub, for short. 

Introduction to Math Blogging – Using WordPress Math Publisher

 

[ad name=”Google Adsense 468_60″]

Usage

As an example, when I embedded the wpmathpub [pmath size=xx] tag into my blog post — like this:

(a+b)^2=a^2+2ab+b^2

Where: 
~a is defined as a 
~b is defined as b

 

I get the following mathematical equation displayed in my blog post:

(a+b)^2=a^2+2ab+b^2

where:
    ~a is defined as a
    ~b is defined as b

 You can learn more from the plugin’s wiki-like documentation on wordpress.org site itself from here:

http://wordpress.org/extend/plugins/wpmathpub/

You can post questions or comments on this plugin from here:

http://www.embeddedcomponents.com/blogs/2008/03/wpmathpubsupport/


Posted

in

,

by

Comments

17 responses to “How to Display Math Symbols in WordPress”

  1. Lim Ee Hai Avatar

    Good information for those doing math blog. The creation of various math symbol is tedious in WordPress. Have this code the task is simplified.

  2. admin Avatar

    This comment is just to verify comments support wpmathpub plugin’s display of math equations.

    Sample equation with spaces in tag: [ pmath ]y=mx^2+b[ /pmath ]

    Correctly tagged math equation: y=mx^2+b

    Looks great!

  3. Math Tests Avatar
    Math Tests

    [ pmath ] a^2-b^2=(a+b)(a-b) [ /pmath ]
    a^2-b^2=(a+b)(a-b)

  4. Zach Avatar

    There’s a cool google gadget floating around that will generate these equation images for you as well, with the added benefit of a wysiwyg editor so you can embed these images anywhere…

  5. admin Avatar

    Hi Zach,

    You are on the right track, thanks for sharing the Google gadget with my readers. Your gadget indeed includes a great display for the creation of math equations. What seems to be lacking is a simple method for easy publishing of the final image. For example: Can the gadget itself be plugged into a blog post? Or does the blogger still have to cut, paste, upload into WordPress, then tagging and formatting [repeat sic] of the image is then required before finally posting the math equation within a blog?

    Using a simple text editor, you can use my WordPress mathpub plug-in to create images on the fly that fit within a blog post or a blog comment without any hassle associated with img tags etc… Because the image is created on the fly to exactly fit within the blog post or comment. This is a very powerful feature for collaboration and for making quick changes when math errors or improved algorithms are found that would otherwise break the format of the original image as placed within the blog post. It was this redo for improved algorithm that finally got me to write the WordPress mathpub plug-in in the first place – all the coding and publishing of the open-source code took less time and creates error free publishing of math images.

    How about adding your great editor to my plug-in and/or the php math publisher library used as the backend to my plug-in so we can take advantage of both worlds: both open-source and ready for the next upgrade (like yours).

    Regards,

    Ron

  6. […] How to Display Math Symbols in WordPress LectureMaker Posted by root 2 hours 6 minutes ago (http://www.lecturemaker.com) Pingback by latex resources how to display math symbols in wordpress march 31 this comment is just to verify comments support wpmathpub plugin Discuss  |  Bury |  News | How to Display Math Symbols in WordPress LectureMaker […]

  7. […] How to Display Math Symbols in WordPress LectureMaker Posted by root 4 hours ago (http://www.lecturemaker.com) Using a simple text editor you can use my wordpress mathpub plug in to create images on the fly that fit within a blog post or a blog comment without any Discuss  |  Bury |  News | How to Display Math Symbols in WordPress LectureMaker […]

  8. loans Avatar

    i wanted to use this symbol on my website
    thanks a ton

  9. Stephanie Avatar
    Stephanie

    Can I use this plugin in the blog title field?

  10. admin Avatar

    Hi Stephanie:

    Thanks for the question. At this time this plugin can not be used to display math symbols in the title field. The problem for me is that I don’t think html tags like “<img…" are supported in the title field.

    Best regards,

    Ron

  11. Dannie Cadmen Avatar

    Hi there! This is kind of off topic but I need some help from an established blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty quick. I’m thinking about creating my own but I’m not sure where to begin. Do you have any points or suggestions? Appreciate it

  12. Júlio Avatar
    Júlio

    [ pmath ] a^4/b^2/3=(a+b)(a-b) [ /pmath ]

    Editor’s note: the syntax above will display as an equation without the spaces around the pmath tags…

    a^4/b^2/3=(a+b)(a-b)

  13. Audria Alquisira Avatar

    Yeah, it is too tricky for Bing or Yahoo to contend with Google in Research Engine industry. Perhaps I just expect Fb’s ambition might make the marketplace more interesting.

  14. animateholic Avatar

    thanks, very helpfull 🙂 🙂

  15. amraa Avatar
    amraa

    that is test
    (a+b)^2=a^2+2ab+b^2

Leave a Reply

Your email address will not be published. Required fields are marked *

(Spamcheck Enabled)

This site uses Akismet to reduce spam. Learn how your comment data is processed.