Posts tagged with 'mathjax'


Issues using MathJax 2.5 with Chrome

So yesterday I wrote an article about the conditional support of MathJax in my posts here on the blog. The post required MathJax since I deliberately put an equation in it. Today I noticed that viewing that post in Chrome led to the equation being rendered three times across the page: Chrome displays three equations. Whut? Even refreshing the page didn’t solve the issue. A mild bit of panic later – Does it work in FireFox? Yes. In Internet Explorer? Yes. In Safari on the Mac? Yes. On an iPad? Yes...

READ MORE

Conditionally loading MathJax with GraffitiCMS

A couple of years ago I did a series of posts about TVM, the Time Value of Money ( 1 , 2 , 3 ). Because they were mathematical in nature, I had to write a few math expressions and equations. Way back when I’d have written them out in the Equation Editor in Word, and taken screenshots, but this time I decided to go for a browser-based solution: MathJax . In essence, I’d write the expressions in LaTeX format, such as x = \frac {-b \pm \sqrt{b^2 - 4ac}} {2a} , and have it rendered as: \[ x = \frac ...

READ MORE

Tightening the feedback loop when writing LaTeX expressions for MathJax

A couple of my recent blog posts have been about the Time Value of Money ( one , two ). They’re full of mathematical expressions, but I was tired of writing these expressions out in Microsoft Word’s equation editor, taking a snapshot of the result, and inserting the result as an image in the post. Instead I decided to try out MathJax , a quite remarkable JavaScript library that renders math expressions at run-time in the client. The big problem that I had was writing expressions in LaTeX...

READ MORE