Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\dvs*staro[a]optional math contentm{b}math contentg{c}optional math contentArgspec s o m g — three optional and one mandatory argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Expand dv forms to explicit d-based derivative fractions.
\dv{#1}{#2} \frac{\mathrm{d} #1}{\mathrm{d} #2}Equivalent forms#
\derivativeexactPhysicsMappings registers both names to the same Derivative handler with argMax=2 and op='
\\diffd'.
See also#
\derivativephysics\fderivativephysics\fdvphysics\functionalderivativephysics\partialderivativephysics\pderivativephysics\pdvphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\dv{a} | Positive · baseline | Pass | Fail | Pass |
\dv*{a} | Positive · vary:s[0] | Pass | Fail | Pass |
\dv[a]{b} | Positive · vary:o[1] | Pass | Fail | Pass |
\dv{a}{b} | Positive · vary:g[3] | Pass | Fail | Pass |
\dv*[a]{b}{c} | Positive · maximal | Pass | Fail | Pass |
\dv a | Positive · bare[2] | Pass | Fail | Pass |
\dd\derivative\diffd\differential\dv\fderivative\fdv\flatfrac\functionalderivative\partialderivative\pderivative\pdv