11

Is there a setting I can input to the array environment, which will slightly increase the horizontal spacing between each entry?

I would appreciate it if you could test your code on the following example I am using:

\documentclass{article}
\usepackage{forloop}
\newcounter{loopcntr} 
\newcommand{\rpt}[2][1]{% repeat text
   \forloop{loopcntr}{0}{\value{loopcntr}<#1}{#2} } 
\begin{document}
\[ \begin{array}{*{5}{c}}
1 & 2 & 3 & 4 & \ldots \\
\rpt[4]{\downarrow &} \unskip \downarrow \\
x_{1}^1 & x_{1}^2 & x_{2}^1 & x_{1}^3 & \ldots \\
\end{array} \]
\end{document}

I want slightly more whitespace between each number, between each arrow, and between each x.

table.png

14

add something like

\setlength\arraycolsep{20pt}

before the array.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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