summaryrefslogtreecommitdiff
path: root/contrib/mom/momdoc
diff options
context:
space:
mode:
authorwl <wl>2006-01-14 08:22:41 +0000
committerwl <wl>2006-01-14 08:22:41 +0000
commit1a5018dee45f2b7369791a9452f73940d97177b9 (patch)
tree3c040d4e67e12684d56d292c848402e7ea078b92 /contrib/mom/momdoc
parent2871931e6427b77d9ff7d139bfc063d640147f1a (diff)
downloadgroff-1a5018dee45f2b7369791a9452f73940d97177b9.tar.gz
o Reworked changing and setting of traps associated with outputting
left and right margin notes. See BUGS. o Bracketed outputting of margin notes diversions with .nf/.fi. o Corrected docs MN_INIT so that the optional first arg is properly given as RAGGED | SYMMETRIC o Fixed MN_INIT macro routine that reads MN_INIT args into strings so that the strings are first "initialized" with the @ character if the corresponding arg is blank. Since MN-init tests for \A and \B (correctly, I hope) for each of its args, the @ character should be safe.
Diffstat (limited to 'contrib/mom/momdoc')
-rw-r--r--contrib/mom/momdoc/docelement.html23
1 files changed, 17 insertions, 6 deletions
diff --git a/contrib/mom/momdoc/docelement.html b/contrib/mom/momdoc/docelement.html
index 13a1e0ee..0ce950a3 100644
--- a/contrib/mom/momdoc/docelement.html
+++ b/contrib/mom/momdoc/docelement.html
@@ -4203,7 +4203,7 @@ macros, or they won't have any effect.
<p>
<a name="MN_INIT">
- <nobr>Macro: <strong>MN_INIT</strong>&nbsp;[ ragged | symmetric ] &lt; left-width right-width gutter family+font point-size lead colour hyphenation-flags &gt;</nobr>
+ <nobr>Macro: <strong>MN_INIT</strong>&nbsp;[ RAGGED | SYMMETRIC ] &lt; left-width right-width gutter family+font point-size lead colour hyphenation-flags &gt;</nobr>
</a>
<p>
Before you enter your first margin note, you must initialize
@@ -4215,12 +4215,12 @@ The argument list is quite long; an
explanation of each argument follows. Any argument whose value you
want to be the default must be entered as "" (i.e. two
double-quotes with no space between them). Defaults for each
-argument are given in the explanation below.
+argument are given in the explanations below.
<p>
-<strong>[ ragged | symmetric ]</strong>
+<strong>[ RAGGED | SYMMETRIC ]</strong>
<br>
-If the first argument is "ragged", both left and right margin notes
-will be flush left. If the first argument is "symmetric", left
+If the first argument is "RAGGED", both left and right margin notes
+will be flush left. If the first argument is "SYMMETRIC", left
margin notes will be set flush <em>right</em>, and right margin
notes will be set flush <em>left</em>. The effect is something
like this:
@@ -4278,6 +4278,17 @@ the argument must be TR. If you want Palatino Medium Italic, the
argument must be PI. The default is the same family+font combo used
for a document's paragraph text.
<p>
+<strong>point size</strong>
+<br>
+The point size of type for margin notes. There is no need to append a
+<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
+to the argument;
+<a href="definitions.html#TERMS_PICASPOINTS">points</a>
+is assumed (although there's nothing preventing you from appending an
+alternative unit of measure directly to the argument). The default
+is for margin notes to use the same point size of type as is used
+in document paragraphs.
+<p>
<strong>lead</strong>
<br>
The
@@ -4324,7 +4335,7 @@ hyphenated, the hyphenation-flag would be 12. The default value is
<p>
<a name="MN">
- <nobr>Macro: <strong>MN</strong>&nbsp;LEFT|RIGHT | &lt;anything&gt;</nobr>
+ <nobr>Macro: <strong>MN</strong>&nbsp;LEFT|RIGHT</nobr>
</a>
<p>
Once you've initialized margin notes with