Macros

Groff cmdLaTeX cmdmarkdownWhat it is
.TL\title{}Title
.AU\author{}Author
.AB\begin{abstract}Start Abstract
.AE\end{abstract}End Abstract
.NH\section{}#A Numbered section
.SH\section{}#A Non-Numbered heading
.LPA Left Paragraph
.PP\paragraph{}An Indented Paragraph
.QPA quoted Paragraph, .PP but multiple lines
.B"TEXT"\textbf{}textBold
.I"TEXT"\textit{}textItalics
.QSStart Quoted text block
.QEEnd Quoted text block
.IPIndent paragraph can add symbol before and make bullet list
\(bu-Bullet arg after .IP to make it a bullet point list
.RSStart indent List .IP list items
.REEnd indent List .IP list items
\f[I]TEXT\f[]\textit{}textInline italic font styling
\f[B]TEXT\f[]\textbf{}textInline bold font styling
\f[CW]TEXT\f[]\texttt{}textInline constant Width font styling
\f[BI]TEXT\f[]textInline bold italics font styling
.\"%A comment
.B1Start a box of text
.B2Stop a box of text
.BX.Make box form fitting to text and no wasted space
.UL "TEXT"textUnderlined text
\*{super\*}^text^Super script
.bp\pagebreakbreak the page
.TS\begin{tabular}Start a table
.TE\end{tabular}end a table
.nr name valassignment val to named register name
\\n[name]print value of register name
.ds nameDefine string, all after 'name' is part of string val
\*[name]Print string value