CTAN Comprehensive TeX Archive Network

CTAN submission – numprint v1.10

Date: October 13, 2003 4:05:07 PM CEST
----- Forwarded message from Harald Harders ----- I have uploaded the file numprint-1_10.tar.gz to ftp.dante.de. It contains a new version of the numprint package. Please replace all files in CTAN:macros/latex/contrib/numprint by its contents. And ignore the file numprint-1_00.tar.gz that I have uploaded a few days ago. License stays LPPL. >From the README: Print numbers with a separator every three digits and convert numbers given as 12345.6e789 to 12\,345,6\cdot 10^{789}. Numbers are printed in the current mode (text or math) in order to use the correct font. Many things, including the decimal sign, the thousand separator, as well as the product sign can be changed by the user, e.g., to reach 12,345.6\times 10^{789}. If requested, numprint can round numbers to a given number of digits. If an optional argument is given it is printed upright as unit. Numbers can be rounded to a given number of digits. The package supports an automatic, language-dependent change of the number format. Tabular alignment using the tabular(*), array, tabularx, and longtable environments (similar to the dcolumn and rccol packages) is supported using all features of numprint. Additional text can be added before and after the formatted number. If you prefer to use the old version 0.32 you may use numprint032.sty which will stay fixed. The main new features are automatic language support and a really usable tabular alignment. Change log: - 1.10 2003/10/12 New tabular aligment mechanism (now comparable to dcolumn and rccol) with full support of all numprint formats. Math version npbold which aligns with normal math alphabet. Don't use substr package. Provide \npmakebox command that works as \makebox but takes a text instead of a length for calculating its width. - 1.00 2003/10/07 Automatically add a plus to numbers without sign. Define shortcut \np for \numprint on demand. Automatic support for different number formats in different languages (already supported are English and German). Better argument parsing. Automatically don't separate degree sign from number. Customize input characters (decimal sign, exponent character). Define a list of ignored characters. User defined signs exceeding +,-, and \pm. Load configuration file if present. Improved calculation of box width for mantissa and exponent. Entirely new implementation (about 90% new code). ----- End forwarded message ----- Thanks for the upload. I installed the new version as suggested replacing the old one in CTAN:macros/latex/contrib/numprint Reinhard Zierke for the CTAN team

numprint – Print numbers with separators and exponent if necessary

The package numprint prints numbers with a separator every three digits and converts numbers given as 12345.6e789 to 12\,345,6\cdot 10^{789}. Numbers are printed in the current mode (text or math) in order to use the correct font.

Many things, including the decimal sign, the thousand separator, as well as the product sign can be changed by the user, e.g., to reach 12,345.6\times 10^{789}.

If an optional argument is given it is printed upright as unit. Numbers can be rounded to a given number of digits. The package supports an automatic, language-dependent change of the number format.

Tabular alignment using the tabular(*), array, tabularx, and longtable environments (similar to the dcolumn and rccol packages) is supported using all features of numprint. Additional text can be added before and after the formatted number.

Packagenumprint
Version1.39
Copyright2000–2005, 2007, 2008, 2012 Harald Harders
MaintainerHarald Harders (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author