Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\poissonbrackets*starm{}{a}math contentm{b}math contentArgspec s m{} m — one optional and two mandatory arguments. Reading argspecs
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Expands to#
\poissonbracket{f}{g} \left\{f,g\right\}With star: \{f,g\} without \left/\right. With optional \big, \Big, \bigg, or \Bigg prefix: uses corresponding \bigl\{...\bigr\} sizing.
See also#
\acommphysics\anticommutatorphysics\commphysics\commutatorphysics\pbphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\poissonbracket{a}{b} | Positive · baseline | Pass | Fail | Pass |
\poissonbracket*{a}{b} | Positive · vary:s[0] | Pass | Fail | Pass |
\poissonbracket{a}b | Positive · bare[2] | Pass | Fail | Pass |