CTAN Comprehensive TeX Archive Network

New on CTAN: physics-patch

Date: February 14, 2025 7:21:11 PM CET
Willie Shen submitted the physics-patch package. Version: 1.0 2025-02-13 License: lppl1.3c Summary description: Patches for the physics package, and integration of physics and siunitx packages Announcement text:
Patches for physics package and integration of physics and siunitx packages * Author: Willie Shen (Willie169) * Repository: https://github.com/Willie169/physics-patch * Latest version: 1.0 * Last update: Feb 13, 2025 The physics-patch package fixes issues in the physics package and improves compatibility between physics and siunitx. It provides improved versions of \qty, \dv, and \pdv and introduces new macros.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/physics-patch The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/physics-patch/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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

physics-patch – Patches for the physics package, and integration of physics and siunitx packages

This package requires the amsmath, etoolbox, xcolor, xparse, and xstring packages.

Commands that have different definitions come with PT in the beginning of their name (e.g. \PTmqty).

physics-patch has covered all commands in physics since version 2.0, so there's no need to load physics.

It is ok to load physics before this package. This package will silently overrides macros in physics with an improved version. To use the original version provided by physics, load physics before this package and use the nooverride option (not recommended).

This package pretends that physics package is loaded so that this package won't be overriden if loading physics is called afterward and packages loaded afterward that checks whether physics is loaded to determine its behavior (e.g. siunitx) work correctly. To disable this, use the nopretend option (not recommended).

If siuitx is loaded before this package, this package will define \ITquantity and \ITqty as the integration of the improved definition of physics's \qty (in \PHquantity and \PHqty) and siuitx's \SI. You can optionally set the siintegrate option to override \PTquantity and \PTqty with \ITqty (not recommended).

Packagephysics-patch
Version2.4 2025-02-17
MaintainerWillie Shen

Announcements

more

Guest Book Sitemap Contact Contact Author