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