Please see the MWE below and its result. I didn't use the arydshln package in the example, but I have to use it somewhere else in the same document. As you see, there is something wrong with the vertical border lines in the table. If I don't use one of the arydshln and booktabs packages, it displays correctly.
Is there any workaround here? I'm looking for one of the following:
- A method to prevent the wrong display with both packages used.
- An alternative to the nice formatting and
\toprule,\midrule, and\bottomrulefrom thebooktabspackage. - An alternative to the
arydshlnpackage to draw dashed lines in math arrays (vectors, matrices).
Thank you for the help.
\documentclass{article}
\usepackage{booktabs}
\usepackage{arydshln}
\begin{document}
\begin{tabular}{ c | r r }
\toprule
& 123 & 456 \\
\midrule
\multicolumn{3}{l}{blah blah blah }\\
\midrule
abc & def & hij \\
\bottomrule
\end{tabular}
\end{document}

ADDED--
After some experiments, I found multicolumn is not a key. When I replaced it by a regular row, it still displays wrong.

booktabscommands: the package is built under the assumption that vertical rules are A Bad Thing. On the other hand, if you stick to\hlineor\clinein tables where vertical rules are needed, then you can still loadbooktabsand employ its commands for other tables. – egreg Jul 27 '12 at 20:31