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.

Is it possible to increase the linewidth of tables like it's possible to set the linewidth in PSTricks?

Maybe you could show me how to do it on this example:

\begin{tabular}{c|c|c|c}
    \hline
    1 & 2 & 3 & 4\\
    \hline
    5 & 6 & 7 & 8\\
    \hline
\end{tabular}
share|improve this question
    
If you also need the space between columns, use \tabcolsep macro. –  I am who I say I am Sep 5 '12 at 9:18
add comment

2 Answers

up vote 3 down vote accepted
 \setlength\arrayrulewidth{1cm}

before the table will make the lines thicker

share|improve this answer
    
Simple and solves my problem. THX! –  PascalTurbo Sep 3 '12 at 11:21
add comment

with package booktabs you can use an optional argument.

\documentclass[12pt]{article}
\usepackage{booktabs}
\setlength\aboverulesep{0pt}
\setlength\belowrulesep{0pt}

\begin{document}

\begin{tabular}{c|c|c|c}\toprule[3pt]
    1 & 2 & 3 & 4\\     \midrule[2pt]
    5 & 6 & 7 & 8\\     \bottomrule[1pt]
\end{tabular}

\end{document}

enter image description here

the setting

\setlength\aboverulesep{0pt}
\setlength\belowrulesep{0pt}

is only for compatibilty to standard LaTeX. It is better not to use these two lines.

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.