I have the code for a table. What is the default thickness for the lines? I would like to double the thickness for the vertical line to distinguish the "total column", and I would like to double the thickness for the horizontal line to distinguish the "total row." (I guess that I should make the line separating the title thicker, too.)
\documentclass{amsart}
\begin{document}
\noindent \hspace*{\fill}
\begin{tabular}{|| c | c | c | c ||} \hline
\multicolumn{4}{|| c ||}{{\bf Residents of Preston City}} \\ \hline
& Employed & Unemployed & Total \\ \hline
Men & 27,000 & & \\ \hline
Women & & & 21,500 \\ \hline
Total & 48,000 & & 50,500 \\ \hline
\end{tabular}
\hspace{\fill}
\end{document}
Best Answer
You can use
makecell
, which has\Xhline{thickness}
and\Xcline{thickness}{col1-col2}
commands.Alternatively, the
boldline
package, from theshipunov
bundle, has\hlineB
and\clineB
commands; the argument isnum
times\arrayrulewidth
. It also has aV{num}
specifier for vertical rules, which replaces|
.By the way, the default
\arrayrulewidth
is0.4pt
.Demo of both solutions: