1GROFF_ME(7) Miscellaneous Information Manual GROFF_ME(7)
2
3
4
6 groff_me - troff macros for formatting papers
7
9 groff -me [ options ] file ...
10 groff -m me [ options ] file ...
11
13 This manual page describes the GNU version of the -me macros, which is
14 part of the groff document formatting system. This version can be used
15 with both GNU troff and Unix troff. This package of troff macro defi‐
16 nitions provides a canned formatting facility for technical papers in
17 various formats.
18
19 The macro requests are defined below. Many troff requests are unsafe
20 in conjunction with this package, however, these requests may be used
21 with impunity after the first .pp:
22
23 .bp begin new page
24 .br break output line here
25 .sp n insert n spacing lines
26 .ls n (line spacing) n=1 single, n=2 double space
27 .na no alignment of right margin
28 .ce n center next n lines
29 .ul n underline next n lines
30
31 Output of the pic, eqn, refer, and tbl preprocessors is acceptable as
32 input.
33
35 /usr/share/groff/1.21/tmac/me.tmac (a wrapper file for e.tmac)
36 /usr/share/groff/1.21/tmac/e.tmac
37
39 groff(1), troff(1)
40 -me Reference Manual, Eric P. Allman
41 Writing Papers with Groff Using -me
42
44 This list is incomplete; see The -me Reference Manual for interesting
45 details.
46
47 Request Initial Causes Explanation
48 Value Break
49 ────────────────────────────────────────────────────────────────────────
50 .(c - yes Begin centered block
51 .(d - no Begin delayed text
52 .(f - no Begin footnote
53 .(l - yes Begin list
54 .(q - yes Begin major quote
55 .(x x - no Begin indexed item in index
56 .(z - no Begin floating keep
57 .)c - yes End centered block
58 .)d - yes End delayed text
59 .)f - yes End footnote
60 .)l - yes End list
61 .)q - yes End major quote
62 .)x - yes End index item
63 .)z - yes End floating keep
64
65
66
67 .++ m H - no Define paper section. m defines the
68 part of the paper, and can be C (chap‐
69 ter), A (appendix), P (preliminary,
70 e.g., abstract, table of contents,
71 etc.), B (bibliography), RC (chapters
72 renumbered from page one each chap‐
73 ter), or RA (appendix renumbered from
74 page one).
75 .+c T - yes Begin chapter (or appendix, etc., as
76 set by .++). T is the chapter title.
77 .1c 1 yes One column format on a new page.
78 .2c 1 yes Two column format.
79 .EN - yes Space after equation produced by eqn
80 or neqn.
81 .EQ x y - yes Precede equation; break out and add
82 space. Equation number is y. The
83 optional argument x may be I to indent
84 equation (default), L to left-adjust
85 the equation, or C to center the equa‐
86 tion.
87 .GE - yes End gremlin picture.
88 .GS - yes Begin gremlin picture.
89 .PE - yes End pic picture.
90 .PS - yes Begin pic picture.
91 .TE - yes End table.
92 .TH - yes End heading section of table.
93 .TS x - yes Begin table; if x is H table has
94 repeated heading.
95 .b x no no Print x in boldface; if no argument
96 switch to boldface.
97 .ba +n 0 yes Augments the base indent by n. This
98 indent is used to set the indent on
99 regular text (like paragraphs).
100 .bc no yes Begin new column
101 .bi x no no Print x in bold italics (nofill only)
102 .bu - yes Begin bulleted paragraph
103 .bx x no no Print x in a box (nofill only).
104 .ef ´x´y´z´ ´´´´ no Set even footer to x y z
105 .eh ´x´y´z´ ´´´´ no Set even header to x y z
106 .fo ´x´y´z´ ´´´´ no Set footer to x y z
107 .hx - no Suppress headers and footers on next
108 page.
109 .he ´x´y´z´ ´´´´ no Set header to x y z
110 .hl - yes Draw a horizontal line
111 .i x no no Italicize x; if x missing, italic text
112 follows.
113 .ip x y no yes Start indented paragraph, with hanging
114 tag x. Indentation is y ens (default
115 5).
116 .lp yes yes Start left-blocked paragraph.
117 .np 1 yes Start numbered paragraph.
118 .of ´x´y´z´ ´´´´ no Set odd footer to x y z
119 .oh ´x´y´z´ ´´´´ no Set odd header to x y z
120 .pd - yes Print delayed text.
121 .pp no yes Begin paragraph. First line indented.
122 .r yes no Roman text follows.
123 .re - no Reset tabs to default values.
124 .sh n x - yes Section head follows, font automati‐
125 cally bold. n is level of section, x
126 is title of section.
127 .sk no no Leave the next page blank. Only one
128 page is remembered ahead.
129 .sm x - no Set x in a smaller pointsize.
130 .sz +n 10p no Augment the point size by n points.
131 .tp no yes Begin title page.
132
133 .u x - no Underline argument (even in troff).
134 (Nofill only).
135 .uh - yes Like .sh but unnumbered.
136 .xp x - no Print index.
137
138
139
140
1413rd Berkeley Distribution 4 November 2014 GROFF_ME(7)