I am preparing a presentation, and I want the title of the algorithm without any numbering, and without any colons.
I use the commands
\renewcommand{\algorithmcfname}{}
\renewcommand{\thealgocf}{}
but now the colon still remains.
How can I get rid of the colon before the title of the algorithm?
MWE:
\documentclass[aspectratio=169]{beamer}
\usepackage[ruled,linesnumbered,noend]{algorithm2e}
\renewcommand{\algorithmcfname}{}
\renewcommand{\thealgocf}{}
\usecolortheme{frigatebird}
\begin{document}
\begin{frame}{Pseudocode template}
\begin{algorithm}[H]
\caption[labelformat=empty]{\sc{TitleOfTheAlgorithm}}
\KwIn{What is given to the algorithm}
\KwOut{What the algorithm gives back}
the commands\;
executed\;
by\;
the algorithm\;
\end{algorithm}
\end{frame}
\end{document}

