Rewrite patterns#
- dv-two-argument
\dv{#1}{#2}\frac{\mathrm{d} #1}{\mathrm{d} #2} - dv-operator
\dv{#1}\frac{\mathrm{d}}{\mathrm{d} #1} - dv-order
\dv[#1]{#2}{#3}\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}} - dv-star
\dv*{#1}{#2}\flatfrac{\mathrm{d} #1}{\mathrm{d} #2}
Examples#
Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.
dv kinematics#
Rendering verified with the declared packages.
dv operator form#
Rendering verified with the declared packages.
dv second order#
Rendering verified with the declared packages.
dv star flatfrac#
Rendering verified with the declared packages.
Related rules#
Upstream rules#
physics/derivative-to-dvCollapse derivative to the compact dv 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/fdv-to-frac-deltaExpand fdv forms to explicit delta-based derivative fractions.physics/pdv-to-frac-partialExpand pdv forms to explicit partial-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 derivative, one-argument operator form, optional [n] order, and star branch. The star branch follows MathJax physics by expanding to \flatfrac rather than \frac.
Disable this rule#
TransformEngine(profile="corpus", disable_rules=["physics/dv-to-frac-d"])new TransformEngine({ profile: 'corpus', disableRules: ['physics/dv-to-frac-d'] })