Path: utzoo!utgpu!watserv1!watmath!att!rutgers!cs.utexas.edu!sun-barr!newstop!exodus!lionsgate.Eng.Sun.COM!kevinwu From: kevinwu@lionsgate.Eng.Sun.COM (Kevin Wu) Newsgroups: comp.text.tex Subject: Program listings with LaTeX Keywords: LaTeX, programs Message-ID: <1666@exodus.Eng.Sun.COM> Date: 24 Oct 90 01:39:43 GMT Sender: news@exodus.Eng.Sun.COM Lines: 23 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? I plan to submit a short article for a book next week. The publisher is asking contributors to submit camera-ready C programs typeset in the style described above. I haven't used LaTeX much since I wrote my thesis three years ago, but now I have a need to typeset some math (in addition to the C code) and I haven't seen anything better than LaTeX for doing this. Please reply by e-mail as I don't read this news group. If there is no easy solution with LaTeX, I'll have to use Framemaker. Kevin -- Kevin Wu Internet: kevinwu@Eng.Sun.COM Sun Microsystems, Inc. UUCP: ...!sun!kevinwu@Eng 2550 Garcia Ave., MS MTV21-04 Phone: (415) 336-6873 Mountain View, CA 94043 FAX: (415) 968-3936