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