I found something useful :
the ">{\PBS\centering\hspace{0pt}}p{...}"
alignment can be written as a function
using the \newcolumntype definition
(see the array package documentation).
(To summarize)
If I write in the preamble :
\usepackage{array}
\newcommand{\preserveBackslash}[1]{\let\temp=\\#1\
[EMAIL PROTECTED] wrote:
> 2. I wasn't able to read your
> attached file without destroying
> the tables. (Your LyX version is 1.1.,
> mine is 1.0.4) but I have noticed that
it's a good idea to upgrade, tables have better
support.
> in the preamble you use the
> package tabularx. It seems to
>
>> It almost works ! :
>> As far as the last column is not
>> set to this command, it is OK !
>> But, if the last column is also set
>> the horizontal lines between rows
>> are misplaced !! I attach a lyx and
>> dvi files with examples.
>> Do you get the same problems
>
>sorry, I forgot the p
[EMAIL PROTECTED] wrote:
>
> >> ...
> >
> >">{\centering\hspace{0pt}}p{2cm}"
> >
>
> It almost works ! :
> As far as the last column is not
> set to this command, it is OK !
> But, if the last column is also set
> the horizontal lines between rows
> are mi
[EMAIL PROTECTED] wrote:
>
> >> ...
> >> For example, I can't do this simple table :
> >> -
> >> | 1 | 2 |
> >> -
> >> where each column has the same fixed width
> >> and each colum
>> ...
>> For example, I can't do this simple table :
>> -
>> | 1 | 2 |
>> -
>> where each column has the same fixed width
>> and each column is centered.
>
>in preamble
>\usepackage
[EMAIL PROTECTED] wrote:
>
> Hi, I am using LyX 1.0.4 and I can't center a column
> in a table once I have given a width to it (see the
> end
> of the message for an example)
>
> 1. This problem has already been asked few months ago
> in
> the lyx-users list but I didn't understand what is
> the
Hi, I am using LyX 1.0.4 and I can't center a column
in a table once I have given a width to it (see the
end
of the message for an example)
1. This problem has already been asked few months ago
in
the lyx-users list but I didn't understand what is
the
latest recommended version to do that ?
2. A