As an aid to finding the right request for a particular task, the 85 nroff/troff requests are listed below by subject.
.cu | Continuous underline/italicize. |
.lg | Ligature mode. |
.tr | Translate characters. |
.uf | Set font for underlining. |
.ul | Underline/italicize. |
.el | Else portion of if-else. |
.ie | If portion of if-else. |
.if | If statement. |
.c2 | Set no-break control character. |
.cc | Set control character. |
.ec | Set escape character. |
.eo | Turn off escape character. |
.hc | Set hyphenation character. |
.pc | Set page character. |
.ab | Print a message, then abort. |
.fl | Flush output buffer. |
.ig | Suppress (ignore) text in output. |
.lf | Set line number and filename. |
.mc | Set the margin character. |
.pm | Print name and size of macros. |
.tm | Print a message, then continue. |
.bd | Embolden font. |
.cs | Set constant-width spacing. |
.fp | Mount font (on positions 1–4). |
.ft | Set font. |
.ps | Set point size. |
.ss | Set character spacing. |
.in | Indent. |
.ll | Set line length. |
.lt | Set length of title. |
.po | Change page offset. |
.ti | Indent next line. |
.tl | Specify three-part title. |
.hw | Set hard-coded hyphenation. |
.hy | Set hyphenation mode. |
.nh | Turn off hyphenation. |
.cf | Copy raw file to output. |
.ex | Exit from nroff/troff. |
.nx | Go to a file. |
.pi | Pipe output to a Unix command. |
.rd | Read from the terminal. |
.so | Go to a file, then return. |
.sy | Execute a Unix command. |
.am | Append to a macro. |
.as | Append to a string. |
.ch | Change trap position. |
.da | Divert text; append to a macro. |
.de | Define a macro. |
.di | Divert text to a macro. |
.ds | Define a string. |
.dt | Set a diversion trap. |
.em | Set the ending macro. |
.ev | Change environment. |
.it | Set trap for input line counting. |
.rm | Remove macro, request, or string. |
.rn | Rename macro, request, or string. |
.wh | Set a page trap. |
.af | Assign a format to a register. |
.nr | Define a number register. |
.rr | Remove a number register. |
.bp | Begin a new page. |
.mk | Mark vertical position. |
.ne | Keep lines on same page if there's room. |
.pl | Set page length. |
.pn | Set page number. |
.rt | Return to marked vertical place. |
.fc | Set a field delimiter and a pad character. |
.lc | Set leader character. |
.ta | Define tab settings. |
.tc | Set tab character. |
.ad | Adjust margins. |
.br | Break the output line. |
.ce | Center lines. |
.fi | Fill lines. |
.na | Don't adjust margins. |
.nf | Don't fill lines. |
.ls | Line spacing (e.g., single-spaced). |
.ns | Enable no-space mode. |
.os | Output vertical space from .sv. |
.rs | Restore spacing mode. |
.sp | Output blank spacing. |
.sv | Save (store) spacing. |
.vs | Set vertical spacing for lines. |
Copyright © 2003 O'Reilly & Associates. All rights reserved.