÷ƒ’À;è TeX output 1997.03.28:1741‹ÿÿÿÿ ª� ýs o� ýÞ�’³€µóDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºabbšŒqrevs“¹pac˜k‘ÿäageŽŸ�‘uêóX«Q ff cmr12»abbreviation–³/macros“(F‘þÓ4rank�›¼enstein's“briefs)ŽŸ�����’±?æóX«Q cmr12¼Matt–ê¨Swift“ó߆µT cmtt12ÅŽŽŽŽŽŸ�’ذE¼V‘ÿVersion:‘8àv1.0Ž© �’›¼*Do�SŽcumen�¬rtation‘ê¨revision:‘8à1996/03/21ŽŸ$�’æ!Kót ‰: cmbx9ÇAbstractŽŸ¬Ñ�‘oßüóo´‹Ç cmr9ÆThis–N-pacš¾9k‘ÿ|rage“facilitates“the“de nition“of“ó”q[˜ cmsl9Èabbreviation“macros‘«(Æwhic˜h“ex-ޤ �‘bpand–Ü[to“text“and“insert“the“propšAÇer“follo�¾9wing“space“dep˜ending“on“con�¾9text.Ž¡�‘bThese–S1macros“can“b�AÇe“abbreviations“in“a“second“sense“also,‘¢¨expanding“toŽ¡�‘bone–Vsthing“the“ rst“time“they“are“used“and“another“thing“on“subsequen�¾9t“in-Ž¡�‘bv�¾9ošAÇcations.‘�ÚThis–<"facilitates“the“automatic“sp˜elling-out“of“abbreviations“orŽ¡�‘bacronš¾9yms–#at“their“ rst“use.‘E¨The“initial“and“subsequen˜t“expansions“of“anŽ¡�‘babbreviation–¼­macro“are“aš¾9v‘ÿ|railable“at“an˜y“time“via“explicit“commands.‘zAb-Ž¡�‘bbreviation–ømacros“are“groupšAÇed“in�¾9to“categories;‘ilthere“are“ho˜oks“applicableŽ¡�‘bto–œ eacš¾9h“category‘ÿ:«.‘°‘Categories“can“b�AÇe“reset“so“that“subsequen˜t“abbreviationŽ¡�‘bmacros–Tin“that“category“b�AÇeha•¾9v“e–Tas“if“used“for“the“ rst“time“again.Ž¡�‘oßüA‘¿´generic–¿Êfacilitš¾9y“is“also“pro˜vided“for“suxes“lik˜e“1900›Ù–óŒ-ø cmcsc10Éb.cÆ.‘ÿíand“6:00˜Ép.mÆ.,Ž¡�‘bwhicš¾9h–Tcorrectly“handles“follo˜wing“p•AÇerio“ds.ŽŸ#8à�‘IóÂÖN ff cmbx12ÊP�ŒÌart‘ffIŽŸ�‘Ió ÂÖN ½q cmbx12ËDiscussionŽŸê¨��‘IÊ1Ž‘aLËGeneralޤç�‘IóKñ`y cmr10²An–Ä€abbreviation“macro“ó"ßêmaš¸ãy“b�Ge“explicitly“requested“b˜y“adding“a“sux“to“the“abbreviation“macro.ަ�‘IThe–À»commands“Í\�¸hÎc‘ÿ}'ommand‘‰¸iŽ›25ýÍshort“²and“Í\�¸hÎc‘ÿ}'ommand‘‰¸iŽ˜Ílong“²are“also“de ned“when-ަ�‘Iev�¸ãer–UUan“abbreviation“macro“Í\�¸hÎc‘ÿ}'ommand‘‰¸iŽ‘5‹R²is“de ned.ަ�‘XAll–ýabbreviation“macros“are“assigned“categories,‘'idenš¸ãti ed“b˜y“a“string.‘iF‘ÿ*ªourަ�‘Icategories–UUare“de ned“bš¸ãy“the“pac˜k‘ÿqÇage,“and“it“is“easy“to“add“more.ŽŸ!Ä��‘IÊ2Ž‘aLËUsageŽ¡�‘I²Examples–UUof“ho�¸ãw“to“de ne“abbreviation“macros:ŽŽŸ�’ø1ŽŽŒ‹* ª� ýs o� ý´�‘W,ÂÌ\newbook\worst{Worstward‘¹–Ho}ޤ �‘W,Â\newbook\fall{All–¹–That“Fall}Ž¡�‘W,Â\newbook\nacht{Nacht–¹–und“Tr\"aume}Ž¡�‘W,Â\newbook\csp{Collected–¹–Shorter“Plays“\emph{(}CSP\emph{)}}[CSP]Ž¡�‘W,Â\newname\joyce{James‘¹–Joyce}[Joyce]Ž¡�‘W,Â\newname\nixon{Richard–¹–Milhous“Nixon}[Nixon]Ž¡�‘W,Â\newname\ww{Wordsworth}Ž¡�‘W,Â\newname\beckett{Samuel‘¹–Beckett}[Beckett]Ž¡�‘W,Â\newwork\godot{Waiting–¹–for“Godot}[Godot]Ž¡�‘W,Â\newbook\prelude{The‘¹–Prelude}Ž¡�‘W,Â\newtextmacro\ART{American–¹–Repetrory“Theater“(ART)}[ART]ޤ ¡�‘X²Examples–UUof“hoš¸ãw“to“use“the“macros,“and“ho˜w“they“are“t˜yp�Geset:ŽŸ�‘IÍ% ‘¿÷The–?ýmanuscripts“of“\ww's“\preludeŽ¡�‘X¿÷differ.–?ý.“.“.‘ úBefore“he“beganŽ¡�‘X¿÷\prelude,–?ý\ww“wrote.“.“.“.Ž¡© �‘Ió&‚ÎR6 cmss12ÑLOOKS‘ê¨LIKE:ŽŸX-����‘IŸð9‰ffiÌÌŸãŽ�„ãŽff�Ÿõ9��Ÿú�‘²The–ƒzmanš¸ãuscripts“of‘J—W‘ÿ*ªordsw˜orth's“ÎThe‘¾[Pr‘ÿ}'elude‘CÕ²di er.–ü6.“.“.“Before–ƒzhe“b�Gegan“ÎTheŽ¡�‘Pr‘ÿ}'elude²,–UUW‘ÿ*ªordsw�¸ãorth“wrote.–qÇ.“.“.ŽŽŽŽ’i„ãŽffŽžff‰ffiÌÌŽŽŽŽŸ#Iô�‘IÍ% ‘¿÷\nixon–?ýwas“the“37st“AmericanŽ¡�‘X¿÷President.–?ý.“.“.‘ úMany“AmericansŽ¡�‘X¿÷like–?ýmy“uncle“Norm“voted“for“\nixonŽ¡�‘X¿÷enthusiastically–?ýin“both“1968“andŽ¡�‘X¿÷1972.Ž¡¦�‘IÑLOOKS‘ê¨LIKE:ŽŸX-����‘IŸð9‰ffiÌÌŸãŽ�„ãŽff�Ÿõ9��Ÿú�‘²Ricš¸ãhard–{Milhous“Nixon“w˜as“the“37st“American“Presiden˜t.–âÒ.“.“.“Man˜y‘{AmericansŽ¡�‘lik•¸ãe›UUm“y˜uncle˜Norm˜v“oted˜for˜Nixon˜en“th“usiastically˜in˜b�Goth˜1968˜and˜1972.ŽŽŽŽ’i„ãŽffŽžff‰ffiÌÌŽŽŽŽŸ#Iô�‘IÍ% ‘¿÷\beckett–?ýgained“internationalŽ¡�‘X¿÷noteriety–?ýwith“the“play“\godot“inŽ¡�‘X¿÷the–?ýearly“1950s.‘ ú\beckett“wroteŽ¡�‘X¿÷\godot,–?ýhe“said,“as“a“diversion“fromŽ¡�‘X¿÷the–?ýnovels“he“was“then“writing.‘ úIŽ¡�‘X¿÷have–?ýseen“this“play“at“the“\ART“inŽ¡�‘X¿÷Cambridge,–?ýMassachusetts.‘ úThe“\ARTŽ¡�‘X¿÷is–?ýoften“disappointing,“but“I“likedŽ¡�‘X¿÷their–?ýproduction“of“\godot.Ž¡¦�‘IÑLOOKS‘ê¨LIKE:ŽŸ&X-����‘IŸÞ9‰ffiÌÌŸ>ãŽ�„>ãŽff�Ÿã9��Ÿè�‘²Sam•¸ãuel›ðBec“k“ett˜gained˜in“ternational˜noteriet“y˜with˜the˜pla“y˜ÎWaiting–FCfor“Go‘ÿ}'dot‘óȲinŽ¡�‘the–«8early“1950s.‘sqBec•¸ãk“ett–«8wrote“ÎGo‘ÿ}'dot²,›À±he“said,˜as“a“divš¸ãersion“from“the“no˜v˜els“heŽ¡�‘wš¸ãas–¾Ùthen“writing.‘?žI‘¾³ha˜v˜e“seen“this“pla˜y“at“the“American“Rep�Getrory“Theater“(AR‘ÿ*ªT)Ž¡�‘in›´­Cam•¸ãbridge,‘̃Massac“h“usetts.‘�ÐThe˜AR‘ÿ*ªT‘´•is˜often˜disapp�Goin“ting,‘̃but˜I‘´•lik“ed˜theirŽ¡�‘pro�Gduction–UUof“ÎGo‘ÿ}'dot².ŽŽŽŽ’i„>ãŽffŽžff‰ffiÌÌŽŽŽŽŸ+Ø-�‘XÍ\newtextmacro–¸¶{�¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘7ZöÍ}{�¸hÎinitial‘‰¸iŽ‘"ŸBÍ}[�¸hÎsubse‘ÿ}'quent‘òظiŽ‘6xtÍ]“²de nes“an“abbrevia-Ž����‘“bÌ\newtextmacroŽŽŽŽŽŸ�’ø²2ŽŽŒ‹ � ª� ýs o� ý´�‘I²tion–UUmacro�“¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘> ²of“category‘xâó%m#½R cmss10ÐGeneric².ޤ �‘XÍ\newname–ÏÎ{�¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘7ZöÍ}{�¸hÎinitial‘‰¸iŽ‘"ŸBÍ}[�¸hÎsubse‘ÿ}'quent‘òظiŽ‘6xtÍ]“²de nes“an“abbreviationŽ����‘3PÌ\newnameŽŽŽŽ¡�‘I²macro�‘UU¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘> ²of‘UUcategory‘xâÐName².Ž¡�‘XÍ\newbook–ÏÎ{�¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘7ZöÍ}{�¸hÎinitial‘‰¸iŽ‘"ŸBÍ}[�¸hÎsubse‘ÿ}'quent‘òظiŽ‘6xtÍ]“²de nes“an“abbreviationŽ����‘3PÌ\newbookŽŽŽŽ¡�‘I²macro�‘UU¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘> ²of–UUcategory“ÎBo‘ÿ}'ok².Ž¡�‘XÍ\newwork–c{�¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘7ZöÍ}{�¸hÎbiblio–ÿ}'gr“aphy‘“çkey‘â}¸iŽ‘MGVÍ}{�¸hÎinitial‘‰¸iŽ‘"ŸBÍ}[�¸hÎsubse‘ÿ}'quent‘òظiŽ‘6xtÍ]“²de nesŽ����‘3PÌ\newworkŽŽŽŽ¡�‘I²an–f>abbreviation“macro�“¸hÎ\c‘ÿ}'ommand‘‰¸iŽ‘<'r²of“category“ÎWork².‘"W‘ÿ*ªorks“can“b�Ge“distinguishedŽ¡�‘Ifrom›òUb•Go“oks˜b�¸ãy˜b“eing˜listed˜in˜a˜separate˜bibliograph�¸ãy‘ÿ*ª,–Y”e.g.,“of˜primary˜w�¸ãorksŽ¡�‘Ireferred–à to“b�¸ãy“short“titles“in“the“main“text.‘ºãThe“de ning“command“thereforeŽ¡�‘Irequires–¡‹a“B‘ÿþó'Œ-ø cmcsc10Òi�¹Db‘ÿ32²T�‘þU>ŸŒEŽ‘ãxX‘¡6kš¸ãey“as“an“argumen˜t.‘VjThe“ rst“use“of“the“w˜ork“serv˜es“as“aŽ¡�‘Icitation–UUto“that“bibliographš¸ãy‘ÿ*ª,“and“all“uses“of“the“w˜ork“generate“an“index“en˜try‘ÿ*ª.Ž¡�‘Xó(ŽM§ cmbxsl10ÓW‘ÿ «arning:‘Šéó)ÅU�é cmssi10ÔW•¸ão“rkÏs–aæare“not“yš¸ãet“fully“implemen˜ted.‘—zPresen˜tly“they“are“the“sameŽ¡�‘Ias‘UUÔBo�GokÏs.ŽŸ!Ä��‘IÊ3Ž‘aLËDate‘ffMarksŽ©ç�‘I²These–UUv‘ÿqÇarianš¸ãts“of“abbreviation“macros“correctly“handle“follo˜wing“p•Gerio“ds.Ž����‘/Ó>Ì\PMŽŽŽŽ��¡��‘/Ó>\AMŽŽŽŽ��Ÿ��‘/Ó>\BCŽŽŽŽ��Ÿ$��‘/Ó>\ADŽŽŽŽŸ�‘IÍ% ‘?ñShe–?ýleft“for“work“before“6\AM,“butŽ¡�‘c?ñdid–?ýnot“arrive“until“12\PM.‘ úTheŽ¡�‘c?ñinterval–?ý5\BC--5\AD“is“one“yearŽ¡�‘c?ñshorter–?ýthan“the“intervalŽ¡�‘c?ñ95\AD--105\AD.Ž¡Ÿ �‘IÑLOOKS‘ê¨LIKE:ŽŸX-����‘IŸð9‰ffiÌÌŸãŽ�„ãŽff�Ÿõ9��Ÿú�‘²She–`%left“for“wš¸ãork“b�Gefore“6‘ÿþó*Œ-ø cmcsc10Õa.m².,‘¢Ùbut“did“not“arriv˜e“un˜til“12‘ÿþÕp.m².‘’7The“in˜terv‘ÿqÇal“5Ž¡�‘Õb.c².{5‘ÿþÕa.d².‘qÇis–UUone“yš¸ãear“shorter“than“the“in˜terv‘ÿqÇal“95–ÿþÕa.d².{105“Õa.d².ŽŽŽŽ’i„ãŽffŽžff‰ffiÌÌŽŽŽŽŸ+ið��‘IÊ4Ž‘aLËProgrammers'‘ffin�ŒÌterfaceަ�‘IÍ\ResetAbbrevs–ªi{�¸hÎc–ÿ}'ate“gory‘“çlist‘òظiŽ‘<»FÍ}“²resets“all“abbreviation“macros“of“the“listed“cat-Ž����‘ûÙÌÌ\TMNewCategoryŽŽŽŽ��¡��‘“b\ResetAbbrevsŽŽŽŽ��Ÿ��‘í­ \TMFontŽŽŽŽ��Ÿ$��‘í­ \TMHookŽŽŽŽ��Ÿ0��‘èót\TMResetŽŽŽŽ¡�‘I²egories.‘t¾The–«§list“is“comma-separated,‘Ÿ'EŽ‘ãxX2e˜and˜declare˜the˜pac“k‘ÿqÇage.ަ��‘I±19Ž‘Sª®Ì\NeedsTeXFormat{LaTeX2e}Ž¡��‘I±20Ž‘Sª®Ì\ProvidesPackage{abbrevs}[\PPOptArg]ŽŸ!Ä��‘IÊ6Ž‘aLËRequiremen�ŒÌtsŽŸç��‘I±21Ž‘Sª®Ì\NeedsTeXFormat{LaTeX2e}[1995/12/01]Ž¡��‘I±22Ž‘Sª®Ì\RequirePackage{moredefs}ŽŽŸ�’ø²4ŽŽŒ‹&€ ª� ýs o� ý´��‘IÊ7Ž‘aLËBasicsŽŸç�‘I²Let's–ßGb�Gegin“with“the“tricš¸ãky“part“of“inserting“space“based“on“con˜text.‘�The“strat-ޤ �‘Iegy–ãis:‘�W rst,‘�if“the“folloš¸ãwing“c˜haracter“is“not“in“Í\nocorr“²and“the“curren˜t“fon˜t“isŽ¡�‘Inot–0—slan�¸ãted,›gginsert“an“italic“correction“with“Í\sw@slant²;‘ž8second,˜if“the“follo�¸ãwingŽ¡�‘Ic�¸ãharacter–UUis“not“in“Í\nospacelist²,“insert“a“space.Ž¡�‘XAgain,–UUin“pseudo•Gco“de:ŽŸ�‘M¹–ÌLET–¹–T“=“the“next“tokenޤ �‘M¹–IF–¹–(slanted“font“is“current“AND“T“NOT“IN“\nocorrlist)Ž¡�‘W,Â\sw@slantŽ¡�‘M¹–FIŽ¡�‘M¹–IF–¹–T“NOT“IN“\nospacelistŽ¡�‘W,Â\spaceŽ¡�‘M¹–FIޤ ©����‘“b\nospacelistŽŽŽ‘I²Put–½øthese“in“the“order“of“their“frequency‘ÿ*ª.‘«¯An�¸ãything“in“Í\nocorrlist“²should“alsoŽ¡�‘Ib�Ge–UUin“here,“most“lik�¸ãely‘ÿ*ª.ŽŸ��‘I±23Ž‘Sª®Ì\newcommand\nospacelist‘¹–{%ޤ ��‘I±24Ž‘]ÚÌ,.':;?-~!)]\bgroup\egroupŽ¡��‘I±25Ž‘Sª®Ì}ަ����‘øf \maybe@ic@spaceŽŽ���Ÿ �‘ó­ \maybe@ic@space@ŽŽŽŽŽ‘IÍ\maybe@ic@space›æh²c•¸ãhec“ks˜the˜next˜c“haracter˜and˜inserts˜an˜italic˜correction˜andŽŸ �‘Ispace–UUas“appropriate.Ž©��‘I±26Ž‘Sª®Ì\newcommand\maybe@ic@space‘¹–{%Ž¡��‘I±27Ž‘]ÚÌ\futurelet\@let@token\maybe@ic@space@Ž¡��‘I±28Ž‘Sª®Ì}ŽŸ�‘I²W‘ÿ*ªe–UU rst“call“the“kš¸ãernel's“Í\maybe@ic@²,“then“our“o˜wn“Í\maybe@space@².ަ��‘I±29Ž‘Sª®Ì\newcommand\maybe@ic@space@‘¹–{%Ž¡��‘I±30Ž‘]ÚÌ\maybe@ic@Ž¡��‘I±31Ž‘]ÚÌ\maybe@space@Ž¡��‘I±32Ž‘Sª®Ì}ŽŸ����‘“b\maybe@spaceŽŽ���Ÿ �‘ÙÌ\maybe@space@ŽŽŽŽŽ‘IÍ\maybe@space–wU²and“Í\maybe@space@“²are“vš¸ãery“similar“to“the“k˜ernel's“analogsޤ �‘IÍ\maybe@ic–ü÷²and“Í\maybe@ic@²,‘&ßbut“they“c•¸ãhec“k–ü÷Í\nospacelist“²instead“of‘ÄÍ\nocorr².Ž¡�‘IÍ\t@st@ic–UU²sets“Í\@tempswa“²false“if“Í\@let@token“²is“in“Í\nospacelist².ަ��‘I±33Ž‘Sª®Ì\newcommand\maybe@space‘¹–{%ޤ ��‘I±34Ž‘]ÚÌ\futurelet\@let@token\maybe@space@Ž¡��‘I±35Ž‘Sª®Ì}Ž¡��‘I±36Ž‘Sª®Ì\newcommand\maybe@space@‘¹–{%Ž¡��‘I±37Ž‘]ÚÌ\@tempswatrueŽ¡��‘I±38Ž‘]ÚÌ\expandafter‘,Â\@tforŽ¡��‘I±39Ž‘f‘Ì\expandafter‘¹–\reserved@aŽ¡��‘I±40Ž‘f‘Ì\expandafter‘¹–:%Ž¡��‘I±41Ž‘f‘Ì\expandafter‘¹–=%Ž¡��‘I±42Ž’£ý¤Ì\nospacelistŽ¡��‘I±43Ž’£ý¤Ì\do‘¹–\t@st@icŽ¡��‘I±44Ž‘]ÚÌ\if@tempswaŽ¡��‘I±45Ž‘f‘Ì\spaceŽ¡��‘I±46Ž‘]ÚÌ\fiŽ¡��‘I±47Ž‘Sª®Ì}ŽŽŸ�’ø²5ŽŽŒ‹/» ª� ýs o� ý´��‘IÊ8Ž‘aLËCategoriesŽ©ç����‘ÙÌÌ\ResetAbbrevsŽŽ���Ÿ �‘ý 6\TMNewCategoryŽŽŽŽ���¤ ¡�‘ Lø\TMResetAllŽŽŽŽ���¤ ¡¡�‘Ž\TMHookAllŽŽŽŽŽ‘I²Eacš¸ãh–1Åtime“an“abbreviation“of“category‘URÐC‘1¼²is“de ned,‘8ásome“tok˜ens“are“added“to“theŽŸ �‘Icon•¸ãten“ts–UUof“Í\TMReset�¸hÎC‘sè¸iŽ‘bÕ².ŽŸ��‘I±48Ž‘Sª®Ì\ReserveCS\TMResetAllޤ ��‘I±49Ž‘Sª®Ì\ReserveCS\TMHookAllŽ¡��‘I±50ŽŽ¡��‘I51Ž‘Sª®Ì\newcommand\TMNewCategory–¹–[1]“{%“args:‘ s,categoryŽ¡��‘I±52Ž‘]ÚÌ\expandafter\ReserveCS\csname‘¹–TMReset#1\endcsnameŽ¡��‘I±53Ž‘]ÚÌ\expandafter\ReserveCS\csname‘¹–TMFont#1\endcsnameŽ¡��‘I±54Ž‘]ÚÌ\expandafter\ReserveCS\csname‘¹–TMHook#1\endcsnameŽ¡��‘I±55Ž‘]ÚÌ\expandafter\g@addto@macroŽ¡��‘I±56Ž‘f‘Ì\expandafter\TMResetAll\csname‘¹–TMReset#1\endcsnameŽ¡��‘I±57Ž‘Sª®Ì}Ž¡��‘I±58Ž‘Sª®Ì\newcommand\ResetAbbrevs–¹–[1]“{%“args:“category-listŽ¡��‘I±59Ž‘]ÚÌ\@for\sc@t@a:=#1\do‘¹–{%Ž¡��‘I±60Ž‘f‘Ì\@ifundefined{TMReset\sc@t@a}‘¹–{%Ž¡��‘I±61Ž‘yw^Ì\MonsterWarning{abbrevs}{The–¹–abbreviation“category“\sc@t@a\spaceŽ¡��‘I±62Ž’ï—Ìis–¹–not“defined!}%Ž¡��‘I±63Ž‘p2Ì}{%‘¹–ELSEŽ¡��‘I±64Ž‘p2Ì\@nameuse{TMReset\sc@t@a}%Ž¡��‘I±65Ž‘f‘Ì}%Ž¡��‘I±66Ž‘]ÚÌ}%Ž¡��‘I±67Ž‘Sª®Ì}ŽŸ!Ä��‘IÊ9Ž‘aLËSuxesަ����‘ÙÌÌ\TMLongSuffixŽŽ���Ÿ �‘ý 6\TMShortSuffixŽŽŽŽŽ‘I²When–Þæa“text“macro“is“created,‘Jt•¸ãw“o–Þæadditional“commands“with“these“suxes“areŽŸ �‘Ialso–UUcreated.‘qÇF‘ÿ*ªor“example,“Í\foo²,“Ífoolong²,“and“Ífooshort².ŽŸ��‘I±68Ž‘Sª®Ì\newcommand\TMLongSuffix‘¹–{%Ž¡��‘I±69Ž‘]ÚÌlong%Ž¡��‘I±70Ž‘Sª®Ì}Ž¡��‘I±71Ž‘Sª®Ì\newcommand\TMShortSuffix‘¹–{%Ž¡��‘I±72Ž‘]ÚÌshort%Ž¡��‘I±73Ž‘Sª®Ì}ŽŸ!Ä��‘IÊ10Ž‘ifdPlain‘ffabbreviationsަ�‘I²The›¶ýc•¸ãhec“king˜that˜Í\sw@slant˜²do•Ges˜for˜skips˜and˜p“enalties˜on˜the˜list˜is˜going˜to˜b“eޤ �‘Isup�Ger uous–žUfor“the“applications“I‘žBimagine.‘LÈBut“w�¸ãe“trade“that“for“a“more“ exibleŽ¡�‘Imacro.Ž¡�‘XW‘ÿ*ªe–3don't“c•¸ãhec“k–3for“Í\nocorr“²or“an“emptš¸ãy“b•Go“dy;‘¡øma˜yb“e–3w˜e“should“when“it'sŽ¡�‘I rst–v¬de ned;‘‡Wbut“I‘v£ran“in�¸ãto“really“hairy“expansion“troubles“trying“to“do“that“andŽ¡�‘Iuse‘UUÍ\DeclareRobustCommand².‘qÇFIX.ŽŸ����‘îótÌ\TMNewAbbrevPlainŽŽŽ‘I²Things–†sare“easy“when“the“abbreviation“došGesn't“switc�¸ãh“b˜et•¸ãw“een–†sinitial“and“subse-Ž¡�‘Iquen�¸ãt‘UUexpansions.ŽŸ��‘I±74Ž‘Sª®Ì\newcommand\TMNewAbbrevPlain–¹–[3]“{%“args:“\csname“category“bodyޤ ��‘I±75Ž‘]ÚÌ\@ifdefinable–¹–#1“{%Ž¡��‘I±76Ž‘f‘Ì\DeclareRobustCommand–¹–#1“{%Ž¡��‘I±77Ž‘p2Ì\@bsphackŽŽŸ�’ø²6ŽŽŒ‹8æ ª� ýs o� ý´��‘I±78Ž‘p2Ì\@nameuse{TMHook#2}%ޤ ��‘I±79Ž‘p2Ì\@esphackŽ¡��‘I±80Ž‘p2Ì\ifmmodeŽ¡��‘I±81Ž‘yw^Ì\def\sc@t@a‘¹–{%Ž¡��‘I±82Ž’‚êŠÌ\nfss@text{\@nameuse{TMFont#2}#3}%Ž¡��‘I±83Ž‘yw^Ì}%Ž¡��‘I±84Ž‘p2Ì\elseŽ¡��‘I±85Ž‘yw^Ì\def\sc@t@a‘¹–{%Ž¡��‘I±86Ž’‚êŠÌ\leavevmodeŽ¡��‘I±87Ž’‚êŠÌ\begingroupŽŸ‹¬�‘I²W‘ÿ*ªe–Ç�can“skip“the“c•¸ãhec“k–Ç�for“emptiness“and“conš¸ãtaining“just“a“space,‘ãösince“those“w˜on'tޤ �‘Io�Gccur–eõwith“abbreviation“macros“except“bš¸ãy“acciden˜t,‘jI‘eñthink.‘£¨W‘ÿ*ªe“pro�Gceed“straigh˜tŽ¡�‘Ito–UUa“c•¸ãhec“k–UUfor“Í\nocorr²s.Ž© ‹¬��‘I±88Ž’Œ]¶Ì\tm@check@nocorr‘¹–#3\nocorr\@nilޤ ��‘I±89Ž’Œ]¶Ì\@nameuse{TMFont#2}%Ž¡��‘I±90Ž’Œ]¶Ì\tm@check@leftŽ¡��‘I±91Ž’Œ]¶Ì#3%Ž¡��‘I±92Ž’Œ]¶Ì\tm@check@rightŽ¡��‘I±93Ž’‚êŠÌ\endgroupŽ¡��‘I±94Ž‘yw^Ì}%Ž¡��‘I±95Ž‘p2Ì\fiŽ¡��‘I±96Ž‘p2Ì\sc@t@aŽ¡��‘I±97Ž‘f‘Ì}%Ž¡��‘I±98Ž‘]ÚÌ}%Ž¡��‘I±99Ž‘Sª®Ì}ŽŸ£����‘ó­ \tm@check@nocorrŽŽŽ‘I²This–corresp�Gonds“to“the“k�¸ãernel's“Í\check@nocorr@².‘_W‘ÿ*ªe“simply“substitute“Í\maybe@ޤ �‘Iic@space– ö²and“Í\maybe@space“²in“where“necessary–ÿ*ª.‘˜©W“e– öalso“use“Í\tm@check@leftŽ¡�‘I²and–UUÍ\tm@check@right“²instead“of“Í\check@icl“²and“Í\check@icr².ަ��‘E�±100Ž‘Sª®Ì\NewName{tm@check@nocorr}–¹–{#1#2\nocorr#3\@nil}“{%ޤ ��‘E�±101Ž‘]ÚÌ\let\tm@check@left\maybe@icŽ¡��‘E�±102Ž‘]ÚÌ\def\tm@check@right‘¹–{\aftergroup\maybe@ic@space}%Ž¡��‘E�±103Ž‘]ÚÌ\def\reserved@a‘¹–{\nocorr}%Ž¡��‘E�±104Ž‘]ÚÌ\def\reserved@b‘¹–{#1}%Ž¡��‘E�±105Ž‘]ÚÌ\def\reserved@c‘¹–{#3}%Ž¡��‘E�±106Ž‘]ÚÌ\ifx\reserved@a\reserved@bŽ¡��‘E�±107Ž‘f‘Ì\ifx\reserved@c\@emptyŽ¡��‘E�±108Ž‘p2Ì\let\check@icl\@emptyŽ¡��‘E�±109Ž‘f‘Ì\elseŽ¡��‘E�±110Ž‘p2Ì\let\check@icl\@emptyŽ¡��‘E�±111Ž‘p2Ì\def\check@icr‘¹–{\aftergroup\maybe@space}%Ž¡��‘E�±112Ž‘f‘Ì\fiŽ¡��‘E�±113Ž‘]ÚÌ\elseŽ¡��‘E�±114Ž‘f‘Ì\ifx\reserved@c\@empty\elseŽ¡��‘E�±115Ž‘p2Ì\def\tm@check@right‘¹–{\aftergroup\maybe@space}%Ž¡��‘E�±116Ž‘f‘Ì\fiŽ¡��‘E�±117Ž‘]ÚÌ\fiŽ¡��‘E�±118Ž‘Sª®Ì}ŽŸ ­˜��‘IÊ11Ž‘ifdCon�ŒÌtrol‘ffb•s3o“oleansŽŸç����‘Ü Ì\ifTMInhibitSwitchingŽŽ���Ÿ �‘Ò™ð\TMInhibitSwitchingtrueŽŽŽŽ���¤ ¡�‘ÍàZ\TMInhibitSwitchingfalseŽŽŽŽ���¤ ¡¡�‘øf \ifTMAlwaysLongŽŽŽŽ���¤ ¡¡¡�‘îót\TMAlwaysLongtrueŽŽŽŽ���¤ ¡¡¡¡�‘ê9Þ\TMAlwaysLongfalseŽŽŽŽŽ‘I²Con�¸ãtrol‘UUb•Go“oleans.ŽŽŸ�’ø7ŽŽŒ‹C ª� ýs o� ý´��‘E�±119Ž‘Sª®Ì\newboolean{TMInhibitSwitching}–¹–%“initially“falseŽ© ��‘E�±120Ž‘Sª®Ì\newboolean{TMAlwaysLong}‘!%–¹–initially“falseŽŸ!Ä��‘IÊ12Ž‘ifdSwitc�ŒÌhing‘ffabbreviationsŽŸ4 £����‘àÆ²Ì\TMNewAbbrevSwitcherŽŽŽ‘I²Here–RFis“the“main“abbreviation“macro“de ner.‘hšIt“wš¸ãorks“b˜y“de ning“t˜w˜o“macrosޤ �‘Ione–' for“the“initial“text“and“one“for“the“subsequen�¸ãt“text,‘\2and“setting“up“a“thirdŽ¡�‘Iuser–÷Wcommand“to“c�¸ãhošGose“b˜et•¸ãw“een–÷Wthe“t•¸ãw“o–÷Was“appropriate.‘Rr(The“ rst“t•¸ãw“o–÷Ware“madeŽ¡�‘Iaš¸ãv‘ÿqÇailable–sto“the“user“b˜y“explicit“call“as“w˜ell.)‘ËThe“function“used“to“de ne“theŽ¡�‘It•¸ãw“o–{ímacros“is“passed“as“the“ rst“argumen�¸ãt“to“this“function.‘åŽSupplied“de nersŽ¡�‘Iare–H5Í\TMNewAbbrevPlain“²(I‘H1will“write“Í\NewAbbrevWork“²and“Í\NewAbbrevDotcloseŽ¡�‘I²so�Gon–ÍžFIX).“The“second“argumenš¸ãt“is“the“category|eac˜h“de ner“tak˜es“at“least“threeŽ¡�‘Iargumen�¸ãts:‘0 a–´vcommand“name,›Ì?a“category‘ÿ*ª,˜and“the“con•¸ãten“t.‘�+The–´vthird“argumen�¸ãtŽ¡�‘Iis–Eòthe“user“macro“name“to“b�Ge“created,‘Iand“the“fourth“and“ fth“argumen�¸ãts“are“theŽ¡�‘Iinitial–UUand“subsequen�¸ãt“expansion“texts.Ž¡�‘XThe–?e rst“part“sets“three“tok�¸ãen“v‘ÿqÇariables“to“the“three“command“sequences“thatŽ¡�‘Ithis–Öçmacro“is“going“to“de ne|the“user,–÷Kinitial,“and–Öçsubsequen�¸ãt“commands.‘ö|TheŽ¡�‘Iuser–Ùxcommand“c•¸ãhec“ks–Ùxits“assošGciated“b˜o˜olean“v‘ÿqÇariable“to“see“whether“it“has“b˜eenŽ¡�‘Icalled–UUb�Gefore.‘qÇIf“so,“it“calls“the“\subsequen�¸ãt"“macro;“if“not,“the“\initial"“macro.ŽŸ��‘E�±121Ž‘Sª®Ì\newcommand\TMNewAbbrevSwitcher–¹–[5]“{%“args:“maker“category“csname“initial“subseq.ަ��‘E�±122Ž‘]ÚÌ\expandafter#1\csname‘¹–#3\TMLongSuffix\endcsname{#2}{#4}ަ��‘E�±123Ž‘]ÚÌ\expandafter#1\csname‘¹–#3\TMShortSuffix\endcsname{#2}{#5}ަ��‘E�±124Ž‘]ÚÌ\newboolean{@#3@mentioned}ަ��‘E�±125Ž‘]ÚÌ\expandafter\g@addto@macro\csname–¹–TMReset#2\endcsname“{%ަ��‘E�±126Ž‘f‘Ì\global\csname‘¹–@#3@mentionedfalse\endcsnameަ��‘E�±127Ž‘]ÚÌ}ŽŸ�‘I²W‘ÿ*ªe'vš¸ãe–ý-created“the“initial“and“subsequen˜t“macros,‘Ïand“the“b•Go“olean.‘TdNo˜w–ý-w˜e“de neŽ¡�‘Ithe–UUuser“macro.›qÇThis“de nition“is“tric�¸ãky‘ÿ*ª.˜In“pseudo•Gco“de,–UUit“lo�Goks“lik�¸ãe“this:ŽŸ�‘M¹–Ìif–¹–#3“definable“thenަ�‘W,Â#3–¹–:=“{“if“(#3-mentioned“AND“NOT“TMAlwaysLong)“thenަ�’†lž#3-shortަ�‘|ùrelseަ�’†lžif–¹–NOT“TMInhibitSwitching“then“#3-mentioned“:=“(global)“trueަ�’†lž#3-longަ�‘|ùrfi‘¹–}ަ�‘M¹–fiŽ¡�‘P½œ²I'm–not“sure“this“is“an�¸ãy“more“readable“than“a“sea“of‘Ë#Í\expandafter“\noexpand²s.ŽŸ��‘E�±128Ž‘]ÚÌ\expandafter\@ifdefinable\csname–¹–#3\endcsname“{%ަ��‘E�±129Ž‘Sª®Ì%‘K™`is–¹–##1“below:ަ��‘E�±130Ž‘f‘Ì\EExpand\csname–¹–#3\endcsname\In“{%ަ��‘E�±131Ž‘Sª®Ì%‘YÆ"####1:ަ��‘E�±132Ž‘f‘Ì\EExpand\csname–¹–if@#3@mentioned\endcsname\In“{%ަ��‘E�±133Ž‘Sª®Ì%‘YÆ"########1:ަ��‘E�±134Ž‘f‘Ì\EExpand\csname–¹–#3\TMShortSuffix\endcsname\In“{%ަ��‘E�±135Ž‘Sª®Ì%‘YÆ"################1:ަ��‘E�±136Ž‘f‘Ì\EExpand\csname–¹–@#3@mentionedtrue\endcsname\In“{%ަ��‘E�±137Ž‘Sª®Ì%‘YÆ"################################1:ŽŽŸ�’ø²8ŽŽŒ‹ Li ª� ýs o� ý´��‘E�±138Ž‘f‘Ì\EExpand\csname–¹–#3\TMLongSuffix\endcsname\In“{%ޤ ��‘E�±139Ž‘Sª®Ì%‘Ÿî\gdef\{%Ž¡��‘E�±140Ž‘p2Ì\gdef##1{%‘ s,must–¹–be“NO“SPACE“before“`{'“!Ž¡��‘E�±141Ž‘yw^Ì\@tempswafalseŽ¡��‘E�±142Ž‘Sª®Ì%‘!\if@mentionedŽ¡��‘E�±143Ž‘yw^Ì####1%Ž¡��‘E�±144Ž’‚êŠÌ\ifTMAlwaysLong\elseŽ¡��‘E�±145Ž’Œ]¶Ì\@tempswatrueŽ¡��‘E�±146Ž’‚êŠÌ\fiŽ¡��‘E�±147Ž‘yw^Ì\fiŽ¡��‘E�±148Ž‘yw^Ì\if@tempswaŽ¡��‘E�±149Ž‘Sª®Ì%‘*†F\def\sc@t@a‘¹–{\short}%Ž¡��‘E�±150Ž’‚êŠÌ\def\sc@t@a‘¹–{########1}%Ž¡��‘E�±151Ž‘yw^Ì\elseŽ¡��‘E�±152Ž’‚êŠÌ\ifTMInhibitSwitching\elseŽ¡��‘E�±153Ž‘Sª®Ì%‘3ùr\global\@@mentionedtrueŽ¡��‘E�±154Ž’Œ]¶Ì\global‘¹–################1%Ž¡��‘E�±155Ž’‚êŠÌ\fiŽ¡��‘E�±156Ž‘Sª®Ì%‘*†F\def\sc@t@a‘¹–{\long}%Ž¡��‘E�±157Ž’‚êŠÌ\def\sc@t@a‘¹–{################################1}%Ž¡��‘E�±158Ž‘yw^Ì\fiŽ¡��‘E�±159Ž‘yw^Ì\sc@t@aŽ¡��‘E�±160Ž‘p2Ì}%‘,Âclose‘¹–\gdefŽ¡��‘E�±161Ž‘f‘Ì}}}}}%–¹–close“\EExpand...\In'sŽ¡��‘E�±162Ž‘]ÚÌ}%‘!close‘¹–\@ifdefinableŽ¡��‘E�±163Ž‘Sª®Ì}ŽŸ�‘XÓW‘ÿ «arning:‘ÍÏThe–¤Øó+ßê cmmi10µx–Dz=“µy��[ÙŸü^ÿ±2Ž‘-¡²mathŽ¡�‘IÎsubse‘ÿ}'quent‘H-µx–Dz=“µy��[ÙŸü^ÿ±2Ž‘-¡²mathŽ¡�‘IÎsubse‘ÿ}'quent‘H-²$realdollarŽ¡�‘IÎsubse‘ÿ}'quent‘H-²$realdollarŽ¡�‘IÎsubse‘ÿ}'quent‘H-²#n•¸ãum“b�GersignŽ¡�‘IÎsubse‘ÿ}'quent‘H-²#n•¸ãum“b�GersignŽŽŸ�’õÿ13ŽŽŒø† ƒ’À;説 ó+ßê cmmi10óKñ`y cmr10óÙ“ Rcmr7ùˆ>ßßßßßß