home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeBook TitleSearch this book

Chapter 15. me Macros

This chapter presents the following topics:

15.1. Alphabetical Summary of me Macros

.1c

.1c

Return to single-column format. See .2c.

.2c

.2c

Enter two-column format. Force a new column with .bc; end two-column mode with .1c.

.ar

.ar

Set page number in arabic.

.b

.b w x

Set w in bold and x in previous font.

.(b

.(b type

Begin block keep. End with .)b.

Type

C

Centered block keep.

F

Filled block keep.

L

Left-justified block keep.

.)b

.)b

End block keep started with .(b.

.ba

.ba n

Set the base indent to n.

.bc

.bc

Begin column; used after .2c.

.bi

.bi w x

Set w in bold italics and x in previous font.

.bl

.bl n

Leave n lines of whitespace. Equivalent to .sp n inside a block.

.bu

.bu

Begin paragraph marked by a bullet.

.bx

.bx w x

Set w in a box and x immediately outside the box.

.+c

.+c title

Begin chapter with title.

.$c

.$c title

Begin numbered chapter with title.

.$C

.$C keyword n title

User-definable macro. Called by .$c, supplying keyword (e.g., “Chapter” or “Appendix”), chapter or appendix number (n), and title.

.(c

.(c

Begin centered block. End with .)c.

.)c

.)c

End centered block started with .(c.

.(d

.(d

Begin delayed text. End with .)d.

.)d

.)d

End delayed text. Print text with .pd.

.ef

.ef 'l'c'r'

Print three-part footer on all even pages. Parts are left-justified, centered, and right-justified at bottom of every even page.

.eh

.eh 'l'c'r'

Print three-part header on all even pages. Parts are left-justified, centered, and right-justified at top of every even page.

.EN

.EN

End equation display started with .EQ.

.ep

.ep

End this page and print footnotes.

.EQ

.EQ format title

Start equation display to be processed by eqn, using output format and having title printed on the right margin next to the equation. End with .EN. See Chapter 17, for more information on eqn.

Format

C

Centered.

I

Indented.

L

Left-justified.

.$f

.$f

Call to print footer.

.(f

.(f

Begin text for footnote. End with .)f.

.)f

.)f

End footnote text started with .(f.

.fo

.fo 'l'c'r'

Print three-part footer on all pages. Parts are left-justified, centered, and right-justified at bottom of every page.

.GE

.GE

End a picture created by gremlin. Must be used with a preceding .GS. Recent versions of me only.

.GF

.GF

End a picture created by gremlin, and “flyback” to the initial vertical position. Must be used with a preceding .GS. Recent versions of me only.

.GS

.GS [flag]

Start a picture created by gremlin. Must be used with a following .GE or .GF. Recent versions of me only. (gremlin is a picture-drawing tool similar to pic that was developed at UCB.) The default action is to center the picture.

Values for flag

LPlace the picture next to the left margin.
RPlace the picture next to the right margin.

.$H

.$H

Normally undefined macro, called immediately before printing text on a page. Can be used for column headings, etc.

.$h

.$h

Call to print header.

.he

.he 'l'c'r'

Print three-part heading on all pages. Parts are left-justified, centered, and right-justified at top of every page.

.hl

.hl

Draw a horizontal line equal to the width of page.

.hx

.hx

Don't print headings and footers on next page.

.i

.i w x

Set w in italics (underline in nroff) and x in previous font.

.IE

.IE

End a picture created by ideal. Must be used with a preceding .IS. Recent versions of me only.

.IF

.IF

End a picture created by ideal, and “flyback” to the initial vertical position. Must be used with a preceding .IS. Recent versions of me only.

.IS

.IS

Start a picture created by ideal. Must be used with a following .IE or .IF. Recent versions of me only. (ideal is a picture-drawing tool similar to pic that was developed at Bell Labs.)

.ip

.ip label n

Indent paragraph n spaces with hanging label.

.ix

.ix [±n]

Indent but don't break the line. Equivalent to 'in n.

.(l

.(l type

Begin list. End with .)l.

Type

C

Centered list

F

Filled list

L

Left-justified list

.)l

.)l

