[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff/contrib/mom/examples typesetting.mom
From: |
Peter Schaffter |
Subject: |
[Groff-commit] groff/contrib/mom/examples typesetting.mom |
Date: |
Fri, 01 Feb 2013 17:48:01 +0000 |
CVSROOT: /sources/groff
Module name: groff
Changes by: Peter Schaffter <PTPi> 13/02/01 17:48:01
Modified files:
contrib/mom/examples: typesetting.mom
Log message:
Reworked typesetting.mom to use Helvetica and Times Roman only.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/examples/typesetting.mom?cvsroot=groff&r1=1.5&r2=1.6
Patches:
Index: typesetting.mom
===================================================================
RCS file: /sources/groff/groff/contrib/mom/examples/typesetting.mom,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- typesetting.mom 29 Jan 2013 05:02:45 -0000 1.5
+++ typesetting.mom 1 Feb 2013 17:48:01 -0000 1.6
@@ -298,18 +298,18 @@
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 @@
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 @@
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 @@
.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 @@
.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 @@
.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 @@
\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]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff/contrib/mom/examples typesetting.mom,
Peter Schaffter <=