TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the algorithm package and I need my algorithm to be labeled as "Algorithmus: XYZ" instead of "Algorithm 1: XYZ" where XYZ is my caption for the algorithm.

share|improve this question
possible duplicate of How to localize label using algorithm and algorithmic packages – lockstep Mar 3 '14 at 16:10
thank you! Now it displays "Algorithmus 1: XYZ". Now I only need the number to be removed, if it is possible. – dh87 Mar 3 '14 at 16:17
Sorry for missing the part about numbering. – lockstep Mar 3 '14 at 16:22

I think loading the package caption is the appropriate way.

\DeclareCaptionLabelFormat{alglabel}{\bfseries\csname ALG@name\endcsname:}



\DeclareCaptionLabelFormat{alglabel}{\bfseries\csname ALG@name\endcsname:}

\caption{An algorithm}
\STATE Some text.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.