Mathjax3 does not support the syntax for '//' line breaks
Created by: CyNotes
Issue Summary
The MathJAX3 upgrade does not support the syntax for '//' line breaks, so we have to use things like $\displaylines{x = A + B \\ y = b + c}$
to wrap lines, which is not very nice to us. Is there any way to configure MathJAX3 to support '//'?
Technical details:
- MathJax Version: 3.2
- Client OS: (e.g., Mac OS X 10.8.4)
- Browser: (e.g., Chrome 29.0.1547.57)
I am using the following MathJax configuration:
MathJax = {
tex: {
inlineMath: [['$', '$']], // inlineMath: [['$', '$'], ['\\(', '\\)']], // 行内公式选择符
displayMath: [['$\begin', '\end$'], ['\\[\begin', '\end\\]']],
processEscapes: true,
processEnvironments: false,
packages: ['base', 'ams', 'noerrors', 'noundefined', 'cancel', 'color', 'bbox', 'mhchem']
},
options: {
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code', 'a'],
ignoreHtmlClass: 'comment-content'
},
loader: {
load: ['[tex]/ams', '[tex]/noerrors', '[tex]/noundefined', '[tex]/cancel', '[tex]/color', '[tex]/bbox', '[tex]/mhchem']
}
};
and loading MathJax via
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
Supporting information:
Is there any syntax other than '//' that is not supported after upgrading to MathJAX3? Or can you give me a copy of the latex syntax table supported by MathJax? Thank you!