TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Basically I want a \vdotsfor command that does what \hdotsfor does but for vertical dots. Need to increase spacing of dots over two rows so it looks pretty instead of having to use two \vdots on both rows. (The other thread that is top-related to this has some code but it doesn't do anything for me.)

share|improve this question
"The other thread that is top-related..." Which other thread? – Willie Wong Apr 18 '11 at 13:19
Sorry, this: tex.stackexchange.com/questions/7656/… – P.A Apr 18 '11 at 13:21
Would this help: tex.stackexchange.com/questions/4746/… – morbusg Apr 18 '11 at 16:43

I'm not sue whether this is what the OP wants: basically I put vertical dots inside a \multirow command, adapting the spread to the number of rows spanned. The spacing doesn't work, so I provide an extra argument to shift the thing vertically.

    \vbox {%
      \baselineskip = \dimexpr 2pt\relax 
      \multiply\baselineskip by #2\relax
      \advance\baselineskip by 2pt\relax
      \lineskiplimit = 0pt\relax
      \kern 6pt\relax
      \vskip #1\relax%
      \hbox {.}\hbox {.}\hbox {.}}%
  1            & 2            & \cdots & 2 & 2      \\
  \vdotrows[4pt]{3} & 1       &        &   & 2      \\
               & \vdotrows{2} & \ddots &   & \vdots \\
               &              &        & 1 & 2      \\
  1            & 1            & \cdots & 1 & 1      \\
share|improve this answer

Your Answer


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.