# Questions tagged [numprint]

A package for printing numbers in standard format dependent on context (text, math, language).

14 questions
56 views

### periodic digits and numprint

I want to use numprint to add separators every three digits of a decimal representation of a rational BUT with an overline over the repeating digits. For example, for the unitary fraction 1/42, I get:...
128 views

### How to change only the color of numbers (and not units) with numprint?

This question is related to this one: Colour only the text in a tabularx environment I want to write as a succession of equality in blue (only the numbers) so that each line of the table has a ...
55 views

### Tabular: columnwidth of e.g. 3cm, but numprint column

The numprint package provides some things I need: Rounding after the decimal sign, adding missing zeros, german thousand- and decimalseparator. But I'd like to have a column with numbers formatted ...
151 views

### Formatting numbers with smaller glyphs for decimals

I am currently writing up a coursebook in which I handle sets of decimal numbers. As the language of the coursebook is French, the decimal separator has to be a comma and the thousands separator a ...
147 views

### How to migrate from numprint to siunitx while keeping the same font?

Until now I used the numprint package to display the units correctly. But since the solution given by @egreg to this question: package eurosym: how to change the decimal separator?, I try to code ...
199 views

### Comma separated number representation fed to latex math mode from \sage{}

I came across other tex questions where people asked ways to represent numbers in comma-separated format. That is writing 1234567 as 1,234,567. I need this while teaching addition/subtraction to my ...
399 views

### Unexpected behaviour of numprint command

I am using the numprint package. This package is basically great, but sometimes it shows unexpected behaviour. Here is an example of such a case: \documentclass{article} \usepackage{numprint} \begin{...
129 views

### Installing The Numprint Package Style [duplicate]

ftp://ftp.dante.de/tex-archive/macros/latex/contrib/numprint/ http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/numprint/ do not contain the numprint.sty files. Neither does the .zip ...
153 views

### Can I combine numprint, longtable and sideways?

I can create a longtable with numprint: \documentclass{article} \usepackage{numprint} \usepackage{longtable} \npdecimalsign{,} \nprounddigits{2} \begin{document} \begin{longtable}{n{3}{2}} -11,...
273 views

### How to get a “thousands” separator in spreadtab (wrapping longtable)?

I'm trying to use Pandoc for the semi-automatic generation of billing statements from YAML text inputs: For doing sum calculations I use the spreadtab package. For getting automatic page breaks if ...
92 views

### numprint and similar packages ignore ADF Fonts

I'm using the Venturis font for my documents. Because all of tabular number alignment packages I tried interfere with fonts, numbers in these columns look quite out of place. Is there a way around ...
129 views

### How to get a customized number of decimal places in tex.sprint / directlua / qrCode?

The number of decimal places is "9" in the following example: string.format("\%0.9f", X). How can one achieve the replacement of the fixed "9" decimal places with "NumberOfDecimalPlaces" (in ...