Page MenuHomePhabricator

\operatorname and \bmod don't space in the TeX to PNG renderer
Closed, ResolvedPublic

Description

Author: army1987

Description:
:<code><nowiki><math>a \sin \theta = a \operatorname{sin} \theta \,\!</math></nowiki></code>
produces
:<math>a \sin \theta = a \operatorname{sin} \theta \,\!</math>.

This way, <code>\operatorname</code> is useless, being essentially synonymous with <code>\mathrm</code>:
:<code><nowiki><math>a \mathrm{sin} \theta = a \operatorname{sin} \theta \,\!</math></nowiki></code>
:<math>a \mathrm{sin} \theta = a \operatorname{sin} \theta \,\!</math>.

For now, I use the workaround
:<code><nowiki><math>a \sin \theta = a\,\operatorname{sin}\,\theta \,\!</math></nowiki></code>
:<math>a \sin \theta = a\,\operatorname{sin}\,\theta \,\!</math>.
:<code><nowiki><math>\phi = \operatorname{artanh}\,\beta \,\!</math></nowiki></code>
:<math>\phi = \operatorname{artanh}\,\beta \,\!</math> (notice the <code>\,</code>s).

<code>\bmod</code> has the same problem:
:<code><nowiki><math>n \bmod 2 \qquad n\,\bmod\,2 \,\!</math></nowiki></code>
:<math>n \bmod 2 \qquad n\,\bmod\,2 \,\!</math>.


Version: unspecified
Severity: trivial
URL: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#.5Coperatorname_and_.5Cbmod_don.27t_space...

Details

Reference
bz14825

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:15 PM
bzimport added a project: Math.
bzimport set Reference to bz14825.
bzimport added a subscriber: Unknown Object (MLST).

nmichalo wrote:

This seems to be the same bug as Bug 18912 to me.

nmichalo wrote:

*** This bug has been marked as a duplicate of bug 18912 ***