Hello!

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?


Modified Caption style:

# Caption style definition
Style Caption
  Margin        First_Dynamic
  LatexType     Command
  LatexName     caption
  NeedProtect       1
  LabelSep      xx
  ParSkip       0.4
  TopSep        0.5
  Align         Left
  AlignPossible     Left,Center
  LabelType     Sensitive
  LabelString       Caption

  # label font definition
  LabelFont
    Series      Bold
  EndFont
End


-- 
Lav
GNU! Linux! LaTeX! LyX!

Reply via email to