ronkok/Temml

`\mathpunct{}` and `\mathrel{}` and `\mathop{}` have zero width

hbghlyj opened this issue · 3 comments

In Temml, the three lines are the same

image

In LaTeX
\documentclass{article}
\begin{document}
$\begin{array}{l}
ab
\\
a\mathpunct{}b
\\
a\mathrel{}b
\end{array}$
\end{document}
The three lines are different:   

Also, \mathop{} appear on page 5 of a paper on TUGboat

By the way, how to input the symbol in such
a way that the convention can be changed at will?
The simplest and more effective way is to define
\newcommand{\diff}{\mathop{}\!d}

but in Temml \mathop{} seems to have zero width.

ronkok commented

@hbghlyj, I have not been able to reproduce your first problem. This demo page example does have a variation in spacing, just like LaTeX.

With regard to your second problem, I agree that Temml is rendering \mathop with the wrong spacing. I'll look into it.

@hbghlyj, I have not been able to reproduce your first problem. This demo page example does have a variation in spacing, just like LaTeX.

Thanks, I find that it is only a issue of Firefox. It works in Chrome.

Firefox version 121.0

I have reported in BugZilla

ronkok commented

Fixed the \mathop{} with release v0.10.20.