CTAN Comprehensive TeX Archive Network

New on CTAN: physics3

Date: January 28, 2026 5:29:26 PM CET
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 it’s 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

physics3 – Modularized package for easy setting of physical formulas

This package defines commands for typesetting math formulae faster and more simply. physics3 is a modularized package, that currently provides modules for:

  • Automatic braces
  • Dirac bra-ket notation
  • Easy way to typeset diagonal matrices and matrices with similar entries
  • Double cross and double dot (binary) operators for tensors

Packagephysics3
Version0.1A 2026-01-26
Copyright2026 Mingyu Xia
MaintainerMingyu Xia

Announcements

more

Guest Book Sitemap Contact Contact Author