# [OS X TeX] Fine point of mathematical typing?

Ross Moore ross at ics.mq.edu.au
Mon May 12 23:12:04 CEST 2008

Hello Roberto,

On 13/05/2008, at 5:57 AM, Roberto Avanzi wrote:
> I have the following problem. I want to typeset a list of numbers,
> like the following short file
>
>
> \documentclass[12pt]{article}
>
> \begin{document}
>
> \begin{quote}
> \noindent%
> $2$, $3$, $5$, $11$, $23$, $29$, $41$, $53$, $83$, $89$, $113$, $131$,
> $173$, $179$, $191$, $233$, $239$, $251$, $281$, $293$, $359$, $419 >$, $431$, $443$,
> $491$, $509$, $593$, $641$, $653$, $659$, $683$, $719$, $743$, $761 >$, $809$, $911$,
> $953$, $1013$, $1019$, $1031$, $1049$, $1103$, $1223$, $1229$, $1289 >$, $1409$, $1439$, $1451$,
> $1481$, $1499$, $1511$, $1559$, $1583$, $1601$, $1733$, $1811$,
> $1889$, $1901$, $1931$, $1973$,
> $2003$, $2039$, $2063$, $2069$, $2129$, $2141$, $2273$, $2339$,
> $2351$, $2393$, $2399$, $2459$,
> $2543$, $2549$, $2693$, $2699$, $2741$, $2753$, $2819$, $2903$,
> $2939$, $2963$, $2969$, $3023$,
> $3299$, $3329$, $3359$, $3389$, $3413$, $3449$, $3491$, $3539$,
> $3593$, $3623$, $3761$, $3779$,
> $3803$, $3821$, $3851$, $3863$, $3911$, $4019$, $4073$, $4211$,
> $4271$, $4349$, $4373$, $4391$,
> $4409$, $4481$, $4733$, $4793$, $4871$, $4919$, $4943$, $5003$,
> $5039$, $5051$, $5081$, $5171$,
> $5231$, $5279$, $5303$, $5333$, $5399$, $5441$, $5501$, $5639$,
> $5711$, $5741$, $5849$, $5903$,
> $6053$, $6101$, $6113$, $6131$, $6173$, $6263$, $6269$, $6323$,
> $6329$, $6449$, $6491$, $6521$,
> $6551$, $6563$, $6581$, $6761$, $6899$, $6983$, $7043$, $7079$,
> $7103$, $7121$, $7151$, $7193$,
> $7211$, $7349$, $7433$, $7541$, $7643$, $7649$, $7691$, $7823$,
> $7841$, $7883$, $7901$, $8069$,
> $8093$, $8111$, $8243$, $8273$, $8513$, $8663$, $8693$, $8741$,
> $8951$, $8969$, $9029$, $9059$,
> $9221$, $9293$, $9371$, $9419$, $9473$, $9479$, $9539$, $9629$,
> $9689$, $9791$, $\ldots$
> \end{quote}
>
> \end{document}
>
>
> BUT, the spacing in the last line is not the same as in the line
> above.

Looks pretty consistent to me. (see attached image)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 223389 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20080513/8c299d04/attachment.jpeg>
-------------- next part --------------

What exactly do you get, and not like?
(The '1' being narrower than other digits makes a tiny difference;
but hardly noticeable at all.)
What fonts are you actually using?

> How can I force LaTeX to typeset the numbers in the last line
> alined to the numbers in the line above? (yes, it is for number
> theory course notes :-)

You could use a {tabular} environment, with columns right-aligned.
But this would leave too much space around the earlier 1-, 2-
and 3-digit primes.

>
>  Roberto

Hope this helps,

Ross

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