Jean-François Burnol submitted the
texdimens
package.
Version: 0.9beta 2021-06-30 License: lppl1.3c
Summary description: Conversion of TeX dimensions to decimals
Announcement text: ----------------------------------------------------------------------
Utilities and documentation related to TeX dimensional units, usable both with Plain (input texdimens) and with LaTeX (usepackage{texdimens}).
This is a beta release which provides the following macros:
- exdiminbp{<dim. expr.>}: produces a decimal D such that the TeX dimension Dbp either matches exactly the input, if this is possible, else is either the closest match from above or from below (but one does not know which one). For the bp unit this means Dbp differs by at most 1sp from input.
- Eight similar macros exdimin<uu> where <uu> is one of nd, dd, mm, pc, nc, cc, cm, or in.
- exdiminpt{<dim. expr.>} is like LaTeX's strip@pt
Please refer to README.md for detailed and important usage information, and to the code comments for the underlying mathematics.
----------------------------------------------------------------------
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/texdimens
The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/generic/texdimens/
------------------------------------------------------------------------
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