Consider the following:
\documentclass{memoir}
\usepackage{array}
\begin{document}
\begin{tabular}{l>{\raggedright}p{0.45\textwidth}}
foo & bar \\
one & two \\
three & four \\
\end{tabular}
\end{document}
It gives me the following error message:
! Extra alignment tab has been changed to \cr.
<recently read> \endtemplate
l.6 one &
two \\
?
Clearly I am doing something wrong but I just can't figure it out. Can someone explain it to me?
\arraybackslashafter\raggedright. (I'm pretty sure similar questions have been asked before, if I can't find one I can add an answer.) – Torbjørn T. May 28 '14 at 10:05\arraybackslashthing. I also looked in thearraypackage documentation but missed it there as well for some reason... – jonalv May 28 '14 at 10:16