Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\pdvs*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#
\pdv{#1}{#2} \frac{\partial #1}{\partial #2}Internal reparse. Star uses \flatfrac. Single argument expands to \frac{\partial}{\partial #1}.
Expand pdv forms to explicit partial-derivative fractions.
\pdv{#1}{#2} \frac{\partial #1}{\partial #2}Equivalent forms#
\partialderivativeexactPhysicsMappings registers all three names to the same Derivative handler with argMax=3 and op='
\\partial'.\pderivativeexactPhysicsMappings registers all three names to the same Derivative handler with argMax=3 and op='
\\partial'.
See also#
\derivativephysics\dvphysics\fderivativephysics\fdvphysics\functionalderivativephysics\partialderivativephysics\pderivativephysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\pdv{a} | Positive · baseline | Pass | Fail | Pass |
\pdv*{a} | Positive · vary:s[0] | Pass | Fail | Pass |
\pdv[a]{b} | Positive · vary:o[1] | Pass | Fail | Pass |
\pdv{a}{b} | Positive · vary:g[3] | Pass | Fail | Pass |
\pdv*[a]{b}{c}{d} | Positive · maximal | Pass | Fail | Pass |
\pdv a | Positive · bare[2] | Pass | Fail | Pass |
\dd\derivative\diffd\differential\dv\fderivative\fdv\flatfrac\functionalderivative\partialderivative\pderivative\pdv