I'm trying to create a table with horizontal and vertical lines, but the lines aren't meeting in the corners and I can't work out why. Can anyone point out what I'm doing wrong?
\documentclass[a4paper,10pt]{report}
\usepackage{booktabs}
\begin{document}
\begin{tabular} { | r | p{2cm} | p{2cm} | }
\toprule
\# & One & Two \\
\midrule
1 & alpha & bravo \\
2 & apple & banana \\
\bottomrule
\end{tabular}
\end{document}
Running this through a few different versions of pdflatex always produces this output, in Acrobat Reader and evince:
How do I get the horizontal and vertical lines to meet?
Best Answer
Edit 3
If you are a perfectionist, please consider the following defects at the intersection of horizontal and vertical lines.
Maybe you hate them even though they are small enough to be visible at a glance.
Edit 3.1
Based on Ulrike's comment below, we need to use
array
package to remove such a bad feature.