CTAN Comprehensive TeX Archive Network

CTAN Up­date: numprint pack­age

Date: Fe­bru­ary 17, 2008 11:03:02 PM CET
On Sun, 17 Feb 2008 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 Sum­mary de­scrip­tion: Up­date of the numprint pack­age to ad­dress two bugs Li­cense type: lppl An­nounce­ment text:
Print num­bers with a sep­a­ra­tor ev­ery three dig­its and con­vert 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 re­quested, numprint can round num­bers to a given num­ber of dig­its. 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­age's) 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. 2007/05/18 v1.38 Har­ald Harders (h.hard­ers at tu-bs.de) - Moved coun­ters \nprt at cur­pos and \nprt at rnd­pos out­side the macro def­i­ni­tions to avoid an over­flow of coun­ters - Re­placed \step­counter and \ad­dto­counter by \ad­vance be­cause oth­er­whise, \numprint does not work in­side \en­sure­math{\text{$...$}}.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/numprint . More in­for­ma­tion is at http://tug.ctan.org/info/?id=numprint (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html . _______________________________________________ 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.

Pack­agenumprint
Ver­sion1.39
Copy­right2000–2005, 2007, 2008, 2012 Har­ald Harders
Main­tainerHar­ald Harders (in­ac­tive)

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author