Here is an example to consider:
A $3.1415$ approximation for $\pi$ was known on 314 BC?
Or maybe
A 3.1415 approximation for $\pi$ was known on 314 BC?
And here is another:
We run 32 experiments, the average result was always 42\%
etc.
Here is an example to consider:
A $3.1415$ approximation for $\pi$ was known on 314 BC?
Or maybe
A 3.1415 approximation for $\pi$ was known on 314 BC?
And here is another:
We run 32 experiments, the average result was always 42\%
etc.
I’ve started always using \num{123.45} from the siunitx package.
This has the advantage that the numbers are internally processed so you can globally adapt the style of those numbers using the \sisetup command. For example, you could later on decide whether to display the numbers in the text style or in the math style.
Furthermore, you can effortlessly control how exponential numbers are displayed and you can easily fit the numbers with units, too: \SI{12.34}{\second\per\meter}.
However, I don’t use this for all numbers: page numbers, for example, are never math (“see pages 12–32”). Likewise for years, or more generally dates (“1st of January …”), chapter numbers and so on. Basically anything that looks slightly ordinal.
$ to wrap them.
– Christian Lindig
Apr 10 '11 at 19:02
Correct is $3.1415$ or $\numprint{3.1415}$ with the numprint package, with babel in french we have \nombre{3.1415}$. $3.1415$ is a number (mathematical object) and not a collection of digits. There are other packages to print correctly numbers. You need to separate content and form.
42\%perhaps siunitx can do this very well.
– Alain Matthes
Apr 10 '11 at 11:49
mathpazo instead of palatino
–
Apr 10 '11 at 12:51
\nombre now use numprint but I meant that it was another macro to write a number and not to print a phone number ( bad word in english !). With older version of frenchb \nombre was independent of numprint
– Alain Matthes
Apr 10 '11 at 18:46
3.1415and$3.1415$. It makes a difference for minus signs, however. – Martin Scharrer Apr 10 '11 at 12:37\(...\)rather than$...$. – You Jan 01 '12 at 21:02