I'm trying to make a table in which most columns have the same width, and text in them is centered. However, the columns are very narrow, and the typical answer (make a new column type using \centering
) isn't working. LaTeX is making sure that there's some minimum padding on the left, resulting in this:
(Notice how IF is pretty well centered, but EX and MEM are absolutely not.)
Right now my custom column type is done like this:
\newcolumntype{C}{>{\footnotesize\centering\arraybackslash}m{1.5ex}}
Does anyone have any idea how I can get this text to be truly centered?
&
could be missing betweenMEM
andWB
. Please post the entire code for the tabular environment.\texttt{lw}&\texttt{\$t1, 0(\$s0)}&IF&ID&EX&MEM&WB&&&&&&&&&&&\\
\setlength{\tabcolsep}{<len>}
before thetabular
(or placing it inside a group to limit the scope of the change). Either fix<len>
or use something relative, like.5\tabcolsep
to reduce the current\tabcolsep
to 50% of its value.