Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

roff(1) [v7 man page]

ROFF(1) 						      General Commands Manual							   ROFF(1)

roff - format text SYNOPSIS
roff [ +n ] [ -n ] [ -s ] [ -h ] file ... nroff -mr [ option ] ... file ... troff -mr [ option ] ... file ... DESCRIPTION
Roff formats text according to control lines embedded in the text in the given files. Encountering a nonexistent file terminates printing. Incoming inter-terminal messages are turned off during printing. The optional flag arguments mean: +n Start printing at the first page with number n. -n Stop printing at the first page numbered higher than n. -s Stop before each page (including the first) to allow paper manipulation; resume on receipt of an interrupt signal. -h Insert tabs in the output stream to replace spaces whenever appropriate. Input consists of intermixed text lines, which contain information to be formatted, and request lines, which contain instructions about how to format it. Request lines begin with a distinguished control character, normally a period. Output lines may be filled as nearly as possible with words without regard to input lineation. Line breaks may be caused at specified places by certain commands, or by the appearance of an empty input line or an input line beginning with a space. The capabilities of roff are specified in the attached Request Summary. Numerical values are denoted there by n or +n, titles by t, and single characters by c. Numbers denoted +n may be signed + or -, in which case they signify relative changes to a quantity, otherwise they signify an absolute resetting. Missing n fields are ordinarily taken to be 1, missing t fields to be empty, and c fields to shut off the appropriate special interpretation. Running titles usually appear at top and bottom of every page. They are set by requests like .he 'part1'part2'part3' Part1 is left justified, part2 is centered, and part3 is right justified on the page. Any % sign in a title is replaced by the current page number. Any nonblank may serve as a quote. ASCII tab characters are replaced in the input by a replacement character, normally a space, according to the column settings given by a .ta command. (See .tr for how to convert this character on output.) Automatic hyphenation of filled output is done under control of .hy. When a word contains a designated hyphenation character, that charac- ter disappears from the output and hyphens can be introduced into the word at the marked places only. The -mr option of nroff or troff(1) simulates roff to the greatest extent possible. FILES
/usr/lib/suftab suffix hyphenation tables /tmp/rtm? temporary BUGS
Roff is the simplest of the text formatting programs, and is utterly frozen. REQUEST SUMMARY Request Break Initial Meaning the current line is stopped. without filling. to be invoked by request `.xx' (definition ends on line beginning `..'). and is not done, if n=0. ROFF(1)

Check Out this Related Man Page

MS(7)							 Miscellaneous Information Manual						     MS(7)

ms - macros for formatting manuscripts SYNOPSIS
nroff -ms [ options ] file ... troff -ms [ options ] file ... DESCRIPTION
This package of nroff and troff macro definitions provides a canned formatting facility for technical papers in various formats. When pro- ducing 2-column output on a terminal, filter the output through col(1). The macro requests are defined below. Many nroff and troff requests are unsafe in conjunction with this package, however these requests may be used with impunity after the first .PP: Output of the eqn, neqn, refer, and tbl(1) preprocessors for equations and tables is acceptable as input. FILES
/usr/lib/tmac/tmac.s SEE ALSO
eqn(1), troff(1), refer(1), tbl(1) REQUESTS
Request Initial Cause Explanation Value Break Suppressed in TM. x is location and y is extension, ignored except in TM. x no no Print x in boldface; if no argument switch to boldface. 7th Edition foot of page. May be redefined. TM format, suppressed otherwise. Arguments are number of text pages, other pages, total pages, figures, tables, references. is x. Default is today. Implies .KE. to appear verbatim line-by-line. x=I for indented display (default), x=L for left-justified on the page, x=C for centered, x=B for make left-justified block, then center whole block. Implies .KS. produced by eqn or neqn. 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. The note will be moved to the bottom of the page. New Jersey 07733'. x no no Italicize x; if x missing, italic text follows. x with hanging tag x. Indentation is y ens (default 5). Put kept text on next page if not enough room. If the kept text must be moved to the next page, float later text back to this page. New Jersey 07974'. special BTL format positions; omit from page footer. number supplied automatically. Numbers are multilevel, like 1.2.3, where n tells what level is wanted (default is 1). sheet follow. MS(7) Miscellaneous Information Manual MS(7) First line indented. top of page. May be redefined. yes no Roman text follows. paper. Must precede other requests. Following .IP's are measured from current indentation. ignored except in TM. x is the reference line (initials of author and typist). - yes Section head follows, font automatically bold. no no Make letters smaller. Default is 5 10 15 ... - yes End(heading) table. - yes End(heading) Arguments are TM number, (quoted list of) case number(s), and file number. Must precede other requests. of section - yes End(heading)
Man Page

Featured Tech Videos