reveal.js template: include tex2jax configuration.
This ensures that we don't use $..$ delimiters, which gives bad results when $ is used as a currency sign. This depends on the current dev version of reveal.js.
This commit is contained in:
parent
1193c1a505
commit
d9f0b816e2
1 changed files with 12 additions and 0 deletions
|
@ -234,6 +234,18 @@ $if(mathjax)$
|
||||||
math: {
|
math: {
|
||||||
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
|
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
|
||||||
config: 'TeX-AMS_HTML-full',
|
config: 'TeX-AMS_HTML-full',
|
||||||
|
tex2jax: {
|
||||||
|
inlineMath: [['\\(','\\)']],
|
||||||
|
displayMath: [['\[','\]']],
|
||||||
|
balanceBraces: true,
|
||||||
|
processEscapes: false,
|
||||||
|
processRefs: true,
|
||||||
|
processEnvironments: true,
|
||||||
|
preview: 'TeX',
|
||||||
|
skipTags: ['script','noscript','style','textarea','pre','code'],
|
||||||
|
ignoreClass: 'tex2jax_ignore',
|
||||||
|
processClass: 'tex2jax_process'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue