34 lines
713 B
JavaScript
34 lines
713 B
JavaScript
---
|
|
layout: compress
|
|
# WARNING: Don't use '//' to comment out code, use '{% comment %}' and '{% endcomment %}' instead.
|
|
---
|
|
|
|
{%- comment -%}
|
|
See: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options>
|
|
{%- endcomment -%}
|
|
|
|
MathJax = {
|
|
loader: { load: ['[tex]/physics','ui/lazy',] },
|
|
tex: {
|
|
inlineMath: [
|
|
['$', '$'],
|
|
['\\(', '\\)']
|
|
],
|
|
displayMath: [
|
|
['$$', '$$'],
|
|
['\\[', '\\]']
|
|
],
|
|
packages: {'[+]': ['physics']},
|
|
tags: 'ams',
|
|
macros: {
|
|
'e': '\\mathrm{e}',
|
|
'RR': '\\mathbb{R}',
|
|
'ZZ': '\\mathbb{Z}',
|
|
'QQ': '\\mathbb{Q}',
|
|
},
|
|
}
|
|
options: {
|
|
lazyMargin: '200px',
|
|
},
|
|
svg: { fontCache: 'global'},
|
|
}; |