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.
Column 1 & Column 2 & column3 \\
second row & & \\

Please help me with table border options. Using | I can draw thin solid vertical lines and \hline draws thin solid horizontal lines. I would like to achieve thick outer border, thin dotted lines of various size and color in the table. In short I would like to achieve similar functionality of attached screenshot of MS word table options in LaTeX. Also the reason for asking this is to put all table borders related answers at one place

Thanks for your help. enter image description here

share|improve this question

2 Answers 2

up vote 4 down vote accepted
\newcommand\VRule[1][\arrayrulewidth]{\vrule width #1}


Column 1 & Column 2 & column3 \\\specialrule{3pt}{0pt}{0pt}
second row & & \\\hdashline
third row  & & \\\specialrule{4pt}{0pt}{0pt}


enter image description here

share|improve this answer
I want to add a one bold horizontal line only between the two row... this method didn't work. –  Misaki Oct 9 '13 at 10:18

There is the hhline package and the arydshln package. You can get colour in the table with the xcolor package.

You might have your reasons to typeset your tables with many different line styles... I'd usually recommend to avoid vertical lines at all and to draw horizontal lines with commands provided by the booktabs package.

In case you are writing something related to science, more or less all textbooks seem to roughly follow similar guidelines. Rarely you will find a vertical line.

share|improve this answer

Your Answer


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.