I want to add label "Algorithm" to the numbering of list of algorithms, e.g.,
- Algorithm 1. Search
- Algorithm 2. Sort
I tried different solutions found here but does not work.
The main .tex file is here:
\documentclass[PhD]{msu-thesis}
\usepackage{algorithmic}
\usepackage{algorithm}
\title{Contributions to Computer-Aided Diagnosis of Prostate Cancer in Histopathology}
\author{Kien Nguyen}
\date{2013}
\begin{document}
\frontmatter
\maketitlepage
\include{Chapter_UpdateJune/abstract}
\clearpage
\include{Chapter_UpdateJune/acknowledgement}
\SingleSpacing
\clearpage
\listoftables
\clearpage
\listoffigures
\clearpage
\listofalgorithms
%\addtocontents{loa}{\def\string\figurename{Algorithm}}
%\renewcommand*{\thealgocf}{Algorithm~\arabic{algocf}}
%\addcontentsline{toc}{chapter}{List of Algorithms}
\mainmatter
%\include{Chapter_UpdateJune/ch1_intro_v2}
\include{Chapter_UpdateJune/ch2_glandseg_v7}
%\include{Chapter_UpdateJune/ch3_imageclassify}
%\include{Chapter_UpdateJune/ch3_nucleibased_v2}
%\include{Chapter_UpdateJune/ch4_retrieval_v2}
%\include{Chapter_UpdateJune/ch5_cytology_v3}
%\include{Chapter_UpdateJune/ch6_summary}
\backmatter
\makebibliographycover
\SingleSpacing
\bibliography{FullBib}
\bibliographystyle{IEEEbib}
\end{document}
Thanks
\documentclass{...}and ending with\end{document}. – karlkoeller Aug 03 '13 at 15:53algorithmpackage does in your .tex file, but never change the distribution files themselves. – jub0bs Aug 03 '13 at 16:22algorithmis an old package for latex209. You should try and use a new package, e.g.algorithm2e; with that package http://tex.stackexchange.com/a/1799/15925 works for me. – Andrew Swann Aug 03 '13 at 16:55