.th <NAME> <SECTION (in roman)> <date (mm/dd/yy)>
.sh "NAME"
<command name> \- <one line description>
.sh "SYNOPSIS"
.bd <command name>
parameters
.sh "DESCRIPTION"
.s3                             \" simple paragraphs
text
.sh "EXAMPLES"
.sh "SIDE EFFECTS"
.sh CAVEATS
.sh "NORMAL MESSAGES"
.sh "ERROR MESSAGES"
.sh "RANGES AND LIMITATIONS"
.sh "DIAGNOSTICS"
.sh "WARNINGS"
.sh "BUGS"
.sh AUTHOR
.sh "FILES"
.sh "SEE ALSO"
.ig
This text is ignored by nroff, but you could delete to the .. if
you wish. Use the above ordering, selecting those sections which
apply to what you are writing. The arguments marked by <> are to
be filled in for each document, and the .th macro must be the first
line of your document file.

Here is brief synopsis of man page macros:

.sh heading		subject heading, starts paragraph
.s1                     new paragraph, 1 vert sp,
			checks room for 3 more lines on page
.s2                     new paragraph, 1 vert sp in nroff,
			1/2 vert sp in troff
.s3                     same as .s2 but checks room for 3 lines
.lp arg1 arg2		labelled paragraph, body of which is 
			indented arg1 units to right of left
			margin, hanging label is arg2 units to 
			the left of the body.
			  tag <tab> text
				-- or --
			  .bn  tag           for bold face
.i0                     closes range of .lp, resets margin and tabs
.bd word		Causes word to be emboldened (underlined)
.it word		Causes word to be italicized (underlined)
.dt                     default tabs

To get your output type: nroff -ma files...
..
