UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 12.4 Default Operation of RequestsChapter 12
nroff and troff
Next: 12.6 Alphabetical Summary of Requests
 

12.5 Group Summary of Requests

As an aid to finding the right request for a particular task, the 85 nroff/troff requests are listed below by subject.

12.5.1 Character Output

.cuContinuous underline/italicize.
.lgLigature mode.
.trTranslate characters.
.ufSet font for underlining.
.ulUnderline/italicize.

12.5.2 Conditional Processing

.elElse portion of if-else.
.ieIf portion of if-else.
.ifIf statement.

12.5.3 Customizing n/troff Requests

.c2Set no-break control character.
.ccSet control character.
.ecSet escape character.
.eoTurn off escape character.
.hcSet hyphenation character.
.pcSet page character.

12.5.4 Diagnostic Output

.abPrint a message, then abort.
.flFlush output buffer.
.igSuppress (ignore) text in output.
.lfSet line number and filename.
.mcSet the margin character.
.pmPrint name and size of macros.
.tmPrint a message, then continue.

12.5.5 Font and Character Size

.bdEmbolden font.
.csSet constant-width spacing.
.fpMount font (on positions 1-4).
.ftSet font.
.psSet point size.
.ssSet character spacing.

12.5.6 Horizontal Positioning

.inIndent.
.llSet line length.
.ltSet length of title.
.poChange page offset.
.tiIndent next line.
.tlSpecify three-part title.

12.5.7 Hyphenation

.hwSet hard-coded hyphenation.
.hySet hyphenation mode.
.nhTurn off hyphenation.

12.5.8 Input/Output Switching

.cfCopy raw file to output.
.exExit from nroff/troff.
.nxGo to a file.
.piPipe output to a Unix command.
.rdRead from the terminal.
.soGo to a file, then return.
.syExecute a Unix command.

12.5.9 Line Numbering

.nmLine-numbering mode.
.nnDon't number lines.

12.5.10 Macro and String Processing

.amAppend to a macro.
.asAppend to a string.
.chChange trap position.
.daDivert text; append to a macro.
.deDefine a macro.
.diDivert text to a macro.
.dsDefine a string.
.dtSet a diversion trap.
.emSet the ending macro.
.evChange environment.
.itSet trap for input line counting.
.rmRemove macro, request, or string.
.rnRename macro, request, or string.
.whSet a page trap.

12.5.11 Number Registers

.afAssign a format to a register.
.nrDefine a number register.
.rrRemove a number register.

12.5.12 Pagination

.bpBegin a new page.
.mkMark vertical position.
.neKeep lines on same page if there's room.
.plSet page length.
.pnSet page number.
.rtReturn to marked vertical place.

12.5.13 Tabs

.fcSet a field delimiter and a pad character.
.lcSet leader character.
.taDefine tab settings.
.tcSet tab character.

12.5.14 Text Adjustments

.adAdjust margins.
.brBreak the output line.
.ceCenter lines.
.fiFill lines.
.naDon't adjust margins.
.nfDon't fill lines.

12.5.15 Vertical Spacing

.lsLine spacing (e.g., single-spaced).
.nsEnable no-space mode.
.osOutput vertical space from .sv.
.rsRestore spacing mode.
.spOutput blank spacing.
.svSave (store) spacing.
.vsSet vertical spacing for lines.


Previous: 12.4 Default Operation of RequestsUNIX in a Nutshell: System V EditionNext: 12.6 Alphabetical Summary of Requests
12.4 Default Operation of RequestsBook Index12.6 Alphabetical Summary of Requests

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System