÷ƒ’À;è TeX output 1996.03.11:1432‹ÿÿÿÿ y� ý£ ?� þ�‘ráíóDÓítG®G®cmr17¹The–7tó߆µTG® cmtt12ºequationarray“¹en•Œqvironmen“tŽŸ�����’ÁŸ”óX«Q cmr12»Roland‘ê¨WinklerŽŽŸ��’„ ;óßêóÂÖN ff cmbx12É1Ž‘VLËIn�ŒÌtro�s3ductionŽŸç�‘>óKñ`y cmr10²Problem:‘šThe–ézÄeqnarray“²en•¸ãvironmen“t–ézis“tošGo“restrictiv�¸ãe“b˜ecause“it“is“only“pre-ޤ �‘>pared–çto“accept“three“part“equations.‘'Some“applications“require“more“sophis-Ž¡�‘>ticated–õymathematics,›‚so“three“parts“aren't“enough.‘R3Sim•¸ãultaneously‘ÿ*ª,˜w“e‘õyw“ouldŽ¡�‘>likš¸ãe–Áto“ha˜v˜e“our“equations“n˜um˜bšGered.‘´ËIf“the“equations“aren't“to“b˜e“n•¸ãum“b˜ered,Ž¡�‘>then–úthe“Äarray“²en•¸ãvironmen“t–úsuces“(nev�¸ãertheless“it“is“often“easier“to“use“theŽ¡�‘>Äequationarray*›Î?²en•¸ãvironmen“t˜than˜b�Goth˜an˜Äequation˜²plus˜an˜Äarray˜²en“viron-Ž¡�‘>menš¸ãt).‘K}If–âuthe“equations“aren't“to“b�Ge“aligned“with“eac˜h“other,‘ùothen“the“ÄequationŽ¡�‘>²en•¸ãvironmen“t–UUis“preferred.Ž¡�‘>The–Añfolloš¸ãwing“is“a“new“v˜ersion“of“T‘ÿ*ªon˜y“Li's“Äequationarray“²en˜vironmen˜t“mo�Gdi-Ž¡�‘> ed–Bãsucš¸ãh“that“it“is“compatible“with“F‘ÿ*ªrank“Mittelbac˜h's“Äarray“²en˜vironmen˜t,‘F”i.e.Ž¡�‘>it–Wshould“bšGe“p˜ossible“to“use“all“options“of“the“Äarray“²en•¸ãvironmen“t.‘vÈIf›Wy“ou˜ nd˜aŽ¡�‘>bug–P(see“b�Geloš¸ãw!)‘Upor“if“y˜ou“mak˜e“an˜y“impro˜v˜emen˜ts,‘QI'd“lik˜e“to“hear“ab�Gout“them.Ž¡�‘>When–€writing“the“Äequationarray“²en•¸ãvironmen“t–€I‘öused“the“v�¸ãersion“v2.1b“of“theŽ¡�‘>Äarray›J­²en•¸ãvironmen“t.‘åThe˜original˜v“ersion˜of˜Äequationarray˜²w“as˜written˜b“y˜T‘ÿ*ªon“yŽ¡�‘>Li,›UUUniv•¸ãersit“y˜of˜Southern˜California,˜tli@sargas.usc.edu˜starting˜6/15/88.Ž¡�‘>I‘hÿknoš¸ãw–iFthat“m˜y“do�Gcumen˜tation“of“the“Äequationarray“²en˜vironmen˜t“is“ratherŽ¡�‘>short–iÄ{“but“ma�¸ãybšGe“nob˜o˜dy“else“mighš¸ãt“lik˜e“to“use“it“and“ev˜en“this“w˜ork“w˜as“su-Ž¡�‘>p�Ger uous.‘& So–rif“yš¸ãou“think“that“it“w˜ould“b�Ge“useful“to“ha˜v˜e“a“bšGetter“do˜cumen�¸ãtationŽ¡�‘>please–UUlet“me“kno�¸ãw.ަ��‘>É2Ž‘VLËExampleŽŸç�‘>²W‘ÿ*ªe–UUgiv�¸ãe“a“short“example“for“the“use“of“Äequationarray².‘qÇThe“text“isŽŸôN�‘B¹–Ç\newcolumntype{e}{@{}}ޤ �‘B¹–\begin{equationarray}{rclel}Ž¡�‘B¹–\phi–¹–&“=“&“\sum“\bigg(“&“\frac{xxxxxxxxxx}{\phi}Ž¡�‘B¹–\nonumber\\*[3ex]ŽŽŸ�’è²1ŽŽŒ‹* y� ý£ ?� ýä�‘B¹–Ç&–¹–&“&“+“\frac{yyyyyyyyyy}{\phi}“\bigg)“\\[4ex]ޤ �‘B¹–&–¹–=“&“\multicolumn{2}{l}{“\frac{zzzzzzzzzz}{\phi}“}Ž¡�‘B¹–\end{equationarray}Ž¡Ÿõ¿�‘>²and–UUwš¸ãe“obtain“(usually“m˜y“form˜ulas“are“m˜uc˜h“longer�“ó  b> cmmi10µ:–ª¨:“:Ž‘ÿü²)ޤ ŸuÆ��’ªÑ€µŽ�’ºÆÖ²=Ž����’Ì�ôŸöüóú±u cmex10«XŽŽŽ���’ܪeŸñæ^ŽŽŽŽ����Ÿù<$�’å: µxxxxxxxxxxŽ’å: Ÿw‰fe9'Ÿ (Ö�‘˜áŽŽŽŽŽŽŸK��’äÙ²+���Ÿù<$�‘33µy•[Ùy“y“y“y“y“y“y“y“yŽ‘33Ÿw‰fe4�°Ÿ (Ö�‘T-ŽŽŽŽ���‘7Ÿñæ^«ŽŽŽŽ��’Š8â²(1)ŽŽŽŸä���’ºÆÖ=Ž����Ÿù<$�’ÍÁ'µz•p—z“z“z“z“z“z“z“z“zŽ’ÍÁ'Ÿw‰fe2ç,Ÿ (Ö�‘xëŽŽŽŽŽ��’Š8â²(2)ŽŽŽŸµV�‘>One–:Xcan“a•¸ãv“oid–:Xpagebreaks“b�Get•¸ãw“een›:Xt“w“o˜lines˜b“y˜using˜the˜star-v“ersion˜Ä\\*².‘sThereŽ¡�‘>is–ä“also“the“star-vš¸ãersion“Äequationarray*“²whic˜h“has“usually“no“linen˜um˜b�Gers.‘L1ButŽ¡�‘>if–2rfor“a“particular“line“yš¸ãou“still“w˜an˜t“a“linen˜um˜b�Ger,‘i¹y˜ou“can“use“Ä\yesnumber²,Ž¡�‘>(I‘¾{ nd–¾–this“easier“than“man�¸ãy“lines“with“Ä\nonumber²).‘­‰With“the“options“Ä[l]“²orŽ¡�‘>Ä[r]–ÿ¿²the“Äequationarray“²will“app�Gear“ ushleft“or“ ushrigh�¸ãt,‘Ýwith“the“options“Ä[c]Ž¡�‘>²the–—¤Äequationarray“²will“b�Ge“cen�¸ãtered,‘½•e.g.‘2�Ä\begin{equationarray}[l]{rclll}².Ž¡�‘>The–FÉdefault“will“b�Ge“cen�¸ãtering“without“the“Äfleqn“²option“and“left-justi ed,‘ƒ&in-Ž¡�‘>den•¸ãted›Önb“y˜Ä\mathindent˜²with˜the˜Äfleqn˜²option.‘õThanks˜to˜Piet˜v‘ÿqÇan˜OostrumŽ¡�‘>Ä–ˆk²who“added“the“co�Gde“whic�¸ãh“is“necessary“for“the“Äfleqn“²option.Ž© ãê��‘>É3Ž‘VLËBugsŽŸç�‘>²The–Ñbequationarraš¸ãy“has“a“sligh˜tly“mo�Gdi ed“v˜ersion“of“Ä\multicolumn“²b�GecauseŽ¡�‘>w•¸ãe›ï m“ust˜coun“t˜the˜Ä\span²ed˜columns.‘>îTh“us˜if˜y“ou˜ha“v“e˜Ä\multicolumn˜²withinŽ¡�‘>an–ÞÄarray“²within“the“Äequationarray“²en•¸ãvironmen“t,‘@/then›Þy“ou˜migh“t˜run˜in“toŽ¡�‘>diculties–ê¨if“yš¸ãou“ha˜v˜e“a“line“with“less“Ä&²'s“than“columns“de ned“in“the“pream˜ble.Ž¡�‘>Th•¸ãus›ȯy“ou˜can˜either˜ ll˜up˜the˜end˜of˜a˜half˜empt“y˜line˜with˜extra˜Ä&²'s˜or˜y“ou˜canŽ¡�‘>put–¦Ëthe“original“de nition“of“Ä\multicolumn“²within“the“de nition“of“the“ÄarrayŽ¡�‘>²command.ަ��‘>É4Ž‘VLËThe‘ffco�s3deŽŸç�‘Hª®Ç\typeout{equationarray‘¹–\fileversion\space<\filedate>}ޤ �‘Hª®\typeout{English‘¹–documentation\space\space<\docdate>}ŽŸ•€�‘>²Pro�Gcess–UUthe“Äfleqn“²option.ŽŸ ÊÀ�‘Hª®Ç\def\eqnarr@left{\@centering}Ž¡�‘Hª®\let\eqnarr@opts\relaxŽ¡�‘Hª®\DeclareOption{fleqn}{Ž¡�‘RÚ\def\eqnarr@left{\mathindent}Ž¡�‘RÚ\def\eqnarr@opts{\displaywidth\linewidthŽŽŸ�’è²2ŽŽŒ‹ ‰ y� ý£ ?� ýä�’¢pÐÇ\advance\displaywidth-\mathindent}‘¹–}ޤ �‘Hª®\ProcessOptionsŽ©À����‘ò 6\equationarrayŽŽŽŽŸ ê«�‘Hª®\def\equationarray{%Ž¡�‘MdD\col@sep\arraycolsepŽ¡�‘MdD\def\d@llarbegin{$\displaystyle}%Ž¡�‘MdD\def\d@llarend{$}%Ž¡�‘MdD\stepcounter{equation}%Ž¡�‘MdD\let\@currentlabel=\theequationŽ¡�‘MdD\set@eqnsw–¹–\global\@eqcnt\z@“\global\@eqargcnt\z@Ž¡�‘MdD\let\@classz\@eqnclasszŽ¡�‘MdD\def\multicolumn##1##2##3{\@eqnmulticolumn{##1}{##2}{##3}%Ž¡�’È=€\global\advance\@eqcnt##1Ž¡�’È=€\global\advance\@eqcnt\m@ne}%Ž¡�‘MdD\def\@halignto{to\displaywidth}%Ž¡�‘MdD\@ifnextchar[{\@equationarray}{\@equationarray[.]}}ަ����‘è­ \@eqnmulticolumnŽŽŽ‘>Ä\@eqnmulticolumn–UU²equals“the“original“v�¸ãersion“of“Ä\multicolumn².ޤ ê«�‘Hª®Ç\let\@eqnmulticolumn=\multicolumnަ����‘ÕÆ²\nonumber,\yesnumberŽŽŽ‘>²Note,–UUthat“Ä\nonumber“²is“already“de ned“in“standard“latex.texŽ¡�‘Hª®Ç%‘¹–\def\nonumber{\global\@eqnswfalse}ޤ �‘Hª®\def\yesnumber{\global\@eqnswtrue}Ž¡�‘Hª®\let\set@eqnsw=\yesnumberަ����‘3P\@amperŽŽŽ‘>²W‘ÿ*ªe–UUneed“a“macro“for“Ä&“²that“expands“at“the“righ�¸ãt“time.ŽŸ ê«�‘Hª®Ç\def\@amper{&}ަ����‘Ž\@eqargcntŽŽŽ‘>²W‘ÿ*ªe–o¼mš¸ãust“coun˜t“the“n˜um˜b�Ger“of“columns“de ned“in“the“pream˜ble“so“that“w˜e“canޤ �‘> ll–úˆevš¸ãery“line“with“exactly“Ä\@eqargcnt“²copies“of“Ä&“²b�Gefore“w˜e“insert“the“equationŽ¡�‘>n•¸ãum“b�Ger.ޤ ê«�‘Hª®Ç\newcount\@eqargcnt‘ s,%–¹–counts“number“of“columnsަ����‘íf \@equationarrayŽŽŽ‘>²The–UUde nition“of“Ä\@equationarray“²follo�¸ãws“the“T�‘þU>Ÿ'EŽ‘ãxXb•Go“ok,–UUExercise“22.9Ž¡�‘Hª®Ç\def\@equationarray[#1]#2{%ޤ �‘`Jœ\eqnarr@optsŽ¡�‘`Jœ\@tempdima–¹–\ht“\strutboxŽ¡�‘`Jœ\advance–¹–\@tempdima“by\extrarowheightŽ¡�‘`Jœ\setbox\@arstrutbox=\hbox{\vruleŽ¡�’�Šx\@height\arraystretch‘¹–\@tempdimaŽ¡�’�Šx\@depth\arraystretch–¹–\dp“\strutboxŽ¡�’�Šx\@width\z@}%Ž¡�‘`Jœ\gdef\advance@eqargcnt{\global\advance\@eqargcnt\@ne}%Ž¡�‘`Jœ\begingroupŽ¡�‘`Jœ\@mkpream{#2}%Ž¡�‘`Jœ\xdef\@preamble{%Ž¡�‘e2\if–¹–#1l\tabskip\z@“\else\if“#1r\tabskip\@centeringŽ¡�’¾ÊT\else\if‘¹–#1c\tabskip\@centeringŽŽŸ�’è²3ŽŽŒ‹¸ y� ý£ ?� ýä�’¾ÊTÇ\else\tabskip\eqnarr@left‘¹–\fi\fi\fiޤ �‘e2\halign‘¹–\@haligntoŽ¡�‘e2\bgroup–¹–\tabskip\z@“\@arstrut“\@preambleŽ¡�‘e2\if–¹–#1l\tabskip\@centering“\else\if“#1r\tabskip\z@Ž¡�’ä—\else\tabskip\@centering‘¹–\fi\fiŽŸ�‘>²Here–UUwš¸ãe“need“an“extra“column“for“the“equation-n˜um˜b�GerŽŸ�‘e2Ç\@amper\llap{\@sharp}\tabskip\z@\cr}%Ž¡�‘`Jœ\endgroupŽ¡�‘`Jœ\gdef\advance@eqargcnt{}%Ž¡�‘`Jœ\bgroupŽ¡�‘`Jœ\let\@sharp##‘¹–\let\protect\relaxŽ¡�‘`Jœ\m@th‘,Â\let\\=\@equationcrŽ¡�‘`Jœ\let\par\@emptyŽ¡�‘`Jœ$$’„Lh%–¹–$$“BRACE“MATCHING“HACKŽ¡�‘`Jœ\lineskip‘¹–\z@Ž¡�‘`Jœ\baselineskip‘¹–\z@Ž¡�‘`Jœ\@preamble}Ž©�����Lø\@eqnclasszŽŽŽ‘>Ä\@eqnclassz–UU²do�Ges“the“same“thing“as“Ä\@classz“²except“that“w�¸ãe“addŽŸ �‘>Ä\advance@eqargcntŽŸ�‘Hª®Ç\def\@eqnclassz{\@classxŽ¡�‘V×p\@tempcnta‘¹–\count@Ž¡�‘V×p\advance@eqargcntŽ¡�‘V×p\prepnext@tokŽ¡�‘V×p\@addtopreamble{%Ž¡�‘e2\global\advance\@eqcnt\@neŽ¡�‘e2\ifcase‘¹–\@chnumŽ¡�‘e2\hfil–¹–\d@llarbegin“\insert@column“\d@llarend\hfil“\orŽ¡�‘e2\d@llarbegin–¹–\insert@column“\d@llarend“\hfil“\orŽ¡�‘e2\hfil\kern\z@–¹–\d@llarbegin“\insert@column“\d@llarend“\orŽ¡�‘e2$\vcenterŽ¡�‘e2\@startpbox{\@nextchar}\insert@column–¹–\@endpbox“$\orŽ¡�‘e2\vtop–¹–\@startpbox{\@nextchar}\insert@column“\@endpbox“\orŽ¡�‘e2\vbox–¹–\@startpbox{\@nextchar}\insert@column“\@endpboxŽ¡�‘e2\fi}\prepnext@tok}ަ����‘ãót\endequationarrayŽŽŽŽŸ�‘Hª®\def\endequationarray{\@zequationcrŽ¡�‘V×p\egroupŽ¡�‘V×p\global\advance\c@equation\m@ne–¹–$$‘ s,%“$$“BRACE“MATCHING“HACKŽ¡�‘V×p\egroup\global\@ignoretrueŽ¡�‘V×p\gdef\@preamble{}}ަ����‘û“b\@equationcrŽŽŽ‘>²If–UUwš¸ãe“ha˜v˜e“Ä\\*“²the“command“Ä\@equationcr“²a˜v˜oids“pagebreaksŽŸ�‘Hª®Ç\def\@equationcr{${\ifnum0=`}\fi\@ifstar{\global\@eqpen\@MŽ¡�‘[‘\@xequationcr}{\global\@eqpen\interdisplaylinepenaltyŽ¡�’¢pÐ\@xequationcr}}ŽŽŸ�’è²4ŽŽŒ‹  y� ý£ ?� ýä����‘öÙÌÇ\@xequationcrŽŽŽŽ©�‘Hª®\def\@xequationcr{%ޤ �‘[‘\@ifnextchar[{\@argequationcr}{\ifnum0=`{\fi}${}%Ž¡�‘[‘\@zequationcr}}ŽŸ����‘íf \@argequationcrŽŽŽŽ¦�‘Hª®\def\@argequationcr[#1]{\ifnum0=`{\fi}${}\ifdim‘¹–#1>\z@Ž¡�‘V×p\@xargequationcr{#1}\elseŽ¡�‘V×p\@yargequationcr{#1}\fi}ŽŸ����‘è­ \@xargequationcrŽŽŽŽ¦�‘Hª®\def\@xargequationcr#1{\unskipŽ¡�‘V×p\@tempdima–¹–#1\advance\@tempdima“\dp“\@arstrutboxŽ¡�‘V×p\vrule–¹–\@depth\@tempdima“\@width\z@Ž¡�‘V×p\@zequationcr\noalign{\penalty\@eqpen}}ŽŸ����‘è­ \@yargequationcrŽŽŽŽ¦�‘Hª®\def\@yargequationcr#1{%Ž¡�‘V×p\@zequationcr\noalign{\penalty\@eqpen\vskip‘¹–#1}}ŽŸ�‘>²W›ÿ*ªe–¿þadd“Ä&\omit“²for“those“columns“that“will“remain“empt�¸ãy˜.‘±ÃNote“that“withoutŽŸ �‘>Ä\omit–UU²wš¸ãe“already“ha˜v˜e“Ä\advance\@eqcnt\@ne“²in“the“pream˜ble.ŽŸ�‘Hª®Ç\def\@zequationcr{\@whilenum\@eqcnt‘¹–<\@eqargcntŽ¡�‘V×p\do{\@amper\omit\global\advance\@eqcnt\@ne}%ŽŸ�‘>²W‘ÿ*ªe–UUadd“an“extra“alignmenš¸ãt“tab“for“the“equationn˜um˜b�Gerަ�‘V×pÇ\@amperŽ¡�‘V×p\if@eqnsw\@eqnnum\stepcounter{equation}\fiŽ¡�‘V×p\set@eqnsw\global\@eqcnt\z@\cr}ŽŸ����‘íf \equationarray*ŽŽŽ‘>²Finally–Â_wš¸ãe“de ne“the“Äequationarray*“²en˜vironmen˜t.‘¸æIt“do�Ges“exactly“the“sameޤ �‘>thing–îõas“Ä\equationarray“²except“that“w�¸ãe“Ä\let“²the“command“Ä\set@eqnsw“²equalŽ¡�‘>Ä\nonumberަ�‘Hª®Ç\@namedef{equationarray*}{%ޤ �‘V×p\let\set@eqnsw=\nonumber‘¹–\equationarray}Ž¡�‘Hª®\@namedef{endequationarray*}{\endequationarray}ŽŽŸ�’è²5ŽŽŒø$Šƒ’À;èy—óÂÖN ff cmbx12óߤN cmtt9ót ‰: cmbx9óo´‹Ç cmr9óßê cmmi10óKñ`y cmr10óú±u cmex10ù*©ßßßßß