home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 23_meref / ref_me < prev   
Encoding:
Text File  |  1986-04-18  |  38.5 KB  |  2,357 lines

  1. .\" Copyright (c) 1980 Regents of the University of California.
  2. .\" All rights reserved.  The Berkeley software License Agreement
  3. .\" specifies the terms and conditions for redistribution.
  4. .\"
  5. .\"    @(#)ref.me    6.3 (Berkeley) 4/17/86
  6. .\"
  7. .ll 6.5i
  8. .lt 6.5i
  9. .pn 0
  10. .ds MO 2.27\"        \" mod number
  11. .de TL            \" *** title line
  12. .lp
  13. .di XX
  14. ..
  15. .de DE            \" *** description
  16. \\\\h'|\\n(DIu'\\\\c
  17. .br
  18. .di
  19. .in +\\n(DIu
  20. .ti 0
  21. .cu 1000
  22. .XX
  23. .rm XX
  24. .cu 0
  25. ..
  26. .ds N \s-1NROFF\s0
  27. .ds T \s-1TROFF\s0
  28. .nr DI 1.5i
  29. \".he '\-ME REFERENCE MANUAL''%'
  30. .de NR
  31. .b "\en\\$1" "\\$2"
  32. ..
  33. .de ST
  34. .b "\e*\\$1" "\\$2"
  35. ..
  36. .sc
  37. .eh 'USD:23-%''\-me Reference Manual'
  38. .oh '\-me Reference Manual''USD:23-%'
  39. .+c
  40. .ce 20
  41. .sz 14
  42. .b "\-ME REFERENCE MANUAL"
  43. .sz
  44. .sp
  45. .i "Release \*(MO"
  46. .sp 2
  47. .ul
  48. Eric P. Allman*
  49. .(f
  50. *Author's current address:
  51. Britton Lee, Inc.,
  52. 1919 Addison Suite 105,
  53. Berkeley, California 94704.
  54. .)f
  55. .sp
  56. Project INGRES
  57. Electronics Research Laboratory
  58. University of California, Berkeley
  59. Berkeley, California  94720
  60. .ce 0
  61. .sp 4
  62. .pp
  63. This document describes
  64. in extremely terse form
  65. the features
  66. of the
  67. .b \-me
  68. macro package
  69. for version seven \*N/\*T\*(dg.
  70. .(f
  71. \(dg\*N and \*T may be trademarks of AT&T Bell Laboratories.
  72. .)f
  73. Some familiarity is assumed
  74. with
  75. those programs.
  76. Specifically,
  77. the reader should understand
  78. breaks,
  79. fonts,
  80. pointsizes,
  81. the use and definition of number registers
  82. and strings,
  83. how to define macros,
  84. and scaling factors for ens, points,
  85. .b v 's
  86. (vertical line spaces),
  87. etc.
  88. .pp
  89. For a more casual introduction
  90. to text processing
  91. using \*N,
  92. refer to the document
  93. .ul
  94. Writing Papers with \*N using \-me.
  95. .pp
  96. There are a number of macro parameters
  97. that may be adjusted.
  98. Fonts may be set to a font number only.
  99. Font 8 means bold font in \*T;
  100. in \*N font 8
  101. is underlined
  102. unless the
  103. .b \-rb3
  104. flag is specified to use
  105. .q "true bold"
  106. font
  107. (most versions of \*N do not interpret bold font nicely).
  108. Font 0 is no font change;
  109. the font of the surrounding text
  110. is used instead.
  111. Notice that fonts 0 and 8 are
  112. .q pseudo-fonts ;
  113. that is,
  114. they are simulated by the macros.
  115. This means that although it is legal to set a font register
  116. to zero or eight,
  117. it is not legal to use the escape character form,
  118. such as:
  119. .(b
  120. \ef8
  121. .)b
  122. .pp
  123. All distances
  124. are in basic units,
  125. so it is nearly always necessary
  126. to use a scaling factor.
  127. For example,
  128. the request
  129. to set the paragraph indent
  130. to eight one-en spaces is:
  131. .(b
  132. \&.nr pi 8n
  133. .)b
  134. and not
  135. .(b
  136. \&.nr pi 8
  137. .)b
  138. which would set the paragraph indent to eight basic units,
  139. or about 0.02 inch.
  140. Default parameter values are given in brackets
  141. in the remainder of this document.
  142. .pp
  143. Registers and strings
  144. of the form
  145. .b $ \c
  146. .i x
  147. may be used in expressions
  148. but should not be changed.
  149. Macros of the form
  150. .b $ \c
  151. .i x
  152. perform some function
  153. (as described)
  154. and may be redefined
  155. to change this function.
  156. This may be a sensitive operation;
  157. look at the body of the original macro
  158. before changing it.
  159. .pp
  160. All names in \-me
  161. follow a rigid naming convention.
  162. The user may define number registers,
  163. strings,
  164. and macros,
  165. provided that s/he
  166. uses single character upper case names
  167. or double character names
  168. consisting of letters and digits,
  169. with at least one upper case letter.
  170. In no case should special characters
  171. be used in user-defined names.
  172. .pp
  173. On daisy wheel type printers
  174. in twelve pitch,
  175. the
  176. .b \-rx1
  177. flag can be stated to make lines default to
  178. one eighth inch
  179. (the normal spacing for a newline in twelve-pitch).
  180. This is normally too small for easy readability,
  181. so the default is to space one sixth inch.
  182. .pp
  183. The
  184. .b \-rv2
  185. flag will indicates that this
  186. .i is
  187. being output on a C/A/T
  188. phototypesetter;
  189. this changes the page offset
  190. and inserts cut marks.
  191. .pp
  192. This documentation was
  193. .if n \*N'ed
  194. .if t \*T'ed
  195. on \*(td
  196. and applies to version
  197. \*(MO
  198. of the \-me macros.
  199. .sh 1 "Paragraphing"
  200. .pp
  201. These macros are used
  202. to begin paragraphs.
  203. The standard paragraph macro
  204. is
  205. .b .pp ;
  206. the others are all variants
  207. to be used for special purposes.
  208. .pp
  209. The first call to one of the paragraphing macros
  210. defined in this section
  211. or the
  212. .b .sh
  213. macro
  214. (defined in the next session)
  215. .i initializes
  216. the macro processor.
  217. After initialization
  218. it is not possible to use any of the following requests:
  219. .b .sc ,
  220. .b .lo ,
  221. .b .th ,
  222. or
  223. .b .ac .
  224. Also,
  225. the effects of changing parameters
  226. which will have a global effect
  227. on the format of the page
  228. (notably page length and header and footer margins)
  229. are not well defined
  230. and should be avoided.
  231. .TL
  232. .b .lp
  233. .DE
  234. Begin left-justified paragraph.
  235. Centering and underlining
  236. are turned off if they were on,
  237. the font is set to
  238. .NR (pf
  239. [1]
  240. the type size
  241. is set to
  242. .NR (pp
  243. [10p],
  244. and a
  245. .NR (ps
  246. space is inserted
  247. before the paragraph
  248. [0.35v in \*T, 1v or 0.5v in \*N
  249. depending on device resolution].
  250. The indent is reset
  251. to
  252. .NR ($i
  253. [0]
  254. plus
  255. .NR (po
  256. [0]
  257. unless the paragraph
  258. is inside a display.
  259. (see
  260. .b .ba ).
  261. At least
  262. the first two lines
  263. of the paragraph
  264. are kept together
  265. on a page.
  266. .TL
  267. .b .pp
  268. .DE
  269. Like
  270. .b .lp ,
  271. except that it puts
  272. .NR (pi
  273. [5n]
  274. units of indent.
  275. This is the standard paragraph macro.
  276. .TL
  277. .b .ip
  278. .i T
  279. .i I
  280. .DE
  281. Indented paragraph
  282. with hanging tag.
  283. The body of the following paragraph
  284. is indented
  285. .i I
  286. spaces
  287. (or
  288. .NR (ii
  289. [5n]
  290. spaces
  291. if
  292. .i I
  293. is not specified)
  294. more than a non-indented paragraph
  295. (such as with
  296. .b .pp )
  297. is.
  298. The title
  299. .i T
  300. is exdented (opposite of indented).
  301. The result is a paragraph
  302. with an even left edge
  303. and
  304. .i T
  305. printed in the margin.
  306. Any spaces in
  307. .i T
  308. must be unpaddable.
  309. If
  310. .i T
  311. will not fit in the space provided,
  312. .b .ip
  313. will start a new line.
  314. .TL
  315. .b .np
  316. .DE
  317. A variant of .ip which numbers paragraphs.
  318. Numbering is reset
  319. after a
  320. .b .lp ,
  321. .b .pp ,
  322. or
  323. .b .sh .
  324. The current paragraph number
  325. is in
  326. .NR ($p .
  327. .TL
  328. .b .bu
  329. .DE
  330. Like
  331. .b .np
  332. except that paragraphs are marked with bullets (\(bu).
  333. Leading space is eliminated to create compact lists.
  334. .sh 1 "Section Headings"
  335. .pp
  336. Numbered sections
  337. are similar to paragraphs
  338. except that a
  339. section number
  340. is automatically
  341. generated for each one.
  342. The section numbers are of the form
  343. .b 1.2.3 .
  344. The
  345. .i depth
  346. of the section
  347. is the count of numbers
  348. (separated by decimal points)
  349. in the section number.
  350. .pp
  351. Unnumbered section headings are similar,
  352. except that no number is attached
  353. to the heading.
  354. .TL
  355. .b .sh
  356. .i +N
  357. .i T
  358. .i "a b c d e f"
  359. .DE
  360. Begin numbered section
  361. of depth
  362. .i N .
  363. If
  364. .i N
  365. is missing
  366. the current depth
  367. (maintained in
  368. the number register
  369. .NR ($0 )
  370. is used.
  371. The values of
  372. the individual parts of the section number
  373. are maintained in
  374. .NR ($1
  375. through
  376. .NR ($6 .
  377. There is a
  378. .NR (ss
  379. [1v]
  380. space before the section.
  381. .i T
  382. is printed
  383. as a section title
  384. in font
  385. .NR (sf
  386. [8]
  387. and size
  388. .NR (sp
  389. [10p].
  390. The
  391. .q name
  392. of the section may be accessed via
  393. .ST ($n .
  394. If
  395. .NR (si
  396. is non-zero,
  397. the base indent
  398. is set to
  399. .NR (si
  400. times the section depth,
  401. and the section title
  402. is exdented.
  403. (See
  404. .b .ba .)
  405. Also,
  406. an additional indent of
  407. .NR (so
  408. [0]
  409. is added to the section title
  410. (but not to the body of the section).
  411. The font is then set
  412. to the paragraph font,
  413. so that more information may occur
  414. on the line
  415. with the section number
  416. and title.
  417. .b .sh
  418. insures that there is enough room
  419. to print the section head
  420. plus the beginning of a paragraph
  421. (about 3 lines total).
  422. If
  423. .i a
  424. through
  425. .i f
  426. are specified,
  427. the section number is set to that number
  428. rather than incremented automatically.
  429. If any of
  430. .i a
  431. through
  432. .i f
  433. are a hyphen
  434. that number is not reset.
  435. If
  436. .i T
  437. is a single underscore
  438. (\c
  439. .q _ )
  440. then the section depth and numbering is reset,
  441. but the base indent is not reset
  442. and nothing is printed out.
  443. This is useful to automatically
  444. coordinate section numbers with
  445. chapter numbers.
  446. .TL
  447. .b .sx
  448. .i +N
  449. .DE
  450. Go to section depth
  451. .i N
  452. [\c
  453. .b \-1 ],
  454. but do not print the number
  455. and title,
  456. and do not increment the section number
  457. at level
  458. .i N .
  459. This has the effect
  460. of starting a new paragraph
  461. at level
  462. .i N .
  463. .TL
  464. .b .uh
  465. .i T
  466. .DE
  467. Unnumbered section heading.
  468. The title
  469. .i T
  470. is printed
  471. with the same rules for spacing,
  472. font, etc.,
  473. as for
  474. .b .sh .
  475. .TL
  476. .b .$p
  477. .i T
  478. .i B
  479. .i N
  480. .DE
  481. Print section heading.
  482. May be redefined
  483. to get fancier headings.
  484. .i T
  485. is the title passed on the
  486. .b .sh
  487. or
  488. .b .uh
  489. line;
  490. .i B
  491. is the section number for this section,
  492. and
  493. .i N
  494. is the depth of this section.
  495. These parameters are not always present;
  496. in particular,
  497. .b .sh
  498. passes all three,
  499. .b .uh
  500. passes only the first,
  501. and
  502. .b .sx
  503. passes three,
  504. but the first two
  505. are null strings.
  506. Care should be taken if this macro
  507. is redefined;
  508. it is quite complex and subtle.
  509. .TL
  510. .b .$0
  511. .i T
  512. .i B
  513. .i N
  514. .DE
  515. This macro is called automatically
  516. after every call to
  517. .b .$p .
  518. It is normally undefined,
  519. but may be used
  520. to automatically put
  521. every section title
  522. into the table of contents
  523. or for some similar function.
  524. .i T
  525. is the section title
  526. for the section title which was just printed,
  527. .i B
  528. is the section number,
  529. and
  530. .i N
  531. is the section depth.
  532. .TL
  533. .b .$1
  534. \-
  535. .b .$6
  536. .DE
  537. Traps called just before printing that depth section.
  538. May be defined to
  539. (for example)
  540. give variable spacing
  541. before sections.
  542. These macros are called from
  543. .b .$p ,
  544. so if you redefine that macro
  545. you may lose this feature.
  546. .sh 1 "Headers and Footers"
  547. .ds TP \fI\(aal\|\(aam\^\(aar\^\(aa\fP
  548. .pp
  549. Headers and footers
  550. are put at the top and bottom
  551. of every page
  552. automatically.
  553. They are set in font
  554. .NR (tf
  555. [3]
  556. and size
  557. .NR (tp
  558. [10p].
  559. Each of the definitions
  560. apply as of the
  561. .i next
  562. page.
  563. Three-part titles
  564. must be quoted
  565. if there are two blanks adjacent
  566. anywhere in the title
  567. or more than eight blanks total.
  568. .pp
  569. The spacing
  570. of headers and footers
  571. are controlled by three number registers.
  572. .NR (hm
  573. [4v]
  574. is the distance from the top of the page
  575. to the top of the header,
  576. .NR (fm
  577. [3v]
  578. is the distance from the bottom of the page
  579. to the bottom of the footer,
  580. .NR (tm
  581. [7v]
  582. is the distance from the top of the page
  583. to the top of the text,
  584. and
  585. .NR (bm
  586. [6v]
  587. is the distance from the bottom of the page
  588. to the bottom of the text
  589. (nominal).
  590. The macros
  591. .b .m1 ,
  592. .b .m2 ,
  593. .b .m3 ,
  594. and
  595. .b .m4
  596. are also supplied for compatibility
  597. with
  598. \s-1ROFF\s0 documents.
  599. .TL
  600. .b .he
  601. \*(TP
  602. .DE
  603. Define three-part header,
  604. to be printed on the top
  605. of every page.
  606. .TL
  607. .b .fo
  608. \*(TP
  609. .DE
  610. Define footer,
  611. to be printed at the bottom
  612. of every page.
  613. .TL
  614. .b .eh
  615. \*(TP
  616. .DE
  617. Define header,
  618. to be printed at the top of every
  619. even-numbered page.
  620. .TL
  621. .b .oh
  622. \*(TP
  623. .DE
  624. Define header,
  625. to be printed at the top of every
  626. odd-numbered page.
  627. .TL
  628. .b .ef
  629. \*(TP
  630. .DE
  631. Define footer,
  632. to be printed at the bottom
  633. of every even-numbered page.
  634. .TL
  635. .b .of
  636. \*(TP
  637. .DE
  638. Define footer,
  639. to be printed at the bottom
  640. of every odd-numbered page.
  641. .TL
  642. .b .hx
  643. .DE
  644. Suppress headers and footers
  645. on the next page.
  646. .TL
  647. .b .m1
  648. .i +N
  649. .DE
  650. Set the space between the top of the page
  651. and the header
  652. [4v].
  653. .TL
  654. .b .m2
  655. .i +N
  656. .DE
  657. Set the space between the header
  658. and the first line of text
  659. [2v].
  660. .TL
  661. .b .m3
  662. .i +N
  663. .DE
  664. Set the space
  665. between the bottom of the text
  666. and the footer
  667. [2v].
  668. .TL
  669. .b .m4
  670. .i +N
  671. .DE
  672. Set the space
  673. between the footer
  674. and the bottom of the page
  675. [4v].
  676. .TL
  677. .b .ep
  678. .DE
  679. End this page,
  680. but do not begin the next page.
  681. Useful for forcing out footnotes,
  682. but other than
  683. that hardly every used.
  684. Must be followed by a
  685. .b .bp
  686. or the end of input.
  687. .TL
  688. .b .$h
  689. .DE
  690. Called at every page
  691. to print the header.
  692. May be redefined
  693. to provide fancy
  694. (e.g.,
  695. multi-line)
  696. headers,
  697. but doing so
  698. loses the function of the
  699. .b .he ,
  700. .b .fo ,
  701. .b .eh ,
  702. .b .oh ,
  703. .b .ef ,
  704. and
  705. .b .of
  706. requests,
  707. as well as the chapter-style title feature
  708. of
  709. .b .+c .
  710. .TL
  711. .b .$f
  712. .DE
  713. Print footer;
  714. same comments apply
  715. as in
  716. .b .$h .
  717. .TL
  718. .b .$H
  719. .DE
  720. A normally undefined macro
  721. which is called
  722. at the top of each page
  723. (after putting out
  724. the header,
  725. initial saved floating keeps,
  726. etc.);
  727. in other words,
  728. this macro is called immediately before
  729. printing text
  730. on a page.
  731. It can be used for column headings
  732. and the like.
  733. .sh 1 "Displays"
  734. .pp
  735. All displays except centered blocks
  736. and block quotes
  737. are preceded and followed
  738. by an extra
  739. .NR (bs
  740. [same as
  741. .NR (ps ]
  742. space.
  743. Quote spacing is stored in a separate register;
  744. centered blocks have no default initial or trailing space.
  745. The vertical spacing of all displays except quotes
  746. and centered blocks
  747. is stored in register
  748. .NR ($R
  749. instead of
  750. .NR ($r .
  751. .TL
  752. .b .(l
  753. .i m
  754. .i f
  755. .DE
  756. Begin list.
  757. Lists are single spaced,
  758. unfilled text.
  759. If
  760. .i f
  761. is
  762. .b F ,
  763. the list will be filled.
  764. If
  765. .i m
  766. [\c
  767. .b I ]
  768. is
  769. .b I
  770. the list is indented by
  771. .NR (bi
  772. [4m];
  773. if
  774. .b M
  775. the list is indented to the left margin;
  776. if
  777. .b L
  778. the list is left justified with respect to the text
  779. (different from
  780. .b M
  781. only if the base indent
  782. (stored in
  783. .NR ($i
  784. and set with
  785. .b .ba )
  786. is not zero);
  787. and if
  788. .b C
  789. the list is centered on a line-by-line basis.
  790. The list is set in font
  791. .NR (df
  792. [0].
  793. Must be matched by a
  794. .b .)l .
  795. This macro is almost like
  796. .b .(b
  797. except that no attempt is made
  798. to keep the display on one page.
  799. .TL
  800. .b .)l
  801. .DE
  802. End list.
  803. .TL
  804. .b .(q
  805. .DE
  806. Begin major quote.
  807. These are single spaced,
  808. filled,
  809. moved in from the text
  810. on both sides
  811. by
  812. .NR (qi
  813. [4n],
  814. preceded and followed
  815. by
  816. .NR (qs
  817. [same as
  818. .NR (bs ]
  819. space,
  820. and are set in point size
  821. .NR (qp
  822. [one point smaller than surrounding text].
  823. .TL
  824. .b .)q
  825. .DE
  826. End major quote.
  827. .TL
  828. .b .(b
  829. .i m
  830. .i f
  831. .DE
  832. Begin block.
  833. Blocks are a form of
  834. .i keep ,
  835. where the text of a keep
  836. is kept together on one page
  837. if possible
  838. (keeps are useful
  839. for tables and figures
  840. which should not be broken
  841. over a page).
  842. If the block will not fit
  843. on the current page
  844. a new page is begun,
  845. .i unless
  846. that would leave more than
  847. .NR (bt
  848. [0]
  849. white space
  850. at the bottom of the text.
  851. If
  852. .NR (bt
  853. is zero, the threshold feature
  854. is turned off.
  855. Blocks are not filled
  856. unless
  857. .i f
  858. is
  859. .b F ,
  860. when they are filled.
  861. The block will be left-justified
  862. if
  863. .i m
  864. is
  865. .b L ,
  866. indented by
  867. .NR (bi
  868. [4m]
  869. if
  870. .i m
  871. is
  872. .b I
  873. or absent,
  874. centered
  875. (line-for-line)
  876. if
  877. .i m
  878. is
  879. .b C ,
  880. and left justified to the margin
  881. (not to the base indent)
  882. if
  883. .i m
  884. is
  885. .b M .
  886. The block is set in font
  887. .NR (df
  888. [0].
  889. .TL
  890. .b .)b
  891. .DE
  892. End block.
  893. .TL
  894. .b .(z
  895. .i m
  896. .i f
  897. .DE
  898. Begin floating keep.
  899. Like
  900. .b .(b
  901. except that the keep is
  902. .i floated
  903. to the bottom of the page
  904. or the top of the next page.
  905. Therefore,
  906. its position relative to the text changes.
  907. The floating keep is preceded and followed
  908. by
  909. .NR (zs
  910. [1v]
  911. space.
  912. Also,
  913. it defaults to mode
  914. .b M .
  915. .TL
  916. .b .)z
  917. .DE
  918. End floating keep.
  919. .TL
  920. .b .(c
  921. .DE
  922. Begin centered block.
  923. The next keep
  924. is centered as a block,
  925. rather than on a line-by-line basis
  926. as with
  927. .b ".(b C" .
  928. This call may be nested
  929. inside keeps.
  930. .TL
  931. .b .)c
  932. .DE
  933. End centered block.
  934. .sh 1 Annotations
  935. .TL
  936. .b .(d
  937. .DE
  938. Begin delayed text.
  939. Everything in the next keep
  940. is saved for output
  941. later with
  942. .b .pd ,
  943. in a manner
  944. similar to footnotes.
  945. .TL
  946. .b .)d
  947. .i n
  948. .DE
  949. End delayed text.
  950. The delayed text number register
  951. .NR ($d
  952. and the associated string
  953. .ST #
  954. are incremented if
  955. .ST #
  956. has been referenced.
  957. .TL
  958. .b .pd
  959. .DE
  960. Print delayed text.
  961. Everything diverted via
  962. .b .(d
  963. is printed and truncated.
  964. This might be used
  965. at the end of each chapter.
  966. .TL
  967. .b .(f
  968. .DE
  969. Begin footnote.
  970. The text of the footnote
  971. is floated to the bottom
  972. of the page
  973. and set in font
  974. .NR (ff
  975. [1]
  976. and size
  977. .NR (fp
  978. [8p].
  979. Each entry
  980. is preceded by
  981. .NR (fs
  982. [0.2v]
  983. space,
  984. is indented
  985. .NR (fi
  986. [3n]
  987. on the first line,
  988. and is indented
  989. .NR (fu
  990. [0]
  991. from the right margin.
  992. Footnotes line up underneath
  993. two column output.
  994. If the text of the footnote
  995. will not all fit on one page
  996. it will be carried over
  997. to the next page.
  998. .TL
  999. .b .)f
  1000. .i n
  1001. .DE
  1002. End footnote.
  1003. The number register
  1004. .NR ($f
  1005. and the associated string
  1006. .ST *
  1007. are incremented
  1008. if they have been referenced.
  1009. .TL
  1010. .b .$s
  1011. .DE
  1012. The macro to output the footnote separator.
  1013. This macro may be redefined
  1014. to give other size lines or other types
  1015. of separators.
  1016. Currently
  1017. it draws a 1.5i line.
  1018. .TL
  1019. .b .(x
  1020. .i x
  1021. .DE
  1022. Begin index entry.
  1023. Index entries are saved in the index
  1024. .i x
  1025. [\c
  1026. .b x ]
  1027. until called up with
  1028. .b .xp.
  1029. Each entry is preceded
  1030. by a
  1031. .NR (xs
  1032. [0.2v]
  1033. space.
  1034. Each entry is
  1035. .q undented
  1036. by
  1037. .NR (xu
  1038. [0.5i];
  1039. this register tells how far the page number
  1040. extends into the right margin.
  1041. .TL
  1042. .b .)x
  1043. .i P
  1044. .i A
  1045. .DE
  1046. End index entry.
  1047. The index entry
  1048. is finished with a row of dots
  1049. with
  1050. .i A
  1051. [null]
  1052. right justified on the last line
  1053. (such as for an author's name),
  1054. followed by P
  1055. [\c
  1056. .NR % ].
  1057. If
  1058. .i A
  1059. is specified,
  1060. .i P
  1061. must be specified;
  1062. .NR %
  1063. can be used to print the current page number.
  1064. If
  1065. .i P
  1066. is an underscore,
  1067. no page number
  1068. and no row of dots
  1069. are printed.
  1070. .TL
  1071. .b .xp
  1072. .i x
  1073. .DE
  1074. Print index
  1075. .i x
  1076. [\c
  1077. .b x ].
  1078. The index is formatted in the font, size, and so forth
  1079. in effect at the time it is printed,
  1080. rather than at the time it is collected.
  1081. .sh 1 "Columned Output"
  1082. .TL
  1083. .b .2c
  1084. .i +S
  1085. .i N
  1086. .DE
  1087. Enter two-column mode.
  1088. The column separation is set to
  1089. .i +S
  1090. [4n, 0.5i in ACM mode]
  1091. (saved in
  1092. .NR ($s ).
  1093. The column width,
  1094. calculated to fill the single column line length
  1095. with both columns,
  1096. is stored in
  1097. .NR ($l .
  1098. The current column
  1099. is in
  1100. .NR ($c .
  1101. You can test register
  1102. .NR ($m
  1103. [1]
  1104. to see if you are in single column
  1105. or double column mode.
  1106. Actually,
  1107. the request enters
  1108. .i N
  1109. [2]
  1110. column output.
  1111. .TL
  1112. .b .1c
  1113. .DE
  1114. Revert to single-column mode.
  1115. .TL
  1116. .b .bc
  1117. .DE
  1118. Begin column.
  1119. This is like
  1120. .b .bp
  1121. except that it begins a new column
  1122. on a new page
  1123. only if necessary,
  1124. rather than forcing a whole new page
  1125. if there is another column left
  1126. on the current page.
  1127. .sh 1 "Fonts and Sizes"
  1128. .TL
  1129. .b .sz
  1130. .i +P
  1131. .DE
  1132. The pointsize is set to
  1133. .i P
  1134. [10p],
  1135. and the line spacing is set proportionally.
  1136. The ratio of line spacing to pointsize
  1137. is stored in
  1138. .NR ($r .
  1139. The ratio used internally
  1140. by displays and annotations
  1141. is stored in
  1142. .NR ($R
  1143. (although this is not used by
  1144. .b .sz ).
  1145. This size is
  1146. .i not
  1147. sticky beyond many macros:
  1148. in particular,
  1149. .NR (pp
  1150. (paragraph pointsize)
  1151. modifies the pointsize every time a new paragraph is begun
  1152. using the
  1153. .b \&.pp ,
  1154. .b \&.lp ,
  1155. .b \&.ip ,
  1156. .b \&.np ,
  1157. or
  1158. .b \&.bu
  1159. macros.
  1160. Also,
  1161. .NR (fp
  1162. (footnote pointsize),
  1163. .NR (qp
  1164. (quote pointsize),
  1165. .NR (sp
  1166. (section header pointsize),
  1167. and
  1168. .NR (tp
  1169. (title pointsize)
  1170. may modify the pointsize.
  1171. .TL
  1172. .b .r
  1173. .i W
  1174. .i X
  1175. .DE
  1176. Set
  1177. .i W
  1178. in roman font,
  1179. appending
  1180. .i X
  1181. in the previous font.
  1182. To append different font requests,
  1183. use
  1184. .i X
  1185. =
  1186. .b \ec .
  1187. If no parameters,
  1188. change to roman font.
  1189. .TL
  1190. .b .i
  1191. .i W
  1192. .i X
  1193. .DE
  1194. Set
  1195. .i W
  1196. in italics,
  1197. appending
  1198. .i X
  1199. in the previous font.
  1200. If no parameters,
  1201. change to italic font.
  1202. Underlines in \*N.
  1203. .TL
  1204. .b .b
  1205. .i W
  1206. .i X
  1207. .DE
  1208. Set
  1209. .i W
  1210. in bold font
  1211. and append
  1212. .i X
  1213. in the previous font.
  1214. If no parameters,
  1215. switch to bold font.
  1216. In \*N,
  1217. underlines.
  1218. .TL
  1219. .b .rb
  1220. .i W
  1221. .i X
  1222. .DE
  1223. Set
  1224. .i W
  1225. in bold font
  1226. and append
  1227. .i X
  1228. in the previous font.
  1229. If no parameters,
  1230. switch to bold font.
  1231. .b .rb
  1232. differs from
  1233. .b .b
  1234. in that
  1235. .b .rb
  1236. does not underline in \*N.
  1237. .TL
  1238. .b .u
  1239. .i W
  1240. .i X
  1241. .DE
  1242. Underline
  1243. .i W
  1244. and append
  1245. .i X .
  1246. This is a true underlining,
  1247. as opposed to the
  1248. .b .ul
  1249. request,
  1250. which changes to
  1251. .q "underline font"
  1252. (usually italics in \*T).
  1253. It won't work right
  1254. if
  1255. .i W
  1256. is spread or broken (including hyphenated).
  1257. In other words,
  1258. it is safe in nofill mode only.
  1259. .TL
  1260. .b .q
  1261. .i W
  1262. .i X
  1263. .DE
  1264. Quote
  1265. .i W
  1266. and append
  1267. .i X .
  1268. In \*N
  1269. this just surrounds
  1270. .i W
  1271. with double quote marks
  1272. (`\|\c
  1273. .b """" \|'),
  1274. but in \*T
  1275. uses directed quotes.
  1276. .TL
  1277. .b .bi
  1278. .i W
  1279. .i X
  1280. .DE
  1281. Set
  1282. .i W
  1283. in bold italics
  1284. and append
  1285. .i X .
  1286. Actually,
  1287. sets
  1288. .i W
  1289. in italic
  1290. and overstrikes once.
  1291. Underlines in \*N.
  1292. It won't work right
  1293. if
  1294. .i W
  1295. is spread or broken (including hyphenated).
  1296. In other words,
  1297. it is safe in nofill mode only.
  1298. .TL
  1299. .b .bx
  1300. .i W
  1301. .i X
  1302. .DE
  1303. Sets
  1304. .i W
  1305. in a box,
  1306. with
  1307. .i X
  1308. appended.
  1309. Underlines in \*N.
  1310. It won't work right
  1311. if
  1312. .i W
  1313. is spread or broken (including hyphenated).
  1314. In other words,
  1315. it is safe in nofill mode only.
  1316. .TL
  1317. .b sm
  1318. .i W
  1319. .i X
  1320. .DE
  1321. Sets
  1322. .i W
  1323. in a smaller pointsize,
  1324. with
  1325. .i X
  1326. appended.
  1327. .sh 1 "Roff Support"
  1328. .TL
  1329. .b .ix
  1330. .i +N
  1331. .DE
  1332. Indent,
  1333. no break.
  1334. Equivalent to
  1335. .b \(aain
  1336. .i N .
  1337. .TL
  1338. .b .bl
  1339. .i N
  1340. .DE
  1341. Leave
  1342. .i N
  1343. contiguous white space,
  1344. on the next page if not enough room
  1345. on this page.
  1346. Equivalent to a
  1347. .b .sp
  1348. .i N
  1349. inside a block.
  1350. .TL
  1351. .b .pa
  1352. .i +N
  1353. .DE
  1354. Equivalent to
  1355. .b .bp .
  1356. .TL
  1357. .b .ro
  1358. .DE
  1359. Set page number
  1360. in roman numerals.
  1361. Equivalent to
  1362. .b ".af % i" .
  1363. .TL
  1364. .b .ar
  1365. .DE
  1366. Set page number in Arabic.
  1367. Equivalent to
  1368. .b ".af % 1" .
  1369. .TL
  1370. .b .n1
  1371. .DE
  1372. Number lines in margin from one
  1373. on each page.
  1374. .TL
  1375. .b .n2
  1376. .i N
  1377. .DE
  1378. Number lines from
  1379. .i N ,
  1380. stop if
  1381. .i N
  1382. = 0.
  1383. .TL
  1384. .b .sk
  1385. .DE
  1386. Leave the next output page blank,
  1387. except for headers and footers.
  1388. This is used to leave space
  1389. for a full-page diagram
  1390. which is produced externally
  1391. and pasted in later.
  1392. To get a partial-page paste-in display,
  1393. say
  1394. .b .sv \ \c
  1395. .i N ,
  1396. where
  1397. .i N
  1398. is the amount of space
  1399. to leave;
  1400. this space will be output immediately
  1401. if there is room,
  1402. and will otherwise be output
  1403. at the top of the next page.
  1404. However, be warned:
  1405. if
  1406. .i N
  1407. is greater than the amount of available space
  1408. on an empty page,
  1409. no space will ever be output.
  1410. .sh 1 "Preprocessor Support"
  1411. .TL
  1412. .b .EQ
  1413. .i m
  1414. .i T
  1415. .DE
  1416. Begin equation.
  1417. The equation is centered
  1418. if
  1419. .i m
  1420. is
  1421. .b C
  1422. or omitted,
  1423. indented
  1424. .NR (bi
  1425. [4m]
  1426. if
  1427. .i m
  1428. is
  1429. .b I ,
  1430. and left justified if
  1431. .i m
  1432. is
  1433. .b L .
  1434. .i T
  1435. is a title printed on the right margin
  1436. next to the equation.
  1437. See
  1438. .i "Typesetting Mathematics \- User's Guide"
  1439. by Brian W. Kernighan
  1440. and Lorinda L. Cherry.
  1441. .TL
  1442. .b .EN
  1443. .i c
  1444. .DE
  1445. End equation.
  1446. If
  1447. .i c
  1448. is
  1449. .b C
  1450. the equation must be continued
  1451. by immediately following
  1452. with another
  1453. .b .EQ ,
  1454. the text of which
  1455. can be centered
  1456. along with this one.
  1457. Otherwise,
  1458. the equation is printed,
  1459. always on one page,
  1460. with
  1461. .NR (es
  1462. [0.5v in \*T, 1v in \*N]
  1463. space
  1464. above and below it.
  1465. .TL
  1466. .b .TS
  1467. .i h
  1468. .DE
  1469. Table start.
  1470. Tables are single spaced
  1471. and kept on one page
  1472. if possible.
  1473. If you have a large table
  1474. which will not fit on one page,
  1475. use
  1476. .i h
  1477. =
  1478. .b H
  1479. and follow the header part
  1480. (to be printed on every page of the table)
  1481. with a
  1482. .b .TH .
  1483. See
  1484. .i "Tbl \- A Program to Format Tables"
  1485. by M. E. Lesk.
  1486. .TL
  1487. .b .TH
  1488. .DE
  1489. With
  1490. .b ".TS H" ,
  1491. ends the header portion of the table.
  1492. .TL
  1493. .b .TE
  1494. .DE
  1495. Table end.
  1496. Note that this table
  1497. does not float,
  1498. in fact,
  1499. it is not even guaranteed to stay on one page
  1500. if you use requests such as
  1501. .b .sp
  1502. intermixed with the text
  1503. of the table.
  1504. If you want it to float
  1505. (or if you use requests
  1506. inside the table),
  1507. surround the entire table
  1508. (including the
  1509. .b .TS
  1510. and
  1511. .b .TE
  1512. requests)
  1513. with the requests
  1514. .b .(z
  1515. and
  1516. .b .)z .
  1517. .TL
  1518. .b .PS
  1519. .i h
  1520. .i w
  1521. .DE
  1522. Begin
  1523. .i pic
  1524. picture.
  1525. .i H
  1526. is the height and
  1527. .i w
  1528. is the width,
  1529. both in basic units.
  1530. .i Ditroff
  1531. only.
  1532. .TL
  1533. .b .PE
  1534. .DE
  1535. End picture.
  1536. .TL
  1537. .b .IS
  1538. .DE
  1539. Begin
  1540. .i ideal
  1541. picture.
  1542. .TL
  1543. .b .IE
  1544. .DE
  1545. End
  1546. .i ideal
  1547. picture.
  1548. .TL
  1549. .b .IF
  1550. .DE
  1551. End
  1552. .i ideal
  1553. picture (alternate form).
  1554. .TL
  1555. .b GS
  1556. .DE
  1557. Begin
  1558. .i gremlin
  1559. picture.
  1560. .TL
  1561. .b GE
  1562. .DE
  1563. End
  1564. .i gremlin
  1565. picture.
  1566. .TL
  1567. .b GF
  1568. .DE
  1569. End
  1570. .i gremlin
  1571. picture (alternate form).
  1572. .sh 1 "Miscellaneous"
  1573. .TL
  1574. .b .re
  1575. .DE
  1576. Reset tabs.
  1577. Set to every 0.5i
  1578. in \*T
  1579. and every 0.8i in \*N.
  1580. .TL
  1581. .b .ba
  1582. .i +N
  1583. .DE
  1584. Set the base indent
  1585. to
  1586. .i +N
  1587. [0]
  1588. (saved in
  1589. .NR ($i ).
  1590. All paragraphs,
  1591. sections,
  1592. and displays
  1593. come out indented by this amount.
  1594. Titles and footnotes
  1595. are unaffected.
  1596. The
  1597. .b .sh
  1598. request performs a
  1599. .b .ba
  1600. request
  1601. if
  1602. .NR (si
  1603. [0] is not zero,
  1604. and sets the base indent to
  1605. .NR (si \c
  1606. .b * \c
  1607. .NR ($0 .
  1608. .TL
  1609. .b .xl
  1610. .i +N
  1611. .DE
  1612. Set the line length to
  1613. .i N
  1614. [6.0i].
  1615. This differs
  1616. from
  1617. .b .ll
  1618. because it only affects the current environment.
  1619. .TL
  1620. .b .ll
  1621. .i +N
  1622. .DE
  1623. Set line length in all environments
  1624. to
  1625. .i N
  1626. [6.0i].
  1627. This should not be used
  1628. after output has begun,
  1629. and particularly not in two-column output.
  1630. The current line length is stored in
  1631. .NR ($l .
  1632. .TL
  1633. .b .hl
  1634. .DE
  1635. Draws a horizontal line
  1636. the length of the page.
  1637. This is useful
  1638. inside floating keeps
  1639. to differentiate
  1640. between the text
  1641. and the figure.
  1642. .TL
  1643. .b .lh
  1644. .DE
  1645. Print a letterhead at the current position on the page.
  1646. The format of the letterhead must be defined
  1647. in the file
  1648. .b /usr/lib/me/letterhead.me
  1649. by your local systems staff.
  1650. Some environments may require
  1651. .i ditroff
  1652. for this macro
  1653. to function properly.
  1654. .TL
  1655. .b .lo
  1656. .DE
  1657. This macro loads another set of macros
  1658. (in
  1659. .b /usr/lib/me/local.me )
  1660. which is intended to be a set of locally defined macros.
  1661. These macros
  1662. should all be of the form
  1663. .b .* \c
  1664. .i X ,
  1665. where
  1666. .i X
  1667. is any letter
  1668. (upper or lower case)
  1669. or digit.
  1670. .sh 1 "Standard Papers"
  1671. .TL
  1672. .b .tp
  1673. .DE
  1674. Begin title page.
  1675. Spacing at the top of the page
  1676. can occur,
  1677. and headers and footers are suppressed.
  1678. Also,
  1679. the page number
  1680. is not incremented
  1681. for this page.
  1682. .TL
  1683. .b .th
  1684. .DE
  1685. Set thesis mode.
  1686. This defines the modes acceptable
  1687. for a doctoral dissertation
  1688. at Berkeley.
  1689. It double spaces,
  1690. defines the header
  1691. to be a single page number,
  1692. and changes the margins
  1693. to be 1.5 inch on the left
  1694. and one inch on the top.
  1695. .b .++
  1696. and
  1697. .b .+c
  1698. should be used with it.
  1699. This macro must be stated
  1700. before
  1701. initialization,
  1702. that is,
  1703. before the first call of a paragraphing
  1704. macro
  1705. or
  1706. .b .sh .
  1707. .TL
  1708. .b .++
  1709. .i m
  1710. .i H
  1711. .DE
  1712. This request defines the section of the paper
  1713. which we are entering.
  1714. The section type is defined by
  1715. .i m .
  1716. .b C
  1717. means that we are entering the chapter portion
  1718. of the paper,
  1719. .b A
  1720. means that we are entering the appendix portion
  1721. of the paper,
  1722. .b P
  1723. means that the material following
  1724. should be the preliminary portion
  1725. (abstract, table of contents, etc.)
  1726. portion of the paper,
  1727. .b AB
  1728. means that we are entering the abstract
  1729. (numbered independently from 1
  1730. in Arabic numerals),
  1731. and
  1732. .b B
  1733. means that we are entering the bibliographic
  1734. portion at the end of the paper.
  1735. Also, the variants
  1736. .b RC
  1737. and
  1738. .b RA
  1739. are allowed,
  1740. which specify renumbering of pages
  1741. from one at the beginning of each
  1742. chapter or appendix,
  1743. respectively.
  1744. The
  1745. .i H
  1746. parameter defines the new header.
  1747. If there are any spaces in it,
  1748. the entire header must be quoted.
  1749. If you want the header to have the chapter number
  1750. in it,
  1751. Use the string
  1752. .b "\e\e\e\en(ch" .
  1753. For example, to number appendixes
  1754. .b A.1
  1755. etc.,
  1756. type
  1757. .b ".++ RA \(aa\(aa\(aa\e\e\e\en(ch.%\(aa" .
  1758. Each section
  1759. (chapter, appendix, etc.)
  1760. should be preceded by the
  1761. .b .+c
  1762. request.
  1763. It should be mentioned
  1764. that it is easier when using
  1765. \*T to put the front material
  1766. at the end of the paper,
  1767. so that the table of contents
  1768. can be collected and put out;
  1769. this material can then be physically
  1770. moved to the beginning of the paper.
  1771. .TL
  1772. .b .+c
  1773. .i T
  1774. .DE
  1775. Begin chapter with title
  1776. .i T .
  1777. The chapter number
  1778. is maintained in
  1779. .NR (ch .
  1780. This register is incremented
  1781. every time
  1782. .b .+c
  1783. is called with a parameter.
  1784. The title and chapter number
  1785. are printed by
  1786. .b .$c .
  1787. The header is moved to the footer
  1788. on the first page
  1789. of each chapter.
  1790. If
  1791. .i T
  1792. is omitted,
  1793. .b .$c
  1794. is not called;
  1795. this is useful for doing your own
  1796. .q "title page"
  1797. at the beginning of papers
  1798. without a title page proper.
  1799. .b .$c
  1800. calls
  1801. .b .$C
  1802. as a hook so that chapter titles can be inserted
  1803. into a table of contents automatically.
  1804. The footnote numbering is reset to one.
  1805. .TL
  1806. .b .$c
  1807. .i T
  1808. .DE
  1809. Print chapter number
  1810. (from
  1811. .NR (ch )
  1812. and
  1813. .i T .
  1814. This macro can be redefined to your liking.
  1815. It is defined by default
  1816. to be acceptable
  1817. for a PhD thesis
  1818. at Berkeley.
  1819. This macro calls
  1820. .b $C ,
  1821. which can be defined to make index entries,
  1822. or whatever.
  1823. .TL
  1824. .b .$C
  1825. .i K
  1826. .i N
  1827. .i T
  1828. .DE
  1829. This macro is called by
  1830. .b .$c .
  1831. It is normally undefined,
  1832. but can be used to automatically insert
  1833. index entries,
  1834. or whatever.
  1835. .i K
  1836. is a keyword,
  1837. either
  1838. .q Chapter
  1839. or
  1840. .q Appendix
  1841. (depending on the
  1842. .b .++
  1843. mode);
  1844. .i N
  1845. is the chapter or appendix number,
  1846. and
  1847. .i T
  1848. is the chapter or appendix title.
  1849. .TL
  1850. .b .ac
  1851. .i A
  1852. .i N
  1853. .DE
  1854. This macro
  1855. (short for
  1856. .b .acm )
  1857. sets up the \*N environment
  1858. for camera-ready papers
  1859. as used by the ACM.
  1860. This format is 25% larger,
  1861. and has no headers or footers.
  1862. The author's name
  1863. .i A
  1864. is printed at the bottom of the page
  1865. (but off the part which will be printed
  1866. in the conference proceedings),
  1867. together with the current page number
  1868. and the total number of pages
  1869. .i N .
  1870. Additionally,
  1871. this macro loads the file
  1872. .b /usr/lib/me/acm.me ,
  1873. which may later be augmented with other macros
  1874. useful for printing papers
  1875. for ACM conferences.
  1876. It should be noted
  1877. that this macro will not work correctly in version 7 \*T,
  1878. since it sets the page length
  1879. wider than the physical width
  1880. of the C/A/T phototypesetter roll.
  1881. .sh 1 "Predefined Strings"
  1882. .TL
  1883. .ST *
  1884. .DE
  1885. Footnote number, actually
  1886. .ST [ \c
  1887. .NR ($f \c
  1888. .ST ] .
  1889. This macro is incremented
  1890. after each call to
  1891. .b .)f .
  1892. .TL
  1893. .ST #
  1894. .DE
  1895. Delayed text number.
  1896. Actually
  1897. [\c
  1898. .NR ($d ].
  1899. .TL
  1900. .ST [
  1901. .DE
  1902. Superscript.
  1903. This string gives upward movement
  1904. and a change to a smaller point size
  1905. if possible,
  1906. otherwise it gives the left bracket character
  1907. (`\^\c
  1908. .b [ \^').
  1909. Extra space is left above the line
  1910. to allow room for the superscript.
  1911. .TL
  1912. .ST ]
  1913. .DE
  1914. Unsuperscript.
  1915. Inverse to
  1916. .ST [ .
  1917. For example,
  1918. to produce a superscript
  1919. you might type
  1920. .b x \c
  1921. .ST [ \c
  1922. .b 2 \c
  1923. .ST ] ,
  1924. which will produce
  1925. .b x\*[2\*] .
  1926. .TL
  1927. .ST <
  1928. .DE
  1929. Subscript.
  1930. Defaults to
  1931. `\^<\^'
  1932. if half-carriage motion not possible.
  1933. Extra space is left below the line
  1934. to allow for the subscript.
  1935. .TL
  1936. .ST >
  1937. .DE
  1938. Inverse to
  1939. .ST < .
  1940. .TL
  1941. .ST (dw
  1942. .DE
  1943. The day of the week,
  1944. as a word.
  1945. .TL
  1946. .ST (mo
  1947. .DE
  1948. The month,
  1949. as a word.
  1950. .TL
  1951. .ST (td
  1952. .DE
  1953. Today's date,
  1954. directly printable.
  1955. The date is of the form \*(td.
  1956. Other forms of the date can be used
  1957. by using
  1958. .NR (dy
  1959. (the day of the month;
  1960. for example, \n(dy),
  1961. .ST (mo
  1962. (as noted above)
  1963. or
  1964. .NR (mo
  1965. (the same,
  1966. but as an ordinal number;
  1967. for example, \*(mo is \n(mo),
  1968. and
  1969. .NR (yr
  1970. (the last two digits of the current year).
  1971. .TL
  1972. .ST (lq
  1973. .DE
  1974. Left quote marks.
  1975. Double quote in \*N.
  1976. .TL
  1977. .ST (rq
  1978. .DE
  1979. Right quote.
  1980. .TL
  1981. .ST \-
  1982. .DE
  1983. .ie \w'\(34'>0 \(34
  1984. .el 3/4
  1985. em dash in \*T;
  1986. two hyphens in \*N.
  1987. .sh 1 "Special Characters and Marks"
  1988. .pp
  1989. There are a number of special characters
  1990. and diacritical marks
  1991. (such as accents)
  1992. available through \-me.
  1993. To reference these characters,
  1994. you must call the macro
  1995. .b .sc
  1996. to define the characters before using them.
  1997. .TL
  1998. .b .sc
  1999. .DE
  2000. Define special characters and diacritical marks, as described
  2001. in the remainder of this section.
  2002. This macro must be stated
  2003. before initialization.
  2004. The special characters available
  2005. are listed below.
  2006. .in +4n
  2007. .ta 15 +5 +6
  2008. .nf
  2009. Name    Usage    Example
  2010. Acute accent    \e*\(aa    a\e*\(aa    a\*'
  2011. Grave accent    \e*\(ga    e\e*\(ga    e\*`
  2012. Umlat    \e*:    u\e*:    u\*:
  2013. Tilde    \e*~    n\e*~    n\*~
  2014. Caret    \e*^    e\e*^    e\*^
  2015. Cedilla    \e*,    c\e*,    c\*,
  2016. Czech    \e*v    e\e*v    e\*v
  2017. Circle    \e*o    A\e*o    A\*o
  2018. There exists    \e*(qe        \*(qe
  2019. For all    \e*(qa        \*(qa
  2020. .fi
  2021. .sp 1i
  2022. .in 0
  2023. .b Acknowledgments
  2024. .pp
  2025. I would like to thank
  2026. Bob Epstein,
  2027. Bill Joy,
  2028. and Larry Rowe
  2029. for having the courage
  2030. to use the \-me macros
  2031. to produce non-trivial papers
  2032. during the development stages;
  2033. Ricki Blau,
  2034. Pamela Humphrey,
  2035. and Jim Joyce
  2036. for their help with the documentation phase;
  2037. peter kessler
  2038. for numerous complaints,
  2039. most accompanied by fixes;
  2040. and the plethora of people who have contributed ideas
  2041. and have given support for the project.
  2042. .bp
  2043. .b Summary
  2044. .pp
  2045. This alphabetical list summarizes all macros, strings, and number registers
  2046. available in the \-me macros.
  2047. Selected
  2048. .i troff
  2049. commands, registers, and functions are included as well;
  2050. those listed can generally be used with impunity.
  2051. .pp
  2052. The columns are the name of the
  2053. command, macro, register, or string;
  2054. the type of the object,
  2055. and the description.
  2056. Types are
  2057. .b M
  2058. for macro or builtin command
  2059. (invoked with
  2060. .b \&.
  2061. or
  2062. .b \&\'
  2063. in the first input column),
  2064. .b S
  2065. for a string
  2066. (invoked with
  2067. .b \e*
  2068. or
  2069. .b \e*( ),
  2070. .b R
  2071. for a number register
  2072. (invoked with
  2073. .b \en
  2074. or
  2075. .b \en( ),
  2076. and
  2077. .b F
  2078. for a
  2079. .i troff
  2080. builtin function
  2081. (invoked by preceding it with a single backslash).
  2082. .pp
  2083. Lines marked with \(sc are
  2084. .i troff
  2085. internal codes.
  2086. Lines marked with \(dg or \(dd
  2087. may be defined by the user to get special functions;
  2088. \(dd indicates that these are defined by default
  2089. and changing them may have unexpected side effects.
  2090. Lines marked with \(de
  2091. are specific to
  2092. .i ditroff
  2093. (device-independent
  2094. .i troff ).
  2095. .de $H
  2096. .ev 1
  2097. .ta \w'\e(space)\(sc\ 'u +\w'TYPE  'u
  2098. NAME    TYPE    DESCRIPTION
  2099. .ev
  2100. ..
  2101. .(l
  2102. .$H
  2103. \e(space)    F\(sc    unpaddable space
  2104. \e"    F\(sc    comment (to end of line)
  2105. \e*#    S    optional delayed text tag string
  2106. \e$\fI\&N\fP    F\(sc    interpolate argument \fI\&N\fP
  2107. \en($0    R    section depth
  2108. \&.$0    M\(dg    invoked after section title printed
  2109. \en($1    R    first section number
  2110. \&.$1    M\(dg    invoked before printing depth 1 section
  2111. \en($2    R    second section number
  2112. \&.$2    M\(dg    invoked before printing depth 2 section
  2113. \en($3    R    third section number
  2114. \&.$3    M\(dg    invoked before printing depth 3 section
  2115. \en($4    R    fourth section number
  2116. \&.$4    M\(dg    invoked before printing depth 4 section
  2117. \en($5    R    fifth section number
  2118. \&.$5    M\(dg    invoked before printing depth 5 section
  2119. \en($6    R    sixth section number
  2120. \&.$6    M\(dg    invoked before printing depth 6 section
  2121. \&.$C    M\(dg    called at beginning of chapter
  2122. \&.$H    M\(dg    text header
  2123. \en($R    R\(dd    relative vertical spacing in displays
  2124. \en($c    R    current column number
  2125. \&.$c    M\(dd    print chapter title
  2126. \en($d    R    delayed text number
  2127. \en($f    R    footnote number
  2128. \&.$f    M\(dd    print footer
  2129. \&.$h    M\(dd    print header
  2130. \en($i    R    paragraph base indent
  2131. \en($l    R    column width
  2132. \en($m    R    number of columns in effect
  2133. \e*($n    S    section name
  2134. \en($p    R    numbered paragraph number
  2135. \&.$p    M\(dd    print section heading (internal macro)
  2136. \en($r    R\(dd    relative vertical spacing in text
  2137. \en($s    R    column indent
  2138. \&.$s    M\(dd    footnote separator (from text)
  2139. \en%    R\(sc    current page number
  2140. \e&    F\(sc    zero width character, useful for hiding controls
  2141. \e(\fI\&xx\fP    F\(sc    interpolate special character \fI\&xx\fP
  2142. \&.(b    M    begin block
  2143. \&.(c    M    begin centered block
  2144. \&.(d    M    begin delayed text
  2145. \&.(f    M    begin footnote
  2146. \&.(l    M    begin list
  2147. \&.(q    M    begin quote
  2148. \&.(x    M    begin index entry
  2149. \&.(z    M    begin floating keep
  2150. \&.)b    M    end block
  2151. \&.)c    M    end centered block
  2152. \&.)d    M    end delayed text
  2153. \&.)f    M    end footnote
  2154. \&.)l    M    end list
  2155. \&.)q    M    end quote
  2156. \&.)x    M    end index entry
  2157. \&.)z    M    end floating keep
  2158. \e*\fI\&x\fP    F\(sc    interpolate string \fI\&x\fP
  2159. \e*(\fI\&xx\fP    F\(sc    interpolate string \fI\&xx\fP
  2160. \e**    S    optional footnote tag string
  2161. \&.++    M    set paper section type
  2162. \&.+c    M    begin chapter
  2163. \e*,    S    cedilla
  2164. \e\-    F\(sc    minus sign
  2165. \e*\-    S    3/4 em dash
  2166. \e0    F\(sc    unpaddable digit-width space
  2167. \&.1c    M    revert to single column output
  2168. \&.2c    M    begin two column output
  2169. \e*:    S    umlat
  2170. \e*<    S    begin subscript
  2171. \e*>    S    end subscript
  2172. \&.EN    M    end equation
  2173. \&.EQ    M    begin equation
  2174. \eL\'\fI\&d\fP\'    F\(sc    vertical line drawing function for distance \fI\&d\fP
  2175. \&.GE    M\(de    end \fIgremlin\fP picture
  2176. \&.GF    M\(de    end \fIgremlin\fP picture (with flyback)
  2177. \&.GS    M\(de    start \fIgremlin\fP picture
  2178. \&.IE    M\(de    end \fIideal\fP picture
  2179. \&.IF    M\(de    end \fIideal\fP picture (with flyback)
  2180. \&.IS    M\(de    start \fIideal\fP picture
  2181. \&.PE    M\(de    end \fIpic\fP picture
  2182. \&.PF    M\(de    end \fIpic\fP picture (with flyback)
  2183. \&.PS    M\(de    start \fIpic\fP picture
  2184. \&.TE    M    end table
  2185. \&.TH    M    end header of table
  2186. \&.TS    M    begin table
  2187. \e*[    S    begin superscript
  2188. \en(\&.$    R\(sc    number of arguments to macro
  2189. \en(\&.i    R\(sc    current indent
  2190. \en(\&.l    R\(sc    current line length
  2191. \en(\&.s    R\(sc    current point size
  2192. \e*(\&\'    S    acute accent
  2193. \e*(\&\`    S    grave accent
  2194. \e(\'    F\(sc    acute accent
  2195. \e(\`    F\(sc    grave accent
  2196. \e*]    S    end superscript
  2197. \e^    F\(sc    1/12 em narrow space
  2198. \e*^    S    caret
  2199. \&.ac    M    ACM mode
  2200. \&.ad    M\(sc    set text adjustment
  2201. \&.af    M\(sc    assign format to register
  2202. \&.am    M\(sc    append to macro
  2203. \&.ar    M    set page numbers in Arabic
  2204. \&.as    M\(sc    append to string
  2205. \&.b    M    bold font
  2206. \&.ba    M    set base indent
  2207. \&.bc    M    begin new column
  2208. \&.bi    M    bold italic
  2209. \en(bi    R    display (block) indent
  2210. \&.bl    M    blank lines (even at top of page)
  2211. \en(bm    R    bottom title margin
  2212. \&.bp    M\(sc    begin page
  2213. \&.br    M\(sc    break (start new line)
  2214. \en(bs    R    display (block) pre/post spacing
  2215. \en(bt    R    block keep threshold
  2216. \&.bx    M    boxed
  2217. \ec    F\(sc    continue input
  2218. \&.ce    M\(sc    center lines
  2219. \en(ch    R    current chapter number
  2220. \&.de    M\(sc    define macro
  2221. \en(df    R    display font
  2222. \&.ds    M\(sc    define string
  2223. \en(dw    R\(sc    current day of week
  2224. \e*(dw    S    current day of week
  2225. \en(dy    R\(sc    day of month
  2226. \ee    F\(sc    printable version of \e
  2227. \&.ef    M    set footer (even numbered pages only)
  2228. \&.eh    M    set header (even numbered pages only)
  2229. \&.el    M\(sc    else part of conditional
  2230. \&.ep    M    end page
  2231. \en(es    R    equation pre/post space
  2232. \ef\fI\&f\fP    F\(sc    inline font change to font \fI\&f\fP
  2233. \ef(\fI\&ff\fP    F\(sc    inline font change to font \fI\&ff\fP
  2234. \&.fc    M\(sc    set field characters
  2235. \en(ff    R    footnote font
  2236. \&.fi    M\(sc    fill output lines
  2237. \en(fi    R    footnote indent (first line only)
  2238. \en(fm    R    footer margin
  2239. \&.fo    M    set footer
  2240. \en(fp    R    footnote pointsize
  2241. \en(fs    R    footnote prespace
  2242. \en(fu    R    footnote undent (from right margin)
  2243. \eh\'\fI\&d\fP\'    F\(sc    local horizontal motion for distance \fI\&d\fP
  2244. \&.hc    M\(sc    set hyphenation character
  2245. \&.he    M    set header
  2246. \&.hl    M    draw horizontal line
  2247. \en(hm    R    header margin
  2248. \&.hx    M    suppress headers and footers on next page
  2249. \&.hy    M\(sc    set hyphenation mode
  2250. \&.i    M    italic font
  2251. \&.ie    M\(sc    conditional with else
  2252. \&.if    M\(sc    conditional
  2253. \en(ii    R    indented paragraph indent
  2254. \&.in    M\(sc    indent (transient, use .ba for pervasive)
  2255. \&.ip    M    begin indented paragraph
  2256. \&.ix    M    indent, no break
  2257. \el\'\fI\&d\fP\'    F\(sc    horizontal line drawing function for distance \fI\&d\fP
  2258. \&.lc    M\(sc    set leader repetition character
  2259. \&.lh    M\(de    interpolate local letterhead
  2260. \&.ll    M    set line length
  2261. \&.lo    M    load local macros
  2262. \&.lp    M    begin left justified paragraph
  2263. \e*(lq    S    left quote marks
  2264. \&.ls    M\(sc    set multi-line spacing
  2265. \&.m1    M    set space from top of page to header
  2266. \&.m2    M    set space from header to text
  2267. \&.m3    M    set space from text to footer
  2268. \&.m4    M    set space from footer to bottom of page
  2269. \&.mc    M\(sc    insert margin character
  2270. \&.mk    M\(sc    mark vertical position
  2271. \en(mo    R\(sc    month of year
  2272. \e*(mo    S    current month
  2273. \en\fI\&x\fP    F\(sc    interpolate number register \fI\&x\fP
  2274. \en(\fI\&xx\fP    F\(sc    interpolate number register \fI\&xx\fP
  2275. \&.n1    M    number lines in margin
  2276. \&.n2    M    number lines in margin
  2277. \&.na    M\(sc    turn off text adjustment
  2278. \&.ne    M\(sc    need vertical space
  2279. \&.nf    M\(sc    don't fill output lines
  2280. \&.nh    M\(sc    turn off hyphenation
  2281. \&.np    M    begin numbered paragraph
  2282. \&.nr    M\(sc    set number register
  2283. \&.ns    M\(sc    no space mode
  2284. \e*o    S    circle (e.g., for Norse A\*o)
  2285. \&.of    M    set footer (odd numbered pages only)
  2286. \&.oh    M    set header (odd numbered pages only)
  2287. \&.pa    M    begin page
  2288. \&.pd    M    print delayed text
  2289. \en(pf    R    paragraph font
  2290. \en(pi    R    paragraph indent
  2291. \&.pl    M\(sc    set page length
  2292. \&.pn    M\(sc    set next page number
  2293. \&.po    M\(sc    page offset
  2294. \en(po    R    simulated page offset
  2295. \&.pp    M    begin paragraph
  2296. \en(pp    R    paragraph pointsize
  2297. \en(ps    R    paragraph prespace
  2298. \&.q    M    quoted
  2299. \e*(qa    S    for all
  2300. \e*(qe    S    there exists
  2301. \en(qi    R    quote indent (also shortens line)
  2302. \en(qp    R    quote pointsize
  2303. \en(qs    R    quote pre/post space
  2304. \&.r    M    roman font
  2305. \&.rb    M    real bold font
  2306. \&.re    M    reset tabs
  2307. \&.rm    M\(sc    remove macro or string
  2308. \&.rn    M\(sc    rename macro or string
  2309. \&.ro    M    set page numbers in roman
  2310. \e*(rq    S    right quote marks
  2311. \&.rr    M\(sc    remove register
  2312. \&.rs    M\(sc    restore spacing
  2313. \&.rt    M\(sc    return to vertical position
  2314. \es\fI\&S\fP    F\(sc    inline size change to size \fI\&S\fP
  2315. \&.sc    M    load special characters
  2316. \en(sf    R    section title font
  2317. \&.sh    M    begin numbered section
  2318. \en(si    R    relative base indent per section depth
  2319. \&.sk    M    skip next page
  2320. \&.sm    M    set argument in a smaller pointsize
  2321. \&.so    M\(sc    source input file
  2322. \en(so    R    additional section title offset
  2323. \&.sp    M\(sc    vertical space
  2324. \en(sp    R    section title pointsize
  2325. \en(ss    R    section prespace
  2326. \&.sx    M    change section depth
  2327. \&.sz    M    set pointsize and vertical spacing
  2328. \&.ta    M\(sc    set tab stops
  2329. \&.tc    M\(sc    set tab repetition character
  2330. \e*(td    S    today's date
  2331. \en(tf    R    title font
  2332. \&.th    M    set thesis mode
  2333. \&.ti    M\(sc    temporary indent (next line only)
  2334. \&.tl    M\(sc    three part title
  2335. \en(tm    R    top title margin
  2336. \&.tp    M    begin title page
  2337. \en(tp    R    title pointsize
  2338. \&.tr    M\(sc    translate
  2339. \&.u    M    underlined
  2340. \&.uh    M    unnumbered section
  2341. \&.ul    M\(sc    underline next line
  2342. \ev\'\fI\&d\fP\'    F\(sc    local vertical motion for distance \fI\&d\fP
  2343. \e*v    S    inverted `v' for czeck ``e\*v''
  2344. \ew\'\fI\&S\fP\'    F\(sc    return width of string \fI\&S\fP
  2345. \&.xl    M    set line length (local)
  2346. \&.xp    M    print index
  2347. \en(xs    R    index entry prespace
  2348. \en(xu    R    index undent (from right margin)
  2349. \en(yr    R\(sc    year (last two digits only)
  2350. \en(zs    R    floating keep pre/post space
  2351. \e{    F\(sc    begin conditional group
  2352. \e|    F\(sc    1/6 em narrow space
  2353. \e}    F\(sc    end conditional group
  2354. \e*~    S    tilde
  2355. .)l
  2356. .rm $H
  2357.