Thursday, April 4, 2013

jqMath version 0.4.0

I've released version 0.4.0 of jqMath, and updated this blog and the previous posts to use the new version.  It has support for MathML syntax, better accent (overscript) placement, \ov (overbar), \: and \; for medium and thick spaces, etc.  Best wishes, Dave B.

Sunday, November 25, 2012

jqMath version 0.3.0

I've released version 0.3.0 of jqMath, and updated this blog and the previous posts to use the new version.  It will use native MathML support by default in Chrome 24 and Safari 6.1+/7.0+.  Best wishes, Dave B.

Sunday, October 30, 2011

jqMath version 0.2.0

I've released version 0.2.0 of jqMath, and updated this blog and the previous post to use the new version.  It has support for \\( \), \\[ \], \text, \html, decimal commas in some languages, <mmultiscripts> (tensor indices), etc.  Best wishes, Dave B.

Sunday, March 20, 2011

jqMath in Blogger!

This is a test showing that we can use jqMath in Google Blogger.

If $ax^2+bx+c=0$ with $a≠0$, then:
$$x={-b±√{b^2-4ac}}/{2a}$$

Some Fraktur letters:  $\fr A$ $\fr B$ $\fr C$

To do this in your blog, choose “Design” or “Template”, and then “Edit HTML”.  You need to add some things near the beginning of your HTML template.  It may help you to use your browser’s “View Source” command on this page, to see how I’ve changed my template.  The things you need to add are:

An attribute in your html tag:  xmlns:m="http://www.w3.org/1998/Math/MathML"

Some lines early in your <head> (but probably after any 'X-UA-Compatible' element):

    <link href='http://fonts.googleapis.com/css?family=UnifrakturMaguntia' rel='stylesheet'
        type='text/css' />
    <link rel="stylesheet" href="http://mathscribe.com/mathscribe/jqmath-0.4.3.css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> 
    <script src="http://mathscribe.com/mathscribe/jqmath-etc-0.4.3.min.js"></script>

The first <link> above is for Fraktur letters; if you don't use them, you can leave this link out, and your blog may load slightly faster.

Then in your blog posts, include jqMath strings as in:
If \$ax^2+bx+c=0\$ with \$a≠0\$, then: \$\$x={-b±√{b^2-4ac}}/{2a}\$\$
Cheers, Dave B.