New on CTAN: physics3

CTAN Announcements via ctan-ann via ctan-ann <[email protected]>
Newsgroups gmane.comp.tex.ctan.announce
Organization CTAN
Message-ID <[email protected]>
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
_______________________________________________
ctan-ann mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.