On Sun, Nov 30, 2008 at 5:09 PM, Zhaopeng Xing <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know how to describe algorithm procedures in similar way as > LaTeX algorithmic and algorithm packages? I tried to search it on wiki but > found nothing. Thanks.
\starttext \setuplines[space=yes] \startlines $sum \leftarrow 0$ \bold{for} $i \leftarrow 1,n$ \bold{do} $sum \leftarrow sum + i$ \bold{end for} \stoplines \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________