Commit | Line | Data |
---|---|---|
f55d5308 C |
1 | .if \nM=0 .RP |
2 | .TM 76-1274-5 39199 39199-11 | |
3 | .if \n(tm>0 .ND June 11, 1976* | |
4 | .TL | |
5 | Tbl \(em A Program to Format Tables | |
6 | .AU "MH 2C-569" 6377 | |
7 | M. E. Lesk | |
8 | .AI | |
9 | .MH | |
10 | .if \n(tm>0 .FS | |
11 | .if \n(tm>0 * This printing revised through August 5, 1977 | |
12 | .if \n(tm>0 .FE | |
13 | .AB | |
14 | .I | |
15 | Tbl | |
16 | .R | |
17 | is a document formatting preprocessor for | |
18 | .I | |
19 | troff | |
20 | .R | |
21 | or | |
22 | .I | |
23 | nroff | |
24 | .R | |
25 | which makes | |
26 | even | |
27 | fairly complex tables easy to specify and enter. | |
28 | It is available on | |
29 | the | |
30 | .SM | |
31 | PDP-11 UNIX* | |
32 | .NL | |
33 | system | |
34 | .FS | |
35 | * UNIX is a Trademark/Service Mark of the Bell System | |
36 | .FE | |
37 | and on Honeywell 6000 | |
38 | .SM | |
39 | GCOS. | |
40 | .NL | |
41 | Tables are made up of columns which may be independently centered, right-adjusted, | |
42 | left-adjusted, or aligned by decimal points. | |
43 | Headings may be placed over single columns or groups of columns. | |
44 | A table entry may contain equations, or may consist of several rows of text. | |
45 | Horizontal or vertical lines may be drawn as desired | |
46 | in the table, | |
47 | and any table or element may be enclosed in a box. | |
48 | For example: | |
49 | .in 0 | |
50 | .ll | |
51 | .sp .5 | |
52 | .TS | |
53 | center, box; | |
54 | c s s s | |
55 | c s s s | |
56 | c |c |c |c | |
57 | c |c |c |c | |
58 | l |n |n |n. | |
59 | 1970 Federal Budget Transfers | |
60 | \s-2(in billions of dollars)\s0 | |
61 | = | |
62 | State Taxes Money Net | |
63 | \^ collected spent \^ | |
64 | _ | |
65 | New York 22.91 21.35 \-1.56 | |
66 | New Jersey 8.33 6.96 \-1.37 | |
67 | Connecticut 4.12 3.10 \-1.02 | |
68 | Maine 0.74 0.67 \-0.07 | |
69 | California 22.29 22.42 +0.13 | |
70 | New Mexico 0.70 1.49 +0.79 | |
71 | Georgia 3.30 4.28 +0.98 | |
72 | Mississippi 1.15 2.32 +1.17 | |
73 | Texas 9.33 11.13 +1.80 | |
74 | .TE | |
75 | .AE | |
76 | .OK | |
77 | Phototypesetting | |
78 | Documentation | |
79 | .CS 16 0 16 0 12 6 | |
80 | .tr # | |
81 | .de e1 | |
82 | .nr \\$1 \\$2 | |
83 | .. | |
84 | .de e2 | |
85 | .if !\\n(\\$1=\\n% .tm Error in example \\$1: referred to page \\n(\\$1, is on page \\n% | |
86 | .rr \\$1 | |
87 | .. | |
88 | .di qq | |
89 | .EQ | |
90 | delim $$ | |
91 | .EN | |
92 | .di | |
93 | .rm qq | |
94 | .SH | |
95 | Introduction. | |
96 | .PP | |
97 | .I | |
98 | Tbl | |
99 | .R | |
100 | turns a simple description | |
101 | of a table into a | |
102 | .I | |
103 | troff | |
104 | .R | |
105 | or | |
106 | .I | |
107 | nroff | |
108 | .R | |
109 | [1] | |
110 | program (list of commands) that prints the table. | |
111 | .I | |
112 | Tbl | |
113 | .R | |
114 | may be used on the | |
115 | \s-2PDP-\s011 \s-2UNIX\s0 | |
116 | .NL | |
117 | [2] system and on the Honeywell 6000 | |
118 | .SM | |
119 | GCOS | |
120 | .NL | |
121 | system. | |
122 | It | |
123 | attempts to isolate a portion of a job that it can | |
124 | successfully | |
125 | handle and leave the remainder for other programs. | |
126 | Thus | |
127 | .I | |
128 | tbl | |
129 | .R | |
130 | may be used with the equation formatting | |
131 | program | |
132 | .I | |
133 | eqn | |
134 | .R | |
135 | [3] | |
136 | or various | |
137 | layout macro packages | |
138 | [4,5,6], | |
139 | but does not duplicate their functions. | |
140 | .PP | |
141 | This memorandum is divided into two parts. | |
142 | First we give the rules for preparing | |
143 | .I | |
144 | tbl | |
145 | .R | |
146 | input; then some examples are shown. | |
147 | The description of rules is precise but technical, and | |
148 | the beginning user may prefer to read the examples first, | |
149 | as they show some common table arrangements. | |
150 | A section explaining how to invoke | |
151 | .I | |
152 | tbl | |
153 | .R | |
154 | precedes the examples. | |
155 | To avoid repetition, henceforth read | |
156 | .I | |
157 | troff | |
158 | .R | |
159 | as | |
160 | .I | |
161 | ``troff | |
162 | .R | |
163 | or | |
164 | .I | |
165 | nroff.'' | |
166 | .R | |
167 | .ds . \^\s14.\s0 | |
168 | .PP | |
169 | The input to | |
170 | .I | |
171 | tbl | |
172 | .R | |
173 | is text for a document, with tables preceded by a ``\*.TS'' | |
174 | (table start) | |
175 | command and followed by a ``\*.TE'' | |
176 | (table end) command. | |
177 | .I | |
178 | Tbl | |
179 | .R | |
180 | processes the tables, generating | |
181 | .I | |
182 | troff | |
183 | .R | |
184 | formatting commands, | |
185 | and leaves the remainder of the text unchanged. | |
186 | The ``\*.TS'' and ``\*.TE'' | |
187 | lines are copied, too, so that | |
188 | .I | |
189 | troff | |
190 | .R | |
191 | page layout macros | |
192 | (such as the memo formatting macros [4]\|) can use these lines | |
193 | to delimit and place tables as they see fit. | |
194 | In particular, any arguments on the ``\*.TS'' or ``\*.TE'' | |
195 | lines | |
196 | are copied but otherwise ignored, and may be used by document layout | |
197 | macro commands. | |
198 | .PP | |
199 | The format of the input is as follows: | |
200 | .DS | |
201 | \&text | |
202 | \&\*.TS | |
203 | \&\fItable\fR | |
204 | \&\*.TE | |
205 | \&text | |
206 | \&\*.TS | |
207 | \&\fItable\fR | |
208 | \&\*.TE | |
209 | \&text | |
210 | \&\&\*. \*. \*. | |
211 | .DE | |
212 | where the format of each table is as follows: | |
213 | .DS | |
214 | \&\*.TS | |
215 | \fIoptions \fB;\fR | |
216 | \fIformat \*. | |
217 | data | |
218 | \&\fR\*.TE | |
219 | .DE | |
220 | Each table is independent, and must contain formatting | |
221 | information | |
222 | followed by the data to be entered in the table. | |
223 | The formatting information, which describes the | |
224 | individual columns and rows of the table, may be preceded | |
225 | by a few options that affect the entire table. | |
226 | A detailed description of tables is given in the next section. | |
227 | .sp .5 | |
228 | .SH | |
229 | Input commands. | |
230 | .PP | |
231 | As indicated above, a table contains, first, global options, | |
232 | then a format section describing the layout of the table | |
233 | entries, and then the data to be printed. The format and data | |
234 | are always required, but not the options. | |
235 | The various parts of the table are entered as follows: | |
236 | .sp .5v | |
237 | .IP 1) | |
238 | O\s-2PTIONS.\s0 | |
239 | There may be a single line of options | |
240 | affecting the whole table. | |
241 | If present, this line must follow the \*.TS line immediately | |
242 | and must contain a list of option names | |
243 | separated by spaces, tabs, or commas, and must be terminated by a semicolon. | |
244 | The allowable options are: | |
245 | .RS | |
246 | .IP \fB##center\fR 13 | |
247 | \(em center the table (default is left-adjust); | |
248 | .IP \fB##expand\fR | |
249 | \(em make the table as wide as the current line length; | |
250 | .IP \fB##box\fR | |
251 | \(em enclose the table in a box; | |
252 | .IP \fB##allbox\fR | |
253 | \(em enclose each item in the table in a box; | |
254 | .IP \fB##doublebox\fR | |
255 | \(em enclose the table in two boxes; | |
256 | .IP \fB##tab#\fR(\fIx\fR\^) | |
257 | \(em use \fIx\fR instead of tab to separate data items. | |
258 | .IP \fB##linesize#(\fIn\fR\^) | |
259 | \(em set lines or rules (e.g. from \fBbox\fR\^) in \fIn\fR point type; | |
260 | .IP \fB##delim#(\fIxy\fR\^) | |
261 | \(em recognize \fIx\fR and \fIy\fR as the \fIeqn\fR delimiters. | |
262 | .RE | |
263 | .LP | |
264 | .ns | |
265 | .IP | |
266 | The | |
267 | .I | |
268 | tbl | |
269 | .R | |
270 | program | |
271 | tries to keep boxed tables on one page by issuing | |
272 | appropriate ``need'' (\fI\*.ne\fR\|) commands. | |
273 | These requests are calculated from the number of lines in the tables, | |
274 | and if there are spacing commands embedded in the input, these requests may be inaccurate; | |
275 | use normal | |
276 | .I | |
277 | troff | |
278 | .R | |
279 | procedures, such as keep-release macros, in that case. | |
280 | The user who must have a multi-page boxed table | |
281 | should use macros designed for this purpose, | |
282 | as explained below under `Usage.' | |
283 | .sp .5v | |
284 | .IP 2) 5 | |
285 | F\s-2ORMAT\s0. | |
286 | The format section of the table specifies the layout | |
287 | of the columns. | |
288 | Each line in this section corresponds to one line | |
289 | of the table (except that the last line corresponds to all following | |
290 | lines up to the next \*.T&, if any \(em see below), | |
291 | and each line contains a key-letter for each column | |
292 | of the table. | |
293 | It is good practice to separate the key letters for each | |
294 | column by spaces or tabs. | |
295 | Each key-letter is one of the following: | |
296 | .RS | |
297 | .cs B 25 | |
298 | .IP "##\fBL\fR#or#\fBl\fR" 10 | |
299 | to indicate a left-adjusted column entry; | |
300 | .IP "##\fBR\fR#or#\fBr\fR | |
301 | to indicate a right-adjusted column entry; | |
302 | .IP "##\fBC\fR#or#\fBc\fR | |
303 | to indicate a centered column entry; | |
304 | .IP "##\fBN\fR#or#\fBn\fR | |
305 | to indicate a numerical column entry, to be aligned with other | |
306 | numerical entries so that the units digits of numbers line up; | |
307 | .IP "##\fBA\fR#or#\fBa\fR | |
308 | to indicate an alphabetic subcolumn; | |
309 | all corresponding entries are aligned on the left, and positioned | |
310 | so that the widest is centered within the column (see | |
311 | example on page 12); | |
312 | .IP "##\fBS\fR#or#\fBs\fR | |
313 | to indicate a spanned heading, i.e. to indicate that the | |
314 | entry from the previous column continues across this | |
315 | column | |
316 | (not allowed for the first column, obviously); or | |
317 | .IP ##\fB\s+4\v'6p'^\v'-6p'\s0\fR | |
318 | to indicate a vertically spanned heading, i.e. to indicate that | |
319 | the entry from the previous row continues down through this row. | |
320 | (Not allowed for the first row of the table, obviously). | |
321 | .cs B | |
322 | .RE | |
323 | .LP | |
324 | .ns | |
325 | .IP | |
326 | When numerical alignment is specified, a location for the decimal | |
327 | point is sought. The rightmost dot (\*.) | |
328 | adjacent to a digit is used as a decimal point; if there is no | |
329 | dot adjoining a digit, the rightmost digit is used as a units digit; | |
330 | if no alignment is indicated, the item is centered in the column. | |
331 | However, the special non-printing character string \e& may be used | |
332 | to override unconditionally dots | |
333 | and digits, or to align alphabetic data; | |
334 | this string lines up where a dot normally would, | |
335 | and then disappears from the final output. | |
336 | In the example below, the items shown at the left will be | |
337 | aligned (in a numerical column) as shown on the right: | |
338 | .KS | |
339 | .TS | |
340 | center; | |
341 | l6 n. | |
342 | 13 13 | |
343 | 4\*.2 4\&\*.2 | |
344 | 26\*.4\*.12 26\*.4\&\*.12 | |
345 | abc abc | |
346 | abc\e& abc\& | |
347 | 43\e&3\*.22 43\&3\*.22 | |
348 | 749\*.12 749\&\*.12 | |
349 | .TE | |
350 | .KE | |
351 | .IP | |
352 | \fBNote:\fR | |
353 | If numerical data are used in the same column with wider | |
354 | .B L | |
355 | or | |
356 | .B r | |
357 | type table entries, the widest \fInumber\fR is centered relative | |
358 | to the wider | |
359 | .B L | |
360 | or | |
361 | .B r | |
362 | items (\fBL\fR is used instead of \fBl\fR for readability; | |
363 | they have the same meaning as key-letters). | |
364 | Alignment within the numerical items is preserved. | |
365 | This is similar to the behavior of | |
366 | .B a | |
367 | type data, as explained above. | |
368 | However, | |
369 | alphabetic subcolumns (requested by the | |
370 | .B | |
371 | a | |
372 | .R | |
373 | key-letter) | |
374 | are always slightly indented relative to | |
375 | .B | |
376 | L | |
377 | .R | |
378 | items; | |
379 | if necessary, the column width is increased to force this. | |
380 | This is not true for \fBn\fR type entries. | |
381 | .IP | |
382 | .bd I 3 | |
383 | .ft I | |
384 | Warning: | |
385 | .ft 1 | |
386 | .bd I | |
387 | the \fBn\fR and \fBa\fR items should not be used in | |
388 | the same column. | |
389 | .IP | |
390 | For readability, the key-letters describing each column should | |
391 | be separated by spaces. | |
392 | The end of the format section is indicated by a period. | |
393 | The layout of the key-letters in the format section resembles | |
394 | the layout of the actual data in the table. | |
395 | Thus a simple format might appear as: | |
396 | .br | |
397 | .ne 3 | |
398 | .in +2 | |
399 | .nf | |
400 | c s s | |
401 | l n n \*. | |
402 | .fi | |
403 | .in -2 | |
404 | which specifies a table of three columns. The first line | |
405 | of the table contains a heading centered across all three | |
406 | columns; each remaining line contains a left-adjusted item | |
407 | in the first column followed by two columns of numerical | |
408 | data. | |
409 | A sample table in this format might be: | |
410 | .br | |
411 | .ne 6v | |
412 | .br | |
413 | .in +4 | |
414 | .TS | |
415 | c s s | |
416 | l n n. | |
417 | Overall title | |
418 | Item-a 34.22 9.1 | |
419 | Item-b 12.65 .02 | |
420 | Items: c,d,e 23 5.8 | |
421 | Total 69.87 14.92 | |
422 | .TE | |
423 | .in -4 | |
424 | There are some additional features of the key-letter system: | |
425 | .RS | |
426 | .IP "\fI##Horizontal lines#\fR" | |
427 | \(em A key-letter may be replaced by `\(ul' | |
428 | (underscore) to indicate | |
429 | a horizontal line in place of the corresponding column entry, | |
430 | or by `=' to indicate a double horizontal line. | |
431 | If an adjacent column contains a horizontal line, or if | |
432 | there are vertical lines adjoining this column, | |
433 | this horizontal line is extended to meet the nearby lines. | |
434 | If any data entry is provided for this column, it is ignored and | |
435 | a warning message is printed. | |
436 | .QQ do the D(x) and M(x) to draw a line of 'x' characters. | |
437 | .QQ D will draw divided lines, M merged lines. thus - is simplh M(\(ru) | |
438 | .IP "\fI##Vertical lines#\fR" | |
439 | \(em A vertical bar may be placed between column key-letters. This will | |
440 | cause a vertical line between the corresponding columns of the table. | |
441 | A vertical bar to the left of the first key-letter | |
442 | or to the right of the last one produces a line at the | |
443 | edge of the table. | |
444 | If two vertical bars appear between key-letters, a double vertical | |
445 | line is drawn. | |
446 | .IP "\fI##Space between columns#\fR" | |
447 | \(em A number may follow the key-letter. This indicates the amount of separation | |
448 | between this column and the next column. | |
449 | The number normally specifies the separation in | |
450 | .I | |
451 | ens | |
452 | .R | |
453 | (one | |
454 | en | |
455 | .ne 3 | |
456 | is about the width of the letter `n').* | |
457 | .FS | |
458 | * More precisely, an en is a number of points (1 point = 1/72 inch) | |
459 | equal to half the current type size. | |
460 | .FE | |
461 | If the ``expand'' option is used, then these numbers are multiplied | |
462 | by a constant such that the table is as wide as the current line length. | |
463 | The default column separation number is 3. | |
464 | If the separation is changed the worst case (largest space requested) governs. | |
465 | .IP "\fI##Vertical spanning#\fR" | |
466 | \(em Normally, vertically spanned items extending over several | |
467 | rows of the table are centered in their vertical range. | |
468 | If a key-letter is followed by | |
469 | .B | |
470 | t | |
471 | .R | |
472 | or | |
473 | .B T , | |
474 | any corresponding vertically spanned item | |
475 | will begin at the top line of its range. | |
476 | .IP "\fI##Font changes#\fR" | |
477 | \(em A key-letter may be followed by a string containing a font | |
478 | name or number | |
479 | preceded by the letter | |
480 | .B f | |
481 | or | |
482 | .B F . | |
483 | This indicates that the corresponding column should be in a different | |
484 | font from the default font (usually Roman). | |
485 | All font names are one or two letters; a one-letter font | |
486 | name should be separated from whatever follows by a space or tab. | |
487 | The single letters | |
488 | \f3B\f1, \f3b\f1, \f3I\f1, | |
489 | and | |
490 | \f3i\f1 | |
491 | are shorter synonyms for | |
492 | .B f\^B | |
493 | and | |
494 | .B f\^I . | |
495 | Font change commands given with the table entries | |
496 | override these specifications. | |
497 | .IP "\fI##Point size changes#\fR" | |
498 | \(em A key-letter may be followed by the letter | |
499 | .B p | |
500 | or | |
501 | .B P | |
502 | and a number to indicate the point size of the corresponding table entries. | |
503 | The number may be a signed digit, in which case it is taken as | |
504 | an increment or decrement | |
505 | from the current point size. | |
506 | If both a point size and a column separation value are given, | |
507 | one or more blanks must separate them. | |
508 | .IP "\fI##Vertical spacing changes#\fR" | |
509 | \(em A key-letter may be followed by the letter | |
510 | .B v | |
511 | or | |
512 | .B V | |
513 | and a number to indicate the vertical line spacing to be used | |
514 | within a multi-line corresponding table entry. | |
515 | The number may be a signed digit, in which case it is taken as an increment | |
516 | or decrement from the current vertical spacing. | |
517 | A column separation value must be separated by blanks or some other | |
518 | specification from a vertical spacing request. | |
519 | This request has no effect unless the corresponding table entry | |
520 | is a text block (see below). | |
521 | .IP "\fI##Column width indication#\fR" | |
522 | \(em A key-letter may be followed by the letter | |
523 | .B w | |
524 | or | |
525 | .B W | |
526 | and a width value in parentheses. | |
527 | This width is used as a minimum column width. | |
528 | If the largest element in the column is not as wide as the width value | |
529 | given after the \fBw\fR, the largest element is assumed to be that wide. | |
530 | If the largest element in the column is wider than the specified value, | |
531 | its width is used. | |
532 | The width is also used as a default line | |
533 | length for included text blocks. | |
534 | Normal | |
535 | .I | |
536 | troff | |
537 | .R | |
538 | units can be used to scale the width value; if none are used, | |
539 | the default is | |
540 | ens. | |
541 | If the width specification is a unitless integer | |
542 | the parentheses may be omitted. | |
543 | If the width value is changed in a column, the \fIlast\fR one given controls. | |
544 | .IP "\fI##Equal width columns#\fR" | |
545 | \(em A key-letter may be followed by the letter | |
546 | .B e | |
547 | or | |
548 | .B E | |
549 | to indicate equal width columns. | |
550 | All columns whose | |
551 | key-letters are followed by \fBe\fR or \fBE\fR are made the same width. | |
552 | This permits the user to get a group of regularly spaced | |
553 | columns. | |
554 | .IP "##\fBNote:\fR#" | |
555 | The order of the above features is immaterial; they need not be separated | |
556 | by spaces, except as indicated above to avoid ambiguities involving | |
557 | point size and font changes. Thus | |
558 | a numerical column entry in italic font and 12 point type with a minimum | |
559 | width of 2.5 inches and separated by 6 ens from the next column could | |
560 | be specified as | |
561 | .in +5 | |
562 | np12w(2\*.5i)f\|I 6 | |
563 | .in -5 | |
564 | .IP "\fI##Alternative notation#\fR" | |
565 | \(em Instead of listing the format of successive lines of a table | |
566 | on consecutive lines of the format section, | |
567 | successive line formats may be given on the same line, separated | |
568 | by commas, so that the format for the example | |
569 | above might have been written: | |
570 | .in +5 | |
571 | c s s, l n n \*. | |
572 | .in -5 | |
573 | .IP "\fI##Default#\fR" | |
574 | \(em Column descriptors missing from the end | |
575 | of a format line are assumed to be \fBL\fR. | |
576 | The longest line in the format section, however, | |
577 | defines the number of columns | |
578 | in the table; | |
579 | extra columns in the data are ignored silently. | |
580 | .QQ put in the diagnostics. | |
581 | .RE | |
582 | .sp .5v | |
583 | .IP 3) | |
584 | D\s-2ATA\s0. | |
585 | The data for the table are typed after the format. | |
586 | Normally, each table line is typed as one line of data. | |
587 | Very long input lines can be broken: any line whose last character is | |
588 | \e is combined with the following line (and the \e vanishes). | |
589 | The data for different columns (the table entries) are separated by tabs, | |
590 | or by whatever character has been specified in the option | |
591 | .I tabs | |
592 | option. | |
593 | There are a few special cases: | |
594 | .RS | |
595 | .IP "\fI##Troff commands within tables\fR#" | |
596 | \(em An input line | |
597 | beginning with a `\*.' followed by anything | |
598 | but a number is assumed to be a command to | |
599 | .I | |
600 | troff | |
601 | .R | |
602 | and is passed through unchanged, retaining its position in the table. | |
603 | So, for example, space within a table may be produced by ``\*.sp'' | |
604 | commands | |
605 | in the data. | |
606 | .IP "\fI##Full width horizontal lines\fR#" | |
607 | \(em An input | |
608 | .I line | |
609 | containing only the character $fat "\(ul" $ (underscore) | |
610 | or \fB=\fR (equal sign) is taken to be a single or double | |
611 | line, respectively, extending the | |
612 | full width | |
613 | of the | |
614 | .I table. | |
615 | .IP "\fI##Single column horizontal lines\fR#" | |
616 | \(em An input table | |
617 | .I entry | |
618 | containing only the character $fat "\(ul" $ or \fB=\fR | |
619 | is taken to be a single or double line extending | |
620 | the full width of the | |
621 | .I column. | |
622 | Such lines are extended to meet horizontal or vertical | |
623 | lines adjoining this column. | |
624 | To obtain these characters explicitly in a column, either | |
625 | precede them by \e& or | |
626 | follow them by a space before the usual tab or newline. | |
627 | .IP "\fI##Short horizontal lines\fR#" | |
628 | \(em An input table | |
629 | .I entry | |
630 | containing only the string $fat "\e\(ul"$ | |
631 | is taken to be a single line as wide as the contents of | |
632 | the column. It is not extended to meet | |
633 | adjoining lines. | |
634 | .IP "\fI##Vertically spanned items\fR#" | |
635 | \(em An input table entry containing only the | |
636 | character string | |
637 | .ft B | |
638 | \e\s+2\v'2p'^\v'-2p'\s0 | |
639 | .ft R | |
640 | indicates that the table entry immediately | |
641 | above spans downward over this row. It is equivalent | |
642 | to a table format key-letter of `^'. | |
643 | .IP "\fI##Text blocks\fR#" | |
644 | \(em In order to include a block of text as a table entry, | |
645 | precede it by $fat roman "T{" $ and follow | |
646 | it by $fat roman "T}" $. | |
647 | Thus the sequence | |
648 | .in +2 | |
649 | .nf | |
650 | \*. \*. \*. $fat roman "T{"$ | |
651 | .I | |
652 | block of | |
653 | text | |
654 | .R | |
655 | $fat roman "T}"$ \*. \*. \*. | |
656 | .in -2 | |
657 | .fi | |
658 | is the way to enter, as a single entry in the table, something | |
659 | that cannot conveniently be typed as a simple string between | |
660 | tabs. | |
661 | Note that the $fat roman "T}" $ end delimiter must begin a line; | |
662 | additional columns of data may follow after a tab on the same line. | |
663 | See the example on page 10 for an illustration of included text blocks | |
664 | .e1 aa 10 | |
665 | in a table. | |
666 | If more than twenty or thirty text blocks are used in a table, | |
667 | various limits in the | |
668 | .I | |
669 | troff | |
670 | .R | |
671 | program are likely to be exceeded, | |
672 | producing diagnostics such as `too many string/macro names' or `too many | |
673 | number registers.' | |
674 | .IP | |
675 | Text blocks are pulled out from the table, processed separately by | |
676 | .I | |
677 | troff, | |
678 | .R | |
679 | and replaced in the table as a solid block. If no line length | |
680 | is specified in the | |
681 | .I | |
682 | block of text | |
683 | .R | |
684 | itself, or in the table format, | |
685 | the default is to use | |
686 | $ L times C / (N+1) $ | |
687 | where | |
688 | .I | |
689 | L | |
690 | .R | |
691 | is the current line length, | |
692 | .I | |
693 | C | |
694 | .R | |
695 | is the number of table columns spanned by the text, | |
696 | and | |
697 | .I | |
698 | N | |
699 | .R | |
700 | is the total number of columns in the table. | |
701 | The other parameters (point size, font, etc.) used in setting the | |
702 | .I | |
703 | block of text | |
704 | .R | |
705 | are those in effect at the beginning of the table (including | |
706 | the effect of the ``\*.TS'' macro) | |
707 | and any table format specifications of size, spacing and font, | |
708 | using the \fBp\fR, \fBv\fR and \fBf\fR modifiers to the column key-letters. | |
709 | Commands within the text block itself are also recognized, of course. | |
710 | However, | |
711 | .I troff | |
712 | commands within the table data but not within the text block | |
713 | do not affect that block. | |
714 | .br | |
715 | .di RR | |
716 | . this is going down a rathole | |
717 | .EQ | |
718 | delim off | |
719 | .EN | |
720 | .di | |
721 | .rm RR | |
722 | .IP "##\fBWarnings:\fR#" | |
723 | \(em Although any number of lines may be present in a table, | |
724 | only the first 200 lines are used in calculating | |
725 | the widths of the various columns. A multi-page table, | |
726 | of course, may be arranged as several single-page tables | |
727 | if this proves to be a problem. | |
728 | Other difficulties with formatting may arise because, | |
729 | in the calculation of column widths all table entries | |
730 | are assumed to be in the font and size being used when | |
731 | the ``\*.TS'' command was encountered, except for font and size changes | |
732 | indicated (a) in the table format section and (b) | |
733 | within the table data (as in the entry | |
734 | \es+3\efIdata\efP\es0\|). | |
735 | Therefore, although arbitrary | |
736 | .I | |
737 | troff | |
738 | .R | |
739 | requests may be sprinkled in a table, care must be taken | |
740 | to avoid confusing the width calculations; | |
741 | use requests such as `\*.ps' with care. | |
742 | .tr ## | |
743 | .sp .5v | |
744 | .RE | |
745 | .IP 4) | |
746 | A\s-2DDITIONAL COMMAND LINES\s0. | |
747 | If the format of a table must be changed after | |
748 | many similar lines, as with sub-headings or summarizations, the ``\*.T&'' | |
749 | (table continue) | |
750 | command can be used | |
751 | to change column parameters. | |
752 | The outline of such a table input is: | |
753 | .DS | |
754 | .ft R | |
755 | \&\*.TS | |
756 | .ft I | |
757 | \&options \fB;\fP | |
758 | \&format \*. | |
759 | \&data | |
760 | \&\*. \*. \*. | |
761 | .ft R | |
762 | \&\*.T& | |
763 | .ft I | |
764 | \&format \*. | |
765 | \&data | |
766 | .ft R | |
767 | \&\*.T& | |
768 | .ft I | |
769 | \&format \*. | |
770 | \&data | |
771 | .ft R | |
772 | \&\*.TE | |
773 | .DE | |
774 | as in the examples on pages 10 and 12. | |
775 | .e1 ab 10 | |
776 | .e1 ac 12 | |
777 | Using this procedure, each table line can be close to its corresponding format line. | |
778 | .bd I 3 | |
779 | .br | |
780 | .sp 3p | |
781 | .ft I | |
782 | Warning: | |
783 | .ft R | |
784 | .bd I | |
785 | it is not possible to change the number of columns, the space | |
786 | between columns, the global options such as \fIbox,\fR | |
787 | or the selection of columns to be made equal width. | |
788 | .SH | |
789 | Usage. | |
790 | .PP | |
791 | On | |
792 | \s-2UNIX\s0, | |
793 | .I | |
794 | tbl | |
795 | .R | |
796 | can be run on a simple table with the command | |
797 | .DS | |
798 | tbl input-file | troff | |
799 | .DE | |
800 | but | |
801 | for more complicated use, where there are several input files, | |
802 | and they contain equations and \fIms\fR memorandum layout commands as well | |
803 | as tables, the normal command would be | |
804 | .DS | |
805 | tbl file-1 file-2 \*. \*. \*. | eqn | troff \-ms | |
806 | .DE | |
807 | and, of course, the usual options may be used on the | |
808 | .I | |
809 | troff | |
810 | .R | |
811 | and | |
812 | .I | |
813 | eqn | |
814 | .R | |
815 | commands. The usage for | |
816 | .I | |
817 | nroff | |
818 | .R | |
819 | is similar | |
820 | to that for | |
821 | .I | |
822 | troff, | |
823 | .R | |
824 | but only | |
825 | \s-2TELETYPE\s+2\(rg Model 37 and | |
826 | Diablo-mechanism (\s-2DASI\s0 or \s-2GSI\s0) | |
827 | terminals can print boxed tables directly. | |
828 | .PP | |
829 | For the convenience of users employing line printers without | |
830 | adequate driving tables or post-filters, there is a special | |
831 | .I \-TX | |
832 | command line option to | |
833 | .I tbl | |
834 | which produces output that does not have fractional line | |
835 | motions in it. | |
836 | The only other command line options recognized by | |
837 | .I tbl | |
838 | are | |
839 | .I \-ms | |
840 | and | |
841 | .I \-mm | |
842 | which are turned into | |
843 | commands to fetch the corresponding macro files; | |
844 | usually it is more convenient to place these arguments | |
845 | on the | |
846 | .I troff | |
847 | part of the command line, | |
848 | but they are accepted by | |
849 | .I tbl | |
850 | as well. | |
851 | .PP | |
852 | Note that when | |
853 | .I | |
854 | eqn | |
855 | .R | |
856 | and | |
857 | .I | |
858 | tbl | |
859 | .R | |
860 | are used together on the same file | |
861 | .I | |
862 | tbl | |
863 | .R | |
864 | should be used first. | |
865 | If there are no equations within tables, | |
866 | either order works, but it is usually faster | |
867 | to run | |
868 | .I | |
869 | tbl | |
870 | .R | |
871 | first, since | |
872 | .I | |
873 | eqn | |
874 | .R | |
875 | normally produces a larger expansion of the input | |
876 | than | |
877 | .I | |
878 | tbl. | |
879 | .R | |
880 | However, if there are equations within tables | |
881 | (using the | |
882 | .I | |
883 | delim | |
884 | .R | |
885 | mechanism in | |
886 | .I | |
887 | eqn\fR), | |
888 | .I | |
889 | tbl | |
890 | .R | |
891 | must be first or the output will be scrambled. | |
892 | Users must also beware of using equations in | |
893 | \fBn\fR-style columns; this is nearly always wrong, | |
894 | since | |
895 | .I | |
896 | tbl | |
897 | .R | |
898 | attempts to split numerical format items into two parts and this | |
899 | is not possible with equations. | |
900 | The user can defend against this by giving the | |
901 | .I delim(xx) | |
902 | table option; | |
903 | this prevents splitting of numerical columns within the delimiters. | |
904 | For example, if the | |
905 | .I eqn | |
906 | delimiters | |
907 | are | |
908 | .I $$ , | |
909 | giving | |
910 | .I delim($$) | |
911 | a numerical column such as | |
912 | ``1245 $+- 16$'' | |
913 | will be divided after 1245, not after 16. | |
914 | .PP | |
915 | .I | |
916 | Tbl | |
917 | .R | |
918 | limits tables to twenty columns; however, | |
919 | use of more than 16 numerical columns may fail because of | |
920 | limits in | |
921 | .I | |
922 | troff, | |
923 | .R | |
924 | producing the `too many number registers' message. | |
925 | \fITroff\fR number registers used by | |
926 | .I | |
927 | tbl | |
928 | .R | |
929 | must be avoided by the user within tables; | |
930 | these include two-digit names from 31 to 99, | |
931 | and names of the forms | |
932 | #\fIx\fR, \fIx\fR+, \fIx\fR\ |, \v'3p'^\v'-3p'\fIx\fR, and \fIx\fR\(mi, | |
933 | where | |
934 | \fIx\fR is any lower case letter. | |
935 | The names | |
936 | ##, #\(mi, and #^ are also used in certain circumstances. | |
937 | To conserve number register names, the | |
938 | \fBn\fR | |
939 | and | |
940 | \fBa\fR | |
941 | formats share a register; | |
942 | hence the restriction above that they may not be used in the same column. | |
943 | .PP | |
944 | For aid in writing layout macros, | |
945 | .I | |
946 | tbl | |
947 | .R | |
948 | defines a number register TW which is | |
949 | the table width; it is defined by the time that the ``\*.TE'' macro | |
950 | is invoked and may be used in the expansion of that macro. | |
951 | More importantly, to assist in laying out multi-page boxed tables | |
952 | the macro T# is defined to produce the bottom lines and side lines of a boxed | |
953 | table, and then invoked at its end. By use of this macro | |
954 | in the page footer a multi-page table can be boxed. | |
955 | In particular, the | |
956 | .I | |
957 | ms | |
958 | .R | |
959 | macros can be used to print a multi-page boxed table with a repeated heading | |
960 | by giving the | |
961 | argument H to the ``\*.TS'' macro. | |
962 | If the table start macro is written | |
963 | .br | |
964 | \&\*.TS H | |
965 | .br | |
966 | a line of the form | |
967 | .br | |
968 | \&\*.TH | |
969 | .br | |
970 | must be given in the table after any table heading (or at the start if none). | |
971 | Material up to the ``\*.TH'' is placed at the top of each page of table; | |
972 | the remaining lines in the table are placed on several pages as required. | |
973 | Note that this is | |
974 | .I | |
975 | not | |
976 | .R | |
977 | a feature of | |
978 | .I | |
979 | tbl, | |
980 | .R | |
981 | but of the \fIms\fR layout macros. | |
982 | .SH | |
983 | Examples. | |
984 | .PP | |
985 | Here are some examples illustrating features of | |
986 | .I | |
987 | tbl. | |
988 | .R | |
989 | .ds T \|\h'.4n'\v'-.2n'\s6\zT\s0\s10\v'.2n'\h'-.4n'\(ci\|\s0 | |
990 | The symbol \*T in the input represents a tab character. | |
991 | .de IN | |
992 | .po \\n(POu | |
993 | .sp |\\n(.hu | |
994 | .sp | |
995 | .ne \\$1 | |
996 | .mk | |
997 | .B | |
998 | Input: | |
999 | .R | |
1000 | .sp .5 | |
1001 | .nf | |
1002 | .in +3n | |
1003 | .. | |
1004 | .de OU | |
1005 | .br | |
1006 | .in -3n | |
1007 | .rt | |
1008 | .po +3i | |
1009 | .B | |
1010 | Output: | |
1011 | .R | |
1012 | .sp .5 | |
1013 | .. | |
1014 | .rm TS | |
1015 | .rm TE | |
1016 | .nf | |
1017 | .IN 2.5i | |
1018 | \&\*.TS | |
1019 | \&box; | |
1020 | \&c c c | |
1021 | \&l l l\*. | |
1022 | \&Language\*TAuthors\*TRuns on | |
1023 | \& | |
1024 | \&Fortran\*TMany\*TAlmost anything | |
1025 | \&PL/1\*TIBM\*T360/370 | |
1026 | \&C\*TBTL\*T11/45,H6000,370 | |
1027 | \&BLISS\*TCarnegie-Mellon\*TPDP-10,11 | |
1028 | \&IDS\*THoneywell\*TH6000 | |
1029 | \&Pascal\*TStanford\*T370 | |
1030 | \&\*.TE | |
1031 | .OU | |
1032 | .TS | |
1033 | box; | |
1034 | c c c | |
1035 | l l l. | |
1036 | Language Authors Runs on | |
1037 | ||
1038 | Fortran Many Almost anything | |
1039 | PL/1 IBM 360/370 | |
1040 | C BTL 11/45,H6000,370 | |
1041 | BLISS Carnegie-Mellon PDP-10,11 | |
1042 | IDS Honeywell H6000 | |
1043 | Pascal Stanford 370 | |
1044 | .TE | |
1045 | .IN 2.8i | |
1046 | \&\*.TS | |
1047 | \&allbox; | |
1048 | \&c s s | |
1049 | \&c c c | |
1050 | \&n n n\*. | |
1051 | \&AT&T Common Stock | |
1052 | \&Year\*TPrice\*TDividend | |
1053 | \&1971\*T41-54\*T$2\*.60 | |
1054 | \&2\*T41-54\*T2\*.70 | |
1055 | \&3\*T46-55\*T2\*.87 | |
1056 | \&4\*T40-53\*T3\*.24 | |
1057 | \&5\*T45-52\*T3\*.40 | |
1058 | \&6\*T51-59\*T\*.95* | |
1059 | \&\*.TE | |
1060 | \&* (first quarter only) | |
1061 | .OU | |
1062 | .TS | |
1063 | allbox; | |
1064 | c s s | |
1065 | c c c | |
1066 | n n n. | |
1067 | AT&T Common Stock | |
1068 | Year Price Dividend | |
1069 | 1971 41-54 $2.60 | |
1070 | 2 41-54 2.70 | |
1071 | 3 46-55 2.87 | |
1072 | 4 40-53 3.24 | |
1073 | 5 45-52 3.40 | |
1074 | 6 51-59 .95* | |
1075 | .TE | |
1076 | * (first quarter only) | |
1077 | .IN 4i | |
1078 | \&\*.TS | |
1079 | \&box; | |
1080 | \&c s s | |
1081 | \&c | c | c | |
1082 | \&l | l | n\*. | |
1083 | \&Major New York Bridges | |
1084 | \&= | |
1085 | \&Bridge\*TDesigner\*TLength | |
1086 | \&\(ul | |
1087 | \&Brooklyn\*TJ\*. A\*. Roebling\*T1595 | |
1088 | \&Manhattan\*TG\*. Lindenthal\*T1470 | |
1089 | \&Williamsburg\*TL\*. L\*. Buck\*T1600 | |
1090 | \&\(ul | |
1091 | \&Queensborough\*TPalmer &\*T1182 | |
1092 | \&\*T Hornbostel | |
1093 | \&\(ul | |
1094 | \&\*T\*T1380 | |
1095 | \&Triborough\*TO\*. H\*. Ammann\*T\(ul | |
1096 | \&\*T\*T383 | |
1097 | \&\(ul | |
1098 | \&Bronx Whitestone\*TO\*. H\*. Ammann\*T2300 | |
1099 | \&Throgs Neck\*TO\*. H\*. Ammann\*T1800 | |
1100 | \&\(ul | |
1101 | \&George Washington\*TO\*. H\*. Ammann\*T3500 | |
1102 | \&\*.TE | |
1103 | .OU | |
1104 | .TS | |
1105 | box; | |
1106 | c s s | |
1107 | c | c | c | |
1108 | l | l | n. | |
1109 | Major New York Bridges | |
1110 | = | |
1111 | Bridge Designer Length | |
1112 | _ | |
1113 | Brooklyn J. A. Roebling 1595 | |
1114 | Manhattan G. Lindenthal 1470 | |
1115 | Williamsburg L. L. Buck 1600 | |
1116 | _ | |
1117 | Queensborough Palmer & 1182 | |
1118 | Hornbostel | |
1119 | _ | |
1120 | 1380 | |
1121 | Triborough O. H. Ammann _ | |
1122 | 383 | |
1123 | _ | |
1124 | Bronx Whitestone O. H. Ammann 2300 | |
1125 | Throgs Neck O. H. Ammann 1800 | |
1126 | _ | |
1127 | George Washington O. H. Ammann 3500 | |
1128 | .TE | |
1129 | .IN 3.0i | |
1130 | \&\*.TS | |
1131 | \&c c | |
1132 | \&np-2 | n | \*. | |
1133 | \&\*TStack | |
1134 | \&\*T\(ul | |
1135 | \&1\*T46 | |
1136 | \&\*T\(ul | |
1137 | \&2\*T23 | |
1138 | \&\*T\(ul | |
1139 | \&3\*T15 | |
1140 | \&\*T\(ul | |
1141 | \&4\*T6\*.5 | |
1142 | \&\*T\(ul | |
1143 | \&5\*T2\*.1 | |
1144 | \&\*T\(ul | |
1145 | \&\*.TE | |
1146 | .OU | |
1147 | .TS | |
1148 | c c | |
1149 | np-2 | n |. | |
1150 | Stack | |
1151 | _ | |
1152 | 1 46 | |
1153 | _ | |
1154 | 2 23 | |
1155 | _ | |
1156 | 3 15 | |
1157 | _ | |
1158 | 4 6.5 | |
1159 | _ | |
1160 | 5 2.1 | |
1161 | _ | |
1162 | .TE | |
1163 | .IN 2.5i | |
1164 | \&\*.TS | |
1165 | \&box; | |
1166 | \&L L L | |
1167 | \&L L \(ul | |
1168 | \&L L | LB | |
1169 | \&L L \(ul | |
1170 | \&L L L\*. | |
1171 | \&january\*Tfebruary\*Tmarch | |
1172 | \&april\*Tmay | |
1173 | \&june\*Tjuly\*TMonths | |
1174 | \&august\*Tseptember | |
1175 | \&october\*Tnovember\*Tdecember | |
1176 | \&\*.TE | |
1177 | .OU | |
1178 | .TS | |
1179 | box; | |
1180 | L L L | |
1181 | L L _ | |
1182 | L L | LB | |
1183 | L L _ | |
1184 | L L L. | |
1185 | january february march | |
1186 | april may | |
1187 | june july Months | |
1188 | august september | |
1189 | october november december | |
1190 | .TE | |
1191 | .IN 5.0i | |
1192 | .e2 ab | |
1193 | \&\*.TS | |
1194 | \&box; | |
1195 | \&cfB s s s\*. | |
1196 | \&Composition of Foods | |
1197 | \&\(ul | |
1198 | \&\*.T& | |
1199 | \&c | c s s | |
1200 | \&c | c s s | |
1201 | \&c | c | c | c\*. | |
1202 | \&Food\*TPercent by Weight | |
1203 | \&\e^\*T\(ul | |
1204 | \&\e^\*TProtein\*TFat\*TCarbo- | |
1205 | \&\e^\*T\e^\*T\e^\*Thydrate | |
1206 | \&\(ul | |
1207 | \&\*.T& | |
1208 | \&l | n | n | n\*. | |
1209 | \&Apples\*T\*.4\*T\*.5\*T13\*.0 | |
1210 | \&Halibut\*T18\*.4\*T5\*.2\*T\*. \*. \*. | |
1211 | \&Lima beans\*T7\*.5\*T\*.8\*T22\*.0 | |
1212 | \&Milk\*T3\*.3\*T4\*.0\*T5\*.0 | |
1213 | \&Mushrooms\*T3\*.5\*T\*.4\*T6\*.0 | |
1214 | \&Rye bread\*T9\*.0\*T\*.6\*T52\*.7 | |
1215 | \&\*.TE | |
1216 | .OU | |
1217 | .TS | |
1218 | box; | |
1219 | cfB s s s. | |
1220 | Composition of Foods | |
1221 | _ | |
1222 | .T& | |
1223 | c |c s s | |
1224 | c |c s s | |
1225 | c |c |c |c. | |
1226 | Food Percent by Weight | |
1227 | \^ _ | |
1228 | \^ Protein Fat Carbo- | |
1229 | \^ \^ \^ hydrate | |
1230 | _ | |
1231 | .T& | |
1232 | l |n |n |n. | |
1233 | Apples .4 .5 13.0 | |
1234 | Halibut 18.4 5.2 ... | |
1235 | Lima beans 7.5 .8 22.0 | |
1236 | Milk 3.3 4.0 5.0 | |
1237 | Mushrooms 3.5 .4 6.0 | |
1238 | Rye bread 9.0 .6 52.7 | |
1239 | .TE | |
1240 | .IN 3.7i | |
1241 | .e2 aa | |
1242 | \&\*.TS | |
1243 | \&allbox; | |
1244 | \&cfI s s | |
1245 | \&c cw(1i) cw(1i) | |
1246 | \&lp9 lp9 lp9\*. | |
1247 | \&New York Area Rocks | |
1248 | \&Era\*TFormation\*TAge (years) | |
1249 | \&Precambrian\*TReading Prong\*T>1 billion | |
1250 | \&Paleozoic\*TManhattan Prong\*T400 million | |
1251 | \&Mesozoic\*TT{ | |
1252 | \&\*.na | |
1253 | \&Newark Basin, incl\*. | |
1254 | \&Stockton, Lockatong, and Brunswick | |
1255 | \&formations; also Watchungs | |
1256 | \&and Palisades\*. | |
1257 | \&T}\*T200 million | |
1258 | \&Cenozoic\*TCoastal Plain\*TT{ | |
1259 | \&On Long Island 30,000 years; | |
1260 | \&Cretaceous sediments redeposited | |
1261 | \&by recent glaciation\*. | |
1262 | \&\*.ad | |
1263 | \&T} | |
1264 | \&\*.TE | |
1265 | .OU | |
1266 | .fi | |
1267 | .TS | |
1268 | allbox; | |
1269 | cfI s s | |
1270 | c cw(1i) cw(1i) | |
1271 | lp9 lp9 lp9. | |
1272 | New York Area Rocks | |
1273 | Era Formation Age (years) | |
1274 | Precambrian Reading Prong >1 billion | |
1275 | Paleozoic Manhattan Prong 400 million | |
1276 | Mesozoic T{ | |
1277 | .na | |
1278 | Newark Basin, incl. | |
1279 | Stockton, Lockatong, and Brunswick | |
1280 | formations; also Watchungs | |
1281 | and Palisades. | |
1282 | T} 200 million | |
1283 | Cenozoic Coastal Plain T{ | |
1284 | On Long Island 30,000 years; | |
1285 | Cretaceous sediments redeposited | |
1286 | by recent glaciation. | |
1287 | .ad | |
1288 | T} | |
1289 | .TE | |
1290 | .IN 2i | |
1291 | \&\*.EQ | |
1292 | \&delim $$ | |
1293 | \&\*.EN | |
1294 | .sp | |
1295 | \&\*. \*. \*. | |
1296 | .sp | |
1297 | \&\*.TS | |
1298 | \&doublebox; | |
1299 | \&c c | |
1300 | \&l l\*. | |
1301 | \&Name\*TDefinition | |
1302 | \&\*.sp | |
1303 | \&\*.vs +2p | |
1304 | \&Gamma\*T$GAMMA (z) = int sub 0 sup inf t sup {z-1} e sup -t dt$ | |
1305 | \&Sine\*T$sin (x) = 1 over 2i ( e sup ix - e sup -ix )$ | |
1306 | \&Error\*T$ roman erf (z) = 2 over sqrt pi int sub 0 sup z e sup {-t sup 2} dt$ | |
1307 | \&Bessel\*T$ J sub 0 (z) = 1 over pi int sub 0 sup pi cos ( z sin theta ) d theta $ | |
1308 | \&Zeta\*T$ zeta (s) = sum from k=1 to inf k sup -s ~~( Re~s > 1)$ | |
1309 | \&\*.vs -2p | |
1310 | \&\*.TE | |
1311 | .di qq | |
1312 | .EQ | |
1313 | delim $$ | |
1314 | .EN | |
1315 | .di | |
1316 | .rm qq | |
1317 | .rs | |
1318 | .OU | |
1319 | .TS | |
1320 | doublebox; | |
1321 | c c | |
1322 | l l. | |
1323 | Name Definition | |
1324 | .sp | |
1325 | .vs +2p | |
1326 | Gamma $GAMMA (z) = int sub 0 sup inf t sup {z-1} e sup -t dt$ | |
1327 | Sine $sin (x) = 1 over 2i ( e sup ix - e sup -ix )$ | |
1328 | Error $ roman erf (z) = 2 over sqrt pi int sub 0 sup z e sup {-t sup 2} dt$ | |
1329 | Bessel $ J sub 0 (z) = 1 over pi int sub 0 sup pi cos ( z sin theta ) d theta $ | |
1330 | Zeta $ zeta (s) = sum from k=1 to inf k sup -s ~~( Re~s > 1)$ | |
1331 | .vs -2p | |
1332 | .TE | |
1333 | .ds : \|:\| | |
1334 | .IN 2i | |
1335 | \&\*.TS | |
1336 | \&box, tab(\*:); | |
1337 | \&cb s s s s | |
1338 | \&cp-2 s s s s | |
1339 | \&c |\|| c | c | c | c | |
1340 | \&c |\|| c | c | c | c | |
1341 | \&r2 |\|| n2 | n2 | n2 | n\*. | |
1342 | \&Readability of Text | |
1343 | \&Line Width and Leading for 10-Point Type | |
1344 | \&= | |
1345 | \&Line\*:Set\*:1-Point\*:2-Point\*:4-Point | |
1346 | \&Width\*:Solid\*:Leading\*:Leading\*:Leading | |
1347 | \&_ | |
1348 | \&9 Pica\*:\e-9\*.3\*:\e-6\*.0\*:\e-5\*.3\*:\e-7\*.1 | |
1349 | \&14 Pica\*:\e-4\*.5\*:\e-0\*.6\*:\e-0\*.3\*:\e-1\*.7 | |
1350 | \&19 Pica\*:\e-5\*.0\*:\e-5\*.1\*: 0\*.0\*:\e-2\*.0 | |
1351 | \&31 Pica\*:\e-3\*.7\*:\e-3\*.8\*:\e-2\*.4\*:\e-3\*.6 | |
1352 | \&43 Pica\*:\e-9\*.1\*:\e-9\*.0\*:\e-5\*.9\*:\e-8\*.8 | |
1353 | \&\*.TE | |
1354 | .OU | |
1355 | .TS | |
1356 | box, tab(:); | |
1357 | cb s s s s | |
1358 | cp-2 s s s s | |
1359 | c ||c |c |c |c | |
1360 | c ||c |c |c |c | |
1361 | r2 ||n2 |n2 |n2 |n. | |
1362 | Readability of Text | |
1363 | Line Width and Leading for 10-Point Type | |
1364 | = | |
1365 | Line:Set:1-Point:2-Point:4-Point | |
1366 | Width:Solid:Leading:Leading:Leading | |
1367 | _ | |
1368 | 9 Pica:\-9.3:\-6.0:\-5.3:\-7.1 | |
1369 | 14 Pica:\-4.5:\-0.6:\-0.3:\-1.7 | |
1370 | 19 Pica:\-5.0:\-5.1: 0.0:\-2.0 | |
1371 | 31 Pica:\-3.7:\-3.8:\-2.4:\-3.6 | |
1372 | 43 Pica:\-9.1:\-9.0:\-5.9:\-8.8 | |
1373 | .TE | |
1374 | .IN 7i | |
1375 | .e2 ac | |
1376 | \&\*.TS | |
1377 | \&c s | |
1378 | \&cip-2 s | |
1379 | \&l n | |
1380 | \&a n\*. | |
1381 | \&Some London Transport Statistics | |
1382 | \&(Year 1964) | |
1383 | \&Railway route miles\*T244 | |
1384 | \&Tube\*T66 | |
1385 | \&Sub-surface\*T22 | |
1386 | \&Surface\*T156 | |
1387 | \&\*.sp \*.5 | |
1388 | \&\*.T& | |
1389 | \&l r | |
1390 | \&a r\*. | |
1391 | \&Passenger traffic \e- railway | |
1392 | \&Journeys\*T674 million | |
1393 | \&Average length\*T4\*.55 miles | |
1394 | \&Passenger miles\*T3,066 million | |
1395 | \&\*.T& | |
1396 | \&l r | |
1397 | \&a r\*. | |
1398 | \&Passenger traffic \e- road | |
1399 | \&Journeys\*T2,252 million | |
1400 | \&Average length\*T2\*.26 miles | |
1401 | \&Passenger miles\*T5,094 million | |
1402 | \&\*.T& | |
1403 | \&l n | |
1404 | \&a n\*. | |
1405 | \&\*.sp \*.5 | |
1406 | \&Vehicles\*T12,521 | |
1407 | \&Railway motor cars\*T2,905 | |
1408 | \&Railway trailer cars\*T1,269 | |
1409 | \&Total railway\*T4,174 | |
1410 | \&Omnibuses\*T8,347 | |
1411 | \&\*.T& | |
1412 | \&l n | |
1413 | \&a n\*. | |
1414 | \&\*.sp \*.5 | |
1415 | \&Staff\*T73,739 | |
1416 | \&Administrative, etc\*.\*T5,582 | |
1417 | \&Civil engineering\*T5,134 | |
1418 | \&Electrical eng\*.\*T1,714 | |
1419 | \&Mech\*. eng\*. \e- railway\*T4,310 | |
1420 | \&Mech\*. eng\*. \e- road\*T9,152 | |
1421 | \&Railway operations\*T8,930 | |
1422 | \&Road operations\*T35,946 | |
1423 | \&Other\*T2,971 | |
1424 | \&\*.TE | |
1425 | .OU | |
1426 | .TS | |
1427 | c s | |
1428 | cip-2 s | |
1429 | l n | |
1430 | a n. | |
1431 | Some London Transport Statistics | |
1432 | (Year 1964) | |
1433 | Railway route miles 244 | |
1434 | Tube 66 | |
1435 | Sub-surface 22 | |
1436 | Surface 156 | |
1437 | .sp .5 | |
1438 | .T& | |
1439 | l r | |
1440 | a r. | |
1441 | Passenger traffic \(mi railway | |
1442 | Journeys 674 million | |
1443 | Average length 4.55 miles | |
1444 | Passenger miles 3,066 million | |
1445 | .T& | |
1446 | l r | |
1447 | a r. | |
1448 | Passenger traffic \(mi road | |
1449 | Journeys 2,252 million | |
1450 | Average length 2.26 miles | |
1451 | Passenger miles 5,094 million | |
1452 | .T& | |
1453 | l n | |
1454 | a n. | |
1455 | .sp .5 | |
1456 | Vehicles 12,521 | |
1457 | Railway motor cars 2,905 | |
1458 | Railway trailer cars 1,269 | |
1459 | Total railway 4,174 | |
1460 | Omnibuses 8,347 | |
1461 | .T& | |
1462 | l n | |
1463 | a n. | |
1464 | .sp .5 | |
1465 | Staff 73,739 | |
1466 | Administrative, etc. 5,582 | |
1467 | Civil engineering 5,134 | |
1468 | Electrical eng. 1,714 | |
1469 | Mech. eng. \(mi railway 4,310 | |
1470 | Mech. eng. \(mi road 9,152 | |
1471 | Railway operations 8,930 | |
1472 | Road operations 35,946 | |
1473 | Other 2,971 | |
1474 | .TE | |
1475 | .po \n(POu | |
1476 | .sp |\n(.hu | |
1477 | .de IN | |
1478 | .sp | |
1479 | .ne 1i | |
1480 | .B | |
1481 | Input: | |
1482 | .R | |
1483 | .sp .5 | |
1484 | .in +3n | |
1485 | .nf | |
1486 | .. | |
1487 | .de OU | |
1488 | .sp | |
1489 | .in -3n | |
1490 | .ne 1i | |
1491 | .B | |
1492 | Output: | |
1493 | .R | |
1494 | .sp .5 | |
1495 | .. | |
1496 | .ns | |
1497 | .EQ | |
1498 | delim off | |
1499 | .EN | |
1500 | .IN | |
1501 | \&\*.ps 8 | |
1502 | \&\*.vs 10p | |
1503 | \&\*.TS | |
1504 | center box; | |
1505 | \&c s s | |
1506 | \&ci s s | |
1507 | \&c c c | |
1508 | \&lB l n\*. | |
1509 | \&New Jersey Representatives | |
1510 | \&(Democrats) | |
1511 | \&\*.sp \*.5 | |
1512 | \&Name\*TOffice address\*TPhone | |
1513 | \&\*.sp \*.5 | |
1514 | \&James J\*. Florio\*T23 S\*. White Horse Pike, Somerdale 08083\*T609-627-8222 | |
1515 | \&William J\*. Hughes\*T2920 Atlantic Ave\*., Atlantic City 08401\*T609-345-4844 | |
1516 | \&James J\*. Howard\*T801 Bangs Ave\*., Asbury Park 07712\*T201-774-1600 | |
1517 | \&Frank Thompson, Jr\*.\*T10 Rutgers Pl\*., Trenton 08618\*T609-599-1619 | |
1518 | \&Andrew Maguire\*T115 W\*. Passaic St\*., Rochelle Park 07662\*T201-843-0240 | |
1519 | \&Robert A\*. Roe\*TU\*.S\*.P\*.O\*., 194 Ward St\*., Paterson 07510\*T201-523-5152 | |
1520 | \&Henry Helstoski\*T666 Paterson Ave\*., East Rutherford 07073\*T201-939-9090 | |
1521 | \&Peter W\*. Rodino, Jr\*.\*TSuite 1435A, 970 Broad St\*., Newark 07102\*T201-645-3213 | |
1522 | \&Joseph G\*. Minish\*T308 Main St\*., Orange 07050\*T201-645-6363 | |
1523 | \&Helen S\*. Meyner\*T32 Bridge St\*., Lambertville 08530\*T609-397-1830 | |
1524 | \&Dominick V\*. Daniels\*T895 Bergen Ave\*., Jersey City 07306\*T201-659-7700 | |
1525 | \&Edward J\*. Patten\*TNatl\*. Bank Bldg\*., Perth Amboy 08861\*T201-826-4610 | |
1526 | \&\*.sp \*.5 | |
1527 | \&\*.T& | |
1528 | \&ci s s | |
1529 | \&lB l n\*. | |
1530 | \&(Republicans) | |
1531 | \&\*.sp \*.5v | |
1532 | \&Millicent Fenwick\*T41 N\*. Bridge St\*., Somerville 08876\*T201-722-8200 | |
1533 | \&Edwin B\*. Forsythe\*T301 Mill St\*., Moorestown 08057\*T609-235-6622 | |
1534 | \&Matthew J\*. Rinaldo\*T1961 Morris Ave\*., Union 07083\*T201-687-4235 | |
1535 | \&\*.TE | |
1536 | \&\*.ps 10 | |
1537 | \&\*.vs 12p | |
1538 | .ne 3.2i | |
1539 | .OU | |
1540 | .ps 8 | |
1541 | .vs 10p | |
1542 | .TS | |
1543 | center box; | |
1544 | c s s | |
1545 | ci s s | |
1546 | c c c | |
1547 | lB l n. | |
1548 | New Jersey Representatives | |
1549 | (Democrats) | |
1550 | .sp .5 | |
1551 | Name Office address Phone | |
1552 | .sp .5 | |
1553 | James J. Florio 23 S. White Horse Pike, Somerdale 08083 609-627-8222 | |
1554 | William J. Hughes 2920 Atlantic Ave., Atlantic City 08401 609-345-4844 | |
1555 | James J. Howard 801 Bangs Ave., Asbury Park 07712 201-774-1600 | |
1556 | Frank Thompson, Jr. 10 Rutgers Pl., Trenton 08618 609-599-1619 | |
1557 | Andrew Maguire 115 W. Passaic St., Rochelle Park 07662 201-843-0240 | |
1558 | Robert A. Roe U.S.P.O., 194 Ward St., Paterson 07510 201-523-5152 | |
1559 | Henry Helstoski 666 Paterson Ave., East Rutherford 07073 201-939-9090 | |
1560 | Peter W. Rodino, Jr. Suite 1435A, 970 Broad St., Newark 07102 201-645-3213 | |
1561 | Joseph G. Minish 308 Main St., Orange 07050 201-645-6363 | |
1562 | Helen S. Meyner 32 Bridge St., Lambertville 08530 609-397-1830 | |
1563 | Dominick V. Daniels 895 Bergen Ave., Jersey City 07306 201-659-7700 | |
1564 | Edward J. Patten Natl. Bank Bldg., Perth Amboy 08861 201-826-4610 | |
1565 | .sp .5 | |
1566 | .T& | |
1567 | ci s s | |
1568 | lB l n. | |
1569 | (Republicans) | |
1570 | .sp .5v | |
1571 | Millicent Fenwick 41 N. Bridge St., Somerville 08876 201-722-8200 | |
1572 | Edwin B. Forsythe 301 Mill St., Moorestown 08057 609-235-6622 | |
1573 | Matthew J. Rinaldo 1961 Morris Ave., Union 07083 201-687-4235 | |
1574 | .TE | |
1575 | .ps 10 | |
1576 | .vs 12p | |
1577 | .sp | |
1578 | .fi | |
1579 | This is a paragraph of normal text placed here only to indicate where | |
1580 | the left and right margins are. In this way the reader can judge | |
1581 | the appearance of centered tables or expanded tables, and observe | |
1582 | how such tables are formatted. | |
1583 | .IN | |
1584 | \&\*.TS | |
1585 | \&expand; | |
1586 | \&c s s s | |
1587 | \&c c c c | |
1588 | \&l l n n\*. | |
1589 | \&Bell Labs Locations | |
1590 | \&Name\*TAddress\*TArea Code\*TPhone | |
1591 | \&Holmdel\*THolmdel, N\*. J\*. 07733\*T201\*T949-3000 | |
1592 | \&Murray Hill\*TMurray Hill, N\*. J\*. 07974\*T201\*T582-6377 | |
1593 | \&Whippany\*TWhippany, N\*. J\*. 07981\*T201\*T386-3000 | |
1594 | \&Indian Hill\*TNaperville, Illinois 60540\*T312\*T690-2000 | |
1595 | \&\*.TE | |
1596 | .ne 1.3i | |
1597 | .OU | |
1598 | .TS | |
1599 | expand; | |
1600 | c s s s | |
1601 | c c c c | |
1602 | l l n n. | |
1603 | Bell Labs Locations | |
1604 | Name Address Area Code Phone | |
1605 | Holmdel Holmdel, N. J. 07733 201 949-3000 | |
1606 | Murray Hill Murray Hill, N. J. 07974 201 582-6377 | |
1607 | Whippany Whippany, N. J. 07981 201 386-3000 | |
1608 | Indian Hill Naperville, Illinois 60540 312 690-2000 | |
1609 | .TE | |
1610 | .br | |
1611 | .ps 8 | |
1612 | .vs 9p | |
1613 | .ne 5i | |
1614 | .IN | |
1615 | \&\*.TS | |
1616 | \&box; | |
1617 | \&cb s s s | |
1618 | \&c | c | c s | |
1619 | \<iw(1i) | ltw(2i) | lp8 | lw(1\*.6i)p8\*. | |
1620 | \&Some Interesting Places | |
1621 | \&_ | |
1622 | \&Name\*TDescription\*TPractical Information | |
1623 | \&_ | |
1624 | \&T{ | |
1625 | \&American Museum of Natural History | |
1626 | \&T}\*TT{ | |
1627 | \&The collections fill 11\*.5 acres (Michelin) or 25 acres (MTA) | |
1628 | \&of exhibition halls on four floors\*. There is a full-sized replica | |
1629 | \&of a blue whale and the world's largest star sapphire (stolen in 1964)\*. | |
1630 | \&T}\*THours\*T10-5, ex\*. Sun 11-5, Wed\*. to 9 | |
1631 | \&\e^\*T\e^\*TLocation\*TT{ | |
1632 | \&Central Park West & 79th St\*. | |
1633 | \&T} | |
1634 | \&\e^\*T\e^\*TAdmission\*TDonation: $1\*.00 asked | |
1635 | \&\e^\*T\e^\*TSubway\*TAA to 81st St\*. | |
1636 | \&\e^\*T\e^\*TTelephone\*T212-873-4225 | |
1637 | \&_ | |
1638 | \&Bronx Zoo\*TT{ | |
1639 | \&About a mile long and \*.6 mile wide, this is the largest zoo in America\*. | |
1640 | \&A lion eats 18 pounds | |
1641 | \&of meat a day while a sea lion eats 15 pounds of fish\*. | |
1642 | \&T}\*THours\*TT{ | |
1643 | \&10-4:30 winter, to 5:00 summer | |
1644 | \&T} | |
1645 | \&\e^\*T\e^\*TLocation\*TT{ | |
1646 | \&185th St\*. & Southern Blvd, the Bronx\*. | |
1647 | \&T} | |
1648 | \&\e^\*T\e^\*TAdmission\*T$1\*.00, but Tu,We,Th free | |
1649 | \&\e^\*T\e^\*TSubway\*T2, 5 to East Tremont Ave\*. | |
1650 | \&\e^\*T\e^\*TTelephone\*T212-933-1759 | |
1651 | \&_ | |
1652 | \&Brooklyn Museum\*TT{ | |
1653 | \&Five floors of galleries contain American and ancient art\*. | |
1654 | \&There are American period rooms and architectural ornaments saved | |
1655 | \&from wreckers, such as a classical figure from Pennsylvania Station\*. | |
1656 | \&T}\*THours\*TWed-Sat, 10-5, Sun 12-5 | |
1657 | \&\e^\*T\e^\*TLocation\*TT{ | |
1658 | \&Eastern Parkway & Washington Ave\*., Brooklyn\*. | |
1659 | \&T} | |
1660 | \&\e^\*T\e^\*TAdmission\*TFree | |
1661 | \&\e^\*T\e^\*TSubway\*T2,3 to Eastern Parkway\*. | |
1662 | \&\e^\*T\e^\*TTelephone\*T212-638-5000 | |
1663 | \&_ | |
1664 | \&T{ | |
1665 | \&New-York Historical Society | |
1666 | \&T}\*TT{ | |
1667 | \&All the original paintings for Audubon's | |
1668 | \&\*.I | |
1669 | \&Birds of America | |
1670 | \&\*.R | |
1671 | \&are here, as are exhibits of American decorative arts, New York history, | |
1672 | \&Hudson River school paintings, carriages, and glass paperweights\*. | |
1673 | \&T}\*THours\*TT{ | |
1674 | \&Tues-Fri & Sun, 1-5; Sat 10-5 | |
1675 | \&T} | |
1676 | \&\e^\*T\e^\*TLocation\*TT{ | |
1677 | \&Central Park West & 77th St\*. | |
1678 | \&T} | |
1679 | \&\e^\*T\e^\*TAdmission\*TFree | |
1680 | \&\e^\*T\e^\*TSubway\*TAA to 81st St\*. | |
1681 | \&\e^\*T\e^\*TTelephone\*T212-873-3400 | |
1682 | \&\*.TE | |
1683 | .br | |
1684 | .ps \n(PS | |
1685 | .vs \n(VSp | |
1686 | .OU | |
1687 | .fi | |
1688 | .rr 10 11 12 13 14 15 16 17 18 19 20 21 22 98 99 | |
1689 | .rr 60 61 62 63 64 65 66 67 68 69 70 | |
1690 | .rr 43 44 45 46 47 48 49 50 51 52 53 | |
1691 | .rr 83 84 85 86 87 88 89 90 91 92 93 | |
1692 | .rr #a | |
1693 | .rr #b | |
1694 | .rr #c | |
1695 | .rr #d | |
1696 | .rr #e | |
1697 | .rr YY | |
1698 | .rr OJ | |
1699 | .rr P | |
1700 | .rr AV CW GW DW FL KN SJ A1 A2 A3 I1 I2 I3 | |
1701 | .in 0 | |
1702 | .hy 1 | |
1703 | .TS | |
1704 | box; | |
1705 | cb s s s | |
1706 | c | c | c s | |
1707 | ltiw(1i) | ltw(2i) | lp8| lw(1.6i)p8. | |
1708 | Some Interesting Places | |
1709 | _ | |
1710 | Name Description Practical Information | |
1711 | _ | |
1712 | T{ | |
1713 | American Museum of Natural History | |
1714 | T} T{ | |
1715 | The collections fill 11.5 acres (Michelin) or 25 acres (MTA) | |
1716 | of exhibition halls on four floors. There is a full-sized replica | |
1717 | of a blue whale and the world's largest star sapphire (stolen in 1964). | |
1718 | T} Hours 10-5, ex. Sun 11-5, Wed. to 9 | |
1719 | \^ \^ Location T{ | |
1720 | Central Park West & 79th St. | |
1721 | T} | |
1722 | \^ \^ Admission Donation: $1.00 asked | |
1723 | \^ \^ Subway AA to 81st St. | |
1724 | \^ \^ Telephone 212-873-4225 | |
1725 | _ | |
1726 | Bronx Zoo T{ | |
1727 | About a mile long and .6 mile wide, this is the largest zoo in America. | |
1728 | A lion eats 18 pounds | |
1729 | of meat a day while a sea lion eats 15 pounds of fish. | |
1730 | T} Hours T{ | |
1731 | 10-4:30 winter, to 5:00 summer | |
1732 | T} | |
1733 | \^ \^ Location T{ | |
1734 | 185th St. & Southern Blvd, the Bronx. | |
1735 | T} | |
1736 | \^ \^ Admission $1.00, but Tu,We,Th free | |
1737 | \^ \^ Subway 2, 5 to East Tremont Ave. | |
1738 | \^ \^ Telephone 212-933-1759 | |
1739 | _ | |
1740 | Brooklyn Museum T{ | |
1741 | Five floors of galleries contain American and ancient art. | |
1742 | There are American period rooms and architectural ornaments saved | |
1743 | from wreckers, such as a classical figure from Pennsylvania Station. | |
1744 | T} Hours Wed-Sat, 10-5, Sun 12-5 | |
1745 | \^ \^ Location T{ | |
1746 | Eastern Parkway & Washington Ave., Brooklyn. | |
1747 | T} | |
1748 | \^ \^ Admission Free | |
1749 | \^ \^ Subway 2,3 to Eastern Parkway. | |
1750 | \^ \^ Telephone 212-638-5000 | |
1751 | _ | |
1752 | T{ | |
1753 | New-York Historical Society | |
1754 | T} T{ | |
1755 | All the original paintings for Audubon's | |
1756 | .I | |
1757 | Birds of America | |
1758 | .R | |
1759 | are here, as are exhibits of American decorative arts, New York history, | |
1760 | Hudson River school paintings, carriages, and glass paperweights. | |
1761 | T} Hours T{ | |
1762 | Tues-Fri & Sun, 1-5; Sat 10-5 | |
1763 | T} | |
1764 | \^ \^ Location T{ | |
1765 | Central Park West & 77th St. | |
1766 | T} | |
1767 | \^ \^ Admission Free | |
1768 | \^ \^ Subway AA to 81st St. | |
1769 | \^ \^ Telephone 212-873-3400 | |
1770 | .TE | |
1771 | .rr 40 | |
1772 | .rr 41 | |
1773 | .rr 42 | |
1774 | .rr 43 | |
1775 | .rr 80 | |
1776 | .rr 81 | |
1777 | .rr 82 | |
1778 | .rr 83 | |
1779 | .rr 60 | |
1780 | .rr 61 | |
1781 | .rr 62 | |
1782 | .rr 63 | |
1783 | .rr #a | |
1784 | .rr #b | |
1785 | .rr #c | |
1786 | .rr #d | |
1787 | .rr #e | |
1788 | .rr ## | |
1789 | .ne 2i | |
1790 | .fi | |
1791 | .LP | |
1792 | .SH | |
1793 | Acknowledgments. | |
1794 | .PP | |
1795 | Many thanks are due to J. C. Blinn, who has done a large amount | |
1796 | of testing and assisted with the design of the program. | |
1797 | He has also written many of the more intelligible sentences | |
1798 | in this document and helped edit all of it. | |
1799 | All phototypesetting programs on \s-2UNIX\s0 are dependent on the work | |
1800 | of J. F. Ossanna, whose assistance with this program in particular | |
1801 | has been most helpful. | |
1802 | This program is patterned on a table formatter originally | |
1803 | written by J. F. Gimpel. | |
1804 | The assistance of | |
1805 | T. A. Dolotta, B. W. Kernighan, and J. N. Sturman | |
1806 | is gratefully acknowledged. | |
1807 | .SG MH-1274-MEL-troff | |
1808 | .ne 2i | |
1809 | .SH | |
1810 | References. | |
1811 | .IP [1] | |
1812 | J. F. Ossanna, | |
1813 | .I | |
1814 | N\s-2ROFF\s0/T\s-2ROFF\s0 User's Manual, | |
1815 | .R | |
1816 | Computing Science Technical Report No. 54, | |
1817 | Bell Laboratories, 1976. | |
1818 | .IP [2] | |
1819 | K. Thompson and D. M. Ritchie, | |
1820 | ``The U\s-2NIX\s0 Time-Sharing System,'' | |
1821 | \fIComm. ACM. \fB17\fR, pp. 365\(mi75 (1974). | |
1822 | .IP [3] | |
1823 | B. W. Kernighan and L. L. Cherry, | |
1824 | ``A System for Typesetting Mathematics,'' | |
1825 | \fIComm. ACM. \fB18\fR, pp. 151\(mi57 (1975). | |
1826 | .IP [4] | |
1827 | M. E. Lesk, | |
1828 | .I | |
1829 | Typing Documents on U\s-2NIX\s0, | |
1830 | .R | |
1831 | Bell Laboratories internal memorandum. | |
1832 | .IP [5] | |
1833 | M. E. Lesk and B. W. Kernighan, | |
1834 | .I | |
1835 | Computer Typesetting of Technical Journals on U\s-2NIX\s0, | |
1836 | .R | |
1837 | Computing Science Technical Report No. 44, | |
1838 | Bell Laboratories, July 1976. | |
1839 | .IP [6] | |
1840 | J. R. Mashey and D. W. Smith, | |
1841 | .I | |
1842 | \s-2PWB/MM\s0 \(em Programmer's Workbench Memorandum Macros, | |
1843 | .R | |
1844 | Bell Laboratories memorandum. | |
1845 | .sp 3 | |
1846 | .SH | |
1847 | .ce | |
1848 | List of Tbl Command Characters and Words | |
1849 | .LP | |
1850 | .EQ | |
1851 | delim $$ | |
1852 | gfont roman | |
1853 | .EN | |
1854 | .TS | |
1855 | center; | |
1856 | cI cI cI | |
1857 | aB lf1 nf1 . | |
1858 | Command Meaning Section | |
1859 | a A Alphabetic subcolumn 2 | |
1860 | allbox Draw box around all items 1 | |
1861 | b B Boldface item 2 | |
1862 | box Draw box around table 1 | |
1863 | c C Centered column 2 | |
1864 | center Center table in page 1 | |
1865 | doublebox Doubled box around table 1 | |
1866 | e E Equal width columns 2 | |
1867 | expand Make table full line width 1 | |
1868 | f F Font change 2 | |
1869 | i I Italic item 2 | |
1870 | l L Left adjusted column 2 | |
1871 | n N Numerical column 2 | |
1872 | \fInnn\fR Column separation 2 | |
1873 | p P Point size change 2 | |
1874 | r R Right adjusted column 2 | |
1875 | s S Spanned item 2 | |
1876 | t T Vertical spanning at top 2 | |
1877 | tab \fR(\fIx\|\fR) Change data separator character 1 | |
1878 | $fat roman "T{" ~~ fat roman "T}"$ Text block 3 | |
1879 | v V Vertical spacing change 2 | |
1880 | w W Minimum width value 2 | |
1881 | \&\s+4.\s0\fIxx\fR Included \fItroff\fR command 3 | |
1882 | \(bv Vertical line 2 | |
1883 | \(bv\|\(bv Double vertical line 2 | |
1884 | \&\s+4\v'4p'^\v'-4p'\s0 Vertical span 2 | |
1885 | \e\&\s+4\v'4p'^\v'-4p'\s0 Vertical span 3 | |
1886 | \&= Double horizontal line 2,3 | |
1887 | \&$fat "_"$ Horizontal line 2,3 | |
1888 | \&$fat "\e_"$ Short horizontal line 3 | |
1889 | .TE |