[texhax] Table problem

Srinivas Chakravarthy schakrav at kettering.edu
Fri Jul 15 18:45:22 CEST 2005


Try  replacing your third line with "   \begin{tabular}{|lrrrrr|r|}\hline "


Peter Flom wrote:

>When I typeset
>
>  \begin{table}[h]
>   \begin{center}
>    \begin{tabular}{|lrrrrrr|}\hline
>     Parameter & DF & Estimate &
>\multicolumn{1}{r}{\parbox{.6in}{Standard \\error}} &
>       \multicolumn{1}{r}{\parbox{.5in}{Wald \\ Chi-square}} &
>     p-value \\ \hline
>     Intercept 2: Hard & 1 & -0.3685 & 0.9375 & 0.1545 & 0.6943
>     \\
>     Intercept 1: MJ &   1 & 1.1565 & 0.9395 & 1.5155 & 0.2183
>     \\
>     Factor 1 &          1 & -1.3145 & 0.1284 & 104.85 & $<$ 0.0001
>     \\
>     Age &               1 & 0.0892 & 0.0437 & 4.1685 & 0.0412
>     \\
>     Female &            1 & -1.3931 & 0.1876 & 55.1246& $<$ 0.0001
>     \\\hline
>    \end{tabular}
>    \end{center}
>   \end{table}
>
>
>for some reason 1) There's no line on the right edge of the table,
>despite the fact that I have a | after the last r in the tabular
>command
>2) The text in the parboxes is left aligned, despite the fact that I
>have an r in the multicolumn command
>
>Any help appreciated
>
>Peter
>
>Peter L. Flom, PhD
>Assistant Director, Statistics and Data Analysis Core
>Center for Drug Use and HIV Research
>National Development and Research Institutes
>71 W. 23rd St
>www.peterflom.com
>New York, NY 10010
>(212) 845-4485 (voice)
>(917) 438-0894 (fax)
>
>
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org
>
>  
>

-- 
__________________________________________________________
Dr. Srinivas R. Chakravarthy, Ph.D
Professor of Operations Research and Statistics
Department of Industrial and Manufacturing Engineering and Business
Kettering University (Formerly GMI-EMI)
Flint, MI 48504-4898
Phone: 810.762.7906
Fax: 810.762.9944
www.kettering.edu/~schakrav
__________________________________________________________




More information about the texhax mailing list