Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: Courier font in troff Message-ID: <6399@brl-smoke.ARPA> Date: Thu, 3-Sep-87 19:27:45 EDT Article-I.D.: brl-smok.6399 Posted: Thu Sep 3 19:27:45 1987 Date-Received: Sat, 5-Sep-87 12:21:39 EDT References: <1196@pinney.munsell.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 22 In article <1196@pinney.munsell.UUCP> pac@munsell.UUCP () writes: >How can I use the Courier (typewriter like, fixed width) font in >troff? I am using a Sun running SunOS 3.2 with a Sun purchased >Laserwriter and troff. Everything is off the shelf and standard. Just request the font by its correct name (which depends on the names supplied with your software). The most common name for that font is "CW", so assuming that applies to you: .ft CW This is set in constant-width (typewriter) font. .ft \" restore previous font or stuff \f(CWconstant-width\f0 more stuff Some macro packages also have a .CW (and .CN) macro to enter (leave) constant-width font mode. Your typewriter font may only be available in certain point sizes (usually 10 and 12).