8

Code:

\documentclass{article}
\usepackage{multicol}

\begin{document}
\begin{multicols}{3}
  \[ \rho^1 = \left(\begin{array}{ccccc}1&2&3&4&5\\2&4&5&1&3\end{array}\right) \]
  \[ \rho^2 = \left(\begin{array}{ccccc}1&2&3&4&5\\4&1&3&2&5\end{array}\right) \]
  \[ \rho^3 = \left(\begin{array}{ccccc}1&2&3&4&5\\1&2&5&4&3\end{array}\right) \]
  \[ \rho^4 = \left(\begin{array}{ccccc}1&2&3&4&5\\2&4&3&1&5\end{array}\right) \]
  \[ \rho^5 = \left(\begin{array}{ccccc}1&2&3&4&5\\4&1&5&2&3\end{array}\right) \]
  \[ \rho^6 = \left(\begin{array}{ccccc}1&2&3&4&5\\1&2&3&4&5\end{array}\right) \]
\end{multicols}
\end{document}

Output:

output

Can I remove the vertical space in the first column?

  • 1
    Using the alignat* environment from »amsmath« might be the better option. – Thorsten Donig Sep 27 '13 at 16:40
  • @ThorstenDonig That's definitely a better solution, but I am curious as to why the problem exists to begin with. – Sean Allred Sep 27 '13 at 17:00
8

It isn't actually vertical space it is a horizontal box of paragraph text. You always get this if you start a paragraph with display math (which is why you should never do it). If you start display math in vertical mode TeX recovers by starting a paragraph then inserting the paragraph indentation box and horizontal \parfillskip glue then breaking the partial paragraph.

What this means is that you can do

\begin{multicols}{3}\noindent

To avoid the problem, but really you shouldn't be in the situation anyway.

enter image description here

| improve this answer | |

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.