summaryrefslogtreecommitdiff
path: root/clformat/docs/clformat.tmac
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2020-10-17 17:13:15 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2020-10-17 17:13:15 -0300
commit0a9fb6d243b891e2b56a5a73eb642e9ec8e81137 (patch)
tree959b79a99c1c676c490f9b86bc5cf4203e41a3b2 /clformat/docs/clformat.tmac
parent1b857d0d1fad5bf91ee9bd8d03e3f662c26bfea4 (diff)
Update documentation
Diffstat (limited to 'clformat/docs/clformat.tmac')
-rw-r--r--clformat/docs/clformat.tmac48
1 files changed, 48 insertions, 0 deletions
diff --git a/clformat/docs/clformat.tmac b/clformat/docs/clformat.tmac
index 9cdd0f2..0d7da96 100644
--- a/clformat/docs/clformat.tmac
+++ b/clformat/docs/clformat.tmac
@@ -2,14 +2,62 @@
\# Section header
.de Section
.NH 1
+\s+4\\$1\s-4
+\# Place current section title in right corner
+.ds RH "\\$1
+.PP
+..
+\# Section footer
+.de Endsection
..
\# Subsection header
.de Subsection
.NH 2
+\s+2\\$1\s-2
+.RS
+.PP
+..
+\# Subsection footer
+.de Endsubsection
+.RE
+..
+\# Supersection header
+.de Supersection
+.NH 3
+\\$1
+.RS
+.PP
+..
+\# Supersection footer
+.de Endsupersection
+.RE
..
\# Bulleted list item
.de Bullet
.IP \[bu]
..
+\# Simple numbered list
+.de Numlist
+.nr listitem 0 1
+..
+\# Item in numbered list
+.de Numitem
+.IP "\\n+[listitem]."
+..
+\# Italicize text
+.de Italic
+.I "\\$2" "\\$3" "\\$1"
+..
+\# Definition-list item
+.de Defn
+.IP "\fB\\$1\fP"
+..
+\# Constant-width Definition-list item
+.de CWDefn
+.IP "\f(CB\\$1\fP"
+..
\# Set in 12pt font
.nr PS 12p
+\# Put manual title in left corner
+.ds LH "CLFormat Manual
+.DA