I am trying to set up Documenter.jl with MathJax and I want to define some macros. I am doing as in the manual. However, it does not seem to work properly, as I get Undefined control sequence \R.
Below is an example copied from the manual where I have added a single macro.
which is exactly what I want, so I find it strange that this is not working.
I have also looked at the documentation of other packages, such as DifferentialEquations.jl, Symbolics.jl, etc. However these seems to be using either the default KaTeX mathengine or mathjax without any custom macros. Does anyone know of any other packages whose documentation I can reverse engineer?