Go to the previous, next section.

Setting type sizes

Troff also allows for different type sizes: 6, 7, 8, 9, 10, 11, 12, 14, 18, 20, 22, 24, 28, and 36 point. Text is usually around 10 or 11 points. Headings are often around 14 or 18 points. Newspaper headlines often measure about 36 points.

To set a type size, include the following command in your file:

.ps size

Replace size with the type size you want. For example, if you wanted to write a paper and give it a heading that was larger than the text type, you might create a file that looks like this:

.ps 18
.ft B
Going Skiing
.ft R
.ps 11
Going skiing is really fun.  Whenever I have a
chance, I go skiing.  I am planning to go during
spring break.

The commands in this file create a heading that is set in 18-point-high bold type, and then they switch to 11-point-high roman type for the text. These styles and sizes are about equivalent to the chapter titles and text in this manual.

Go to the previous, next section.