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 have the following problem: I would like to use the m column type in a longtable. But if I typeset

\documentclass{minimal}
\usepackage{longtable}
\begin{document}
    \begin{longtable}{p{5cm}m{5cm}}
        skdlbf & asljkdh\\
    \end{longtable}
\end{document}

I get an error about an Illegal character in array arg in the line of \begin{longtable}{..}. If I change the m to a p, all runs well.

So why does longtable not support the m (and b) column type? Am I missing a package?

share|improve this question

1 Answer 1

up vote 5 down vote accepted
\usepackage{array}

That's the solution.

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.