ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Algorithms in ConTeXt
@ 2010-10-06 17:40 Patrick Gundlach
  2010-10-06 17:58 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Gundlach @ 2010-10-06 17:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

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



[-- Attachment #2: algorithm2e.pdf (Seite 27 von 43).jpg --]
[-- Type: image/jpg, Size: 20477 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Algorithms in ConTeXt
  2010-10-06 17:40 Algorithms in ConTeXt Patrick Gundlach
@ 2010-10-06 17:58 ` Aditya Mahajan
  2010-10-06 18:53   ` Patrick Gundlach
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2010-10-06 17:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Algorithms in ConTeXt
  2010-10-06 17:58 ` Aditya Mahajan
@ 2010-10-06 18:53   ` Patrick Gundlach
  2010-10-06 19:05     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Gundlach @ 2010-10-06 18:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


>> 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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Algorithms in ConTeXt
  2010-10-06 18:53   ` Patrick Gundlach
@ 2010-10-06 19:05     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2010-10-06 19:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-06 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 17:40 Algorithms in ConTeXt Patrick Gundlach
2010-10-06 17:58 ` Aditya Mahajan
2010-10-06 18:53   ` Patrick Gundlach
2010-10-06 19:05     ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).