tail head cat sleep
QR code linking to this page

Manual Pages  — GROFF_ME


groff_me - troff macros for formatting papers



groff -me [ options ] file ...
groff -m me [ options ] file ...


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. This package of troff macro definitions provides a canned formatting facility for tech%nical papers in various formats.

The macro requests are defined below. Many troff requests are unsafe in conjunction with this package, however, these requests may be used with impunity after the first .pp:

.bpbegin new page .brbreak output line here .sp ninsert n spacing lines .ls n(line spacing) n=1 single, n=2 double space .nano alignment of right margin .ce ncenter next n lines .ul nunderline next n lines
Output of the pic, eqn, refer, and tbl preprocessors is acceptable as input.


/usr/share/tmac/me.tmac (a wrapper file for e.tmac)


groff(1), troff(1)
-me Reference Manual, Eric P. Allman
Writing Papers with Groff Using -me


This list is incomplete; see The -me Reference Manual for interesting details.

 Value Break
.(c    -    yesBegin centered block
   .(d    -    noBegin delayed text
   .(f    -    noBegin footnote
   .(l    -    yesBegin list
   .(q    -    yesBegin major quote
   .(x x  -    noBegin indexed item in index x
   .(z    -    noBegin floating keep
   .)c    -    yesEnd centered block
   .)d    -    yesEnd delayed text
   .)f    -    yesEnd footnote
   .)l    -    yesEnd list
   .)q    -    yesEnd major quote
   .)x    -    yesEnd index item
   .)z    -    yesEnd floating keep
   .++ m H-    noDefine paper section. m defines the part of the paper, and can be C (chapter), A (appendix), P (preliminary, e.g., abstract, table of contents, etc.), B (bibliography), RC (chapters renumbered from page one each chapter), or RA (appendix renumbered from page one).
   .+c T  -    yesBegin chapter (or appendix, etc., as set by .++). T is the chapter title.
   .1c    1    yesOne column format on a new page.
   .2c    1    yesTwo column format.
   .EN    -    yesSpace after equation produced by eqn or neqn.
   .EQ x y-    yesPrecede equation; break out and add space. Equation number is y. The optional argument x may be I to indent equation (default), L to left-adjust the equation, or C to center the equation.
   .GE    -    yesEnd gremlin picture.
   .GS    -    yesBegin gremlin picture.
   .PE    -    yesEnd pic picture.
   .PS    -    yesBegin pic picture.
   .TE    -    yesEnd table.
   .TH    -    yesEnd heading section of table.
   .TS x  -    yesBegin table; if x is H table has repeated heading.
   .b x   no   noPrint x in boldface; if no argument switch to boldface.
   .ba +n 0    yesAugments the base indent by n. This indent is used to set the indent on regular text (like paragraphs).
   .bc    no   yesBegin new column
   .bi x  no   noPrint x in bold italics (nofill only)
   .bu    -    yesBegin bulleted paragraph
   .bx x  no   noPrint x in a box (nofill only).
   .ef xyz     noSet even footer to x y z
   .eh xyz     noSet even header to x y z
   .fo xyz     noSet footer to x y z
   .hx    -    noSuppress headers and footers on next page.
   .he xyz     noSet header to x y z
   .hl    -    yesDraw a horizontal line
   .i x   no   noItalicize x; if x missing, italic text follows.
   .ip x yno   yesStart indented paragraph, with hanging tag x. Indentation is y ens (default 5).
   .lp    yes  yesStart left-blocked paragraph.
   .np    1    yesStart numbered paragraph.
   .of xyz     noSet odd footer to x y z
   .oh xyz     noSet odd header to x y z
   .pd    -    yesPrint delayed text.
   .pp    no   yesBegin paragraph. First line indented.
   .r     yes  noRoman text follows.
   .re    -    noReset tabs to default values.
   .sh n x-    yesSection head follows, font automatically bold. n is level of section, x is title of section.
   .sk    no   noLeave the next page blank. Only one page is remembered ahead.
   .sm x  -    noSet x in a smaller pointsize.
   .sz +n 10p  noAugment the point size by n points.
   .tp    no   yesBegin title page.
   .u x   -    noUnderline argument (even in troff). (Nofill only).
   .uh    -    yesLike .sh but unnumbered.
   .xp x  -    noPrint index x.

4 September 2005 GROFF_ME (7) Groff Version 1.19.2

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC