When I write out $2 \operatorname{Re} z$, I get the expected output rendered, which is:
However, when I define the macro $\Re$ for it in MathJax as
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
...
TeX: {
Macros: {
Re: ["{\\operatorname{Re}{#1}}",1]
}
}
});
</script>
and write $2 \Re z$, the rendered output is
where the spacing after Re is rendered as expected, but the spacing before Re is not (i.e., the 2 is too close to the Re).
How do I get the expected spacing before the Re? (I don't expect this to be a MathJax issue; the config is included just in case.)


Reandzwhen I had those extra braces. Thanks! – rorty Nov 26 '19 at 04:38