I've searched the topic and found the following two answers.
Answer 1. LaTeX tables: How do I make bold horizontal lines (typically \hline
)?
The best answer suggests to use booktabs
. However booktabs
documentation says:
A somewhat technical note: within a
longtable
,\hline
and\hline\hline
both produce a double rule (to allow for page breaks occurring at that point). But thebooktabs
rules do not. Longtable’s automatic doubling of\hline
is questionable, even according to the documentation within that package. But doubledbooktabs
rules make almost no sense at all. In the unfortunate event that abooktabs
rule should occur at a page break, then you will have to make the necessary adjustments by hand. (In general, this will mean deleting the offending rule.)
That's not the way it works. I don't want to make any more adjustments by hand since there are already a lot of things to be checked over.
Answer 2. Longtable does not break correctly when used with \specialrule
instead of \hline
Here the author have faced the problem described above. He'd tried to use \specialrule
from the booktabs
package but the output at page break was buggy. The solution was to use normal \hline
with previously adjusted \arrayrulewidth
. Unfortunately, this can be applied only to the whole longtable, but not to the individual \hline
.