# How to make double cline in tables?

I want to draw a double cline in a table where the first column is multirow With double \hline I can draw a full double horizontal line but double \cline{i-j} seems to have the same effect with single \cline. Is there any other special command to do that?

Thank you

-

AFAIK the \cline does not add vertical space by itself, therefore the two are just printed over each other. The booktabs package, which I can recommend greatly in general for all tables, defines therefore the \morecmidrules macro:

% \cline is now \cmidrule
\cmidrule{1-2}\morecmidrules\cmidrule{1-2}


However, the booktabs manual says that double lines are evil and should not be used at all....

-
Thanks, good hint but now I have a different problem. The vertical lines-borders of the table are broken. Please see the image: img189.imageshack.us/img189/8383/brokentable.png –  Vasilis Feb 3 '11 at 0:17
@Vasilis: Mmm, I can't tell how to fix that. All what I know is that vertical lines are also considered as evil by the booktabs manual ;-) My advice is to avoid them and most horizontal lines. Only do a \toprule on top and a \bottomrule at the bottom, plus a single \cmidrule where you wanted the double rule. This design is new to most people which know tables only from M\$ Word, but believe me, it looks better! –  Martin Scharrer Feb 3 '11 at 0:33
@Vasilis. As Martin says, the table you've linked to should not have vertical lines. –  Joseph Wright Feb 3 '11 at 6:47
Indeed it looks better without vertical lines. –  Vasilis Feb 3 '11 at 14:35

use package hhline, available with any TeX distribution:

\documentclass[a4paper]{article}
\usepackage{hhline}
\begin{document}

\begin{tabular}{ccc}\hhline{=~~}
foo & bar & baz  \\\hhline{~=~}
foo & bar & baz  \\\hhline{~~=}
\end{tabular}

\end{document}


-