[OS X TeX] Fine point of mathematical typing?

Ross Moore ross at ics.mq.edu.au
Mon May 12 19:17:07 EDT 2008

Hi Chris, Robert and others,

On 13/05/2008, at 6:47 AM, Chris Goedde wrote:

> TeX is compressing the previous lines a tiny bit to fit 11 numbers  
> per line. The last line doesn't need that compression, so you have  
> to force it somehow. The \hskip was the first thing that came to  
> mind...there may well be better ways.

You can force that extra compression with a \phantom .
e.g.,  finish the list as follows

$9221$, $9293$, $9371$, $9419$, $9473$, $9479$, $9539$, $9629$, $9689 
$, $9791$, $\ldots$%
\phantom{$\!9$, $9221$, $9293$, $9371$, $9419$,}%

so that the \phantom typesets to the width of what occurs at the end
of the previous line, but without placing any ink.
The resulting stretch or shrink should be very close to what is on the
previous line, but cannot be exactly the same.
(The \! helps a tiny bit; \, would move the opposite way.)

> Chris

Hope this helps,


Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114

More information about the MacOSX-TeX mailing list