Skip to content

Commit

Permalink
Document mathjax default configuration in HTML basic Doc
Browse files Browse the repository at this point in the history
Follow up on #844 to keep markdown basic doc without HTML specific information
  • Loading branch information
cderv committed Oct 9, 2023
1 parent 008d066 commit 8d3f2ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/authoring/markdown-basics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ $$
```

For HTML math processed using [MathJax](https://docs.mathjax.org/) (the default) you can use the `\def`, `\newcommand`, `\renewcommand`, `\newenvironment`, `\renewenvironment`, and `\let` commands to create your own macros and environments.
The default configuration for [MathJax](https://docs.mathjax.org/) is [`tex-chtml-full.js`](https://docs.mathjax.org/en/latest/web/components/combined.html?highlight=tex-chtml-full.js#tex-chtml-full) which loads all [MathJax's extensions](https://docs.mathjax.org/en/latest/input/tex/extensions.html) except `colorv2` and `physics` (available using `\require{physics}`).

## Diagrams

Expand Down
2 changes: 1 addition & 1 deletion docs/output-formats/html-basics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Available math rendering methods include:

| Method | Description |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `mathjax` | Use [MathJax](https://www.mathjax.org/) to display embedded TeX math in HTML output. |
| `mathjax` | Use [MathJax](https://www.mathjax.org/) to display embedded TeX math in HTML output. The default configuration for [MathJax](https://docs.mathjax.org/) is [`tex-chtml-full.js`](https://docs.mathjax.org/en/latest/web/components/combined.html?highlight=tex-chtml-full.js#tex-chtml-full) which loads all [MathJax's extensions](https://docs.mathjax.org/en/latest/input/tex/extensions.html) except `colorv2` and `physics` (available using `\require{physics}`). |
| `katex` | Use [KaTeX](https://github.com/Khan/KaTeX) to display embedded TeX math in HTML output. |
| `webtex` | Convert TeX formulas to `<img>` tags that link to an external script that converts formulas to images. |
| `gladtex` | Enclose TeX math in `<eq>` tags in HTML output. The resulting HTML can then be processed by [GladTeX](https://humenda.github.io/GladTeX/) to produce images of the typeset formulas and an HTML file with links to these images. |
Expand Down

0 comments on commit 8d3f2ff

Please sign in to comment.