Does this help? http://www.cs.dartmouth.edu/%7Ethc/clrscode/ Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk On Jun 26, 2006, at 19:31, M.N.A.Smadi wrote: > Hi; > > is there a package or an easy way to put algorithmic pesudo codes in > latex as figures with auto line numbering? if so, an example will be > helpful. > > thanks > moe smadi