mv
Purpose
Provides a troff macro package for typesetting view
graphs and slides.
Synopsis
mvt [-a| [-rw1| [flag . . . | [file . . . |
troff [-a| [-rw1| [-rX1| -mv [flag . . . | [file . . . |
Description
This package makes it easy to typeset view graphs and
projection slides in a variety of sizes. A few macros
(briefly described in the following) accomplish most of
the formatting tasks needed in making transparencies.
The facilities of troff, cw, eqn, and tbl are available
for more difficult tasks.
The output can be previewed on most terminals. To
preview on some devices, specify the -rX1 option (this
option is automatically specified by the mvt command,
when that command is invoked with certain options). To
preview output on other terminals, specify the -a option.
The -rw1 option suppresses the printing of cross-hairs
and crop marks.
The available macros are:
.A [x| Places text that follows at the first indenta-
tion level (left margin); the presence of x
suppresses the 1/2 line spacing from the pre-
ceding text.
.B [m[s| |
Places text that follows at the second indenta-
tion level. Text is preceded by a mark. m is
the mark, the default is a large bullet. s is
the increment or decrement to the point size of
the mark with respect to the prevailing point
size. The default is 0. If s is 100, it causes
the point size of the mark to be the same as
that of the default mark.
.BX str1 [str2| [f|
Encloses str1 in a box and appends str2 (if
any) to it. str1 is set in the prevailing font
unless f names a different font.
.C [m [s| |
Same as .B, but for the third indentation
level. The default mark is a dash.
.CN [args|
Ends a constant-width font display.
.CW [args|
Begins a constant-width font display at the
current indentation level.
.D [m [s| |
Same as .B, but for the fourth indentation
level. The default mark is a small bullet.
.DF n f [n f . . . |
Defines font positions. This may not appear
within a foil's input text (for example, it may
only appear after all the input text for a
foil, but before the next foil-start macro). n
is the position of font f, up to four "n f"
pairs can be specified. The first font named
becomes the prevailing font. The initial
setting is (H is a synonym for G):
.DF 1 H 2 I 3 B 4 S
.DV [a| [b| [c| [d| [e|
Alters the vertical spacing between indentation
levels. The a, b, c, and d values alter the
spacing for .A, .B, .C, and .D respectively.
The e value is the pre-spacing and post-spacing
for constant-width font displays bracketed by
the .CW and .CN macros. Arguments that are not
null must have dimensions. Null arguments
leave the corresponding spacing unaffected.
Initial setting is:
.DV .5v .5v .5v 0v .5v
.I [in| [a [x| |
Changes the current text indent, but does not
affect titles. in is the indent in inches,
unless dimensioned. The default is 0. If in
is signed, it is an increment or decrement.
The presence of a invokes the .A macro and
passes x, if any, to it.
.S [p| [l|
Sets the point size and line length. p is the
point size, the default is previous. If p is
100, the point size reverts to the initial
default for the current foil-start macro. If p
is signed, it is an increment or decrement.
The default is 18 for .VS, .VH, and .SH, and 14
for the other foil-start macros. l is the line
length in inches unless dimensioned. The
default is 4.2 inches for .Vh, 3.8 inches for
.Sh, 5 inches for .SH, and 6 inches for the
other foil-start macros.
.Sh [n| [i| [d|
Same as .VS, except that foil size is 5 S 7
inches.
.SH [n| [i| [d|
Same as .VS, except that foil size is 7 S 9
inches.
.Sw [n| [i| [d|
Same as .VS, except that foil size is 7 S 5
inches.
.SW [n| [i| [d|
Same as .VS, except that foils size is 7 S 5.4
inches.
.T string Prints string as an over-size, centered title.
.U str1 [str2|
Underlines str1 and concatenates str2 (if any)
to it.
.Vh [n| [i| [d|
Same as .VS, except that foil size is 5 S 7
inches.
.VH [n| [i| [d|
Same as .VS, except that foils size is 7 S 9
inches.
.VS [n| [i| [d|
Foil-start macro; foil size is to be 7 S 7
inches. n is the foil number, i is the foil
identification, d is the date. The foil-start
macro resets all parameters (indent, point
size, and so on) to initial default values,
except for the values of i and d arguments that
came from a previous foil-start macro; it also
invokes the .A macro.
The naming convention for this and the eight
other foil-start macros is that the first char-
acter of the name (V or S) distinguishes
between view graphs and slides, respectively,
while the second character indicates whether
the foil is square (S), small wide (w), small
high (h), big wide (W), or big high (H).
Slides are thinner than the corresponding view
graphs. For slides, the ratio of the longer
dimension to the shorter one is larger than for
view graphs. As a result, slide foils can be
used for view graphs, but not the opposite.
Alternately, view graphs can accommodate a bit
more text.
.Vw [n| [i| [d|
Same as .VS, except that foil size is 7 inches
wide S 5 inches high.
.VW [n.| [i| [d|
Same as .VS, except that foil size is 7 S 5.4
inches.
.WS [w| [string|
Reserves w amount of white space. w must have
dimensions. If string is present, prints, in
the reserved space, the caption:
"Paste up" string "here."
The .S, .DF, .DV, .U and .BX macros do not cause a break.
The .I macro causes a break only if it is invoked with
more than one argument. All the other macros cause a
break.
The macro package also recognizes the following upper
case synonyms for the corresponding lower case troff
requests:
.AD .BR .CE .HY .NA .NH .NX .SO .SP .TA .TI
The Tm string produces the trademark symbol.
The ~ (tilde) character is translated into a blank on
output.
The following troff symbols are defined:
\*t The ASCII tab character.
\*E The ellipsis ( . . . ). Do not use this symbol
within constant-width text.
\*u The short name of the operating system in small
capital letters.
\*(UU The short name of the operating system with a
leading full-cap letter.
\*(UF The full name of the operating system.
\*(Tm The trademark symbol.
Note: The VW and SW foils are meant to be 9 inches wide
by 7 inches high. However, the typesetter paper is gen-
erally only 8 inches wide, so they are printed 7 inches
wide by 5.4 inches high. They need to be enlarged by a
factor of 9/7 before they can be used as view graphs.
Files
/usr/lib/tmac/tmac.v
/usr/lib/macros/vmca
Related Information
The cw, eqn, mmt, tbl, troff commands in AIX Operating
System Commands Reference.