[Tex/LaTex] Tabular border style

bordertables

\begin{tabular}{|c|c|c|}
Column 1 & Column 2 & column3 \\
\hline
second row & & \\
\hline
\end{tabular}

How do I change the border style? Using | I can draw thin solid vertical lines and \hline draws thin solid horizontal lines. I would like a thick outer border and thin dotted lines of various sizes and colors 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 in one place.

Thanks for your help. Screenshot of MS Word "Borders and Shading" dialog box

Best Answer

\documentclass{article}
\usepackage{array,booktabs,arydshln,xcolor}
\newcommand\VRule[1][\arrayrulewidth]{\vrule width #1}

\begin{document}

\begin{tabular}{!{\VRule[2pt]}c!{\VRule}c!{\color{red}\VRule[3pt]}c!{\VRule}}
Column 1 & Column 2 & column3 \\\specialrule{3pt}{0pt}{0pt}
second row & & \\\hdashline
third row  & & \\\specialrule{4pt}{0pt}{0pt}
\end{tabular}

\end{document}

enter image description here

Related Question