I am new to Latex and also to this community. I need some help with tabularx package. I spent whole two days and can't figure it out. Finally I got things of equal width to work... the contents are left justified though. Please help me to have the contents centered.
Not exactly an answer, but presented with your data I would lay things out a little differently. The following uses float and caption to space the table caption nicely, booktabs to get "good" rules in tables and siunitx for aligning on the decimal point:
Thank you for your time and reply. I tried and it complains about tabular{cSS} stuff and also I think I do not have siunits.sty file. But I adopted the booktabs thing and it looks neat. I appreciate your help.
No problem. I write siunitx, so of course I have it :-) Seriously, it is in TeXLive 2008 and MiKTeX 2.7, but if you have an older system you would have had to download it yourself from CTAN.
--
Joseph Wright
each time. Or use \newcolumntype to define a new column style. Have a look at the documentation of the array package if you want to read about the >, \arraybackslash or the \newcolumntype macro.
Btw. I wouldn't use italic units (perhaps have a look at the package siunitx) and I wouldn't use that much vertical lines. Instead of \centering the numbers could be aligned at their decimal points. Just some ideas.
Thanks Stefan. I know, it has been a long time since I last visited this site. I downloaded Siunits package and from what Joesph has replied earlier, I think I know now to include the package. But, where should I have the source file of siunitx? When I downloaded, it is in a folder inside which there are many folders. Do I have to take the siunitx style file and keep it in the same folder where my main tex file is there? I am lacking some basics here. Is there any documentation for using that package?
You didn't clarify which LaTeX distribution you are using. Package installation on a MiKTeX system is best done with the package manager. And TeX Live 2008 also comes with such a helpful tool (tlmgr).