# Description

For $A \xrightarrow{b} C$ the horizontal spacing is too tight.
Expected: The spacing should match that of $A \to C$.
You can compare with https://www.mathjax.org/#demo. Enter $A \xrightarrow{b} C\\A \to C$ to see the expected rendering.

# Related ObjectsSearch...

ResolvedNone
ResolvedPhysikerwelt

### Event Timeline

Restricted Application added a subscriber: Aklapper. Jan 16 2018, 7:27 PM

This is a texvc issue.

The input A \xrightarrow{b} C is converted into A{\xrightarrow {b}}C for which the tight spacing is the expected behavior.

Pkra moved this task from Inbox to texvc on the Math board.
Physikerwelt triaged this task as Medium priority.
Physikerwelt moved this task from Backlog to Needs discussion or investigation on the Texvcjs board.

This was simple to fix
https://github.com/wikimedia/texvcjs/pull/38/files?diff=split&w=1

This is a texvc issue.

The input A \xrightarrow{b} C is converted into A{\xrightarrow {b}}C for which the tight spacing is the expected behavior.

thereafter
A \xrightarrow{b} C becomes A\xrightarrow {b} C

Physikerwelt set the point value for this task to 1.

https://github.com/wikimedia/texvcjs/pull/38/files?diff=split&w=1 here two lines were moved, tests adjusted and cleanup T246011. However, to understand how LaTeX computes the spacing requires more studing maybe cf. e.g., http://mirror.physik-pool.tu-berlin.de/pub/CTAN/info/lshort/english/lshort.pdf section 3.7 for a start.