÷ƒ’À;è TeX output 2000.01.24:1302‹ÿÿÿÿ y� ý£ ?� þ�’ȇžóDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºbm“¹pac�Œqk‘ÿäage��Ÿùº¯ó!",š cmsy10¿ŽŽ��“Ÿùº¯yŽŽŽŸ�����’… ±óX«Q cmr12»Daš¬rvid–ê¨Carlisle“with“supp�SŽort“b˜y“F‘ÿVrank“Mittelbac˜hŽŽŽŽŽŸ37�’æ 1999/07/05ŽŸ:Å��‘Ró.ÂÖN ff cmbx12Ù1Ž‘jLËIn�ŒÌtro�s3ductionŽŸç�‘RóKñ`y cmr10²This–—apacš¸ãk‘ÿqÇage“de nes“commands“to“access“b�Gold“math“sym˜b�Gols.‘2vThe“basic“commandޤ �‘Ris–ìŽó/ßê cmmi10µ ‘Ð’¸6²=‘ÇóDF‰” cmmib10Å ².Ž¡�‘aÚ\bm–,‹²go�Ges“to“some“trouble“to“preserv�¸ãe“the“spacing,‘bXso“that“for“instance“Ú\bm<Ž¡�‘R²is–O{a“b�Gold“Å<“²but“with“the“correct“Ú\mathrel“²spacing“that“T�‘þU>Ÿ'EŽ‘ãxX“giv�¸ães“to“µ<².‘`9TheŽ¡�‘Rcalculations–Å6that“T�‘þU>Ÿ'EŽ‘ãxX“needs“to“do“for“Ú\bm“²can“b�Ge“quite“in•¸ãv“olv“ed–Å6and“so“a“de nitionŽ¡�‘Rform–UUis“pro�¸ãvided.Ž¡�‘aÚ\DeclareBoldMathCommand[�¸hÞmath‘“çversion‘Äc¸iŽ‘A&nÚ]{�¸hÞcmd‘‰¸iŽ‘³.Ú}{�¸hÞmath‘“çexpr‘ÿ}'ession‘Äc¸iŽ‘NzRÚ}Ž¡�‘a²De nes–F�Ú\cmd“²to“bšGe“the“b˜old“form“of“the“math“expression.‘lÛThe�“¸hÞmathŽ�‘ )Šversion‘Äc¸iŽŽ¡�‘R²defaults–UUto“`b�Gold'“(i.e.,“Ú\boldmath²).Ž¡�‘aF‘ÿ*ªor–Ômrelativš¸ãely“simple“expressions,‘î5the“resulting“de nitions“are“v˜ery“ecien˜t,‘î5forŽ¡�‘Rinstance‘UUafter:Ž¡�‘RÚ\DeclareBoldMathCommand\balpha{\alpha}Ž¡�‘R\balpha–CK²is“a“single“`mathcš¸ãhardef‘Ç'“tok˜en“prošGducing“a“b˜old“alpha,‘Fæand“so“is“just“asŽ¡�‘Rfast–UUto“execute“as“Ú\alpha².Ž¡�‘aThe›úab�Go•¸ãv“e˜command˜is˜mainly˜in“tended˜for˜use˜in˜pac“k‘ÿqÇages.‘È·F‘ÿ*ªor˜o�GccasionalŽ¡�‘Ruse–õFin“L�Ÿýó5�‘üffóÙ“ Rcmr7±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“do�Gcumenš¸ãts,‘}and“for“compatibilit˜y“with“the“plain“T�‘þU>Ÿ'EŽ‘ãxX“supp�Gort“for“theŽ¡�‘Rmath•¸ãtime›à™fon“ts,‘÷òa˜`user-lev“el'˜v“ersion,‘÷òÚ\bmdefine˜²is˜pro“vided˜that˜is˜equiv‘ÿqÇalen“t˜to:Ž¡�‘RÚ\DeclareBoldMathCommand[bold]².Ž¡�‘aIf–Õéthere“is“a“`heaš¸ãvy'“math“v˜ersion“de ned“(usually“accessed“b˜y“a“user-commandŽ¡�‘RÚ\heavymath²)–nÑthen“a“similar“command“Ú\hm“²is“de ned“whic�¸ãh“access“these“`ultra“b�Gold'Ž¡�‘Rfon•¸ãts.‘jßCurren“tly–@œthis“is“probably“only“useful“with“the“`mathš¸ãtime“plus'“fon˜t“collec-Ž¡�‘Rtion.‘HDe nitions–Ø3of“commands“that“use“these“fonš¸ãts“ma˜y“b�Ge“made“b˜y“sp�Gecifying“theŽ¡�‘Roptional–Ä‚argumenš¸ãt“`hea˜vy'“to“Ú\DeclareBoldMathCommand².‘A�Again“an“abbreviation,Ž¡�‘RÚ\hmdefine²,–UUis“proš¸ãvided,“equiv‘ÿqÇalen˜t“to:Ž¡�‘RÚ\DeclareBoldMathCommand[heavy]².Ž‘RŸff‰ff�ÿrŸ @���‘ ÷ˆŸý-:ó#q¡% cmsy6ÎŽŽ‘LÜó|{Ycmr8ÉThis–ÕX le“has“všÃŽersion“n˜um˜b�Ÿ'EŽ‘ãxX.‘4ÎIn“those“originalŽ¡�‘Rmacros,‘k]the–3Âsynš¸ãtax“for“Ú\bmdefine“²w˜as“Ú\bmdefine\balpha{\bm\alpha}“²(with“aŽ¡�‘Rnested–UUÚ\bm²).‘qÇThis“synš¸ãtax“also“w˜orks“with“this“pac˜k‘ÿqÇage.Ž©!Ä��‘RÙ2Ž‘jLËF‘þ¦fon�ŒÌt‘ffallo�s3cationŽŸç�‘R²In–1æorder“to“access“b�Gold“fonš¸ãts“in“the“simplest“and“quic˜k˜est“p�Gossible“manner,‘i theŽ¡�‘Rpacš¸ãk‘ÿqÇage–“`normally“allo�Gcates“sym˜b�Gol“fon˜ts“for“bšGold“(and“p˜ossibly“heaš¸ãvy)“fon˜ts“in˜toŽ¡�‘Rthe–n6`normal'“math“vš¸ãersion.‘¼kBy“default“it“allo�Gcates“at“most“four“fon˜ts“for“Ú\bm“²andŽ¡�‘Rat–t³most“three“fonš¸ãts“for“Ú\hm².‘ÏàThis“means“that“if“the“math˜time“plus“fon˜t“set“isŽ¡�‘Rb�Geing–\used,‘3Þsevš¸ãen“additional“sym˜b�Gol“fon˜ts“will“b�Ge“used,‘3Þin“addition“to“the“basicŽ¡�‘Rfour–(that“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“already“declares.‘‡AThe“mathš¸ãtime“pac˜k‘ÿqÇage“also“declares“an“extraŽ¡�‘Rsym•¸ãb�Gol›°ñfon“t,‘ÇØbringing˜the˜total˜to˜t“w“elv“e.‘„œThe˜maxim“um˜n“um“b�Ger˜of˜sym“b�Gol˜ÞandŽ¡�‘R²math–~¼alphabšGet“fon�¸ãts“that“can“b˜e“used“in“a“math“v�¸ãersion“is“sixteen.‘íüSo“the“ab˜o•¸ãv“eŽ¡�‘RallošGcation–<´sc�¸ãheme“do˜es“not“lea•¸ãv“e–<´ro˜om“for“manš¸ãy“extra“math“sym˜b�Gols“(suc˜h“as“theŽ¡�‘RAMS–UUsym�¸ãbšGols)“or“math“alphab˜ets“(suc�¸ãh“as“Ú\mathit²).Ž¡�‘aBefore–@Œloading“the“ó4m#½R cmss10ßbm“²pacš¸ãk‘ÿqÇage“y˜ou“ma˜y“de ne“Ú\bmmax“²and“Ú\hmmax“²to“b�Ge“suit-Ž¡�‘Rable–…†v‘ÿqÇalues,‘‘’for“instance“yš¸ãou“ma˜y“w˜an˜t“to“set“Ú\newcommand\hmmax{0}“²if“y˜ou“willŽ¡�‘Rnot–UUb�Ge“using“Ú\hm“²m•¸ãuc“h,–UUbut“yš¸ãou“do“ha˜v˜e“a“hea˜vy“math“v˜ersion“de ned.Ž¡�‘aEvš¸ãen–ü¼if“Ú\bmmax“²is“set“to“zero,‘&–Ú\bm“²will“still“access“the“correct“b�Gold“fon˜ts“(b˜yŽ¡�‘Raccessing–qÆthe“fonš¸ãts“via“Ú\boldmath²)“but“this“metho�Gd“is“slo˜w˜er,‘xãand“do�Ges“not“w˜orkŽ¡�‘Rwith–âdelimiters.‘ %Delimiters“can“only“bšGe“made“b˜old“if“the“b˜old“fon�¸ãt“has“b˜eenŽ¡�‘Rallo�Gcated.Ž¡�‘aCon•¸ãv“ersely–¥»if“yš¸ãou“ha˜v˜e“a“non“standard“fon˜t“set“that“mak˜es“a˜v‘ÿqÇailable“extra“mathŽ¡�‘Rdelimiters–“«and“accenš¸ãts“in“b�Gold“and“medium“w˜eigh˜ts“y˜ou“ma˜y“w˜an˜t“to“Þincr–ÿ}'e“aseŽ¡�‘RÚ\bmmax–UU²so“that“fonš¸ãts“are“allo�Gcated“for“y˜our“fon˜t“set.ަ��‘RÙ3Ž‘jLËF‘þ¦featuresŽŸç�‘R²In–8wmost“cases“this“pacš¸ãk‘ÿqÇage“should“w˜ork“in“a“fairly“self“explanatory“w˜a˜y‘ÿ*ª,‘>=but“thereŽ¡�‘Rare–UUsome“things“that“mighš¸ãt“not“b�Ge“ob˜vious.ŽŸþ6��‘RóÂÖN  cmbx12Á3.1Ž‘pÀIn� teraction–€with“Math“Alphab�`et“CommandsŽŸuT�‘R²As–9ðmenš¸ãtioned“ab�Go˜v˜e,‘?jÚ\bm“²go�Ges“to“some“trouble“to“try“to“mak˜e“a“command“that“isŽ¡�‘Rjust–Û;likš¸ãe“its“argumen˜t,‘ü´but“using“a“b�Gold“fon˜t.‘xThis“do�Ges“not“alw˜a˜ys“pro�Gduce“theŽ¡�‘Re ect–UUthat“yš¸ãou“migh˜t“exp�Gect.ŽŸ�‘V¹–ó5ߤN cmtt9à$1–¹–g“\bm{g}$ޤ �‘V¹–$2–¹–\mathrm{g“\bm{g}}$Ž¡�‘V¹–$3–¹–{g}“\bm{{g}}$Ž¡�‘V¹–$4–¹–\mathrm{{g}“\bm{{g}}}$Ž¡�‘V¹–$5–¹–\mathrm{g}“\bm{\mathrm{g}}$ŽŸ�‘R²pro�Gduces–UUthe“follo�¸ãwing:ŽŽŸ�’2ŽŽŒ‹ ‚ y� ý£ ?� ýä�‘R²1µg•[ÙÅg‘´&²2�ggŽ‘ xä3µg��“ÅgŽŽ‘ ‚ó²4�g���#�ÅgŽŽŽ‘J¨²5g���#�óò"V cmbx10ÂgŽŽŽŸ�‘R²In–Áƒmath“mošGde“`g'“is“e ectiv�¸ãely“a“command“that“pro˜duces“the“letter“`g'“from“theޤ �‘R`letters'–Þ=alphabšGet,‘öunless“a“Math“Alphab˜et“command“is“in“e ect,‘öin“whic�¸ãh“case“theŽ¡�‘R`g'–äWcomes“from“the“spšGeci ed“alphab˜et.‘LÚ\bm{g}“²makš¸ães“an“equiv‘ÿqÇalen˜t“command,‘úðbutŽ¡�‘Rwhic�¸ãh–Çþdefaults“to“a“bšGold“letter“alphab˜et.‘ÉÃSo“in“the“ rst“example“Ú\bm{g}“²is“b˜oldŽ¡�‘Rmath–Xitalic,‘¾but“in“the“second“example“the“Ú\mathrm“²applies“to“b�Goth“Úg“²and“Ú\bm{g}Ž¡�‘R²in–UUthe“same“w•¸ãa“y‘ÿ*ª,–UUand“so“they“are“b�Goth“roman.Ž¡�‘aÚ\bm–°Í²only“insp�Gects“the“`top“lev�¸ãel'“de nition“of“a“command,‘ѵfor“more“complicatedŽ¡�‘Rexpressions,›J and–G:an�¸ãything“inside“a“Ú{‘?ý}“²group,˜Ú\bm“²forces“b�Gold“fonš¸ãts“b˜y“essen˜tiallyŽ¡�‘Rthe–Üusame“(sloš¸ãw)“tec˜hnique“used“b˜y“the“AMS‘ÜVÚ\boldsymbol“²command“(but“Ú\bm“²stillŽ¡�‘Rtakš¸ães–¡ƒmore“care“of“the“spacing).‘VPSo“the“third“example“pro�Gduces“iden˜tical“outputŽ¡�‘Rto–UUthe“ rst“(but“T�‘þU>Ÿ'EŽ‘ãxX“tak�¸ães“more“time“pro�Gducing“it).Ž¡�‘aIn–Zthe“fourth“example“the“Ú\mathrm{\bm{g}}“²is“essenš¸ãtially“equiv‘ÿqÇalen˜t“toŽ¡�‘RÚ\mathrm{\mbox{\boldmath$g$}}².‘ ÙÞCurren�¸ãtly–Í]math“alphab�Get“settings“are“notŽ¡�‘Rpassed–ð¸do�¸ãwn“to“`nested'“math“lists,›W‘and“so“in“this“example,˜the“Ú\mathrm“²hasŽ¡�‘Rno–UUe ect,“and“a“b�Gold“math“italic“Åg‘´&²is“obtained.Ž¡�‘aSimilarly–™othe“last“example“is“equiv‘ÿqÇalen�¸ãt“to“Ú$\mbox{\boldmath$\mathrm{g}$}}Ž¡�‘R²and–UUso“in“this“case,“one“obtains“a“b�Gold“roman“Âg².Ž©þ6��‘RÁ3.2Ž‘pÀDelimitersŽŸuT�‘R²T�‘þU>Ÿ'EŽ‘ãxX–A�can“treat“cš¸ãharacter“tok˜ens“in“t˜w˜o��Ÿü^ÿ±1ŽŽ‘¾²w˜a˜ys.‘6tIf“there“is“a“preceding“Ú\left“²orŽ¡�‘RÚ\right–ñÞ²it“can“treat“them“as“a“delimiter,‘Ãotherwise“it“can“treat“them“as“a“standardŽ¡�‘Rcš¸ãharacter.‘+0F‘ÿ*ªor–��example“Ú\left<\right>“²pro�Gduces��“¸hŽ�‘eiŽŽ‘ H­²,‘«êwhic˜h“is“totally“di eren˜t“fromŽ¡�‘RÚ<>²,–UUwhic�¸ãh“pro�Gduces“µ<>².Ž¡�‘aT�‘þU>Ÿ'EŽ‘ãxX–êcan“only“do“this“for“cš¸ãharacter“tok˜ens.‘NCommands“suc˜h“as“Ú\langle“²do“notŽ¡�‘Ract–eoin“this“w•¸ãa“y‘ÿ*ª.‘!ÐThis–eomeans“that“Ú\bm“²has“to“decide“whether“to“treat“a“c�¸ãharacter“as“aŽ¡�‘Rdelimiter–é%or“not.‘M·The“rule“it“uses“is,‘þÉit“makš¸ães“a“delimiter“command“for“a“c˜haracterŽ¡�‘Rif–Ø:the“previous“tokš¸ãen“in“the“argumen˜t“w˜as“Ú\left“²or“Ú\right².‘HSo“Ú\left\bm{<}“²do�GesŽ¡�‘Rnot–UUw�¸ãork,“but“Ú\bm{\left<}“²do�Ges.ަ��‘RÁ3.3Ž‘pÀCommand‘€Argumen� tsŽŸuT�‘R²Normally–Õ¢if“a“command“takš¸ães“argumen˜ts“the“full“command,‘õµincluding“an˜y“argu-Ž¡�‘Rmen�¸ãts,–UUshould“b�Ge“included“in“Ú\bm².Ž¡�‘aSo–öDÚ\bm{\overbrace{abc}}“²(pro�Gducing����Ÿö9��“óú±u cmex10«z}|{ŽŽŸ ñÇ���‘ aÅabcŽŽŽŽŽŽŽ‘öP²)“not“Ú\bm{\overbrace}{abc}².‘T•IfŽ¡�‘Ryš¸ãou–UUdo“not“include“all“the“argumen˜ts“y˜ou“will“t˜ypically“get“the“error“message:Ž¡�‘RÚRunaway‘?ýargument?Ž¡�‘R!–?ýForbidden“control“sequence“found“while“scanning“use“of‘UU...Ž¡�‘a²Ho•¸ãw“ev“er–Aïcommands“de ned“in“terms“of“the“T�‘þU>Ÿ'EŽ‘ãxX“accenš¸ãt“and“radical“primitiv˜esŽ¡�‘RÞmay‘]*²bšGe–z­used“without“their“argumen�¸ãts.‘(åSo“Ú\bm{\hat}{a}“²pro˜duces��‘?FÂ^Ž�“µaŽŽ‘Ãݲ,‘¦ha“b˜old“accen�¸ãtŽ¡�‘Ro•¸ãv“er–mxa“non-bšGold“µa“²(compare��‘’^Ž�“µaŽŽ‘¶¨²)“whereas“Ú\bm{\hat{a}}“²mak�¸ães“b˜oth“the“µa“²and“theŽ¡�‘Raccenš¸ãt–)b�Gold,��‘jxÂ^Ž�‘ eÅaŽŽ‘ t‰².‘[¹Similarly‘ÿ*ª,‘ ealthough“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“command“Ú\sqrt“²m˜ust“b�Ge“used“withŽ‘RŸff‰ff�ÿrŸ J=����‘ "5Ÿý-:ó¹Aa¨cmr6Ê1ŽŽŽ‘LÜÉW›ÿJªell–ÕXmore“than“t•ÃŽw“o‘ÕXreally˜.ŽŽŸ�’²3ŽŽŒ‹J y� ý£ ?� ýä�‘R²its–uÂargumenš¸ãts,‘¢zÚ\sqrtsign“²ma˜y“bšGe“used“as“in“Ú\bm\sqrtsign{abc}“²to“pro˜duce��“Ÿ÷“êóàÉŒ cmbsy10ÈpŽ�‘ Ÿ÷“ꉙ™ 絟l�µabcŽŽŽŽ¤ �‘R²rather–UUthan��“Ÿ÷zP¸pŽ�‘ ª¬Ÿ÷zP‰fe 絟…°�µabcŽŽŽ‘ç¶²or��“Ÿ÷“êÈpŽ�‘ ê§Ÿ÷“ꉙ™«ÓŸl��ÅabcŽŽŽŽŽ¡�‘a²If–5˜yš¸ãou“really“need“to“mak˜e“a“command“with“argumen˜ts“use“b�Gold“fon˜ts“withoutŽ¡�‘Rmaking–Šall“of“the“argumenš¸ãts“b�Gold,‘æy˜ou“can“explicitly“reset“the“math“v˜ersion“in“theŽ¡�‘Rargumen�¸ãt,‘UUeg:ŽŸqÇ��Ÿùæd���‘WÚ\sqrt{xyz}ŽŽ��’•â\bm{\sqrt{xyz}}ŽŽ��’î?µ\bm{\sqrt{\mbox{\unboldmath$xyz$}}}ŽŽŽ¡����‘e ­ŸùÄû¸pŽ�‘mbŸùÄû‰fe2Ÿ;�µxy�[ÙzŽŽŽŽ���’®ª-ŸùÌÎÈpŽ�’¸?ŸùÌΉ™™ÕëŸ32��Åxy�^ÑzŽŽŽŽŽ���’=L?ŸùÞ•ÈpŽ�’FᑟùÞ•‰™™2Ÿ!k��µxy�[ÙzŽŽŽŽŽŽŽŽŸ ÓŠ��‘RÁ3.4Ž‘pÀBold‘€fon� tsŽ©uT�‘R²This–~5pacš¸ãk‘ÿqÇage“in˜terrogates“the“fon˜t“allošGcations“of“the“b˜old“and“heaš¸ãvy“math“v˜ersions,Ž¡�‘Rto–ñdetermine“whicš¸ãh“b�Gold“fon˜ts“are“a˜v‘ÿqÇailable.‘P^This“means“that“it“is“b�Gest“to“load“theŽ¡�‘Rpac•¸ãk‘ÿqÇage› ­Þafter‘ :²an“y˜pac“k‘ÿqÇages˜that˜de ne˜new˜sym“b�Gol˜fon“ts,‘:ƒor˜(lik“e˜the˜ßmathtimeŽ¡�‘R²pacš¸ãk‘ÿqÇage)–UUcompletely“c˜hange“the“sym˜b�Gol“fon˜t“allo�Gcations.Ž¡�‘aIf–Dino“bšGold“fon�¸ãt“app˜ears“to“b˜e“aš¸ãv‘ÿqÇailable“for“a“particular“sym˜bšGol,‘zÿÚ\bm“²will“use“`p˜o˜orŽ¡�‘Rman's–V{b�Gold'“that“is,‘VÄo•¸ãv“erprin“ting–V{the“same“cš¸ãharacter“in“sligh˜tly“o set“p�Gositions“toŽ¡�‘Rgiv�¸ãe–UUan“appšGearance“of“b˜oldness.Ž¡�‘aIn–‘the“standard“Computer“MošGdern“fon�¸ãt“set,‘+`there“is“no“b˜old“`large“sym�¸ãb˜ols'Ž¡�‘Rfonš¸ãt.‘S7In–ù¤the“`mathptm'“and“(standard)“math˜time“fon˜t“sets“there“are“no“b�Gold“mathŽ¡�‘Rfonš¸ãts.‘ØjIn–w‹the“`math˜time“plus'“fon˜t“set“there“are“suitable“fon˜ts“for“b�Gold“and“hea˜vyŽ¡�‘Rmath–¿«setting,‘Ú@and“so“Ú\bm“²and“Ú\hm“²wš¸ãork“w˜ell.‘°ÈSimilarly“in“the“basic“Lucida“NewŽ¡�‘RMath–UÊfonš¸ãt“set“there“are“no“b�Gold“math“fon˜ts,‘•çso“Ú\bm“²will“use“`p•Go“or–UÊman's“b�Gold.Ž¡�‘RHo•¸ãw“ev“er–_áif“the“Lucida“Exp�Gert“set“is“used,›b„Then“Ú\bm“²will“detect,˜and“use“the“b�GoldŽ¡�‘Rmath–UUfonš¸ãts“that“are“a˜v‘ÿqÇailable.Ž¡�‘aAs–)pdiscussed“ab�Go•¸ãv“e,‘28one›)pma“y˜set˜Ú\bmmax˜²higher˜or˜lo“w“er˜than˜its˜default˜v‘ÿqÇalueŽ¡�‘Rof–‘‡four“to“conš¸ãtrol“the“fon˜t“allo�Gcation“system.‘&]Finer“con˜trol“ma˜y“b�Ge“gained“b˜yŽ¡�‘Rexplicitly–2declaring“bšGold“sym�¸ãb˜ol“fon�¸ãts.‘]Supp˜ose“yš¸ãou“ha˜v˜e“a“sym˜b�Gol“fon˜t“`xyz'“thatŽ¡�‘Ris–Ä”aš¸ãv‘ÿqÇailable“in“medium“and“b�Gold“w˜eigh˜ts,‘á‡then“y˜ou“w˜ould“declare“this“to“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“via:Ž¡�‘RÚ\DeclareSymbolFont{extras}‘ ú{OMS}{xyz}{m}{n}Ž¡�‘R\SetSymbolFont{extras}{bold}{OMS}{xyz}{bx}{n}Ž¡�‘R²Aš¸ãt–‹·this“p�Goin˜t“the“sym˜bšGols“wil“b˜e“aš¸ãv‘ÿqÇailable“in“the“normal“math“v˜ersion,‘™Oand“theirŽ¡�‘Rb�Gold–UUv‘ÿqÇarianš¸ãts“in“Ú\boldmath².‘qÇIf“y˜ou“also“declare:Ž¡�‘RÚ\DeclareSymbolFont{boldextras}{OMS}{xyz}{bx}{n}Ž¡�‘R²That–R¤is,‘†adeclare“a“symš¸ãb�Gol“fon˜t“whose“name“is“formed“b˜y“pre xing“`b�Gold'“(or“`hea˜vy')Ž¡�‘Rto–*,an“existing“symš¸ãb�Gol“fon˜t,‘_athen“Ú\bm“²(or“Ú\hm²)“will“use“this“fon˜t“directly‘ÿ*ª,‘_aratherŽ¡�‘Rthen–UUaccessing“the“`extras'“symš¸ãb�Gol“fon˜t“via“Ú\boldmath².ŽŸþ6��‘RÁ3.5Ž‘pÀStrange‘€failuresަ�‘R²In–Ó”order“to“get“the“correct“spacing,‘ó$Ú\bm“²has“to“`in•¸ãv“estigate'–Ó”the“de nition“of“theŽ¡�‘Rcommands–Ò–in“its“argumen�¸ãt.‘é‰It“is“p�Gossible“that“some“strange“constructions“couldŽ¡�‘R`confuse'–`Þthis“in•¸ãv“estigation.‘”aIf–`Þthis“happ�Gens“then“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“will“almost“certainly“stopŽ¡�‘Rwith–]Úa“strange“error.‘IThis“should“not“happ�Gen“with“anš¸ãy“of“the“math“sym˜b�Gols“de nedŽ¡�‘Rin–c4the“base“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“or“AMS‘b÷distributions,‘“¡or“an�¸ãy“commands“de ned“in“terms“of“thoseŽ¡�‘Rsymš¸ãb�Gols–¶lusing“normal“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“math“constructs.‘<ÏHo˜w˜ev˜er“if“some“command“do�Ges“failŽ¡�‘Rto–�Swš¸ãork“inside“Ú\bm“²y˜ou“should“alw˜a˜ys“b�Ge“able“to“surround“it“with“an“extra“set“ofŽŽŸ�’4ŽŽŒ‹(* y� ý£ ?� ýä�‘R²braces– ÑÚ\bm{{\cmd}}“²rather“than“Ú\bm{\cmd}².‘YñÚ\bm“²will“not“then“attempt“to“set“theޤ �‘Rcorrect–Ñ9spacing,‘ð2so“yš¸ãou“ma˜y“need“to“set“it“explicitly‘ÿ*ª,›ð2for“instance,˜for“a“relation,Ž¡�‘RÚ\bm{\mathrel{\cmd}}².ŽŸþ6��‘RÁ3.6Ž‘pÀAMS–€pac� k‘ÿ@age“ó6ñkAH cmssbx10áamsbsyŽŸuT�‘R²The–=(Ú\bm“²command“shares“some“functionailt�¸ãy“with“the“Ú\boldsymbol“²command“fromŽ¡�‘Rthe–[yAMS‘[xL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“collection.‘„3T‘ÿ*ªo“aid“in“moš¸ãving“do�Gcumen˜ts“b�Get˜w˜een“these“t˜w˜o“pac˜k-Ž¡�‘Rages,‘ñthis–Ñäpacš¸ãk‘ÿqÇage“de nes“Ú\boldsymbol“²and“Ú\heavysymbol“²as“alternativ˜e“namesŽ¡�‘Rfor–UUÚ\bm“²and“Ú\hm².ŽŸ!Ä��‘RÙ4Ž‘jLËImplemen�ŒÌtationŽŸç�‘R²The–ÀŠcommands“Ú\bm“²and“Ú\hm“²wš¸ãork“b˜y“de ning“a“n˜um˜b�Ger“of“additional“sym˜b�Gol“fon˜tsŽ¡�‘RcorrespšGonding–ºdto“the“standard“ones“`op˜erators',–Ùa`letters',“`sym�¸ãb˜ols',“and‘ºd`largesym-Ž¡�‘RbšGols'.‘.äThe–Œ«names“for“these“sym�¸ãb˜ols“fon�¸ãts“are“pro˜duced“b�¸ãy“pre xing“the“usual“nameŽ¡�‘Rwith–UU`b�Gold'“or“`hea�¸ãvy'.Ž¡�‘aF‘ÿ*ªor–v�¸ãersion“if“they“are“to“bšGe“used“with“Ú\bm².‘Vj(In“these“cases“Ú\bm“²will“pro˜duce“theŽ¡�‘Rnormal›UUw•¸ãeigh“t˜sym“b•Gol,˜rather˜than˜using˜Ú\boldmath˜²or˜p“o“or˜man's˜b“old.)ŽŸ‡ˆ��‘Uüs±2Ž‘\ª®à\def\bm#1#2{%ŽŸ‡ˆ�‘R²This–Áœco�Gde“can“not“wš¸ãork“inside“a“group,‘­as“that“w˜ould“a ect“an˜y“sym˜b�Gol“fon˜tŽ¡�‘Rallo�Gcations,‘]so–Ÿinstead“use“some“scratcš¸ãh“macros“to“sa˜v˜e“and“restore“the“de nitionsŽ¡�‘Rof–UUcommands“wš¸ãe“need“to“c˜hange“lo�Gcally‘ÿ*ª.Ž© ÃÄ��‘Uüs±3Ž‘fÚà\let\bm@pmb\install@mathalphabetޤ ��‘Uüs±4Ž‘fÚà\let\bm@pmb@\getanddefine@fontsŽ¡��‘Uüs±5Ž‘fÚà\let\bm@pmb@@\orŽ¡��‘Uüs±6Ž‘fÚà\edef\bm@general{\f@encoding/\f@family/\f@series/\f@shape/\f@size}%ŽŸÃÄ�‘aÚ#2–´\²sp�Geci es“the“maximš¸ãum“n˜um˜b�Ger“of“fon˜ts“to“allo�Gcate“(either“Ú\bmmax“²orޤ �‘RÚ\hmmax²).‘qcFirst›T*c•¸ãhec“k˜against˜Ú\count18˜²that˜there˜are˜that˜man“y˜slots˜left,‘Tfand˜ifŽ¡�‘Rnot–UUreduce“accordingly‘ÿ*ª.‘qÇPut“the“resulting“v‘ÿqÇalue“in“Ú\@tempcnta².ަ��‘Uüs±7Ž‘fÚà\@tempcnta#2%ޤ ��‘Uüs±8Ž‘fÚà\count@-\count18%Ž¡��‘Uüs±9Ž‘fÚà\advance\count@-\@tempcntaŽ¡��‘R±10Ž‘fÚà\advance\count@15\relaxŽ¡��‘R±11Ž‘fÚà\ifnum\count@<\z@Ž¡��‘R±12Ž‘o‘à\advance\@tempcnta\count@Ž¡��‘R±13Ž‘fÚà\fiޤÃÄ�‘R²Makš¸ãe–؆Ú\or“²non-expandable,‘ùRso“w˜e“can“build“an“Ú\ifcase“²bit-b˜y-bit“in“a“sequenceŽŸ �‘Rof‘UUÚ\edef²s.ަ��‘R±14Ž‘fÚà\let\or\relaxŽ¡�‘a²Initialise–UUthe“table“(to“Ú\@gobble“²to“remo•¸ãv“e–UUthe“ rst“Ú\or²).ަ��‘R±15Ž‘fÚà\expandafter\let\csname‘¹–bm@#1table\endcsname\@gobbleŽ¡�‘a²HelpšGer–UUmacro“that“adds“the“next“en�¸ãtry“to“the“table“b˜eing“built.ަ��‘R±16Ž‘fÚà\def\bm@define##1{%ޤ ��‘R±17Ž‘o‘à\expandafter\xdef\csname‘¹–bm@#1table\endcsname{%Ž¡��‘R±18Ž‘y2à\csname‘¹–bm@#1table\endcsname\or##1}}%ŽŸÃÄ�‘a²Eac•¸ãh›UUsym“b�Gol˜fon“t˜is˜recorded˜in˜the˜math˜v“ersion˜list˜b“y˜a˜sequence˜suc“h˜as:ޤ �‘W?ýÚ\getanddefine@fonts–?ý\symsymbols“\OMS/cmsy/m/nŽ¡�‘R²Where–Mžthe“ rst“argumenš¸ãt“is“a“c˜hardef“tok˜en“carrying“the“n˜um˜bšGer“allo˜cated“(toŽ¡�‘Rsym�¸ãb�Gols,›in–¯�this“example),˜and“the“second“argumen�¸ãt“is“a“csname“whose“ÞnameŽ¡�‘R²denotes–ÎÓthe“fon�¸ãt“used.‘ÞBSo“lo�Gcally“rede ne“Ú\getanddefine@fonts“²to“compare“Ú#2Ž¡�‘R²with–UUthe“name“in“the“appropriate“slot“in“the“b�Gold“math“v�¸ãersion.ަ��‘R±19Ž‘fÚà\def\getanddefine@fonts##1##2{%ŽŸ ��‘R±20Ž‘o‘à\def\@tempa{##2}%ŽŸ‡ˆ��‘R±21Ž‘o‘à\def\@tempb####1##1####2####3\@nil{\def\@tempb{####2}}%ŽŽŸ�’²6ŽŽŒ‹H/ y� ý£ ?� ýä��‘R±22Ž‘o‘à\expandafter\expandafter\expandafterŽ© ��‘R±23Ž‘y2à\@tempb\csname‘¹–mv@#1\endcsname\@nilŽŸ�‘a²Noš¸ãw–5VÚ\@tempa“²and“Ú\@tempb“²con˜tain“the“names“of“the“fon˜ts“allo�Gcated“to“thisŽŸ �‘Rslot–UUin“the“t•¸ãw“o–UUmath“v�¸ãersions.ޤ��‘R±24Ž‘o‘à\ifx\@tempa\@tempbŽŸ�‘R²If–UUthey“are“the“same,“set“this“o set“to“¸²1,“as“a“ ag“to“use“p•Go“or–UUman's“b�Gold.Ž¡��‘R±25Ž‘y2à\bm@define\m@neަ��‘R±26Ž‘o‘à\elseŽŸ�‘R²Else–CÈmakš¸ãe“a“new“name“b˜y“adjoining“Ú#1“²to“the“name“of“the“sym˜b�Gol“fon˜t“eg,ޤ �‘RÚ\symboldsymbols–Ìv²to“matcš¸ãh“Ú\symsymbols².‘×*If“that“fon˜t“has“already“b�Geen“allo-Ž¡�‘Rcated,‘ºor–ë”if“Ú\@tempcnta“²is“p�Gositivš¸ãe“so“w˜e“can“allo�Gcate“a“new“slot“for“this“fon˜t,‘ºthenŽ¡�‘Rthe–õ’table“will“bšGe“set“with“the“o set“b˜et•¸ãw“een–õ’the“t•¸ãw“o›õ’fon“ts.‘QÜotherwise˜set˜the˜o setŽ¡�‘Rto–UUzero“(so“Ú\boldmath“²will“b�Ge“used“to“access“the“fon�¸ãt).ŽŸ��‘R±27Ž‘y2à\edef\@tempa{sym#1\expandafter\@gobblefour\string##1}%ަ��‘R±28Ž‘y2à\ifnum\@tempcnta<%ަ��‘R±29Ž’�¤ à\expandafter\ifx\csname\@tempa\endcsname\relaxަ��‘R±30Ž’šLà\@neަ��‘R±31Ž’�¤ à\elseަ��‘R±32Ž’šLà\m@neަ��‘R±33Ž’�¤ à\fiŽŸ��‘R±34Ž’‚w^à\bm@define\z@ަ��‘R±35Ž‘y2à\elseŽŸ�‘a²If–VËthe“fonš¸ãt“is“not“y˜et“allo•Gcated,‘—(allo“cate–VËit“no˜w,‘—(using“an“in˜ternal“hac˜k“in˜toŽ¡�‘RÚ\DeclareMathSymbolFont².Ž¡�‘aHo•¸ãw“ev“er–ò>bšGefore“allo˜cating“it“lo˜ok“in“the“b˜old“math“v�¸ãersion“to“see“if“it“is“theŽ¡�‘Rsame,‘©�and–˜·if“so“use“that.‘;ìF‘ÿ*ªor“example“with“Mathš¸ãtime“the“`op�Gerators'“fon˜t“in“theŽ¡�‘R`heaš¸ãvy'–¬math“v˜ersion“is“di eren˜t“from“that“in“`normal',‘Á¼but“it“is“the“same“as“theŽ¡�‘Rfon�¸ãt–ûáin“`bšGold'“(Times“b˜old).‘SöSo“rather“than“allo˜cate“Ú\symheavyoperators“²just“setŽ¡�‘Rit–UUequal“to“Ú\symboldoperators².ޤ��‘R±36Ž’‚w^à\expandafter\ifx\csname\@tempa\endcsname\relaxަ��‘R±37Ž’‹êŠà\begingroupަ��‘R±38Ž’‹êŠà\escapechar\m@neަ��‘R±39Ž’‹êŠà\edef\@tempb{\endgroupަ��‘R±40Ž’•]¶à\noexpand\split@nameަ��‘R±41Ž’•]¶à\expandafter\string\@tempb}%ަ��‘R±42Ž’‹êŠà\@tempb/\@nilŽŸ��‘R±43Ž’‡0ôà\expandafter\ifxަ��‘R±44Ž’�¤ à\csname‘¹–symbold\expandafter\@gobblefour\string##1\endcsnameަ��‘R±45Ž’�¤ à\relaxŽŸ�‘R²If–UUno“fon�¸ãt“has“bšGeen“allo˜cated“for“Ú\bm“²y�¸ãet,“then“allo˜cate“it“no�¸ãw.Ž¡��‘R±46Ž’•]¶à\expandafter\new@mathgroup\csname\@tempa\endcsnameަ��‘R±47Ž’•]¶à\expandafter\new@symbolfont\csname\@tempa\endcsnameަ��‘R±48Ž’ÉW(à\f@encoding\f@family\f@series\f@shapeŽŽŸ�’²7ŽŽŒ‹T… y� ý£ ?� ýä�‘R²Reduce–UUbš¸ãy“one“the“n˜um˜b�Ger“of“fon˜ts“w˜e“can“still“allo�Gcate.ޤ��‘R±49Ž’•]¶à\advance\@tempcnta\m@neŽ©��‘R±50Ž’‡0ôà\elseŽŸ�‘R²Else–[do“a“similar“lošGok“in�¸ãto“the“b˜old“mathgroup.‘‚×Use“Ú\bm@expand“²as“a“scratc�¸ãhŽŸ �‘Rmacro–UUto“sa•¸ãv“e–UUon“string“space.Ž¡��‘R±51Ž’�¤ à\def\bm@expand####1##1####2####3\@nil{\def\bm@expand{####2}}%ޤ ��‘R±52Ž‘o‘à\expandafter\expandafter\expandafterŽ¡��‘R±53Ž’�¤ à\bm@expand\csname‘¹–mv@bold\endcsname\@nilަ��‘R±54Ž’�¤ à\ifx\bm@expand\@tempbŽŸ�‘R²If–Öçthe“fonš¸ãt“just“found“(in“hea˜vy)“is“the“same“as“the“fon˜t“in“b�Gold“use“the“slot“(inŽŸ �‘Rnormal)–UUpreviously“allošGcated“for“the“b˜old“fon�¸ãt.‘qÇ(That“clear?)ŽŸ��‘R±55Ž’šLà\expandafter\let\csname\@tempa\expandafter\endcsnameŽ¡��‘R±56Ž’¨Dà\csname‘¹–symbold\expandafterŽ¡��‘R±57Ž’Î¾à\@gobblefour\string##1\endcsnameަ��‘R±58Ž’�¤ à\elseŽŸ�‘R²Otherwise–UUallo�Gcate“a“new“slot“for“it.ŽŸ��‘R±59Ž’šLà\expandafter\new@mathgroup\csname\@tempa\endcsnameŽ¡��‘R±60Ž’šLà\expandafter\new@symbolfont\csname\@tempa\endcsnameŽ¡��‘R±61Ž’ÉW(à\f@encoding\f@family\f@series\f@shapeŽ¡��‘R±62Ž’šLà\advance\@tempcnta\m@neަ��‘R±63Ž’�¤ à\fiŽ¡��‘R±64Ž’‡0ôà\fiަ��‘R±65Ž’‚w^à\elseŽŸ�‘R²If–UUthe“fon�¸ãt“has“bšGeen“allo˜cated“already‘ÿ*ª,“use“the“existing“allo˜cation.Ž©��‘R±66Ž’‹êŠà\PackageInfo{bm}%Ž¡��‘R±67Ž’•]¶à{Symbol–¹–font“\@tempa\space“already“defined.\MessageBreakŽ¡��‘R±68Ž’šLàNot–¹–overwriting“it}%Ž¡��‘R±69Ž’‚w^à\fiŽŸ�‘R²Whether–Nthe“fon�¸ãt“has“just“bšGeen“allo˜cated,‘O‰or“whether“it“w�¸ãas“previously“allo˜cated,ŽŸ �‘Rcompute–UUthe“o set“and“add“it“to“the“table.ަ��‘R±70Ž’‚w^à\count@\csname\@tempa\endcsnameŽ¡��‘R±71Ž’‚w^à\advance\count@-##1%Ž¡��‘R±72Ž’‚w^à\bm@define{\the\count@\relax}%Ž¡��‘R±73Ž‘y2à\fiŽ¡��‘R±74Ž‘o‘à\fi}%ޤ�‘a²The–‡math“vš¸ãersion“list“also“con˜tains“information“abšGout“math“alphab˜et“com-ŽŸ �‘Rmands,–UUbut“wš¸ãe“w˜an˜t“to“ignore“those“here,“so“.–ªª.“.ަ��‘R±75Ž‘fÚà\let\install@mathalphabet\@gobbletwoŽ¡�‘a²Haš¸ãving–eàset“up“the“lo�Gcal“de nitions,‘•Äexecute“the“list“for“the“normal“math“v˜ersion.ަ��‘R±76Ž‘fÚà\mv@normalŽŽŸ�’²8ŽŽŒ‹ ^ì y� ý£ ?� ýä�‘a²So–ˆ‡noš¸ãw“the“o sets“are“all“en˜tered“in˜to“the“table,‘•Sseparated“b˜y“Ú\or².‘ \Finish“o ޤ �‘Rthe–Étde nition“bš¸ãy“making“this“an“Ú\ifcase².‘C'Add“a“default“v‘ÿqÇalue“of“zero,‘ånso“that“an˜yŽ¡�‘Rsym•¸ãb�Gol›-ìfon“ts˜declared˜later˜will˜also˜w“ork,‘5Îas˜long˜as˜a˜b�Gold˜v“ersion˜is˜assigned˜toŽ¡�‘Rthe–UUb�Gold“math“v�¸ãersion.Ž©��‘R±77Ž‘fÚà\expandafter\xdef\csname‘¹–bm@#1table\endcsname{%ޤ ��‘R±78Ž‘o‘à\noexpand\ifcase\@tempcntaŽ¡��‘R±79Ž‘y2à\csname‘¹–bm@#1table\endcsnameŽ¡��‘R±80Ž‘o‘à\noexpand\elseŽ¡��‘R±81Ž‘y2à\z@Ž¡��‘R±82Ž‘o‘à\noexpand\fi}%ŽŸ�‘a²Put–UUthings“bacš¸ãk“as“they“w˜ere.ަ��‘R±83Ž‘fÚà\expandafter\split@name\bm@general\@nilŽ¡��‘R±84Ž‘fÚà\let\install@mathalphabet\bm@pmbŽ¡��‘R±85Ž‘fÚà\let\getanddefine@fonts\bm@pmb@Ž¡��‘R±86Ž‘fÚà\let\or\bm@pmb@@}ŽŸ����‘+ìæ\bmmaxŽŽŽ‘R²T‘ÿ*ªo›Ã�sa•¸ãv“e˜declaring˜to�Go˜man“y˜sym“b�Gol˜fon“ts,‘/do˜not˜auto-declare˜an“y˜more˜thanޤ �‘RÚ\bmmax–år²bšGold“sym�¸ãb˜ol“fonš¸ãts“in˜to“the“normal“math“v˜ersion.‘"An˜y“b�Gold“fon˜ts“not“soŽ¡�‘RallošGcated–Â_will“b˜e“accessed“via“Ú\boldmath“²whicš¸ãh“is“slo˜w˜er“and“do�Gesn˜t“w˜ork“forŽ¡�‘Rdelimiters–dand“accenš¸ãts.‘�ßIt“ma˜y“b�Ge“set“in“the“pream˜ble“with“Ú\newcommand“²but“useŽ¡�‘RÚ\chardef–UU²here“for“a“sligh�¸ãt“eciency“gain.Ž¡�‘aIf–UUthis“is“set“to“a“higher“v›ÿqÇalue“b�Gefore“this“pac�¸ãk˜age“is“loaded,“k�¸ãeep“that“v˜alue.ަ��‘R±87Ž‘\ª®à\ifx\bmmax\@undefinedޤ ��‘R±88Ž‘fÚà\chardef\bmmax=4Ž¡��‘R±89Ž‘\ª®à\fiŽŸ�‘a²If–'«there“is“no“b�Gold“math“vš¸ãersion,‘0ÍIt“is“v˜ery“easy“to“set“up“the“table,‘0Íno“need“toޤ �‘Ruse–üDall“the“tric�¸ãky“cošGde“ab˜o•¸ãv“e.‘TAlso,‘at–üDthe“end“of“the“pacš¸ãk‘ÿqÇage“rede ne“the“in˜ternalŽ¡�‘Rmacro–UUthat“Ú\bm“²uses“to“call“Ú\boldmath²,“to“use“p•Go“or–UUman's“b�Gold“instead.ަ��‘R±90Ž‘\ª®à\ifx\mv@bold\@undefinedޤ ��‘R±91Ž‘fÚà\def\bm@boldtable{\m@ne}Ž¡��‘R±92Ž‘fÚà\AtEndOfPackage{%Ž¡��‘R±93Ž‘o‘à\def\bm@gr@up#1#2{%Ž¡��‘R±94Ž‘y2à\bm@pmb{#2}}}Ž¡��‘R±95Ž‘\ª®à\elseŽŸ�‘R²Otherwise– use“the“de nition“of“Ú\bm“²ab�Go•¸ãv“e– to“set“up“Ú\bm@boldtable“²b�¸ãy“comparingޤ �‘Rthe–UUfonš¸ãts“a˜v‘ÿqÇailable“in“the“normal“and“b�Gold“math“v˜ersions.ަ��‘R±96Ž‘fÚà\bm{bold}\bmmaxŽŸ����‘'3P\mathbfŽŽŽ‘R²As–)jthe“bšGold“fon�¸ãt“has“b˜een“de ned“as“a“sym�¸ãb˜ol“fon•¸ãt,‘^omak“e–)jÚ\mathbf“²access“thatŽ¡�‘Rrather–ú�than“ha•¸ãv“e–ú�it“allo�Gcate“a“new“math“group“for“the“same“fon�¸ãt.‘ap(Just“in“caseŽ¡�‘Rthere–UUw�¸ãere“no“free“slots“wrap“this“in“an“extra“test.)ަ��‘R±97Ž‘fÚà\@ifundefined{symboldoperators}ޤ ��‘R±98Ž‘o‘à{}Ž¡��‘R±99Ž‘o‘à{\DeclareSymbolFontAlphabet\mathbf{boldoperators}}ŽŸ��‘N�±100Ž‘\ª®à\fiŽŽŸ�’²9ŽŽŒ‹ gø y� ý£ ?� ýä����‘+ìæà\hmmaxŽŽŽ‘R²Same–‡¹for“heaš¸ãvy“(but“default“to“three“this“time“(enough“for“math˜time“plus,‘”Qas“noŽ© �‘Rheaš¸ãvy–UUop�Gerators“fon˜t).ŽŸ��‘N�±101Ž‘\ª®à\ifx\hmmax\@undefinedޤ ��‘N�±102Ž‘fÚà\chardef\hmmax=3Ž¡��‘N�±103Ž‘\ª®à\fiŽŸ�‘a²Similarly–þ™if“there“is“a“heaš¸ãvy“math“v˜ersion,‘òset“up“Ú\bm@heavytable².‘TÞ(If“there“isަ�‘Rno–ˆheaš¸ãvy“math“v˜ersion,›'ädo“nothing“here,˜as“Ú\hm“²will“b�Ge“set“to“Ú\bm“²later,˜once“thatަ�‘Ris‘UUde ned.)ŽŸ��‘N�±104Ž‘\ª®à\ifx\mv@heavy\@undefinedŽ¡��‘N�±105Ž‘\ª®à\elseŽ¡��‘N�±106Ž‘fÚà\bm{heavy}\hmmaxŽ¡��‘N�±107Ž‘\ª®à\fiŽŸ����‘Lø\bm@generalŽŽŽ‘RÚ\bm–¸ ²is“prettš¸ãy“m˜uc˜h“Ú\bmdefine\bm@command“²follo˜w˜ed“b˜y“executing“Ú\bm@command².ަ�‘RIt–ÜËw�¸ãould“in“principle“bšGe“p˜ossible“to“execute“the“em�¸ãb˜oldened“tok�¸ãens“directly‘ÿ*ª,‘ôçratherަ�‘Rthan–GÒbuilding“up“a“macro“ rst,‘J†but“(as“I‘GÎlearned“the“hard“w•¸ãa“y)–GÒit's“dicult“to“doަ�‘Rthis– âin“the“midst“of“all“these“nested“Ú\if“²constructs.‘TmFirst“extract“the“cen�¸ãtral“bitަ�‘Rof–í¨co�Gde“for“Ú\hm“\bm“\hmdefine“²and“Ú\bmdefine².‘O8Note“that“in“the“case“of“the“inlineަ�‘Rvš¸ãersions–¬they“tak˜e“an“argumen˜t“and“brace“it,‘%šrather“than“relying“on“Ú\bm@generalަ�‘R²to–ƒOpicš¸ãk“up“the“argumen˜t.‘û´This“mak˜es“the“cošGde“robust“with“resp˜ect“to“prematureަ�‘Rexpansion.ŽŸ��‘N�±108Ž‘\ª®à\begingroupŽ¡��‘N�±109Ž‘\ª®à\catcode`\'=\activeŽ¡��‘N�±110Ž‘\ª®à\@firstofone{\endgroupŽ¡��‘N�±111Ž‘\ª®à\def\bm@general#1#2#3#4{%Ž¡��‘N�±112Ž‘fÚà\begingroupŽŸ�‘R²First–pÊlo�Gcally“disable“Ú\bm“²and“Ú\hm²,›w¨as“they“w�¸ãould“mess“things“up“terribly‘ÿ*ª,˜and“theަ�‘Roriginal–UUSpiv‘ÿqÇak“vš¸ãersions“used“the“syn˜tax“Ú\bmdefine\balpha{\bm\alpha}².Ž©��‘N�±113Ž‘o‘à\let\bm\@firstofoneŽ¡��‘N�±114Ž‘o‘à\let\hm\@firstofoneŽŸ�‘R²Noš¸ãw–UUinitialise“the“commands“used“to“sa˜v˜e“the“tok˜ens“constructed.ަ��‘N�±115Ž‘o‘à\global\let\bm@command\@emptyŽ¡��‘N�±116Ž‘o‘à\let\@let@token\@emptyŽŸ�‘R²As–¬¯wš¸ãe“w˜an˜t“to“expand“the“macros“to“lo�Gok“at“their“de nition“turn“o “protection.ŽŸ �‘ROtherwise–UUthe“Ú\protect“²will“b�Ge“carried“o•¸ãv“er–UUand“apply“to“the“wrong“tok�¸ãen,“eg“Ú{².ަ��‘N�±117Ž‘o‘à\let\protect\@emptyŽ¡��‘N�±118Ž‘o‘à\let\@typeset@protect\@emptyŽŸ�‘R²Set–UUup“either“b�Gold“or“hea�¸ãvyަ��‘N�±119Ž‘o‘à\def\bm@mathchoice{\bm@m@thchoice#1}%Ž¡��‘N�±120Ž‘o‘à\def\bm@group{\bm@gr@up#1}%Ž¡��‘N�±121Ž‘o‘à\let\bm@table#2%ŽŸ�‘R²Mak�¸ãe–ààsure“Ú\left“²and“Ú\right“²are“really“non“expandable,‘Ãand“not“Ú\ifx“²equal“toŽŸ �‘Ran�¸ãything‘UUelse.ަ��‘N�±122Ž‘o‘à\let\left\holdinginsertsŽŽŸ�’þÿ²10ŽŽŒ‹ s y� ý£ ?� ýä�‘R²These›UUt•¸ãw“o˜sa“v“e˜on˜the˜n“um“b•Ger˜of˜Ú\ifx˜²tests˜b“elo�¸ãw.Ž© ÌÍ��‘N�±123Ž‘o‘à\let\right\leftŽŸ ��‘N�±124Ž‘o‘à\let\mskip\mkernŽŸÌÍ�‘R²De nition–of“Ú'“²lošGcally“mo˜di ed“so“as“not“to“use“Ú\futurelet“²in“the“lo˜ok“ahead,ޤ �‘Rbut–Í;to“makš¸ãe“the“Ú\prime“²a˜v‘ÿqÇailable“at“the“top“lev˜el“to“bšGe“made“b˜old,‘ë5or“hea�¸ãvy“orŽ¡�‘Rwhatevš¸ãer.‘qÇÚ'–UU²is“lo�Gcally“activ˜e“for“this“de nition.ަ��‘N�±125Ž‘o‘à\let\bm@prime\copyŽŸ ��‘N�±126Ž‘o‘à\def'{\bm@prime\prime\relax}%ŽŸÌÍ�‘R²F‘ÿ*ªor–çooptional“argumenš¸ãt“commands.‘(This“expandable“v˜ersion“of“Ú\@ifnextchar“²isŽ¡�‘Rnot–ÞJ100%“safe,‘öbut“wš¸ãorks“for“Ú\sqrt“²unless“y˜ou“put“something“really“strange“in“theŽ¡�‘Rargumen�¸ãts.ަ��‘N�±127Ž‘o‘à\def\@ifnextchar##1##2##3##4{%ޤ ��‘N�±128Ž‘y2à\if##1##4%Ž¡��‘N�±129Ž’‚w^à\expandafter\@firstoftwoŽ¡��‘N�±130Ž‘y2à\elseŽ¡��‘N�±131Ž’‚w^à\expandafter\@secondoftwoŽ¡��‘N�±132Ž‘y2à\fiŽ¡��‘N�±133Ž‘y2à{##2##4}{##3{##4}}}%ŽŸÌÍ�‘R²F›ÿ*ªor–UUVladimir“V˜olo•¸ãvic“h.–ªª.“.ަ��‘N�±134Ž‘o‘à\def\GenericWarning##1##2{%Ž¡��‘N�±135Ž‘y2à\unvcopy{\GenericWarning{##1}{##2}}}%Ž¡��‘N�±136Ž‘o‘à\def\GenericError##1##2##3##4{%Ž¡��‘N�±137Ž‘y2à\unvcopy{\GenericError{##1}{##2}{##3}{##4}}}%ŽŸÌÍ�‘R²F‘ÿ*ªor–UUAMS“de nitions.ަ��‘N�±138Ž‘o‘à\let\DN@\copyŽ¡��‘N�±139Ž‘o‘à\let\FN@\copyŽ¡��‘N�±140Ž‘o‘à\let\next@\copyŽ¡��‘N�±141Ž‘o‘à\global\let\bm@first\@emptyŽŸÌÍ�‘R²F‘ÿ*ªor–UUbreqn“de nitions.ަ��‘N�±142Ž‘o‘à\let\@ifnext\@ifnextcharŽ¡��‘N�±143Ž‘o‘à\let\measure@lhs\copyŽ¡��‘N�±144Ž‘o‘à\let‘¹–\rel@break\copyŽ¡��‘N�±145Ž‘o‘à\let‘¹–\bin@break\copyŽ¡��‘N�±146Ž‘o‘à\let‘¹–\after@open\copyŽ¡��‘N�±147Ž‘o‘à\let‘¹–\after@close\copyޤÌÍ�‘R²Makš¸ãe–a1sure“things“lik˜e“Ú\pounds“²tak˜e“the“`math“branc˜h'“ev˜en“in“Ú\bmdefine“²(whic˜hŽŸ �‘Ris–UUnot“executed“in“math“mo�Gde).ަ��‘N�±148Ž‘o‘à\let\ifmmode\iftrueŽ¡�‘R²The–ð1last“rede nition“just“makš¸ães“Ú\mathit“²t˜yp�Ge“commands“re-insert“themselv˜esޤ �‘R(more–6‚or“less)“as“if“they“are“allo•¸ãw“ed–6‚to“expand“they“die“horribly“if“the“expansionsŽ¡�‘Rare–UUput“in�¸ãto“Ú\mathchoice“²and“so“executed“more“than“once.ަ��‘N�±149Ž‘o‘à\def\select@group##1##2##3##4{{%ޤ ��‘N�±150Ž‘y2à\protect##1{##4}}}%Ž¡��‘N�±151Ž‘o‘à\def\use@mathgroup##1##2##3{{%Ž¡��‘N�±152Ž‘y2à\protect\use@mathgroup##1{##2}{##3}}}%ŽŽŸ�’þÿ²11ŽŽŒ‹ }« y� ý£ ?� ýä�‘a²So–UUnoš¸ãw“start“lo�Goking“at“the“argumen˜t.ޤ nï��‘N�±153Ž‘o‘à\bm@expand#4\bm@endŽŸ ��‘N�±154Ž‘fÚà\endgroupŽ©nï�‘a²Finally–žcoutside“the“group“either“execute“Ú\bm@command“²(for“Ú\bm²)“or“sa•¸ãv“e‘žcitsŽŸ �‘Rde nition–UU(for“Ú\bmdefine²).Ž¡��‘N�±155Ž‘fÚà#3}ަ�‘R²End–UUof“the“Ú\@firstofone“²abšGo•¸ãv“e,–UUand“the“scop˜e“of“the“activ�¸ãe“Ú'².Ž¡��‘N�±156Ž‘\ª®à}Ž©LÍ����‘:¨\bmŽŽŽ‘R²Set–íÀup“the“b�Gold“(rather“than“heaš¸ãvy)“v˜ersion,‘Ûand“run“Ú\bm@command“²righ˜t“at“theޤ �‘Rend,‘Â{to–¬¦execute“the“emš¸ãb�Goldened“argumen˜t.‘w»The“argumen˜t“is“grabb�Ged“b˜y“the“topŽ¡�‘Rlev�¸ãel–¨function,›ü²and“explicitly“braced,˜so“that“Ú\bm“²wš¸ãorks“ev˜en“if“the“braces“areŽ¡�‘Romitted–UUround“its“argumenš¸ãt“in“a“`mo˜ving“argumen˜t'.ŽŸ nï��‘N�±157Ž‘\ª®à\DeclareRobustCommand\bm{%ޤ ��‘N�±158Ž‘fÚà\bm@general\boldmath\bm@boldtable\bm@command}Ž¡��‘N�±159Ž‘\ª®à\protected@edef\bm#1{\bm{#1}}ަ����‘Û™ð\DeclareBoldMathCommandŽŽ���Ÿ �‘Lø\bm@declareŽŽŽŽŽ‘RÚDeclareBoldMathCommand[�¸hÞmathversion‘Äc¸iŽ‘=’‡Ú]{�¸hÞc‘ÿ}'ommand‘‰¸iŽ‘25ýÚ}{�¸hÞmath‘“çexpr‘ÿ}'ession‘Äc¸iŽ‘NzRÚ}ޤ �‘R²lošGoks–ª&lik�¸ãe“Ú\bm“²except“at“the“end“the“sp˜eci ed“command“is“globally“de ned“to“b˜eŽ¡�‘RÚ\bm@command².‘qÇThe�‘UU¸hÞmathversion‘Äc¸iŽ‘D=1²defaults–UUto“`b�Gold'.ŽŸ nï��‘N�±160Ž‘\ª®à\def\DeclareBoldMathCommand{\@testopt\bm@declare{bold}}ŽŸÝÞ��‘N�±161Ž‘\ª®à\def\bm@declare[#1]#2{%ޤ ��‘N�±162Ž‘fÚà\expandafter\bm@generalŽ¡��‘N�±163Ž’‚w^à\csname‘¹–#1math\expandafter\endcsnameŽ¡��‘N�±164Ž’‚w^à\csname‘¹–bm@#1table\endcsnameŽ¡��‘N�±165Ž’‚w^à{\bm@define#2}}ަ����‘À$\bmdefineŽŽŽ‘RÚ\bmdefine–UU²Shorthand“for“Ú\DeclareBoldMathCommand[bold]².ޤ �‘aÚ\bm–UU²is“empt�¸ãy“within“the“de nition,“so“that“eitherŽ¡�‘RÚ\bmdefine\balpha{\bm\alpha}–UU²or“Ú\bmdefine\balpha{\alpha}Ž¡�‘R²maš¸ãy–ÉÉb�Ge“used.‘CC(The“former“just“for“compatibilit˜y“with“the“original“v˜ersion“for“plainŽ¡�‘RT�‘þU>Ÿ'EŽ‘ãxX).ŽŸ nï��‘N�±166Ž‘\ª®à\def\bmdefine{\DeclareBoldMathCommand[bold]}ަ����‘:¨\hmŽŽ���¡�‘À$\hmdefineŽŽŽŽŽ‘R²Same–UUagain“for“Ú\hm².Ž© nï��‘N�±167Ž‘\ª®à\ifx\mv@heavy\@undefinedŽŸnï�‘a²If–ü‡there“is“no“heaš¸ãvy“math“v˜ersion“de ned,‘Jlet“Ú\hm“²b�Ge“de ned“as“Ú\bm².‘T-Curren˜tlyŽ¡�‘Rthere–UUis“no“wš¸ãarning“giv˜en,“pšGerhaps“there“should“b˜e,“or“ev�¸ãen“an“error?ަ��‘N�±168Ž‘fÚà\let\hm\bmޤ ��‘N�±169Ž‘fÚà\let\heavymath\boldmathŽ¡��‘N�±170Ž‘fÚà\let\bm@heavytable\bm@boldtableŽŸÝÞ��‘N�±171Ž‘\ª®à\elseŽŸÝÞ�‘a²Otherwise–UUde ne“Ú\hm“²and“Ú\hmdefine“²in“direct“analogy“with“the“ab�Go•¸ãv“e.ަ��‘N�±172Ž‘fÚà\DeclareRobustCommand\hm{%Ž¡��‘N�±173Ž‘o‘à\bm@general\heavymath\bm@heavytable\bm@command}Ž¡��‘N�±174Ž‘fÚà\protected@edef\hm#1{\hm{#1}}ŽŽŸ�’þÿ²12ŽŽŒ‹ ‡; y� ý£ ?� ýä��‘N�±175Ž‘fÚà\def\hmdefine{\DeclareBoldMathCommand[heavy]}ŽŸ��‘N�±176Ž‘\ª®à\fiŽ©����‘'3P\bm@endŽŽŽ‘R²Normally–wÃspšGeaking“Ú\outer“²declarations“should“b˜e“a•¸ãv“oided–wÃat“all“costs.‘Ù(L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXޤ �‘Rrede nes–ÿÿall“of“plain“T�‘þU>Ÿ'EŽ‘ãxX's“allošGcation“macros“to“b˜e“non-outer.)‘qÄHo•¸ãw“ev“er–ÿÿthis“isŽ¡�‘Rone–¡aplace“where“it“seems“likš¸ãe“a“go•Go“d–¡aidea.‘5ËIf“a“command“taking“an“argumen˜t“is“putŽ¡�‘Rin–†¬Ú\bm“²without“its“argumenš¸ãt,‘“then“the“Ú\@@end“²terminating“tok˜en“w˜ould“b�Ge“tak˜enŽ¡�‘Ras–­ëthe“argumenš¸ãt,‘Äand“so“the“rest“of“the“paragraph“w˜ould“b�Ge“gobbled“up“and“theŽ¡�‘RL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX––Íwš¸ãould“die“horribly‘ÿ*ª.‘6/So“mak˜e“the“in˜ternal“terminating“tok˜en“Ú\outer².‘6/(TheŽ¡�‘Ractual–çïtest“for“termination“is“made“against“Ú\@@end“²not“Ú\bm@end“²as“this“macro“willŽ¡�‘RbšGe–UUexpanded“b�¸ãy“the“lo˜ok-ahead“system.)ŽŸ��‘N�±177Ž‘\ª®à\outer\def\bm@end{\@@end}ަ����‘Ž\bm@expandŽŽ���¡�‘Ž\bm@exp@ndŽŽŽŽŽ‘RÚ\afterassignment–œs²tricš¸ãk“to“fully“expand“the“follo˜wing“tok˜ens“un˜til“the“ rst“non-Ž¡�‘Rexpandable–ìdtokš¸ãen“is“rev˜ealed.‘NÌThis“ma˜y“discard“a“space“tok˜en“(whic˜h“is“what“T�‘þU>Ÿ'EŽ‘ãxXŽ¡�‘Ris–¢†lošGoking“for)“but“that“do˜esn't“matter“in“math“mo˜de.‘YZThe“expansion“lo˜ok‘ÿqÇaheadŽ¡�‘Ris–UUdone“tš¸ãwice“in“case“an˜y“stra˜y“space“tok˜ens“ha˜v˜e“crept“in.��Ÿü^ÿ±3ŽŽŽŸ��‘N�178Ž‘\ª®à\def\bm@expand{\afterassignment\bm@exp@nd\count@`\a}ŽŸ��‘N�±179Ž‘\ª®à\def\bm@exp@nd{\afterassignment\bm@test\count@`\a}ަ����‘"yº\bm@testŽŽŽ‘R²Normally–-�wš¸ãe“will“grab“the“non-expandable“tok˜en“as“a“macro“argumen˜t“but“b�GetterŽ¡�‘Rc•¸ãhec“k–‘£it“is“not“Ú{“² rst.‘0ŒSa•¸ãv“e–‘£the“previous“tokš¸ãen“so“w˜e“can“c˜hec˜k“later“if“it“w˜as“Ú\left²,Ž¡�‘Rin–Ž6whic�¸ãh“case“use“the“delcošGde“rather“than“the“mathco˜de“if“the“currenš¸ãt“tok˜en“is“aŽ¡�‘Rc�¸ãharacter.ŽŸ��‘N�±180Ž‘\ª®à\def\bm@test{%ޤ ��‘N�±181Ž‘fÚà\let\bm@previous\@let@tokenŽ¡��‘N�±182Ž‘fÚà\futurelet\@let@token\bm@test@}ަ����‘À$\bm@test@ŽŽŽ‘R²If–ü’lo�Goking“at“a“single“tok•¸ãen,›&aswitc“h–ü’to“Ú\bm@test@token²,˜else“if“lo�Goking“at“a“Ú{‘?ý}ޤ �‘R²group,‘Ùûgrab–ŒAthe“whole“group“with“Ú\bm@group².‘ŠA‘‹ðÚ\bgroup“²tokš¸ãen“will“tak˜e“theŽ¡�‘Rwrong–UUbrancš¸ãh“here“(curren˜tly“not“trapp�Ged).ŽŸ��‘N�±183Ž‘\ª®à\def\bm@test@{%ޤ ��‘N�±184Ž‘fÚà\ifx\@let@token\bgroupŽ¡��‘N�±185Ž‘o‘à\expandafter\bm@groupŽ¡��‘N�±186Ž‘fÚà\elseŽ¡��‘N�±187Ž‘o‘à\expandafter\bm@test@tokenŽ¡��‘N�±188Ž‘fÚà\fi}ަ����‘À$\bm@gr@upŽŽŽ‘R²If–$ífaced“with“a“group,›.›If“w�¸ãe“are“in“math“mo�Gde,˜sticš¸ãk“it“in“a“Ú\boldsymbol“²lik˜e“con-ޤ �‘Rstruct–®and“then“recurse“on“Ú\bm@expand².‘: Otherwise“just“use“Ú\bfseries\boldmath².Ž¡�‘RThe–/uactual“test“is“deferred“till“`run“time'.‘e'Here“and“elsewhere“could“deal“with“theŽ¡�‘Rinner–)�list“with“an“inner“call“to“Ú\bm²,‘2Qbut“that“do�Gesn't“seem“to“gain“vš¸ãery“m˜uc˜h,‘2QandŽ¡�‘Rcomplicates–UUthe“co�Gde“quite“a“bit.Ž‘RŸff‰ff�ÿrŸ J=����‘ "5Ÿý-:Ê3ŽŽŽ‘LÜÉThe–:Áneed“for“this“w�ÃŽas“noticed“while“testing‘XúóBßCÊscmtt8ëB\sqrtÉ.‘÷ZThe“de nition“of‘܈ëB\root“Éinherited“fromޤ €�plain–ù€T�‘þ•AŸ¸ãEŽ‘MX“has“an“anomalous“space“tokšÃŽen,‘Šthat“is“normally“harmless“(just“w˜astes“memory),‘ŠbutŽ¡�whicšÃŽh–ÕXkilled“earlier“v˜ersions“of“this“pac˜k�‡age.ŽŽŸ�’þÿ²13ŽŽŒ‹’J y� ý£ ?� ýä�‘aÚ#1–øm²is“either“Ú\boldmath“²or“Ú\heavymath².‘[Need“to“add“an“extra“set“of“explicitޤ �‘Rbraces–Añaround“Ú#2“²as“otherwise“the“math“st�¸ãyle“commands“applied“in“Ú\mathchoiceŽ¡�‘R²migh�¸ãt–UUonly“apply“to“the“ rst“half“of“an“Ú\over“²construction.ޤ KK��‘N�±189Ž‘\ª®à\def\bm@gr@up#1#2{%Ž© ��‘N�±190Ž‘fÚà\bm@add{{\bm@gr@@p#1{{#2}}}}}ŽŸáâ����‘À$\bm@gr@@pŽŽŽ‘RÚ#1–UU²is“either“Ú\boldmath“²or“Ú\heavymath².Ž¡��‘N�±191Ž‘\ª®à\def\bm@gr@@p#1#2{%ަ��‘N�±192Ž‘fÚà\ifmmodeަ��‘N�±193Ž‘o‘à\bm@mchoice#1{#2}{#2}{#2}{#2}%ަ��‘N�±194Ž‘fÚà\elseަ��‘N�±195Ž‘o‘à\bfseries#1#2%ަ��‘N�±196Ž‘fÚà\fi}ŽŸáâ����‘ 6\bm@test@tokenŽŽŽ‘R²If–Øânot“facing“a“Ú{‘ ú}“²group“then“test“to“see“what“wš¸ãe“ha˜v˜e.‘üoBasic“idea:‘xáT‘ÿ*ªrapޤ �‘RÚ\mathchardef›dϲtok•¸ãens,‘¨­c“haracter˜tok“ens,–¨­and˜calls˜to˜Ú\mathchar²,“Ú\mathaccent²,Ž¡�‘Retc,‘~Jand–vcš¸ãhange“the“Þmath-gr‘ÿ}'oup‘±²(fam)“to“p�Goin˜t“at“the“b�Gold“v˜ersion.‘ÔOther“thingsŽ¡�‘Rjust–}tcopš¸ãy“straigh˜t“o˜v˜er“to“the“command“b�Geing“built.‘ê$(An˜ything“inside“a“Ú\mathopŽ¡�‘R²or–ësimilar“will“end“up“bšGeing“made“b˜old“as“the“Ú\mathop“²will“b˜e“copied“o•¸ãv“er,‘fbut‘ëitsŽ¡�‘Rargumen�¸ãt–UUwill“bšGe“made“b˜old“b�¸ãy“the“group“co˜de“ab˜o•¸ãv“e.ŽŸ KK��‘N�±197Ž‘\ª®à\def\bm@test@token#1{%ަ��‘N�±198Ž‘fÚà\let\bm@next\@emptyŽ©KK�‘a²Stop–Š%here.‘7Note“that“it“is“vital“that“the“terminating“tok�¸ãen“is“non-expandableŽ¡�‘Rand––Bde ned,‘¦}rather“than“the“usual“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“terminators“Ú\@nil“²or“Ú\@@².‘4�(W‘ÿ*ªorse“stillŽ¡�‘Rwš¸ãould–UUb�Ge“a“`quark'“lik˜e“Údocstrip²'s“Ú\qStop².)ŽŸ KK��‘N�±199Ž‘fÚà\ifx#1\@@endަ�‘aÚ\bm@mathchoice–©²uses“macro“argumenš¸ãts,‘Ê=so“need“to“mak˜e“the“tail“recursionŽ¡�‘Rexplicit–¦Lhere.‘d¬All“the“other“cases“recurse“bš¸ãy“w˜a˜y“of“Ú\afterassignment“²whic˜hŽ¡�‘Rmeans–UUall“the“trailing“Ú\fi“²are“eaten“while“making“the“assignmen�¸ãt.ޤ KK��‘N�±200Ž‘fÚà\else\ifx#1\mathchoiceŽŸ ��‘N�±201Ž‘o‘à\let\bm@next\bm@mathchoiceަ�‘a²The–UUmain“p�Goinš¸ãt:‘qÇFind“these“expressions,“and“c˜hange“the“mathgroup.Ž¡��‘N�±202Ž‘fÚà\else\ifx#1\mathcharޤ ��‘N�±203Ž‘o‘à\afterassignment\bm@mathchar\count@Ž¡��‘N�±204Ž‘fÚà\else\ifx#1\mathaccentŽ¡��‘N�±205Ž‘o‘à\afterassignment\bm@mathaccent\count@Ž¡��‘N�±206Ž‘fÚà\else\ifx#1\delimiterŽ¡��‘N�±207Ž‘o‘à\afterassignment\bm@delimiter\count@Ž¡��‘N�±208Ž‘fÚà\else\ifx#1\radicalŽ¡��‘N�±209Ž‘o‘à\afterassignment\bm@radical\count@ަ�‘a²Need–UUto“trap“spaces“otherwise“digits“will“get“turned“to“b�Gold“mathc�¸ãhars.ŽŸ KK��‘N�±210Ž‘fÚà\else\ifx#1\mkernŽ¡��‘N�±211Ž‘o‘à\bm@register#1{\muskip\z@}%Ž¡��‘N�±212Ž‘fÚà\else\ifx#1\kernŽ¡��‘N�±213Ž‘o‘à\bm@register#1\dimen@Ž¡��‘N�±214Ž‘fÚà\else\ifx#1\penaltyŽ¡��‘N�±215Ž‘o‘à\bm@register#1\count@ŽŽŸ�’þÿ²14ŽŽŒ‹Ÿë y� ý£ ?� ýä�‘aÚ\vcopy–UU²is“a“ ag“to“copš¸ãy“the“next“group“unc˜hanged“to“the“result“command.ޤ��‘N�±216Ž‘fÚà\else\ifx#1\unvcopyŽ© ��‘N�±217Ž‘o‘à\let\bm@next\bm@addŽŸ��‘N�±218Ž‘fÚà\else\ifcat\noexpand#1\relaxŽŸ�‘R²Other–UUcommand,“lo�Gok“if“it's“a“mathcš¸ãhardef“tok˜en“(otherwise“just“add“it).Ž¡��‘N�±219Ž‘o‘à\xdef\meaning@{\meaning#1}%ަ��‘N�±220Ž‘o‘à\expandafter\bm@mchar@test\meaning@""\@nil#1%ŽŸ�‘R²Character–ËRtok�¸ãen.‘Ó¾If“it“is“of“catcošGde“11“or“12,‘èÑget“its“mathco˜de.‘Ó¾If“that“is“Ú"8000ޤ �‘R²replace–º the“tokš¸ãen“b˜y“its“activ˜e“v˜ersion,‘ÓRand“then“let“bm“expansion“lo�Gok“again“atŽ¡�‘Rthe–UUcš¸ãharacter.‘qÇBeing“really“activ˜e“this“time,“it“will“expand“a˜w˜a˜y“(probably).Ž¡�‘aIf–©the“previous“tokš¸ãen“w˜as“Ú\left“²or“Ú\right²,‘ýýget“the“delco�Gde“instead“of“theŽ¡�‘Rmathco�Gde.ޤ��‘N�±221Ž‘fÚà\else\ifcat.\ifcat‘¹–a#1.\else#1\fiަ��‘N�±222Ž‘o‘à\count@\mathcode`#1\relaxަ��‘N�±223Ž‘o‘à\ifnum\count@=\mathcode`\'%ަ��‘N�±224Ž‘y2à\begingroup\uccode`\~`#1\uppercase{\endgroupަ��‘N�±225Ž’‚w^à\def\bm@next{\bm@expand~}}%ަ��‘N�±226Ž‘o‘à\elseަ��‘N�±227Ž‘y2à\ifx\bm@previous\leftަ��‘N�±228Ž’‚w^à\count@\delcode`#1\relaxަ��‘N�±229Ž’‚w^à\bm@delimiterަ��‘N�±230Ž‘y2à\elseަ��‘N�±231Ž’‚w^à\bm@mathcharަ��‘N�±232Ž‘y2à\fiަ��‘N�±233Ž‘o‘à\fiަ��‘N�±234Ž‘fÚà\elseŽŸ�‘R²And–UU nal“p�Gossibilitš¸ãy:‘qÇa“c˜haracter“tok˜en“of“catco�Gde“other“than“11“or“12.Ž¡��‘N�±235Ž‘o‘à\bm@add{#1}%ަ��‘N�±236Ž‘fÚà\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fiަ��‘N�±237Ž‘fÚà\bm@next}ŽŸ����‘Ž\bm@defineŽŽŽ‘R²End–xico�Gde“for“Ú\bmdefine².‘ÛDe ne“the“giv�¸ãen“command“name“to“the“robust“form“ofޤ �‘Rthe–UUaccum�¸ãulated“co�Gde.Ž¡�‘aIf–‡Ú\bm@command“²is“equal“to“Ú\@gtempa“²then“it“is“a“macro“whose“expansion“is“aŽ¡�‘Rsingle–UUcall“to“Ú\mathchar²,“so“that“can“b�Ge“optimised“with“a“Ú\mathchardef².ŽŸ��‘N�±238Ž‘\ª®à\def\bm@define#1{%ަ��‘N�±239Ž‘fÚà\begingroupަ��‘N�±240Ž‘o‘à\ifx\bm@command\@gtempaަ��‘N�±241Ž‘y2à\def\mathchar{\global\mathchardef#1}%ަ��‘N�±242Ž‘y2à\bm@commandަ��‘N�±243Ž‘o‘à\elseŽŸ�‘R²Rather–_¯than“simply“Ú\let#1\bm@command²,‘âEmak�¸ãe“the“de ned“command“robust.Ž¡�‘RÚ\bm@first–ØÓ²is“normally“emptš¸ãy‘ÿ*ª,‘ù³but“migh˜t“b�Ge“something“lik˜e“Ú\DOTSI‘ر²whic˜h“needsŽ¡�‘Rto–úÞb�Ge“lifted“to“the“top“levš¸ãel,‘$@in“fron˜t“of“an˜y“Ú\protect“²bšGecause“of“the“lo˜ok‘ÿqÇaheadŽ¡�‘Rmecš¸ãhanism–UUused“in“the“ßamsmath“²pac˜k‘ÿqÇage.ŽŽŸ�’þÿ15ŽŽŒ‹«+ y� ý£ ?� ýä��‘N�±244Ž‘y2à\toks@\expandafter{\bm@command}%ޤ ��‘N�±245Ž‘y2à\xdef#1{\bm@first\noexpand\bm@protect\noexpand#1{\the\toks@}}%Ž¡��‘N�±246Ž‘o‘à\fiŽ¡��‘N�±247Ž‘fÚà\endgroup}Ž©lO����‘Lø\bm@protectŽŽŽ‘R²Commands–UUde ned“bš¸ãy“Ú\bmdefine“²re-insert“themselv˜es“if“protection“is“enabled.ŽŸ ÎÅ��‘N�±248Ž‘\ª®à\def\bm@protect#1{%Ž¡��‘N�±249Ž‘fÚà\ifx\protect\@typeset@protectŽ¡��‘N�±250Ž‘o‘à\expandafter\@firstofoneŽ¡��‘N�±251Ž‘fÚà\elseŽ¡��‘N�±252Ž‘o‘à\protect#1\expandafter\@gobbleŽ¡��‘N�±253Ž‘fÚà\fi}ަ����‘Lø\bm@mchoiceŽŽŽ‘RÚ\boldsymbol²,–UUmore“or“less.‘qÇÚ#1“²is“either“Ú\boldmath“²or“Ú\heavymath².ŽŸ ÎÅ��‘N�±254Ž‘\ª®à\def\bm@mchoice#1#2#3#4#5{%Ž¡��‘N�±255Ž‘fÚà\mathchoice{\hbox{#1$\displaystyle\m@th#2$}}%Ž¡��‘N�±256Ž’šLà{\hbox{#1$\textstyle\m@th#3$}}%Ž¡��‘N�±257Ž’šLà{\hbox{#1$\scriptstyle\m@th#4$}}%Ž¡��‘N�±258Ž’šLà{\hbox{#1$\scriptscriptstyle\m@th#5$}}}ަ����‘ 6\bm@m@thchoiceŽŽŽ‘R²Action–>|if“yš¸ãou“ nd“a“Ú\mathchoice².‘-=Add“the“b�Gold“v˜ersion“to“Ú\bm@command“²thenޤ �‘Rrecurse.Ž¡�‘aÚ#1–UU²is“either“Ú\boldmath“²or“Ú\heavymath².ޤ ÎÅ��‘N�±259Ž‘\ª®à\def\bm@m@thchoice#1#2#3#4#5{%ŽŸ ��‘N�±260Ž‘fÚà\bm@add{\bm@mchoice#1{#2}{#3}{#4}{#5}}}ަ����‘“b\bm@registerŽŽŽ‘R²Comš¸ãbined–UUco�Gde“for“setting“up“Ú\bm@r@gister“²with“the“correct“register“t˜yp�Ge.Ž¡��‘N�±261Ž‘\ª®à\def\bm@register#1#2{%ޤ ��‘N�±262Ž‘fÚà\def\@tempa{#1\the#2}%Ž¡��‘N�±263Ž‘fÚà\afterassignment\bm@r@gister#2}ަ����‘“b\bm@r@gisterŽŽŽ‘RÚ\mkern–\í²itself“wš¸ãould“transfer“to“Ú\bm@command“²without“an˜y“sp�Gecial“test,‘žÒbut“an˜yޤ �‘Rexplict–ß¹dimension“folloš¸ãwing“w˜ould“b�Ge“con˜v˜erted“to“Ú\mathchar².‘óSo“trap“this“andŽ¡�‘Rgrab–£�the“mš¸ãuskip“as“a“m˜uskip.›\tThis“is“used“in“Ú\iiint².˜Ú\penalty“²w�¸ãas“needed“forŽ¡�‘Rthe–UUAMS“vš¸ãersion“of“Ú\colon²,“and“so“do“most“of“the“others“as“w˜ell.ŽŸ ÎÅ��‘N�±264Ž‘\ª®à\def\bm@r@gister{%ŽŸ ��‘N�±265Ž‘fÚà\bm@xadd{\@tempa\space}}ަ����‘“b\bm@mathcharŽŽŽ‘R²Change–Ìthe“family“(math“group)“of“a“mathcošGde“and“then“use“the“mo˜di ed“co˜deŽ¡�‘Rwith–PÚ\mathchar².‘b!If“there“is“no“suitable“b�Gold“fonš¸ãt“in“the“curren˜t“math“v˜ersion,Ž¡�‘Ruse–üÿthe“original“unmošGdi ed“mathco˜de,‘ªbut“switc�¸ãh“to“Ú\boldmath“²(if“there“is“a“b˜oldŽ¡�‘Rfon�¸ãt–¢˜there)“or“use“`p•Go“or–¢˜man's“bšGold'.‘Y‘Note“that“these“other“p˜ossibilities“are“onlyŽ¡�‘RpšGossible–+Ýhere,‘4(not“for“the“otherwise“similar“co˜de“for“Ú\delimiter“²or“Ú\mathaccent²,Ž¡�‘Ras–UUthose“commands“mš¸ãust“w˜ork“with“fon˜ts“from“the“same“math“v˜ersion.Ž¡�‘aFinally–UUrecurse“do�¸ãwn“the“list.ŽŸ ÎÅ��‘N�±266Ž‘\ª®à\def\bm@mathchar{%ŽŸ�Š��‘N�±267Ž‘fÚà\@tempcntb\count@ŽŸ ��‘N�±268Ž‘fÚà\let\@tempa\bm@groupŽŽŸ�’þÿ²16ŽŽŒ‹µ4 y� ý£ ?� ýä�‘aÚ\bm@changefam– ²²will“isolate“the“math“group“from“the“mathcošGde“and“lo˜ok“upޤ �‘Rthe–UUo set“in“the“curren�¸ãt“table.Ž©��‘N�±269Ž‘fÚà\bm@changefam{}%ŽŸ�‘a²If–©fthe“mathco�Gde“has“cš¸ãhanged,‘>jthen“just“add“the“new“Ú\mathchar“²(sa˜vingŽ¡�‘RÚ\@gtempa–ò`²alloš¸ãws“Ú\bmdefine“²to“optimise“this“to“a“mathc˜hardef“if“it“turns“outŽ¡�‘Rto–UUbšGe“the“only“sym�¸ãb˜ol“in“the“argumen�¸ãt).ަ��‘N�±270Ž‘fÚà\ifnum\count@>\@tempcntbŽŸ��‘N�±271Ž‘o‘à\ifx\bm@command\@emptyޤ ��‘N�±272Ž‘y2à\xdef\@gtempa{\mathchar\the\count@\space}%Ž¡��‘N�±273Ž‘o‘à\fiŽ¡��‘N�±274Ž‘o‘à\bm@xadd{\mathchar\the\count@\space}%Ž¡��‘N�±275Ž‘fÚà\elseŽŸ�‘a²Otherwise–:„grab“the“math“class“from“the“math“cošGde“and“add“that“(lo˜cally“zap-ŽŸ �‘Rping–UUÚ\bm@expand“²as“wš¸ãe“don't“w˜an˜t“to“recurse“at“this“p�Goin˜t).ަ��‘N�±276Ž‘o‘à\begingroupŽ¡��‘N�±277Ž‘y2à\divide\count@"1000Ž¡��‘N�±278Ž‘y2à\let\bm@expand\relaxŽ¡��‘N�±279Ž‘y2à\bm@xadd\bm@classŽ¡��‘N�±280Ž‘o‘à\endgroupŽŸ�‘RÚ\@tempa–Û²²will“b�Ge“Ú\bm@group“²(whic�¸ãh“applies“Ú\boldmath“²and“Ú\mathchoice²)“unlessޤ �‘Rit–-£wš¸ãas“c˜hanged“b˜y“Ú\bm@changefam“²to“Ú\bm@pmb“²(whic˜h“applies“a“`p•Go“or–-£man's“b�Gold'Ž¡�‘Rconstruction–UUin“a“Ú\mathchoice²).ަ��‘N�±281Ž‘o‘à\edef\@tempb{%ޤ ��‘N�±282Ž‘y2à\noexpand\@tempa{\mathchar\the\count@\space}}%Ž¡��‘N�±283Ž‘o‘à\@tempbŽ¡��‘N�±284Ž‘fÚà\fi}ŽŸ����‘'3P\bm@pmbŽŽŽ‘R²Add–UUa“p•Go“or–UUman's“bšGold“construction“to“the“list“b˜eing“built.ަ��‘N�±285Ž‘\ª®à\def\bm@pmb#1{%Ž¡��‘N�±286Ž‘fÚà\bm@add{\bm@pmb@{#1}}}ŽŸ����‘"yº\bm@pmb@ŽŽŽ‘RÚ\pmb–å¶²v‘ÿqÇarianš¸ãt.‘L’(See“T�‘þU>Ÿ'EŽ‘ãxXBo�Gok,‘ü or“AMS‘åšßamsbsy‘ C²pac˜k‘ÿqÇage).‘L’This“one“tak˜es“a“bit“moreŽŸ �‘Rcare–UUto“use“smaller“o sets“in“subscripts.ަ��‘N�±287Ž‘\ª®à\def\bm@pmb@#1{{%Ž¡��‘N�±288Ž‘fÚà\setbox\tw@\hbox{$\m@th\mkern.4mu$}%Ž¡��‘N�±289Ž‘fÚà\mathchoiceŽ¡��‘N�±290Ž‘o‘à\bm@pmb@@\displaystyle\@empty{#1}%Ž¡��‘N�±291Ž‘o‘à\bm@pmb@@\textstyle\@empty{#1}%Ž¡��‘N�±292Ž‘o‘à\bm@pmb@@\scriptstyle\defaultscriptratio{#1}%Ž¡��‘N�±293Ž‘o‘à\bm@pmb@@\scriptscriptstyle\defaultscriptscriptratio{#1}}}ŽŸ����‘À$\bm@pmb@@ŽŽŽ‘R²Help�Ger–d"macro.‘ž/Boš¸ãx“Ú#3“²and“set“it“three“times“in“the“st˜yle“Ú#1²,‘gÕo set“b˜y“an“amoun˜tŽŸ �‘Rreduced–UUb�¸ãy“the“ratio“sp�Geci ed“in“Ú#2².ަ��‘N�±294Ž‘\ª®à\def\bm@pmb@@#1#2#3{{%Ž¡��‘N�±295Ž‘fÚà\setbox\z@\hbox{$\m@th#1#3$}%Ž¡��‘N�±296Ž‘fÚà\dimen@#2\wd\tw@ŽŽŸ�’þÿ²17ŽŽŒ‹À y� ý£ ?� ýä��‘N�±297Ž‘fÚà\rlap{\copy\z@}%ޤ ��‘N�±298Ž‘fÚà\kern\dimen@Ž¡��‘N�±299Ž‘fÚà\raise1.5\dimen@\rlap{\copy\z@}%Ž¡��‘N�±300Ž‘fÚà\kern\dimen@Ž¡��‘N�±301Ž‘fÚà\box\z@}}%Ž©“E����‘À$\bm@classŽŽŽ‘R²Con•¸ãv“ert–lda“nš¸ãumeric“math“class“bac˜k“to“a“math“class“command.‘$"Ú\mathord“²is“omittedޤ �‘Rin–…Åclass“0“and“7“to“sa•¸ãv“e–…Åspace“and“so“things“wš¸ãork“out“righ˜t“in“constructions“suc˜hŽ¡�‘Ras–UUÚx^a“²where“Úx^\mathord{a}“²wš¸ãould“not“w˜ork.ŽŸ ÛÂ��‘N�±302Ž‘\ª®à\def\bm@class{%ޤ ��‘N�±303Ž‘fÚà\ifcase\count@Ž¡��‘N�±304Ž‘o‘à\orŽ¡��‘N�±305Ž‘o‘à\mathop\orŽ¡��‘N�±306Ž‘o‘à\mathbin\orŽ¡��‘N�±307Ž‘o‘à\mathrel\orŽ¡��‘N�±308Ž‘o‘à\mathopen\orŽ¡��‘N�±309Ž‘o‘à\mathclose\orŽ¡��‘N�±310Ž‘o‘à\mathpunct\orŽ¡��‘N�±311Ž‘fÚà\fi}ަ����‘'3P\bm@addŽŽŽ‘R²A‘æ¬vš¸ãersion–æÑof“Ú\g@addto@macro“²that“in˜ternally“uses“a“Ú\begingroup“²rather“than“aޤ �‘Rbrace–UUgroup��Ÿü^ÿ±4ŽŽ‘|s²,“to“sa•¸ãv“e–UUcreating“a“mathord.Ž¡�‘aAs–'´need“to“rede ne“it“an•¸ãyw“a“y‘ÿ*ª,‘œLsa“v“e–'´some“tokš¸ãens“b˜y“making“it“sp�Geci c“toŽ¡�‘RÚ\bm@command²,–UUand“to“execute“Ú\bm@expand“²to“con•¸ãtin“ue–UUthe“lo�Gop.ŽŸ ÛÂ��‘N�±312Ž‘\ª®à\def\bm@add#1{%ޤ ��‘N�±313Ž‘fÚà\begingroupŽ¡��‘N�±314Ž‘o‘à\toks@\expandafter{\bm@command#1}%Ž¡��‘N�±315Ž‘o‘à\xdef\bm@command{\the\toks@}%Ž¡��‘N�±316Ž‘fÚà\endgroupŽ¡��‘N�±317Ž‘fÚà\bm@expand}ަ����‘"yº\bm@xaddŽŽŽ‘R²An–UUÚ\xdef“²v�¸ãersion“of“Ú\bm@add².ŽŸ ÛÂ��‘N�±318Ž‘\ª®à\def\bm@xadd#1{%Ž¡��‘N�±319Ž‘fÚà\begingroupŽ¡��‘N�±320Ž‘o‘à\toks@\expandafter{\bm@command}%Ž¡��‘N�±321Ž‘o‘à\xdef\bm@command{\the\toks@#1}%Ž¡��‘N�±322Ž‘fÚà\endgroupŽ¡��‘N�±323Ž‘fÚà\bm@expand}ަ����‘ 6\bm@mathaccentŽŽŽ‘RÚ\mathaccent–UU²v�¸ãersion“of“Ú\bm@mathchar².ŽŸ ÛÂ��‘N�±324Ž‘\ª®à\def\bm@mathaccent{%Ž¡��‘N�±325Ž‘adDà\bm@changefam{}%ŽŸÛÂ�‘R²The–qÇnext“four“lines“wš¸ãere“added“a“v1.0e.‘ÇWithout“them“Ú\bm{\hat{A}}“²mak˜es“theޤ �‘Raccen�¸ãt– 6bšGold“using“Ú\bm“²but“the“group“Ú{A}“²is“made“b˜old“via“a“Ú\mathchoice“²con-Ž¡�‘Rstruction–ò„as“for“an�¸ãy“other“group,‘Ðas“Ú\bm“²do�Ges“not“attempt“to“parse“inside“braceŽ¡�‘Rgroups.‘ªWhile–½pthat“pro�Gduces“something“acceptable“for“lo•¸ãw“er–½pcase“letters,‘×wit“pro-Ž¡�‘Rduces�Ÿý•U�‘y}Â^ŽŸj«�‘šÅAŽŽ‘²ø²whic�¸ãh–šis“not“tošGo“go˜o˜d.‘U‰The“braces“ma�¸ãy“simply“b˜e“omitted:‘GiÚ\bm{\hat‘?ýA}Ž‘RŸé‰ff�ÿrŸ J=����‘ "5Ÿý-:Ê4ŽŽŽ‘LÜÉThis–ÕXbug“is“ xed“in“the“L�Ÿþ¢#�‘üð¡ÊAŽŽ‘ ïÉT�‘þ•AŸ¸ãEŽ‘MX“k�ÃŽernel“of“1996/12/01ŽŽŸ�’þÿ²18ŽŽŒ‹Ê  y� ý£ ?� ýä�‘R²w•¸ãould›ùæw“ork,– 0pro�Gducing�Ÿý•U�‘ ¬Â^ŽŸj«�˜ÅAŽŽ‘ «ª²,“ho•¸ãw“ev“er˜I‘ùÏdid˜not˜w“an“t˜to˜do�Gcumen“t˜suc“h˜a˜restriction,ޤ �‘Rso–UUnoš¸ãw“mo�Gdify“bm“so“that“suc˜h“brace“groups“are“handled“gracefully‘ÿ*ª.Ž¡�‘aIt–ñÃw�¸ãould“bšGe“p˜ossible“to“lo˜cally“makš¸ãe“mathaccen˜ts“tak˜e“an“argumen˜t“during“theŽ¡�‘Rbm–ãlo�Gok-ahead,›”so“the“brace“groups“w�¸ãould“then“v‘ÿqÇanish“during“expansion,˜ho•¸ãw“ev“erŽ¡�‘RI‘$jwš¸ãould–$vthen“need“to“explitly“skip“past�“¸hÞ l‘‚Øler‘�¸iŽ‘#33²and“also“mak˜e“sure“that“the“end“ofŽ¡�‘Rparse–UUtokš¸ãen“w˜as“not“gobbled“in“marginal“cases“lik˜e“Ú$\bm\hat$².Ž¡�‘aSo–Å[instead“do“the“folloš¸ãwing“whic˜h“gets“rid“of�“¸hÞ l‘‚Øler‘�¸iŽ‘(tý²with“a“rede nitionŽ¡�‘Rof–:¢Ú\relax²,‘óõand“just“lo�Gcally“c�¸ãhanges“Ú\bm@group“²so“that“instead“of“doing“aŽ¡�‘RÚ\mathchoice–)¼²it“simply“adds“Ú\bgroup“²and“Ú\egroup“²around“the“tok�¸ãens,‘^Öand“letsŽ¡�‘Rbm–i’mo�Gdify“the“tokš¸ãens“of“the“`argumen˜t'.‘®This“means“that“Ú\bm{\hat{A}}“²no˜wŽ¡�‘Rpro�GducesŽŸ�‘V¹–à\mathaccent–¹–29790“\bgroup“\mathchar“30017“\egroupŽŸ�‘R²The–îinner“math“list“is“a“single“mathcš¸ãhar,‘àÏand“so“T�‘þU>Ÿ'EŽ‘ãxX“will“not“b�Go˜x“it,‘àÏand“the“mathŽ¡�‘Raccenš¸ãt–UUwill“correctly“p�Gosition,“taking“in˜to“accoun˜t“the“sk˜ew˜c˜har“information.Ž¡�‘aAs–à the“normal“bm“lo�Gok‘ÿqÇahead“is“used,‘»it“is“automatic“that“the“parse“will“endŽ¡�‘Rwithout–UUtrying“to“go“past“Ú\bm@end².Ž¡�‘aOne–wdisadv‘ÿqÇan�¸ãtage“is“that“the“group“will“mean“that“Ú\bm@previous“²will“not“b�GeŽ¡�‘Rcorrectly›åŠup�Gdated.‘"gHo•¸ãw“ev“er˜that˜is˜only˜used˜for˜delimiter˜c“hec“king,‘ —so˜can˜notŽ¡�‘Rmatter‘UUhere.Ž©��‘N�±326Ž‘adDà\begingroupޤ ��‘N�±327Ž‘adDà\def\bm@group##1{\endgroup\bm@xadd{\bgroup}##1\egroup}%Ž¡��‘N�±328Ž‘adDà\def\bm@test@token{\endgroup\bm@test@token}%Ž¡��‘N�±329Ž‘adDà\let\relax\@emptyŽŸ��‘N�±330Ž‘adDà\bm@xadd{\mathaccent\the\count@\space}}ŽŸ����‘ ÙÌ\bm@delimiterŽŽŽ‘R²Change–Q}bšGoth“families“(math“groups)“of“a“delco˜de“and“then“use“the“mo˜di ed“co˜deŽŸ �‘Rwith–UUÚ\delimiter².‘qÇDon't“cš¸ãhange“co�Gde“`0'“as“that“denotes“a“n˜ull“delimiter.ަ��‘N�±331Ž‘\ª®à\def\bm@delimiter{%Ž¡��‘N�±332Ž‘fÚà\ifnum\count@>\z@Ž¡��‘N�±333Ž‘o‘à\bm@changefam{}%Ž¡��‘N�±334Ž‘o‘à\bm@changefam{000}%Ž¡��‘N�±335Ž‘fÚà\fiŽ¡��‘N�±336Ž‘fÚà\bm@xadd{\delimiter\the\count@\space}}%ŽŸ����‘Lø\bm@radicalŽŽŽ‘R²Same–UUfor“Ú\radical².ަ��‘N�±337Ž‘\ª®à\def\bm@radical{%Ž¡��‘N�±338Ž‘adDà\bm@changefam{}%Ž¡��‘N�±339Ž‘adDà\bm@changefam{000}%Ž¡��‘N�±340Ž‘adDà\bm@xadd{\radical\the\count@\space}}%ޤ����‘Ž\bm@mchar@ŽŽŽ‘R²Catco�Gde–UU12“Ú\mathchar²,“for“Ú\ifx“²tests.ަ��‘N�±341Ž‘\ª®à\edef\bm@mchar@{\meaning\mathchar}Ž¡����‘ 6\bm@mchar@testŽŽŽ‘R²T‘ÿ*ªest–iFif“the“Ú\meaning“²starts“with“Ú\mathchar².‘#If“it“do�Ges,‘˜|grab“the“v‘ÿqÇalue“in�¸ãto“Ú\count@ŽŸ �‘R²and–Ûcall“Ú\bm@mathchar²,‘�else“just“copš¸ãy“the“command“in˜to“the“accum˜ulated“tok˜ens.ŽŽŸ�’þÿ19ŽŽŒ‹Ô y� ý£ ?� ýä�‘RÚ#1²,–Ì5Ú#2²,“Ú#3–©í²are“all“Ú\meaning“²pro�Gduced“tokš¸ãens,‘Ì5or“`dumm˜y“tok˜ens'“added“at“the“timeŽ© �‘Rthis–UUis“called.‘qÇÚ#4“²is“the“original“tok�¸ãen,“in“case“decide“not“to“use“the“Ú\meaning².ŽŸ ÕU��‘N�±342Ž‘\ª®à\def\bm@mchar@test#1"#2"#3\@nil#4{%ޤ ��‘N�±343Ž‘fÚà\xdef\meaning@{#1}%Ž¡��‘N�±344Ž‘fÚà\ifx\meaning@\bm@mchar@Ž¡��‘N�±345Ž‘o‘à\count@"#2\relaxŽ¡��‘N�±346Ž‘o‘à\bm@mathcharŽ¡��‘N�±347Ž‘fÚà\elseŽŸÕU�‘R²Some–—�other“command:‘ö=copš¸ãy“it“straigh˜t“o˜v˜er.‘8yIf“it“is“the“ rst“thing“added,‘¨and“itަ�‘Ris–UUa“Ú\relax“²tokš¸ãen,“sa˜v˜e“it“in“Ú\bm@first“²for“use“in“Ú\bm@define².ŽŸ ÕU��‘N�±348Ž‘o‘à\ifx\bm@previous\@emptyŽ¡��‘N�±349Ž‘y2à\ifx\relax#4%Ž¡��‘N�±350Ž’‚w^à\gdef\bm@first{#4}%Ž¡��‘N�±351Ž‘y2à\fiŽ¡��‘N�±352Ž‘o‘à\fiŽ¡��‘N�±353Ž‘o‘à\bm@add{#4}%Ž¡��‘N�±354Ž‘fÚà\fi}ŽŸ€����‘ ÙÌ\bm@changefamŽŽŽ‘R²Pull–^out“one“sp�Geci ed“hex“digit“and“passes“it“to“Ú\bm@modify“²to“c•¸ãhange.‘]Êargumen“tަ�‘Ris–UUempt�¸ãy“normally“but“Ú000“²to“access“the“second“math“group“in“a“delimiter“co�Gde.ŽŸ ÕU��‘N�±355Ž‘\ª®à\def\bm@changefam#1{%Ž¡��‘N�±356Ž‘fÚà\@tempcnta\count@Ž¡��‘N�±357Ž‘fÚà\divide\@tempcnta"1000#1‘¹–%Ž¡��‘N�±358Ž‘fÚà\multiply\@tempcnta"1000#1‘¹–%Ž¡��‘N�±359Ž‘fÚà\advance\@tempcnta-\count@Ž¡��‘N�±360Ž‘fÚà\divide\@tempcnta-"100#1‘¹–%ޤÕU�‘R²Haš¸ãving–‹†isolated“the“required“math“group“(fam),‘™lo�Gok“up“the“o set“in“the“curren˜tަ�‘Rtable.ŽŸ ÕU��‘N�±361Ž‘fÚà\@tempcnta\bm@tableŽ¡�‘R²If–¥Fthe“o set“is“¸²1,‘¹Bkš¸ãeep“Ú\count@“²unc˜hanged,‘¹Bbut“set“Ú\@tempa“²to“use“p•Go“or‘¥Fman'sަ�‘Rb�Gold.‘qÇOtherwise–UUincremenš¸ãt“Ú\count@“²to“c˜hange“the“math“group“sp�Geci ed.ŽŸ ÕU��‘N�±362Ž‘fÚà\ifnum\@tempcnta=\m@neޤ ��‘N�±363Ž‘o‘à\let\@tempa\bm@pmbŽ¡��‘N�±364Ž‘fÚà\elseŽ¡��‘N�±365Ž‘o‘à\multiply\@tempcnta"100#1‘¹–%Ž¡��‘N�±366Ž‘o‘à\advance\count@\@tempcntaŽ¡��‘N�±367Ž‘fÚà\fi}ŽŸ€����‘À$\bm@primeŽŽŽ‘R²Supp�Gort–UUÚ'².‘qÇEarlier“vš¸ãersions“did“not“mak˜e“the“prime“b�Gold“in“a'.ަ�‘aÚ\bm{a''}–UU²will“no�¸ãw“prošGduce“(with“the“normal“enco˜dings)ŽŸª«�‘nY„à\mathchar‘¹–30049Ž¡�‘nY„\bm@prime–¹–\mathchar“1584“\relaxŽ¡�‘nY„\bm@prime–¹–\mathchar“1584“\relaxŽŸª«�‘R²So–›¤Ú\bm@prime“²do�Ges“essenš¸ãtially“the“same“as“the“activ˜e“de nition“of“Ú'²,‘í7whic˜h“isަ�‘Rto–ž£start“a“sup�Gerscript“group“then“kš¸ãeep“adding“Ú\prime“²for“eac˜h“Ú'“²(or“Ú\bm@prime²)ަ�‘Rfolloš¸ãwing.‘¢Here–Fämo�Gdi ed“to“grab“a“Ú\relax“²delimited“argumen˜t“and“use“that“insteadŽŽŸ�’þÿ20ŽŽŒ‹ßú y� ý£ ?� ýä�‘R²of–ËíÚ\prime².‘CúÚ\bm@prime“²is“lo�Gcally“Ú\let“²to“Ú'“²so“the“Ú\ifx“²tests“in“Ú\pr@m@s“²don't“needŽ© �‘Rc�¸ãhanging.ŽŸ��‘N�±368Ž‘\ª®à\def\bm@prime{^\bgroupޤ ��‘N�±369Ž‘fÚà\let\bm@prime'%Ž¡��‘N�±370Ž‘fÚà\def\prim@s##1\relax{##1\futurelet\@let@token\pr@m@s}%Ž¡��‘N�±371Ž‘fÚà\prim@s}ŽŸ����‘Lø\boldsymbolŽŽ���¦�‘“b\heavysymbolŽŽŽŽŽ‘R²Finally‘ÿ*ª,‘ÏÉto–„ease“con•¸ãv“ersion–„of“došGcumen�¸ãts“b˜et•¸ãw“een–„this“pac�¸ãk‘ÿqÇage“and“the“ßamsbsyަ�‘R²pac�¸ãk‘ÿqÇage:ŽŸ��‘N�±372Ž‘\ª®à\let\boldsymbol\bmŽŸ��‘N�±373Ž‘\ª®à\let\heavysymbol\hmŽŸ��‘N�±374Ž‘\ª®äh�ó85ùž" cmmi9ã=èpack�¾9ageŽ‘#g äiŽŽŸ�’þÿ²21ŽŽŒøêƒ’À;èyµ óBßCÊscmtt8ó=ÒoÇw cmss9ó9©±�Ê cmsy9ó85ùž" cmmi9ó6ñkAH cmssbx10ó5ߤN cmtt9ó4m#½R cmss10ó3ý': cmti10ó/ßê cmmi10óKñ`y cmr10óÙ“ Rcmr7óú±u cmex10ùìñßßßßßßß