Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to modify the Table of Contents by adding the words "CHAPTER NO", "CHAPTER NAME" and "PAGE NO" above the respective columns.

Presently my ToC looks like this...

            Acknowledgement     i
            Abstract            ii

1           Introduction        1
            1.1 Some heading    2

2           Similar way         4

I want it to look Like ...

Chapter No  Chapter Name    Page No

            Acknowledgement     i
            Abstract            ii

1           Introduction        1
            1.1 Some heading    2

2           Similar way         4

Any way I could go about accomplishing this? Also the same for List of Figures and List of Tables.

share|improve this question
    
Related: “Page” heading on contents tables –  Werner Apr 25 '12 at 16:25
1  
Which document class do you use? Have you made any changes to the default layout of the ToC? If so, please add the relevant info in your question. In any case, at least mention the document class used. –  Gonzalo Medina Apr 25 '12 at 22:02
    
I used the extreport class (tex.ac.uk/CTAN/macros/latex/contrib/extsizes/extreport.cls) I modified the toc to remove the dots \newcommand\@dotsep{4.5} No other changes to toc –  Naren Apr 26 '12 at 4:17

1 Answer 1

I didn't test it but adding a simple line can be done by:

\addtocontents{toc}{\makebox[2cm][l]{Chapter No.}\makebox[6cm][l]{Chapter Name}\hfill\makebox[2cm][l]{Chapter page}}

Maybe the commands must be protected by \protect. OF course you must setup the correct widths of the toc entries.

share|improve this answer

Your Answer

 
discard

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.