[Tugindia] Wrapping long numbers

Aditya Mahajan adityam at umich.edu
Thu Mar 15 16:17:50 CET 2007


On Thu, 15 Mar 2007, CV Radhakrishnan wrote:

>> Hello,
>
>> How could I 'wrap' a long number (> 120 digits) into multiple
>> lines without having to insert spaces manually ? I have to typeset
>> a lot of numbers like this.
>
> Here is a quick and dirty solution:
>
> \breaklonglines takes two arguments, first is the number of digits
> after which you want to insert a space and second is your long
> number.

Another solution (for ConTeXt, I do not know how hard it will be to 
port it to LaTeX or plain) posted by Hans Hagen on the ConTeXt mailing 
list.

http://archive.contextgarden.net/message/20051221.175234.ad13a601.en.html

Aditya


More information about the tugindia mailing list