Rewrite patterns#
- pdv-two-argument
\pdv{#1}{#2}\frac{\partial #1}{\partial #2} - pdv-operator
\pdv{#1}\frac{\partial}{\partial #1} - pdv-order
\pdv[#1]{#2}{#3}\frac{\partial^{#1} #2}{\partial #3^{#1}} - pdv-mixed-partial
\pdv{#1}{#2}{#3}\frac{\partial^{2} #1}{\partial #2 \partial #3} - pdv-star
\pdv*{#1}{#2}\flatfrac{\partial #1}{\partial #2}
Examples#
Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.
pdv embedded#
Rendering verified with the declared packages.
pdv operator form#
Rendering verified with the declared packages.
pdv second order#
Rendering verified with the declared packages.
pdv mixed partial#
Rendering verified with the declared packages.
pdv star flatfrac#
Rendering verified with the declared packages.
Related rules#
Upstream rules#
physics/partial-derivative-to-pdvCollapse long partial derivative names to the pdv command.
Same family#
physics/derivative-to-dvCollapse derivative to the compact dv command.physics/functional-derivative-to-fdvCollapse long functional derivative names to the fdv command.physics/partial-derivative-to-pdvCollapse long partial derivative names to the pdv command.physics/vectorarrow-to-vaCollapse vectorarrow to the short va helper.physics/vectorbold-to-vbCollapse vectorbold to the short vb helper.physics/vectorunit-to-vuCollapse vectorunit to the short vu helper.physics/dv-to-frac-dExpand dv forms to explicit d-based derivative fractions.physics/fdv-to-frac-deltaExpand fdv forms to explicit delta-based derivative fractions.physics/va-to-vec-mathbfCanonicalize va to an explicit vec-wrapped mathbf form.physics/vb-to-mathbfCanonicalize vb to an explicit mathbf wrapper.physics/vu-to-hat-mathbfCanonicalize vu to an explicit hat-wrapped mathbf form.
Notes#
Covers the two-argument partial derivative, one-argument operator form, optional [n] order, mixed partial third braced group, and star branch. For MathJax physics, a third braced group makes the numerator order depend on the number of denominator variables and ignores the optional [n] order; that combined form is intentionally not represented as a separate rewrite pattern here.
Disable this rule#
TransformEngine(profile="corpus", disable_rules=["physics/pdv-to-frac-partial"])new TransformEngine({ profile: 'corpus', disableRules: ['physics/pdv-to-frac-partial'] })