On Unix-like operating systems, the nroff command (short for “new runoff”), is used to format (“run off”) documents for display or fixed-width printing. In addition to user functions, internally, the system uses it to format the text in man pages.

This page covers the GNU/Linux version of nroff.

Syntax

nroff [-e] [-h] [-i] [-q] [-mname] [-nN] [-opagelist] [-raN] [-sN] [-Tname]

Options

Examples

nroff -s4 -me users.guide

Formats users.guide using the -me macro package.

  • Syntax
  • Examples
  • Related commands
  • Linux commands help

checknr — Check nroff and troff files for errors.col — Filter reverse linefeeds.eqn — Language processor for describing equations.man — Display the manual page of a given command.tbl — Preprocessor that formats tables for nroff or troff.troff — Typeset or format documents for terminal display or line-printer.