; TeX output 1996.05.23:08533ڍ&"V cmbx10CreatingTT ablesinT<8E3sX%K`y cmr10ThemacrosandguidehavebGeenwrittenbyRobertNilssonoftheAcademicComputingService,!T*exas A&MUUUniversity*.qTousethemacros,startbyyStartUUatablexF( \begintabletoY?۟(ffx?(width(ff>yStartatablewiththespGeci edwidth. >yThetablewillbGestretcheduntilitis>y`width'UUwidexF((DŽ \begintablespY?۟DŽffcBstretchUUamountDŽff>yStartatableandstretchit`stretch >yamount'@VwiderthanitwouldnormallybGexFDŽX-ffyFffyF \endtableY?۟ffzx noneff>yEndUUthetablexFyFyF%ۍBB9PVPV ybColumnTSeparatorsOVPVPV CommandB ffLfqArgumentsBffDescriptionOVPVPV * |B *ffZ noneB *ffQEndԜacolumnandplaceaverticalrule QofthedefaultwidthbGetweenthecolumnsQ(doUUnotusethisattheendofaline)OV **DŽ \|B DŽffZ noneBDŽffQSameIoasabGoveIobuttheverticalrulewill QbGeUUsuppressedOVDŽǍ \vtB ffZ noneBffQSameIoasabGoveIobuttheverticalrulewill QbGeUUthinOV \vttB ffZ noneBffQSameIoasabGoveIobuttheverticalrulewill QbGeUUthickOV \vtttB ffPthicknessBffQSameIoasabGoveIobuttheverticalrulewill QbGeUU`thickness'wideOVPVPV`1*3ڍ 򍍑Br34PVPV  Ro9wTSeparatorsOVPVPV CommandB ffLfqArgumentsBffDescriptionOVPVPV * \elB *ffZ noneB *ffQEndfalineanddon'tputaruleunderit. Q(DoZnotusethisafterthelastlineoftheQtable,UUuse\endtable)OV ** \eltB ffZ noneBffQSameMasabGoveMexceptputathinruleun- QderUUthelineOV \elttB ffZ noneBffQSame^asabGove^exceptputathickrule QunderUUthelineOV \eltttB ffPthicknessBffQSameasabGoveexceptputaruleofwidth Q`thickness'UUunderthelineOVZd \elspecB ZdffZ noneBZdffQThis+commandisusedtosetuprulesun- QderrowsthatDOZNOTspantheentireQrow.kZItS1ine ectindicatesthatthenextQrow&zwillspGecifytheruletobeusedunderQthe^currentrow.OThisisespGeciallyusefulQwhenMausingwiththerowspanningcom-Qmands.ThisintroGducesasubclass,JtheQhorizontalUUrulecommandsOVZdZffffPVffPV `ΔHorizonalUURuleCommandSubsetOVffffPVffPV8B \truleB 8BffZ noneB8BffQPlacesSathinhorizontalruleunderacol- Qumn.ThiscommandisonlyforuseinQconjunctionUUwiththe\elspecQcommand(T*oleaveacolumnblank,Qi.e.qnoUUrule,justleaveUUitblank)OV8BB \ttruleB ffZ noneBffQSameUUasabGoveUUbuttherulewillbe QthickOV \tttruleB ffPthicknessBffQSamezasabGovezbuttherulewillbe`thick- Qness'UUthickOVPVPV Y*oumaybGewonderingwhatthedi erencebGetweenthe\eltandthe\trulecommandis.wThe\elt willYuendthelineanddrawathinruleunderit.~&The\truleworksinconjunctionwiththe\elspectogenerateaspGecialrule.ThespecialrulelineisenteredthesamewayaregularrowwillbGeentered.F*orexample,UUanormalrowwouldloGoklike:This|is|a|Test\eltThis-willproGducearowwithathinruleunderit.T*oproducethesamee ectwithoutaruleunderthecolumnUU`is'thefollowingwouldbGeused:This|is|a|Test\elspec\trule||\trule|\trule\elNotice thattheverticalbarsareused.2ThemacroisstartinganewrowandtheverticalbarsneedtobGeincluded9ifyouwantthemtocontinuethroughtheline.x(Thereisnoneedtoonlyusethe|,s anyothercolumnUUseparatorisalsovqalid).`23ڍz$Q!kՉ** Con guration***2V*ariableff)V*alueffDescription***#Dimensions*ffff*ff*BL \stablesthinlineBLff'dimensionBLff>]This vqariablecontainsthewidthofathin >]rule inthetable. ӦThedefaultvqalueis>]0.4pt~BanditmaybGechangedwiththe>]command:>]\stablesthinline=>]whereUUisthenewwidth.*BLLDŽ) \stablesthicklineDŽ)ff'dimensionDŽ)ff>]ThisFvqariablecontainsthewidthofathick >]rulefinthetable.^Thedefaultvqalueis1pt>]andUUitmaybGechangedasabGove.*DŽ) X-ff*ff*>Counters*ff*ff*8B \stablestyle8Bff_08Bff>]Center?,thetableusingthecurrent\hsize. >]ThisisthedefaultsettinganditmaybGe>]changedUUbythefollowingcommand:>]\stablestyle= b> cmmi10n>]whereUUnisthenewvqalue(0,1,2,or3)*8BBff_1ff>]LeftUUjustifythetable*ff_2ff>]RightUUjustifythetable*ff_3ff>]NoUUjusti cation*ff*ff* IfUUStatements*ff*ff*r| \ifstablesinternalthinr|fftruer|ff>]Makektheinternalrulesofthetablethin. >]Thissetstheverticalrulegeneratedby>]the|.2fT*osetthevqalueofthisvariable>]theUUfollowingcommandmustbGeused:>]\stablesinternalthintrue>]Pleasenotetheword`if'isremovedand>]the7&word`true'hasbGeenappendedtothe>]end..TheTvqalueafterthiscommandwillbGe>]true.n!T*osetittofalseappGendtheword>]`false'UUinsteadof`true'.*r||ffBfalseff>]Useqthickinternalrules(wherethe|is >]used)*fffffff&ff?Ўffff>\ffȬΎ*ff \ifstablesborderthinfftrueff>]UseUUthinrulesforthebGorderofthetable*ffBfalseff>]UsethickrulesforthebGorderofthetable. >]ThisUUisthedefault.***Allfsettingsinthecon gurationsectionshouldbGeusedOUTSIDEfthetable.qTheresultsofchanging aUUsettinginsidethetablewillbGeunpredictable,andundesirable.There6aretwo6moresettingsthatneedtobGediscussed.jFirstistheelementbu ering.Therearetwode nitionsUUthatareusedforthis:q\stablesleftand\stablesright.Thedefaultsettingsareasfollows:\def\stablesleft{\quad\hfil}\def\stablesright{\hfil\quad}T*oUUchangethese,simplyrede nethem.Theothersettingisthestrut.IIfyouareinterestedinresettingthis,theTU>'ExXbGookshouldprovidesucientUUinformation(ThestrutisusedtoholdupthebGox).`3Í3ڍ&bSpQecials GThissectionwillbGebrokenintothreeparts:mTthespanningcommands,theparagraphcommands,andmiscellaneousUUinformation.Firstk/ofallwehavetwo(actuallythree,pbutI'lldiscussthethirdlater)spanningcommands.UTheyare\multicolumnUUand\multirow.qT*ouse\multicolumntospanseveralcolumnsthecommandwillbGe:\multicolumnnUUandyourdatahere.ThebunspGeci esthenumberbuofcolumnstospanacross.'F*orexample,eifatablehas3columnsandyouwantatitleacrossthetop,}nwouldbGe3.Omiteachcolumnseparatorthatisspannedacross(inthiscasenonewouldbGeused).,hWhenthiscommandisusedthebu eringissuspendedonthespanningcolumn, soitisnecessaryUUtoput\hfil'saroundthedatainthespanningcolumntocenterit.\multirowworksslightlydi erently*.ThenumbGerofrowstospanisspGeci edinthesamewayasthenumbGerUUofcolumnsinthe\multicolumnmacro,butUUthetexttobGespannedmustbeplacedincurlybracesdirectlyafter:\multirown{}TheUUwillbGeverticallycenteredinthenumbGerofspannedrows. ThehorizontalrulesarenotautomaticallyomittedunderthecolumnsoftherowsbGeingUUspanned.qThe\elspeccommandmustbeusedtoomittheseUUrules.qTherewillbGeanexampleattheendofthedocumentationofthis.TheUUparagraphcommandsare\stparand\stparrow.qTheformatfor\stparis:\stpar{}{}TheUUisthewidthoftheparagraph(the\hsize)andtheistheparagraph.\stparrow4qwilldothesamethingas\stparbutitwillalsopGerformthefunctionof\multirow.fItisacompGositeUUcommandandtheonlywayUUtospanaparagraphacrossmultiplerows.qTheformatis:\stparrown{}{}InthiscommandthenisthenumbGerofrowstobespannedandtheothermaterialisthesameasinthe\stparXmacro.Pleasenotethattherulesforspanningmultiplerowsapplytothismacroalso(theuseoftheUU\elspeccommand.T*ousebGothmultiplerowsandmultiplecolumns, ZspGecifythe\multicolumncommand rst,thenthe\multirowUUor\stparrow.ThelastpGointIwouldliketomakeconcernstheuseofvqaryingwidthverticalrules.E?Ifathinverticalrule4runsintoathickverticalruletherewillbGeano set.fThedefaultforthiso setistotheleft.Therearetwoխwaystochangethesetting.The rstisbyusingan`r'afteranyofthe\vtcommands.F*orexample\vttr+willproGduceathickverticalrulerightjusti edonanywiderrules.cTheothermethoGdisbyusingthe\ifstablesrightNsetting.A5truesettingwilllineupallverticalrulesgeneratedbythe|ontheright.AfalseUUsettingwillmaketheverticalrulesgeneratedbythe|leftjusti ed(thedefault). In:\allofthespGecialsusinganparameter,?ifthenumber:\tobeusedisgreaterthan9,?itmustbeplacedinUUcurlybraces({}).`4.3ڍ&ȀExamplesGThis@sectionwillgivesomeexampletablesandthecoGdetogeneratethemorganizedfromsimpleto complex.ExampleT1\begintableCk\#\vtDate\vtMemo\vtDebit\vtCredit\vtBalance\eltt245|8--2|Rent|\$\hfill250.00||\$\hfill436.29\el246|8--2|DansonElectric|\$\hfill49.28||\$\hfill387.01\el247|8--5|Jeff'sGrocery|\$\hfill35.88||\$\hfill351.13\el248||Void|||\el249|8--10|DansonTimes|\$\hfill19.00||\$\hfill332.13\el250|8--14|PizzaPalace|\$\hfill9.95||\$\hfill322.18\el251|8--15|JonesHardware|\$\hfill45.20||\$\hfill276.98\el252|8--15|Deposit||\$\hfill255.81|\$\hfill532.79\el253|8--21|AccountFee|\$\hfill.85||\$\hfill531.94\el254|8--29|TelephoneCo.|\$\hfill21.19||\$\hfill510.75\endtableA>YWW  Ck#)[ff4;DateS4ffrMemoLߟffdDebitϿff]DCreditRff)#BalanceVWW 245)[ff7848{2S4ffuRentLߟffF$UU250.00ϿffRff($UU436.29V 246)[ff7848{2S4ff]eDansonUUElectricLߟffF$UV49.28ϿffRff($UU387.01V 247)[ff7848{5S4ffaJe 'sUUGroGceryLߟffF$UV35.88ϿffRff($UU351.13V 248)[ffS4ffvsV*oidLߟffϿffRffV 249)[ff438{10S4ffaDansonUUTimesLߟffF$UV19.00ϿffRff($UU332.13V 250)[ff438{14S4ffdPizzaUUPalaceLߟffF$ UW9.95ϿffRff($UU322.18V 251)[ff438{15S4ff]JonesUUHardwareLߟffF$UV45.20ϿffRff($UU276.98V 252)[ff438{15S4ffogDepGositLߟffϿff6&$UU255.81Rff($UU532.79V 253)[ff438{21S4ffepgAccountUUF*eeLߟffF$UX.85ϿffRff($UU531.94V 254)[ff438{29S4ffa3T*elephoneUUCo.LߟffF$UV21.19ϿffRff($UU510.75VWW`5<:3ڍ&ExampleT2\begintableto{6.5truein} \multicolumn6\hfillAccountActivityforAugust\hfill\elttCk\#\vtDate\vtMemo\vttDebit\vtCredit\vttBalance\eltt245|8--2|Rent\vtt\$\hfill250.00|\vtt\$\hfill436.29\el246|8--2|DansonElectric\vtt\$\hfill49.28|\vtt\$\hfill387.01\el247|8--5|Jeff'sGrocery\vtt\$\hfill35.88|\vtt\$\hfill351.13\el248||Void\vtt|\vtt\el249|8--10|DansonTimes\vtt\$\hfill19.00|\vtt\$\hfill332.13\el250|8--14|PizzaPalace\vtt\$\hfill9.95|\vtt\$\hfill322.18\el251|8--15|JonesHardware\vtt\$\hfill45.20|\vtt\$\hfill276.98\el252|8--15|Deposit\vtt|\$\hfill255.81\vtt\$\hfill532.79\el253|8--21|AccountFee\vtt\$\hfill.85|\vtt\$\hfill531.94\el254|8--29|TelephoneCo.\vtt\$\hfill21.19|\vtt\$\hfill510.75\endtableAIGG AccountUUActivityforAugustGGGdCk#>ɟffSiDate|DžffMemo)Debit9ffRMCredit_'4BalanceGGGOc245>ɟffVfY8{2|DžffRent) $UU250.009ff_@$UU436.29GOc246>ɟffVfY8{2|DžffDansonUUElectric) $UV49.289ff_@$UU387.01GOc247>ɟffVfY8{5|DžffJe 'sUUGroGcery) $UV35.889ff_@$UU351.13GOc248>ɟff|DžffkV*oid)9ff_GOc249>ɟffSX8{10|Džff DansonUUTimes) $UV19.009ff_@$UU332.13GOc250>ɟffSX8{14|DžffPizzaUUPalace) $ UW9.959ff_@$UU322.18GOc251>ɟffSX8{15|DžffJonesUUHardware) $UV45.209ff_@$UU276.98GOc252>ɟffSX8{15|DžffDepGosit)9ffNZ/$UU255.81_@$UU532.79GOc253>ɟffSX8{21|DžffgAccountUUF*ee) $UX.859ff_@$UU531.94GOc254>ɟffSX8{29|Džff+T*elephoneUUCo.) $UV21.199ff_@$UU510.75GGG`6I63ڍ&ExampleT3\begintable \multirow2{\#}\vt\multirow2{Date}\vt\multirow2{Memo}\vtDebit/Credit\elspec|||\trule\el|||Balance\eltt\multirow2{245}|\multirow2{8--2}|\multirow2{Rent}|\$\hfill250.00\elspec|||\trule\el|||\$\hfill436.29\elttt{.7pt}\multirow2{246}|\multirow2{8--2}|\multirow2{DansonElectric}|\$\hfill49.28\elspec|||\trule\el|||\$\hfill387.01\elttt{.7pt}\multirow2{247}|\multirow2{8--5}|\multirow2{Jeff'sGrocery}|\$\hfill35.88\elspec|||\trule\el|||\$\hfill351.13\elttt{.7pt}\multirow2{248}||\multirow2{Void}|\elspec|||\el|||\elttt{.7pt}\multirow2{249}|\multirow2{8--10}|\multirow2{DansonTimes}|\$\hfill19.00\elspec|||\trule\el|||\$\hfill332.13\endtableŪoĠE36 UW#$ffj.flDateM_SffjmgMemoLߟffFDebit/Creditffff$ffffM_SffffL߄ffffEffM{ff$ffM_SffLߟffdBalance8䍑 245$ff8䍑1b8{2M_Sffjp RentLߟffF$UV250.00ff$ffffM_SffffL߄ffffEffM{ff$ffM_SffLߟffF$UV436.293338䍑 246$ff8䍑1b8{2M_Sffx䍑WźDansonUUElectricLߟffF$UW49.28ff$ffffM_SffffL߄ffffEffM{ff$ffM_SffLߟffF$UV387.013338䍑 247$ff8䍑1b8{5M_Sff[IJe 'sUUGroGceryLߟffF$UW35.88ff$ffffM_SffffL߄ffffEffM{ff$ffM_SffLߟffF$UV351.133338䍑 248$ffM_Sffx䍑pKV*oidLߟff$ffM_SffLߦff3338䍑 249$ff8䍑.8{10M_Sffj[)IDansonUUTimesLߦffF$UW19.00ffff$ffffM_SffffL߄ffffEffM{ff$ffM_SffLߦffF$UV332.13`7V3ڍ&ExampleT4\begintable Account|Ck\#|Debit|Credit|Balance\eltt\stparrow3{3in}{\noindentTheLyonsInvestmentMemorialStudentFundfollowingspecifications11.2.3oftheU.S.GovernmentalCodeCCA1}|123|\$\hfill1,000.00||\$\hfill20,000\elspec|\trule|\trule|\trule|\trule\el|124|\$\hfill200.00||\$\hfill19,800\elspec|\trule|\trule|\trule|\trule\el|||\$\hfill4,000.00|\$\hfill23,800\elttt{.7pt}\multicolumn4\hfil\stpar{5.25in}{Attheendofthephysicalyear1990thebalanceintheaccountforLyonsInvestmentMemorialStudentFundwillbetalliedandtheresultswillbepublishedasperGovernmentalCode3.4.2ofthelastpayableweekinthesession.Thevaluepresentedhereisaprojectionoftheactualthatwillbeavailable.}\hfil|\$\hfill25,000\endtable:ȩȩ eYtAccount^ff5Ck# ff)DebitSȟffd2CreditqffZBalanceǩȩȩ䍑 TheDLyonsInvestmentMemorialStudentF*undfol- lowing spGeci cations11.2.3oftheU.S.Govern- mentalUUCoGdeCCA1^ff p123 ff!q$1,000.00SȟffqffZ$20,000ǩffff^ffff5Ąff([ ffffqffreplytothecurrentmessage. Itplacesyouintheeditorwithaprototyperesponseform. ?Aftercompletingyourresponse,type'{\itlist}'toreviewitor'{\itsend}'it.}\elspecrepl|\el|\eltrefile +xxxx|putcurrentmessageinanotherfoldernamedxxxx\eltfolder +xxxx|gotofoldernamedxxxx.\elfolders|printsalistofallfolders.\elt|\stparrow2{6in}{\noindentproduceaonelinepermessagescanlisting. '{\itscanm-n}'printsalistofthemessagesfrommtoninyourcurrentfolder.}\elspecscamm-n|\elscan m-n+xxxx|listsallthemessagesinfoldernamedxxxx.\elscan last:-n+xxxx|listslast{\itn}messagesinfoldernamedxxxx.\elscan|(default)listingofallthemessagesinyourcurrentfolder.\eltforw|forwardthecurrentmessagetoanotheruser.\eltali|listmailaliases\endtable\vskip1cm\begintable\multicolumn2\hfil Practicalcommands:\hfil\elttcomp-editorvi\hfill|Writeamessageusingtheeditorvi\hfill\eltforwn-editorvi\hfill|ForwardmessageNo. ?nusingtheeditorvi\hfill\eltforwn-formcomponents\hfill|EditareturnedmessageNo. ?n\hfill\eltforw$n-editorvi-formcomponents\hfill|EditareturnedmessageNo.hnwithviaseditor\hfill\endtable`9 m͍3ڍ=獍~~?-K-K ̫MHUUcommands,K-K-Kf+ffq-compGose6amessagebyputtingyouintheeditoronaprototypGemessageformandthenletsyousend q-it.qAfterUUcompletingthemessage,use$': cmti10list cmmi10K`y cmr10G