2025-03-18 20:47:45 +08:00

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'},
};