I am just trying to get the table to look like the picture in the LaTeX Wiki book:
In this example shown, the very top and bottom \hline
are thicker and darker than the ones in the middle of the table. The example does not show any special formatting, but when I do this in my document they all have the same thickness and darkness (the lines are all identical). I want the horizontal \hline
to be thinner and lighter in the middle of the table as shown in the picture. Playing with the height and width had no discernible effect on this from what I could tell. How do I do this?
Best Answer
You can define your own
\thickhline
which is based on\hline
, but with a different\arrayrulewidth
:In the above example,
\thickhline
inserts an\hrule
that has a width double that of\arrayrulewidth
. The latter has a default of0.4pt
. You can change\thickhline
's width to whatever you want by adjusting\thickarrayrulewidth
.