# kms

## A MathJax Issue

February 25, 2014

I’m having a small issue with MathJax. I wanted to use it in yesterday’s post, but it wasn’t working so I used LaTeXiT to generate a PNG.

Here’s the PNG:

Here’s the MathJax version:

$factorial = \lambda n . \left\lbrace \begin{array}{c c} n & \textrm{if n = 1} \\ n * self (n-1) & \textrm{if n > 1} \end{array}\right.$

The MathJax version generates fine on the MathJax website, so I suspect it has something to do with my configuration (the default Hakyll MathJax config). Can anyone help? Feel free to browse the source.

Update: Thanks to Daniil Frumin for the fix! It all seems to be working now.