Pascal Schweizer wrote:

The suggested solution back then was: set the width of that
particular column to a fixed amount

Can anybody help me out how to do that in LaTex (example code)? I am
currently still using LaTex, not Lyx...


\begin{tabular}{p{3cm}c}
... table contents ...
\end{tabular}

creates a two column table and sets the first column's width to 3cm (and justifies the text). To center the text, change the first line to

\begin{tabular}{>{\centering}p{3cm}c}

(use \raggedleft or \raggedright in lieu of \centering for other alignments).

Incidentally, an easy way to discover this, assuming you have LyX installed, is to start a new document in LyX, insert a table, tinker with it using the LyX table dialogs and then use View -> View Source to see what it looks like in LaTeX.

/Paul

Reply via email to