Syntax#
\dfracm{a}math contentm{b}math contentArgspec m m — two mandatory arguments. Reading argspecs
Common tasks#
How to write a continued fraction with large pieces#
How to write a display fraction in a coefficient#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Rewrite the AMS display-style fraction command to frac.
\dfrac{#1}{#2} \frac{#1}{#2}Equivalent forms#
\genfrac{}{}{}{0}{#1}{#2}exactThis AMS mapping fixes the first four
\genfracparameters to empty delimiters, empty thickness, and style 0.{\displaystyle \frac{p}{q}}exact
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\dfrac{a}{b} | Positive · baseline | Pass | Pass | Pass |
\dfrac a{b} | Positive · bare[0] | Pass | Pass | Pass |
\dfrac{a}b | Positive · bare[1] | Pass | Pass | Pass |