Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!uc!noc.MR.NET!msi.umn.edu!umeecs!umich!samsung!usc!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!ruuinf!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text.tex Subject: Re: Program listings with LaTeX Keywords: LaTeX, programs Message-ID: <4119@ruuinf.cs.ruu.nl> Date: 26 Oct 90 12:13:26 GMT References: <1666@exodus.Eng.Sun.COM> <1683@exodus.Eng.Sun.COM> Sender: news@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 19 In-reply-to: kevinwu@lionsgate.Eng.Sun.COM (Kevin Wu) >>>>> In article <1683@exodus.Eng.Sun.COM>, kevinwu@lionsgate.Eng.Sun.COM (Kevin Wu) (KW) writes: KW> In article <1666@exodus.Eng.Sun.COM>, kevinwu@lionsgate.Eng.Sun.COM (Kevin Wu) writes: > > Is it possible to include a program listing in a document typeset by > LaTeX such that the reserved words (if, else, while, do, ...) appear in > bold typewriter type style and most of the program listing appears in > normal typewriter type style? KW> Thank you to all who responded to my query. KW> Most people suggested that I try tgrind. I found it at rtsg.ee.lbl.gov. KW> People also said to look for it at june.cs.washington.edu and KW> labrea.stanford.edu. Note that there is also a LaTeX style file tgrind.sty for including the tgrind output in LaTeX documents. -- Piet van Oostrum