🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.script-l
Article #323

Multiple equation numbers and alignment with SMFF

#323
From: Jim Monte
Date: Fri, 03 Mar 1995 03:27
48 lines
2084 bytes
Hi,

I would like to be able to use equation numbers for several equations
and also align these at a given point using SMFF in DCF.  For example,
suppose I wanted to output the equations below, more or less as
displayed.

                  --
      w + x + y - >  z = a + b + c + d                  (T.1)
                  --

                  --
                - >  z = a + b + c + d - w - x - y      (T.2)
                  --


                  --
                  >  z = w + x + y - ( a + b + c + d )  (T.3)
                  --

Using something like

  :df align=left. eqno (T.1)
    <w %% + %% x %% + %% y %% - sum of z here = ...> hvabove
    <                         - sum of z here = ...> hvabove
    <                           sum of z here = ...>
  :edf.

will make alignment easy, but will only allow a single equation number,
while using something like
.se sp2 = '                   '
.se sp3 = '                       '
  :df align=left. eqno (T.1)
    <w %% + %% x %% + %% y %% - sum of z here = ...>
  :edf.
  :df align=left. eqno (T.2)
    <sp2                      - sum of z here = ...>
  :edf.
  :df align=left. eqno (T.3)
    <sp3                        sum of z here = ...>
  :edf.

works if &sp2 and &sp3 are set right, but requires finding the
values for these variables.  Does anyone know a better way to do
this?  Thanks in advance for any info.


Jim
Technical Details
Message-ID: <950302.222854.EST.MALLUB@UConnVM.UConn.Edu>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!paladin.american.edu!auvm!UCONNVM.UCONN.EDU!MALLUB

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11353d,de324f19fa2a5127,start
X-Google-Attributes: gid11353d,public
X-Google-ArrivalTime: 1995-03-02 19:27:53 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!paladin.american.edu!auvm!UCONNVM.UCONN.EDU!MALLUB
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.script-l
Message-ID: <950302.222854.EST.MALLUB@UConnVM.UConn.Edu>
Date: Thu, 2 Mar 1995 22:27:53 EST
Sender: IBM vs Waterloo SCRIPT discussion group <SCRIPT-L@UGA.BITNET>
From: Jim Monte <MALLUB@UCONNVM.UCONN.EDU>
Subject: Multiple equation numbers and alignment with SMFF
Lines: 47