This topic has 27 commands from the physics package. Commands show whether MathJax, KaTeX, and XeTeX render them. Entries are ordered by how often they appear in corpus formulas.
- Entries
- 27 commands
- Packages
- physics 27
- Full support
- MathJax 27/27 · KaTeX 0/27 · XeTeX 27/27
Entries#
| Name | Definition | Packages | MathJax | KaTeX | XeTeX | Frequency |
|---|---|---|---|---|---|---|
\admat | Used as a short alias for building an anti-diagonal matrix from a comma-separated list of entries, typically inside \mqty{...}. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\antidiagonalmatrix | Used to generate an anti-diagonal matrix from a comma-separated list of entries, typically inside \mqty{...} or related physics matrix macros. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\bmqty | Used as a square-bracketed matrix-quantity shorthand | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\diagonalmatrix | Used to generate a diagonal matrix from a comma-separated list of entries, typically inside \mqty{...} or related physics matrix macros. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\dmat | Used as a short alias for building a diagonal matrix from a comma-separated list of entries, typically inside \mqty{...}. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\identitymatrix | Generates the entries of an n×n identity matrix from a dimension argument, usually inside a matrix or array context or within other physics-package matrix macros. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\imat | Short alias for generating the entries of an n×n identity matrix from a dimension argument, typically inside a matrix or array context. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\matrixdeterminant | Used to denote a determinant by wrapping matrix contents in vertical bars | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\matrixquantity | Used to typeset matrix quantities in physics notation, optionally with parentheses, brackets, braces-as-input, or vertical bars around the matrix body. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\mdet | Used as a short alias for determinant notation around matrix contents | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\mqty | Used as the short physics-package command for matrix quantities, with optional parentheses, brackets, braces-as-input, or vertical bars around the matrix body. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\paulimatrix | Used in quantum mechanics and quantum computing to generate 2×2 Pauli matrices (σ_0, σ_x, σ_y, σ_z) within matrix environments | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\pmat | Shorthand for generating 2×2 Pauli matrices in quantum mechanics and quantum computing contexts within matrix environments | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\pmqty | Used as a parenthesized matrix-quantity shorthand | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\Pmqty | Used as a parenthesized matrix-quantity shorthand with the starred delimiter form | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\sbmqty | Used for small matrix quantities enclosed in square brackets | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\smallmatrixquantity | Used to typeset small or inline matrix quantities in physics notation, optionally with parentheses, brackets, braces-as-input, or vertical bars around the matrix body. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\smdet | Used for small determinant notation around compact matrix contents | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\smqty | Used as the short command for small or inline physics-package matrix quantities, with optional parentheses, brackets, braces-as-input, or vertical bars around the body. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\spmqty | Used as a compact parenthesized small-matrix shorthand | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\sPmqty | Used as a starred parenthesized small-matrix shorthand | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\svmqty | Used for small determinant-style matrix quantities enclosed by vertical bars | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\vmqty | Used for determinant-style matrix quantities enclosed by vertical bars | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\xmat | Short alias from the physics package for generating constant-entry matrices or indexed symbolic vectors/matrices without typing every cell manually, typically inside matrix-like environments. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\xmatrix | Physics-package shorthand for generating constant-entry matrices or indexed symbolic vectors/matrices without typing every cell manually, typically inside matrix-like environments. | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\zeromatrix | Used to generate all-zero matrix entries for given row and column counts, typically inside a matrix wrapper | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |
\zmat | Used as a short alias for generating an all-zero matrix of given dimensions, typically inside a matrix wrapper | physics | MathJax: Full | KaTeX: None | XeTeX: Full | — |