On Wed, 14 Mar 2001, Dekel Tsur wrote:

> On Wed, Mar 14, 2001 at 09:56:36PM +0100, Herbert Voss wrote:
>
> > >> p{2cm}<{\raggedleft}
> > >
> > >
> > > You probably meant <{\raggedleft}p{2cm}, but this will generate the same
> > > error since \raggedleft redefines the \\ macro.
> >
> > no, i meant exactly that!
> >
> > the tex-code for my demo-table is:
> >
> > \begin{tabular}{|m{1cm}|c|c|c|p{2cm}<{\raggedleft}|}
> >
> > why should this generate an error?
>
> I got a little bit confused...
> Your suggestion will not generate an error, but it will work only if there
> is one paragraph in each cell.

it works for more than one paragraph, because it's pure latex.
you'll get some problems, if you changed horizontal behaviour
_before_ you write p{2cm}<...  lyx don't delete all commands when
writing p{2cm}<.... in the alignment field.

Herbert

Reply via email to