home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / share / doc / usd / 11.notes / macros < prev    next >
Encoding:
Text File  |  1991-04-17  |  5.0 KB  |  321 lines

  1. .\" Copyright (c) 1980 The Regents of the University of California.
  2. .\" All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\"    notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\"    notice, this list of conditions and the following disclaimer in the
  11. .\"    documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\"    must display the following acknowledgement:
  14. .\"    This product includes software developed by the University of
  15. .\"    California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\"    may be used to endorse or promote products derived from this software
  18. .\"    without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\"    @(#)macros    6.2 (Berkeley) 4/17/91
  33. .\"
  34. .hw algo-rithm va-lid-ity mech-a-nism orga-nize per-cent-age jeop-ar-dizing un-known com-mu-ni-ca-tion en-a-bling  re-stric-tion
  35. .nr BT 1
  36. \" BT determines whether to leave white space at bottom of page
  37. .nr TP 1
  38. \" TP determines whether to leave white space at the top of page
  39. .ls 1
  40. .ie t \{\
  41. \" .ll 6.25i
  42. \" .lt 6.25i
  43. .po 1i
  44. .pl 11i \}
  45. .el \{\
  46. .ll 78
  47. .lt 78
  48. .pl 66 \}
  49. .if \n(BT .wh -1i JP
  50. .de JP
  51. 'bp
  52. ..
  53. .ds PA "USD:11-%
  54. .\".fp 1 R
  55. .\".fp 2 I
  56. .\".fp 3 B
  57. .\".fp 4 S
  58. .nh
  59. .de ch
  60. .br
  61. .ne 8
  62. .sp 2
  63. .ft B
  64. .nr a +1
  65. \\na\\ \\ 
  66. .nr b 0
  67. \\$1.
  68. .ft P
  69.  
  70. .ds Rk "
  71. .if 10-\\n% .ds Rk ".
  72. .am vt
  73.  
  74. \\fB\\na\\ \\ \\$1\\fP.\\*(Rk\\n%
  75. \\..
  76. ..
  77. .de ap
  78. .nr b 0
  79. .am va
  80. \\fB\\$1\\ \\ \\$2\\fP
  81. \\..
  82. .ds PA "SMM:10-\\$1-%
  83. .ds AP "\\$1
  84. .pn 1
  85. .bp
  86. .ce 2
  87. .ft B
  88. APPENDIX \\$1
  89. \\$2
  90. .ft P
  91.  
  92. ..
  93. .de se
  94. .br
  95. .ne 6
  96. .sp 1
  97. .ft B
  98. .nr b +1
  99. .nr c 0
  100. \\na.\\nb\\ \\ 
  101. \\$1.
  102. .ft P
  103. .ds Rk "
  104. .if 10-\\n% .ds Rk ".
  105. .am vt
  106. \\ \\ \\ \\na.\\nb\\ \\ \\$1.\\*(Rk\\n%
  107. \\..
  108. ..
  109. .de a1
  110. .br
  111. .ne 6
  112. .sp 1
  113. .ft B
  114. .nr b +1
  115. .nr c 0
  116. \\*(AP.\\nb\\ \\ 
  117. \\$1.
  118. .ft P
  119. ..
  120. .de ss
  121. .br
  122. .ne 6
  123. .nr c +1
  124. .nr d 0
  125. .ft B
  126. \\na.\\nb.\\nc\\ \\ 
  127. \\$1.
  128. .ft P
  129. .ds rk "
  130. .if 10-\\nc .ds rk " 
  131. .ds Rk "
  132. .if 10-\\n% .ds Rk ".
  133. .am vt
  134. \\ \\ \\ \\ \\ \\ \\ \\ \\na.\\nb.\\nc\\*(rk\\ \\ \\$1.\\*(Rk\\n%
  135. \\..
  136. ..
  137. .de a2
  138. .br
  139. .ne 6
  140. .nr c +1
  141. .nr d 0
  142. .ft B
  143. \\*(AP.\\nb.\\nc\\ \\ 
  144. \\$1.
  145. .ft P
  146. ..
  147. .de s2
  148. .br
  149. .ne 4
  150. .nr d +1
  151. .ft B
  152. \\na.\\nb.\\nc.\\nd\\ \\ 
  153. \\$1.
  154. .ft P
  155. .ds rl "
  156. .if 10-\\nc .ds rl " 
  157. .am vt
  158. \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\na.\\nb.\\nc.\\nd\\*(rk\\ \\ \\$1.    \\n%
  159. \\..
  160. ..
  161. .de s2
  162. .br
  163. .ne 4
  164. .sp 1
  165. .nr d +1
  166. .ft B
  167. \\na.\\nb.\\nc.\\nd\\ \\ 
  168. \\$1.
  169. .ft P
  170. .ds rl "
  171. .if 10-\\nc .ds rl " 
  172. ..
  173. .de hh
  174. 'if \n(TP 'sp |.5i
  175. .if \\n%>1 \{\
  176. .ie e .tl '\\*(TI''\\*(PA'
  177. .el .tl '\\*(PA''\\*(TI' \}
  178. 'sp 1
  179. 'ns
  180. .ev 2
  181. .ls 1
  182. .nf
  183. .if \\n(SW  .KK
  184. .fi
  185. .ev
  186. ..
  187. .de lz
  188. .br
  189. .ls 1
  190. .nf
  191. ..
  192. .de lq
  193. .br
  194. .fi
  195. .sp 1
  196. .ls
  197. ..
  198. .de KS
  199. .br
  200. .di KK
  201. .nr FK 0
  202. \!.nr SW 0
  203. .ev 1
  204. .ls 1
  205. ..
  206. .de KF
  207. .br
  208. .di KK
  209. .nr FK 1
  210. \!.nr SW 0
  211. .ev 1
  212. .ls 1
  213. ..
  214. .de KE
  215. .br
  216. .sp 1
  217. .di
  218. .nf
  219. .nr SW 1
  220. .if \\n(.p-\\n(nl-\\n(dn+1 .nr SW 0
  221. .in 0
  222. .if !\\n(SW  .KK
  223. .in
  224. .ev
  225. .if !\\n(FK .if \\n(SW .bp
  226. .fi
  227. ..
  228. .ev 1
  229. .ie t \{\
  230. .ll 6.25i
  231. .lt 6.25i
  232. .po 1i
  233. .pl 11i \}
  234. .el \{\
  235. .ll 78
  236. .lt 78
  237. .pl 66 \}
  238. .if \n(BT .wh -1i JP
  239. .hy 14
  240. .ev
  241. .ev 2
  242. .hy 14
  243. .ie t \{\
  244. .ll 6.25i
  245. .lt 6.25i
  246. .po 1i
  247. .pl 11i \}
  248. .el \{\
  249. .ll 78
  250. .lt 78
  251. .pl 66 \}
  252. .if \n(BT .wh -1i JP
  253. .ev
  254. .hy 14
  255. .if \n(mo-0 .ds mo January
  256. .if \n(mo-1 .ds mo February
  257. .if \n(mo-2 .ds mo March
  258. .if \n(mo-3 .ds mo April
  259. .if \n(mo-4 .ds mo May
  260. .if \n(mo-5 .ds mo June
  261. .if \n(mo-6 .ds mo July
  262. .if \n(mo-7 .ds mo August
  263. .if \n(mo-8 .ds mo September
  264. .if \n(mo-9 .ds mo October
  265. .if \n(mo-10 .ds mo November
  266. .if \n(mo-11 .ds mo December
  267. .if \n(dw-0 .ds dw Sunday
  268. .if \n(dw-1 .ds dw Monday
  269. .if \n(dw-2 .ds dw Tuesday
  270. .if \n(dw-3 .ds dw Wednesday
  271. .if \n(dw-4 .ds dw Thursday
  272. .if \n(dw-5 .ds dw Friday
  273. .if \n(dw-6 .ds dw Saturday
  274. .ds DA \*(mo \n(dy, 19\n(yr
  275. .de RS
  276. .ls 1
  277. .in +5
  278. ..
  279. .de rf
  280. .br
  281. .ne 4
  282. .ti -5
  283. ..
  284. .de RE
  285. .in -5
  286. .ls
  287. ..
  288. .de ix
  289. .ti -4
  290. \(bu\ \c
  291. ..
  292. .de bx
  293. .in +10
  294. .ls 1
  295. ..
  296. .de ex
  297. .br
  298. .ls
  299. .in -10
  300. ..
  301. .de bz
  302. .in +5
  303. .ll -5
  304. .ls 1
  305. ..
  306. .de iz
  307. .ti -5
  308. ____ \c
  309. ..
  310. .de ez
  311. .ls
  312. .ll
  313. .in
  314. ..
  315. .de TA
  316. .ta 0.5i 1.0i 1.5i 2.0i 2.5i 3.0i 3.5i 4.0i 4.5i 5i 5.5i 6i 6.5i
  317. ..
  318. .ds TI "Notesfile Reference Manual
  319. .if \n(TP .sp |1i
  320. .wh 0 hh
  321.