Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 6 down vote accepted

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....

share|improve this answer
    
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
1  
@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
2  
@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}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.