Monday, June 27, 2011

Things to do in Vegas

In preparation for BbWorld 11, some links that I found for things to do in Las Vegas if you don't gamble.

Any other suggestions?

Thursday, June 9, 2011

MathJax and VTBE Experiments

Our faculty are interested in putting equations into Blackboard. However, the current equation editor is old and flaky (works for some browsers, not for others). I heard from other schools about MathJax ( and started to play with it.

The easiest way to use MathJax is to link directly to the MathJax distributed network service (see Using the MathJax CDN). In that case, there is no need to install MathJax yourself, and you can begin using MathJax right away.

The only thing is you need to have a bit of script tag in each of your pages:

<script type="text/javascript"

I had the inspiration to throw that snippet into the googleAnalyticsSnippet.vm (see

That took care of including the script.

I took some of the TeX examples (see and added them in via the VTBE.

To keep the VTBE from mucking with all the special characters like "{" "}":
* Turn the Text Editor OFF
* Choose "Plain Text"

And then cut-and-paste the TeX examples, e.g., Lorentz Equations

\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy

What it looks like in the VTBE:


Here is an example where I put MathJax TeX into a Test question. (Added 06/13/2011)

Here is an example where I put MathJax TeX into a Discussion post. (Added 06/13/2011)

What I typed:



* I initially had trouble with some of the examples not showing (e.g., just seeing raw code), then it occurred to me that the examples that worked started and ended with


so I added those to the non-working TeX examples and presto, they appeared properly.

* MathML examples - were not working for me, maybe conflicting with the VTBE's inherent handling of MathML (part of the built-in equation editor)

* Security concerns - including someone else's javascript in all your Bb JSP pages needs quite a level of trust. You can install MathJax locally on your server, and that's prob. where we'd be experimenting next. (And, it'd be friendlier to the MathJax CDN!)