Cheat sheet: Groff Macros

With this cheat sheet, you'll have a handy reference to the most common groff macros.

Like other text formatting systems, groff is built around macros. This flexibility means you can use the macro set best meets your needs to write your documents.

A groff input file is a plain text file, and groff uses the macros in your source file to generate a final document.

This cheat sheet lists how to use macros from three popular macro sets (me, ms and mm) to write papers and generate reports.

To download this cheat sheet, log in or enter your email address and country below.