| 1 |
numprint.sty and nbaseprt.sty |
| 2 |
============================= |
| 3 |
|
| 4 |
numprint.sty: |
| 5 |
Print numbers with a separator every three digits and convert numbers |
| 6 |
given as 12345.6e789 to 12\,345,6\cdot 10^{789}. Numbers are printed |
| 7 |
in the current mode (text or math) in order to use the correct font. |
| 8 |
Many things, including the decimal sign, the thousand separator, as |
| 9 |
well as the product sign can be changed by the user, e.g., to reach |
| 10 |
12,345.6\times 10^{789}. If requested, numprint can round numbers to |
| 11 |
a given number of digits. |
| 12 |
If an optional argument is given it is printed upright as unit. |
| 13 |
Numbers can be rounded to a given number of digits. |
| 14 |
The package supports an automatic, language-dependent change of the |
| 15 |
number format. |
| 16 |
Tabular alignment using the tabular(*), array, tabularx, and longtable |
| 17 |
environments (similar to the dcolumn and rccol packages) is supported |
| 18 |
using all features of numprint. Additional text can be added before and |
| 19 |
after the formatted number. |
| 20 |
|
| 21 |
If you prefer to use the old version 0.32 you may use numprint032.sty |
| 22 |
which will stay fixed. |
| 23 |
|
| 24 |
|
| 25 |
nbaseprt.sty: |
| 26 |
This package prints integer numbers in different bases (octal, |
| 27 |
decimal, hexadecimal, binary) similarly to the numprint package. |
| 28 |
But here, the number of digits within one group depends on the |
| 29 |
base. |
| 30 |
This version of nbaseprt.sty is a BETA VERSION. The main command |
| 31 |
\nbaseprint will stay stable but all configuration commands and the output |
| 32 |
of \nbaseprint may change in future. Please give me feedback what can be |
| 33 |
improved and if the abbreviations for the different number bases are correct. |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
Copyright 2000--2005, 2007, 2008, 2012 Harald Harders |
| 38 |
|
| 39 |
This program can be redistributed and/or modified under the terms |
| 40 |
of the LaTeX Project Public License Distributed from CTAN |
| 41 |
archives in directory macros/latex/base/lppl.txt; either |
| 42 |
version 1 of the License, or any later version. |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
Installation: |
| 47 |
|
| 48 |
automatic: - run make |
| 49 |
- run make install |
| 50 |
or |
| 51 |
- run make |
| 52 |
- copy numprint.sty, nbaseprt.sty, and numprint032.sty to a place |
| 53 |
where LaTeX can find them |
| 54 |
- run texhash or the corresponding command of your distribution |
| 55 |
|
| 56 |
by hand: - execute latex on numprint.ins |
| 57 |
- copy numprint.sty, nbaseprt.sty, and numprint032.sty to a place |
| 58 |
where LaTeX can find them |
| 59 |
- run texhash or the corresponding command of your distribution |
| 60 |
If you also want to re-compile the documentation which should not |
| 61 |
be necessary do the following items, too: |
| 62 |
- execute: |
| 63 |
pdflatex numprint.dtx |
| 64 |
pdflatex numprint.dtx |
| 65 |
makeindex -s gglo.ist -o numprint.gls numprint.glo |
| 66 |
makeindex -s gind.ist numprint |
| 67 |
pdflatex numprint.dtx |
| 68 |
- copy numprint.pdf to the documentation tree of your |
| 69 |
TeX implementation |
| 70 |
- do the same replacing `numprint' by `nbaseprt' resp. 'numprint032' |
| 71 |
- run texhash or the corresponding command of your distribution, |
| 72 |
again |
| 73 |
|
| 74 |
|
| 75 |
2012/08/20 |
| 76 |
Harald Harders |
| 77 |
[email protected] |