I'm trying to reproduce this table:
(apologies for the terrible cameraphone pic)
I don't know how to get the slightly thicker leftmost and topmost line.
Here's a minimal example of what I have so far:
\documentclass[a4paper,12pt]{article}
\begin{document}
\begin{tabular}{c|c|c|c|c|c}
$*$ & $a$ & $b$ & $c$ & $d$ & $e$ \\\hline
$a$ & $a$ & $b$ & $c$ & $b$ & $d$ \\\hline
$b$ & $b$ & $c$ & $a$ & $e$ & $c$ \\\hline
$c$ & $c$ & $a$ & $b$ & $b$ & $a$ \\\hline
$d$ & $b$ & $e$ & $b$ & $e$ & $d$ \\\hline
$e$ & $d$ & $b$ & $a$ & $d$ & $c$
\end{tabular}
\end{document}
Is there an easy way to make the leftmost and topmost lines thicker?
Best Answer
You could define a thick version of
\hline
and a thick|
as new column type as I did below. Both are based on the original code, only the thickness got changed from\arrayrulewidth
to1pt
.On request here a definition of a thick version of
\cline
: