🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2533

Re: Subsubsection title in report's table of contents

#2533
From: Anita Zanolini Hoover
Date: Thu, 20 Aug 1992 13:11
21 lines
1568 bytes
In article <86590@netnews.upenn.edu> degraff@linc.cis.upenn.edu (Michel F. DeGraff) writes:
=>For some reason, LaTeX would not insert subsubsection titles in the table of
=>contents of a report-style document.  This happens even though the title of the
=>subsubsection is included in the .toc file as follows:
=>
=>\contentsline {chapter}{\numberline {1}Introduction}{1}
=>\contentsline {section}{\numberline {1.1}Objectives}{1}
=>\contentsline {section}{\numberline {1.2}Methods}{5}
=>\contentsline {subsubsection}{First Method}{12}
=>\contentsline {subsubsection}{Second Method}{13}
=>

There is a counter that LaTeX uses to determine the level of entries
that should appear in the TOC.  By default this counter is 2, which
means only chapter and section will produce entries that appear in the
TOC.  Just change this to 4 if you want subsection and subsubsection
to appear.  Put the following in the preamble area (after \documentstyle
and before \begin{document})


\setcounter{tocdepth}{4}
Technical Details
Message-ID: <BtA9z6.EA0@news.udel.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!news.udel.edu!ravel.udel.edu!anita
References: <86590@netnews.upenn.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!news.udel.edu!ravel.udel.edu!anita
From: anita@ravel.udel.edu (Anita Zanolini Hoover)
Subject: Re: Subsubsection title in report's table of contents
Message-ID: <BtA9z6.EA0@news.udel.edu>
Keywords: LaTeX, .toc, subsection
Sender: usenet@news.udel.edu
Nntp-Posting-Host: ravel.udel.edu
Organization: University of Delaware
References: <86590@netnews.upenn.edu>
Date: Thu, 20 Aug 1992 13:11:29 GMT
Lines: 22