Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cbatt!ihnp4!houxm!hropus!jrw From: jrw@hropus.UUCP (Jim Webb) Newsgroups: net.text Subject: Re: Multiple fonts in troff Message-ID: <763@hropus.UUCP> Date: Tue, 4-Nov-86 18:58:57 EST Article-I.D.: hropus.763 Posted: Tue Nov 4 18:58:57 1986 Date-Received: Thu, 6-Nov-86 01:08:13 EST References: <2@torch.UUCP> <4044@umcp-cs.UUCP> <150@unc.unc.UUCP> Organization: Bell Labs, Holmdel, NJ Lines: 21 > I have been trying to figure out a way to get lots of fonts (more > than four) in a single troff document. My environment is running > various *troffs (troff, dvitroff, ditroff) on sun workstations, with > a LaserWriter as an output device. You specify fonts like zo in SVR2 ditroff: \fHthis is Helvetica\fP and this is what we were Previously. \f followed by a font name makes the change for single letter font names, \f( is used for two-char names. \fP returns you to the previous font. You can also use font numbers if you know them, or load them. For example, 1 is usually Roman, 2 is Italic, and 3 is Bold. So, you could do this: \f1this is in roman,\f2 this is in italic, \f3and this is in bold\f1 Hope this helps. -- Jim Webb "Out of phase--get help" ...!ihnp4!hropus!jrw "Use the Force, Read the Source"