I used the following command for setting up an appendix section:
\setcounter{section}{0}
\renewcommand{\theequation}{\Alph{section}.\arabic{equation}}
\renewcommand{\thesection}{\Alph{section}}
(I don't want to use \appendix)
Equations work fine, they have A.1, A.2, etc. Yet, whenever I refer to an appendix in the text using ~\ref{appendix:name_of_appendix}, I get a consecutive number from the sections (a numeral) instead of a reorder appendix section name (A, B, C, etc.).
Any ideas what's wrong? (I re-ran pdflatex several times.)
I use it as follows:
We see in Appendix~\ref{appendix:a} that ...
[...]
\setcounter{section}{0}
\renewcommand{\theequation}{\Alph{section}.\arabic{equation}}
\renewcommand{\thesection}{\Alph{section}}
\section*{Appendix A: xxx}
\label{appendix:a}
\section*a typo? – Willie Wong Oct 11 '10 at 22:58\appendixfor your needs. – Lev Bishop Oct 11 '10 at 23:23