# physics

LaTeX commands, environments, and symbols in the physics package.

https://texform.dev/latex/packages/physics

## Commands

| Name | Signature | Mode | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- | --- |
| [\\Pr](https://texform.dev/latex/commands/Pr) | d<(,)><[,]><{,}> | math | full | full | full |
| [\\arccos](https://texform.dev/latex/commands/arccos) | o d() | math | full | full | full |
| [\\arcsin](https://texform.dev/latex/commands/arcsin) | o d() | math | full | full | full |
| [\\arctan](https://texform.dev/latex/commands/arctan) | o d() | math | full | full | full |
| [\\cos](https://texform.dev/latex/commands/cos) | o d() | math | full | full | full |
| [\\cosh](https://texform.dev/latex/commands/cosh) | o d() | math | full | full | full |
| [\\cot](https://texform.dev/latex/commands/cot) | o d() | math | full | full | full |
| [\\coth](https://texform.dev/latex/commands/coth) | o d() | math | full | full | full |
| [\\csc](https://texform.dev/latex/commands/csc) | o d() | math | full | full | full |
| [\\det](https://texform.dev/latex/commands/det) | d<(,)><[,]><{,}> | math | full | full | full |
| [\\exp](https://texform.dev/latex/commands/exp) | d<(,)><[,]><{,}> | math | full | full | full |
| [\\ln](https://texform.dev/latex/commands/ln) | o d() | math | full | full | full |
| [\\log](https://texform.dev/latex/commands/log) | o d() | math | full | full | full |
| [\\sec](https://texform.dev/latex/commands/sec) | o d() | math | full | full | full |
| [\\sin](https://texform.dev/latex/commands/sin) | o d() | math | full | full | full |
| [\\sinh](https://texform.dev/latex/commands/sinh) | o d() | math | full | full | full |
| [\\tan](https://texform.dev/latex/commands/tan) | o d() | math | full | full | full |
| [\\tanh](https://texform.dev/latex/commands/tanh) | o d() | math | full | full | full |
| [\\bra](https://texform.dev/latex/commands/bra) | s m | math | full | full | full |
| [\\braket](https://texform.dev/latex/commands/braket) | s m g | math | full | full | full |
| [\\ket](https://texform.dev/latex/commands/ket) | s m | math | full | full | full |
| [\\ketbra](https://texform.dev/latex/commands/ketbra) | s m g | math | full | none | full |
| [\\Bqty](https://texform.dev/latex/commands/Bqty) | s m{} | math | full | none | full |
| [\\Im](https://texform.dev/latex/commands/Im) | d<{,}> | math | full | full | full |
| [\\PV](https://texform.dev/latex/commands/PV) |  | math | full | none | full |
| [\\Pmqty](https://texform.dev/latex/commands/Pmqty) | m | math | full | none | full |
| [\\Probability](https://texform.dev/latex/commands/Probability) |  | math | full | none | full |
| [\\Re](https://texform.dev/latex/commands/Re) | d<{,}> | math | full | full | full |
| [\\Res](https://texform.dev/latex/commands/Res) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\Residue](https://texform.dev/latex/commands/Residue) |  | math | full | none | full |
| [\\Tr](https://texform.dev/latex/commands/Tr) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\Trace](https://texform.dev/latex/commands/Trace) |  | math | full | none | full |
| [\\abs](https://texform.dev/latex/commands/abs) | s m{} | math | full | none | full |
| [\\absolutevalue](https://texform.dev/latex/commands/absolutevalue) | s m{} | math | full | none | full |
| [\\acomm](https://texform.dev/latex/commands/acomm) | s m{} m | math | full | none | full |
| [\\acos](https://texform.dev/latex/commands/acos) | o d() | math | full | none | full |
| [\\acosecant](https://texform.dev/latex/commands/acosecant) |  | math | full | none | full |
| [\\acosine](https://texform.dev/latex/commands/acosine) |  | math | full | none | full |
| [\\acot](https://texform.dev/latex/commands/acot) | o d() | math | full | none | full |
| [\\acotangent](https://texform.dev/latex/commands/acotangent) |  | math | full | none | full |
| [\\acsc](https://texform.dev/latex/commands/acsc) | o d() | math | full | none | full |
| [\\admat](https://texform.dev/latex/commands/admat) | g | math | full | none | full |
| [\\anticommutator](https://texform.dev/latex/commands/anticommutator) | s m{} m | math | full | none | full |
| [\\antidiagonalmatrix](https://texform.dev/latex/commands/antidiagonalmatrix) | g | math | full | none | full |
| [\\arccosecant](https://texform.dev/latex/commands/arccosecant) |  | math | full | none | full |
| [\\arccosine](https://texform.dev/latex/commands/arccosine) |  | math | full | none | full |
| [\\arccot](https://texform.dev/latex/commands/arccot) | o d() | math | full | none | full |
| [\\arccotangent](https://texform.dev/latex/commands/arccotangent) |  | math | full | none | full |
| [\\arccsc](https://texform.dev/latex/commands/arccsc) | o d() | math | full | none | full |
| [\\arcsec](https://texform.dev/latex/commands/arcsec) | o d() | math | full | none | full |
| [\\arcsecant](https://texform.dev/latex/commands/arcsecant) |  | math | full | none | full |
| [\\arcsine](https://texform.dev/latex/commands/arcsine) |  | math | full | none | full |
| [\\arctangent](https://texform.dev/latex/commands/arctangent) |  | math | full | none | full |
| [\\asec](https://texform.dev/latex/commands/asec) | o d() | math | full | none | full |
| [\\asecant](https://texform.dev/latex/commands/asecant) |  | math | full | none | full |
| [\\asin](https://texform.dev/latex/commands/asin) | o d() | math | full | none | full |
| [\\asine](https://texform.dev/latex/commands/asine) |  | math | full | none | full |
| [\\atan](https://texform.dev/latex/commands/atan) | o d() | math | full | none | full |
| [\\atangent](https://texform.dev/latex/commands/atangent) |  | math | full | none | full |
| [\\bmqty](https://texform.dev/latex/commands/bmqty) | m | math | full | none | full |
| [\\bqty](https://texform.dev/latex/commands/bqty) | s m{} | math | full | none | full |
| [\\comm](https://texform.dev/latex/commands/comm) | s m{} m | math | full | none | full |
| [\\commutator](https://texform.dev/latex/commands/commutator) | s m{} m | math | full | none | full |
| [\\cosecant](https://texform.dev/latex/commands/cosecant) |  | math | full | none | full |
| [\\cosine](https://texform.dev/latex/commands/cosine) |  | math | full | none | full |
| [\\cotangent](https://texform.dev/latex/commands/cotangent) |  | math | full | none | full |
| [\\csch](https://texform.dev/latex/commands/csch) | o d() | math | full | none | full |
| [\\curl](https://texform.dev/latex/commands/curl) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\dd](https://texform.dev/latex/commands/dd) | o d<(,)><{,}> | math | full | none | full |
| [\\derivative](https://texform.dev/latex/commands/derivative) | s o m g | math | full | none | full |
| [\\determinant](https://texform.dev/latex/commands/determinant) |  | math | full | none | full |
| [\\diagonalmatrix](https://texform.dev/latex/commands/diagonalmatrix) | g | math | full | none | full |
| [\\diffd](https://texform.dev/latex/commands/diffd) |  | math | full | none | full |
| [\\differential](https://texform.dev/latex/commands/differential) | o d<(,)><{,}> | math | full | none | full |
| [\\div](https://texform.dev/latex/commands/div) | d<(,)><[,]><{,}> | math | full | full | full |
| [\\divergence](https://texform.dev/latex/commands/divergence) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\dmat](https://texform.dev/latex/commands/dmat) | g | math | full | none | full |
| [\\dv](https://texform.dev/latex/commands/dv) | s o m g | math | full | none | full |
| [\\dyad](https://texform.dev/latex/commands/dyad) | s m g | math | full | none | full |
| [\\erf](https://texform.dev/latex/commands/erf) |  | math | full | none | full |
| [\\ev](https://texform.dev/latex/commands/ev) | s s m g | math | full | none | full |
| [\\eval](https://texform.dev/latex/commands/eval) | s d<(,\|><[,\|><{,}> | math | full | none | full |
| [\\evaluated](https://texform.dev/latex/commands/evaluated) | s d<(,\|><[,\|><{,}> | math | full | none | full |
| [\\expectationvalue](https://texform.dev/latex/commands/expectationvalue) | s s m g | math | full | none | full |
| [\\exponential](https://texform.dev/latex/commands/exponential) |  | math | full | none | full |
| [\\expval](https://texform.dev/latex/commands/expval) | s s m g | math | full | none | full |
| [\\fderivative](https://texform.dev/latex/commands/fderivative) | s o m g | math | full | none | full |
| [\\fdv](https://texform.dev/latex/commands/fdv) | s o m g | math | full | none | full |
| [\\flatfrac](https://texform.dev/latex/commands/flatfrac) | m m | math | full | none | full |
| [\\functionalderivative](https://texform.dev/latex/commands/functionalderivative) | s o m g | math | full | none | full |
| [\\grad](https://texform.dev/latex/commands/grad) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\gradient](https://texform.dev/latex/commands/gradient) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\hypcosecant](https://texform.dev/latex/commands/hypcosecant) |  | math | full | none | full |
| [\\hypcosine](https://texform.dev/latex/commands/hypcosine) |  | math | full | none | full |
| [\\hypcotangent](https://texform.dev/latex/commands/hypcotangent) |  | math | full | none | full |
| [\\hypsecant](https://texform.dev/latex/commands/hypsecant) |  | math | full | none | full |
| [\\hypsine](https://texform.dev/latex/commands/hypsine) |  | math | full | none | full |
| [\\hyptangent](https://texform.dev/latex/commands/hyptangent) |  | math | full | none | full |
| [\\identitymatrix](https://texform.dev/latex/commands/identitymatrix) | m:I | math | full | none | full |
| [\\imat](https://texform.dev/latex/commands/imat) | m:I | math | full | none | full |
| [\\innerproduct](https://texform.dev/latex/commands/innerproduct) | s m g | math | full | none | full |
| [\\ip](https://texform.dev/latex/commands/ip) | s m g | math | full | none | full |
| [\\laplacian](https://texform.dev/latex/commands/laplacian) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\logarithm](https://texform.dev/latex/commands/logarithm) |  | math | full | none | full |
| [\\matrixdeterminant](https://texform.dev/latex/commands/matrixdeterminant) | m | math | full | none | full |
| [\\matrixel](https://texform.dev/latex/commands/matrixel) | s s m m m | math | full | none | full |
| [\\matrixelement](https://texform.dev/latex/commands/matrixelement) | s s m m m | math | full | none | full |
| [\\matrixquantity](https://texform.dev/latex/commands/matrixquantity) | s d<(,)><[,]><{,}><\|,\|> | math | full | none | full |
| [\\mdet](https://texform.dev/latex/commands/mdet) | m | math | full | none | full |
| [\\mel](https://texform.dev/latex/commands/mel) | s s m m m | math | full | none | full |
| [\\mqty](https://texform.dev/latex/commands/mqty) | s d<(,)><[,]><{,}><\|,\|> | math | full | none | full |
| [\\naturallogarithm](https://texform.dev/latex/commands/naturallogarithm) |  | math | full | none | full |
| [\\norm](https://texform.dev/latex/commands/norm) | s m{} | math | full | none | full |
| [\\op](https://texform.dev/latex/commands/op) | s m g | math | full | none | full |
| [\\order](https://texform.dev/latex/commands/order) | s m{} | math | full | none | full |
| [\\outerproduct](https://texform.dev/latex/commands/outerproduct) | s m g | math | full | none | full |
| [\\partialderivative](https://texform.dev/latex/commands/partialderivative) | s o m g g | math | full | none | full |
| [\\paulimatrix](https://texform.dev/latex/commands/paulimatrix) | m | math | full | none | full |
| [\\pb](https://texform.dev/latex/commands/pb) | s m{} m | math | full | none | full |
| [\\pderivative](https://texform.dev/latex/commands/pderivative) | s o m g g | math | full | none | full |
| [\\pdv](https://texform.dev/latex/commands/pdv) | s o m g g | math | full | none | full |
| [\\pmat](https://texform.dev/latex/commands/pmat) | m | math | full | none | full |
| [\\pmqty](https://texform.dev/latex/commands/pmqty) | m | math | full | none | full |
| [\\poissonbracket](https://texform.dev/latex/commands/poissonbracket) | s m{} m | math | full | none | full |
| [\\pqty](https://texform.dev/latex/commands/pqty) | s m{} | math | full | none | full |
| [\\principalvalue](https://texform.dev/latex/commands/principalvalue) |  | math | full | none | full |
| [\\pv](https://texform.dev/latex/commands/pv) |  | math | full | none | full |
| [\\qall](https://texform.dev/latex/commands/qall) | s | math | full | none | full |
| [\\qand](https://texform.dev/latex/commands/qand) | s | math | full | none | full |
| [\\qas](https://texform.dev/latex/commands/qas) | s | math | full | none | full |
| [\\qassume](https://texform.dev/latex/commands/qassume) | s | math | full | none | full |
| [\\qc](https://texform.dev/latex/commands/qc) |  | math | full | none | full |
| [\\qcc](https://texform.dev/latex/commands/qcc) | s | math | full | none | full |
| [\\qcomma](https://texform.dev/latex/commands/qcomma) |  | math | full | none | full |
| [\\qelse](https://texform.dev/latex/commands/qelse) | s | math | full | none | full |
| [\\qeven](https://texform.dev/latex/commands/qeven) | s | math | full | none | full |
| [\\qfor](https://texform.dev/latex/commands/qfor) | s | math | full | none | full |
| [\\qgiven](https://texform.dev/latex/commands/qgiven) | s | math | full | none | full |
| [\\qif](https://texform.dev/latex/commands/qif) | s | math | full | none | full |
| [\\qin](https://texform.dev/latex/commands/qin) | s | math | full | none | full |
| [\\qinteger](https://texform.dev/latex/commands/qinteger) | s | math | full | none | full |
| [\\qlet](https://texform.dev/latex/commands/qlet) | s | math | full | none | full |
| [\\qodd](https://texform.dev/latex/commands/qodd) | s | math | full | none | full |
| [\\qor](https://texform.dev/latex/commands/qor) | s | math | full | none | full |
| [\\qotherwise](https://texform.dev/latex/commands/qotherwise) | s | math | full | none | full |
| [\\qq](https://texform.dev/latex/commands/qq) | s m:T | math | full | none | full |
| [\\qqtext](https://texform.dev/latex/commands/qqtext) | s m:T | math | full | none | full |
| [\\qsince](https://texform.dev/latex/commands/qsince) | s | math | full | none | full |
| [\\qthen](https://texform.dev/latex/commands/qthen) | s | math | full | none | full |
| [\\qty](https://texform.dev/latex/commands/qty) | d<(,)><[,]><{,}><\|,\|> | math | full | none | full |
| [\\quantity](https://texform.dev/latex/commands/quantity) | d<(,)><[,]><{,}><\|,\|> | math | full | none | full |
| [\\qunless](https://texform.dev/latex/commands/qunless) | s | math | full | none | full |
| [\\qusing](https://texform.dev/latex/commands/qusing) | s | math | full | none | full |
| [\\rank](https://texform.dev/latex/commands/rank) |  | math | full | none | full |
| [\\sPmqty](https://texform.dev/latex/commands/sPmqty) | m | math | full | none | full |
| [\\sbmqty](https://texform.dev/latex/commands/sbmqty) | m | math | full | none | full |
| [\\secant](https://texform.dev/latex/commands/secant) |  | math | full | none | full |
| [\\sech](https://texform.dev/latex/commands/sech) | o d() | math | full | none | full |
| [\\sine](https://texform.dev/latex/commands/sine) |  | math | full | none | full |
| [\\smallmatrixquantity](https://texform.dev/latex/commands/smallmatrixquantity) | s d<(,)><[,]><{,}><\|,\|> | math | full | none | full |
| [\\smdet](https://texform.dev/latex/commands/smdet) | m | math | full | none | full |
| [\\smqty](https://texform.dev/latex/commands/smqty) | s d<(,)><[,]><{,}><\|,\|> | math | full | none | full |
| [\\spmqty](https://texform.dev/latex/commands/spmqty) | m | math | full | none | full |
| [\\svmqty](https://texform.dev/latex/commands/svmqty) | m | math | full | none | full |
| [\\tangent](https://texform.dev/latex/commands/tangent) |  | math | full | none | full |
| [\\tr](https://texform.dev/latex/commands/tr) | d<(,)><[,]><{,}> | math | full | none | full |
| [\\trace](https://texform.dev/latex/commands/trace) |  | math | full | none | full |
| [\\va](https://texform.dev/latex/commands/va) | s m | math | full | none | full |
| [\\var](https://texform.dev/latex/commands/var) | o d<(,)><{,}> | math | full | none | full |
| [\\variation](https://texform.dev/latex/commands/variation) | o d<(,)><{,}> | math | full | none | full |
| [\\vb](https://texform.dev/latex/commands/vb) | s m | math | full | none | full |
| [\\vectorarrow](https://texform.dev/latex/commands/vectorarrow) | s m | math | full | none | full |
| [\\vectorbold](https://texform.dev/latex/commands/vectorbold) | s m | math | full | none | full |
| [\\vectorunit](https://texform.dev/latex/commands/vectorunit) | s m | math | full | none | full |
| [\\vmqty](https://texform.dev/latex/commands/vmqty) | m | math | full | none | full |
| [\\vnabla](https://texform.dev/latex/commands/vnabla) |  | math | full | none | full |
| [\\vqty](https://texform.dev/latex/commands/vqty) | s m{} | math | full | none | full |
| [\\vu](https://texform.dev/latex/commands/vu) | s m | math | full | none | full |
| [\\xmat](https://texform.dev/latex/commands/xmat) | s m m:I m:I | math | full | none | full |
| [\\xmatrix](https://texform.dev/latex/commands/xmatrix) | s m m:I m:I | math | full | none | full |
| [\\zeromatrix](https://texform.dev/latex/commands/zeromatrix) | m:I m:I | math | full | none | full |
| [\\zmat](https://texform.dev/latex/commands/zmat) | m:I m:I | math | full | none | full |

## Environments

| Name | Signature | Mode | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- | --- |
| [smallmatrix](https://texform.dev/latex/environments/smallmatrix) |  | math | full | full | full |

## Symbols

- [\\cp](https://texform.dev/latex/symbols/cp)
- [\\cross](https://texform.dev/latex/symbols/cross)
- [\\crossproduct](https://texform.dev/latex/symbols/crossproduct)
- [\\divisionsymbol](https://texform.dev/latex/symbols/divisionsymbol)
- [\\divsymbol](https://texform.dev/latex/symbols/divsymbol)
- [\\dotproduct](https://texform.dev/latex/symbols/dotproduct)
- [\\gradientnabla](https://texform.dev/latex/symbols/gradientnabla)
- [\\imaginary](https://texform.dev/latex/symbols/imaginary)
- [\\real](https://texform.dev/latex/symbols/real)
- [\\vdot](https://texform.dev/latex/symbols/vdot)

## Renderer support

| Renderer | Full | Partial | None |
| --- | --- | --- | --- |
| mathjax | 183 | 0 | 0 |
| katex | 25 | 0 | 158 |
| xetex | 183 | 0 | 0 |
