Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\ddo[a]optional math contentd<(,)><{,}>(b)optional math contentArgspec o d<(,)><{,}> — two optional arguments. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Equivalent forms#
\differentialexactMapped to the same Differential parse method with the same operator parameter.
\mathrm{d}^{#1} #2approximateApproximates the physics differential operator, ignoring spacing and operator wrapping
See also#
\differentialphysics\varphysics\variationphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\dd | Positive · baseline | Pass | Fail | Pass |
\dd[a] | Positive · vary:o[0] | Pass | Fail | Pass |
\dd (a) | Positive · vary:d[1] | Pass | Fail | Pass |
\dd[a](b) | Positive · maximal | Pass | Fail | Pass |
\dd\derivative\diffd\differential\dv\fderivative\fdv\flatfrac\functionalderivative\partialderivative\pderivative\pdv