BSD 3 development
[unix-history] / usr / doc / trofftut / tt00
CommitLineData
8340f87c
BJ
1.RP
2.....TM 76-1273-7 39199 39199-11
3.TL
4A TROFF Tutorial
5.AU "MH 2C-518" 6021
6Brian W. Kernighan
7.AI
8.MH
9.OK
10Typesetting
11Text formatting
12NROFF
13.AB
14.PP
15.UL troff
16is a text-formatting program for driving the Graphic Systems
17phototypesetter on the
18.UX
19and
20.UC GCOS
21operating systems.
22This device is capable of producing high quality
23text;
24this paper is an example of
25.UL troff
26output.
27.PP
28The phototypesetter itself normally runs with four fonts,
29containing roman, italic and bold letters
30(as on this page),
31a full greek alphabet, and a substantial number of
32special characters and mathematical symbols.
33Characters can be printed in a range of sizes,
34and placed anywhere on the page.
35.PP
36.UL troff
37allows the user full control over fonts,
38sizes, and character positions,
39as well as the usual features of a formatter _
40right-margin justification, automatic hyphenation,
41page titling and numbering, and so on.
42It also provides macros, arithmetic variables and operations,
43and conditional testing, for complicated formatting tasks.
44.PP
45This document is an introduction to the most basic use of
46.UL troff .
47It presents just enough information to enable the user
48to do simple formatting
49tasks like making viewgraphs,
50and to make incremental changes to existing packages
51of
52.UL troff
53commands.
54In most respects, the
55.UC UNIX
56formatter
57.UL nroff
58is identical to
59.UL troff ,
60so this document also serves as a tutorial on
61.UL nroff .
62.AE
63.CS 13 1 14 0 0 5
64.if t .2C
65.nr PS 9
66.nr VS 11