On Tue, Jan 29, 2002 at 10:37:36PM -0300, Roberto Hernandez wrote:
> My university has some strange format requirements, and I need to ask 
> for some help on one issue.
> 
> I need to have a regular table of contents, except for one thing. 
> Starting with the appendix, the TOC entries can't have the dotted line 
> or the pagenumber:
> 
> ----------------------------------
> PART I. .......... pg
> Chapter 1 ........ pg
>    Section 1.1 .... pg
> ...
> ...
> 
> APPENDIX
> 
> A. Title
> A.1 Title
> ...
> 
> B. Title
> B.1 Title

Write the following in the preamble:
\usepackage{tocloft}
\let\oldappendix=\appendix
\def\appendix{\oldappendix
\addtocontents{toc}{\cftpagenumbersoff{chapter}
\cftpagenumbersoff{section}
\cftpagenumbersoff{subsection}}}

(you might need to install the toclof package)

Reply via email to