diff --git a/test/examples/src/man/tutorial.md b/test/examples/src/man/tutorial.md index 4e81ac70c85..2ec5612fd4f 100644 --- a/test/examples/src/man/tutorial.md +++ b/test/examples/src/man/tutorial.md @@ -422,8 +422,14 @@ In an `@example` or `@eval`block, it renders as an equation: LaTeXEquation("x^2") ``` -Documenter also supports having the LaTeX text being already wrapped in `\[ ... \]`. +Documenter also supports having the LaTeX text being already wrapped in `\[ ... \]`: ```@example showablelatex LaTeXEquation("\\[\\left[ \\begin{array}{rr}x&2 x\\end{array}\\right]\\]") ``` + +or wrapped in `$$ ... $$`: + +```@example showablelatex +LaTeXEquation("$$\\begin{bmatrix} 1 & 2\\ 3 & 4 \\end{bmatrix}$$") +```