<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stacyprowell.com &#187; jsmath</title>
	<atom:link href="http://stacyprowell.com/blog/tag/jsmath/feed/" rel="self" type="application/rss+xml" />
	<link>http://stacyprowell.com/blog</link>
	<description>Ugh, Stacy&#039;s talking again...</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:01:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>WordPress and jsMath</title>
		<link>http://stacyprowell.com/blog/2009/04/20/wordpress-and-jsmath/</link>
		<comments>http://stacyprowell.com/blog/2009/04/20/wordpress-and-jsmath/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 03:00:22 +0000</pubDate>
		<dc:creator>stacy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jsmath]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://stacyprowell.com/blog/?p=145</guid>
		<description><![CDATA[How to use jsMath in WordPress blogs.]]></description>
			<content:encoded><![CDATA[<p>Well&#8230; I&#8217;ve been using jsMath on my Wiki, and now I&#8217;m keen to use it on my blog.  There does not seem to be a WordPress plugin explicitly for jsMath (if anyone knows of one, please let me know), but you don&#8217;t <em>need</em> one.  Using jsMath from WordPress is actually easy via a <em>different</em> plugin.<span id="more-145"></span></p>
<p>The plugin is <a href="http://wordpress.org/extend/plugins/wp-hooks/">WP Hooks</a>.  This is a plugin that lets you add content to the page head, and that&#8217;s just what we want!</p>
<ol>
<li>Download and install <a href="http://www.math.union.edu/~dpvc/jsMath/">jsMath</a> on your local server.</li>
<li>Download, install, and activate <a href="http://amwhalen.com/blog/projects/wp-hooks">WP Hooks</a> in WordPress.</li>
<li>Configure this and add the following to the header (<em>change</em> the path to point to your local installation of jsMath):<br />
<tt>&lt;SCRIPT SRC="jsMath/easy/load.js"&gt;&lt;/SCRIPT&gt;</tt></li>
<li>Start writing math on pages.</li>
</ol>
<p>This seems to work fine.  Here&#8217;s an example.  \[\int \sin x\ dx= -\cos\ x + C\]</p>
<p>This was created as a display equation via writing <tt>\<em></em>[\int \sin x\ dx= -\cos\ x + C\]</tt> in the page.</p>
<p><strong>Update</strong>: As pointed out in the comments, you need to install the fonts on the client (browser) side for things to look really nice and for math rendering to be fast; otherwise you get a warning and bitmap fonts.  It&#8217;s really easy; the instructions are <a href="http://www.math.union.edu/~dpvc/jsMath/users/fonts.html" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stacyprowell.com/blog/2009/04/20/wordpress-and-jsmath/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

