summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/mom/examples/typesetting.mom31
1 files changed, 16 insertions, 15 deletions
diff --git a/contrib/mom/examples/typesetting.mom b/contrib/mom/examples/typesetting.mom
index bc2d5336..ecf6bf0c 100644
--- a/contrib/mom/examples/typesetting.mom
+++ b/contrib/mom/examples/typesetting.mom
@@ -298,18 +298,18 @@ done the wrong.
Example 3:
.ALD .25v
.UNDERSCORE 3.75p "A \*[BU2]recipe for enumerated lists using indents"
-.SP .5v \" Add an extra half line space
-.FAM N \" New Century Schoolbook family
+.SP .75v \" Add an extra half line space
+.FAM T \" New Century Schoolbook family
.FT R
-.PT_SIZE 11
-.LS 13
+.PT_SIZE 12
+.LS 14
.HY \" Turn hyphenation back on
.JUSTIFY \" Justify text
This example demonstrates the use of left and hanging indents for
simple enumerated lists. Nested lists are possible, as the example
shows; however, the more complex the nesting, the wiser it becomes
to use (string) tabs, as seen in Example 4.
-.RLD .5v \" Move upwards 1/2 linespace
+.RLD .25v \" Move upwards 1/2 linespace
.DBX .5 0 \n[.l]u 2P+9p \" Draw box; \n[.l]u means "the current line length"
.IB 6p \" Indent from both left and right margins
.ALD 14p
@@ -317,7 +317,7 @@ to use (string) tabs, as seen in Example 4.
enumerated lists automatically. These examples merely show hanging
indents and string tabs in use.
\#
-.ALD 6p
+.SP .25v
.JUSTIFY \" Justify text
.IL \w'\0.\0' \" Establish a left indent equal to 2 figure spaces plus a period.
.HI \w'\0.\0' \" Establish a hanging indent equal to the left indent.
@@ -391,11 +391,11 @@ go back to the top level (numbered) list...
Example 4:
.ALD .25v
.UNDERSCORE 3.75p "A \*[BU 2]recipe for nested lists using string tabs"
-.SP .5v
-.FAM N
+.SP .75v
+.FAM T
.FT R
-.PT_SIZE 11
-.LS 13
+.PT_SIZE 12
+.LS 14
.JUSTIFY
Although setting up string tabs is a bit more complex than setting
up indents, it's \*[BU 3]well worth the effort, especially for
@@ -505,8 +505,8 @@ Example 5:
.ALD .25v
.UNDERSCORE 3.75p "Word spacing"
.ALD 8p
-.FAM P \" Palatino family
-.PT_SIZE 11
+.FAM T
+.PT_SIZE 12
.LS 14
\#
\# The "label" lines for the following are set in Helvetica
@@ -535,7 +535,7 @@ N\*[BU1]o\*[BU1]w \*[BU1]is the time for all good men to come to the aid of the
.FT R
.WS +6
N\*[BU1]o\*[BU1]w \*[BU1]is the time for all good men to come to the aid of the party.
-.WS +0
+.WS DEFAULT
.SP 1.5v
\#
.FAM T
@@ -548,9 +548,9 @@ Example 6:
.ALD .25v
.UNDERSCORE 3.75p "Line kerning"
.ALD 8p
-.FAM P \" Palatino family
+.FAM T \" Palatino family
.FT R
-.PT_SIZE 11
+.PT_SIZE 12
.LS 15
\#
\# Here, we set up some tabs so the examples can go into facing columns.
@@ -579,6 +579,7 @@ Example 6:
\f[HB]\*S[-1]Line "tightened" \[en] .RW .3\*S[+1]\*[PREV]
.RW .3
"But this is \*[IT]important!\/"\*[PREV]she exclaimed.
+.RW 0
.MCR
.TB 2
\f[HB]\*S[-1]Unkerned line\*S[+1]\*[PREV]