[net.unix] help needed w. vtroff font change

kempf@hplabsc.UUCP (Jim Kempf) (12/26/84)

I am trying to do font changes within vtroff using the troff .fp command.
vtroff tells me that it can't find the specified font in /usr/lib/font.
I could find no information in the Nroff/Troff Reference Manual or
accompanying documentation about what
legal font names are for the .fp command, nor anything in the vtroff
documentation about how to change a font within text. Furthermore,
when I tried to change the point size using the .ps command, vtroff
simply used the old point size for the type, but spread it out as
if it had used the new one.

Does anyone know how to do a font change within text being formatted
using vtroff? How to change point sizes in vtroff and have the letter
size also change?  I am using the ms macro package if that is any help.

		jim kempf		hplabs!kempf

Ron Natalie <ron@BRL-TGR> (12/28/84)

The legal fonts in standard troff are R, I, B, S (Roman, Italic, Bold, and
special).  Any others have to be hacked in.  The way vtroff does this is
by having a file called .railmag which maps the vfont names onto a cat
position number.  Once you do this, you may then use .fp.  The program looks
first in the current directory for the railmag file.

As for point size changes you can either use the .ps directive or the \s
inline characters.  See the TROFF manual.  Don't forget that if you change
the pointsize, you probably also want ot change the vertical spacing ammount.
You must do a point size change that corresponds to the font.  Not all fonts
exist in all point sizes.

-Ron