123456789101112131415161718192021222324252627 |
- // mathJax全局配置文件
- window.MathJax = {
- tex: {
- inlineMath: [
- ['$', '$'],
- ['(', ')'],
- ], // 行内公式选择符
- displayMath: [
- ['$$', '$$'],
- ['[', ']'],
- ], // 段内公式选择符
- },
- // 使用 chtml 渲染器
- chtml: {
- displayAlign: 'center', // 左对齐
- displayIndent: '0', // 不缩进
- scale: 1, // 缩放比例
- minScaleAdjust: 50, // 最小缩放比例
- exFactor: 2, // 行高因子
- linebreaks: true, // 自动换行
- },
- startup: {
- ready() {
- window.MathJax.startup.defaultReady();
- },
- },
- };
|