Discussion:
The documentclass "Book (AMS)" adds unnumbered sections to ToC
Enders
2012-11-18 15:27:21 UTC
Permalink
The documentclass "Book (AMS)" adds unnumbered sections to ToC.
Is that a feature of "Book (AMS)" or a bug?
Richard Heck
2012-11-20 18:56:48 UTC
Permalink
Post by Enders
The documentclass "Book (AMS)" adds unnumbered sections to ToC.
Is that a feature of "Book (AMS)" or a bug?
So far as I can see, the AMS book class does act this way. We have:
\ifnum#2>\@m \else \@tocwrite{#1}{#8}
and in the starred case #2 just gets set to \@m (which is defined as 1000).

Richard
Steve Hnizdur
2012-11-25 22:09:03 UTC
Permalink
Hi

This is a "feature" of the AMS style. I had the same problem and AMS
wrote to me:

"the ams document classes differ in several significant respects from
the "basic" latex classes, since their purpose is to support ams style.
one of these differences is in the handling of chapter and
(sub)section titles, which, for ams style, *do* appear in the table of
contents; to suppress them, extra measures must be taken.

the recommended approach is presented in our author faq:
http://www.ams.org/author-faq
the exact question is
How can I omit or change a heading in the table of contents?

the approach consists in defining in the preamble a command
\DeclareRobustCommand{\SkipTocEntry}[4]{}
and then invoking it immediately before the code that triggers an entry
to the toc in this way:
\addtocontents{toc}{\SkipTocEntry}"

Hope that helps
Post by Richard Heck
Post by Enders
The documentclass "Book (AMS)" adds unnumbered sections to ToC.
Is that a feature of "Book (AMS)" or a bug?
Richard
--
Steve Hnizdur
Loading...