Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: Full | XeTeX: Full |
Syntax#
\divd<(,)><[,]><{,}>(a)optional math contentArgspec d<(,)><[,]><{,}> — one optional argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Expands to#
\div \vnabla\vdotIf followed by {...}, it expands to \vnabla\vdot \left\{ ... \right\} or \vnabla\vdot { ... } depending on fencing.
Equivalent forms#
\divergenceexactBoth names map to the same physics-package VectorOperator entry with operator
\\vnabla\\vdot.\vnabla\vdotapproximateThis produces the same operator tokens, but it does not include the helper's special handling for an immediately following ( or [.
See also#
\curlphysics\divergencephysics\divsymbol
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\div | Positive · baseline | Pass | Pass | Pass |
\div (a) | Positive · vary:d[0] | Pass | Pass | Pass |