How to make LaTex group


by ronaldor9
Tags: latex
ronaldor9
ronaldor9 is offline
#1
Jun24-09, 07:46 PM
P: 92
How can I tell LaTex to group by thousands such as a large number like this: 1 000 000 000 instead of 1000000000

Thanks
Phys.Org News Partner Science news on Phys.org
Internet co-creator Cerf debunks 'myth' that US runs it
Astronomical forensics uncover planetary disks in Hubble archive
Solar-powered two-seat Sunseeker airplane has progress report
CompuChip
CompuChip is offline
#2
Jun25-09, 02:39 AM
Sci Advisor
HW Helper
P: 4,301
I don't think you can tell it that, because as far as LaTeX is concerned there is nothing special about numbers. You can do it manually, just type $1\,000\,000\,000$ or $1\;000\;000\;000$ or $1\:000\:000\:000$, depending on your preference. Or use scientific notation ($10^9$), of course

Examples:
  • $1\,000\,000\,000$
    [itex] 1\,000\,000\,000 [/itex]
  • $1\;000\;000\;000$
    [itex] 1\;000\;000\;000 [/itex]
  • $1\:000\:000\:000$
    [itex] 1\:000\:000\:000 [/itex]
  • $10^9$
    [itex] 10^9 [/itex]
ronaldor9
ronaldor9 is offline
#3
Jun25-09, 02:14 PM
P: 92
Thanks, yea I was hoping there was a simpler way. Thanks though!

Fenn
Fenn is offline
#4
Jul20-09, 09:26 AM
P: 74

How to make LaTex group


This can be accomplished by using the numprint package. Check out http://www.ctan.org/tex-archive/macr...trib/numprint/ for details.


Register to reply

Related Discussions
How can I make math (by latex) available in my post? Forum Feedback & Announcements 5
LaTeX Question - How do you make a Lowercase Script L? Math & Science Software 2
Make Latex background transparent? Forum Feedback & Announcements 22
Best program to make graphics for LaTeX?? Math & Science Software 2
how to make a poster with latex? Math & Science Software 3