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.

Partial code of my main file:

\pagenumbering{arabic}
\setlength{\headheight}{12pt}
\pagestyle{plain}
\include{chap1} 
\include{chap2}
\include{ch3}
\include{Experiment} % Extract Correlation
\addcontentsline{toc}{chapter}{ \hskip 4em References}
\bibliographystyle{apacite}
\bibliography{SpecialStudy}

\newpage
\pagestyle{plain}
\theappendix
\addcontentsline{toc}{chapter}{ \hskip 4em Appendixes}
\include{appendixA_refactoring_approach}

With this code I'll get:

     // bah bah bah
3    Test0
     3.1 hello
     3.2 hello2
4    Test1
     4.1 Intro
     4.2 Experiment Objective
     4.3 Research Question
     References 
     Appendixes

I really want to number References and Appendixes like below. How should I code?


3    Test0
     3.1 hello
     3.2 hello2
4    Test1
     4.1 Intro
     4.2 Experiment Objective
     4.3 Research Question
5    References
6    Appendixes 

share|improve this question

migrated from stackoverflow.com Jul 27 '11 at 22:37

This question came from our site for professional and enthusiast programmers.

1  
It's been answered on comp.text.tex –  Bertrand Marron Jul 27 '11 at 12:46
1  
You should also provide the class you're using and the packages related to the bibliography (natbib, for example). Also the code for the appendix is not clear. –  egreg Jul 27 '11 at 23:32

2 Answers 2

For the standard classes have a look at the tocbibind package. Other classes like memoir or those from the KOMA Script bundle have built-in features. For the appendix you probably need the appendix package in some cases.

share|improve this answer

If you use the package apacite, you can have a numbered bibliography by

\usepackage[numberedbib]{apacite}

For the appendices, I suggest

\chapter{Appendices}

and then using \section to start each appendix. My studies of Latin make me prefer this form of the plural.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.