Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!i2unix!inria!loria!loria.crin.fr!domen From: domen@wiener.crin.fr (Eric Domenjoud) Newsgroups: comp.text.tex Subject: Re: Difficulties with columns of numbers Message-ID: Date: 28 Nov 90 16:27:53 GMT References: Sender: news@loria.crin.fr Distribution: comp Organization: CRIN, Nancy, France Lines: 43 In-reply-to: tas@tasman.cc.utas.edu.au's message of 28 Nov 90 05:06:10 GMT In article tas@tasman.cc.utas.edu.au (Tasman Derk Van Ommen) writes: 1) How does one align a column of numbers which need to be right aligned under a central heading? e.g. The Heading 27 113 1251 4 etc..... \begin{tabular}{c} The Heading \\ \begin{tabular}{r} 27 \\ 113 \\ 1251 \\ 4 \end{tabular} \end{tabular} 2) What do you do if you have a lot of numbers to be aligned on a decimal point if the numbers have varying numbers of decimal places? e.g. 10.7 1.3 0.75 etc.... \begin{tabular}{r@{.}l} 10&7 \\ 1&3 \\ 0&75 \end{tabular} ================================================================ Eric Domenjoud e-mail: domen@loria.crin.fr