I have table that has long headers and I would like to specify width of the column, but also be able to remain it's centred position.
Something like |c{0.30\textwidth}|.
It is possible? How to achieve this effect?
|
I have table that has long headers and I would like to specify width of the column, but also be able to remain it's centred position. Something like It is possible? How to achieve this effect? |
||||
|
|
|
You could use the array package. It provides a way add a
The general syntax is |
|||||
|
|
In addition to Stefans answer: If you use centered columns with a fixed width quite often, you can define a new column type:
The "x" column takes its width as argument. In your document, you would write e.g.
EDIT: Thanks to an answer from Ulrike Fischer on the German-speaking forum mrunix.de, I learned that there is still room for improvement: One might want to manually break lines within a cell of a "centered" p-column, but
|
||||
|
|