Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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]?

share|improve this question
    
Welcome to TeX.sx! A tip: You can use backticks ` to mark your inline code as I did in my edit. –  Torbjørn T. Feb 22 '13 at 14:10
1  
1.5pt would show very thick rules. –  egreg Feb 22 '13 at 14:15
add comment

1 Answer

up vote 5 down vote accepted

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}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.