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 just discovered the Latex command \addlinespace which increases the whitespace between the rows in a table. I was wondering if there is a command like that to increase the whitespace between the columns?

share|improve this question
    
For this you could (should) define a new column type. So, \usepackage{array}\newcolumntype{R}{@{\hspace{\dimexpr2\tabcolsep+3pt}}r} and then \begin{tabular}{rRRRR}. Try it. –  Werner Jan 3 '13 at 18:56

1 Answer 1

Whether to be applied to one table:

\documentclass{article}

\begin{document}

\begingroup\addtolength{\tabcolsep}{3mm}
\begin{tabular}{|c|c|c|}
\addlinespace{3mm}
a & b & c
\end{tabular}
\endgroup

\end{document}

Whether to be applied globally:

\documentclass{article}

\addtolength{\tabcolsep}{3mm}

\begin{document}

\begin{tabular}{|c|c|c|}
\addlinespace{3mm}
a & b & c
\end{tabular}

\end{document}
share|improve this answer

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.