I have a formatting problem with my table of contents. Appendices appear as: "A This is the First Appendix". However, I would like to have: "Appendix A This is the First Appendix". Since I use special formatting (fncychap) for chapters and chapter*s, I do not want to use \chapter* and add a separate toc line. Thanks in advance! Lianne.
I added below my preamable, in case that's necessary info:
Code: Select all
%%%%%%%%%%%%%%%%%%%%%%%%
%%preamable
%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[10pt, twoside, openright]{report}
\usepackage[dvips]{graphicx}
\usepackage{verbatim}
\usepackage{subfigure}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{color}
\usepackage{picins}
\usepackage{sectsty}
\usepackage[Lianne]{fncychap}
\usepackage{fancyhdr}
\setlength{\paperheight}{240mm}
\setlength{\paperwidth}{170mm}
\setlength{\evensidemargin}{-5mm}
\setlength{\oddsidemargin}{0in} %% default is 1 inch, 2.5 cm
\setlength{\topmargin}{-5mm} %% default is 1 inch, 2.5 cm
\setlength{\textheight}{200mm}
\setlength{\textwidth}{125mm}
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[LE,RO]{\bfseries\thepage}
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\fancypagestyle{plain}{%
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\vspace*{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\graphicspath{{introduction/}{relatedwork/}{background/}{solution/}{case1/}{case2/}{mode4sla/}{conclusion/}{appendix/}}
\setlength{\marginparwidth}{1.2in}
\let\oldmarginpar\marginpar
\renewcommand\marginpar[1]{\-\oldmarginpar[\raggedleft\footnotesize #1]%
{\raggedright\footnotesize #1}}
\linespread{1.1}
\partfont{\raggedleft\huge\bf\rm\sectionrule{5ex}{1pt}{5ex}{1pt}}