Syntax#
\cfraco:N[\cs]optional control sequencem{a}math contentm{b}math contentArgspec o:N m m — one optional and two mandatory arguments. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Drop continued-fraction styling from centered AMS cfrac forms.
\cfrac{#1}{#2} \frac{#1}{#2}Equivalent forms#
\frac{#2}{#3}approximate\cfracadds struts and adjusts textstyle spacing appropriate for continued fractions, while\fracobeys the current surrounding style
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\cfrac{a}{b} | Positive · ctx:basic | Pass | Pass | Pass |
\cfrac[l]{a}{b} | Positive · ctx:align-left | Pass | Pass | Pass |
\cfrac[r]{a}{b} | Positive · ctx:align-right | Pass | Pass | Pass |