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

In my dissertation, I have added a page for list of algorithms, using \listofalgorithms command. However, the title of the page is not in all caps ('List Of Algorithms'), while it's supposed to be in all caps, like the title of 'LIST OF FIGURES'.

Does anyone know how I can work around this? I tried to find a related option in algorithm2e package, but apparently there is no such an option.

Here is the document class, and the packages that I've used:


enter image description here

share|improve this question
up vote 3 down vote accepted

One possibility is to patch the \listofalgocfs command to use \MakeUppercase for the macro containing the name:






enter image description here

The patching can also be done with the etoolbox package:





share|improve this answer
Thanks Gonzalo! You saved my day! – green-i Dec 3 '12 at 18:36
@green-i You're welcome! – Gonzalo Medina Dec 3 '12 at 18:38

For me, adding this worked:

\renewcommand{\listalgorithmname}{LIST OF ALGORITHMS}

(I'm using algorithm rather than algorithm2e)

share|improve this answer
But does that apply to algorithm2e, which is what the question is about? – Null Jul 21 at 19:55
No, but I thought others looking at this question would find this answer helpful. Maybe I should have commented instead – asrjarratt Jul 22 at 13:13

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.