CTAN Comprehensive TeX Archive Network

CTAN pack­age up­date: numprint

Date: Jan­uary 8, 2007 5:20:06 PM CET
On Mon, 8 Jan 2007, Har­ald Harders sub­mit­ted a new ver­sion of the numprint pack­age. Lo­ca­tion on CTAN: macros/la­tex/con­trib/numprint Li­cense: LPPL > Changes: > > 2007/01/08 v1.37 Har­ald Harders > - Add an own sep­a­ra­tor for de­gree centi­grade. > - Use sep­a­ra­tor for per­cent also for per­mil. > - Change thou­sand sep­a­ra­tor for Por­tuguese from "\," to ".". > - Add sup­port for French. Thanks for the up­load. For the CTAN Team Rainer Schöpf

numprint – Print num­bers with sep­a­ra­tors and ex­po­nent if nec­es­sary

The pack­age numprint prints num­bers with a sep­a­ra­tor ev­ery three dig­its and con­verts num­bers given as 12345.6e789 to 12\,345,6\cdot 10^{789}. Num­bers are printed in the cur­rent mode (text or math) in or­der to use the cor­rect font.

Many things, in­clud­ing the dec­i­mal sign, the thou­sand sep­a­ra­tor, as well as the prod­uct sign can be changed by the user, e.g., to reach 12,345.6\times 10^{789}.

If an op­tional ar­gu­ment is given it is printed up­right as unit. Num­bers can be rounded to a given num­ber of dig­its. The pack­age sup­ports an au­to­matic, lan­guage-de­pen­dent change of the num­ber for­mat.

Tab­u­lar align­ment us­ing the tab­u­lar(*), ar­ray, tab­u­larx, and longtable en­vi­ron­ments (sim­i­lar to the dcol­umn and rc­col pack­ages) is sup­ported us­ing all fea­tures of numprint. Ad­di­tional text can be added be­fore and af­ter the for­mat­ted num­ber.

Copy­right2000–2005, 2007, 2008, 2012 Har­ald Harders
Main­tainerHar­ald Harders (in­ac­tive)



Guest Book Sitemap Contact Contact Author