[OS X TeX] Fine point of mathematical typing?

Chris Goedde cgg.lists at gmail.com
Mon May 12 22:47:32 CEST 2008


How desperate are you? Changing "$\ldots$" to "$\ldots$\hskip1.865in 
\null" works (at least on my machine), but it's not very robust, to  
say the least. Note that if you leave a space between the $ from the $ 
\ldots$ and the \ for \hskip, you'll have to plug in a different  
number for the amount of the skip.

If you put a \raggedright after the \begin{document} you'll see the  
problem. 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.

Chris

On May 12, 2008, at 2:57 PM, 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. 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 :-)
>
> Roberto
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>




More information about the macostex-archives mailing list