LaTeX amsmath in Documenter

I’d like to make a matrix with LaTeX’s amsmath package in Documenter. I found this bit on MkDocs and MathJax, but I’m not sure how to manipulate python.

Could anyone help me out or direct me to a more in-depth tutorial?

2 Likes

Your link is to a very old version of the Documenter docs.

The current (0.24) version uses KaTeX for the HTML backend. This handles a lot of amsmath syntax already. Can you post an example that does not work?

1 Like

Thanks!! Referencing the latest documentation for Documenter helped. (Who’d’a thought? :upside_down_face:) I was trying to do something like this:


$\begin{bmatrix} ... \end{bmatrix}$

Using ```math instead of $ made it work.