In a normal table, you can use the
\hline command to draw a horizontal line. I am trying to make this line a dashed horizontal line.
I have found the package
dashrule via this answer, but this only works for
\rule situations; i.e. it can't be directly used as a line in a table, and LaTeX won't compile it. Conversely, I've tried wrapping the
\hdashrule in a multicolumn:
However, the padding around the table cell breaks the flow of the table, and the horizontal rule is not aligned with the other
\hlines of the table. (It also means that the rule width must be specified manually.)
Is there any way to make a
\hline dashed without resorting to tables-in-tables? Can you force a single table cell to have no vertical or horizontal margins and padding?