End list started with .(l.

.ll

.ll +n

Set line length to +n (all environments). This is a macro, not the nroff/troff .ll request.

.lo

.lo

Load a locally defined set of macros (usually /usr/lib/me/local.me). (Not in recent versions.)

.lp

.lp

Begin block paragraph (left-justified).

.m1

.m1 n

Set n spaces between top of page and heading.

.m2

.m2 n

Set n spaces between heading and first line of text.

.m3

.m3 n

Set n spaces between footer and text.

.m4

.m4 n

Set n spaces between footer and bottom of page.

.n1

.n1

Number lines in margin beginning with 1.

.n2

.n2 n

Number lines in margin beginning with n; stop numbering if n is 0.

.np

.np

Begin a numbered paragraph. Current number is accessed via \n($p.

.of

.of 'l'c'r'

Print three-part footer on all odd pages. Parts are left-justified, centered, and right-justified at bottom of every odd page.

.oh

.oh 'l'c'r'

Print three-part header on all odd pages. Parts are left-justified, centered, and right-justified at top of every odd page.

.$p

.$p title n d

Print section heading with specified title, section number n, and depth of section d.

.$0

.$0 title n d

Called automatically after every call to .$p. Normally undefined, but may be used to put every section title automatically into table of contents, or for some similar function.

.$n

.$n

These are traps called just before printing a section of depth n (n is 1–6). Called from .$p.

.pa

.pa [±n]

Equivalent to .bp.

.pd

.pd

Print delayed text, indicated by .(d and .)d.

.PE

.PE

End a picture created by pic. Must be used with a preceding .PS. Recent versions of me only.

.PS

.PS vert indent

Start a picture created by pic. Must be used with a following .PE. Recent versions of me only.

vert is the amount of vertical space to provide for the picture, and indent is how far from the left margin to place the picture.

.pp

.pp

Begin indented paragraph.

.q

.q w x

Surround w with double quotes and x immediately outside the quotes.

.(q

.(q

Begin major quote. End with .)q.

.)q

.)q

End major quote started with .(q.

.r

.r w x

Set w in roman font and x in previous font.

.rb

.rb w x

Set w in bold and x in previous font.

.re

.re

Reset tabs to every 0.5 inch (in troff) or to every 0.8 inch (in nroff).

.ro

.ro

Set page number in roman numerals.

.$s

.$s

Separate footnotes with a 1.5-inch horizontal line.

.sh

.sh

Begin numbered section heading.

.sk

.sk

Leave next page blank. Like the troff .bp request.

.sm

.sm small reg

Concatenate small and reg, with small set one point smaller in size. Recent versions of me only.

.sx

.sx +n

Begin a paragraph at level n.

.sz

.sz n

Set character point size to n, with line spacing set proportionally.

.TE

.TE

End table. See .TS.

.TH

.TH

End table header. Must be used with a preceding .TS H.

.th

.th

Initialize for a thesis. (Not in recent versions.)

.tp

.tp

Initialize for a title page.

.TS

.TS [H]

Start table to be processed by tbl. Use H to put a table header on all pages (end table header with .TH). End table with .TE. See Chapter 17 for more information on tbl.

.u

.u w x

Underline w and set x in previous font.

.uh

.uh title

Begin unnumbered section heading using title.

.(x

.(x

Begin index entry. End with .)x.

.)x

.)x [page] [author]

End index entry started with .(x. Print index with .xp.

The arguments are optional. If page is “_” (an underscore), the page number for this index entry is omitted. Otherwise, page is the page number to use instead of the one that is automatically calculated.

The second argument is printed right-justified at the end of the entry; it might be used for the author's name, for example. If author is specified, page must be too: use \n% to get the current page number.

.xl

.xl n

Set the line length to n (current environment only). (This is actually the nroff/troff internal .ll request.)

.xp

.xp

Print index. See also .(x and .)x.

.(z

.(z

Begin floating keep.

.)z

.)z

End floating keep.

.++

.++ type header

Define the section of the paper being entered. Specify a type with a header title string.

Type

A

Appendix.

AB

Abstract.

B

Bibliography.

C

Chapter.

P

Preliminary section (table of contents, etc.).

RA

Appendix, with page numbers reset to 1.

RC

Chapter, with page numbers reset to 1.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.