Basically I have created two appendices named "Appendix A" and "Appendix B". But in my table of contents I get "Appendix C:*". I do not want the Appendix C how do i remove this please.
Here is my latex coding:
Code: Select all
\documentclass[12pt]{article}
\setlength{\textheight}{25cm}
\setlength{\voffset}{-2cm}
\setlength{\textwidth}{15cm}
\setlength{\hoffset}{-1.0cm}
\usepackage{epsfig}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{graphicx}
\usepackage{youngtab}
\usepackage[all,web]{xypic}
\usepackage{html}
\newtheorem{lemma}{Lemma}[section]
\theoremstyle{definition}
\newtheorem{defn}[lemma]{Definition}
\newtheorem{ex}{Example}[section]
\newtheorem{thmn}{Theorem}[section]
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\setlength{\belowcaptionskip}{5pt}
\DeclareMathSizes{11.5}{19}{13}{9}
\usepackage[tight,hang]{subfigure}
\usepackage{appendix}
\makeatletter
\newcommand\appendix@section[1]{%
\refstepcounter{section}%
\orig@section*{Appendix \@Alph\c@section: #1}%
\addcontentsline{toc}{section}{Appendix \@Alph\c@section: #1}%
}
\let\orig@section\section
\g@addto@macro\appendix{\let\section\appendix@section}
\makeatother
\appendix
\section{Additional Data}
\label{c}
\subsection{Definition of an infinite geometric series}
\subsection{Proof of Jacobi's identity}
\appendix
\section{Computing}
\subsection{series}
\subsection{Computing code}
\begin{thebibliography}{99}
\bibitem{K}
\label{b}
Norman
\end{thebibliography}
\end{document}
Many Thanks
Sinita