Go to the previous, next section.

Setting type styles

Troff provides three basic type styles: roman, italic, and bold. Troff allows for different type fonts, but they must be mounted on the printer. For further information, contact the system administrator or refer to the Unix User's Supplementary Documents (USD) chapters 20 through 25 and the appropriate printer manuals.

To set a type style, include the following command in your file just before the text you want in that style:

.ft style

Replace style with the type style you want: R for roman, I for italic, or B for bold. For example, if you wanted to italicize a book title in the middle of some roman text, your file would look something like the following:

The book
.ft I
Handbook for Technical Writers
.ft R
is a good reference book for anyone
writing about a technical subject.

This file italicizes the book title Handbook for Technical Writers and then returns to roman type for the rest of the text.

Go to the previous, next section.