On Mon, May 12, 2008 at 4:46 AM, Robert Neumann <[EMAIL PROTECTED]> wrote: > stupid question, but I couldn't figure it out using the manual, I allways get > error-messsages. > > I'm using titlesec and I just want my section*-title centered instead of the > default left alignment. > > I use Lyx 1.37 with the document-class article. > thanks Robert > >
I had trouble with the titlesec package also. I would just use the sectsty package. \usepackage{sectsty} \sectionfont{\centering} You can check the documentation for more options like: \sectionfont{\nohang\centering} So that the longer titles aren't indented. Cheers, /Bob