TransWikia.com

Change function prefix name in caption with algorithm2e

TeX - LaTeX Asked on May 21, 2021

SetAlgorithmName changes the prefix that comes in caption with begin{algorithm}...caption{lol...}end{algorithm} from usepackage{algorithm2e}.

But how to change that prefix/name for functions? Procedures? Etc? Is there SetFunctionName?

One Answer

There exist

SetAlgoProcName{a name}{an autoref name}
SetAlgoFuncName{a name}{an autoref name}

see the user manual of algorithm2e v5.2, sec. 6, page 17 (near the end of that page).

Correct answer by muzimuzhi Z on May 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP