÷ƒ’À;è TeX output 1998.01.17:2004‹ÿÿÿÿ y� ý£ ?� þ�’¹. óDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºdcolumn“¹pac�Œqk‘ÿäage��Ÿùº¯ó!",š cmsy10¿ŽŽŽŸ�����’Þþ­óX«Q cmr12»Da�¬rvid‘ê¨CarlisleŽŽŽŽŽŸ37�’æ 1996/09/23ŽŸ.�’ï!Kót ‰: cmbx9ÇAbstractŽŸ¬Ñ�‘xßüóo´‹Ç cmr9ÆThis–š¹pacš¾9k‘ÿ|rage“de nes“a“system“for“de ning“columns“of“en˜tries“in“an“óߤN cmtt9ÈarrayŽŸ �‘kÆor–TÈtabular“Æwhic�¾9h“are“to“bšAÇe“aligned“on“a“`decimal“p˜oin�¾9t'.ŽŸ�‘aóKñ`y cmr10²This–UUpac�¸ãk‘ÿqÇage“de nes“óßê²takš¸ães“a“single“argumen˜t“sp�Gecifying“the“n˜um˜b�Ger“of“decimal“places,‘xKand“theŽ¡�‘RÉ.tex–UU² le“should“use“É.²,“with“¸“²b�Geing“used“in“the“output.Ž¡�‘RÉ\newcolumntype{.}{D{.}{.}{-1}}Ž¡�‘a.‘qDzspšGeci es–UUa“column“of“en�¸ãtries“to“b˜e“cen�¸ãtred“on“the“ó  b> cmmi10µ:².Ž¡�‘RÉ\newcolumntype{,}{D{,}{,}{2}}Ž¡�‘a,‘=²sp�Geci es–7takš¸ães“a“column“of“en˜tries“with“at“most“t˜w˜o“decimal“places“after“a“µ;².Ž¡�‘aThe–UUfollo�¸ãwing“table“b�Gegins“É\begin{tabular}{|d{-1}|d{2}|.|,|}Ž‘RŸŸJ‰ff�ÿrŸ @���‘ ÷ˆŸý-:óq¡% cmsy6ÅŽŽ‘LÜó|{Ycmr8ÀThis–ÕX le“has“všÃŽersion“n˜um˜b�whicš¸ãh“had“a“negativ˜e�“¸hÊde‘ÿ}'cimalŽ�‘*ßþplac‘ÿ}'es‘Ò!¸iŽ‘LG²argumen˜t“isޤ �‘Rwider–]than“the“second“column,‘ Žso“that“the“decimal“pšGoin�¸ãt“app˜ears“in“the“middle“ofŽ¡�‘Rthe‘UUcolumn.Ž¡�‘aAlso–k×note“that“this“pacš¸ãk‘ÿqÇage“deals“correctly“with“en˜tries“with“no“decimal“part,Ž¡�‘Rno–UUinš¸ãteger“part,“and“blank“en˜tries.Ž¡�‘aIf–àjyš¸ãou“ha˜v˜e“table“headings“(inserted“with“É\multicolumn{1}{c}{..}“²to“o˜v˜er-Ž¡�‘Rride–¼qthe“ÉD‘¼K²column“tš¸ãyp�Ge)“then“it“ma˜y“bšGe“that“neither“of“the“ab˜o•¸ãv“e›¼q`cen“tred'˜or˜`righ“tŽ¡�‘Raligned'–UUforms“is“quite“what“yš¸ãou“w˜an˜t.ŽŸ�����‘R¤LÏ„ff–�Ÿù³1Æhead“¡„ffŽ�’˜³ahead‘ ¦©ŸLÏ„ffŽ�’Ãk�head‘ ¦©ŸLÏ„ffŽŽŸ��‘RŸLÏ„ ff�‘øŸü³11Ž�‘öŸü³1ó 5ùž" cmmi9Ë:Æ2Ž‘:?ì„ ffŽ��’¥Œ°1Ž�’ª,®Ë:Æ2Ž’·^rŸLÏ„ ffŽ��’ÐDÐ1Ž�’ÔäÎË:Æ2Ž’â’ŸLÏ„ ffŽŽ¤ ��‘RŸLÏ„ ff�‘Ÿü³111212Ž�‘öŸü³1Ë:Æ2Ž‘:?ì„ ffŽ��’“ ¸11212Ž�’ª,®Ë:Æ2Ž’·^rŸLÏ„ ffŽ��’½ÄØ11212Ž�’ÔäÎË:Æ2Ž’â’ŸLÏ„ ffŽŽ¡��‘RŸLÏ„ ff�‘öŸü³1Ë:Æ4Ž‘:?ì„ ffŽ��’ª,®Ë:Æ4Ž’·^rŸLÏ„ ffŽ��’ÔäÎË:Æ4Ž’â’ŸLÏ„ ffŽŽŽŽ����’ð–°¤LÏ„ff–Ÿù³1wide‘Theading“¡„ffŽ�’8Sdwide‘Theading‘ŸLÏ„ffŽ�’y©²wide‘Theading‘ŸLÏ„ffŽŽŸ��’ð–°ŸLÏ„ ff�‘×öŸü³11Ž�‘ wôŸü³1Ë:Æ2Ž‘@ïè„ ffŽ��’aqŠ1Ž�’fˆË:Æ2Ž’sCLŸLÏ„ ffŽ��’Ž8Å1Ž�’’ØÃË:Æ2Ž’´™šŸLÏ„ ffŽŽŸ ��’ð–°ŸLÏ„ ff�‘ wôŸü³1Ë:Æ4Ž‘@ïè„ ffŽ��’fˆË:Æ4Ž’sCLŸLÏ„ ffŽ��’’ØÃË:Æ4Ž’´™šŸLÏ„ ffŽŽŽŽŽŸ7>–�‘a²In–þ\bšGoth“of“these“tables“the“ rst“column“is“set“with“ÉD{.}{.}{-1}“²to“pro˜duceŽ¡�‘Ra–2çcolumn“cen�¸ãtered“on“the“É.²,‘jKand“the“second“column“is“set“with“ÉD{.}{.}{1}“²toŽ¡�‘Rpro�Gduce–UUa“righ�¸ãt“aligned“column.Ž¡�‘aThe–Icen�¸ãtered“column“pro�Gduces“columns“that“are“wider“than“necessary“to“ t“inŽ¡�‘Rthe›ædn•¸ãum“b•Gers˜under˜a˜heading˜as˜it˜has˜to˜ensure˜that˜the˜decimal˜p“oin•¸ãt˜is˜cen“tred.Ž¡�‘RThe–“”righš¸ãt“aligned“column“t˜w˜o“do�Ges“not“ha˜v˜e“this“dra˜wbac˜k,‘ã#but“under“a“wideŽ¡�‘Rheading–UUa“column“of“small“righ�¸ãt“aligned“ gures“lošGoks“a“bit“o˜dd.Ž¡�‘aIn–¤vš¸ãersion“v1.03“a“third“alternativ˜e“is“in˜tro�Gduced.‘]ÕThe“third�“¸hÊde‘ÿ}'cimalŽ�‘+á”plac‘ÿ}'es‘Ò!¸iŽŽ¡�‘R²argumen•¸ãt›\ma“y˜sp�Gecify˜Êb‘ÿ}'oth‘Û¿²the˜n“um“b�Ger˜of˜digits˜to˜the˜left˜and˜to˜the˜righ“t˜of˜theŽ¡�‘Rdecimal–†ëplace.‘,úThe“third“column“in“the“ rst“tables“ab�Go•¸ãv“e–†ëis“set“with“ÉD{.}{.}{5.1}Ž¡�‘R²and–XGin“the“second“table,–YÉD{.}{.}{1.1}²,“to–XGsp�Gecify“` v�¸ãe“places“to“the“left“and“oneŽ¡�‘Rto–¦the“righš¸ãt'“and“`one“place“to“the“left“and“one“to“the“righ˜t'“resp�Gectiv˜ely–ÿ*ª.‘¬»(Y“ouŽ¡�‘Rmaš¸ãy–‘Juse“`,'‘ Gor“other“tok˜ens,‘ Gnot“necessarily“`.'‘%¥in“this“argumen˜t.)‘%¥The“column“ofŽ¡�‘R gures– Cis“then“p�Gositioned“sucš¸ãh“that“a“n˜um˜bšGer“with“the“sp˜eci ed“n•¸ãum“b˜ers– Cof“digitsŽ¡�‘Ris–UUcen�¸ãtred“in“the“column.ŽŸ!Ä��‘Ró#ÂÖN ff cmbx12Î1Ž‘jLËThe‘ffMacrosŽŸç��‘UüsóÙ“ Rcmr7±1Ž‘\ª®ó!©±�Ê cmsy9Ìh�ó$ÒoÇw cmss9Ïpack�¾9ageŽ‘#g ÌiŽŸ�‘a²First–UUw�¸ãe“load“Éarray.sty“²if“it“not“already“loaded.ŽŸ ��‘Uüs±2Ž‘\ª®È\RequirePackage{array}ŽŸ�‘a²The–âåbasic“ideas“bšGehind“these“macros“are“explained“in“the“do˜cumen�¸ãtation“forŽ¡�‘RÉarray.sty².‘dšHo•¸ãw“ev“er–-Íthey“use“three“tricš¸ãks“whic˜h“ma˜y“b�Ge“useful“in“other“con˜texts.Ž¡����‘a¸ŽŽŽ‘k²The––separator“is“surrounded“in“extra“É{‘?ý}²,‘5gso“that“it“is“set“with“É\mathordŽ¡�‘k²spacing,–UUotherwise,“for“instance“a“`,'“wš¸ãould“ha˜v˜e“extra“space“after“it.ŽŽŸ�’2ŽŽŒ‹ Ê y� ý£ ?� ýä����‘a¸ŽŽŽ‘k²The–nseparator“is“not“givš¸ãen“its“sp�Gecial“de nition“b˜y“making“it“activ˜e,‘t-as“thisޤ �‘kwš¸ãould–SÊnot“w˜ork“for“an“en˜try“suc˜h“as“É&–?ý.5“&²,‘‡Mas–SÊthe“ rst“tok˜en“of“an“alignmen˜tŽ¡�‘kenš¸ãtry–”÷is“read“Êb–ÿ}'efor“e‘UR²the–”÷pream˜ble“part,›¤àincase“it“is“an“É\omit²,˜in“whic�¸ãh“caseŽ¡�‘kthe–J¨preamš¸ãble“is“to“b�Ge“omitted.‘Q¿Instead“w˜e“switc˜h“the“mathco�Gde“to“(hex)Ž¡�‘k8000,–UUwhicš¸ãh“mak˜es“the“tok˜en“act“as“if“it“w˜ere“activ˜e.ŽŸ����‘a¸ŽŽŽ‘k²Although–mÉ\mathcode`.="8000“²makš¸ães“É.‘Z$²act“as“if“it“w˜ere“activ˜e,‘›it“is“still“notŽ¡�‘kallo•¸ãw“ed–írin“constructions“sucš¸ãh“as“É\def.{}²,‘yev˜en“in“math-mo�Gde,‘yso“w˜e“ha˜v˜eŽ¡�‘kto–û©construct“an“activš¸ãe“v˜ersion“of“the“separator,‘ ˜this“is“done“b˜y“making“it“theŽ¡�‘kupp�Gercase–UUof“É~²,“and“then“using“the“constructŽ¡�‘kÉ\uppercase{\def~}{�¸hÊde nition‘Äc¸iŽ‘1°kÉ}².Ž¡�‘kNote–ç¸that“the�“¸hÊde nition‘Äc¸iŽ‘9Û²is“not“upp�Gercased,‘ Qso“the“de nition“can“refer“toŽ¡�‘kthe–UUstandard,“non-activ�¸ãe“use“of“the“separator.Ž©����‘5`È\DC@ŽŽŽ‘R²Set–.¬up“upp�Gercase“tables“as“required,‘6hand“then“grab“the“ rst“part“of“the“n�¸ãumericalŽ¡�‘Rargumen•¸ãt›UUin“to˜É\count@².ŽŸ��‘Uüs±3Ž‘\ª®È\def\DC@#1#2#3{%ޤ ��‘Uüs±4Ž‘fÚÈ\uccode`\~=`#1\relaxŽ¡��‘Uüs±5Ž‘fÚÈ\m@thŽ¡��‘Uüs±6Ž‘fÚÈ\afterassignment\DC@x\count@#3\relax{#1}{#2}}ަ����‘0¦|\DC@xŽŽŽ‘R²If–YÞÉ\count@“²is“negativ•¸ãe,‘[cen“tre–YÞon“the“decimal“pšGoin�¸ãt.‘aIf“it“is“p˜ositiv�¸ãe“either“É#1“²willޤ �‘Rb�Ge–5Ôemptš¸ãy“in“whic˜h“case“bad“out“decimal“part“to“the“n˜um˜bšGer“of“digits“sp˜eci edŽ¡�‘Rbš¸ãy–zìÉ\count@“²or“(new“feature“in“v1.03)“it“is“none“empt˜y“in“whic˜h“case“É\count@Ž¡�‘R²conš¸ãtains–Ì the“n˜um˜bšGer“of“digits“to“the“left“of“the“p˜oinš¸ãt,‘ç‚and“É#1“²con˜tains“a“junk“tok˜enŽ¡�‘R(probably–t²É.²)“follo•¸ãw“ed›t²b“y˜the˜n“um“b�Ger˜of˜digits˜to˜the˜righ“t˜of˜the˜p�Goin“t.‘ÏÞIn˜eitherŽ¡�‘Rof–UUthese“latter“cases,“É\DC@right“²is“used.ŽŸ��‘Uüs±7Ž‘\ª®È\def\DC@x#1\relax#2#3{%ޤ ��‘Uüs±8Ž‘fÚÈ\ifnum\z@>\count@Ž¡��‘Uüs±9Ž‘o‘È\expandafter\DC@centreŽ¡��‘R±10Ž‘fÚÈ\elseŽ¡��‘R±11Ž‘o‘È\expandafter\DC@rightŽ¡��‘R±12Ž‘fÚÈ\fiŽ¡��‘R±13Ž‘fÚÈ{#2}{#3}{#1}}ަ����‘Ž\DC@centreŽŽŽ‘R²If–UUcenš¸ãtering“on“the“decimal“p�Goin˜t,“just“need“to“b�Go˜x“up“the“t˜w˜o“halv˜es.ŽŸ��‘R±14Ž‘\ª®È\def\DC@centre#1#2#3{%Ž¡��‘R±15Ž‘fÚÈ\let\DC@end\DC@endcentreŽ¡��‘R±16Ž‘fÚÈ\uppercase{\def~}{$\egroup\setbox\tw@=\hbox\bgroup${#2}}%Ž¡��‘R±17Ž‘fÚÈ\setbox\tw@=\hbox{${\phantom{{#2}}}$}%Ž¡��‘R±18Ž‘fÚÈ\setbox\z@=\hbox\bgroup$\mathcode`#1="8000‘¹–}ަ����‘ ÙÌ\DC@endcentreŽŽŽ‘R²and–Ö)then“pad“out“the“smaller“of“the“t•¸ãw“o›Ö)b�Go“xes˜so˜there˜is˜the˜same˜amoun“t˜of˜stu ŽŸ �‘Reither–UUside“of“the“p�Goin�¸ãt.ŽŸ��‘R±19Ž‘\ª®È\def\DC@endcentre{$\egroupŽ¡��‘R±20Ž‘o‘È\ifdim‘¹–\wd\z@>\wd\tw@Ž¡��‘R±21Ž‘y2È\setbox\tw@=\hbox‘¹–to\wd\z@{\unhbox\tw@\hfill}%Ž¡��‘R±22Ž‘o‘È\elseŽŽŸ�’²3ŽŽŒ‹{ y� ý£ ?� ýä��‘R±23Ž‘y2È\setbox\z@=\hbox‘¹–to\wd\tw@{\hfill\unhbox\z@}\fiޤ ��‘R±24Ž‘o‘È\box\z@\box\tw@}ŽŸ����‘À$\DC@rightŽŽŽ‘R²This–´Ðdeals“with“bšGoth“the“cases“where“a“sp˜eci ed“n•¸ãum“b˜er–´Ðof“decimal“places“is“giv�¸ãen.Ž©��‘R±25Ž‘\ª®È\def\DC@right#1#2#3{%Ž¡��‘R±26Ž‘fÚÈ\ifx\relax#3\relaxŽŸ�‘R²If–¿ÒÉ#3“²is“emptš¸ãy‘ÿ*ª,‘ݹadd“É\hfill“²to“righ˜t“align“the“column,‘ݹand“Just“set“É\DC@rl“²to“b�GeginŽŸ �‘Ra–UUgroup,“so“nothing“fancy“is“done“with“the“whole“n•¸ãum“b�Ger‘UUpart.ަ��‘R±27Ž‘o‘È\hfillŽ¡��‘R±28Ž‘o‘È\let\DC@rl\bgroupŽ¡��‘R±29Ž‘fÚÈ\elseŽŸ�‘R²Otherwise–m·set“É\DC@rl“²so“that“the“whole“n•¸ãum“bšGer–m·part“is“put“in“a“b˜o�¸ãx“É\count@ޤ �‘R²times–)Ÿas“wide“as“a“digit.‘c5In“order“to“share“co�Gde“with“the“other“brancš¸ãh,‘2]then“mo˜v˜eŽ¡�‘RÉ#3–Ò|²(the“n•¸ãum“b�Ger–Ò|of“decimal“places)“inš¸ãto“É\count@“²thro˜wing“a˜w˜a˜y“the“`.'‘é=from“theŽ¡�‘Ruser‘UUsyn�¸ãtax.ަ��‘R±30Ž‘o‘È\edef\DC@rl{to\the\count@\dimen@ii\bgroup\hss\hfill}%ޤ ��‘R±31Ž‘o‘È\count@\@gobble#3\relaxŽ¡��‘R±32Ž‘fÚÈ\fiŽŸ��‘R±33Ž‘fÚÈ\let\DC@end\DC@endrightŽŸ�‘R²Boš¸ãx–�°2“con˜tains“the“decimal“part,‘¯Çset“to“É\dimen@“²whic˜h“is“calculated“b�Gelo˜w“to“b�GeŽŸ �‘RÉ\count@–UU²times“the“width“of“a“digit,“plus“the“with“of“the“`decimal“p�Goin�¸ãt'.ަ��‘R±34Ž‘fÚÈ\uppercase{\def~}{$\egroup\setbox\tw@\hbox‘¹–to\dimen@\bgroup${#2}}%Ž¡��‘R±35Ž‘j×pÈ\setbox\z@\hbox{$1$}\dimen@ii\wd\z@Ž¡��‘R±36Ž‘j×pÈ\dimen@\count@\dimen@iiŽ¡��‘R±37Ž‘j×pÈ\setbox\z@\hbox{${#2}$}\advance\dimen@\wd\z@Ž¡��‘R±38Ž‘j×pÈ\setbox\tw@\hbox‘¹–to\dimen@{}%ŽŸ�‘R²Boš¸ãx–wA0“con˜tains“the“whole“n˜um˜b�Ger“part,‘¿¼either“just“at“its“natural“size“for“righ˜tޤ �‘Raligned–œ5columns,‘­ìor“set“to“(the“old“v‘ÿqÇalue“of‘Ç)“É\count@“²times“the“width“of“a“digit.Ž¡�‘RÉ\DC@rl–UU²de ned“ab�Go•¸ãv“e–UUdetermines“the“t•¸ãw“o‘UUcases.ަ��‘R±39Ž‘j×pÈ\setbox\z@\hbox\DC@rl$\mathcode`#1="8000‘¹–}ޤ����‘“b\DC@endrightŽŽŽ‘R²Just–UU nish“o “the“second“bšGo�¸ãx,“and“then“put“out“b˜oth“b˜o�¸ãxes.ަ��‘R±40Ž‘\ª®È\def\DC@endright{$\hfil\egroup\box\z@\box\tw@}Ž¡����‘CŒÔDŽŽŽ‘R²The–Îuser“inš¸ãterface,‘,Ode ne“the“ÉD‘ͼ²column“to“tak˜e“three“argumen˜ts.‘Ü F‘ÿ*ªor“sp�Gecialޤ �‘Rpurp�Goses,‘ÑÇy•¸ãou›¸äma“y˜need˜to˜directly˜access˜É\DC@˜²rather˜than˜the˜ÉD‘¸Ê²column,‘ÑÇeg˜toŽ¡�‘Rget–UUa“b�Gold“vš¸ãersion“y˜ou“could“useޤ�‘V¹–È\newcolumntype{E}[3]{>{\boldmath\DC@{#1}{#2}{#3}}c<{\DC@end}}Ž¡��‘R±41Ž‘\ª®È\newcolumntype{D}[3]{>{\DC@{#1}{#2}{#3}}c<{\DC@end}}ŽŸ��‘R±42Ž‘\ª®Ìh�Ë=Ïpack�¾9ageŽ‘#g ÌiŽŽŸ�’²4ŽŽŒø*nƒ’À;èyµ ó$ÒoÇw cmss9ó#ÂÖN ff cmbx12ó!©±�Ê cmsy9ó 5ùž" cmmi9óý': cmti10óßê cmmi10óKñ`y cmr10óÙ“ Rcmr7ù4Ýßßßßß