Commit 215a1e7
committed
Disabling Mathjax 4 packages
With Mathjax version 4 quite a few packages are automatically loaded, though this can lead to inconstancies with, the default use of, older versions Mathjax versions.
An example of this is the use of the `_` inside `\text` (the default Mathjax 4 behavior is the same as with regular LaTeX, see also doxygen#11705 (comment)), by disabling the `textmacros` the old behavior can be obtained again (see also https://docs.mathjax.org/en/latest/upgrading/whats-new-4.0/input.html#textmacros-enabled-by-default) which is also valide for the underscore handling inside the `\text`.
By prepending a `-` (minus sign) to the package name in the `MATHJAX_EXTENSIONS` the package will be disabled.1 parent fe93d84 commit 215a1e7
1 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
486 | 495 | | |
487 | 496 | | |
488 | 497 | | |
| |||
510 | 519 | | |
511 | 520 | | |
512 | 521 | | |
513 | | - | |
514 | | - | |
515 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
516 | 528 | | |
517 | 529 | | |
518 | 530 | | |
| |||
0 commit comments