Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\derivatives*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.
Collapse derivative to the compact dv command.
\derivative{#1}{#2} \dv{#1}{#2}Equivalent forms#
\dvexactPhysicsMappings registers both names to the same Derivative handler with argMax=2 and op='
\\diffd'.
See also#
\dvphysics\fderivativephysics\fdvphysics\functionalderivativephysics\partialderivativephysics\pderivativephysics\pdvphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\derivative{a} | Positive · baseline | Pass | Fail | Pass |
\derivative*{a} | Positive · vary:s[0] | Pass | Fail | Pass |
\derivative[a]{b} | Positive · vary:o[1] | Pass | Fail | Pass |
\derivative{a}{b} | Positive · vary:g[3] | Pass | Fail | Pass |
\derivative*[a]{b}{c} | Positive · maximal | Pass | Fail | Pass |
\derivative a | Positive · bare[2] | Pass | Fail | Pass |
\dd\derivative\diffd\differential\dv\fderivative\fdv\flatfrac\functionalderivative\partialderivative\pderivative\pdv