I want to change the layout of the list of algorithms provided by algorithm2e from this
Algorithm 1 -- Sorting..............15
I was already able to add the "Algorithm" word by following the instructions in this answer, but could not get the en dash to appear. I tried to renew the
\numberline to add the en dash, but the results weren't satisfactory.
I know the
memoir class has the
\cftfigureaftersnum for inserting text after the figure numbers in the LOF and the
\cfttableaftersnum as the equivalent for tables, but I could not find an equivalent for algorithms.
Any thoughts on this?
EDIT: I am giving support to the LaTeX class from my university, which is based on memoir. It uses algorithm2e as the default package for creating algorithms and does not use tocloft.