# change “Algorithm 1:” to “Algorithmus:” in algorithm package

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.

-
thank you! Now it displays "Algorithmus 1: XYZ". Now I only need the number to be removed, if it is possible. –  dh87 Mar 3 at 16:17
Sorry for missing the part about numbering. –  lockstep Mar 3 at 16:22

I think loading the package caption is the appropriate way.

\usepackage{caption}
\DeclareCaptionLabelFormat{alglabel}{\bfseries\csname ALG@name\endcsname:}
\captionsetup[algorithm]{labelformat=alglabel}


\documentclass{article}

\usepackage[english]{babel}

\usepackage{algorithmic}
\usepackage{algorithm}
\makeatletter
\makeatother
\usepackage{caption}
\DeclareCaptionLabelFormat{alglabel}{\bfseries\csname ALG@name\endcsname:}
\captionsetup[algorithm]{labelformat=alglabel}
\begin{document}

\begin{algorithm}
\caption{An algorithm}
\begin{algorithmic}
\STATE Some text.
\end{algorithmic}
\end{algorithm}

\end{document}

-