My problem is that I do not know how to disable the numbering for algorithms. I have created an algoritm and its number is "Algorithm 1", but I want to have "Algorithm".
\documentclass{article}
\usepackage[noend]{algorithmic}
% Hide endif .etc
\usepackage{algorithm}
\algsetup{indent=2em}
% Default 1 em
\renewcommand{\algorithmiccomment}[1]{\hspace{2em}// #1}
% Change to C-style comments, though still ugly
\begin{document}
\begin{algorithm}
\caption{MyAlgorithm} \label{alg:MyAlgorithm}
\begin{algorithmic}[1]
% Default no line numbering
\end{algorithmic}
\end{algorithm}
\end{document}
Best Answer
posting working examples would be a nice idea ... ;-) Now only page references make sense: