[Tex/LaTex] LaTeX Error: Illegal character in array arg. : Table parameter “m{‘width’}”

tables

! LaTeX Error: Illegal character in array arg.

\begin{center}
\begin{tabular}{ | m{'1cm'} | m{'1cm'}| m{'1cm'} | } 
\hline
cell1 dummy text dummy text dummy text& cell2 & cell3 \\ 
\hline
cell1 dummy text dummy text dummy text & cell5 & cell6 \\ 
\hline
cell7 & cell8 & cell9 \\ 
\hline
\end{tabular}
\end{center}

I got the error for it. Any hint for me please ? Thank you

Best Answer

Remove the ' (single-quote) characters from the arguments of the m column type:

\begin{tabular}{ | m{1cm} | m{1cm}| m{1cm} | }

Addendum: It is assumed that you're loading the array package or a package (such as tabularx) that loads the array package. The array package defines the m column type.