On Wednesday 27 March 2002 09:41, Guenter Milde wrote: [snippet] > > still more elegant: create a new LyX *.layout in your > ~/.lyx/layouts directory. > > Example for article: > > > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass{article (with empty centered headings)} > > Input article.layout > > Style Section > KeepEmpty 1 > Align Center > AlignPossible Left, Center, Right > End
I tried a similar thing once, the relevant part being # Heading style definition (adapted from Part*) Style Heading Margin Dynamic LatexType Command LatexName part NeedProtect 1 NextNoIndent 1 LabelType No_Label ParSkip 0.4 TopSep 4 BottomSep 4 ParSep 0.8 Align Center Alignpossible Left Center Right This comes out centre-aligned in LyX, but is still left-aligned in the output. Any idea what I'm doing wrong? Robin -- "Bravo Epictetus!" - Epictetus Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin