GROFF_ME(7)

NAME
groff_me - “me” macro package for formatting documents with GNU roff

SYNOPSIS
groff -me [option ...] [input-file ...]
groff -m me [option ...] [input-file ...]

DESCRIPTION
The me package of macro definitions for the roff language provides a convenient facility for preparing technical papers in various formats. This manual page describes the GNU version of the me macros, which is part of the groff document formatting system. This version can be used with both GNU troff and Unix troff.

Many roff requests are unsafe in conjunction with this package; however, the following requests may be used with impunity after the first .pp:
.bp | begin new page
.br | break output line here
.sp n | insert n spacing lines
.ls n | (line spacing) n=1 single, n=2 double space
.na | no alignment of right margin
.ce n | center next n lines
.ul n | underline next n lines

Note: In contrast to its behavior with other macro packages and “raw” roff, when using the me package, the .sp request will not put space at the top of a page.

Output of the pic, eqn, refer, and tbl preprocessors is acceptable as input.

  Macro Reference
Numeric arguments to macros are denoted with lowercase letters and string arguments with uppercase. An optional macro argument such as x appears in brackets, [x ]. Note that arguments to macros generally must be quoted if they contain whitespace. An exception is the argument to header and footer macros, which require some explanation. They take the form “c left c middle c right c”, with spaces added here for clarity. The strings left, middle, and right correspond to their page placement and can contain unprotected whitespace, but must not contain the (non-space) character c, which delimits them. For brevity, the table presents header and footer arguments as clcmcrc. Popular choices for c are the ASCII apostrophe “'” and the ASCII double quote “"”.

This list is incomplete; some requests are too complex to summarize in a table, and some that are listed below accept additional arguments not shown. See the -me Reference Manual for interesting details.

Request | Initial | Causes | Explanation
 | Value | Break
.(c | - | yes | Begin centered block.
.(d | - | no | Begin delayed text.
.(f | - | no | Begin footnote.
.(l | - | yes | Begin list.
.(q | - | yes | Begin major quote.
.(x [X] | - | no | Begin item in index (named
.(z | - | no | Begin floating keep.
.)c | - | yes | End centered block.
.)d | - | yes | End delayed text.
.)f | - | yes | End footnote.
.)l | - | yes | End list.
.)q | - | yes | End major quote.
.)x | - | yes | End index item.
.)z | - | yes | End floating keep.
.++ M [clcmcrc] | - | no | Define paper section as which must be one of (chapter), (appendix), (preliminary, i.e., front matter or table of contents), (abstract), (bibliography), (chapters renumbered from page one each chapter), or (appendix renumbered from page one) (and set page header to
.+c [T] | - | yes | Begin chapter (or appendix, etc., as set by (with title
.1c | 1 | yes | One-column format on a new page.
.2c | 1 | yes | Two-column format.
.EN | - | yes | Space after equation produced by or
.EQ [M [T]] | - | yes | Begin displayed equation (with indentation which must be one of (centered, default), (indented), or (justified left) (and title in right margin)).
.GE | - | yes | End gremlin picture.
.GS | - | yes | Begin gremlin picture.
.PE | - | yes | End pic picture.
.PS | - | yes | Begin pic picture.
.TE | - | yes | End table.
.TH | - | yes | End heading of table.
.TS [H] | - | yes | Begin table; if table repeats heading on each page.
.b [X [Y]] | - | no | Print in bold (appending in the previous font); if no arguments, switch to bold.
.ba n | 0 | yes | Augment the base indent (for regular text, like paragraphs) by
.bc | - | yes | Begin new column.
.bi [X [Y]] | - | no | Print in bold italics (appending in the previous font); if no arguments, switch to bold italics.
.bu | - | yes | Begin bulleted paragraph.
.bx [X [Y]] | - | no | Print X in a box (with Y appended). Renders reliably only in no-fill mode.
.ef clcmcrc | """" | no | Set even-numbered page footer.
.eh clcmcrc | """" | no | Set even-numbered page header.
.fo clcmcrc | """" | no | Set page footer.
.hx | - | no | Suppress headers and footers on next page.
.he clcmcrc | """" | no | Set page header.
.hl | - | yes | Draw a horizontal line.
.i [X [Y]] | - | no | Print in italics (appending in the previous font); if no arguments, switch to italics.
.ip [X [n]] | n=5n | yes | Start indented paragraph (with hanging tag (and indentation
.lp | - | yes | Begin paragraph with first line flush left.
.np | 1 | yes | Start numbered paragraph.
.of clcmcrc | """" | no | Set odd-numbered page footer.
.oh clcmcrc | """" | no | Set odd-numbered page header.
.pd | - | yes | Print delayed text.
.pp | - | yes | Begin paragraph with indented first line.
.r [X [Y]] | - | no | Print in roman (appending in the previous font); if no arguments, switch to roman.
.re | 0.5i | no | Reset tabs to default values.
.sh [n [T]] | n=1 | yes | Start numbered section; print section number (set to (and title in bold.
.sk | - | no | Leave the next page blank. Only one page is remembered ahead.
.sm X [Y] | - | no | Print in a smaller point size (appending at the previous size).
.sz n | 10p | no | Augment the point size by points.
.tp | - | yes | Begin title page.
.u X [Y] | - | no | Underline (appending without underlining). Renders reliably only in no-fill mode.
.uh [T] | - | yes | Start unnumbered section (and print title in bold).
.xp [X] | - | no | Print index (named

FILES
/opt/share/groff/1.22.4/tmac/me.tmac (a wrapper file for e.tmac)
/opt/share/groff/1.22.4/tmac/e.tmac

NOTES
Early roff macro packages limited themselves to a single-letter namespace (mm, ms, mv, mn, etc.). The “e” in “me” stands for “Eric P. Allman”, who wrote the macro package and the original technical papers documenting it while an undergraduate at the University of California.

SEE ALSO
groff(1), troff(1)

Two manuals are available in source and rendered form. On your system, they may be compressed and/or available in additional formats.

/opt/share/doc/groff-1.22.4/meintro.me
/opt/share/doc/groff-1.22.4/meintro.ps
    is Writing Papers with Groff Using -me, by Eric P. Allman and James Clark.

/opt/share/doc/groff-1.22.4/meref.me
/opt/share/doc/groff-1.22.4/meref.ps
    is the -me Reference Manual, by Eric P. Allman and James Clark.

For preprocessors supported by me, see eqn(1), grn(1), pic(1), refer(1), and tbl(1).