tex >> blank space in matrix column

by hendrik.chaltin » Fri, 26 Sep 2003 03:48:58 GMT

Dear colisters,

If I write
$\left ( \begin{smallmatrix}x_1 \\ \vdots \\ x_n \end{smallmatrix}
\right ) $, a blank space appears between x_1 and the dots. Is there
a way to avoid this?



tex >> blank space in matrix column

by hartmut_henkel » Fri, 26 Sep 2003 04:32:05 GMT

This vertical space seems to be part of the LaTeX \vdots definition. For
correction you could e. g. write:

\begin{smallmatrix}x_1 \\[-6pt] \vdots \\ x_n \end{smallmatrix}

Greetings Hartmut
Hartmut Henkel, Oftersheim, Germany

tex >> blank space in matrix column

by Dan Luecking » Fri, 26 Sep 2003 06:35:27 GMT

On 25 Sep 2003 12:48:58 -0700, XXXX@XXXXX.COM (Hendrik

[You forgot to write that amsmath is needed to compile this.]

There are really two problems: the \vdots command doesn't adjust
its size even when font size is changed. This can be fixed with

The other is the space at the top of the \vdots, which is
unfortunately built-in to the definition. The best one can do
for now is negate some of it with \\[-3pt] (or whatever). \smallmatrix
is a special environment with smaller than normal \baselineskip.
\vdots is designed to appear roughly centered between the bottom of
the line above and the top of the line below. It pretty much counts on
the \baselineskip being normal (and the lines surrounding it not
containing anything too deep or too tall).


Dan Luecking Department of Mathematical Sciences
University of Arkansas Fayetteville, Arkansas 72701
luecking at uark dot edu

tex >> blank space in matrix column

by hendrik.chaltin » Fri, 26 Sep 2003 20:29:43 GMT

Hartmut, Dan

Thanks a lot.
[-6pt] does not change much, but [-10pt] does the job. However, it
would be nice if Dan's package could get the dots a bit closer to
The mathdots package does not seem to be part of Gerben's
distribution, as I get an error message. And, if I am not mistaken, it
is not on CTAN.org.
Where can I find it?
Thanks a lot.


tex >> blank space in matrix column

by hendrik.chaltin » Mon, 29 Sep 2003 06:05:44 GMT


Thanks for making available mathdots.sty.


tex >> blank space in matrix column

by Lars Madsen » Mon, 29 Sep 2003 16:35:44 GMT





/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Remember to post minimal working examples.

Similar Threads

1. Matrix, Column size and automatic spacing

How can one make a column actually span multiple columns?

I have an orderly matrix where one element per columns/row except in some 
cases where a row consists of an element that should span multiple columns.

e.g., I might want to display the matrix of integers but for some rows I 
want to just display a text string that takes up the whole row. (this is 
just an example, I know I could just use multiple matrices to do that which 
I don't want to do here because it clutters up everything)

2. increasing row/column spacing in matrix

3. putting wide matrix into one column in a two-column setting

I have a 14x14 matrix which is too wide to be put into one column in a
two-column typesetting. I wonder how to get around this problem
without having to breaking the matrix into two 14x7 matrices. Thanks.

4. [solved] matrix row and column numbers (indices)

5. matrix row and column numbers (indices)

6. matrix with multiline/column diagonal dotted lines

7. line through matrix column or row

8. matrix/tabular with 12 columns...