Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\bqtys*starm{}{a}math contentArgspec s m{} — one optional and one mandatory argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Expands to#
\bqty{#1} \left[ #1 \right]With a leading star, the reparsed form uses plain fences [ #1 ]; with an adjacent sizing control sequence \big, \Big, \bigg, or \Bigg before the brace, it reparses to the corresponding sized fence form.
Rewrite bqty to explicit bracket fences.
\bqty{#1} \left[ #1 \right]Equivalent forms#
\qty[#1]exactBoth forms use the same delimiter semantics;
\bqtypackages the brackets as a brace-taking command.
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\bqty{a} | Positive · baseline | Pass | Fail | Pass |
\bqty*{a} | Positive · vary:s[0] | Pass | Fail | Pass |