Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ms(5) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

eqn(1)

refer(1)

tbl(1)

troff(1)




ms(5) ms(5)
NAME ms - text formatting macros SYNOPSIS nroff -ms [nroff-options]... troff -ms [troff-options]... DESCRIPTION This package of nroff and troff macro definitions provides a formatting facility for various styles of articles, theses, and books. When producing 2-column output on a terminal or lineprinter, or when reverse line motions are needed, filter the output through col(1). All external ms macros are defined below. Many nroff and troff requests are unsafe in conjunction with this package. However, the first four requests below may be used with impunity after initialization, and the last two may be used even before initialization: .bp begin new page .br break output line .sp n insert n spacing lines .ce n center next n lines .ls n line spacing: n=1 single, n=2 double space .na no alignment of right margin Font and point size changes with \f and \s are also allowed; for example, \fIword\fP will produce word. Output of the tbl, eqn, and refer(1) preprocessors for equations, tables, and references is acceptable as input. Full details are provided in A/UX Text Processing Tools. Requests MACRO INITIAL BREAK? EXPLANATION NAME VALUE RESET? .AB x - yes Begin abstract; if x=no don't label abstract. .AE - yes End abstract. .AI - yes Author's institution. .AU - yes Author's name. .B x - no Embolden x; if no x, switch to boldface. .B1 - yes Begin text to be enclosed in a box. .B2 - yes End boxed text and print it. .BT date no Bottom title, printed at foot of page. .BX x - no Print word x in a box. .CM if t no Cut mark between pages. .CT - yes,yes Chapter title: page number moved to CF (TM only). .DA x if n no Force date x at bottom of page; today if no x. .DE - yes End display (unfilled text) of any kind. .DS x y I yes Begin display with keep; x=I,L,C,B; y=indent. January 1992 1



ms(5) ms(5)
.ID y 8n,.5i yes Indented display with no keep; y=indent. .LD - yes Left display with no keep. .CD - yes Centered display with no keep. .BD - yes Block display; center entire block. .EF x - no Even page footer x (3 part as for .tl). .EH x - no Even page header x (3 part as for .tl). .EN - yes End displayed equation produced by eqn. .EQ x y - yes Break out equation; x=L,I,C; y=equation number. .FE - no End footnote to be placed at bottom of page. .FP - no Numbered footnote paragraph; may be redefined. .FS x - no Start footnote; x is optional footnote label. .HD undef no Optional page header below header margin. .I x - no Italicize x; if no x, switch to italics. .IP x y - yes,yes Indented paragraph, with hanging tag x; y=indent. .IX x y - yes Index words x y and so on (up to 5 levels). .KE - no End keep of any kind. .KF - no Begin floating keep; text fills remainder of page. .KS - yes Begin keep; unit kept together on a single page. .LG - no Larger; increase point size by 2. .LP - yes,yes Left (block) paragraph. .MC x - yes,yes Multiple columns; x=column width. .ND x if t no No date in page footer; x is date on cover. .NH x y - yes,yes Numbered header; x=level, x=0 resets, x=S sets to y. .NL 10p no Set point size back to normal. .OF x - no Odd page footer x (3 part as for .tl). .OH x - no Odd page header x (3 part as for .tl). .P1 if TM no print header on 1st page. .PP - yes,yes Paragraph with first line indented. .PT - % - no Page title, printed at head of page. .PX x - yes Print index (table of contents); x=no suppresses title. .QP - yes,yes Quote paragraph (indented and shorter). .R on no Return to Roman font. .RE 5n yes,yes Retreat: end level of relative indentation. .RP x - no Released paper format; x=no stops title on 1st page. .RS 5n yes,yes Right shift: start level of relative indentation. .SH - yes,yes Section header, in boldface. .SM - no Smaller; decrease point size by 2. .TA 8n,5n no Set tabs to 8n 16n ... (nroff) 5n 10n ... (troff). .TC x - yes Print table of contents at end; x=no suppresses title. .TE - yes End of table processed by tbl. .TH - yes End multi-page header of table. .TL - yes Title in boldface and two points larger. .TM off no Thesis mode. .TS x - yes,yes Begin table; if x=H table has multi-page header. .UL x - no Underline x (troff). .UX x - no UNIX; trademark message first time; x appended. .XA x y - yes Another index entry; x=page or no for none; y=indent. .XE - yes End index entry (or series of .IX entries). .XP - yes,yes Paragraph with first line extended, others indented. .XS x y - yes Begin index entry; x=page or no for none; y=indent. .1C on yes,yes One column format, on a new page. .2C - yes,yes Begin two column format. 2 January 1992



ms(5) ms(5)
.]- - no Beginning of refer reference. .[0 - no End of unclassifiable type of reference. .[N - no N= 1:journal-article, 2:book, 3:book-article, 4:report. Registers Formatting distances can be controlled in ms by means of built-in number registers. For example, this sets the line length to 6.5 inches:
.nr LL 6.5i
Here is a table of number registers and their default values: PS point size paragraph 10 VS vertical spacing paragraph 12 LL line length paragraph 6i LT title length next page same as LL FL footnote length next .FS 5.5i PD paragraph distance paragraph 1v (if n), .3v (if t) DD display distance displays 1v (if n), .5v (if t) PI paragraph indent paragraph 5n QI quote indent next .QP 5n FI footnote indent next .FS 2n PO page offset next page 0 (if n), 1i (if t)
~
HM header margin next page 1i
FM footer margin next page 1i FF footnote format next .FS 0 (1, 2, 3 available)
When resetting these values, make sure to specify the
appropriate units. Setting the line length to 7, for
example, will result in output with one character per line.
Setting FF to 1 suppresses footnote superscripting; setting
it to 2 also suppresses indentation of the first line; and
setting it to 3 produces an .IP-like footnote paragraph.
Here is a list of string registers available in ms; they may
be used anywhere in the text:
NAME STRING'S FUNCTION
\*Q quote (" in nroff, `` in troff)
\*U unquote (" in nroff, '' in troff)
\*- dash (-- in nroff, - in troff)
\*(MO month (month of the year)
\*(DY day (current date)
\** automatically numbered footnote
\*' acute accent (before letter)
\*` grave accent (before letter)
\*^ circumflex (before letter)
\*, cedilla (before letter)
\*: umlaut (before letter)
\*~ tilde (before letter)
January 1992 3



ms(5) ms(5)
LIMITATIONS Floating keeps and regular keeps are diverted to the same space, so they cannot be mixed together with predictable results. FILES /usr/lib/tmac/tmac.x File containing the MS macro package /usr/lib/ms/x.??? Files containing MS macro information SEE ALSO eqn(1), refer(1), tbl(1), troff(1) in A/UX Command Reference ``ms Reference'' in A/UX Text Processing Tools 4 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026