7

I have a LaTeX document and want to change the thickness of \toprule and \bottomrule to 1.5pt. Is there a way to do this with the \renewcommand or do I have to change every \toprule to \toprule[1.5pt]?

2

1 Answer 1

8

The default width of those rules is defined by the length \heavyrulewidth, so you can change this with \setlength\heavyrulewidth{<length>}. For example

\documentclass{article}
\usepackage{booktabs}
\setlength\heavyrulewidth{1.5pt}
\begin{document}

\begin{tabular}{c}
\toprule
Some text \\
\bottomrule
\end{tabular}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .