2019-10-19 20:33:56 +01:00
|
|
|
// MathJax Configuration
|
|
|
|
//
|
|
|
|
// v2 to v3 upgrade notes:
|
|
|
|
// - The CommonHTML.linebreaks option is not yet implemented (but may be in a future release)
|
|
|
|
// - The TeX.noUndefined.attributes option is not yet implemented (but may be in a future release)
|
2018-10-21 21:32:44 +02:00
|
|
|
window.MathJax = {
|
2022-08-21 10:55:47 +01:00
|
|
|
options: {
|
|
|
|
// Don't render math in mindmaps as Markmap has its own math renderer.
|
|
|
|
ignoreHtmlClass: 'markmap',
|
|
|
|
},
|
2019-10-19 20:33:56 +01:00
|
|
|
tex: {
|
2021-01-08 23:29:45 +00:00
|
|
|
inlineMath: [
|
|
|
|
['$', '$'],
|
|
|
|
['\\(', '\\)'],
|
|
|
|
],
|
|
|
|
displayMath: [
|
|
|
|
['$$', '$$'],
|
|
|
|
['\\[', '\\]'],
|
|
|
|
],
|
2019-10-19 20:33:56 +01:00
|
|
|
processEscapes: false,
|
2021-01-08 23:29:45 +00:00
|
|
|
packages: {'[+]': ['noerrors']},
|
2019-07-18 00:44:59 +01:00
|
|
|
},
|
2019-10-19 20:33:56 +01:00
|
|
|
loader: {
|
2021-01-08 23:29:45 +00:00
|
|
|
load: ['[tex]/noerrors'],
|
|
|
|
},
|
2018-10-21 21:32:44 +02:00
|
|
|
};
|