home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 20_msmacro / refcard < prev   
Encoding:
Text File  |  1986-05-22  |  18.9 KB  |  1,256 lines

  1. .\"    @(#)refcard    6.1 (Berkeley) 5/22/86
  2. .\"
  3. .fp 3 gB
  4. .po .5i
  5. .de I
  6. .ft 2
  7. ..
  8. .de R
  9. .ft 1
  10. ..
  11. .de B
  12. .bd R 2
  13. \\$1
  14. .bd R
  15. ..
  16. .de hh
  17. .br
  18. .vs 10p
  19. .ps 12
  20. .bd 1 3
  21. .ce
  22. \\$1
  23. .ps 9
  24. .br
  25. .bd 1
  26. .sp
  27. ..
  28. .de NP
  29. 'po 0
  30. .ps 9
  31. .ta .25i 3.75i 7.25i 7.7i
  32. \(rn\t|\t|\t|\t\(rn
  33. 'po
  34. 'sp .2i
  35. .mk z
  36. ..
  37. .de FT
  38. .po 0
  39. .ps 9
  40. .ta .25i 3.75i 7.25i
  41.     |    |    |
  42. .po .5i
  43. ..
  44. .wh -8p FT
  45. .de b1
  46. .br
  47. .tm left col bottom at \\n(nl
  48. .po +3.5i
  49. .sp |\\nzu
  50. .ph
  51. ..
  52. .de b2
  53. .br
  54. .tm right col bottom at \\n(nl
  55. .po -3.5i
  56. .bp
  57. .ph
  58. ..
  59. .de ph
  60. .nr x +1
  61. .tl ''\\nx''
  62. .sp .2i
  63. ..
  64. .nr x 1
  65. .wh 0 NP
  66. .ll 3i
  67. .lt 3i
  68. .nr LL 3i
  69. .nr IQ 4
  70. .nr IR 4
  71. .de IP
  72. .RT
  73. .if \\n(IP=0 .nr IP +1
  74. .if \\n(.$ .LB "\\$1"
  75. .if !\\n(.$ .LB
  76. ..
  77. .de RT
  78. .if \\n(IP .in -\\n(IQn
  79. .if \\n(IP .nr IP -1
  80. ..
  81. .de LP
  82. .RT
  83. .ti 0
  84. .ne 3
  85. .if \\n(.$ .LB \\$1
  86. ..
  87. .de LB
  88. .in +\\n(IQn
  89. .ta \\n(IQn
  90. .if \\n(.$ .ti -\\n(IQn
  91. .if \\n(.$ \\$1\t\c
  92. ..
  93. .de RS
  94. .in +\\n(IRn
  95. ..
  96. .    \"RE - retreat to the left
  97. .de RE
  98. .br
  99. .in -\\n(IRn
  100. ..
  101. .br
  102. .rs
  103. .sp 1i
  104. .ps 14
  105. .vs 16p
  106. .ce 3
  107. A Guide to Preparing
  108. Documents with \-ms
  109. .sp 2
  110. .ps 10
  111. .vs 12p
  112. .ft I
  113. .ce
  114. M. E. Lesk
  115. .ft R
  116. .lt \n(.lu
  117. .sp .5
  118. .tl 'Bell Laboratories''August 1978'
  119. .sp .5
  120. .tl xx\l'\n(.lu'xx
  121. .sp 1
  122. .bd I 2
  123. .vs 11p
  124. .fi
  125. This guide gives some simple examples of
  126. document preparation on Bell Labs computers,
  127. emphasizing the use of the \fI\-ms\fR macro
  128. package.
  129. It enormously abbreviates
  130. information in
  131. .IP 1.
  132. .I
  133. Typing Documents on UNIX and GCOS,
  134. .R
  135. by M. E. Lesk;
  136. .IP 2.
  137. .I
  138. Typesetting Mathematics \- User's Guide,
  139. .R
  140. by B. W. Kernighan and L. L. Cherry; and
  141. .IP 3.
  142. .I
  143. Tbl \- A Program to Format Tables,
  144. .R
  145. by M. E. Lesk.
  146. .LP
  147. These memos are all included in the
  148. .I
  149. UNIX Programmer's Manual, Volume 2.
  150. .R
  151. The new user should also have
  152. .I
  153. A Tutorial Introduction to the UNIX Text Editor,
  154. .R
  155. by B. W. Kernighan.
  156. .sp .5
  157. For more detailed information, read
  158. .I
  159. Advanced Editing on UNIX
  160. .R
  161. and
  162. .I
  163. A Troff Tutorial,
  164. .R
  165. by B. W. Kernighan,
  166. and (for experts)
  167. .I
  168. Nroff\^/Troff Reference Manual
  169. .R
  170. by J. F. Ossanna.
  171. Information on related commands is
  172. found (for UNIX users) in
  173. .I
  174. UNIX for Beginners
  175. .R
  176. by B. W. Kernighan
  177. and the
  178. .I
  179. UNIX Programmer's Manual
  180. .R
  181. by K. Thompson and D. M. Ritchie.
  182. .br
  183. .vs 12p
  184. .sp 1.5
  185. .ce
  186. .ps +2
  187. Contents
  188. .nf
  189. .ps
  190. .sp .5
  191. .in .2i
  192. .bd I
  193. .ta 2.4i
  194. .cs I 25
  195. A TM \fI\fR 2
  196. A released paper \fI\fR 3
  197. An internal memo, and headings \fI\fR 4
  198. Lists, displays, and footnotes \fI\fR 5
  199. Indents, keeps, and double column \fI\fR 6
  200. Equations and registers \fI\fR 7
  201. Tables and usage \fI\fR 8
  202. .in 0
  203. .cs I
  204. .sp 1
  205. .fi
  206. .EQ
  207. delim $$
  208. .EN
  209. Throughout the examples, input is shown in
  210. .ft 3
  211. .br
  212. .ti +2n
  213. this Helvetica sans serif font
  214. .ft R
  215. .br
  216. while the resulting output is shown in
  217. .ti +2n
  218. this Times Roman font.
  219. .nf
  220. .sp  2
  221. .ce
  222. UNIX Document no. 1111
  223. .ps 9
  224. .vs 10p
  225. .EQ
  226. gsize 9
  227. .EN
  228. .b1
  229. .hh "Commands for a TM"
  230. .nf
  231. .ft 3
  232. \&.TM 1978-5b3 99999 99999-11
  233. \&.ND April 1, 1976
  234. \&.TL
  235. \&The Role of the Allen Wrench in Modern
  236. \&Electronics
  237. \&.AU "MH 2G-111" 2345
  238. \&J. Q. Pencilpusher
  239. \&.AU "MH 1K-222" 5432
  240. \&X. Y. Hardwired
  241. \&.AI
  242. \&.MH
  243. \&.OK
  244. \&Tools
  245. \&Design
  246. \&.AB
  247. \&This abstract should be short enough to
  248. \&fit on a single page cover sheet.
  249. \&It must attract the reader into sending for
  250. \&the complete memorandum.
  251. \&.AE
  252. \&.CS 10 2 12 5 6 7
  253. \&.NH
  254. \&Introduction.
  255. \&.PP
  256. \&Now the first paragraph of actual text ...
  257. \&...
  258. \&Last line of text.
  259. \&.SG MH-1234-JQP/XYH-unix
  260. \&.NH
  261. \&References ...
  262. .ft
  263. .sp
  264. .fi
  265. Commands not needed in a particular
  266. format are ignored.
  267. .sp 
  268. .ps 8
  269. .vs 9p
  270. .mk a
  271. .sp .20i
  272. .ll 3i
  273. .nf
  274. \h'2n'\s16\(bs\s7 $fat roman size 7  "Bell Laboratories"$        \s8Cover Sheet for TM
  275. .sp
  276. \s6\l'3i'
  277. .fi
  278. .ps 7
  279. .ft 2
  280. .sp 1p
  281. This information is for employees of Bell Laboratories.  (GEI 13.9-3)\p
  282. .ft 1
  283. .nf
  284. .vs 4p
  285. \s6\l'3i'
  286. .vs 9p
  287. .sp
  288. .ll 3.0i
  289. .ps 7
  290. .ta .25i 2.25i 2.45i
  291. .mk
  292. Title- \s8
  293. .rt
  294. .in .25i
  295. .hy 0
  296. .bd 1 2
  297. The Role of the Allen Wrench
  298. in Modern Electronics
  299. .hy 14
  300. .br
  301. .bd 1
  302. .rt
  303. .ll \\n(LLu
  304. .in 2.1i
  305. \s7Date- \s8
  306. .rt
  307. .in 2.35i
  308. .bd 1 2
  309. .ps 8
  310. April 1, 1976
  311. .sp
  312. .bd 1
  313. .ti 2.1i
  314. .mk
  315. \s7TM- \s8
  316. .br
  317. .rt
  318. .bd 1 2
  319. 1978-5b3
  320. .rt
  321. .in 0
  322. .bd 1
  323. .sp
  324. .mk
  325. \s7Other Keywords- \kQ 
  326. .rt
  327. .in \nQu
  328. .bd 1 2
  329. .ps 8
  330. Tools
  331. Design
  332. .rm OK
  333. .rm OD
  334. .in 0
  335. .bd 1
  336. .if t .sp .35i
  337. .ps 7
  338. .ta 1.05i 1.7i 2.0i
  339. Author    Location    Ext.    Charging Case- \s8$fat roman size 8 99999$
  340. .nf
  341. .mk
  342. .bd 1 2
  343. .ps 8
  344. J. Q. Pencilpusher    MH 2G-111    2345
  345. .rt
  346. .br
  347. .bd 1
  348.             \s7Filing Case- \s8$fat roman size 8 "99999a"$
  349. .br
  350. .bd 1 2
  351. X. Y. Hardwired    MH 1K-222    5432
  352. .sp .2i
  353. .bd 1
  354. .br
  355. .ll 3i
  356. .ce
  357. .ft I
  358. ABSTRACT
  359. .ft 1
  360. .sp
  361. .fi
  362. .ps 8
  363. .ll 2.5i
  364. .in +.25i
  365. .ti +2
  366. This abstract should be short enough to fit
  367. on a single page cover sheet.
  368. It must attract the reader into sending for the
  369. complete memorandum.
  370. .in
  371. .ll
  372. .sp .4i
  373. .nf
  374. \l'3i'
  375. .ta .9i 1.8i 2.7i
  376. .sp 5p
  377. Pages Text   10    Other   2    Total   12
  378. .if t .sp 8p
  379. .if n .sp 
  380. .if t No. Figures    5    No. Tables   6    No. Refs.   7    \b'|||||\ \ '
  381. \l'3i'
  382. .ps 6
  383. .if n .sp
  384. .lt 3i
  385. .tl 'E-1932-U (6-73)''SEE REVERSE SIDE FOR DISTRIBUTION LIST'
  386. .sp .20i
  387. .de eb
  388. .sp -1
  389. .nf
  390. \h'-1m'\L'|\\nau-1'\l'\\n(.lu+2m\(ul'\L'-|\\nau+1'\l'|0u-1m\(ul'
  391. .fi
  392. ..
  393. .eb
  394. .b2
  395. .hh "A Released Paper with Mathematics"
  396. .ft 3
  397. .nf
  398. .EQ
  399. delim off
  400. .EN
  401. \&.EQ
  402. \&delim $$
  403. \&.EN
  404. \&.RP
  405. .sp
  406. .ft 1
  407. \&... (as for a TM)
  408. .sp
  409. .ft 3
  410. \&.CS 10 2 12 5 6 7
  411. \&.NH
  412. \&Introduction
  413. \&.PP
  414. \&The solution to the torque handle equation
  415. \&.EQ (1)
  416. \&sum from 0 to inf F ( x sub i ) = G ( x )
  417. \&.EN
  418. \&is found with the transformation $ x = rho over
  419. \&theta $ where $ rho = G prime (x) $ and $theta$
  420. \&is derived ...
  421. .ft 1
  422. .sp 2
  423. .mk a
  424. .ll 3i
  425. .ps 9
  426. .bd 1 2
  427. .sp .4i
  428. .ce 2
  429. .vs 11p
  430. The Role of the Allen Wrench
  431. in Modern Electronics
  432. .sp .7
  433. .ce 3
  434. .ft 2
  435. .bd 1
  436. .ps 8
  437. .vs 9p
  438. J. Q. Pencilpusher
  439. .sp .7
  440. X. Y. Hardwired
  441. .sp .7
  442. .ce 2
  443. .ft 1
  444. Bell Laboratories
  445. Murray Hill, New Jersey 07974
  446. .sp 2
  447. .ce
  448. .ft 2
  449. ABSTRACT
  450. .ft 1
  451. .sp .7
  452. .in +.25i
  453. .ll 2.75i
  454. .fi
  455. .ad
  456. .ti +2n
  457. This abstract should be short enough to fit
  458. on a single page cover sheet.
  459. It must attract the reader into sending for the
  460. complete memorandum.
  461. .sp 5v
  462. .in
  463. .ll
  464. April 1, 1976
  465. .sp .2i
  466. .eb
  467. .ll 3i
  468. .sp .5v
  469. .sp 3.5p
  470. .mk a
  471. .lt 3i
  472. .ps 9
  473. .sp .25i
  474. .bd 1 2
  475. .ce 2
  476. .vs 11p
  477. The Role of the Allen Wrench
  478. in Modern Electronics
  479. .sp
  480. .ce 3
  481. .bd 1
  482. .ft 2
  483. .ps 8
  484. .vs 9p
  485. J. Q. Pencilpusher
  486. .sp
  487. X. Y. Hardwired
  488. .sp
  489. .ce 2
  490. .ft 1
  491. Bell Laboratories
  492. Murray Hill, New Jersey 07974
  493. .sp 3
  494. .ce
  495. .de SH
  496. .bd 1 2
  497. .sp
  498. .ce 0
  499. .in 0
  500. ..
  501. .de PP
  502. .sp .3
  503. .ft 1
  504. .bd 1
  505. .ti +2n
  506. ..
  507. .SH
  508. 1. Introduction
  509. .PP
  510. The solution to the torque handle equation
  511. .br
  512. .di xx
  513. .EQ
  514. delim $$
  515. gsize 8
  516. sum from 0 to inf F ( x sub i ) = G ( x )
  517. .EN
  518. .br
  519. .di
  520. .tl ''\*(10'(1)'
  521. is found with the transformation
  522. $ x = rho over theta $ where $ rho = G prime ( x )$
  523. and $theta$ is derived from well-known principles.
  524. ......PP
  525. ......ft 2
  526. .....The Ascent of the Riffelberg,
  527. ......ft 1
  528. .....by Mark Twain.
  529. .....I sat silent some time, then turned to Harris and said:
  530. .....``My mind is made up.''
  531. .....Something in my tone struck him; and when he glanced
  532. .....at my eye and read what was written there, his face paled
  533. .....perceptibly.  He hesitated a moment, then said:
  534. .....``Speak.''
  535. .....I answered, with perfect calmness:
  536. ......ft 2
  537. .....``I will ascend the Riffelberg.''
  538. ......ft 1
  539. .....If I had shot my poor friend he could not have fallen from
  540. .....his chair more suddenly.  If I had been his father he
  541. .....could not have pleaded harder to get me to give up my
  542. .....purpose.  But I turned a deaf ear to all he said.  When he
  543. .....perceived at last that nothing could alter my determination,
  544. .....he ceased to urge, and for a while the deep\p
  545. .sp .5v
  546. .sp 3.5p
  547. .eb
  548. .b1
  549. .hh "An Internal Memorandum"
  550. .ft 3
  551. .nf
  552. \&.IM
  553. \&.ND January 24, 1956
  554. \&.TL
  555. \&The 1956 Consent Decree
  556. \&.AU
  557. \&Able, Baker &
  558. \&Charley, Attys.
  559. \&.PP
  560. Plaintiff, United States of America, having filed
  561. its complaint herein on January 14, 1949; the
  562. defendants having appeared and filed their
  563. answer to such complaint denying the
  564. substantive allegations thereof; and the parties,
  565. by their attorneys, ...
  566. .ft
  567. .sp
  568. .ft 1
  569. .mk a
  570. .br
  571. .sp .20i
  572. .ta 2.1i
  573. .ll 3i
  574. .ps 18
  575. .br
  576.     \(bs
  577. .vs .20i
  578. .ps 7
  579. .br
  580. .bd 1 2
  581. .nf
  582.     Bell Laboratories
  583. .fi
  584. .na
  585. .bd 1
  586. .ps 7
  587. .vs 8p
  588. .sp .12i
  589. .mk
  590. .fi
  591. .ll
  592. .ll 2.0i
  593. Subject:
  594. .ps 8
  595. .hy 0
  596. .br
  597. .bd 1 2
  598. .sp -1
  599. \h'\w'\s7Subject: \s0'u'The 1956 Consent Decree
  600. .hy 14
  601. .br
  602. .bd 1
  603. .rt
  604. .ll 3.25i
  605. .in 2.10i
  606. .ps 7
  607. .mk
  608. .ti -6n
  609. date:
  610. .br
  611. .bd 1 2
  612. .rt
  613. .ps 8
  614. January 24, 1956
  615. .sp
  616. .bd 1
  617. .ps 7
  618. .mk
  619. .ti -6n
  620. from:
  621. .ps 8
  622. .nf
  623. .br
  624. .bd 1 2
  625. .rt
  626. Able, Baker &
  627. Charley, Attys.
  628. .br
  629. .bd 1
  630. .sp
  631. .sp
  632. .ll 3i
  633. .ad
  634. .fi
  635. .in 0
  636. .de SH
  637. .sp .5
  638. .bd 1 2
  639. ..
  640. .de PP
  641. .sp .3
  642. .bd 1
  643. .ti +2n
  644. ..
  645. .PP
  646. Plaintiff, United States of America, having filed its complaint
  647. herein on January 14, 1949; the defendants having appeared and
  648. filed their answer to such complaint denying the substantive
  649. allegations thereof; and the parties, by their attorneys, having
  650. severally consented to the entry of this Final Judgment without
  651. trial or adjudication of any issues of fact or law herein and without
  652. this Final Judgment constituting any evidence or admission by any
  653. party in respect of any such issues;
  654. .PP
  655. Now, therefore before any testimony has been taken herein, and
  656. without trial or adjudication of any issue of fact or law herein,
  657. and upon the consent of all parties hereto, it is hereby
  658. .PP
  659. Ordered, adjudged and decreed as follows:
  660. .SH
  661. I.
  662. [Sherman Act]
  663. .PP
  664. This Court has jurisdiction of the subject matter herein and of all
  665. the parties hereto.
  666. The complaint states a claim upon which relief may be granted
  667. against each of the defendants under Sections 1, 2 and 3 of the
  668. Act of Congress of July 2, 1890, entitled ``An act to protect
  669. trade and commerce against unlawful restraints and monopolies,''
  670. commonly known as the Sherman Act, as amended.
  671. .SH
  672. II.
  673. [Definitions]
  674. .PP
  675. For the purposes of this Final Judgment:
  676. .PP
  677. (a)  ``Western'' shall mean the defendant Western Electric
  678. Company, Incorporated.
  679. .sp .25i
  680. .eb
  681. .sp
  682. .ft 1
  683. .bd 1
  684.  
  685. .ps 9
  686. .vs 10p
  687. Other formats possible (specify before \f3.TL\f1) are:
  688. \&\f3.MR\f1 (``memo for record''), \f3.MF\f1
  689. (``memo for file''),
  690. \&\f3.EG\f1 (``engineer's notes'') and \f3.TR\f1
  691. (Computing Science Tech. Report).
  692. .sp 2
  693. .hh "Headings"
  694. .sp .5
  695. .nf
  696. .ft 3
  697. .ta 2i
  698. \&.NH    .SH
  699. Introduction.    Appendix I
  700. \&.PP    .PP
  701. text text text    text text text
  702. .ft 1
  703. .bd 1 2
  704. .sp
  705. .br
  706. 1.  Introduction    Appendix I
  707. .br
  708. .sp .3v
  709. .bd 1
  710. \0\0text text text    \0\0text text text
  711. .br
  712. .b2
  713. .hh "A Simple List"
  714. .ft 3
  715. .nf
  716. \&.IP 1.
  717. \&J. Pencilpusher and X. Hardwired,
  718. \&.I
  719. \&A New Kind of Set Screw,
  720. \&.R
  721. \&Proc. IEEE
  722. \&.B 75
  723. \&(1976), 23-255.
  724. \&.IP 2.
  725. \&H. Nails and R. Irons,
  726. \&.I
  727. \&Fasteners for Printed Circuit Boards,
  728. \&.R
  729. \&Proc. ASME
  730. \&.B 23
  731. \&(1974), 23-24.
  732. \&.LP  \fP(terminates list)
  733. .sp 1.5
  734. .EQ
  735. delim $$
  736. gsize 9
  737. .EN
  738. .fi
  739. .IP 1.
  740. J. Pencilpusher and X. Hardwired,
  741. .I
  742. A New Kind of Set Screw,
  743. .R
  744. Proc. IEEE
  745. $fat 75$
  746. (1976), 23-255.
  747. .IP 2.
  748. H. Nails and R. Irons,
  749. .I
  750. Fasteners for Printed Circuit Boards,
  751. .R
  752. Proc. ASME
  753. $fat 23$
  754. (1974), 23-24.
  755. .LP
  756. .sp 2
  757. .EQ
  758. delim off
  759. .EN
  760. .hh "Displays"
  761. .nf
  762. .ft 3
  763. \&text text text text text text 
  764. \&.DS
  765. \&and now
  766. \&for something
  767. \&completely different
  768. \&.DE
  769. \&text text text text text text 
  770. .ft
  771. .sp 1
  772. .fi
  773. hoboken harrison newark roseville avenue grove street
  774. east orange brick church orange highland avenue
  775. mountain station south orange maplewood millburn short hills
  776. summit new providence
  777. .in .4i
  778. .sp .5
  779. .nf
  780. and now
  781. for something
  782. completely different
  783. .sp .5
  784. .in
  785. .fi
  786. murray hill berkeley heights
  787. gillette stirling millington lyons basking ridge
  788. bernardsville far hills peapack gladstone
  789. .sp .5
  790. Options: \f3.DS L\f1: left-adjust;
  791. \&\f3.DS C\f1: line-by-line center; \f3.DS B\f1: make block, then center.
  792. .sp  2
  793. .hh "Footnotes"
  794. .nf
  795. .ft 3
  796. \&Among the most important occupants
  797. \&of the workbench are the long-nosed pliers.
  798. \&Without these basic tools*
  799. \&.FS
  800. \&* As first shown by Tiger & Leopard
  801. \&(1975).
  802. \&.FE
  803. \&few assemblies could be completed.  They may
  804. \&lack the popular appeal of the sledgehammer
  805. .ft
  806. .sp 1.5
  807. .fi
  808. Among the most important occupants
  809. of the workbench are the long-nosed
  810. pliers.
  811. Without these basic tools*
  812. few assemblies could be completed.
  813. They may lack the
  814. popular appeal of the sledgehammer
  815. .br
  816. \l'1i'
  817. .ps -1
  818. .br
  819. * As first shown by Tiger & Leopard (1975).
  820. .ps
  821. .br
  822. .nf
  823. .b1
  824. .hh "Multiple Indents"
  825. .ft 3
  826. \&This is ordinary text to point out
  827. \&the margins of the page.
  828. \&.IP 1.
  829. \&First level item
  830. \&.RS
  831. \&.IP a)
  832. \&Second level.
  833. \&.IP b)
  834. \&Continued here with another second
  835. \&level item, but somewhat longer.
  836. \&.RE
  837. \&.IP 2.
  838. \&Return to previous value of the
  839. \&indenting at this point.
  840. \&.IP 3.
  841. \&Another
  842. \&line.
  843. .ft
  844. .sp 1.5v
  845. .fi
  846. This is ordinary text to point out
  847. the margins of the page.
  848. .IP 1.
  849. First level item
  850. .RS
  851. .IP a)
  852. Second level.
  853. .IP b)
  854. Continued here with another second level
  855. item, but somewhat longer.
  856. .RE
  857. .IP 2.
  858. Return to previous value of the
  859. indenting at this point.
  860. .IP 3.
  861. Another
  862. line.
  863. .LP
  864. .sp 2
  865. .hh "Keeps"
  866. .fi
  867. Lines bracketed by the following commands are kept together,
  868. and will appear entirely on one page:
  869. .TS
  870. center;
  871. Lf3 5 L8 Lf3 5 L.
  872. \&.KS    not moved    .KF    may float
  873. \&.KE    through text    .KE    in text
  874. .TE
  875. .nf
  876. .sp 2
  877. .hh "Double Column"
  878. .nf
  879. .hy 0
  880. .ft 3
  881. \&.TL
  882. The Declaration of Independence
  883. \&.2C
  884. .na
  885. .fi
  886. \&.PP
  887. .br
  888. When in the course of human events, it becomes
  889. necessary for one people to dissolve the political bonds 
  890. which have connected them with another, and to assume 
  891. among the powers of the earth the separate and equal station
  892. to which the laws of Nature and of Nature's God entitle them,
  893. a decent respect to the opinions of
  894. .ft
  895. .de xy
  896. .if \\n(xy=0 'rt
  897. .if \\n(xy=0 'po +1.58i
  898. .nr xy +1
  899. ..
  900. .wh 10.45i xy
  901. .br
  902. .ad
  903. .hy 1 
  904. .sp 1.5
  905. .ce
  906. The Declaration of Independence
  907. .sp .5
  908. .ll 1.42i
  909. .mk
  910. .fi
  911. .ti +2n
  912. When in the course of human events, it becomes
  913. necessary for one people to dissolve the political bonds which have
  914. connected them with another, and to assume among the 
  915. powers of the earth the separate and equal station to which
  916. the laws of Nature and of Nature's God entitle them, a decent
  917. respect to the opinions of mankind requires that they should
  918. declare the causes which impel them to the separation.
  919. .ti +2n
  920. We hold these truths to be self-evident, that all men
  921. are created equal, that they are endowed by their creator
  922. with certain unalienable rights, that among these are life, liberty,
  923. and the pursuit of happiness.  That to secure these rights,
  924. governments are instituted among men,\p
  925. .br
  926. .po -1.58i
  927. .ll 3i
  928. .lt 3i
  929. .rm xy
  930. .b2
  931. .hh "Equations"
  932. .nf
  933. .de EQ  \"equation, breakout and display
  934. .nr EF \\n(.u
  935. .rm EE
  936. .nr LE 1    \" 1 is center
  937. .ds EL \\$1
  938. .if "\\$1"L" .ds EL \\$2
  939. .if "\\$1"L" .nr LE 0
  940. .if "\\$1"C" .ds EL \\$2
  941. .if "\\$1"I" .nr LE 0
  942. .if "\\$1"I" .ds EE \\h'5n'
  943. .if "\\$1"I" .if !"\\$3"" .ds EE \\h'\\$3n'
  944. .if "\\$1"I" .ds EL \\$2
  945. .nf
  946. .di EZ
  947. ..
  948. .de EN  \" end of a displayed equation
  949. .di
  950. .rm EZ
  951. .lt \\n(.lu
  952. .pc
  953. .if \\n(dn>0 .if \\n(LE>0 .tl \(ts\(ts\\*(10\(ts\\*(EL\(ts
  954. .if \\n(dn>0 .if \\n(LE=0 .tl '\\*(EE\\*(10''\\*(EL'
  955. .pc %
  956. .lt \\n(LLu
  957. .if \\n(EF>0 .fi
  958. .rm EL
  959. .rm 10
  960. .nr PE \\n(.d
  961. ..
  962. .ft 3
  963. A displayed equation is marked
  964. with an equation number at the right margin
  965. by adding an argument to the EQ line:
  966. \&.EQ (1.3)
  967. x sup 2 over a sup 2 ~=~ sqrt {p z sup 2 +qz+r}
  968. \&.EN
  969. .ft
  970. .sp
  971. .fi
  972. A displayed equation is marked with an equation number
  973. at the right margin by adding an argument to the EQ line:
  974. .sp .4
  975. .EQ (1.3)
  976. x sup 2 over a  sup 2
  977. ~=~ sqrt { p z sup 2 + q z + r }
  978. .EN
  979. .sp 
  980. .nf
  981. .ft 3
  982. \&.EQ  I (2.2a)
  983. bold V bar sub nu~=~left [ pile {a above b above
  984. c } right ] + left [ matrix { col { A(11) above .
  985. above . } col { . above . above .} col {. above .
  986. above A(33) }} right ] cdot left [ pile { alpha
  987. above beta above  gamma } right ]
  988. .nf
  989. \&.EN
  990. .ft
  991. .sp
  992. .EQ I (2.2a)
  993. fat {roman  V}  bar sub nu~=~left [ pile {a above b above c}
  994. right ] + left [ matrix { col { A(11) above .
  995. above . } col { . above . above .} col {. above .
  996. above A(33) }} right ] cdot left [ pile { alpha
  997. above beta above  gamma } right ]
  998. .EN
  999. .sp
  1000. .ft 3
  1001. \&.EQ  L
  1002. F hat ( chi ) ~ mark = ~ | del V | sup 2
  1003. \&.EN
  1004. \&.EQ  L
  1005. .fi
  1006. .na
  1007. lineup =~ {left ( {partial V} over {partial x} right ) } sup 2
  1008. + { left ( {partial V} over {partial y} right ) } sup 2
  1009. ~~~~~~ lambda -> inf
  1010. .nf
  1011. \&.EN
  1012. .ft
  1013. .ta .25i
  1014. .sp
  1015. .EQ L
  1016. F hat ( chi ) ~ mark = ~ | del V | sup 2
  1017. .EN
  1018. .sp 1
  1019. .EQ L
  1020. delim off
  1021. lineup =~ {left ( {partial V} over {partial x} right ) } sup 2
  1022. + { left ( {partial V} over {partial y} right ) } sup 2
  1023. ~~~~~~ lambda -> inf
  1024. .EN
  1025. .rm EQ
  1026. .rm EN
  1027. .fi
  1028. .sp
  1029. .ft 3
  1030. $ a dot $,  $ b dotdot$,  $ xi tilde times
  1031. y vec$:
  1032. .EQ
  1033. delim $$
  1034. .EN
  1035. .ft R
  1036. .br
  1037. .sp
  1038. $ a dot $,  $ b dotdot$,  $ xi tilde times
  1039. y vec$.
  1040. .EQ
  1041. delim off
  1042. .EN
  1043. \h'.3i'(with delim $$ on, see panel 3).
  1044. .sp .5
  1045. See also the equations in the second table, panel 8.
  1046. .nf
  1047. .br
  1048. .bd I
  1049. .sp 2
  1050. .ft R
  1051. .hh "Some Registers You Can Change"
  1052. .nf
  1053. .mk
  1054. Line length
  1055.     .nr LL 7i
  1056. .sp .4
  1057. Title length
  1058.     .nr LT 7i
  1059. .sp .4
  1060. Point size
  1061.     .nr PS 9
  1062. .sp .4
  1063. Vertical spacing
  1064.     .nr VS 11
  1065. .sp .4
  1066. Column width
  1067.     .nr CW 3i
  1068. .sp .4
  1069. Intercolumn spacing
  1070.     .nr GW .5i
  1071. .sp .4
  1072. Margins \- head and foot
  1073.     .nr HM .75i
  1074.     .nr FM .75i
  1075. .sp .4
  1076. Paragraph indent
  1077.     .nr PI 2n
  1078. .rt
  1079. .po +1.6i
  1080. Paragraph spacing
  1081.     .nr PD 0
  1082. .sp .4
  1083. Page offset
  1084.     .nr PO 0.5i
  1085. .sp .4
  1086. Page heading
  1087.     .ds CH Appendix 
  1088.         (center)
  1089.     .ds RH 7-25-76
  1090.         (right)
  1091.     .ds LH Private
  1092.         (left)
  1093. .sp .4
  1094. Page footer
  1095.     .ds CF Draft
  1096.     .ds LF
  1097.     .ds RF  \u similar \d
  1098. .sp .4
  1099. Page numbers
  1100.     .nr % 3
  1101. .po -1.6i
  1102. .b1
  1103. .hh Tables
  1104. .nf
  1105. .ds T \|\h'.35n'\v'-.1n'\s6\zT\s0\v'.1n'\h'-.35n'\(ci\|
  1106. .ft 3
  1107. .EQ
  1108. delim off
  1109. .EN
  1110. \&.TS\h'.5i'\fR(\f3\*T\f1 indicates a tab)\f3
  1111. \&allbox;
  1112. .nr x \n(nl
  1113. \&c s s
  1114. \&c c c
  1115. \&n n n.
  1116. \&AT&T Common Stock
  1117. \&Year\*TPrice\*TDividend
  1118. \&1971\*T41-54\*T$2.60
  1119. \&2\*T41-54\*T2.70
  1120. \&3\*T46-55\*T2.87
  1121. \&4\*T40-53\*T3.24
  1122. \&5\*T45-52\*T3.40
  1123. \&6\*T51-59\*T.95*
  1124. \&.TE
  1125. \&* (first quarter only)
  1126. .ft 1
  1127. .nr y \n(nl
  1128. .sp |\nxu
  1129. .di qq
  1130. .TS
  1131. allbox;
  1132. c s s
  1133. c c c
  1134. n1 n1 n1.
  1135. AT&T Common Stock
  1136. Year    Price    Dividend
  1137. 1971    41-54    $2.60
  1138. 2    41-54    2.70
  1139. 3    46-55    2.87
  1140. 4    40-53    3.24
  1141. 5    45-52    3.40
  1142. 6    51-59    .95*
  1143. .TE
  1144. * (first quarter only)
  1145. .br
  1146. .di
  1147. .in 3i-\n(TWu
  1148. .nf
  1149. .qq
  1150. .in 0
  1151. .if \ny>\n(nl .sp |\nyu
  1152. .sp .5
  1153. .ft 1
  1154. .fi
  1155. .ad
  1156. The meanings of the key-letters describing
  1157. the alignment of each entry are:
  1158. .br
  1159. .nf
  1160. .TS
  1161. center;
  1162. cf3 l6 cf3 l.
  1163. c    center    n    numerical
  1164. r    right-adjust    a    subcolumn
  1165. l    left-adjust    s    spanned
  1166. .TE
  1167. .fi
  1168. The global table options are
  1169. .ft 3
  1170. .bd I 2
  1171. .hy 0
  1172. center, expand, box, doublebox, allbox,
  1173. tab (\f2x\fP\|)
  1174. .ft 1
  1175. and
  1176. .ft 3
  1177. linesize (\f2n\fP\|).
  1178. .br
  1179. .hy 1
  1180. .ft 1
  1181. .bd I
  1182. .sp 1
  1183. .nf
  1184. .ta .1i
  1185. .ft 3
  1186. \&.TS\h'.5i'\fR(with delim $$ on, see panel 3)\fP
  1187. \&doublebox, center;
  1188. \&c c
  1189. \&l l.
  1190. \&Name\*TDefinition
  1191. \&.sp
  1192. \&Gamma\*T$GAMMA (z) = int sub 0 sup inf \e
  1193.      t sup {z-1} e sup -t dt$
  1194. \&Sine\*T$sin (x) = 1 over 2i ( e sup ix - e sup -ix )$
  1195. \&Error\*T$ roman erf (z) = 2 over sqrt pi \e
  1196.     int sub 0 sup z e sup {-t sup 2} dt$
  1197. \&Bessel\*T$ J sub 0 (z) = 1 over pi \e
  1198.     int sub 0 sup pi cos ( z sin theta ) d theta $
  1199. \&Zeta\*T$ zeta (s) = \e
  1200.     sum from k=1 to inf k sup -s ~~( Re~s > 1)$
  1201. \&.TE
  1202. .ft
  1203. .sp
  1204. .EQ
  1205. delim $$
  1206. .EN
  1207. .vs +2p
  1208. .TS
  1209. doublebox, center;
  1210. c c
  1211. l l.
  1212. Name    Definition
  1213. .sp
  1214. Gamma    $GAMMA (z) = int sub 0 sup inf  t sup {z-1} e sup -t dt$
  1215. Sine    $sin (x) = 1 over 2i ( e sup ix - e sup -ix )$
  1216. Error    $ roman erf (z) = 2 over sqrt pi int sub 0 sup z e sup {-t sup 2} dt$
  1217. Bessel    $ J sub 0 (z) = 1 over pi int sub 0 sup pi cos ( z sin theta ) d theta $
  1218. Zeta    $ zeta (s) = sum from k=1 to inf k sup -s ~~( Re~s > 1)$
  1219. .TE
  1220. .vs -2p
  1221. .br
  1222. .bd I 2
  1223. .sp 1
  1224. .hh "Usage"
  1225. .ps 9
  1226. .vs 10p
  1227. .ds & \\s-1&\\s0
  1228. .TS
  1229. l.
  1230. \h'.25i'Documents with just text:
  1231. troff -ms files 
  1232. \h'.25i'With equations only:
  1233. eqn files | troff -ms 
  1234. \h'.25i'With tables only:
  1235. tbl files | troff -ms 
  1236. \h'.25i'With both tables and equations:
  1237. tbl files\||\|eqn\||\|troff -ms
  1238. _
  1239. .TE
  1240. .ft R
  1241. .fi
  1242. .sp .5
  1243. The above generates \s-2STARE\s0 output on
  1244. \s-2GCOS\s0: replace
  1245. .ft 3
  1246. \-st
  1247. .ft R
  1248. with
  1249. .ft 3
  1250. \-ph
  1251. .ft R
  1252. for typesetter output.
  1253. .ft 1
  1254. .bd I
  1255. .b2
  1256.