[OS X TeX] Shallow table of contents

Aaron Jackson jackson at msrce.howard.edu
Tue May 18 05:22:40 CEST 2010


Change tocdepth to what the depth you want i.e.

\setcounter{tocdepth}{3}

for chapters, sections and subsections.

Aaron

On May 17, 2010, at 9:05 PM, Ferguson, Don wrote:

> Greetings All,
>
> I am using \documentclass{amsbook} and within it want a table of  
> contents. The current setup includes:
>
> Title page
> Preface
>
> and then I want the Table of Contents to be listed. The source file  
> reads
> ----------------
> % end of preface
>
> \newpage
> \chapter*{Table of Contents}
> \tableofcontents
>
> \mainmatter
> ... and so forth
> ----------------
>
> A table of contents is produced but it only includes entries for  
> 'chapter' and 'sections'. Would like entries for 'subsections' and  
> 'subsubsections' as well. Since I have read documents which do have  
> the "deeper" table of contents, there must be some way to so specify.
>
> So far any docs I've read say nothing about how to include  
> 'subsections' and 'subsubsections'. Where should I be looking and  
> how is it done?
>
> Many thanks and
>
>
> Cheers   Don  (Green Dragon)
> -- 
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>




More information about the macostex-archives mailing list