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.

Is it possible to index the sub sections of an Appendix, both in the table of contents and the Appendix itself? At the moment, what I am getting is something like the picture attached; The subsections are indexed in both locations, yet the the capital letter (e.g. A) is missing and the numbering starts with a dot (.). Any ideas?

enter image description here

EDIT1: The same issue appears in the "List of Figures" and "List of Tables" as well. In that case, apart from capital A, dot is also omitted.

EDIT2: Here is the project.

share|improve this question
    
Please edit your question to provide examples of the code you're using at present or, better yet, a full MWE (minimum working example) that generates the issues you're trying to resolve. There are a lot of components involved in the creation of tables of contents, lists of figures and tables, and section headers as well; without knowledge of your specific setup, it's going to be difficult for anyone to provide a satisfactory solution. –  Mico Aug 19 '12 at 11:51
    
@Mico It is part of a big project and unfortunately I am newbie at LaTeX. Could I post the link of the template I am using? –  eualin Aug 19 '12 at 11:56
1  
You certainly can. Just be sure to include as much of the relevant LaTeX code as you can. Thanks. –  Mico Aug 19 '12 at 12:01
    
@Mico Thank you! Just uploaded the project. –  eualin Aug 19 '12 at 13:28
    
Instead of uploading your complete project please read: minimal working example (MWE) –  Marco Daniel Aug 19 '12 at 16:14

1 Answer 1

up vote 3 down vote accepted

I had a closer look at your project file. In my opinion your document class isn't a good choise.

Nevertheless your document class based on the standard document class book.

If you use the command \backmatter the internal conditional \if@mainmatter is set to false. This means that that \chapter doesn't get any number nor prefix.

To show this behavior here a little example:

\documentclass{book}

\begin{document}
\chapter{foo}
\backmatter
\chapter{bar}
\end{document}

Based on this information the level section with the prefix number \thechapter can be printed because you are using \backmatter.


At this point I want to recommend one of the modern document class memoir or scrbook. Both are well documented. I also recommend that you should avoid such templates. You will never know what the document class do.

share|improve this answer
    
thanks for your answer. I start using this template mainly because it was the best one I managed to found out there. I have almost finished my study, and now I just formatting the report. I don't think that I have the time to learn LaTeX from the beginning at this point, However, I very much appreciate your suggestions. But, could you please tell me again what should I do in order to fix that problem? –  eualin Aug 19 '12 at 17:53
    
@eualin: In this case for the future ;-) -- Nevertheless comment \backmatter . –  Marco Daniel Aug 19 '12 at 17:56
    
Apologise for the previous message. I wasn't quick enough to edit it before time-out expires. I tried to place \backmatter in the main file and the compile the project, but unfortunately it didn't work. Any ideas? –  eualin Aug 19 '12 at 18:05
1  
\backmatter is set in your main file. You have to remove it. –  Marco Daniel Aug 19 '12 at 18:10
    
It works! Thank you Marco! –  eualin Aug 19 '12 at 18:12

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.