Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!ames!orion.arc.nasa.gov!ogawa From: ogawa@orion.arc.nasa.gov (Arthur Ogawa) Newsgroups: comp.text.tex Subject: Re: LaTeX Bug?? Summary: Pilot error (RTFM), not a bug. Message-ID: <1991Mar6.000233.22512@news.arc.nasa.gov> Date: 6 Mar 91 00:02:33 GMT References: <2435@odin.cs.hw.ac.uk> Sender: Art Ogawa Organization: NASA Ames Research Center, Moffett Field, CA Lines: 23 Bcc: ogawa In article <2435@odin.cs.hw.ac.uk> pjbk@cs.hw.ac.uk (Peter King) writes: |Have I discovered a bug in LaTeX?? [the test file is truncated to its essentials] | \put(15,10){\makebox(0,0){\verb+INFO_XFER_DCE_ERR+}} You have not discovered a bug in LaTeX. The \verb command does not work properly when used within the argument of another command (here compounded: \put and \makebox). See p66 of Lamport's book: "A verbatim environment or \verb command may not appear within an argument of any other command. (However, they may appear inside another environment.)" Michael Downes posted here within the last 48 hours a very nice solution to the problem of setting the underscore character within computer voice, (q.v.). BTW, you really _can_ put a \verb command in the argument of another command, but the argument of the \verb command had better not contain any specially catcoded characters! Cheers, Art