I tried adding a section of code in the .tex file instead of changing the .cls file. The appendix appears on the Table of contents now but the formatting is all wrong. Can you help me fix that? I have attached a screenshot of the .tex file and the output of what I see. Thanks
This was the code which ...
Search found 6 matches
- Mon Jun 13, 2011 6:06 pm
- Forum: Text Formatting
- Topic: Adding Appendix to Table of Contents
- Replies: 12
- Views: 11012
- Fri Jun 10, 2011 7:53 pm
- Forum: Text Formatting
- Topic: Adding Appendix to Table of Contents
- Replies: 12
- Views: 11012
Re: Adding Appendix to Table of Contents
I have attached the .clo file as a text file as I wasn't able to attach it with the .clo extension. The initial .tex file I sent had an error so i am attaching it here again. The .clo file also defines the table of contents section and it seems to interfere with the .cls file. Can you rename the ...
- Fri Jun 10, 2011 7:40 pm
- Forum: Text Formatting
- Topic: Adding Appendix to Table of Contents
- Replies: 12
- Views: 11012
Re: Adding Appendix to Table of Contents
Oh.. I get it now. I dont see that though. The TOC just has chapters for the appendices and the chapter titles. It doesnt have a chapter chapter like yours. If it's the same .cls file I am not sure why there is a difference.
- Fri Jun 10, 2011 7:19 pm
- Forum: Text Formatting
- Topic: Adding Appendix to Table of Contents
- Replies: 12
- Views: 11012
Re: Adding Appendix to Table of Contents
Removing the chapter in the cls file and replacing it with appendix changed all the sections of the table of contents to appendix. The cls file is written such that it treates the appendix as a chapter. I would need to add an exception so that it recognizes it as not a chapter but an appendix and ...
- Wed Jun 08, 2011 6:24 pm
- Forum: Text Formatting
- Topic: Adding Appendix to Table of Contents
- Replies: 12
- Views: 11012
Adding Appendix to Table of Contents
We do define our own class. I have attached the class file here. There is also a .clo file which for some reason I am not able to attach here. They have defined the appendices as chapters and so when it appears in the table of contents, it calls it a chapter and not appendix. I have attached the ...
- Mon Jun 06, 2011 7:28 pm
- Forum: Text Formatting
- Topic: Adding Appendix to Table of Contents
- Replies: 12
- Views: 11012
Adding Appendix to Table of Contents
Hi all,
I am trying to add appendices to the table of contents but it recognises it as chapters and hence calls them as chapters in the table of contents.
\def\appendix{\par
\setcounter{chapter}{0}
\setcounter{section}{0}
\def\@chapapp{APPENDIX}
\def\thechapter{\Alph{chapter}}}
This is how ...
I am trying to add appendices to the table of contents but it recognises it as chapters and hence calls them as chapters in the table of contents.
\def\appendix{\par
\setcounter{chapter}{0}
\setcounter{section}{0}
\def\@chapapp{APPENDIX}
\def\thechapter{\Alph{chapter}}}
This is how ...