TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the docoumentclass amsart. Two things I don't like:

  1. The table of contents (TOC) looks kind of poor, is there an easy way to change it? I like it from article more.

  2. If I use \section*{bla} it still appears but without number in the TOC. How can I make a section that does not appear in the TOC?

share|improve this question
For the second part see barbara beeton's answers to this question – Carsten Thiel Jan 27 '11 at 13:09
I've marked your inline code with backticks `. – Hendrik Vogt Jan 27 '11 at 13:53
Thank you. Carsten: somehow I didn't find this answer via google... – Marcel Jan 27 '11 at 14:10
I said something about the TOC in this post at the LaTeX Community forums, though honestly I don't know why you'd use amsart unless you were being forced to. – frabjous Jan 27 '11 at 16:17
Thank you. Is there a problem with amsart? It is not the worst layout, is it? – Marcel Jan 27 '11 at 16:26
  1. You could use a package for customizing the TOC, such as tocloft or titletoc.

  2. is answered by Carsten. If you still need information, let us know.

share|improve this answer

in the meanwhile I solved the problem (found it somewhere else

\ifnum #1>\c@tocdepth % then omit
    \par \addpenalty\@secpenalty\addvspace{#2}% 
\begingroup \hyphenpenalty\@M
      \@tempdima\csname r@tocindent\number#1\endcsname\relax
 \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax
 \rightskip\@pnumwidth plus4em \parfillskip-\@pnumwidth
 #5\leavevmode\hskip-\@tempdima #6\nobreak\relax
 \ifnum#1<0\hfill\else\dotfill\fi\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.