[Top][All Lists]

[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 <>
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/ | 65 ++++++++++++++++++++++++-----------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

diff --git a/contrib/mm/ b/contrib/mm/
index f085028cb..1136f88c2 100644
--- a/contrib/mm/
+++ b/contrib/mm/
@@ -1191,11 +1191,15 @@ See
 This macro defines string
 .BR TPeh .
 .B EN
-Equation end, see
+End equation input preprocessed by
+.MR @g@eqn @MAN1EXT@ ;
 .BR EQ .
 End-of-page user-defined macro.
@@ -1243,42 +1247,40 @@ the default is to center.
 .BR PIC .
-.BI EQ\  \fR[\fPlabel\fR]\fP
-Equation start.
-.BR EQ / EN
-are the delimiters for equations written for
+.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
+.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
+and not to produce output.
+If present,
 .I label
-argument appears at the right margin of the equation,
-centered vertically within the
-.BR DS / DE
-unless register
-.B Eq
+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.
-If there are multiple
-.BR EQ / EN
-blocks within a single
-.BR DS / DE
-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.
 .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 
 Default is\~0.
 .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).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]