÷ƒ’À;è TeX output 1998.01.17:2004‹ÿÿÿÿ y ý£ ? þ’ȇžóDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºbm“¹pacŒqk‘ÿäageŸùº¯ó!",š cmsy10¿ŽŽ“Ÿùº¯yŽŽŽŸ’… ±óX«Q cmr12»Daš¬rvid–ê¨Carlisle“with“suppSŽort“b˜y“F‘ÿVrank“Mittelbac˜hŽŽŽŽŽŸ37’æ 1997/11/22ŽŸ:Å‘Ró.ÂÖN ff cmbx12Ù1Ž‘jLËInŒÌtros3ductionŽŸç‘RóKñ`y cmr10²This–—apacš¸ãk‘ÿqÇage“de nes“commands“to“access“bGold“math“sym˜bGols.‘2vThe“basic“commandޤ ‘Ris–ìŽó/ßê cmmi10µ ‘Ð’¸6²=‘ÇóDF‰” cmmib10Å ².Ž¡‘aÚ\bm–,‹²goGes“to“some“trouble“to“preserv¸ãe“the“spacing,‘bXso“that“for“instance“Ú\bm<Ž¡‘R²is–O{a“bGold“Å<“²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“bGe“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“`bGold'“(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›úabGo•¸ãv“e˜command˜is˜mainly˜in“tended˜for˜use˜in˜pac“k‘ÿqÇages.‘È·F‘ÿ*ªor˜oGccasionalŽ¡‘Ruse–õFin“LŸýó5‘üffóÙ“ Rcmr7±AŽŽ‘͉²T‘þU>Ÿ'EŽ‘ãxX“doGcumenš¸ãts,‘}and“for“compatibilit˜y“with“the“plain“T‘þU>Ÿ'EŽ‘ãxX“suppGort“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“bGold'Ž¡‘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“bGe“made“b˜y“spGecifying“theŽ¡‘Roptional–Ä‚argumenš¸ãt“`hea˜vy'“to“Ú\DeclareBoldMathCommand².‘AAgain“an“abbreviation,Ž¡‘RÚ\hmdefine²,–UUis“proš¸ãvided,“equiv‘ÿqÇalen˜t“to:Ž¡‘RÚ\DeclareBoldMathCommand[heavy]².Ž‘RŸŸJ‰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‘ffallos3cationŽŸç‘R²In–1æorder“to“access“bGold“fonš¸ãts“in“the“simplest“and“quic˜k˜est“pGossible“manner,‘i theŽ¡‘Rpacš¸ãk‘ÿqÇage–“`normally“alloGcates“sym˜bGol“fon˜ts“for“bšGold“(and“p˜ossibly“heaš¸ãvy)“fon˜ts“in˜toŽ¡‘Rthe–n6`normal'“math“vš¸ãersion.‘¼kBy“default“it“alloGcates“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Ž¡‘RbGeing–\used,‘3Þsevš¸ãen“additional“sym˜bGol“fon˜ts“will“bGe“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•¸ãbGol›°ñfon“t,‘ÇØbringing˜the˜total˜to˜t“w“elv“e.‘„œThe˜maxim“um˜n“um“bGer˜of˜sym“bGol˜Þ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˜bGols“(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“bGe“suit-Ž¡‘Rable–…†v‘ÿqÇalues,‘‘’for“instance“yš¸ãou“ma˜y“w˜an˜t“to“set“Ú\newcommand\hmmax{0}“²if“y˜ou“willŽ¡‘Rnot–UUbGe“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“bGold“fon˜ts“(b˜yŽ¡‘Raccessing–qÆthe“fonš¸ãts“via“Ú\boldmath²)“but“this“methoGd“is“slo˜w˜er,‘xãand“doGes“not“w˜orkŽ¡‘Rwith–âdelimiters.‘ %Delimiters“can“only“bšGe“made“b˜old“if“the“b˜old“fon¸ãt“has“b˜eenŽ¡‘RalloGcated.Ž¡‘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“bGold“and“medium“w˜eigh˜ts“y˜ou“ma˜y“w˜an˜t“to“Þincr–ÿ}'e“aseŽ¡‘RÚ\bmmax–UU²so“that“fonš¸ãts“are“alloGcated“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“bGe“ob˜vious.ŽŸþ6‘RóÂÖN  cmbx12Á3.1Ž‘pÀIn teraction–€with“Math“Alphab`et“CommandsŽŸuT‘R²As–9ðmenš¸ãtioned“abGo˜v˜e,‘?jÚ\bm“²goGes“to“some“trouble“to“try“to“mak˜e“a“command“that“isŽ¡‘Rjust–Û;likš¸ãe“its“argumen˜t,‘ü´but“using“a“bGold“fon˜t.‘xThis“doGes“not“alw˜a˜ys“proGduce“theŽ¡‘Re ect–UUthat“yš¸ãou“migh˜t“expGect.ŽŸ‘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²proGduces–UUthe“follo¸ãwing:ŽŽŸ’2ŽŽŒ‹ ‚ y ý£ ? ýä‘R²1µg•[ÙÅg‘´&²2ggŽ‘ xä3µg“ÅgŽŽ‘ ‚ó²4g#Å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“bGoth“Úg“²and“Ú\bm{g}Ž¡‘R²in–UUthe“same“w•¸ãa“y‘ÿ*ª,–UUand“so“they“are“bGoth“roman.Ž¡‘aÚ\bm–°Í²only“inspGects“the“`top“lev¸ãel'“de nition“of“a“command,‘ѵfor“more“complicatedŽ¡‘Rexpressions,›J and–G:an¸ãything“inside“a“Ú{‘?ý}“²group,˜Ú\bm“²forces“bGold“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“proGduces“iden˜tical“outputŽ¡‘Rto–UUthe“ rst“(but“T‘þU>Ÿ'EŽ‘ãxX“tak¸ães“more“time“proGducing“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“alphabGet“settings“are“notŽ¡‘Rpassed–ð¸do¸ãwn“to“`nested'“math“lists,›W‘and“so“in“this“example,˜the“Ú\mathrm“²hasŽ¡‘Rno–UUe ect,“and“a“bGold“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“bGold“roman“Âg².Ž©þ6‘RÁ3.2Ž‘pÀDelimitersŽŸuT‘R²T‘þU>Ÿ'EŽ‘ãxX–Acan“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>“²proGduces“¸hŽ‘eiŽŽ‘ H­²,‘«êwhic˜h“is“totally“di eren˜t“fromŽ¡‘RÚ<>²,–UUwhic¸ãh“proGduces“µ<>².Ž¡‘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{<}“²doGesŽ¡‘Rnot–UUw¸ãork,“but“Ú\bm{\left<}“²doGes.ަ‘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“bGe“included“in“Ú\bm².Ž¡‘aSo–öDÚ\bm{\overbrace{abc}}“²(proGducingŸö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–)bGold,‘jxÂ^Ž‘ eÅaŽŽ‘ t‰².‘[¹Similarly‘ÿ*ª,‘ ealthough“the“LŸýó5‘üff±AŽŽ‘͉²T‘þU>Ÿ'EŽ‘ãxX“command“Ú\sqrt“²m˜ust“bGe“used“withŽ‘RŸŸJ‰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“bGold“fon˜ts“withoutŽ¡‘Rmaking–Šall“of“the“argumenš¸ãts“bGold,‘æ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“bGold“fon˜ts“are“a˜v‘ÿqÇailable.‘P^This“means“that“it“is“bGest“to“load“theŽ¡‘Rpac•¸ãk‘ÿqÇage› ­Þafter‘ :²an“y˜pac“k‘ÿqÇages˜that˜de ne˜new˜sym“bGol˜fon“ts,‘:ƒor˜(lik“e˜the˜ßmathtimeŽ¡‘R²pacš¸ãk‘ÿqÇage)–UUcompletely“c˜hange“the“sym˜bGol“fon˜t“alloGcations.Ž¡‘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{bGold'“that“is,‘VÄo•¸ãv“erprin“ting–V{the“same“cš¸ãharacter“in“sligh˜tly“o set“pGositions“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“bGold“mathŽ¡‘Rfonš¸ãts.‘ØjIn–w‹the“`math˜time“plus'“fon˜t“set“there“are“suitable“fon˜ts“for“bGold“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“bGold“math“fon˜ts,‘•çso“Ú\bm“²will“use“`p•Go“or–UÊman's“bGold.Ž¡‘RHo•¸ãw“ev“er–_áif“the“Lucida“ExpGert“set“is“used,›b„Then“Ú\bm“²will“detect,˜and“use“the“bGoldŽ¡‘Rmath–UUfonš¸ãts“that“are“a˜v‘ÿqÇailable.Ž¡‘aAs–)pdiscussed“abGo•¸ã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“alloGcation“system.‘&]Finer“con˜trol“ma˜y“bGe“gained“b˜yŽ¡‘Rexplicitly–2declaring“bšGold“sym¸ãb˜ol“fon¸ãts.‘]Supp˜ose“yš¸ãou“ha˜v˜e“a“sym˜bGol“fon˜t“`xyz'“thatŽ¡‘Ris–Ä”aš¸ãv‘ÿqÇailable“in“medium“and“bGold“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“pGoin˜t“the“sym˜bšGols“wil“b˜e“aš¸ãv‘ÿqÇailable“in“the“normal“math“v˜ersion,‘™Oand“theirŽ¡‘RbGold–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š¸ãbGol“fon˜t“whose“name“is“formed“b˜y“pre xing“`bGold'“(or“`hea˜vy')Ž¡‘Rto–*,an“existing“symš¸ãbGol“fon˜t,‘_athen“Ú\bm“²(or“Ú\hm²)“will“use“this“fon˜t“directly‘ÿ*ª,‘_aratherŽ¡‘Rthen–UUaccessing“the“`extras'“symš¸ãbGol“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“pGossible“that“some“strange“constructions“couldŽ¡‘R`confuse'–`Þthis“in•¸ãv“estigation.‘”aIf–`Þthis“happGens“then“LŸýó5‘üff±AŽŽ‘͉²T‘þU>Ÿ'EŽ‘ãxX“will“almost“certainly“stopŽ¡‘Rwith–]Úa“strange“error.‘IThis“should“not“happGen“with“anš¸ãy“of“the“math“sym˜bGols“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š¸ãbGols–¶lusing“normal“LŸýó5‘üff±AŽŽ‘͉²T‘þU>Ÿ'EŽ‘ãxX“math“constructs.‘<ÏHo˜w˜ev˜er“if“some“command“doGes“failŽ¡‘Rto–Swš¸ãork“inside“Ú\bm“²y˜ou“should“alw˜a˜ys“bGe“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}}².ŽŸü¿‘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“doGcumen˜ts“bGet˜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².ŽŸ!M‘RÙ4Ž‘jLËImplemenŒÌtationŽŸç‘R²The–ÀŠcommands“Ú\bm“²and“Ú\hm“²wš¸ãork“b˜y“de ning“a“n˜um˜bGer“of“additional“sym˜bGol“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`bGold'“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–ÁœcoGde“can“not“wš¸ãork“inside“a“group,‘­as“that“w˜ould“a ect“an˜y“sym˜bGol“fon˜tŽ¡‘RalloGcations,‘]so–Ÿinstead“use“some“scratcš¸ãh“macros“to“sa˜v˜e“and“restore“the“de nitionsŽ¡‘Rof–UUcommands“wš¸ãe“need“to“c˜hange“loGcally‘ÿ*ª.Ž© ÃÄ‘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–´\²spGeci es“the“maximš¸ãum“n˜um˜bGer“of“fon˜ts“to“alloGcate“(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“bGol˜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¸ãbGols,›in–¯this“example),˜and“the“second“argumen¸ãt“is“a“csname“whose“ÞnameŽ¡‘R²denotes–ÎÓthe“fon¸ãt“used.‘ÞBSo“loGcally“rede ne“Ú\getanddefine@fonts“²to“compare“Ú#2Ž¡‘R²with–UUthe“name“in“the“appropriate“slot“in“the“bGold“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“alloGcated“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“bGold.Ž¡‘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˜bGol“fon˜t“eg,ޤ ‘RÚ\symboldsymbols–Ìv²to“matcš¸ãh“Ú\symsymbols².‘×*If“that“fon˜t“has“already“bGeen“allo-Ž¡‘Rcated,‘ºor–ë”if“Ú\@tempcnta“²is“pGositivš¸ãe“so“w˜e“can“alloGcate“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“bGe“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“`opGerators'“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˜bGer“of“fon˜ts“w˜e“can“still“alloGcate.ޤ‘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“bGold“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–UUalloGcate“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“loGcal“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•¸ãbGol›-ìfon“ts˜declared˜later˜will˜also˜w“ork,‘5Îas˜long˜as˜a˜bGold˜v“ersion˜is˜assigned˜toŽ¡‘Rthe–UUbGold“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˜toGo˜man“y˜sym“bGol˜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“bGold“fon˜ts“not“soŽ¡‘RallošGcated–Â_will“b˜e“accessed“via“Ú\boldmath“²whicš¸ãh“is“slo˜w˜er“and“doGesn˜t“w˜ork“forŽ¡‘Rdelimiters–dand“accenš¸ãts.‘ßIt“ma˜y“bGe“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“bGefore“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“bGold“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“bGold“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“²abGo•¸ãv“e– to“set“up“Ú\bm@boldtable“²b¸ãy“comparingޤ ‘Rthe–UUfonš¸ãts“a˜v‘ÿqÇailable“in“the“normal“and“bGold“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“alloGcate“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–UUopGerators“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“bGe“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–í¨coGde“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ÊloGcally“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“loGok“at“their“de nition“turn“o “protection.ŽŸ ‘ROtherwise–UUthe“Ú\protect“²will“bGe“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“bGold“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“loGcally“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–UUAMS“de nitions.ަ‘N±134Ž‘o‘à\let\DN@\copyŽ¡‘N±135Ž‘o‘à\let\FN@\copyŽ¡‘N±136Ž‘o‘à\let\next@\copyŽ¡‘N±137Ž‘o‘à\global\let\bm@first\@emptyŽŸ‘R²F‘ÿ*ªor–UUbreqn“de nitions.ަ‘N±138Ž‘o‘à\let\@ifnext\@ifnextcharŽ¡‘N±139Ž‘o‘à\let\measure@lhs\copyŽ¡‘N±140Ž‘o‘à\let‘¹–\rel@break\copyŽ¡‘N±141Ž‘o‘à\let‘¹–\bin@break\copyŽ¡‘N±142Ž‘o‘à\let‘¹–\after@open\copyŽ¡‘N±143Ž‘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“moGde).ަ‘N±144Ž‘o‘à\let\ifmmode\iftrueŽ¡‘R²The–ð1last“rede nition“just“makš¸ães“Ú\mathit“²t˜ypGe“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±145Ž‘o‘à\def\select@group##1##2##3##4{{%ޤ ‘N±146Ž‘y2à\protect##1{##4}}}%Ž¡‘N±147Ž‘o‘à\def\use@mathgroup##1##2##3{{%Ž¡‘N±148Ž‘y2à\protect\use@mathgroup##1{##2}{##3}}}%ŽŸ‘a²So–UUnoš¸ãw“start“loGoking“at“the“argumen˜t.ަ‘N±149Ž‘o‘à\bm@expand#4\bm@endŽ¡‘N±150Ž‘fÚà\endgroupŽŽŸ’þÿ²11ŽŽŒ‹ }« y ý£ ? ýä‘a²Finally–žcoutside“the“group“either“execute“Ú\bm@command“²(for“Ú\bm²)“or“sa•¸ãv“e‘žcitsŽ© ‘Rde nition–UU(for“Ú\bmdefine²).ޤ‘N±151Ž‘fÚà#3}ŽŸ‘R²End–UUof“the“Ú\@firstofone“²abšGo•¸ãv“e,–UUand“the“scop˜e“of“the“activ¸ãe“Ú'².Ž¡‘N±152Ž‘\ª®à}ŽŸ‘:¨\bmŽŽŽ‘R²Set–íÀup“the“bGold“(rather“than“heaš¸ãvy)“v˜ersion,‘Ûand“run“Ú\bm@command“²righ˜t“at“theަ‘Rend,‘Â{to–¬¦execute“the“emš¸ãbGoldened“argumen˜t.‘w»The“argumen˜t“is“grabbGed“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±153Ž‘\ª®à\DeclareRobustCommand\bm{%ޤ ‘N±154Ž‘fÚà\bm@general\boldmath\bm@boldtable\bm@command}Ž¡‘N±155Ž‘\ª®à\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“`bGold'.ŽŸ‘N±156Ž‘\ª®à\def\DeclareBoldMathCommand{\@testopt\bm@declare{bold}}ŽŸ‘N±157Ž‘\ª®à\def\bm@declare[#1]#2{%Ž¡‘N±158Ž‘fÚà\expandafter\bm@generalŽ¡‘N±159Ž’‚w^à\csname‘¹–#1math\expandafter\endcsnameŽ¡‘N±160Ž’‚w^à\csname‘¹–bm@#1table\endcsnameŽ¡‘N±161Ž’‚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–ÉÉbGe“used.‘CC(The“former“just“for“compatibilit˜y“with“the“original“v˜ersion“for“plainަ‘RT‘þU>Ÿ'EŽ‘ãxX).ŽŸ‘N±162Ž‘\ª®à\def\bmdefine{\DeclareBoldMathCommand[bold]}Ž¡‘:¨\hmŽŽ¦‘À$\hmdefineŽŽŽŽŽ‘R²Same–UUagain“for“Ú\hm².ޤ‘N±163Ž‘\ª®à\ifx\mv@heavy\@undefinedŽŸ‘a²If–ü‡there“is“no“heaš¸ãvy“math“v˜ersion“de ned,‘Jlet“Ú\hm“²bGe“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±164Ž‘fÚà\let\hm\bmޤ ‘N±165Ž‘fÚà\let\heavymath\boldmathŽ¡‘N±166Ž‘fÚà\let\bm@heavytable\bm@boldtableŽ©‘N±167Ž‘\ª®à\elseŽŸ‘a²Otherwise–UUde ne“Ú\hm“²and“Ú\hmdefine“²in“direct“analogy“with“the“abGo•¸ãv“e.ŽŸ‘N±168Ž‘fÚà\DeclareRobustCommand\hm{%Ž¡‘N±169Ž‘o‘à\bm@general\heavymath\bm@heavytable\bm@command}Ž¡‘N±170Ž‘fÚà\protected@edef\hm#1{\hm{#1}}ަ‘N±171Ž‘fÚà\def\hmdefine{\DeclareBoldMathCommand[heavy]}ŽŽŸ’þÿ²12ŽŽŒ‹ †­ y ý£ ? ýä‘N±172Ž‘\ª®à\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“bGe“tak˜enŽ¡‘Ras–­ëthe“argumenš¸ãt,‘Äand“so“the“rest“of“the“paragraph“w˜ould“bGe“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±173Ž‘\ª®à\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ŽŽŽŸ‘N174Ž‘\ª®à\def\bm@expand{\afterassignment\bm@exp@nd\count@`\a}ŽŸ‘N±175Ž‘\ª®à\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“bGetterŽ¡‘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±176Ž‘\ª®à\def\bm@test{%ޤ ‘N±177Ž‘fÚà\let\bm@previous\@let@tokenŽ¡‘N±178Ž‘fÚà\futurelet\@let@token\bm@test@}ަ‘À$\bm@test@ŽŽŽ‘R²If–ü’loGoking“at“a“single“tok•¸ãen,›&aswitc“h–ü’to“Ú\bm@test@token²,˜else“if“loGoking“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“trappGed).ŽŸ‘N±179Ž‘\ª®à\def\bm@test@{%ޤ ‘N±180Ž‘fÚà\ifx\@let@token\bgroupŽ¡‘N±181Ž‘o‘à\expandafter\bm@groupŽ¡‘N±182Ž‘fÚà\elseŽ¡‘N±183Ž‘o‘à\expandafter\bm@test@tokenŽ¡‘N±184Ž‘fÚà\fi}ަ‘À$\bm@gr@upŽŽŽ‘R²If–$ífaced“with“a“group,›.›If“w¸ãe“are“in“math“moGde,˜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“doGesn't“seem“to“gain“vš¸ãery“m˜uc˜h,‘2QandŽ¡‘Rcomplicates–UUthe“coGde“quite“a“bit.Ž‘RŸX-‰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ŽŽŒ‹‘x 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±185Ž‘\ª®à\def\bm@gr@up#1#2{%Ž© ‘N±186Ž‘fÚà\bm@add{{\bm@gr@@p#1{{#2}}}}}ŽŸáâ‘À$\bm@gr@@pŽŽŽ‘RÚ#1–UU²is“either“Ú\boldmath“²or“Ú\heavymath².Ž¡‘N±187Ž‘\ª®à\def\bm@gr@@p#1#2{%ަ‘N±188Ž‘fÚà\ifmmodeަ‘N±189Ž‘o‘à\bm@mchoice#1{#2}{#2}{#2}{#2}%ަ‘N±190Ž‘fÚà\elseަ‘N±191Ž‘o‘à\bfseries#1#2%ަ‘N±192Ž‘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“pGoin˜t“at“the“bGold“v˜ersion.‘ÔOther“thingsŽ¡‘Rjust–}tcopš¸ãy“straigh˜t“o˜v˜er“to“the“command“bGeing“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±193Ž‘\ª®à\def\bm@test@token#1{%ަ‘N±194Ž‘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–UUbGe“a“`quark'“lik˜e“Údocstrip²'s“Ú\qStop².)ŽŸ KK‘N±195Ž‘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±196Ž‘fÚà\else\ifx#1\mathchoiceŽŸ ‘N±197Ž‘o‘à\let\bm@next\bm@mathchoiceަ‘a²The–UUmain“pGoinš¸ãt:‘qÇFind“these“expressions,“and“c˜hange“the“mathgroup.Ž¡‘N±198Ž‘fÚà\else\ifx#1\mathcharޤ ‘N±199Ž‘o‘à\afterassignment\bm@mathchar\count@Ž¡‘N±200Ž‘fÚà\else\ifx#1\mathaccentŽ¡‘N±201Ž‘o‘à\afterassignment\bm@mathaccent\count@Ž¡‘N±202Ž‘fÚà\else\ifx#1\delimiterŽ¡‘N±203Ž‘o‘à\afterassignment\bm@delimiter\count@Ž¡‘N±204Ž‘fÚà\else\ifx#1\radicalŽ¡‘N±205Ž‘o‘à\afterassignment\bm@radical\count@ަ‘a²Need–UUto“trap“spaces“otherwise“digits“will“get“turned“to“bGold“mathc¸ãhars.ŽŸ KK‘N±206Ž‘fÚà\else\ifx#1\mkernŽ¡‘N±207Ž‘o‘à\bm@register#1{\muskip\z@}%Ž¡‘N±208Ž‘fÚà\else\ifx#1\kernŽ¡‘N±209Ž‘o‘à\bm@register#1\dimen@Ž¡‘N±210Ž‘fÚà\else\ifx#1\penaltyŽ¡‘N±211Ž‘o‘à\bm@register#1\count@ŽŽŸ’þÿ²14ŽŽŒ‹ž× y ý£ ? ýä‘N±212Ž‘fÚà\else\ifcat\noexpand#1\relaxŽŸ‘R²Other–UUcommand,“loGok“if“it's“a“mathcš¸ãhardef“tok˜en“(otherwise“just“add“it).Ž©‘N±213Ž‘o‘à\xdef\meaning@{\meaning#1}%ŽŸ ‘N±214Ž‘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“loGok“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“delcoGde“instead“of“theŽ¡‘RmathcoGde.ަ‘N±215Ž‘fÚà\else\ifcat.\ifcat‘¹–a#1.\else#1\fiޤ ‘N±216Ž‘o‘à\count@\mathcode`#1\relaxŽ¡‘N±217Ž‘o‘à\ifnum\count@=\mathcode`\'%Ž¡‘N±218Ž‘y2à\begingroup\uccode`\~`#1\uppercase{\endgroupŽ¡‘N±219Ž’‚w^à\def\bm@next{\bm@expand~}}%Ž¡‘N±220Ž‘o‘à\elseŽ¡‘N±221Ž‘y2à\ifx\bm@previous\leftŽ¡‘N±222Ž’‚w^à\count@\delcode`#1\relaxŽ¡‘N±223Ž’‚w^à\bm@delimiterŽ¡‘N±224Ž‘y2à\elseŽ¡‘N±225Ž’‚w^à\bm@mathcharŽ¡‘N±226Ž‘y2à\fiŽ¡‘N±227Ž‘o‘à\fiŽ¡‘N±228Ž‘fÚà\elseŽŸ‘R²And–UU nal“pGossibilitš¸ãy:‘qÇa“c˜haracter“tok˜en“of“catcoGde“other“than“11“or“12.ަ‘N±229Ž‘o‘à\bm@add{#1}%Ž¡‘N±230Ž‘fÚà\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fiŽ¡‘N±231Ž‘fÚà\bm@next}ŽŸ‘Ž\bm@defineŽŽŽ‘R²End–xicoGde“for“Ú\bmdefine².‘ÛDe ne“the“giv¸ãen“command“name“to“the“robust“form“ofޤ ‘Rthe–UUaccum¸ãulated“coGde.Ž¡‘aIf–‡Ú\bm@command“²is“equal“to“Ú\@gtempa“²then“it“is“a“macro“whose“expansion“is“aŽ¡‘Rsingle–UUcall“to“Ú\mathchar²,“so“that“can“bGe“optimised“with“a“Ú\mathchardef².ަ‘N±232Ž‘\ª®à\def\bm@define#1{%ޤ ‘N±233Ž‘fÚà\begingroupŽ¡‘N±234Ž‘o‘à\ifx\bm@command\@gtempaŽ¡‘N±235Ž‘y2à\def\mathchar{\global\mathchardef#1}%Ž¡‘N±236Ž‘y2à\bm@commandŽ¡‘N±237Ž‘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“bGe“something“lik˜e“Ú\DOTSI‘ر²whic˜h“needsŽ¡‘Rto–úÞbGe“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.ަ‘N±238Ž‘y2à\toks@\expandafter{\bm@command}%ޤ ‘N±239Ž‘y2à\xdef#1{\bm@first\noexpand\bm@protect\noexpand#1{\the\toks@}}%Ž¡‘N±240Ž‘o‘à\fiŽ¡‘N±241Ž‘fÚà\endgroup}ŽŽŸ’þÿ²15ŽŽŒ‹ª y ý£ ? ýä‘Løà\bm@protectŽŽŽ‘R²Commands–UUde ned“bš¸ãy“Ú\bmdefine“²re-insert“themselv˜es“if“protection“is“enabled.Ž©‘N±242Ž‘\ª®à\def\bm@protect#1{%ޤ ‘N±243Ž‘fÚà\ifx\protect\@typeset@protectŽ¡‘N±244Ž‘o‘à\expandafter\@firstofoneŽ¡‘N±245Ž‘fÚà\elseŽ¡‘N±246Ž‘o‘à\protect#1\expandafter\@gobbleŽ¡‘N±247Ž‘fÚà\fi}ŽŸ‘Lø\bm@mchoiceŽŽŽ‘RÚ\boldsymbol²,–UUmore“or“less.‘qÇÚ#1“²is“either“Ú\boldmath“²or“Ú\heavymath².ަ‘N±248Ž‘\ª®à\def\bm@mchoice#1#2#3#4#5{%Ž¡‘N±249Ž‘fÚà\mathchoice{\hbox{#1$\displaystyle\m@th#2$}}%Ž¡‘N±250Ž’šLà{\hbox{#1$\textstyle\m@th#3$}}%Ž¡‘N±251Ž’šLà{\hbox{#1$\scriptstyle\m@th#4$}}%Ž¡‘N±252Ž’šLà{\hbox{#1$\scriptscriptstyle\m@th#5$}}}ŽŸ‘ 6\bm@m@thchoiceŽŽŽ‘R²Action–>|if“yš¸ãou“ nd“a“Ú\mathchoice².‘-=Add“the“bGold“v˜ersion“to“Ú\bm@command“²thenޤ ‘Rrecurse.Ž¡‘aÚ#1–UU²is“either“Ú\boldmath“²or“Ú\heavymath².ަ‘N±253Ž‘\ª®à\def\bm@m@thchoice#1#2#3#4#5{%ޤ ‘N±254Ž‘fÚà\bm@add{\bm@mchoice#1{#2}{#3}{#4}{#5}}}ŽŸ‘“b\bm@registerŽŽŽ‘R²Comš¸ãbined–UUcoGde“for“setting“up“Ú\bm@r@gister“²with“the“correct“register“t˜ypGe.ަ‘N±255Ž‘\ª®à\def\bm@register#1#2{%Ž¡‘N±256Ž‘fÚà\def\@tempa{#1\the#2}%Ž¡‘N±257Ž‘fÚà\afterassignment\bm@r@gister#2}ŽŸ‘“b\bm@r@gisterŽŽŽ‘RÚ\mkern–\í²itself“wš¸ãould“transfer“to“Ú\bm@command“²without“an˜y“spGecial“test,‘žÒbut“an˜yޤ ‘Rexplict–ß¹dimension“folloš¸ãwing“w˜ould“bGe“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±258Ž‘\ª®à\def\bm@r@gister{%ŽŸ ‘N±259Ž‘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“bGold“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±260Ž‘\ª®à\def\bm@mathchar{%ŽŸ‘N±261Ž‘fÚà\@tempcntb\count@ŽŸ ‘N±262Ž‘fÚà\let\@tempa\bm@groupŽŸ‘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±263Ž‘fÚà\bm@changefam{}%ŽŽŸ’þÿ²16ŽŽŒ‹´3 y ý£ ? ýä‘a²If–©fthe“mathcoGde“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).Ž© LÍ‘N±264Ž‘fÚà\ifnum\count@>\@tempcntbŽŸ™š‘N±265Ž‘o‘à\ifx\bm@command\@emptyޤ ‘N±266Ž‘y2à\xdef\@gtempa{\mathchar\the\count@\space}%Ž¡‘N±267Ž‘o‘à\fiŽ¡‘N±268Ž‘o‘à\bm@xadd{\mathchar\the\count@\space}%Ž¡‘N±269Ž‘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“pGoin˜t).ަ‘N±270Ž‘o‘à\begingroupŽ¡‘N±271Ž‘y2à\divide\count@"1000Ž¡‘N±272Ž‘y2à\let\bm@expand\relaxŽ¡‘N±273Ž‘y2à\bm@xadd\bm@classŽ¡‘N±274Ž‘o‘à\endgroupŽŸLÍ‘RÚ\@tempa–Û²²will“bGe“Ú\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“bGold'Ž¡‘Rconstruction–UUin“a“Ú\mathchoice²).ަ‘N±275Ž‘o‘à\edef\@tempb{%ޤ ‘N±276Ž‘y2à\noexpand\@tempa{\mathchar\the\count@\space}}%Ž¡‘N±277Ž‘o‘à\@tempbŽ¡‘N±278Ž‘fÚà\fi}ŽŸæf‘'3P\bm@pmbŽŽŽ‘R²Add–UUa“p•Go“or–UUman's“bšGold“construction“to“the“list“b˜eing“built.ަ‘N±279Ž‘\ª®à\def\bm@pmb#1{%Ž¡‘N±280Ž‘fÚà\bm@add{\bm@pmb@{#1}}}ŽŸæf‘"yº\bm@pmb@ŽŽŽ‘RÚ\pmb–å¶²v‘ÿqÇarianš¸ãt.‘L’(See“T‘þU>Ÿ'EŽ‘ãxXBoGok,‘ü 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±281Ž‘\ª®à\def\bm@pmb@#1{{%Ž¡‘N±282Ž‘fÚà\setbox\tw@\hbox{$\m@th\mkern.4mu$}%Ž¡‘N±283Ž‘fÚà\mathchoiceŽ¡‘N±284Ž‘o‘à\bm@pmb@@\displaystyle\@empty{#1}%Ž¡‘N±285Ž‘o‘à\bm@pmb@@\textstyle\@empty{#1}%Ž¡‘N±286Ž‘o‘à\bm@pmb@@\scriptstyle\defaultscriptratio{#1}%Ž¡‘N±287Ž‘o‘à\bm@pmb@@\scriptscriptstyle\defaultscriptscriptratio{#1}}}ŽŸæf‘À$\bm@pmb@@ŽŽŽ‘R²HelpGer–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“spGeci ed“in“Ú#2².ަ‘N±288Ž‘\ª®à\def\bm@pmb@@#1#2#3{{%Ž¡‘N±289Ž‘fÚà\setbox\z@\hbox{$\m@th#1#3$}%Ž¡‘N±290Ž‘fÚà\dimen@#2\wd\tw@Ž¡‘N±291Ž‘fÚà\rlap{\copy\z@}%Ž¡‘N±292Ž‘fÚà\kern\dimen@Ž¡‘N±293Ž‘fÚà\raise1.5\dimen@\rlap{\copy\z@}%Ž¡‘N±294Ž‘fÚà\kern\dimen@Ž¡‘N±295Ž‘fÚà\box\z@}}%ŽŽŸ’þÿ²17ŽŽŒ‹¿ y ý£ ? ýä‘À$à\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±296Ž‘\ª®à\def\bm@class{%ޤ ‘N±297Ž‘fÚà\ifcase\count@Ž¡‘N±298Ž‘o‘à\orŽ¡‘N±299Ž‘o‘à\mathop\orŽ¡‘N±300Ž‘o‘à\mathbin\orŽ¡‘N±301Ž‘o‘à\mathrel\orŽ¡‘N±302Ž‘o‘à\mathopen\orŽ¡‘N±303Ž‘o‘à\mathclose\orŽ¡‘N±304Ž‘o‘à\mathpunct\orŽ¡‘N±305Ž‘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“spGeci c“toŽ¡‘RÚ\bm@command²,–UUand“to“execute“Ú\bm@expand“²to“con•¸ãtin“ue–UUthe“loGop.ަ‘N±306Ž‘\ª®à\def\bm@add#1{%ޤ ‘N±307Ž‘fÚà\begingroupŽ¡‘N±308Ž‘o‘à\toks@\expandafter{\bm@command#1}%Ž¡‘N±309Ž‘o‘à\xdef\bm@command{\the\toks@}%Ž¡‘N±310Ž‘fÚà\endgroupŽ¡‘N±311Ž‘fÚà\bm@expand}ŽŸ‘"yº\bm@xaddŽŽŽ‘R²An–UUÚ\xdef“²v¸ãersion“of“Ú\bm@add².ަ‘N±312Ž‘\ª®à\def\bm@xadd#1{%Ž¡‘N±313Ž‘fÚà\begingroupŽ¡‘N±314Ž‘o‘à\toks@\expandafter{\bm@command}%Ž¡‘N±315Ž‘o‘à\xdef\bm@command{\the\toks@#1}%Ž¡‘N±316Ž‘fÚà\endgroupŽ¡‘N±317Ž‘fÚà\bm@expand}ŽŸ‘ 6\bm@mathaccentŽŽŽ‘RÚ\mathaccent–UU²v¸ãersion“of“Ú\bm@mathchar².ަ‘N±318Ž‘\ª®à\def\bm@mathaccent{%Ž¡‘N±319Ž‘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“²doGes“not“attempt“to“parse“inside“braceŽ¡‘Rgroups.‘ªWhile–½pthat“proGduces“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²w•¸ãould›ùæw“ork,– 0proGducingŸý•U‘ ¬Â^ŽŸj«˜ÅAŽŽ‘ «ª²,“ho•¸ãw“ev“er˜I‘ùÏdid˜not˜w“an“t˜to˜doGcumen“t˜suc“h˜a˜restriction,Ž¡‘Rso–UUnoš¸ãw“moGdify“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–ãloGok-ahead,›”so“the“brace“groups“w¸ãould“then“v‘ÿqÇanish“during“expansion,˜ho•¸ãw“ev“erŽ‘RŸX-‰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²I‘$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“loGcally“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’moGdify“the“tokš¸ãens“of“the“`argumen˜t'.‘®This“means“that“Ú\bm{\hat{A}}“²no˜wŽ¡‘RproGducesŽŸÓz‘V¹–à\mathaccent–¹–29790“\bgroup“\mathchar“30017“\egroupŽŸÓz‘R²The–îinner“math“list“is“a“single“mathcš¸ãhar,‘àÏand“so“T‘þU>Ÿ'EŽ‘ãxX“will“not“bGo˜x“it,‘àÏand“the“mathŽ¡‘Raccenš¸ãt–UUwill“correctly“pGosition,“taking“in˜to“accoun˜t“the“sk˜ew˜c˜har“information.Ž¡‘aAs–à the“normal“bm“loGok‘ÿ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“bGeŽ¡‘Rcorrectly›åŠupGdated.‘"gHo•¸ãw“ev“er˜that˜is˜only˜used˜for˜delimiter˜c“hec“king,‘ —so˜can˜notŽ¡‘Rmatter‘UUhere.Ž© 齑N±320Ž‘adDà\begingroupޤ ‘N±321Ž‘adDà\def\bm@group##1{\endgroup\bm@xadd{\bgroup}##1\egroup}%Ž¡‘N±322Ž‘adDà\def\bm@test@token{\endgroup\bm@test@token}%Ž¡‘N±323Ž‘adDà\let\relax\@emptyŽŸÓz‘N±324Ž‘adDà\bm@xadd{\mathaccent\the\count@\space}}ŽŸ½8‘ ÙÌ\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“coGde“`0'“as“that“denotes“a“n˜ull“delimiter.ަ‘N±325Ž‘\ª®à\def\bm@delimiter{%Ž¡‘N±326Ž‘fÚà\ifnum\count@>\z@Ž¡‘N±327Ž‘o‘à\bm@changefam{}%Ž¡‘N±328Ž‘o‘à\bm@changefam{000}%Ž¡‘N±329Ž‘fÚà\fiŽ¡‘N±330Ž‘fÚà\bm@xadd{\delimiter\the\count@\space}}%ŽŸ½8‘Lø\bm@radicalŽŽŽ‘R²Same–UUfor“Ú\radical².ަ‘N±331Ž‘\ª®à\def\bm@radical{%Ž¡‘N±332Ž‘adDà\bm@changefam{}%Ž¡‘N±333Ž‘adDà\bm@changefam{000}%Ž¡‘N±334Ž‘adDà\bm@xadd{\radical\the\count@\space}}%ޤ½8‘Ž\bm@mchar@ŽŽŽ‘R²CatcoGde–UU12“Ú\mathchar²,“for“Ú\ifx“²tests.ަ‘N±335Ž‘\ª®à\edef\bm@mchar@{\meaning\mathchar}Ž¡‘ 6\bm@mchar@testŽŽŽ‘R²T‘ÿ*ªest–iFif“the“Ú\meaning“²starts“with“Ú\mathchar².‘#If“it“doGes,‘˜|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.Ž¡‘RÚ#1²,–Ì5Ú#2²,“Ú#3–©í²are“all“Ú\meaning“²proGduced“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².ަ‘N±336Ž‘\ª®à\def\bm@mchar@test#1"#2"#3\@nil#4{%ޤ ‘N±337Ž‘fÚà\xdef\meaning@{#1}%Ž¡‘N±338Ž‘fÚà\ifx\meaning@\bm@mchar@ŽŽŸ’þÿ²19ŽŽŒ‹Óú y ý£ ? ýä‘N±339Ž‘o‘à\count@"#2\relaxޤ ‘N±340Ž‘o‘à\bm@mathcharŽ¡‘N±341Ž‘fÚà\elseŽŸÇ‘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².ŽŸ Ç‘N±342Ž‘o‘à\ifx\bm@previous\@emptyŽ¡‘N±343Ž‘y2à\ifx\relax#4%Ž¡‘N±344Ž’‚w^à\gdef\bm@first{#4}%Ž¡‘N±345Ž‘y2à\fiŽ¡‘N±346Ž‘o‘à\fiŽ¡‘N±347Ž‘o‘à\bm@add{#4}%Ž¡‘N±348Ž‘fÚà\fi}ŽŸUU‘ ÙÌ\bm@changefamŽŽŽ‘R²Pull–^out“one“spGeci 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“coGde.ŽŸ Ç‘N±349Ž‘\ª®à\def\bm@changefam#1{%Ž¡‘N±350Ž‘fÚà\@tempcnta\count@Ž¡‘N±351Ž‘fÚà\divide\@tempcnta"1000#1‘¹–%Ž¡‘N±352Ž‘fÚà\multiply\@tempcnta"1000#1‘¹–%Ž¡‘N±353Ž‘fÚà\advance\@tempcnta-\count@Ž¡‘N±354Ž‘fÚà\divide\@tempcnta-"100#1‘¹–%ޤÇ‘R²Haš¸ãving–‹†isolated“the“required“math“group“(fam),‘™loGok“up“the“o set“in“the“curren˜tަ‘Rtable.ŽŸ Ç‘N±355Ž‘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ަ‘RbGold.‘qÇOtherwise–UUincremenš¸ãt“Ú\count@“²to“c˜hange“the“math“group“spGeci ed.ŽŸ Ç‘N±356Ž‘fÚà\ifnum\@tempcnta=\m@neޤ ‘N±357Ž‘o‘à\let\@tempa\bm@pmbŽ¡‘N±358Ž‘fÚà\elseŽ¡‘N±359Ž‘o‘à\multiply\@tempcnta"100#1‘¹–%Ž¡‘N±360Ž‘o‘à\advance\count@\@tempcntaŽ¡‘N±361Ž‘fÚà\fi}ŽŸUU‘À$\bm@primeŽŽŽ‘R²SuppGort–UUÚ'².‘qÇEarlier“vš¸ãersions“did“not“mak˜e“the“prime“bGold“in“a'.ަ‘aÚ\bm{a''}–UU²will“no¸ãw“prošGduce“(with“the“normal“enco˜dings)ŽŸŽ9‘nY„à\mathchar‘¹–30049Ž¡‘nY„\bm@prime–¹–\mathchar“1584“\relaxŽ¡‘nY„\bm@prime–¹–\mathchar“1584“\relaxŽŸŽ9‘R²So–›¤Ú\bm@prime“²doGes“essenš¸ãtially“the“same“as“the“activ˜e“de nition“of“Ú'²,‘í7whic˜h“isަ‘Rto–ž£start“a“supGerscript“group“then“kš¸ãeep“adding“Ú\prime“²for“eac˜h“Ú'“²(or“Ú\bm@prime²)ަ‘Rfolloš¸ãwing.‘¢Here–FämoGdi ed“to“grab“a“Ú\relax“²delimited“argumen˜t“and“use“that“insteadަ‘Rof–ËíÚ\prime².‘CúÚ\bm@prime“²is“loGcally“Ú\let“²to“Ú'“²so“the“Ú\ifx“²tests“in“Ú\pr@m@s“²don't“needަ‘Rc¸ãhanging.ŽŸ Ç‘N±362Ž‘\ª®à\def\bm@prime{^\bgroupŽ¡‘N±363Ž‘fÚà\let\bm@prime'%Ž¡‘N±364Ž‘fÚà\def\prim@s##1\relax{##1\futurelet\@let@token\pr@m@s}%ŽŽŸ’þÿ²20ŽŽŒ‹ßœ y ý£ ? ýä‘N±365Ž‘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±366Ž‘\ª®à\let\boldsymbol\bmŽŸ‘N±367Ž‘\ª®à\let\heavysymbol\hmŽŸ‘N±368Ž‘\ª®ähó85ùž" cmmi9ã=èpack¾9ageŽ‘#g äiŽŽŸ’þÿ²21ŽŽŒøésƒ’À;è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ùë8ßßßß