]> git.pond.sub.org Git - empserver/blob - info/INFO.MAC
(lF): Unused, remove.
[empserver] / info / INFO.MAC
1 .\" EMPIRE TROFF MACRO FILE
2 .\"
3 .\"
4 .\" $Header: INFO.MAC,v 1.6 89/09/29 01:55:49 mr-frog Exp $
5 .\"
6 .\" The TH Macro is for specifying the title of a new section
7 .\"
8 .\" In english:
9 .\"
10 .\"   Define the string Ts to be "$1 : $2" where $1 and $2 are the
11 .\"   first and second args to .TH
12 .\"
13 .\" push an "environment" onto the stack so that changes in
14 .\" font, etc. don't inturrupt what is going on in the
15 .\" text
16 .\"
17 .\" make sure that proportional spacing is on
18 .\"
19 .\" print the string Ts, centered
20 .\"
21 .\" restore spacing (not covered by environment)
22 .\"
23 .\" pop off the enviornment
24 .\"
25 .de TH          
26 .ds Ts \\$1\\\\0:\\\\0\\$2
27 .ev 1
28 .cs \\*N
29 'ce 1
30 \\*(nF\\*(Ts\\*(pF
31 .if \\n(CS>0 .cs \\*N \\*(cS
32 'sp
33 .ev
34 ..
35 .\"
36 .\"
37 .\"
38 .\"
39 .\"
40 .\"
41 .de EX          \" Start of macro EX
42 .nf
43 .ti +0.3i       \" Temporary indent of 3/10 inch
44 .\" Constant spacing for EF font = 26/36 ems 
45 .cs \*(EF 26
46 .nr CS 1        \" Indicate constant spacing on
47 .lg 0           \" Turn off ligature mode
48 .ps 8           \" 8-point
49 \*(eF[##:##] Command : \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9\*(nF
50 .ps 10          \" 10-point
51 .lg             \" Turn ligaturing back on
52 .\" Turn off constant spacing
53 .cs \*(EF
54 .nr CS 0        \" Indicate constant spacing off
55 .br             \" Break
56 .fi
57 ..
58 .de SY                  \" Start of macro SY
59 .s1
60 .\" Print out "SYNTAX" in bold font
61 \*(bFSYNTAX\*(pF
62 .ti +0.3i               \" Temporarily indent 3/10 inch
63 .\" Constant spacing for EF font, 26/36 ens
64 .cs \*(EF 26
65 .nr CS 1        \" Indicate constant spacing on
66 .lg 0           \" No ligatures
67 .ps 10          \" 10 point
68 .\" Print out in EF font
69 \*(eF[##:##] Command : \\$1\*(pF
70 .ps 10          \" 10 point
71 .lg                     \" Turn ligatures back on
72 .cs \*(EF               \" Turn off constant spacing
73 .nr CS 0                \" Indicate constant spacing off
74 .s1
75 ..
76 .de LV
77 .s1
78 Level: \\$1
79 .s1
80 ..
81 .de NA                  \" Start of macro NA -- name of command/concept
82 .s1
83 .\" Print out "NAME" in bold font
84 \*(bFNAME\*(pF
85 .ti +0.3i               \" Temporarily indent 3/10 inch
86 \\*(nF\\$1 \- \\$2\*(pF
87 .s1
88 ..
89 .de SA                  \" Start of macro SA -- SEE ALSO
90 .s1
91 .\" Print out "SEE ALSO" in bold font
92 \*(bFSEE ALSO\*(pF
93 .ti +0.3i               \" Temporarily indent 3/10 inch
94 \\*(nF\\$1\*(pF
95 .s1
96 ..
97 .de L                   \" Start of macro L
98 .br                     \" Break
99 .ti -\w'\\$1\\0\\0'u    \" Indent backwards with of 1st arg + 2 spaces
100 .\" Print 1st arg + 2 spaces
101 \\$1\0\0\c
102 ..
103 .de SH                  \" Start of macro SH -- section heading
104 .s1
105 \s+2\*(bF\\$1\*(pF\s0
106 .sp 0.6
107 ..
108 .de SS                  \" Start of macro SS -- subsection heading
109 .s1
110 \*(bF\\$1\*(pF
111 .sp 0.6
112 ..
113 .de NF          \" Start of macro NF
114 .nf             \" No-fill
115 .\" Constant width 26/36 ens
116 .cs \*(EF 26
117 .nr CS 1        \" Indicate constant spacing on
118 .lg 0           \" No ligatures
119 .ps 8           \" 8-point
120 .di Nf          \" Send output to macro Nf
121 \*(eF           \" Switch to EF font
122 .nr nF \\n(.i   \" Store current indent in nF number register
123 .in +0.3i       \" Add indentation 3/10 inch
124 ..
125 .de FI          \" Start of FI macro
126 .in \\n(nFu     \" Restore previous indentation
127 \*(nF           \" Interpolate nF register
128 .di             \" Terminate output to macro Nf
129 .ne \\n(dnu     \" Give me at least as much space as in dn number reg
130 .Nf             \" Call macro Nf
131 .ps 10          \" 10-point
132 .lg             \" Restore ligatures
133 .\" Turn off constant width
134 .cs \*(EF
135 .nr CS 0        \" Indicate constant spacing off
136 .fi             \" Back into fill mode
137 ..
138 .hy 15          \" Auto hyphenation with restrictions -- see troff man
139 .de s1          \" Start of macro s1
140 .sp 1           \" Blank line
141 .ne 4           \" Give me 4 vertical lines
142 ..
143 .ds HT \t       \" Define HT macro as a horizontal tab