One difficulty I have had as a math teacher using the internet a lot is that typesetting math is frustrating. This is especially true when students begin typing math, as you have to teach them a whole new math notation; ^ means exponent, ** is also exponent, etc. It’s just messy.
There are a few tools available to make things better. If you are using a word processor, such as Microsoft Word, there is usually a built in math equation editor that allows you to typeset equations quite nicely. If you memorize the shortcut keys (such as Cmd-F for a fraction, Cmd-H for exponent, etc.), you can actually type math at a respectable speed. If you, or your school, are willing to put out some cash (~$60), you can also buy the big brother version of equation editor called MathType. Another option is to use LaTeX, which is a professional typesetting language, though it is a steep learning curve, and more work than it’s worth for many teachers.
It may not be immediately obvious how this relates to typesetting math on the web. As it turns out, some web services allow the use of LaTeX math equations. Here on wikispaces, you can use LaTeX to typeset something that isn’t normally fun to type, like:
$latex \lim_{x\to\infty}f(x)=0&s=3$
Or perhaps a basic fraction, like this:
$latex \frac{a+2}{b+4}&s=3$
The LaTeX code for these isn’t a lot of fun — it looks like this:
\lim_{x\to\infty}f(x)=0
and this:
\frac{a+2}{b+4}
Who wants to memorize how to do that, anyhow? (Full disclosure: at one point, I did actually memorize this…) So, rather than writing LaTeX code directly, you have two options:
- if you own MathType, simply change the Export settings to LaTeX. Then, select the part of the equation you’d like to use and copy and paste it into wikispaces. Instead of copying an image, you are now copying the LaTeX code.
- if you don’t own MathType, and are working on a Windows machine, you can use TexAide. It’s freeware, from the same company that makes MathType, and it lets you type your math, then simply copy and paste it as LaTeX code. It’s really handy, especially since it uses the same engine as MathType, so all the same keyboard shortcuts work, just like Equation Editor.
If you are on a Mac, the only really nice way I’ve found to easily generate LaTeX code is through the full version of MathType. If anyone knows of a nice, free solution, please do share.
How to embed the math into your website of choice will depend entirely on which site you are using. On Wikispaces, the first equation above is simply surrounded by math tags. It therefore looks like:
[[math]]
\lim_{x\to\infty}f(x)=0
[[math]]
On Wordpress.com, you will need to surround the LaTeX code with $ symbols, and declare the code to be LaTeX. The same equation from above would therefore be:
latex \lim_{x\to\infty}f(x)=0 (should have $ on either end of that)
Hopefully someone else finds this useful.
Cross-posted to the T4L wiki at http://t4tl.wikispaces.com/Typesetting+Math+in+Wikispaces
danschellenberg Math, Technology