Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\curld<(,)><[,]><{,}>(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#
\curl \vnabla\crossproductIf followed by {...}, it expands to \vnabla\crossproduct \left\{ ... \right\} or \vnabla\crossproduct { ... } depending on fencing.
Equivalent forms#
\vnabla\crossproductapproximateThis produces the same operator tokens, but it does not include the helper's special handling for an immediately following ( or [.
\nabla\timesapproximateClose notational equivalent; the physics package uses its own vector nabla/cross-product tokens and also provides auto-open handling for following ( or [.
See also#
\divphysics\divergencephysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\curl | Positive · baseline | Pass | Fail | Pass |
\curl (a) | Positive · vary:d[0] | Pass | Fail | Pass |