- Many Markdown preprocessors, such as the one that Jekyll and GitHub Pages use,
have a "smart quotes" feature. This changes
’which is an issue for math containing primes, e.g.
f'. This can be worked around by defining a single character macro which changes them back, e.g.
- KaTeX follows LaTeX's rendering of
matrixenvironments unlike MathJax. When displaying fractions one above another in these vertical layouts there may not be enough space between rows for people who are used to MathJax's rendering. The distance between rows can be adjusted by using
\\[0.1em]instead of the standard line separator distance.
- KaTeX does not support the
alignenvironment because LaTeX doesn't support
alignin math mode. The
alignedenvironment offers the same functionality but in math mode, so use that instead or define a macro that maps
- MathJax defines
\colorto be like
\textcolorby default; set KaTeX's
truefor this behavior. KaTeX's default behavior matches MathJax with its