; TeX output 2001.10.31:1004soyUsGGecrm1728LehpacykageBCGGecss1728delarray9ğ!", cmsy10~ ecrm1200DawvidlCarlisletBDcarlisle@cs.man.ac.ukoTeraduitldel'anglaispar: . Jean-PierrelDrucbSert&2!1994/03/145: cmmi10aCbc_d џ^q`XDeolammemanire,onpGeutdnirunenvironnementoquivqalentau\casesIduU "V eccc1000PlainTUY&E9Xdelafaonsuivqante:I\begin{array}\{{lL}.U ...8FfK`y cmr10(x)=^dG0=ÐsiU x=0Gsin8(x)=x=ÐdansU lesautrescasIXIci, L {$}l<{$}},Wcommeexpliqudansarray.sty.PreneznoteIquemAlesdlimiteursdoiventmAtoujourstreutilissparpaires,le`.'doittreutilis鎡IpGourU indiquerun`dlimiteurnul'.XT*outdlimiteurpGeutapparatredanscespositions.DoncunutilisateurduIPlainTUY&E9XU reconnatralesenvironnementsU suivqants:*VMN%qL ectt0900\newenvironment{cases}{\begin{array}\{{lL}.}{\end{array}} MN\newenvironment{matrix}{\begin{array}{*{20}{c}}}{\end{array}}MN\newenvironment{pmatrix}{\begin{array}({*{20}{c}})}{\end{array}}*VXCekdispGositifestparticulirementutilesilesarguments[t]ou[b]sontaussi Iutiliss.IDanscescaslersultatn'estpasquivqalentceluiobtenuenentourantIl'environnementepar\left...\right,ecommevouspGouvezlevoirdanslesexemplesIsuivqantsU :+|C0 |C@D1D2D3E1 EAZ0 @d123Z1 AH0 H@1231 AetU nonR7d07dB7dB7dB7dBfi7d@ e1 e2 e3R*f1*fC*fC*fC*fCfi*fAZ5b0 5b@dC"1C"2C"3ZM"1 M"ARW0WBWBWBWBfiW@eL1eL2eL3RoL1oLCoLCoLCoLCfioLAI ffr @ -:q% cmsy6K"ecrm0800Ce(cÒhieralenumrodeversionv1.01,derniremisejourle1994/03/14. !i-:$7Lecrm06001KNdT(:Ils'agitd'unmo\@arrayleftand\@arrayrightaremadeIa8no-ops,and\@arrayiscalledwiththepGositionalargument.gOtherwisecallI\@del@array.L4S\def\@@array[#1]{\@ifnextchar\bgroup L5]J{\let\@arrayleft\relax\let\@arrayright\relax\@array[#1]}%L6]J{\@del@array[#1]}} PX\@del@arrayIW*eU nowknowthatwehaveanarray(ortabular)withdelimiters.L7S\def\@del@array[#1]#2#3#4{%IThe%followinglineiscompletelyredundantbutitdoGescatcherrorsinvolvingde- Ilimiters'bGeforetheprocessingofthealignmentbegins.AcommonerrorislikelyItoٿbGeomitingthe`.'\ina\cases-typeconstruction.\ThiscausesthersttokenIof*thealignmenttobGegobbled,3ipossiblycausinglotsofspuriouserrorsbeforetheIcauseu oftheerror,}themissingdelimiter,isdiscoveredu as\@arrayrightputstheIalignmentU andthedelimiterstogether.L8]J\setbox\z@\hbox{$\left#2\right#4$}%IInӳthecaseofa`c'argumentwedonotneedtorebGoxthealignment,XsowecanIdeneU \@arrayleftand\@arrayrightjusttoinsertthedelimiters.L9]J\if#1c\def\@arrayleft{\left#2}\def\@arrayright{\right#4}%IOtherwise.we(should)havea[t]or[b]argument,sorstwestorethealignment,IwithoutU delimitersinbGox0.I10]J\else\def\@arrayleft{\setbox\z@}%IThenU afterthealignmentisnished:I11]J\def\@arrayright{%ICalculate$theamountthebGoxneedstobGelowered(thiswillbGenegativeinthe IcaseiNof[b]). AiHlittlebitofarithmeticcf.theTUY&E9XBoGok,nYAppendixiNG,rule8.W*eIcalculateLtheamountthisway*,NoratherthanjusttakingthedierencebGetweentheIdepthofbGox0andthedepthoftheboxdenedbelow, asthedepthofthatboxImay}bGeaectedbythedelimitersif\delimitershortfallor\delimiterfactorIhaveU non-standardvqalues.(2*soI12kI4\dimen@=\dp\z@ I13kI4\advance\dimen@-\ht\z@I14kI4\divideN\dimen@by\tw@I15kI4\advance\dimen@Nby\fontdimen22\textfont\tw@INowU lowerthealignmentandthedelimitersintoplace.I16kI4\lower\dimen@\hbox{$\left#2\vcenter{\unvbox\z@}\right#4$}}%IEndU the\if#1cI17]J\fiINowU thatwehavedened\@arrayleftand\@arrayright,call\@array.I18]J\@array[#1]{#3}}I19Sh(5" cmmi9=pack9age#g iYI-!N ecbx12002.1gnewarray.stytIAllPthefeaturesoftheoldnewarraystyleoptionhavebGeenmergedintothearray IorU delarrayoptions.(3 ;-!N ecbx1200*ow cmss9) cmsy9(5" cmmi9%qL ectt0900$7Lecrm0600#T2ecrm0700"V eccc1000!qL ectt1000 &Lt$ffffecbx1440"ecrm0800q% cmsy6 ecrm1200!", cmsy10BCGGecss1728UsGGecrm1728 1 ecrm1000 b> cmmi10K`y cmr10u cmex10`