mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 20:48:41 +00:00
Make large fractions actually work
Summary: Also, rename it to '\dfrac', because it's more like a display fraction Auditors: spicyj
This commit is contained in:
@@ -48,8 +48,8 @@ func
|
||||
{$$ = [{type: 'bin', value: yytext}];}
|
||||
| 'div'
|
||||
{$$ = [{type: 'bin', value: yytext}];}
|
||||
| 'frac' group group
|
||||
{$$ = [{type: 'frac', value: {numer: $2, denom: $3}}];}
|
||||
| 'dfrac' group group
|
||||
{$$ = [{type: 'dfrac', value: {numer: $2, denom: $3}}];}
|
||||
| 'lvert'
|
||||
{$$ = [{type: 'open', value: yytext}];}
|
||||
| 'rvert'
|
||||
|
Reference in New Issue
Block a user