Text after ".TH".
Text after section heading ".SH".
Text after sub-section heading ".SS".
Paragraph using ".P". Now is the time for all good men to come to the aid of their country.
Paragraph using ".LP". Now is the time for all good men to come to the aid of their country.
Paragraph using ".PP". Now is the time for all good men to come to the aid of their country.
Tag
Tagged paragraph (".TP") with default values.
Tag
Tagged paragraph (".TP") with value "5".
Tag
Tagged paragraph (".TP") with value "2i".
".B" for bold text: Bold Text.
".BI" for alternating bold and italic: BoldItalicBoldItalic.
".BR" for alternating bold and regular: foo(1)bar(2)baz(3).
".I" for italic text: Italic Text.
".IB" for alternating italics and bold: ItalicBoldItalicBold.
".IR" for alternating italics and regular: ItalicRegularItalicRegular.
".RB" for alternating regular and boldface: RegularBoldRegularBold.
".SB" for small boldface: small boldface.
".SM" for small: small text.
".MT" and ".ME" to surround an email address: Alex User
".UR" and ".UE" to surround URLs: Example Web Site
".EX" and ".EE" to surround monospaced examples:
#include <stdio.h>
int
main(void)
{
puts("Hello, World!");
}
".nf" and ".fi" to surround monospaced examples:
<!DOCTYPE html>
<html>
<head>
<title>Page title</title>
</head>
<body>
<h1>Page Heading</h1>
<p>Now is the time for all good men to come to the aid of their country.</p>
</body>
</html>
".RS" and ".RE" to indent blocks:
Inset paragraph and example with default value.
#include <stdio.h>
int
main(void)
{
puts("Hello, World!");
}
Inset paragraph and example with value of 20.
#include <stdio.h>
int
main(void)
{
puts("Hello, World!");
}
Inset paragraph and example using ".in" with value of 10.
#include <stdio.h>
int
main(void)
{
puts("Hello, World!");
}
Synopsis using ".SY" and ".YS":
program --option [ --option value ]
Sentence with ".br" after "for": Now is the time for
all good men to come to the aid of their country.
Space after ".sp":
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.
This is the rest of the current paragraph.