Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\pbs*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#
\pb{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.
Expand poisson brackets to explicit brace fences.
\pb{#1}{#2} \left\{#1,#2\right\}Equivalent forms#
\poissonbracket{f}{g}exact
See also#
\acommphysics\anticommutatorphysics\commphysics\commutatorphysics\poissonbracketphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\pb{a}{b} | Positive · baseline | Pass | Fail | Pass |
\pb*{a}{b} | Positive · vary:s[0] | Pass | Fail | Pass |
\pb{a}b | Positive · bare[2] | Pass | Fail | Pass |