New on CTAN: texdimens
Date: July 1, 2021 6:18:01 PM CEST
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: - \texdiminbp{<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 \texdimin<uu> where <uu> is one of nd, dd, mm, pc, nc, cc, cm, or in. - \texdiminpt{<dim. expr.>} is like LaTeX's \strip at 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
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: - \texdiminbp{<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 \texdimin<uu> where <uu> is one of nd, dd, mm, pc, nc, cc, cm, or in. - \texdiminpt{<dim. expr.>} is like LaTeX's \strip at 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
texdimens – Conversion of TeX dimensions to decimals
Utilities and documentation related to TeX dimensional units, usable both with Plain (\input texdimens) and with LaTeX (\usepackage{texdimens}).
Package | texdimens |
Version | 1.1 2021-11-17 |
Copyright | 2021 Jean-François Burnol |
Maintainer | Jean-François Burnol |