Wrong spacing after `\right`
Issue Summary
There should be some extra spacing before and after \left(\right)
, but MathJax only implemented the desired spacing before \left
, instead of both that before \left
and that after \right
.
$$a\left(b\right)c$$
$$a(b)c$$
This is the result rendered by MathJax:
This is the result rendered by LaTeX:
As can be seen, the spacing between ")" and "c" are different in the two results.
Steps to Reproduce:
Technical details:
- MathJax Version: 3.2
- Client OS: Ubuntu 20.04
- Browser: Chrome 110.0.5481.177
I am using the following MathJax configuration:
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
processEscapes: true,
tags: 'ams',
packages: {'[+]': ['ams', 'autoload']}
},
loader: {load: ['[tex]/ams', '[tex]/autoload']}
};
and loading MathJax via
<script id="MathJax-script" async src="https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>