Bug#66636: latex: tables don't come out right
On Sun, Jul 02, 2000 at 10:51:02PM -0700, Karl M.Hegbloom wrote:
> Package: tetex-bin
> Synopsis: latex: tables don't come out right
>
> Description:
> The following test document produces the attached .dvi file:
>
> \documentclass{article}
>
> \begin{document}
> \begin{tabular}{|c|c|c|}
> \hline\\
> One & Two & Three\\
> \hline\\
> Four & Five & Six\\
> \hline
> \end{tabular}
> \end{document}
>
Remove the '\\' after the two \hline and you'll get the output
you desire. \hline is intended to give you a horizontal line
the width of the table and contains an implicit \\.
The vertical bars are missing from the right side because you
have forced a new row (\\) right after starting a row (from the
\hline). The vertical bars become visible (but with an unneeded
blank row) if you replace the two \hline lines with
\hline
& & \\ % exciting. We just created a blank row
I recommend the bug be closed.
--
James (Jay) Treacy
treacy@debian.org
Reply to: