MS(7) COMMAND REFERENCE MS(7) NAME ms - macros for formating manuscripts The troff command is not supported for UTek workstations. SYNOPSIS nroff -ms [ options ] file ... troff -ms [ options ] file ... DESCRIPTION This package of nroff and troff macro definitions provides a canned formating facility for technical papers in various formats. When producing 2-column output on a terminal, filter the output through col(1). Output of the neqn(1), refer(1), and tbl(1) preprocessors for equations and tables is acceptable as input. Requests Following is a complete list of available ms formating requests. See the manual(s) for detailed descriptions of the various requests. .1C One column format on a new page. .2C Two column format. .AB Begin abstract. .AD f Set right margin adjustment on (f=1 or missing) or off (f=0). .AE End abstract. .AI Author's institution follows. .AN c Define auto increment number c. .AU Author's name follows. .B x Print x in boldface; if no argument switch to boldface. .BC Begin new column when in .2C mode. .BD Start centered block display which may extend over page boundaries. .BE End text to be boxed; print it (also known as .B2). .BP Begin a new page. Printed 3/13/89 1
MS(7) COMMAND REFERENCE MS(7) .BR Begin a new line ("break" the line). .BS Start text to be enclosed in a box (also known as .B1). .BT Print page footer at bottom of page. May be redefined. .BU Start a bullet item (indented paragraph with bullet label). .BX word Print word in a box. .CD Start centered display which may extend over page boundaries. .CN Tektronix Labs confidentiality note. May be redefined. .COL Pipe output through col(1) if necessary. Must be first. .CS f Enter constant spacing mode if f is missing; leave constant spacing mode if f is 0. Ignored in nroff. .DA Place current date at bottom of each page. .DE End displayed text. .DR This is a draft document. .DS x Start of displayed text, to appear verbatim line-by-line. x=I for indented display (default), x=L for left-justified on the page, x=C for centered, x=B for make left-justified block, then center whole block. Implies .KS. .EH End heading. .FE End footnote. .FS x Start footnote. x is optional label to be placed to the left of the footnote. .HL Draw a horizontal line across the page. .HS x y Specify heading style. O indicates outline form; I indicates indented numbered sections. .HY f Set hyphenation on (f=1 or missing) or off (f=0). Printed 3/13/89 2
MS(7) COMMAND REFERENCE MS(7) .I x Italicize x. If no argument switch to italics. Underline in nroff. .ID Start indented display which may extend over page boundaries. .IE End an indented section. .IOC IOC style. Must be first. .TO, .FR, .CC, .SU, .DA, .TI, .PL give information for IOC header. .IP l x y Start indented paragraph, with hanging label l. Text indentation is x spaces; label is indented y spaces. .IS Start indented section. .JU 'l'c'r' Justify line, with l left-justified, c centered, and r right-justified. .KE End keep. Put preceding text on next page if not enough room. .KF Start floating keep. If the kept text must be moved to the next page, float later text back to this page. .KS Start keeping following text. .LD Start left-justified display which may extend over page boundaries. .LG Make letters larger. Ignored in nroff. .LP Start left-blocked paragraph. .LS n Set line spacing to n lines (2 for double- spacing). .LT Business letter style. Must be first. .ND date Use date supplied in place of actual date. .NE n Need n lines on page; page eject if not enough. .NH n Same as .SH, with section number supplied automatically. Numbers are multilevel, like 1.2.3, where n tells what level is wanted (default is 1). .NL Make letters normal size. Printed 3/13/89 3
MS(7) COMMAND REFERENCE MS(7) .P1 Include header at top of page 1 (normally suppressed). .PC Print header preceding table of contents. May be redefined. .PN n Set page number of next page to n. .PP Start paragraph. First line indented. .PT Print page header at top of page. May be redefined. .PX Print header preceding index. May be redefined. .QE End quoted material. .QP Start quoted paragraph (indented and shorter). .QS Start quoted material (indented and shorter). .R Roman text follows. .RD file Read input from file. .RE End relative indent section. .RP Released paper style. Must be first. .RS Start level of relative indentation. Following .IP's are measured from current indentation. .SE End a section of text to be sorted. .SH Section head follows; font automatically bold. .SM Make letters smaller. Ignored in nroff. .SO Sort following text. .SP n Space n lines (1 if missing). .SZ n Set character size. Ignored in nroff. .TA x... Set tabs. .TC text Place text in the table of contents and also include in text. .TE End table. .TH End heading section of table. Printed 3/13/89 4
MS(7) COMMAND REFERENCE MS(7) .TL Title of document follows. .TM x Technical memo style, with optional number x. Must be first. .TR x Technical report style, with optional number x. Must be first. .TS x Start table; if x is H table has repeated heading. .UL word Underline argument (even in troff). .UX `UNIX'; first time used, add footnote `UNIX is a trademark of Bell Laboratories.' .XN text Add text to index without a page number. .XX text Add text to index with current page number. In-Line Commands \space Unpaddable Space Character \e Echo Backslash Character \% Suppress Hyphenation \Fx Switch to Font x (Also \f) \sn Set Character Size to n Points \s+n Increase/Decrease Size by n Points \(xy Special Character xy \o'...' Overstrike Characters \" Ignore Rest of Input Line (For Comments) \*{ Start Superscript \*} End Superscript \*[ Start Subscript \*] End Subscript \*x Increment and Print Auto Number x \nx Print Auto Number x (no incr.) Printed 3/13/89 5
MS(7) COMMAND REFERENCE MS(7) \*(DT Today's Date \*(DY Today's Date (Changeable via .ND) \*(DW Day of the Week \n(PN Current Page Number String/Number Registers .ds LH Left Portion of Page Header (Initially Null) .ds CH - \\n(PN - Center Portion of Page Header .ds RH Right Portion of Page Header .ds LF Left Portion of Page Footer .ds CF Center Portion of Page Footer (\\*(DY if.DA) .ds RF Right Portion of Page Footer .ds NF R Normal Text Font .ds HF B Heading Font (.SH/.NH) .ds PD 1v Paragraph Separation (.PP/.DS/.SP -- 0.5v if -Tvpr) .ds DI Distribution Default for Missing .TO Argument in IOC .nr LL 6i Line Length (6.5i for IOC) .nr LT 6i Header/Footer Length (6.5i for IOC) .nr FL 6i-3n Footnote Line Length .nr PO 0 Page Offset (Appropriate Value if -Tvpr) .nr HM 1i Top Margin (Header in Middle of Margin) .nr FM 1i Bottom Margin (Footer in Middle of Margin) .nr PI 5n Paragraph (.PP/.IP/.IS) Indent .nr QI 5n Quoted Section (.QP/.QS) Indent Printed 3/13/89 6
MS(7) COMMAND REFERENCE MS(7) .nr NI 4n Auto Indent for Numbered Sections (.HS I) .nr PS 10 Character Point Size (Range 6 to about 18) .nr VS 12 Vertical Spacing (Normally PS+2) .nr CS 24 Constant Spacing Character Width (.CS) FILES /usr/lib/tmac/tmac.s* SEE ALSO nroff(1) and tbl(1). Printed 3/13/89 7
%%index%% na:192,203; sy:395,322; de:717,1544;2525,1756;4545,1815;6624,1507;8395,1501;10160,1848;12272,364; fi:12636,84; se:12720,161; %%index%%000000000158