Newsgroups: comp.sys.mac.apps
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!ariel.unm.edu!cie.uoregon.edu!scavo
From: scavo@cie.uoregon.edu (Tom Scavo)
Subject: Array formula command in Word 4.0
Reply-To: scavo@cie.uoregon.edu (Tom Scavo)
Organization: Campus Information Exchange, University of Oregon
Keywords: Word 4.0, formula processor, Array
Message-ID: <1991Jun11.155045.16589@ariel.unm.edu>
Date: Tue, 11 Jun 91 15:50:45 GMT
Lines: 48

I sometimes use Word's \Array command as a LaTeX-like "eqnarray" 
environment.  For example,

     \A\al\hs5\vs0\co3(lhs1,=,rhs1,lhs2,=,rhs2,lhs3,=,rhs3)

gives the structure

                lhs1  =  rhs1
                lhs2  =  rhs2   .
                lhs3  =  rhs3

I had hoped to use a similar Word formula to do a commutative diagram, 
something like

                     f
                A  ---->  A
                ^         ^
             h  |         |  h
                |         |
                B  ---->  B
                     g

but with the vertical arrows pointing in the opposite direction.  Well, 
to make a long story short, I'm not having much luck.  I can get a 
partial result without the top and bottom function names, but as soon as 
I try to take it any further, the whole thing falls apart (literally).

I was hoping someone could tell me where I'm going wrong.  Here's what 
the code looks like so far (without the spaces or carriage returns):

     \A\ac\hs0\vs0\co8(  ,A,-,-,-,->,A,  ,
                         ,^, , , ,  ,^,  ,
                       h ,|, , , ,  ,|, h,
                         ,|, , , ,  ,|,  ,
                         ,B,-,-,-,->,B,    )

I've checked and double-checked the number of commas, which is where I 
originally thought the problem might be.  (Curiously, the trailing comma 
needs to be removed before the formula will display.  Word's real fussy 
about it.)  What I'd like to do is add two more rows, one at the top and 
the bottom, but I just can't get it to work.  Seems like the formula 
processor chokes on anything more than five rows.  Does anybody have any 
idea how I might finish this?  (Please don't say "switch to OzTeX or 
Textures" because that isn't a viable option at this point!)

Thanks in advance,
Tom Scavo
scavo@cie.uoregon.edu
