[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 31/31: groff_mm(7): Revise discussion of eqn features.
From: |
G. Branden Robinson |
Subject: |
[groff] 31/31: groff_mm(7): Revise discussion of eqn features. |
Date: |
Wed, 17 Aug 2022 01:26:07 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 342a115cdeb1a4d1f4a7e16e2fbfcb53516d7cd7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Aug 16 04:55:58 2022 -0500
groff_mm(7): Revise discussion of eqn features.
* Stop using the term "delimiter" confusingly. It has a clear meaning
within the eqn language, and this isn't it.
* Apply DRY principle.
* Recast.
---
contrib/mm/groff_mm.7.man | 65 ++++++++++++++++++++++++-----------------------
1 file changed, 33 insertions(+), 32 deletions(-)
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index f085028cb..1136f88c2 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -1191,11 +1191,15 @@ See
This macro defines string
.BR TPeh .
.
+.
.TP
.B EN
-Equation end, see
+End equation input preprocessed by
+.MR @g@eqn @MAN1EXT@ ;
+see
.BR EQ .
.
+.
.TP
.B EOP
End-of-page user-defined macro.
@@ -1243,42 +1247,40 @@ the default is to center.
See
.BR PIC .
.
-.TP
-.BI EQ\ \fR[\fPlabel\fR]\fP
-Equation start.
.
-.BR EQ / EN
-are the delimiters for equations written for
+.TP
+.BR EQ \~[\c
+.IR label ]
+Start equation input preprocessed by
.MR @g@eqn @MAN1EXT@ .
.
-.BR EQ / EN
-must be inside of a
-.BR DS / DE
-pair, except if
.B EQ
-is used to set options for
+and
+.B EN
+macro calls bracket an equation region.
+.
+Such regions must be contained in displays
+.RB ( DS / DE ),
+except when the region is used only to configure
.I @g@eqn
-only.
+and not to produce output.
.
-The
+If present,
.I label
-argument appears at the right margin of the equation,
-centered vertically within the
-.BR DS / DE
-block,
-unless register
-.B Eq
-is\~1.
+appears at the aligned to the right and
+centered vertically within the display;
+see register
+.BR Eq .
.
-Then the label appears at the left margin.
.
-.IP
-If there are multiple
-.BR EQ / EN
-blocks within a single
-.BR DS / DE
-pair,
-only the last equation label (if any) is printed.
+If multiple
+.I eqn \" generic
+regions occur within a display,
+only the last
+.I label
+(if any)
+is used.
+.
.
.TP
.BI EX\ "\fR[\fPtitle \fR[\fPoverride \fR[\fPflag \fR[\fPrefname\fR]]]]\fP"
@@ -4041,12 +4043,11 @@ If set to\~1, eject page before each first-level
heading.
.
Default is\~0.
.
+.
.TP
.B Eq
-Equation labels are left-aligned if set to\~0 and right-aligned if
-set to\~1.
-.
-Default is\~0.
+aligns equation labels to the left of a display if 1,
+and to the right if 0 (default).
.
.
.TP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 31/31: groff_mm(7): Revise discussion of eqn features.,
G. Branden Robinson <=