÷ƒ’À;è TeX output 1999.04.17:1546‹ÿÿÿÿ y� ý£ ?� þ�’ºPµóDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºtextcase“¹pac�Œqk‘ÿäage��Ÿùº¯ó!",š cmsy10¿ŽŽŽŸ�����’Þþ­óX«Q cmr12»Da�¬rvid‘ê¨Carlisle��Ÿû¥2ó¾KÈ cmsy8ÄyŽŽŽŽŽŽŽŸ37�’æ »1998/11/12ŽŸ:Å��‘RóÂÖN ff cmbx12Ç1Ž‘jLËIn�ŒÌtro�s3ductionŽŸç�‘Róßê cmmi10µa–Dz=“µb˜²AND˜µ ‘Ð’ó !",š cmsy10¸6²=“µa˜²OR˜EVEN˜µx“²=“µy‘±.²AND˜µx“²=“µyŽ¡�‘a²V‘ÿ*ªersion–â0.03“of“this“pacš¸ãk‘ÿqÇage“incorp�Gorates“some“c˜hanges“suggested“b˜y“Donaldޤ �‘RArseneau–º so“that“as“wš¸ãell“as“math“mo�Gde,‘Ùthe“argumen˜ts“of“È\cite²,‘ÙÈ\label“²and“È\refŽ¡�‘R²are–UUalso“prev•¸ãen“ted–UUfrom“bšGeing“upp˜ercased.‘qÇSo“yš¸ãou“can“no˜w“goަ�‘V¹–É\MakeTextUppercase{%ŽŸ �‘dæXText–¹–in“section~\ref{intro},“about“\cite[pp“2--4]{bbb}}ޤ�‘R²whic�¸ãh‘UUpro�GducesŽ¡�‘zTEXT–UUIN“SECTION“1,“ABOUT“[�1Ž‘,“PP“2{4]Ž¡�‘RIf,–Æinstead,“the–¢Ostandard“È\MakeUppercase“²wš¸ãere“used“here,‘Æthe“k˜eys“`in˜to'“and“`bbb'ޤ �‘Rw�¸ãould–hbšGe“upp˜ercased“and“generate“errors“ab˜out“unde ned“references“to“INTR�¸ãOŽ¡�‘Rand‘UUBBB.Ž¡�‘aSometimes–H1there“ma�¸ãy“bšGe“a“sp˜ecial“section“of“text“that“should“not“b˜e“upp˜ercased.Ž¡�‘RThis–UUcan“b�Ge“markš¸ãed“with“È\NoCaseChange²,“as“follo˜ws.ަ�‘V¹–É\MakeTextUppercase{%ŽŸ �‘dæXText–¹–\NoCaseChange{More“Text}“yet“more“text}ŽŸ�‘R²whic�¸ãh‘UUpro�GducesŽ‘RŸff‰ff�ÿrŸ @���‘ ÷ˆŸý-:óq¡% cmsy6ÅŽŽ‘LÜó|{Ycmr8ÀThis–ÕX le“has“všÃŽersion“n˜um˜b��‘aÈ\NoCaseChange– ²has“other“uses.‘ÑÊIf“for“some“reason“yš¸ãou“need“a“tabular“en˜vi-ޤ �‘Rronmenš¸ãt–Cèwithin“an“upp�Gercased“section,‘Œthen“y˜ou“need“to“ensure“that“the“nameŽ¡�‘R`tabular'–UUand“the“pream�¸ãble“(eg“`ll')“došGes“not“get“upp˜ercased:ŽŸ`>�‘V¹–É\MakeTextUppercase{%ޤ �‘dæXText‘¹–\NoCaseChange{\begin{tabular}{ll}}%Ž¡�’Ãftable&stuff\\goes&hereŽ¡�‘|†F\NoCaseChange{\end{tabular}}Ž¡�‘dæXMore‘¹–text}ަ�‘R²whic�¸ãh‘UUpro�GducesŽŸÒ�‘zTEXT��Ÿùæd��‘ UVT‘ÿ*ªABLEŽ�‘7\xSTUFFŽŽŸ ��‘ UVGOESŽ�‘7\xHEREŽŽŽŽ‘b(MORE‘UUTEXTŽŸ#o_��‘RÇ2Ž‘jLËF›þ¦features–ffand“F˜oiblesŽŸç��‘Ró ÂÖN  cmbx12Ë2.1Ž‘pÀNested‘€textŽŸuT�‘R²The–zcommands“de ned“here“only“skip“math“sections“and“È\ref“²argumen�¸ãts“if“theyޤ �‘Rare–]not“`hidden'“inside“a“È{‘?ý}“²brace“group.‘ÏàAll“text“inside“suc�¸ãh“a“group“will“b�GeŽ¡�‘Rmade–UUupp�Gercase“just“as“with“the“standard“È\MakeUppercase².ŽŸ`>�‘V¹–É\MakeTextUppercase{a–¹–b“{c“$d$}“$e$}ަ�‘R²pro�Gducesަ�‘zA–UUB“C“µD‘œreަ�‘R²Of–ncourse,‘*6this“restriction“došGes“not“apply“to“the“argumen�¸ãts“of“the“supp˜orted“com-Ž¡�‘Rmands–UUÈ\ensuremath²,“È\label²,“È\ref²,“and“È\cite².Ž¡�‘aIf–Æyš¸ãou“cannot“arrange“for“y˜our“mathematics“to“b�Ge“at“the“outer“lev˜el“of“braceŽ¡�‘Rgrouping,‘qÂyš¸ãou–8àshould“use“the“follo˜wing“basic“tec˜hnique“(whic˜h“w˜orks“ev˜en“withŽ¡�‘Rthe–¥standard“È\MakeUppercase“²command).‘bEDe ne“a“new“command“that“expandsŽ¡�‘Rto– y�¸ãour“math“expression,›and“then“use“that“command,˜with“È\protect²,˜in“the“textŽ¡�‘Rto–ÊbšGe“upp˜ercased.‘ÏÞNote“that“if“the“text“b˜eing“upp˜ercased“is“in“a“section“title“orŽ¡�‘Rother–v�moš¸ãving“argumen˜t“y˜ou“ma˜y“need“to“mak˜e“the“de nition“in“the“do�Gcumen˜tŽ¡�‘Rpream�¸ãble,›°Vrather–ž#than“just“b�Gefore“the“section“command,˜so“that“the“command“isŽ¡�‘Rde ned–UUwhen“the“table“of“con•¸ãten“ts–UU le“is“read.ŽŸ`>�‘V¹–É\MakeTextUppercase{%ޤ �‘w̰Text–¹–\fbox{$a=b$“and“$x=y$}}%ŽŸ�‘V¹–\newcommand{\mathexprone}{$a=b$}Ž¡�‘V¹–\newcommand{\mathexprtwo}{$x=y$}Ž¡�‘V¹–\MakeTextUppercase{%Ž¡�‘w̰Text–¹–\fbox{\protect\mathexprone\“and“\protect\mathexprtwo}}%ަ�‘R²whic�¸ãh‘UUpro�GducesŽŽŸ�’2ŽŽŒ‹Þ y� ý£ ?� ýä;º�‘z²TEXT���›UUŸö*¬‰ff_tÀŸ ÕT�„ ÕTff�Ÿý�‘µA–Dz=“µB‘ÕÆ²AND˜µX‘�ú²=“µYŽŽ‘^§ô„ ÕTffŽžff‰ff_tÀŽŽŽŽŸ¾“�‘z²TEXT���›UUŸö9‰ffSS‘ŸãŽ�„ãŽff�Ÿû9�‘µa–Dz=“µb˜²AND˜µx“²=“µyŽŽ‘R†Å„ãŽffŽžff‰ffSS‘ŽŽŽŽ©þ6��‘RË2.2Ž‘pÀCitationsŽŸuT�‘R²As–�›došGcumen�¸ãted“ab˜o•¸ãv“e,‘^,È\cite–�›²and“È\ref“²commands“are“not“upp˜ercased“b�¸ãyޤ �‘RÈ\MakeTextUppercase².‘U\If–ö‡yš¸ãou“are“using“a“non-n˜umeric“citation“sc˜heme“y˜ou“ma˜yŽ¡�‘Rw•¸ãan“t–UUthe“replacemen�¸ãt“text“for“È\cite“²to“bšGe“upp˜ercased.Ž¡�‘aIt–­sis“dicult“to“arrange“that“È\MakeTextUppercase“²upp�Gercases“suc�¸ãh“text,‘Ã{notŽ¡�‘Rleast–Hcb�Gecause“this“wš¸ãould“lead“to“in˜teraction“with“the“man˜y“bibliograph˜y“pac˜k‘ÿqÇagesŽ¡�‘Rwhicš¸ãh–DCrede ne“È\cite“²one“w˜a˜y“or“another.‘>�One“p�Gossibilit˜y“to“ac˜hiev˜e“this“is“toŽ¡�‘Ruse–ÝDonald“Arseneau's“cite“pac�¸ãk‘ÿqÇage“and“to“lo�Gcally“rede ne“È\citeform“²to“addŽ¡�‘RÈ\MakeUppercase–UU²around“the“ nal“text“string“pro�Gduced“b�¸ãy“È\cite².ŽŸ�‘V¹–É\MakeTextUppercase{%ޤ �‘w̰Text–¹–\cite{bbb}“and“\cite{ccc}}ŽŸ�‘V¹–{\renewcommand\citeform{\MakeUppercase}\MakeTextUppercase{%Ž¡�‘w̰Text–¹–\cite{bbb}“and“\cite{ccc}}}ޤ�‘R²whic�¸ãh‘UUpro�Gduces��Ÿü^ÿóÙ“ Rcmr7±1ŽŽŽ¡�‘z²TEXT–UU[1]“AND“[Da�¸ãvid“Carlisle“1997]ޤ �‘zTEXT–UU[1]“AND“[D�¸ãA‘þã�VID“CARLISLE“1997]ަ��‘RË2.3Ž‘pÀo• v“erload‘€OptionŽŸuT�‘R²By–a¤default“the“pac�¸ãk‘ÿqÇage“only“de nes“new“commands,‘¤¸È\MakeTextUppercase“²andŽ¡�‘RÈ\MakeTextlowercase–%X²as“describšGed“ab˜o•¸ãv“e.‘aÈY‘ÿ*ªou›%Xma“y˜wish˜to˜rede ne˜the˜standardŽ¡�‘RÈ\MakeUppercase–@²and“È\MakeLowercase“²commands“to“b�Ge“the“same“as“these“newŽ¡�‘Rcommands.‘qcSo–T*that“for“example“headings“in“the“b•Go“ok–T*class“ha•¸ãv“e–T*this“new“featureŽ¡�‘Rwithout–D anš¸ãy“further“rede nition.‘l Y‘ÿ*ªou“ma˜y“use“the“pac˜k‘ÿqÇage“option“È[overload]“²inŽ¡�‘Rwhicš¸ãh–Ò[case“these“new“de nitions“will“b�Ge“o˜v˜erloaded“on“to“the“existing“commandŽ¡�‘Rnames.ޤ!Ä�‘RÇReferencesŽŸç���‘R²[1]ŽŽ‘aŽ;Something‘UUn�¸ãumericŽŸ���‘R[Da�¸ãvid–UUCarlisle“1997]ŽŽ’²ESomething‘UUtextualŽ¡��‘RÇ3Ž‘jLËImplemen�ŒÌtationŽŸç��‘Uüs±1Ž‘\ª®ó#©±�Ê cmsy9Îh�ó$ÒoÇw cmss9Ïpack�¾9ageŽ‘#g ÎiŽ‘RŸff‰ff�ÿrŸ J=����‘ "5Ÿý-:ó¹Aa¨cmr6Á1ŽŽŽ‘LÜÀThis–ÕXis“fakšÃŽed,“so“this“do�Ÿ'EŽ‘ãxX“kš¸ãernel,‘#Õmo�Gdi ed“sligh˜tly“so“that“theyŽ¡�‘Rcan–-cshare“cošGde“(that“mo˜di cation“could“b˜e“done“to“the“standard“vš¸ãersions“as“w˜ell)Ž¡�‘Rand–‚]then“further“cš¸ãhanged“to“skip“certain“features“lik˜e“math“mo�Gde“and“È\labelŽ¡�‘R²argumen�¸ãts.Ž¡�‘aThe–UUargumen�¸ãts“are:Ž¡�‘RÈ#1²:‘§Extra–oþcommands“to“apply“for“case“c�¸ãhanging.‘ÁÁUsed“to“lo�Gcally“rede ne“È\i“²andŽ¡�‘RÈ\j–UU²for“upp�Gercasing.Ž¡�‘RÈ#2²:‘nYEither–NyÈ##1##2“²or“È##2##1“²to“conš¸ãtrol“the“order“in“whic˜h“È\let“²is“applied“to“theŽ¡�‘Rpairs–UUof“con�¸ãtrol“sequences“in“È\@uclclist².Ž¡�‘RÈ#3²:‘qÇÈ\uppercase–UU²or“È\lowercase².Ž¡�‘RÈ#4²:‘qÇThe–UUtext“to“bšGe“upp˜er“(or“lo•¸ãw“er)‘UUcased.ޤ��‘Uüs±2Ž‘\ª®É\def\@uclcnotmath#1#2#3#4{\begingroupŽ©�‘R²Run–UUextra“commands“(curren�¸ãtly“just“to“rede ne“È\i“²and“È\j²).Ž¡��‘Uüs±3Ž‘y2É#1%ަ�‘a²LošGcally–ûset“È\(‘?ý\)“²to“b˜e“just“È$‘?ý$²,‘dlso“that“the“math“skipping“co˜de“can“b˜eŽŸ �‘Rsimpli ed,–UUjust“to“lo�Gok“for“È$².Ž¡��‘Uüs±4Ž‘y2É\def\({$}\let\)\(%ަ�‘a²Set–UUup“the“`non-math'“things“that“also“ha•¸ãv“e–UUto“bšGe“skipp˜ed.Ž¡��‘Uüs±5Ž‘y2É\def\NoCaseChange##1{\noexpand\NoCaseChange{\noexpand##1}}ޤ ��‘Uüs±6Ž‘y2É\@nonchangecase\labelŽ¡��‘Uüs±7Ž‘y2É\@nonchangecase\refŽ¡��‘Uüs±8Ž‘y2É\@nonchangecase\ensuremathަ�‘aÈ\cite–Ý.²a“bit“tricš¸ãkier,‘õ6as“w˜e“w˜an˜t“to“upp�Gercase“an˜y“optional“argumen˜t.‘IºThis“willޤ �‘Rfail–if“the“optional“argumenš¸ãt“con˜tains“a“brace“group,‘'‹but“should“catc˜h“most“cases.Ž¡�‘aÈtext–?ý\cite[page“1]{foo}“more“text–UU²ends“up“asŽ©�‘V¹–É\uppercase{text‘¹–\toks@{\cite[page1]}%ޤ �‘V¹–\the\toks@{foo}%Ž¡�‘V¹–\uppercase{–¹–more“text}ަ��‘Uüs±9Ž‘y2É\def\cite##1##{\toks@{\noexpand\cite##1}\@citex}%Ž¡��‘R±10Ž‘y2É\def\@citex##1{\NoCaseChange{\the\toks@{##1}}}%ŽŸ�‘R²(È\@citex–UU²is“a“scratc�¸ãh“macro“here,“not“a“rede nition“of“the“existing“È\@citex².)ޤ �‘aThe–†hfolloš¸ãwing“is“essen˜tially“tak˜en“from“È\MakeUppercase².‘ÿRecursiv˜ely“executeŽ¡�‘RÈ\reserved@a–Q˲to“È\let“²the“pairs“in“È\@uclclist².‘g*The“strange“construction“withŽ¡�‘RÈ\@gobble–UU²at“the“end“just“gobbles“the“ nal“recursiv�¸ãe“call.Ž¡�‘aInciden•¸ãtally‘ÿ*ª,›¨pac“k‘ÿqÇages–|±should“not“use“the“È\reserved@².–ªª.“.‘'[scratc•¸ãh‘|±macros,˜whic“hŽ¡�‘Rare–&x`reservš¸ãed'“for“use“within“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“k˜ernel,‘ZÁbut“(a)“this“co�Gde“is“essen˜tially“aŽ¡�‘Rcopš¸ãy–UUfrom“the“k˜ernel,“and“(b)“I'm“allo˜w˜ed“to“break“the“rules,“so“there.ŽŸ��‘R±11Ž‘y2É\def\reserved@a##1##2{\let#2\reserved@a}%ŽŸ ��‘R±12Ž‘y2É\expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}%ŽŸ�‘a²Expand–³ôev�¸ãerything“ rst“so“that“the“`skipping'“co�Gde“can“see“what“to“skip“andŽ¡�‘Rso–èzthat“tokš¸ãens“are“rev˜ealed“to“È\uppercase².‘+6This“mak˜es“the“argumen˜t“`mo˜ving'.ŽŽŸ�’4ŽŽŒ‹É y� ý£ ?� ýä�‘R²The–YÈ$\valign$“²is“just“a“fak�¸ãe“math“expression“used“to“terminate“the“parsing“doneŽŸ �‘Rb�¸ãy‘UUÈ\@skipmath².ޤ��‘R±13Ž‘y2É\protected@edef\reserved@a{\endgroupŽŸ ��‘R±14Ž’‹êŠÉ\noexpand\@skipmath#3#4$\valign$}%ŽŸ��‘R±15Ž‘y2É\reserved@a}Ž©����‘f \@nonchangecaseŽŽŽŽ¡��‘R±16Ž‘\ª®É\def\@nonchangecase#1{\def#1##1{\NoCaseChange{#1{##1}}}}ަ����‘ ÙÌ\NoCaseChangeŽŽŽ‘R²F‘ÿ*ªor–Ú€hiding“arbitrary“text“from“È\uppercase².‘IThis“inno�Gcuous“de nition“isޤ �‘Rused–á0for“an�¸ãy“o�Gccurrence“of“È\NoCaseChange“²in“text“that“is“not“passed“toŽ¡�‘RÈ\MakeTextUppercase².‘®|F‘ÿ*ªor–i‘example“a“section“heading“ma�¸ãy“bšGe“upp˜ercased,‘® butŽ¡�‘Rthe–ÁVto�Gc“enš¸ãtry“ma˜y“not.‘µÉIt“is“also“used“for“nested“de nitions“of“È\cite“²etc,‘ÜVwhereŽ¡�‘Rthe–›¤È\NoCaseChange“²is“inserted“bš¸ãy“expansion,‘­8but“not“remo˜v˜ed“as“it“is“hidden“b˜yŽ¡�‘Rthe–UUbrace“group.ŽŸ��‘R±17Ž‘\ª®É\let\NoCaseChange\@firstofoneަ����‘Ž\@skipmathŽŽŽ‘RÈ#1²:‘qÇop�Geration–UUÈ\uppercase“²/“È\lowercaseŽ¡�‘R#2²:‘qÇtext–UUup“to“ rst“(next)“È$Ž¡�‘R#3²:‘qÇ rst–UUmath“mo�Gde“material“(or“È\valign“²sen�¸ãtinel)ŽŸ��‘R±18Ž‘\ª®É\def\@skipmath#1#2$#3${%ޤ ��‘R±19Ž‘fÚÉ\@skip@nonchangecase#1#2\NoCaseChange\valignŽ¡��‘R±20Ž‘fÚÉ\ifx\valign#3%Ž¡��‘R±21Ž‘fÚÉ\elseŽ¡��‘R±22Ž‘o‘É$#3$%Ž¡��‘R±23Ž‘o‘É\expandafter\@skipmath\expandafter#1%Ž¡��‘R±24Ž‘fÚÉ\fi}ަ����‘鯲\@skip@nonchangecaseŽŽŽ‘RÈ#1²:‘qÇÈ\uppercase–UU²or“È\lowercaseޤ �‘R#2²:‘zÁT‘ÿ*ªext–YÒup“to“the“ rst“command“(suc�¸ãh“as“È\cite²)“made“`safe'.‘>or“the“ rst“use“ofŽ¡�‘RÈ\NoCaseChange².ŽŸ��‘R±25Ž‘\ª®É\def\@skip@nonchangecase#1#2\NoCaseChange#3{%ޤ ��‘R±26Ž‘fÚÉ#1{#2}%Ž¡��‘R±27Ž‘fÚÉ\ifx\valign#3%Ž¡��‘R±28Ž‘fÚÉ\elseŽ¡��‘R±29Ž‘o‘É#3%Ž¡��‘R±30Ž‘o‘É\expandafter\@skip@nonchangecase\expandafter#1%Ž¡��‘R±31Ž‘fÚÉ\fi}ަ����‘ó9Þ\MakeTextUppercaseŽŽŽ‘R²Put–NEit“all“together.‘olArrange“for““and““to“upp�Gercase,‘O¯and“to“read“the“pairs“in“theŽŸ �‘Rucase–UUlist“`forw�¸ãards'.ŽŸ��‘R±32Ž‘\ª®É\DeclareRobustCommand\MakeTextUppercase{%Ž¡��‘R±33Ž‘fÚÉ\@uclcnotmath{\def\i{I}\def\j{J}}{##1##2}\uppercase}ŽŸ��‘R±34Ž‘\ª®É\protected@edef\MakeTextUppercase#1{\MakeTextUppercase{#1}}ŽŽŸ�’²5ŽŽŒ‹(! y� ý£ ?� ýä����‘ó9ÞÉ\MakeTextLowercaseŽŽŽ‘R²probably–„will“nevš¸ãer“b�Ge“used,‘DObut“it“is“easy“to“implemen˜t.‘¯TUse“È\lowercase“²andޤ �‘Rread–UUthe“pairs“in“the“upp�Gercase“list“`bac•¸ãkw“ards'.Ž©��‘R±35Ž‘\ª®É\DeclareRobustCommand\MakeTextLowercase{%ŽŸ ��‘R±36Ž‘fÚÉ\@uclcnotmath{}{##2##1}\lowercase}ŽŸ��‘R±37Ž‘\ª®É\protected@edef\MakeTextLowercase#1{\MakeTextLowercase{#1}}ŽŸ����‘ 6\MakeUppercaseŽŽ���¡�‘ 6\MakeLowercaseŽŽŽŽŽŽ¦��‘R±38Ž‘\ª®É\DeclareOption{overload}{%ޤ ��‘R±39Ž‘fÚÉ\expandafter\let\csname–¹–MakeUppercase“\expandafter\endcsnameŽ¡��‘R±40Ž’±·:É\csname–¹–MakeTextUppercase“\endcsnameŽ¡��‘R±41Ž‘fÚÉ\expandafter\let\csname–¹–MakeLowercase“\expandafter\endcsnameŽ¡��‘R±42Ž’±·:É\csname–¹–MakeTextLowercase“\endcsname}ŽŸ��‘R±43Ž‘\ª®É\ProcessOptionsŽŸ��‘R±44Ž‘\ª®Îh�ó"5ùž" cmmi9Í=Ïpack�¾9ageŽ‘#g ÎiŽŽŸ�’²6ŽŽŒø19ƒ’À;èyµ ó$ÒoÇw cmss9ó#©±�Ê cmsy9ó"5ùž" cmmi9ó!ßCÊscmtt8ó ÂÖN  cmbx12óߤN cmtt9óßê cmmi10óKñ`y cmr10óÙ“ Rcmr7ù4ñßßßß