From Newsgroup: comp.text.tex
Mingyu Xia submitted the
physics3
package.
Version number: 0.1A 2026-01-26
License type: lppl1.3c
Summary description: Modularized package for easy setting of physical formulas
Announcement text: ----------------------------------------------------------------------
- Apart from the legacy `physics` package, this package has solved the abuse of
tokens: in the legacy `physics` package, if one writes over 32767 (= 2^{15}-1) matrix commands (although nobody will do this, but itos a potential risk), then
the compiler will crash due to the limitation of memory. Also, the legacy `physics` package used a lot of `g`-argument in xparse of the LaTeX kernel, which is officially not suggested by the LaTeX team.
- This package also provides a simple way to typeset the inner product (norm) and outer product (projector) formulas: \bknorm[<size>, basis]{<operator>}, \kbproj[<size>]{<basis>}
- Different from another package, `physics2`, this package has optimized the matrix commands: a simple way for inputting a small diagonal matrix (based on the smallmatrix environment in `mathtools` package) is provided: \diagmat*{a, b, c}
The star (*) after the `\diagmat` command determines if the output matrix is small.
----------------------------------------------------------------------
This package is located at
https://mirrors.ctan.org/macros/latex/contrib/physics3
More information is at
https://www.ctan.org/pkg/physics3
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Erik Braun
------------------------------------------------------------------------
CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see
https://ctan.org/lugs
--- Synchronet 3.21b-Linux NewsLink 1.2