New on CTAN: smartunits
CTAN Announcements
ctan-ann at ctan.org
Thu Feb 4 12:57:59 CET 2016
Andrew Mathas submitted the
smartunits
package.
Version: 1.1 2016-02-03
License: lppl1.3
Summary description: Converting between common metric and Imperial units
Announcement text:
----------------------------------------------------------------------
A LaTeX package that implements automatic conversions
between (some) metric and Imperial units.
Example
-------
\documentclass{article}
\usepackage{smartunits}
\begin{document}
\SmartUnitSettings{metric imperial, places=1}
\SmartUnit{cm=10} % 10 cm (4')
\SmartUnit{celsius=20} % 20 C (43 F)
\SmartUnit{miles=5} % 8 km (5 mi)
\SmartUnit{miles=5, precision=1} % 8.0 km (5 mi)
\SmartUnit{miles=5, km=7} % 7 km (5 mi)
\end{document}
----------------------------------------------------------------------
The package's Catalogue entry can be viewed at
http://www.ctan.org/pkg/smartunits
The package's files themselves can be inspected at
http://mirror.ctan.org/macros/latex/contrib/smartunits/
We are supported by the TeX users groups.
Please join a users group; see http://www.tug.org/usergroups.html .
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Petra RĂ¼be-Pugliese
More information about the Ctan-ann
mailing list