![](https://secure.gravatar.com/avatar/62c54476729274ddfefd6b1f53e311dc.jpg?s=120&d=mm&r=g)
Hi, I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something like the algorithm package? It can typeset pseudocode like in the attached graphic. I sort of like the rules on the left side that indicate the scope of the for/while/case statements. Patrick
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Wed, 6 Oct 2010, Patrick Gundlach wrote:
Hi,
I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something like the algorithm package? It can typeset pseudocode like in the attached graphic. I sort of like the rules on the left side that indicate the scope of the for/while/case statements.
Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic Aditya
![](https://secure.gravatar.com/avatar/62c54476729274ddfefd6b1f53e311dc.jpg?s=120&d=mm&r=g)
I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something like the algorithm package? It can typeset pseudocode like in the attached graphic. I sort of like the rules on the left side that indicate the scope of the for/while/case statements.
Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic
but it doesn't draw the nice lines, I am after. At least I haven't found any. Patrick
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 06.10.2010 um 20:53 schrieb Patrick Gundlach:
I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something like the algorithm package? It can typeset pseudocode like in the attached graphic. I sort of like the rules on the left side that indicate the scope of the for/while/case statements.
Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic
but it doesn't draw the nice lines, I am after. At least I haven't found any.
The module is a port of the algorithmic package which doesn’t provide lines but you want is in the algorithm2e package. Wolfgang
participants (3)
-
Aditya Mahajan
-
Patrick Gundlach
-
Wolfgang Schuster