On 2 ���� 2002 20:18, Herbert Voss wrote:
> Vitaly Lipatov wrote:
> > In LyX 1.1.6 I use modified style definition for Caption.
> > There is define
> > AlignPossible Left,Center
> > in definition I used.
> > I was possible to change alignment for Left to Center.
> > LyX 1.2.0 with center alignment of caption writes follow:
> > \caption{\begin{center}The text of my caption\end{center}}
> > LaTeX think it is not correct code and I get error in this line.
> > Any suggestions?
...
> > AlignPossible Left,Center
>
> this is wrong! You can have only one (!) alignment which
> belongs to the definition in the classfile. If you
> change the alignement to center then LyX does it like
> for other paragraphs too, and this is wrong for captions.
I understand it, but I need different alignment for
table and figure floats. I can realize it with LaTeX but I
hoped LyX can display it difference between my floats.
>
> Have a look into your documentclass for the default
> aligment fpr captions and choose this one for the
> LyX-layout or define anotherone with some special
> preamblecode in the "Style Caption"
Ok I will do so.
Thank you for your explain.
--
Lav
������� �������
���� "���� ������� �������������� � ����������", �����-���������
GNU! Linux! LaTeX! LyX!