Hi all,<br><br>I was wondering whether someone can help me with these formatting problems which occurred writing my thesis.<br><br>My main file looks like this: <br> <p>\documentclass[12pt,a4paper]{report} <br> </p><p>\usepackage[dvips]{graphicx} 
<br> \usepackage{fancyhdr} <br> \usepackage{setspace} <br> \usepackage{times} <br> \usepackage{mathptmx} <br> </p><p>\usepackage{cite} <br> </p><p>\DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{`zcat #1} <br> ........... <br>
 </p><p>\setlength{\textheight}{229mm} <br> ............. <br> </p><p>\setcounter{secnumdepth}{3} <br> \setcounter{tocdepth}{4} <br> </p><p>\onehalfspacing <br> </p><p>\begin{document} <br> \include{cover} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;% This is the front page 
<br> \include{abstract} &nbsp; &nbsp; &nbsp; % Apstract <br> \include{acknowledge} % Acknowledgements <br> \include{declare} &nbsp; &nbsp; &nbsp; &nbsp;% (optional) - declarations of previous <br> papers <br> \tableofcontents <br> \listoffigures <br> \listoftables 
<br> </p><p>\pagenumbering{arabic} <br> \pagestyle{fancy} <br> \fancyhead[L]{\textsl{\chaptername\ \thechapter}} <br> \fancyhead[C]{\textsl{\leftmark}} <br> \fancyhead[R]{\thepage} <br> \fancyfoot[C]{} <br> \renewcommand{\headrulewidth}{
0.4pt} <br> \renewcommand{\chaptermark}[1]{\markboth{#1}{}} <br> </p><p>\include{chapter1} <br> ........ <br> </p><p>\bibliographystyle{plain} <br> \addcontentsline{toc}{chapter}{\numberline { }Bibliography} <br> \bibliography{thesis} 
<br> \appendix <br> \include{appendix-queries} <br> \include{appendix-queries2} <br> \end{document} <br> </p><p><span style="font-weight: bold;">My thesis appendices</span> are done like this: <br> </p><p>\chapter{Expanded queries} 
<br> \label{appendix-queries} <br> \centerline{\rule{149mm}{.02in}} <br> \vspace{2cm} <br> </p><p>\section{Example queries} <br> .... <br> </p><p>The problem is that Latex outputs generates: <br> </p><p>Chapter A as left-hand heading instead of Appendix A 
<br> </p><p>This occurs in the bibliography too, which as left-hand heading, oddly, <br> inherits the conclusion chapter&#39;s headings (I am pretty confused about it!). <br> </p><p>Any help and/or advice about it will be more than welcome!
<br> </p><p>Many Thanks for your help! <br> </p>I. <br>