|
|
1.1 root 1: .ig
2: Brian's crummy macros for including programs.
3: .P1
4: program text, with tabs...
5: .P2
6: This will keep it all on one page; insert
7: .P3 at will for optional page breaks.
8:
9: The following are settable number registers:
10: ..
11: .nr dP 1 \" delta point size for program
12: \" 1 makes it 1 smaller than text
13: .nr dV 1 \" delta vertical for programs; ditto
14: .nr dT 8 \" tab stops this far apart in .P1/.P2
15: .nr NH .5v \" adds extra space before NH or SH heading
16: .nr ds .5i \" default indent for programs
17: .hy 14 \" set hyphenation: 2=not last lines; 4= no -xx; 8=no xx-
18: .\"
19: .\"
20: .de UC \" print 1st arg in smaller size (upper case)
21: . \" .UC smaller after before
22: . \" e.g., .UC UNIX .)
23: \&\\$3\s-1\\$1\\s0\&\\$2
24: ..
25: .de IT \" italicize first argument; same convention for 2nd, 3rd args
26: .nr ff \\n(.f
27: \&\\$3\f2\\$1\f\\n(ff\^\&\\$2
28: ..
29: .de I \" italicize first argument; same convention for 2nd, 3rd args
30: .nr ff \\n(.f
31: \&\\$3\f2\\$1\f\\n(ff\^\&\\$2
32: ..
33: .de UL \" print 1st arg in CW font. don't ask why the name
34: .nr ff \\n(.f
35: \%\&\\$3\f(CW\\$1\f\\n(ff\&\\$2
36: ..
37: .de CW \" print 1st arg in CW font.
38: .nr ff \\n(.f
39: \%\&\\$3\f(CW\\$1\f\\n(ff\&\\$2
40: ..
41: .de UI \" print first arg in CW, second in italic
42: .nr ff \\n(.f
43: \%\&\\$3\f(CW\\$1\f2\\$2\f\\n(ff
44: ..
45: .de BI \" makes bold italic
46: .nr ff \\n(.f
47: \&\\$3\f4\\$1\f\\n(ff\^\&\\$2
48: ..
49: .de P1 \" start a program display
50: .ie \\n(.$ .DS I \\$1
51: .el .DS I \\n(dsu
52: .nf
53: .lg 0
54: .ps -\\n(dP
55: .vs -\\n(dV
56: .ft CW
57: .nr t \\n(dT*\\w'x'u
58: .ta 1u*\\ntu 2u*\\ntu 3u*\\ntu 4u*\\ntu 5u*\\ntu 6u*\\ntu 7u*\\ntu 8u*\\ntu 9u*\\ntu 10u*\\ntu 11u*\\ntu 12u*\\ntu 13u*\\ntu 14u*\\ntu
59: .lg 0
60: ..
61: .de P2 \" end a program display
62: .ps \\n(PS
63: .vs \\n(VSp
64: .ft 1
65: .fi
66: .DE
67: .lg
68: ..
69: .de P3 \" provides optional break in P1/P2
70: .nr x \\n(DV
71: .nr DV 0
72: .P2
73: .P1 \\n(P1u
74: .nr DV \\nx
75: ..
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.