LaTeX How to Group Thousands in LaTeX

  • Thread starter Thread starter ronaldor9
  • Start date Start date
  • Tags Tags
    Group Latex
Click For Summary
SUMMARY

To format large numbers in LaTeX with thousands separators, users can manually input the number using specific spacing commands such as $1\,000\,000\,000$, $1\;000\;000\;000$, or $1\:000\:000\:000$. For a more automated solution, the numprint package is recommended, which simplifies the process of formatting numbers. This package can be found at the Comprehensive TeX Archive Network (CTAN) at the provided link.

PREREQUISITES
  • Basic understanding of LaTeX syntax
  • Familiarity with LaTeX packages
  • Knowledge of number formatting conventions
  • Access to CTAN for package installation
NEXT STEPS
  • Explore the numprint package documentation on CTAN
  • Learn about other LaTeX packages for number formatting
  • Research LaTeX spacing commands for improved text formatting
  • Experiment with scientific notation in LaTeX
USEFUL FOR

LaTeX users, typesetters, and anyone needing to format large numbers in academic or professional documents.

ronaldor9
Messages
91
Reaction score
1
How can I tell LaTex to group by thousands such as a large number like this: 1 000 000 000 instead of 1000000000

Thanks
 
Physics news on Phys.org
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 :-p

Examples:
  • $1\,000\,000\,000$
    1\,000\,000\,000
  • $1\;000\;000\;000$
    1\;000\;000\;000
  • $1\:000\:000\:000$
    1\:000\:000\:000
  • $10^9$
    10^9
 
Last edited:
Thanks, yea I was hoping there was a simpler way. Thanks though!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K