Register to reply

How to make LaTex group

by ronaldor9
Tags: latex
Share this thread:
ronaldor9
#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
'Smart material' chin strap harvests energy from chewing
King Richard III died painfully on battlefield
Capturing ancient Maya sites from both a rat's and a 'bat's eye view'
CompuChip
#2
Jun25-09, 02:39 AM
Sci Advisor
HW Helper
P: 4,300
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
#3
Jun25-09, 02:14 PM
P: 92
Thanks, yea I was hoping there was a simpler way. Thanks though!

Fenn
#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