Introducing a Groff Macros cheat sheet | Opensource.com

Introducing a Groff Macros cheat sheet

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

Cheat Sheet cover image
Image by : 
Opensource.com
x

Subscribe now

Get the highlights in your inbox every week.

Linux has a handy text formatting command. GNU groff is quite old, but it's still very useful to generate documents. Most people use groff to write papers, but you can also use groff as a lightweight intermediate report generator for an automated system.

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.

Download the Groff Macros Cheat Sheet

Read more: How to format academic papers on Linux with groff -me

About the author

photo of Jim Hall
Jim Hall - Jim Hall is an open source software advocate and developer, probably best known as the founder of FreeDOS. Jim is also very active in usability testing for open source software projects like GNOME. At work, Jim is CEO of IT Mentor Group, an IT executive consulting company that helps CIOs and IT Leaders with strategic planning and organizational development.