[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: Doc fixes for PT_SIZE and related inlines.
From: |
Peter Schaffter |
Subject: |
[groff] 01/01: Doc fixes for PT_SIZE and related inlines. |
Date: |
Mon, 22 Sep 2014 17:03:22 +0000 |
PTPi pushed a commit to branch master
in repository groff.
commit cd830d8c7a4ff6ccadce870395e709db2dccc9e4
Author: Peter Schaffter <address@hidden>
Date: Mon Sep 22 13:02:00 2014 -0400
Doc fixes for PT_SIZE and related inlines.
---
contrib/mom/momdoc/inlines.html | 5 +++++
contrib/mom/momdoc/typesetting.html | 11 +++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/contrib/mom/momdoc/inlines.html b/contrib/mom/momdoc/inlines.html
index cf8aab8..18369b9 100644
--- a/contrib/mom/momdoc/inlines.html
+++ b/contrib/mom/momdoc/inlines.html
@@ -241,6 +241,8 @@ or
<span class="pre-in-pp">
\*S[12]
</span>
+Entering either <kbd>\*[SIZE]</kbd> or <kbd>\*S[]</kbd> with no
+argument reverts to the former point size.
</p>
<p>
@@ -269,6 +271,9 @@ size of the rest of the line.
While she isn't perfect, \*S[+2]mom\*S[-2] isn't half bad.
While she isn't perfect, \*[SIZE +2]mom\*[SIZE -2] isn't half bad.
</span>
+Please note that inline size changes do not update the leading if
+<a href="typesetting.html#autolead">AUTOLEAD</a>
+is enabled.
</p>
<div class="box-notes">
diff --git a/contrib/mom/momdoc/typesetting.html
b/contrib/mom/momdoc/typesetting.html
index ad15317..0bda6ea 100644
--- a/contrib/mom/momdoc/typesetting.html
+++ b/contrib/mom/momdoc/typesetting.html
@@ -1106,6 +1106,13 @@ Point sizes may be fractional (eg 10.25 or 12.5).
</p>
<p>
+If you invoke PT_SIZE without an argument, it reverts to its former
+value. For example, if your point size is 10 and you change it to
+12 with <kbd>.PT_SIZE 12</kbd>, entering <kbd>.PT_SIZE</kbd>
+(i.e. without an argument) resets the point size to 10.
+</p>
+
+<p>
You can prepend a plus or a minus sign to the argument to PT_SIZE,
in which case the point size will be changed by + or - the original
value. For example, if the point size is 12, and you want 14, you
@@ -1118,6 +1125,10 @@ then later reset it to 12 with
<span class="pre-in-pp">
.PT_SIZE -2
</span>
+or, more simply, just
+<span class="pre-in-pp">
+ .PT_SIZE
+</span>
The size of type can also be changed inline. See
<a href="inlines.html#inline-size-mom">Inline Escapes, changing point size</a>.
</p>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: Doc fixes for PT_SIZE and related inlines.,
Peter Schaffter <=