Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In an algorithm using the algorithmic package, I would like to display for some lines a special symbol (e.g. a +), instead of their line number. Is this possible?

Edit: Here's a minimal working example.




  \caption{My algorithm}

share|improve this question
Have you found a solution to your problem? – Mark Heckmann Aug 10 '14 at 13:39
@MarkHeckmann Unfortunately, I have not. – 3lectrologos Aug 10 '14 at 19:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.