How can I center the column when using X in tabularx environment like in this example?
\begin{tabularx}{\textwidth}{@{}lXXXXX@{}}
1 & 2 & 3 & 4 & 5 \\
\end{tabularx}
|
How can I center the column when using X in tabularx environment like in this example?
|
||||
|
You have two solutions (well at least) If you are bound to
Alternatively you can use the
|
|||
|
|
with |
||||
|
|
|
Although this question is somewhat old, since I recently dealt with the same task, I present my solution: I defined a new columntype In the preamble define:
to typeset the example simply enter
|
||||
|
|
cinstead ofX. – m0nhawk Jan 3 at 20:37