[OS X TeX] Fine point of mathematical typing?

David Derbes loki at uchicago.edu
Mon May 12 17:18:09 EDT 2008


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

deleted to save bandwidth

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

First, why not add another number or two to make it even? If that is  
no good, do you know of the Ruby program xl2latex.rb? You could feed  
these numbers easily to Excel, use the program mentioned to put it  
into a column, and then tweak the last row of the column as you wish.

The program xl2latex.rb is probably available at CTAN. Some kind soul  
posted it in this forum a couple of years ago and it has worked very  
well for me the four or five times I tried it.

David Derbes
U of Chicago Laboratory Schools

>
>
>
> -------------------------- 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 MacOSX-TeX mailing list