Page MenuHomePhabricator

\hat and \widehat look the same
Closed, ResolvedPublic

Description

They did in mathoid, and do also in texvcjs.

Screenshot 2025-11-04 at 10.47.41.png (1×3 px, 175 KB)

(mathoid rendering, same output in mathml mode but different layout in svg rendering)

Details

Event Timeline

Physikerwelt added a subscriber: Dginev.

They also do in latexml @Dginev

Screenshot 2025-11-04 at 10.50.51.png (1×3 px, 204 KB)

tmml has the same problem

Screenshot 2025-11-04 at 10.52.48.png (1×3 px, 213 KB)

maybe it's more of a font issue. Let't double check that the right mathml symbols are generated and ignore the font problems.

Seems to work

image.png (578×278 px, 29 KB)

We don't have the accent in

<mover accent="true">

Change #1262898 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Improve size of \vec and \hat rendering

https://gerrit.wikimedia.org/r/1262898

Change #1262898 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Improve size of \vec and \hat rendering

https://gerrit.wikimedia.org/r/1262898