Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Troff
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Typesetting language}} {{about|the Unix document processing system|the command in BASIC|TROFF|the chess grandmaster|Kayden Troff}} {{Distinguish|Trough (disambiguation)}} {{Redirect|tbl||TBL (disambiguation)}} {{lowercase title}} {{Missing information|short list of books typeset with troff|date=January 2021}} {{Infobox software | name = troff | logo = | screenshot = | screenshot size = | caption = | author = [[Joe Ossanna]] | developer = [[AT&T Bell Laboratories]] | released = | latest release version = | latest release date = | programming language = [[C (programming language)|C]] | operating system = [[Unix]], [[Unix-like]], [[Plan 9 from Bell Labs|Plan 9]] | platform = [[Cross-platform]] | genre = [[Command (computing)|Command]] | license = Plan 9: [[MIT License]] | website = }} '''troff''' ({{IPAc-en|Λ|t|iΛ|r|Ι|f}}), short for "typesetter roff", is the major component of a [[document processing system]] developed by [[Bell Labs]] for the [[Unix]] operating system. troff and the related [[nroff]] were both developed from the original [[roff (software)|roff]]. While nroff was intended to produce output on terminals and line printers, troff was intended to produce output on [[typesetting]] systems, specifically the [[CAT (phototypesetter)|Graphic Systems CAT]], which had been introduced in 1972. Both used the same underlying [[markup language]], and a single source file could normally be used by nroff or troff without change. ''troff'' features commands to designate fonts, spacing, paragraphs, margins, footnotes and more. Unlike many other text formatters, ''troff'' can position characters arbitrarily on a page, even overlapping them, and has a fully programmable input language. Separate preprocessors are used for more convenient production of tables, diagrams, and mathematics. Inputs to troff are plain text files and can be created by any text editor. Extensive [[#macros|macro packages]] have been created for various document styles. A typical distribution of '''troff''' includes the '''me''' macros for formatting research papers, '''man''' and '''mdoc''' macros for creating Unix [[UNIX manual|man pages]], '''mv''' macros for creating mountable [[Overhead projector|transparencies]], and the '''ms''' and '''mm''' macros for letters, books, technical memoranda, and reports.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)