Closed mhp77 closed 1 month ago
My worry here is that changing that spacing would affect other user's documents. What is the current status of xfrac
? It is in l3packages
, so presumably should be kept stable?
I can see the argument for 'stable' here, but other than the really solid parts of l3kernel
I think we have to accept that the code is still developing and so some change may happen. To me, this looks arguably like a bug: unlike the simple a/b
case the user cannot do much about the spacing for \sfrac{a}{b}
. I'm for 'make the change', but let's see if there are any other views.
Check with Morten
We removed collections a while ago: I'm therefore closing here.
With
\UseCollection{xfrac}{plainmath}
,$\sfrac{a}{\sin b}$
is equivalent to$a/\sin b$
. As a consequence,\sfrac
inherits the horizontal spacing problems related to the fact that TeX treats/
as an ordinary mathematical object (see this question on Stack Exchange).A nice solution to this issue is presented by Philippe Goutet in an answer to this question on Stack Exchange. In essence, he proposes replacing
/
with\delimiter"502F30E\mathopen{}
to enhance the horizontal spacing in split fractions.So what do you think about improving the
plainmath
version of\sfrac
to that effect?