Roff
Roff is a family of text-formatting languages and processing systems used on Unix and Unix-like systems to format documents for printing or on-screen display. The name is traditionally traced to Runoff, one of the earliest programs for formatting text for line printers; roff was developed in the 1970s at Bell Labs and evolved into the troff/nroff/groff family. The core idea is that a plain text input contains formatting requests and macros, which are interpreted by a roff processor to produce paginated output.
In practice, roff consists of a pipeline: the input is processed by macro packages that provide higher-level
A suite of preprocessors and macro packages extends roff’s capabilities, including eqn for mathematics, tbl for
Overall, roff represents a foundational, text-based approach to high-quality document formatting that persists primarily in Unix