Katex: \dfrac and \cfrac are rendered too big inside \xrightarrow

Created on 4 Jan 2019  路  1Comment  路  Source: KaTeX/KaTeX

\dfrac a b
\xrightarrow [2.\, \dfrac c d]
             {1.\, \displaystyle\frac c d}
\xrightarrow [4.\, \normalsize \dfrac c d]
             {3.\,\Large \displaystyle\frac c d}
{ \displaystyle \frac e f }

yields
image
even in the display mode.

2.\, \dfrac c d is rendered like \Large applied. (2. and 3. have the same size, and \normalsize in 4. restore that.)

bug

Most helpful comment

@fennecf0x Thank you for reporting this bug. I see where the problem occurs and I should be able to write up a PR tomorrow that will fix the problem.

>All comments

@fennecf0x Thank you for reporting this bug. I see where the problem occurs and I should be able to write up a PR tomorrow that will fix the problem.

Was this page helpful?
0 / 5 - 0 ratings