I am struggling to make a small change to the Table of Contents of my amsbook document in LyX. Basically, I just want to change the ToC to say

1.   Something

instead of

Chapter 1.  Something

as it does currently (so, basically get rid of the Chapter bit). I would like to keep the Appendix name in the ToC, probably.

I've already redefined \@makechapterhead to fix the chapter headings.

I've tried to cut down my LyX document to something minimal which builds. There's probably more which could be taken out, but hopefully it's brief enough to understand!





%Change (numbered) chapter style to something more plain
\global\topskip 2.5pc\relax
    \thechapter\enspace\enspace\enspace #1\par \endgroup
  \skip@34\p@ \advance\skip@-\normalbaselineskip
  \vskip\skip@ }

% Change (un-numbered) chapter style to something more plain
\global\topskip 2.5pc\relax
  #1\par \endgroup
  \skip@34\p@ \advance\skip@-\normalbaselineskip
  \vskip\skip@ }

% Make chapter lines of TOC be BOLD
\def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{\bfseries}}




\section{First Section}
\section{Second Section}
Some text

\chapter{Something Else}
\section{Another Section}


\chapter{Something in Appendix}


1 Answer 1


The macro responsible for inserting "Chapter" is \tocchapter; just redefine it to


The original definition has \ignorespaces #1 #2.\quad; #1 and in the .toc file you find

\contentsline {chapter}{\tocchapter {Chapter}{1}{Something}}{2}

so you can see that Chapter is argument #1 to \tocchapter.

A good place for the redefinition is just above where you redefine \l@chapter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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