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

I have a problem with using the command \caption* (from the caption package) together with the algorithm environment. Instead of parsing the \caption* as a single command, it is parsed like \caption with parameter "*". Any ideas?

\caption*{This should be an unnumbered caption.}
  \State $0 \gets 0$
share|improve this question

closed as too localized by Werner, Gonzalo Medina, Torbjørn T., clemens, Paulo Cereda Sep 16 '12 at 14:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – egreg Sep 16 '12 at 12:43
Sorry, I have edited the question. – 042 Sep 16 '12 at 13:03
Your example code works as expected on my system. Perhaps you are using an outdated LaTeX system? What LaTeX distribution do you use? – Gonzalo Medina Sep 16 '12 at 13:32
@GonzaloMedina In deed, the problem has been solved by updating the caption package. If you post this as an answer, I may accept it. – 042 Sep 16 '12 at 13:57
@042 I am glad to hear that the problem has been solved. If the problem was simply outdated package(s), we usually close the question as "too localized", so there's no need to write an answer an accept it. – Gonzalo Medina Sep 16 '12 at 14:07