Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!ucsd!nprdc!malloy From: malloy@nprdc.arpa (Sean Malloy) Newsgroups: comp.lang.postscript Subject: Re: Courier and ptroff. Summary: ptroff reads "Listing" for "Courier" -- use \fL Message-ID: <854@james.nprdc.arpa> Date: 6 Sep 88 19:13:35 GMT References: <697@umb.umb.edu> Reply-To: malloy@nprdc.arpa (Sean Malloy) Organization: Navy Personnel R&D Center, San Diego Lines: 33 In article <697@umb.umb.edu> karl@umb.umb.edu (Karl Berry.) writes: | |How does one use Courier in troff? I am posting to this group |because our output device is a LaserWriter, and we are using |Transcript's ptroff. | |We have the width table in /usr/lib/ps/troff.fonts/ftC. |It seems to us that the following troff program (we ran it through |ms, but that doesn't seem like it should be relevant) should |do the expected thing: | |.fp 3 C |\fB This should be typewriter? \fR And this roman? | |(That's the whole file.) | |Both questions come out in roman. | The ptroff program is bizarre. To get courier, you do not use the obvious 'C' in font changes like \fC, but 'L', for 'Listing' (possibly deriving from its use in printing source listings in a troff document. The other Courier fonts (bold and italic) should be \f(LB and \f(LI. At least, that's the way ptroff was working at our site. Your mileage may vary. Sean Malloy Navy Personnel Research & Development Center San Diego, CA 92152-6800 malloy@nprdc.arpa