# [texhax] Peculiar behavior of latex \section

Michael Barr barr at math.mcgill.ca
Tue Jul 15 01:57:31 CEST 2008

To tell the truth, I am not sure.  It was done by an author of a paper for
the online journal I am tex editor for.  He complained that our cls file
was defective in this regard.  I quickly discovered that article.cls (from
which most of our style is copied) is just as bad.  He now claims that
amsart fixes it.  Maybe I should look at that.  In any case, he has now
worked around it, but I thought I might raise the question anyway.  I
suspect that anything that puts tex in horizontal mode before the secnd
brace would fix it.

Now that I recall it had something to do with avoiding a bad pagebreak.

Michael

On Tue, 15 Jul 2008, Reinhard Kotucha wrote:

> Michael Barr writes:
>
> > {\section{Section one}}
>
> What I don't understand is what the curly braces around \section are
> good for.
>
> Regards,
>  Reinhard
>
>