÷ƒ’À;è TeX output 1996.03.06:1231‹ÿÿÿÿ ª� ýs o� ýÞ�’®OÕóDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºsub gure“¹pac�Œqk‘ÿäage��Ÿùº¯ó!",š cmsy10¿ŽŽŽŸ�����’»Ž¿óX«Q cmr12»Stevš¬ren–ê¨Douglas“Co�SŽc˜hranŽŽ©��‘fÐ’Digital–ê¨Mapping“LabšSŽoratory‘ÿV,“Sc�¬rho˜ol“of“Computer“ScienceŽŽ¤��‘}®aCarnegie-Mellon›ê¨Univ•¬rersit“y–ÿV,˜5000˜F“orb�SŽes˜Av•¬ren“ueŽŽ¡��’¤yPittsburgh,–ê¨P‘ÿVA“15213{3891,“USAŽŽ¦��’Ì/ÿó߆µT cmtt12Æsdc+@cs.cmu.eduŽŽŽŽŽŸZ37�’Ý »1995/03/06ŽŸ.�’æ!Kót ‰: cmbx9ÉAbstractŽŸ¬Ñ�‘bóo´‹Ç cmr9ÈThis–Ì“article“do�AÇcumenš¾9ts“the“L�Ÿýó5�‘ü«‡ó¹Aa¨cmr6ÁAŽŽ‘© ÈT�‘þuAŸïÿEŽ‘˜ŸX“pac˜k‘ÿ|rage“`ó!ÒoÇw cmss9Ìsub gureÈ',‘úcwhic˜h“pro˜vides“sup-ޤ �‘bp�AÇort–þ-for“the“inclusion“of“small,–8c`sub',“ gures–þ-and“tables.‘ÖüIt“simpli es“theŽ¡�‘bpšAÇositioning,‘.âcaptioning–ö“and“lab˜eling“of“suc�¾9h“ob‘ƒŽjects“within“a“single“ gureŽ¡�‘bor–table“en•¾9vironmen“t.‘9ÒIn–addition,‘!’this“pacš¾9k‘ÿ|rage“allo˜ws“suc˜h“sub-captions“toŽ¡�‘bb�AÇe–©written“to“a“List-of-Figures“or“List-of-T‘ÿ:«ables“if“desired.‘׌The“`Ìsub gureÈ'Ž¡�‘bpacš¾9k‘ÿ|rage–Ÿalso“co•AÇop“erates–Ÿwith“the“`ÌcaptionÈ'“pac˜k‘ÿ|rage“b˜y“H.A.“Sommerfeldt“[�1Ž‘Ÿþ]Ž¡�‘band–Å.should“bšAÇe“compatible“with“all“other“pac�¾9k‘ÿ|rages“that“mo˜dify“or“extend“theŽ¡�‘b oat‘Ten•¾9vironmen“t.ŽŸ!Ä��‘Ió#ÂÖN ff cmbx12Î1Ž‘aLËIn�ŒÌtro�s3ductionŽŸç�‘IóKñ`y cmr10²This–½�pacš¸ãk‘ÿqÇage“pro˜vides“supp�Gort“for“the“manipulation“and“reference“of“small“or“`sub'ޤ �‘I gures–iand“tables“within“a“single“ gure“or“table“en•¸ãvironmen“t.��Ÿü^ÿóÙ“ Rcmr7±1ŽŽ‘ÜA²It–iis“con•¸ãv“enien“t‘itoŽ¡�‘Iuse–Q^this“pacš¸ãk‘ÿqÇage“when“y˜our“sub gures“are“to“b�Ge“separately“captioned,‘R)referenced,Ž¡�‘Ior–UUwhose“captions“are“to“b�Ge“included“in“the“List-of-Figures.Ž¡�‘XIf–;yš¸ãou“simply“w˜an˜t“to“cen˜ter“y˜our“ gure,‘(sthen“use“ó$ßê����‘ "5Ÿý-:Á1ŽŽŽ‘LÜÀAdditional–ÕX oat“en•ÃŽvironmen“ts›ÕXma“y˜b�’���‘IŸ®›‰ffbEø¤fd���Ìͤ™œ„ ff–*êöŸüfdOption“¡„ ffŽ�’Ò�^Description‘]‘šŸ™œ„ ffŽŽ©‰ffbEø¡���ÌÍŸ™œ„ ff�Ÿüfd�‘ÌÍÏnormalŽŽ‘td+„ ffŽ���‘zÊ‘²Pro�¸ãvides–UU`normal'“captions,“this“is“the“default.ŽŽ’bÅŸ™œ„ ffŽŽ¦‰ffbEø¡���ÌÍŸ™œ„ff�Ÿðfd�‘ÌÍÏhangŽŽ‘td+„ffŽ���‘zÊ‘²Causes–H+the“labšGel“to“b˜e“a“hanging“inden�¸ãtation“to“theŽŸ �‘zÊ‘caption‘UUparagraph.ŽŽ’bÅŸ™œ„ffŽŽ©‰ffbEø¡���ÌÍŸ™œ„ff�Ÿðfd�‘ÌÍÏcenterŽŽ‘td+„ffŽ���‘zÊ‘²Causes–Ù1eac�¸ãh“line“of“the“paragraph“to“b�Ge“separatelyŽŸ �‘zÊ‘cen�¸ãtered.ŽŽ’bÅŸ™œ„ffŽŽ¦‰ffbEø¡���ÌÍŸ™œ„ ff�Ÿüfd�‘ÌÍÏcenterlastŽŽ‘td+„ ffŽ���‘zÊ‘²Causes–UUthe“last“line“only“to“b�Ge“cen�¸ãtered.ŽŽ’bÅŸ™œ„ ffŽŽ©‰ffbEø¡���ÌÍŸ™œ„$ff�Ÿäfd�‘ÌÍÏnoonelineŽŽ‘td+„$ffŽ���‘zÊ‘²If–V)a“caption“ ts“on“one“line“it“will,›–^b�¸ãy“default,˜b�Geޤ �‘zÊ‘cen�¸ãtered.‘ÑgThis–u5option“left-justi es“the“one“line“cap-Ž¡�‘zÊ‘tion.ŽŽ’bÅŸ™œ„$ffŽŽŸ‰ffbEø¡���ÌÍŸ™œ„ ff�Ÿüfd�‘ÌÍÏscriptsize²,›UU.–ªª.“.“,˜ÏLargeŽŽ‘td+„ ffŽ���‘zÊ‘²Sets–UUthe“fon�¸ãt“size“of“the“captions.ŽŽ’bÅŸ™œ„ ffŽŽ¦‰ffbEø¡���ÌÍŸ™œ„ff�Ÿðfd�‘ÌÍÏup²,–?ýÏit²,“Ïsl²,“Ïsc²,“Ïmd²,‘ Ïbf²,ŽŸ �‘ÌÍÏrm²,–?ýÏsf“²or“ÏttŽŽ‘td+„ffŽ���‘zÊ‘²Sets–UUthe“fon�¸ãt“attributes“of“the“caption“lab�Gels.ŽŽ’bÅŸ™œ„ffŽŽŸ‰ffbEøŽŽŽ¡�‘IWithin–Ü—a“Ïfigure“²or“Ïtable“²en•¸ãvironmen“t,‘>gy“ou–Ü—can“use“the“follo�¸ãwing“macros“toޤ �‘Icreate–Ú«a“sub gure“or“subtable“\b�Go�¸ãx"“with“an“optional“Ïcaption“²under“a“Ïfigure².Ž¡�‘IThe–ö*Ïfigure“²is“cenš¸ãtered“with“Ï\subfigtopskip“²of“v˜ertical“space“added“ab�Go˜v˜e.‘TFIfŽ¡�‘Ithere–uÆis“a“Ïcaption²,‘¢}then“Ï\subfigcapskip“²vš¸ãertical“space“is“added“b�Gelo˜w“the“ÏfigureŽ¡�‘I²follo•¸ãw“ed›dqb“y˜the˜Ïcaption².‘ŸFinally‘ÿ*ª,‘h7Ï\subfigbottomskip˜²of˜v“ertical˜space˜added˜atŽ¡�‘Ithe‘UUb�Gottom.Ž©�‘bÏ\subfigure[�¸hÑc‘ÿ}'aption‘Äc¸iŽ‘'úbÏ]{�¸hÑ gur‘ÿ}'e‘À[¸iŽ‘ lgÏ}Ž¡�‘b\subtable[�¸hÑc‘ÿ}'aption‘Äc¸iŽ‘'úbÏ]{�¸hÑ gur‘ÿ}'e‘À[¸iŽ‘ lgÏ}ަ�‘X²The–{resulting“\b�Goš¸ãx"“is“made“suc˜h“that“its“baseline“is“at“the“b�Gottom“of“theŽ¡�‘IÏfigure–å ²p�Gortion.‘ ëTherefore,‘ùno“matter“ho�¸ãw“tall“the“ gures“and/or“long“the“cap-Ž¡�‘Itions,–UUadjacen�¸ãt“sub gures“are“aligned“at“the“bšGottom“of“their“resp˜ectiv�¸ãe“ gures.Ž¡�‘XIf–µÓa“Ïcaption“²is“givš¸ãen“(including“the“n˜ull“Ïcaption“²`Ï[‘gé]²')“then“the“sub gure“isŽ¡�‘Ilab�Geled–§‚with“a“counš¸ãter“formatted“b˜y“the“macro“`Ï\thesubfigure²'“whic˜h“returns,‘ÊFb˜yŽ¡�‘Idefault,–÷`(a)',“`(b)',“etc.‘J‚If›߇desired,“this˜macro˜ma•¸ãy˜b�Ge˜rede ned.‘J‚The˜coun“ter˜usedŽ¡�‘Ifor–¡�lab�Geling“the“sub gures“is“Ïsubfigure“²and“is“incremenš¸ãted“for“eac˜h“sub gureŽ¡�‘Iregardless–ƒÖof“whether“a“Ïcaption“²wš¸ãas“prin˜ted.‘ýJThe“in˜ternals“of“the“Ï\subtableŽ¡�‘I²macro–UUare“symmetric“to“those“of“the“Ï\subfigure“²macro,“describšGed“ab˜o•¸ãv“e.ŽŽŸ�’ø2ŽŽŒ‹  ª� ýs o� ý´�‘X²If–�åyš¸ãou“wish“to“reference“a“sp�Geci c“sub gure“or“subtable,‘ßÉy˜ou“can“include“aޤ �‘IÏ\label–³Ê²inside“the“b•Go“dy–³Êof“either“argumen�¸ãt“to“the“macro,‘Ëgwith“the“Ïfigure“²argu-Ž¡�‘Imenš¸ãt–X…b�Geing“the“preferred.‘{VIf“supplied,‘YQthe“ó'Œ-ø cmcsc10Òcaption“²is“a“\mo˜ving“argumen˜t"“and,Ž¡�‘Itherefore,–UUanš¸ãy“\fragile"“commands“con˜tained“within“it“m˜ust“b�Ge“Ï\protect²'ed.Ž¡�‘XOne–Õœ nal“note,‘õ®these“macros“are“actually“idenš¸ãtical“and“it“is“the“en˜vironmen˜tŽ¡�‘Ithat–Á1de nes“whether“a“Ïsubtable“²or“Ïsubfigure“²will“b�Ge“generated“and“not“whic�¸ãhŽ¡�‘Imacro–…vis“used.‘*Aš¸ãt“the“user“lev˜el,‘Ñ~the“c˜hoice“of“names“is“purely“cosmetic“(andŽ¡�‘Ihistorical).ŽŸ!Ä��‘IÎ3Ž‘aLËExamplesŽŸç�‘I²The–`3easiest“w•¸ãa“y–`3to“explain“the“use“of“this“pacš¸ãk‘ÿqÇage“is“to“giv˜e“some“examples.‘’bTheŽ¡�‘I rst–?ãexample,›D-sho�¸ãwn“in“Figure“2,˜sp�Geci es“Ï\centering“²and“uses“Ï\\“²to“con�¸ãtrol“theŽ¡�‘Iplacemenš¸ãt–T+of“the“sub gures.‘qdNote“that“the“alignmen˜t“of“the“top“t˜w˜o“sub gures“isŽ¡�‘Ialong–UUthe“bšGottom“of“the“ gure“p˜ortion“of“eac�¸ãh.ŽŸ{B¨����‘z\`Ÿ’…‰ffG@ ÖÔö�„ÖÔöff�Ÿ—…��ŸÆ\ú�������‘;*ÁŸÕ¸‹‰ff8çÏŸ)á�„)áff�žffŽ‘8„)áffŽžff‰ff8çÏŽŽŽŽŽŸ��‘F*ÞÀ(a)‘ÕXFirstŽŽŽ������’’�Ÿãò‰ff8çÏŸ§�„§ff�žffŽ‘8„§ffŽžff‰ff8çÏŽŽŽŽŽŸ���’˜½:(b)‘îÈSecondŽŸ €�’˜½:FigureŽŽŽŽŽŸR‚ �������‘fž¨Ÿãò‰ff8çÏŸ§�„§ff�žffŽ‘8„§ffŽžff‰ff8çÏŽŽŽŽŽŸ��‘p*€(c)‘ÕXThirdŽŽŽŽŸ3ñÇ��‘Eîû²Figure–UU2:‘qÇThree“sub gures.ŽŽŸ�‘îïFigure–UU2“conš¸ãtains“t˜w˜o“top“`sub gures'“and“Figure“2(c).ŽŽŽŽ’ÿzt„ÖÔöffŽžff‰ffG@ŽŽŽŽŸz�á�‘W,ÂÐ\newcommand{\goodgap}{%ޤ �‘`Ÿî\hspace{\subfigtopskip}%Ž¡�‘`Ÿî\hspace{\subfigbottomskip}}Ž¡�‘W,Â...Ž¡�‘W,Â\begin{figure}%Ž¡�‘`Ÿî\centeringŽ¡�‘`Ÿî\subfigure[First]{...}\goodgapŽ¡�‘`Ÿî\subfigure[Second‘¹–Figure]{...}\\Ž¡�‘`Ÿî\subfigure[Third]{\label{3figs-c}...}%Ž¡�‘`Ÿî\caption{Three‘¹–subfigures.}Ž¡�‘`Ÿî\label{3figs}Ž¡�‘W,Â\end{figure}Ž¡�‘W,Â...Ž¡�‘W,ÂFigure~\ref{3figs}–¹–contains“two“top“`subfigures'“andŽ¡�‘W,ÂFigure~\ref{3figs-c}.Ž¡ŽŸ�’ø²3ŽŽŒ‹ú ª� ýs o� ý´�‘I²A‘.second–\example,›3Ýsho�¸ãwn“in“Figure“3,˜is“to“cš¸ãhange“the“w˜a˜y“that“the“sub guresޤ �‘Iare–|olab�Geled“and“to“ha•¸ãv“e–|othe“sub gure“captions“prin�¸ãted“in“the“list-of- gures.‘çHereŽ¡�‘Ithe–nÏalignmenš¸ãt“of“the“ gures“is“accomplished“b˜y“surrounding“them“in“a“ÏcenterŽ¡�‘I²en•¸ãvironmen“t.ŽŸJ×–����‘z\`Ÿ¼�±‰ffG@ �Ä��„�Ä�ff�ŸÁ�²��Ÿðå&�������‘8R]ŸÕ¸‹‰ff;À3Ÿ)á�„)áff�žffŽ‘:óg„)áffŽžff‰ff;À3ŽŽŽŽŽŸ��‘CŽÀ3.1:‘Ç FirstŽŽŽ������’’�ŸÕ¸‹‰ff;À3Ÿ)á�„)áff�žffŽ‘:óg„)áffŽžff‰ff;À3ŽŽŽŽŽŸ��’˜Ëx3.2:‘Ç SecondŽŽŽŽŸ1ñÇ��‘I$P²Figure–UU3:‘qÇTw�¸ão“sub gures.ŽŽŸ�‘îïSee–UUsub gures“3.1“and“3.2.ŽŽŽŽ’ÿzt„�Ä�ffŽžff‰ffG@ŽŽŽŽŸL•�‘W,ÂÐ\renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}}ޤ �‘W,Â\makeatletterŽ¡�‘`Ÿî\renewcommand{\@thesubfigure}{\thesubfigure:\space}Ž¡�‘`Ÿî\renewcommand{\p@subfigure}{}Ž¡�‘W,Â\makeatotherŽ¡�‘W,Â...Ž¡�‘W,Â\setcounter{lofdepth}{2}Ž¡�‘W,Â\listoffiguresŽ¡�‘W,Â...Ž¡�‘W,Â\begin{figure}%Ž¡�‘`Ÿî\begin{center}%Ž¡�‘j\subfigure[First]{%Ž¡�‘s†F\label{fig:first}%Ž¡�‘s†F...}%Ž¡�‘j\goodgapŽ¡�‘j\subfigure[Second]{%Ž¡�‘s†F\label{fig:second}%Ž¡�‘s†F...}%Ž¡�‘`Ÿî\end{center}Ž¡�‘`Ÿî\caption{Two‘¹–subfigures.}Ž¡�‘W,Â\end{figure}Ž¡�‘W,Â...Ž¡�‘W,ÂSee–¹–subfigures~\ref{fig:first}“and“\ref{fig:second}.Ž¡Ÿ cú��‘IÎ4Ž‘aLËCustomizationŽŸç�‘I²The–œnfolloš¸ãwing“sections“describ�Ge“the“in˜ternal“parameters“used“b˜y“the“ó(m#½R cmss10Ósub gure“²pac˜k-ޤ �‘Iage–4to“de ne“the“la•¸ãy“out–4of“the“sub- gures“or“tables,‘:®as“w�¸ãell“as“the“lab�Gels“and“cap-Ž¡�‘Itions–xÀthe“accompanš¸ãy“them.‘ÜIn“addition,‘�›adjustmen˜ts“to“the“en˜tries“on“a“\list-of‘Ç"Ž¡�‘Ipage–UUand“the“addition“of“new“ oat“en•¸ãvironmen“ts–UUis“describ�Ged.ŽŸPl��‘Ió)ÂÖN  cmbx12Ô4.1Ž‘gÀChanging–€the“la• y“outŽŸuT�‘I²The›d¿la•¸ãy“out˜of˜the˜Ïsubfigure˜²or˜Ïsubtable˜²is˜de ned˜b“y˜sev“eral˜in“ternal˜v‘ÿqÇaluesŽ¡�‘Iwhic•¸ãh›Ò–ma“y˜b�Ge˜c“hanged˜to˜customize˜app�Gearance˜of˜the˜ob‘Ž8ject.‘éŠThe˜follo“wingŽŽŸ�’ø4ŽŽŒ‹"Œ ª� ýs o� ý´�‘I²illustration–UUsho�¸ãws“the“relationship“of“these“v‘ÿqÇalues.ŽŸLâ����‘Wä{ŸÀfZ‰ffE7 Ÿz3L�„z3Lff�ŸÅfZ��ŸÌú���Ÿôú�’ž»óú±u cmex10«xޤ�’ž»?Ž¡�’ž»yŽŽŽ’©;ïÏ\subfigtopskipŽŸ4€�����™šŸÓff‰ffE7 Ÿ,34�„,34ff�žff��Ÿè‹Ù�‘|5ßÒfigure–UU²or“Òt‘ÿUTableŽŸ4&�’ô¡È(Baseline)ŽŽŽŽ’Dj>„,34ffŽžff‰ffE7 ŽŽŽŽ¤ ����Ÿôú�’ž»«xޤ�’ž»?Ž¡�’ž»yŽŽŽ’©;ïÏ\subfigcapskipŽŽŸ€����Ÿð_+��‘îï¸ Ž‘ ‚¿ŸýÌÍ„LÍD4²�’¿Ÿ33!ŽŸ ³ø�‘Þ0Ï\subfigcapmarginŽŽŽ���‘\"•Ÿìff‰ffŒ%Ÿ34�„34ff�žff��Ÿø‘Ç�‘2&{ÒcaptionŽŽŽŽ’‹XI„34ffŽžff‰ffŒ%ŽŽŽ��Ÿð_+��’ëœÿ¸ Ž’ô0ÏŸýÌÍ„LÍD4²�’¿Ÿ33!ŽŸ ³ø�’ìŒ@Ï\subfigcapmarginŽŽŽŽŽ¡����Ÿôú�’ž»«xޤ�’ž»?Ž¡�’ž»yŽŽŽ’©;ïÏ\subfigbottomskipŽŽŽŽŽ’Dj>„z3LffŽžff‰ffE7 ŽŽŽŽŸRPá��‘IÔ4.2Ž‘gÀAdjusting–€the“lab�`el“and“captionŽ©uT�‘I²The–MçlabšGel“of“the“sub gure“has“t•¸ãw“o–Mçforms.‘oMThe“ rst“is“the“one“that“app˜ears“in“theޤ �‘Itext–wïwhen“y�¸ãou“use“the“Ï\ref“²macro“and“the“second“is“the“one“that“app�Gears“underŽ¡�‘Ithe–UUsub gure“as“part“of“the“caption.Ž¡�‘XThe–<Ï\ref“²command“yields“a“string“comp�Gosed“b�¸ãy“concatenating“the“v‘ÿqÇalue“ofŽ¡�‘IÏ\p@subfigure–¦+²to“Ï\thesubfigure².‘7dBy“default“these“are“de ned“b�¸ãy:‘2\Ï\thefigure²"Ž¡�‘Iand‘ò¡\Ï(\alph{subfigure})²,"–™óresp�Gectivš¸ãely‘ÿ*ª,“whic˜h–ò¡pro�Gduces“a“reference“of“theŽ¡�‘I gure›»×n•¸ãum“b�Ger˜follo“w“ed˜b“y˜the˜sub gure˜letter˜in˜paren“theses.‘¥MThe˜lab�GelŽ¡�‘Iunder–»Cthe“sub gure“is“generated“b�¸ãy“Ï\@thesubfigure².‘£’By“default“this“isŽ¡�‘I\Ï{\subcaplabelfont\thesubfigure}\space}²."‘ -àNote–é]the“Ï\subcaplabelfontŽ¡�‘I²v›ÿqÇalue.‘GThis–ñÅstarts“out“as“a“n�¸ãull“v˜alue“or“if“one“of“the“fon�¸ãt“attribute“options“areŽ¡�‘Igivš¸ãen–Þ½it“is“set“to“that“v‘ÿqÇalue.‘If“y˜ou“up�Gdate“the“Ï\@subfigure“²macro,‘y˜ou“shouldŽ¡�‘Iinclude–UUthe“Ï\subcaplabelfont².Ž¡�‘XFinally‘ÿ*ª,‘âthe–Åótext“of“bšGoth“the“lab˜el“and“caption“are“pre xed“b�¸ãy“Ï\subcapsize²,Ž¡�‘Iwhicš¸ãh–»Ûdefaults“to“Ï\footnotesize“²and“ma˜y“b�Ge“c˜hanged“using“the“six“fon˜t“sizeŽ¡�‘Ioptions.Ž¡�‘XOne–]sother“w•¸ãa“y–]sof“cš¸ãhanging“the“la˜y˜out“of“the“lap�Gel“and“caption“is“b˜y“replacingŽ¡�‘Ithe–DþÏ\@makesubfigurecaption“²macro“whicš¸ãh“b�Goth“applies“the“fon˜t“size“option“andŽ¡�‘Ithe–UU vš¸ãe“caption“shap�Ge“options.‘qÇEac˜h“sub oat“t˜yp�Ge“ma˜y“b�Ge“de ned“individually‘ÿ*ª.Ž¡�‘XThe–2[subtable“lab�Gel“and“caption“are“symmetric“to“that“of“the“sub gure“de nedŽ¡�‘Iab�Go•¸ãv“e.ŽŸû���‘IÔ4.3Ž‘gÀMo�`difying–€the“\List-Of‘:«"“page“informationަ�‘I²T‘ÿ*ªo–© generate“a“\list-of‘Ç"“page“for“a“ oat“en•¸ãvironmen“t,‘}øy“ou–© need“to“add“aŽ¡�‘IÏ\listoffigures–ã²or“Ï\listoftables“²command“where“yš¸ãou“w˜an˜t“the“list“to“app�Gear.Ž¡�‘IThis–¼command“also“causes“the“appropriate“captions“and“subšGcaptions“to“b˜e“writtenŽ¡�‘Ito–eTa“ le“with“the“extensions“Ïlof“²or“Ïlot“²resp�Gectivš¸ãely‘ÿ*ª.‘¡ÄIf“y˜ou“w˜an˜t“the“sub-captionŽ¡�‘Itext–IÊto“app�Gear“in“the“\list-of‘Ç"“page,‘Lyš¸ãou“need“to“c˜hange“the“v‘ÿqÇalue“of“the“coun˜tersŽ¡�‘IÏlofdepth– û²or“Ïlotdepth“²counš¸ãters“from“their“default“of“`1'.‘’ºF‘ÿ*ªor“example,‘8eto“ha˜v˜eŽ¡�‘Ithe–Ê“Ïsubfigure“²sub-captions“to“app�Gear“on“the“\list-of- gures,"‘çãadd“the“follo�¸ãwingŽ¡�‘Ito–UUthe“preamš¸ãble“of“y˜our“pap�Ger:ޤóm�‘bÏ\setcounter{�¸hÑsub gur‘ÿ}'e‘À[¸iŽ‘.zšÏ}{�¸hÑ2‘[¸iŽ‘>”Ï}Ž¡�‘X²If–Lyš¸ãou“w˜an˜t“to“c˜hange“ho˜w“the“sub-caption“app�Gears“on“the“\list-of‘Ç"“pages“y˜ouŽŸ �‘Ican–cš¸ãhange“its“format“b˜y“rede ning“the“Ï\l@subfigure“²macro.‘‡Usually“y˜ou“willŽŽŸ�’ø5ŽŽŒ‹*× ª� ýs o� ý´�‘I²w•¸ãan“t–«5to“use“the“Ï\@dottedxxxline“²macro“(section“5.7,‘À­page“14)“to“help“with“theŽ© �‘Iformatting.‘qÇF‘ÿ*ªor–UUinstance“the“default“v‘ÿqÇalue“of“Ï\l@subfigure“²is:ŽŸ�‘W,ÂÐ\newcommand{\l@subfigure}{%ޤ �‘`Ÿî\@dottedxxxline{\ext@subfigure}{2}{3.9em}{2.3em}}Ž¡Ÿ�‘I²T‘ÿ*ªo–URcš¸ãhange“the“amoun˜t“of“space“reserv˜ed“for“the“lab�Gel“(if,›USfor“instance,˜yš¸ãou“ha˜v˜e“aަ�‘Ilot–UUof“ gures)“y�¸ãou“could“widen“the“2.3em“space“for“the“lab�Gel“to“3.1em:ŽŸ�‘W,ÂÐ\newcommand{\l@subfigure}{%Ž¡�‘`Ÿî\@dottedxxxline{\ext@subfigure}{2}{3.9em}{3.1em}}Ž¡¤�‘X²The–UUargumen�¸ãts“of“the“Ï\@dottedxxxline“²macro“are:Ž¡����‘k8ä1.ŽŽŽ���‘xÓT‘ÿ*ªyp�GeŽŽ‘xŸ™”‰fex排Œxè².‘_�Here–Øthese“are,›)¾b�¸ãy“default,˜Ïlof“²or“Ïlot².‘_�The“in�¸ãternal“v‘ÿqÇaluesަ�‘xÏ\ext@subfigure–8í²and“Ï\ext@subtable“²stand“for“these“extensions.ަ����‘k8ä2.ŽŽŽ��‘xÓLevelŽ‘xŸ™”‰feN;Ž’�N=².‘ ±By–ˆNdefault“this“is“`2'“for“the“Ïsubfigure“²and“Ïsubtable².ަ�‘xIf–±!the“levš¸ãel“is“greater“than“Ï\c@Ót˜yp�GeÏdepth“²(where���“Ót˜yp�GeŽŽ“Ÿ™”‰feÕWŽ‘7™²is“the“ rstަ�‘xargumen�¸ãt–UUv‘ÿqÇalue),“then“no“line“pro�Gduced.ަ����‘k8ä3.ŽŽŽ��‘xÓIndentŽ‘xŸ™”‰feUXŽ’’UZ².‘qÇT‘ÿ*ªotal–UUinden�¸ãtation“from“the“left“margin.ަ����‘k8ä4.ŽŽŽ��‘xÓNumwidthŽ‘xŸ™”‰fe+\xŽ’£\z².‘If“w˜e“w˜an˜ted“toަ�‘Iha•¸ãv“e– osub-maps,‘7¶then“wš¸ãe“could“de ne“the“follo˜wing“(on“the“assumption“that“theަ�‘Ide nition–UUof“Ï\ext@map“²is“\Ïlom²"):ŽŸ�‘W,ÂÐ\makeatletterޤ �‘`Ÿî\newcounter{submap}[map]Ž¡�‘`Ÿî\newcommand{\thesubfigure}{(\alph{submap})}Ž¡�‘`Ÿî\newcommand{\@thesubmap}{{\subcaplabelfont\thesubmap}\space}Ž¡�‘`Ÿî\newcommand{\p@submap}{\themap}Ž¡�‘`Ÿî\newcommand{\ext@submap}{\ext@map}Ž¡�‘`Ÿî\newcommand{\l@submap}{\@dottedxxxline{\ext@submap}{2}{3.9em}{2.3em}}Ž¡�‘`Ÿî\newcounter{lomdepth}Ž¡�‘`Ÿî\setcounter{lomdepth}{1}Ž¡�‘`Ÿî\newcommand{\submap}{\subfigure}Ž¡�‘`Ÿî\newcommand{\@makesubmapcaption}{\@makesubfigurecaption}Ž¡�‘W,Â\makeatotherŽ¡ŽŸ�’ø²6ŽŽŒ‹9= ª� ýs o� ý´��‘IÔ4.5Ž‘gÀIn� teraction–€with“other“parts“of“L�ŸýAl�‘û#×ó*2Ç@Écmbx8ÕAŽŽ�~/ÔT�‘ý¿áŸªªEŽ‘ìSXŽ©uT�‘I²In–{the“folloš¸ãwing“sections,‘)sthe“in˜teraction“of“the“Ósub gure“²pac˜k‘ÿqÇage“with“other“partsޤ �‘Iof–[L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXis“do�Gcumenš¸ãted.‘ƒ These“\other“parts"“ma˜y“b�Ge“either“part“of“the“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXŽ¡�‘Ibase–UUor“conš¸ãtributed“pac˜k‘ÿqÇages“or“classes.ŽŸþ6��‘Ió+ò"V cmbx10Ö4.5.1Ž‘l#‚T�‘þ<Ÿ8ãEŽ‘3sX's‘ÕT\mouth"ަ�‘I²The–xHmost“imp�Gortanš¸ãt“thing“to“remem˜b�Ger“when“la˜ying“out“y˜our“ gures“within“aŽ¡�‘I oat›Ðen•¸ãvironmen“t˜is˜that˜spaces˜tak“e˜ro�Gom.‘âIf˜y“ou˜ha“v“e˜an˜extra˜space˜b�Get“w“eenŽ¡�‘It•¸ãw“o–"1 gures,‘,lthen“they“will“b�Ge“separated“bš¸ãy“a“little“bit.‘`»If“y˜ou“b�Gegin“a“line“with“anŽ¡�‘Iextra–UUspace,“then“yš¸ãour“ gures“ma˜y“not“b�Ge“cen˜tered“correctly‘ÿ*ª.Ž¡�‘XT�‘þU>Ÿ'EŽ‘ãxX's–l>state“v‘ÿqÇaries“as“it“reads“a“line“of“text“from“a“ le.‘¶ƒIt“ignores“some“spacesŽ¡�‘Iand–{¼carrage-returns“and“con•¸ãv“erts–{¼others“to“Ï\space²'s“or“Ï\par²'s.‘)?Y‘ÿ*ªou“can“use“a“`Ï%²'“toŽ¡�‘Iinsure–ý®that“yš¸ãou“only“ha˜v˜e“real“spaces“where“y˜ou“w˜an˜t“them.‘T�T‘ÿ*ªo“understand“whic˜hŽ¡�‘Ispaces–Ëare“signi can•¸ãt,‘æ»y“ou–Ëshould“read“cš¸ãhapter“8“of“the“T�‘þU>Ÿ'EŽ‘ãxXb•Go“ok‘Ë[�2Ž‘].‘C²Ho˜w˜ev˜er,‘æ»theŽ¡�‘Imain–þÍsource“of“unexp�Gected“extra“spacing“is“carrage-returns“whic�¸ãh“are“turned“in“toŽ¡�‘IÏ\space²'s.›èÉT‘ÿ*ªak�¸ãe–}a“lo�Gok“at“the“examples“in“section“3“for“an“example.˜As“a“generalŽ¡�‘Irule:‘]0if–,'in“doubt,‘4cthen“add“a“`Ï%²'“immediately“after“the“last“signi canš¸ãt“c˜haracter“ofŽ¡�‘Ithe‘UUline.ŽŸþ6��‘IÖ4.5.2Ž‘l#‚The–ÕT oat“en•®9vironmen“tsަ�‘I²Although–�Ëthe“Ósub gure“²pacš¸ãk‘ÿqÇage“w˜as“designed“to“w˜ork“within“a“ oat“en˜vironmen˜tŽ¡�‘I(e.g.‘qÇÏfigure²),–UUit“can“b�Ge“used“outside“with“the“folloš¸ãwing“t˜w˜o“ca˜v˜eats:ŽŸ����‘U8ä1.ŽŽŽ‘bY‘ÿ*ªou–;2need“to“de ne“Ï\@captype².‘iThis“is“usually“either“\Ïfigure²"“or“\Ïtable²."Ž¡�‘bF‘ÿ*ªor‘UUexample:Ž©�‘yŸðÐ\makeatletterޤ �’ƒ\def\@captype{figure}Ž¡�‘yŸð\makeatotherŽ¡Ÿ����‘U8ä²2.ŽŽŽ‘bIf–"Æyš¸ãou“w˜an˜t“to“de ne“references“using“Ï\label²,‘,ãthen“y˜ou“need“to“rede ne“theŽŸ �‘bL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–UUin�¸ãternal“Ï\@currentlabel².‘qÇF‘ÿ*ªor“example:ަ�‘yŸðÐ\makeatletterŽ¡�’ƒ\edef\@currentlabel{\p@subfigure\thesubfigure}Ž¡�‘yŸð\makeatotherŽ¡Ÿþ6��‘IÖ4.5.3Ž‘l#‚The–ÕTcaption“pac�®9k‘ÿ\rageŽŸuT�‘I²The–J§only“pacš¸ãk‘ÿqÇage“that“in˜teracts“with“the“Ósub gure“²pac˜k‘ÿqÇage“is“the“Ócaption“²pac˜k‘ÿqÇageޤ �‘Ib•¸ãy›9b“y˜H.A.˜Sommerfeldt˜[�1Ž‘].‘h[If˜y“ou˜load˜the˜Ósub gure˜²pac“k‘ÿqÇage˜Öb�QÇefore˜²the˜ÓcaptionŽ¡�‘I²pacš¸ãk‘ÿqÇage,‘‹¬then–€Îit“will“detect“that“fact“and“will“c˜hange“the“Ï\subcapsize“²when“theŽ¡�‘Ioptions‘qÉÏscriptsize²,›xå.–ªª.“.“,˜Ïlarge–qɲare“sp�Geci ed“(o•¸ãv“erriding›qÉsuc“h˜options˜used˜whenŽ¡�‘Iloading–ï‘the“Ósub gure“²pac�¸ãk‘ÿqÇage).‘ @|In“addition,‘V it“rede nes“Ï\@thesubfigure“²andŽ¡�‘IÏ\@thesubtable–UU²to“use“Ï\captionlabelfont“²rather“than“Ï\subcaplabelfont².Ž¡�‘XIf–w“yš¸ãou“Ödon't“²w˜an˜t“this“b�Geha˜vior,‘À"then“y˜ou“m˜ust“load“the“Ósub gure“²pac˜k‘ÿqÇageŽ¡�‘IÖafter–UU²the“Ócaption“²pac�¸ãk‘ÿqÇage.ŽŽŸ�’ø7ŽŽŒ‹ER ª� ýs o� ý´��‘IÖ4.5.4Ž‘l#‚Creating–ÕTa“sub gure“en•®9vironmen“tŽŸuT�‘I²Some–8ãp�Geople“ha•¸ãv“e›8ãw“an“ted˜to˜use˜the˜Ïverbatim˜²en“vironnmen“t˜within˜the˜Ï\subfigureޤ �‘I²macro–(and“run“inš¸ãto“the“restriction“that“the“v˜erbatim“en˜vironmen˜t“cannot“b�GeŽ¡�‘Inested.‘,T‘ÿ*ªo–„include“vš¸ãerbatim“text“in“a“sub gure,‘­ðy˜ou“can“de ne“a“new“en˜vironmen˜t,Ž¡�‘Iin–UUwhicš¸ãh“v˜erbatim“text“ma˜y“b�Ge“enclosed,“and“whic˜h“calls“the“Ï\subfigure“²macro.ŽŸ*—�‘W,ÂÐ\newbox\subfigboxޤ �‘W,Â\makeatletterŽ¡�‘`Ÿî\newenvironment{subfloat}Ž¡�‘j{\def\caption##1{\gdef\subcapsave{\relax##1}}%Ž¡�‘n̰\let\subcapsave\@emptyŽ¡�‘n̰\setbox\subfigbox\hboxŽ¡�‘x?Ü\bgroup}Ž¡�‘s†F{\egroupŽ¡�‘n̰\subfigure[\subcapsave]{\box\subfigbox}}Ž¡�‘W,Â\makeatotherŽ¡Ÿ *–�‘I²This›§en•¸ãvironmen“t˜ma“y˜b�Ge˜used˜something˜lik“e˜the˜follo“wing˜(but˜note˜that˜y“ouޤ �‘Iwill–UUneed“to“supply“the“width“of“the“Ïverbatim“²section“using“a“Ïminipage²).ŽŸõ=�‘bÏ\begin{figure}Ž¡�‘lü\begin{center}%Ž¡�‘vÿö\begin{subfloat}%Ž¡�’�ð\begin{minipage}{2.1in}Ž¡�’‹ÿê\begin{verbatim}Ž¡�‘q¿ùThis–?ýtext‘ úshould“beŽ¡�‘bverbatim.‘?ñAnd‘¿÷notŽ¡�‘g?ÿmessed–?ýwith“in“any“way‘ ú!Ž¡�’‹ÿê\end{verbatim}Ž¡�’�ð\end{minipage}%Ž¡�’�ð\caption{First‘?ýsubcaption.}%Ž¡�‘vÿö\end{subfloat}%Ž¡�‘vÿö\goodgapŽ¡�‘vÿö\begin{subfloat}%Ž¡�’�ð\begin{minipage}{2.1in}Ž¡�’‹ÿê\begin{verbatim}Ž¡�‘lüThis–?ýtext“(also)should“beŽ¡�‘bverbatim.‘?ñAnd‘¿÷notŽ¡�‘g?ÿmessed–?ýwith“in“any“way‘ ú!Ž¡�’‹ÿê\end{verbatim}Ž¡�’�ð\end{minipage}%Ž¡�’�ð\caption{Second‘?ýsubcaption.}%Ž¡�‘vÿö\end{subfloat}Ž¡�‘lü\end{center}Ž¡�‘lü\caption{This–?ýis“an“example“of“verbatim“text“in“a“subfigure.}Ž¡�‘b\end{figure}ŽŸ ãÓ��‘IÎ5Ž‘aLËThe‘ffco�s3deŽŸç��‘IÔ5.1Ž‘gÀIden� ti cationŽŽŸ�’ø²8ŽŽŒ‹ R™ ª� ýs o� ý´��‘Lüs±1Ž‘Sª®Ð\ifx\if@compatibility\undefined\elseޤ ��‘Lüs±2Ž‘]ÚÐ\NeedsTeXFormat{LaTeX2e}Ž¡��‘Lüs±3Ž‘]ÚÐ\ProvidesPackage{subfigure}[1995/03/06–¹–v2.0“subfigure“package]Ž¡��‘Lüs±4Ž‘]ÚÐ\typeout{Package:–¹–subfigure“1995/03/06“v2.0}Ž¡��‘Lüs±5Ž‘Sª®Ð\fiŽŸþ6��‘IÔ5.2Ž‘gÀInitialization–€and“Shared“constan� tsŽŸuT����‘ý 6Ð\if@subcaphangŽŽ���Ÿ �‘ó­ \if@subcapcenterŽŽŽŽ���¤ ¡�‘àÆ²\if@subcapcenterlastŽŽŽŽ���¤ ¡¡�‘å€H\if@subcapnoonelineŽŽŽŽŽ‘I²These–J¨four“ ags“conš¸ãtrol“ho˜w“the“st˜yle“in“whic˜h“the“sub oat“lab�Gel“and“caption“areŽ© �‘Iprin�¸ãted.ŽŸ��‘Lüs±6Ž‘Sª®Ð\newif\ifsubcaphangŽ¡��‘Lüs±7Ž‘Sª®Ð\newif\ifsubcapcenterŽ¡��‘Lüs±8Ž‘Sª®Ð\newif\ifsubcapcenterlastŽ¡��‘Lüs±9Ž‘Sª®Ð\newif\ifsubcapnoonelineŽŸ�‘I²The–/folloš¸ãwing“table“giv˜es“the“initial“(default)“v‘ÿqÇalues“of“the“in˜ternals“that“are“usedަ�‘Ito–UUconš¸ãtrol“the“placemen˜t“and“prin˜ting“of“the“sub oats.��Ÿü^ÿ±2ŽŽŽŸw _���‘IŸ–LΉffbÝL¤fd���Ìͤ™œ„ ff–'é$Ÿüfd²Macro“¡„ ffŽ�’†ñ~Default‘þ~Ÿ™œ„ ffŽ�’ùµ“Description‘7ºŸ™œ„ ffŽŽŸ‰ffbÝL¡���Ìͤ™œ„$ff‘ ÍŸäfdÏ\subfigtopskip‘ÌÄ¡„$ffŽ�’�fÔ²10pt‘!sÔŸ™œ„$ffŽ���’Ë¿¦Length–³'from“the“top“of“the“sub-ަ�’Ë¿¦ oat–'LbšGo�¸ãx“to“the“b˜egining“of“theަ�’Ë¿¦Ïfigure².ŽŽ’bªŸ™œ„$ffŽŽŸ‰ffbÝL¡���Ìͤ™œ„$ff– ÍŸäfdÏ\subfigbottomskip“¡„$ffŽ�’�fÔ²10pt‘!sÔŸ™œ„$ffŽ���’Ë¿¦Length–žfrom“the“b�Gottom“of“theަ�’Ë¿¦Ïcaption–°š²to“the“b�Gottom“of“theަ�’Ë¿¦sub oat.ŽŽ’bªŸ™œ„$ffŽŽŸ‰ffbÝL¡���Ìͤ™œ„$ff‘ ÍŸäfdÏ\subfigcapskip‘ÌÄ¡„$ffŽ�’�fÔ²10pt‘!sÔŸ™œ„$ffŽ���’Ë¿¦Length–žfrom“the“b�Gottom“of“theަ�’Ë¿¦Ïfigure–½f²to“the“b�Gegining“of“theަ�’Ë¿¦Ïcaption².ŽŽ’bªŸ™œ„$ffŽŽŸ‰ffbÝL¡���Ìͤ™œ„$ff‘ ÍŸäfdÏ\subfigcapmargin‘LÊ¡„$ffŽ�’�fÔ²10pt‘!sÔŸ™œ„$ffŽ���’Ë¿¦Inden�¸ãtation–5�of“the“caption“fromަ�’Ë¿¦the–¦sides“of“the“sub oat“b�Go�¸ãxަ�’Ë¿¦(This–³Öshould“alw•¸ãa“ys–³ÖbšGe“p˜ositiv�¸ãe).ŽŽ’bªŸ™œ„$ffŽŽŸ‰ffbÝL¡���Ìͤ™œ„ff‘ ÍŸðfdÏ\subcapsize‘(Œ»¡„ffŽ�‘tÿÍ\footnotesize‘ ÍŸ™œ„ffŽ���’Ë¿¦²Size–ƒfor“the“text“p�Gortion“Ïcaptionަ�’Ë¿¦²fon�¸ãt.ŽŽ’bªŸ™œ„ffŽŽŸ‰ffbÝL¡���Ìͤ™œ„ff‘ ÍŸðfdÏ\subcaplabelfont‘LÊ¡„ffŽ�’ÂLsŸ™œ„ffŽ���’Ë¿¦²F‘ÿ*ªon�¸ãt–�Çfor“the“labšGel“p˜ortion“of“theަ�’Ë¿¦caption.ŽŽ’bªŸ™œ„ffŽŽŸ‰ffbÝLŽŽŽŸvY˜��‘I±10Ž‘Sª®Ð\newcommand{\subfigtopskip}{10pt}Ž¡��‘I±11Ž‘Sª®Ð\newcommand{\subfigbottomskip}{10pt}Ž¡��‘I±12Ž‘Sª®Ð\newcommand{\subfigcapskip}{10pt}Ž¡��‘I±13Ž‘Sª®Ð\newcommand{\subfigcapmargin}{10pt}Ž¡��‘I±14Ž‘Sª®Ð\newcommand{\subcapsize}{}Ž¡��‘I±15Ž‘Sª®Ð\newcommand{\subcaplabelfont}{}ŽŸþ6��‘IÔ5.3Ž‘gÀSub gure‘€constan� tsŽŸuT����‘“bÐ\c@subfigureŽŽŽ‘I²Sub gure‘UUcoun�¸ãter.ŽŸ��‘I±16Ž‘Sª®Ð\newcounter{subfigure}[figure]ŽŸ����‘ÙÌ\thesubfigureŽŽ���¦�‘ý 6\@thesubfigureŽŽŽŽ���¦¦�‘“b\p@subfigureŽŽŽŽŽ‘I²These–8ãde ne“the“form“that“the“sub-caption“pre x“is“generated.‘÷The“Ï\thesubfigureަ�‘I²macro–— de nes“the“basic“lab�Gel“for“text“references“(pre xed“b�¸ãy“Ï\p@subfigure²),‘½whileŽ‘IŸæf‰ff�ÿrŸ J=����‘ "5Ÿý-:Á2ŽŽŽ‘LÜÀThe–ÕXó,ßCÊscmtt8×\subcapsize“Àv�‡alue“is“initialized“in“section“5.5.1“along“with“the“caption“ ags.ŽŽŸ�’ø²9ŽŽŒ‹ YÉ ª� ýs o� ý´�‘I²the–ÇÏ\@thesubfigure“²macro“de nes“what“app�Gears“under“the“sub gure.‘Ç In“theޤ �‘Icase–èof“a“con ict“b�Get•¸ãw“een–èthis“pacš¸ãk‘ÿqÇage“and“a“prior“one“o˜v˜er“the“de nition“ofŽ¡�‘IÏ\thesubfigure²,–UUthis“pac�¸ãk‘ÿqÇage“will“win.Ž©��‘I±17Ž‘Sª®Ð\def\thesubfigure{(\alph{subfigure})}ޤ ��‘I±18Ž‘Sª®Ð\newcommand{\@thesubfigure}{{\subcaplabelfont\thesubfigure}\space}Ž¡��‘I±19Ž‘Sª®Ð\let\p@subfigure\thefigureŽŸ����‘ý 6\ext@subfigureŽŽ���Ÿ �‘“b\l@subfigureŽŽŽŽ���¤ ¡�‘ Lø\c@lofdepthŽŽŽŽŽ‘I²These–±Äde ne“ho�¸ãw“and“if“the“sub gure“caption“will“app�Gear“in“a“list-of- gures“ le.ޤ �‘IÏ\ext@subfigure–Ͳde nes“the“default“sub gure“ le“extension“(whic�¸ãh“is“the“same“asŽ¡�‘IÏ\ext@figure– ɲ|“the“list-of- gures“ le).‘YîÏ\l@subfigure“²shoš¸ãws“ho˜w“to“prin˜t“an“ÏlofŽ¡�‘I²sub gure–°[line“and“de nes“that“line“at“levš¸ãel“t˜w˜o.‘‚ØÏ\c@lofdepth“²is“an“extension“ofŽ¡�‘Ithe›ERtable-of-con•¸ãten“ts˜depth˜v‘ÿqÇalue˜and˜con“trols˜the˜depth˜to˜whic“h˜captions˜in˜theŽ¡�‘I le–UUare“prinš¸ãted“to“the“actual“page.‘qÇBy“default,“the“sub-captions“are“not“prin˜ted.ަ��‘I±20Ž‘Sª®Ð\let\ext@subfigure\ext@figureަ��‘I±21Ž‘Sª®Ð\newcommand{\l@subfigure}{%ޤ ��‘I±22Ž‘]ÚÐ\@dottedxxxline{\ext@subfigure}{2}{3.9em}{2.3em}}ަ��‘I±23Ž‘Sª®Ð\newcounter{lofdepth}Ž¡��‘I±24Ž‘Sª®Ð\setcounter{lofdepth}{1}ŽŸþ6��‘IÔ5.4Ž‘gÀSubtable‘€constan� tsŽŸuT����‘ LøÐ\c@subtableŽŽŽ‘I²Subtable‘UUcoun�¸ãter.ŽŸ��‘I±25Ž‘Sª®Ð\newcounter{subtable}[table]ŽŸ����‘“b\thesubtableŽŽ���Ÿ �‘ÙÌ\@thesubtableŽŽŽŽ���¤ ¡�‘ Lø\p@subtableŽŽŽŽŽ‘I²These––¶de ne“the“form“that“the“sub-caption“pre x“is“generated.‘2=The“Ï\thesubtableޤ �‘I²macro–}de nes“the“basic“lab�Gel“for“text“references“(pre xed“b�¸ãy“Ï\p@subtable²),‘ ¨whileŽ¡�‘Ithe–r÷Ï\@thesubtable“²macro“de nes“what“app�Gears“under“the“subtable.‘ Ê­In“theŽ¡�‘Icase–èof“a“con ict“b�Get•¸ãw“een–èthis“pacš¸ãk‘ÿqÇage“and“a“prior“one“o˜v˜er“the“de nition“ofŽ¡�‘IÏ\thesubtable²,–UUthis“pac�¸ãk‘ÿqÇage“will“win.ަ��‘I±26Ž‘Sª®Ð\def\thesubtable{(\alph{subtable})}ޤ ��‘I±27Ž‘Sª®Ð\newcommand{\@thesubtable}{{\subcaplabelfont\thesubtable}\space}Ž¡��‘I±28Ž‘Sª®Ð\let\p@subtable\thetableŽŸ����‘ÙÌ\ext@subtableŽŽ���Ÿ �‘ Lø\l@subtableŽŽŽŽ���¤ ¡�‘ Lø\c@lotdepthŽŽŽŽŽ‘I²These– Cde ne“ho�¸ãw“and“if“the“subtable“caption“will“app�Gear“in“a“list-of-tables“ le.ޤ �‘IÏ\ext@subtable–×F²de nes“the“default“subtable“ le“extension“(whic�¸ãh“is“the“same“asŽ¡�‘IÏ\ext@table–"z²|“the“list-of-tables“ le).‘Ù6Ï\l@subtable“²shoš¸ãws“ho˜w“to“prin˜t“an“ÏlotŽ¡�‘I²subtable–àŸ'EŽ‘ãxX2.09‘†(then˜w“e˜justŽ© �‘Iset–UUthe“defaults“and“lea•¸ãv“e–UUit“to“the“user“to“set“anš¸ãy“options“in“the“pream˜ble.ŽŸåí��‘I±34Ž‘Sª®Ð\ifx\if@compatibility\undefinedޤ ��‘I±35Ž‘]ÚÐ\subcaphangfalseŽ¡��‘I±36Ž‘]ÚÐ\subcapcenterfalseŽ¡��‘I±37Ž‘]ÚÐ\subcapcenterlastfalseŽ¡��‘I±38Ž‘]ÚÐ\def\subcapsize{\footnotesize}Ž¡��‘I±39Ž‘Sª®Ð\elseŽŸåí�‘I²The–?üfolloš¸ãwing“options“allo˜w“compatibilit˜y“with“the“Ócaption“²pac˜k‘ÿqÇage“b˜y“H.A.“Som-ަ�‘Imerfeldt–з[�1Ž‘].‘E“There“are“ vš¸ãe“di eren˜t“sub-caption“options“supp�Gorted:‘/xÏnormal²,‘ë>Ïhangަ�‘I²(or›Í÷Ïisu²),–ìÏcenter²,“Ïcenterlast˜²(or˜Ïanne²)˜and˜Ïnooneline².‘Û­The˜Ïhang˜²sub-captionަ�‘Imaš¸ãy–��b�Ge“com˜bined“with“the“Ïcenter“²or“Ïcenterlast“²options.‘JpThe“Ïnooneline“²ma˜yަ�‘Ib�Ge–|2comš¸ãbined“with“an˜y“of“the“other“options“(but“it's“e ect“is“negated“b˜y“either“ofަ�‘IÏcenter–UU²or“Ïcenterlast“²unless“the“Ïhang“²option“is“also“used).Ž©åí��‘I±40Ž‘]ÚÐ\DeclareOption{normal}{%Ž¡��‘I±41Ž‘f‘Ð\subcaphangfalseŽ¡��‘I±42Ž‘f‘Ð\subcapcenterfalseŽ¡��‘I±43Ž‘f‘Ð\subcapcenterlastfalseŽ¡��‘I±44Ž‘f‘Ð\subcapnoonelinefalse}Ž¡��‘I±45Ž‘]ÚÐ\DeclareOption{hang}{\subcaphangtrue}Ž¡��‘I±46Ž‘]ÚÐ\DeclareOption{center}{\subcapcentertrue}Ž¡��‘I±47Ž‘]ÚÐ\DeclareOption{centerlast}{\subcapcenterlasttrue}Ž¡��‘I±48Ž‘]ÚÐ\DeclareOption{nooneline}{\subcapnoonelinetrue}ަ��‘I±49Ž‘]ÚÐ\DeclareOption{isu}{\ExecuteOption{hang}}Ž¡��‘I±50Ž‘]ÚÐ\DeclareOption{anne}{\ExecuteOption{centerlast}}ŽŸåí�‘I²There–UUare“options“for“six“di erenš¸ãt“fon˜t“sizes“a˜v‘ÿqÇailable.ަ��‘I±51Ž‘]ÚÐ\DeclareOption{scriptsize}{\renewcommand{\subcapsize}{\scriptsize}}Ž¡��‘I±52Ž‘]ÚÐ\DeclareOption{footnotesize}{\renewcommand{\subcapsize}{\footnotesize}}Ž¡��‘I±53Ž‘]ÚÐ\DeclareOption{small}{\renewcommand{\subcapsize}{\small}}Ž¡��‘I±54Ž‘]ÚÐ\DeclareOption{normalsize}{\renewcommand{\subcapsize}{\normalsize}}Ž¡��‘I±55Ž‘]ÚÐ\DeclareOption{large}{\renewcommand{\subcapsize}{\large}}Ž¡��‘I±56Ž‘]ÚÐ\DeclareOption{Large}{\renewcommand{\subcapsize}{\Large}}ŽŸåí�‘I²There–‰Iare“nine“options“aš¸ãv‘ÿqÇailable“to“set“the“fon˜t“attributes“of“the“sub-caption“lab�Gels.ަ��‘I±57Ž‘]ÚÐ\DeclareOption{up}{\renewcommand{\subcaplabelfont}{\upshape}}Ž¡��‘I±58Ž‘]ÚÐ\DeclareOption{it}{\renewcommand{\subcaplabelfont}{\itshape}}Ž¡��‘I±59Ž‘]ÚÐ\DeclareOption{sl}{\renewcommand{\subcaplabelfont}{\slshape}}Ž¡��‘I±60Ž‘]ÚÐ\DeclareOption{sc}{\renewcommand{\subcaplabelfont}{\scshape}}Ž¡��‘I±61Ž‘]ÚÐ\DeclareOption{md}{\renewcommand{\subcaplabelfont}{\mdseries}}Ž¡��‘I±62Ž‘]ÚÐ\DeclareOption{bf}{\renewcommand{\subcaplabelfont}{\bfseries}}Ž¡��‘I±63Ž‘]ÚÐ\DeclareOption{rm}{\renewcommand{\subcaplabelfont}{\rmfamily}}Ž¡��‘I±64Ž‘]ÚÐ\DeclareOption{sf}{\renewcommand{\subcaplabelfont}{\sffamily}}Ž¡��‘I±65Ž‘]ÚÐ\DeclareOption{tt}{\renewcommand{\subcaplabelfont}{\ttfamily}}ŽŸòü��‘IÖ5.5.1Ž‘l#‚Execution–ÕTof“optionsŽŸuT�‘I²The–�ÍÏnormal“²t�¸ãyp�Ge“of“sub-caption“is“preselected“and“the“standard“sub-caption“sizeŽŸ �‘Iis–UUset“to“Ï\footnotesize².ŽŸ òö��‘I±66Ž‘]ÚÐ\ExecuteOptions{normal,footnotesize}ŽŽŸ�’õÿ²11ŽŽŒ‹ se ª� ýs o� ý´��‘I±67Ž‘]ÚÐ\ProcessOptionsŽ© ��‘I±68Ž‘Sª®Ð\fiŽŸþ6��‘IÔ5.6Ž‘gÀThe–€sub gure/subtable“b•`o“dyŽŸuT����‘ŽÐ\subfigureŽŽ���Ÿ �‘À$\subtableŽŽŽŽŽ‘I²These–,Œmacros“act“as“co•¸ãv“er–,Œfunctions“for“the“Ï\@subfloat“²macro.‘d/They“insure“thatޤ �‘Ithe–MRprop�Ger“coun�¸ãter“is“used“and“has“the“correct“v‘ÿqÇalue.‘oSince“the“caption“is“usuallyŽ¡�‘Igenerated–mlater,‘›‹wš¸ãe“m˜ust“lo�Gcally“an˜ticipate“the“future“v‘ÿqÇalue“of“its“coun˜ter“b˜y“addingŽ¡�‘Ione–½ to“it“within“a“lošGcal“group.‘? Up˜on“lea�¸ãving“the“Ï\subfigure“²or“Ï\subtable“²macro,Ž¡�‘Ithe–UUold“v‘ÿqÇalue“is“restored.ޤ��‘I±69Ž‘Sª®Ð\newcommand{\subfigure}{%ަ��‘I±70Ž‘]ÚÐ\bgroupަ��‘I±71Ž‘f‘Ð\advance\csname‘¹–c@\@captype\endcsname\@neަ��‘I±72Ž‘f‘Ð\refstepcounter{sub\@captype}%ަ��‘I±73Ž‘f‘Ð\leavevmodeަ��‘I±74Ž‘f‘Ð\@ifnextchar‘¹–[%ަ��‘I±75Ž‘p2Ð{\@subfloat{sub\@captype}}%ަ��‘I±76Ž‘p2Ð{\@subfloat{sub\@captype}[\@empty]}}Ž¡��‘I±77Ž‘Sª®Ð\let\subtable\subfigureŽŸ����‘Ž\@subfloatŽŽŽ‘I²This–.¸is“the“common“cošGde“for“setting“up“the“sub oat“b˜oš¸ãx“and“dra˜wing“the“sub-ޤ �‘Icaption–5Runder“it.‘gIt“ rst“determines“width“of“the“ gure“or“table“b�¸ãy“placing“it“in“aŽ¡�‘Ib•Goš¸ãx.‘løThis‘Fçb“o˜x–Fçis“com˜bined“with“the“top“margin“(Ï\subfigtopskip²)“and“placed“asŽ¡�‘Ithe–aÅheigh�¸ãt“pšGortion“of“the“output“\Ïvbox²."‘—The“depth“of“this“b˜oš¸ãx“is“determined“b˜yŽ¡�‘Ithe–Õƒexistence“of“a“sub-caption.‘G,If“one“exists,‘ïthen“the“depth“is“made“up“of“the“sub-Ž¡�‘Icaption–]spacing“(Ï\subfigcapskip²),‘^òthe“heigh�¸ãt+depth“of“the“sub-caption“and“theŽ¡�‘Ib�Gottom–ÿ²margin“(Ï\subfigbottomskip²).‘U;If“no“sub-caption“exists,‘Òthen“the“depth“ofŽ¡�‘Ithe–UUoutput“\Ïvbox²"“is“just“the“b�Gottom“margin“(see“the“illustration“in“section“4.1).Ž¡�‘XThe–d rst“argumenš¸ãt“is“the“t˜ypšGe“of“ob‘Ž8ject“b˜eing“generated:‘IOthat“is,‘”a“ÏsubfigureŽ¡�‘I²or–Yêa“Ïsubtable².‘†The“second“and“third“are“the“Ïcaption“²and“Ïfigure“²argumen�¸ãtsŽ¡�‘Ifrom–UUthe“calling“Ï\subfigure“²or“Ï\subtable“²command.ŽŸ��‘I±78Ž‘Sª®Ð\def\@subfloat#1[#2]#3{%ަ��‘I±79Ž‘f‘Ð\setbox\@tempboxa‘¹–\hbox{#3}%ަ��‘I±80Ž‘f‘Ð\@tempdima=\wd\@tempboxaަ��‘I±81Ž‘f‘Ð\vtop{%ަ��‘I±82Ž‘p2Ð\vbox{ަ��‘I±83Ž‘yw^Ð\vskip\subfigtopskipަ��‘I±84Ž‘yw^Ð\box\@tempboxa}%ަ��‘I±85Ž‘p2Ð\ifx–¹–\@empty#2\relax“\elseަ��‘I±86Ž‘yw^Ð\vskip\subfigcapskipަ��‘I±87Ž‘yw^Ð\@subcaption{#1}{#2}%ަ��‘I±88Ž‘p2Ð\fiަ��‘I±89Ž‘p2Ð\vskip\subfigbottomskip}%ަ��‘I±90Ž‘]ÚÐ\egroup}ŽŸ����‘å€H\@subfigcaptionlistŽŽ���¡�‘“b\@subcaptionŽŽŽŽŽ‘I²The–Îkfolloš¸ãwing“series“of“macros“con˜trol“exactly“ho˜w“the“sub-caption“is“t˜yp�Geset.‘DÏTheŽ¡�‘IÏ\@subcaption–� ²macro“adds“the“sub-caption“to“the“curren�¸ãt“list“of“sub-captions“to“b�GeŽ¡�‘Iadded–o\@tempdimbŽ¡��‘E�±113Ž‘~0ôÐ\subfig@caption{#1}{#2}%Ž¡��‘E�±114Ž‘p2Ð\else\ifsubcapnoonelineŽ¡��‘E�±115Ž‘~0ôÐ\subfig@caption{#1}{#2}%Ž¡��‘E�±116Ž‘p2Ð\elseŽ¡��‘E�±117Ž‘yw^Ð\box\@tempboxaŽ¡��‘E�±118Ž‘p2Ð\fi\fiŽ¡��‘E�±119Ž‘p2Ð\hfil}}ަ��‘E�±120Ž‘Sª®Ð\let\@makesubtablecaption\@makesubfigurecaptionŽŸ����‘øf \subfig@captionŽŽ���Ÿ �‘ê9Þ\subfig@captionparŽŽŽŽŽ‘I²These– õmacros“are“called“to“tš¸ãyp�Geset“a“m˜ultiple-line“sub-caption“(or“a“singleޤ �‘Iline– ýwhen“Ïsubcapnooneline“²is“true).‘ TÀDep�Gending“on“the“Ïsubcapcenter“²andŽ¡�‘IÏsubcapcenterlast–8ã² ags,‘qÇthe“text“will“bšGe“justi ed“(b˜oth“false),‘qÇcen�¸ãtered“(ÏsubcapcenterŽ¡�‘I²true),‘-Sor–#Rjusti ed“with“the“last“line“cen�¸ãtered“(only“the“ ag“Ïsubcapcenterlast“²setŽ¡�‘Itrue).ŽŸ��‘E�±121Ž‘Sª®Ð\newcommand{\subfig@caption}[2]{%ޤ ��‘E�±122Ž‘]ÚÐ\ifsubcaphangŽ¡��‘E�±123Ž‘f‘Ð\sbox{\@tempboxa}{%ŽŽŸ�’õÿ²13ŽŽŒ‹Œû ª� ýs o� ý´��‘E�±124Ž‘p2Ð\subcapsizeޤ ��‘E�±125Ž‘p2Ð\ignorespaces‘¹–#1}%Ž¡��‘E�±126Ž‘f‘Ð\addtolength{\@tempdimb}{-\wd\@tempboxa}%Ž¡��‘E�±127Ž‘f‘Ð\usebox{\@tempboxa}%Ž¡��‘E�±128Ž‘f‘Ð\subfig@captionpar{\@tempdimb}{#2}%Ž¡��‘E�±129Ž‘]ÚÐ\elseŽ¡��‘E�±130Ž‘f‘Ð\subfig@captionpar{\@tempdimb}{#1#2}%Ž¡��‘E�±131Ž‘]ÚÐ\fi}Ž©0’��‘E�±132Ž‘Sª®Ð\newcommand{\subfig@captionpar}[2]{%Ž¡��‘E�±133Ž‘]ÚÐ\parbox[t]{#1}{%Ž¡��‘E�±134Ž‘f‘Ð\strutŽ¡��‘E�±135Ž‘f‘Ð\ifsubcapcenterŽ¡��‘E�±136Ž‘p2Ð\setlength{\leftskip}{\@flushglue}%Ž¡��‘E�±137Ž‘p2Ð\setlength{\rightskip}{\@flushglue}%Ž¡��‘E�±138Ž‘p2Ð\setlength{\parfillskip}{\z@skip}%Ž¡��‘E�±139Ž‘f‘Ð\else\ifsubcapcenterlastŽ¡��‘E�±140Ž‘p2Ð\addtolength{\leftskip}{0pt–¹–plus“1fil}%Ž¡��‘E�±141Ž‘p2Ð\addtolength{\rightskip}{0pt–¹–plus“-1fil}%Ž¡��‘E�±142Ž‘p2Ð\setlength{\parfillskip}{0pt–¹–plus“2fil}%Ž¡��‘E�±143Ž‘f‘Ð\fi\fiŽ¡��‘E�±144Ž‘f‘Ð\subcapsizeŽ¡��‘E�±145Ž‘f‘Ð\ignorespaces‘¹–#2%Ž¡��‘E�±146Ž‘f‘Ð\par}}ŽŸ6¯��‘IÔ5.7Ž‘gÀP• atc“hes–€to“the“standard“en• vironmen“tŽŸuT�‘I²The–]àfolloš¸ãwing“adjust“the“standard“en˜vironmen˜t“for“the“Ï\subfigure“²and“Ï\subtableޤ �‘I²macros.‘³They–‰¤are“designed“as“wrapp�Gers“to“the“curren�¸ãt“de nition“of“the“standardŽ¡�‘Icommands–UUto“minimize“anš¸ãy“c˜hance“of“con ict“with“other“pac˜k‘ÿqÇages.ŽŸHÛ����‘øf Ð\@dottedxxxlineŽŽŽ‘I²This–“Ðis“a“generalized“wrapp�Ger“for“the“Ï\@dottedtocline“²macro.‘-9It“c•¸ãhec“ks–“Ðfor“theŽ¡�‘Ilevš¸ãel–7³based“on“the“output“ le“( rst“argumen˜t)“and“not“using“only“Ï\@tocdepth².Ž¡�‘I(See–UUsection“4.3“for“a“description“of“the“argumen�¸ãts.)ަ��‘E�±147Ž‘Sª®Ð\newcommand{\@dottedxxxline}[6]{%ޤ ��‘E�±148Ž‘]ÚÐ\ifnum‘¹–#2>\@nameuse{c@#1depth}\elseŽ¡��‘E�±149Ž‘f‘Ð\@dottedtocline{0}{#3}{#4}{#5}{#6}Ž¡��‘E�±150Ž‘]ÚÐ\fi}ŽŸHÛ����‘ê9Þ\subfig@oldcaptionŽŽ���Ÿ �‘À$\@captionŽŽŽŽŽ‘I²Next,‘JEwš¸ãe–G�rede ne“the“curren˜t“Ï\@caption“²macro“to“dump“an˜y“sub-captions“sa˜v˜ed.ޤ �‘IFirst–Ãthe“`old'“caption“macro“is“called“to“add“the“line“to“the“list-of“ le“and“thenŽ¡�‘Ithe–ßlist“of“sub-captions,‘ÃÏ\@subfigcaptionlist“²is“written“to“the“same“ le.‘Z Lastly‘ÿ*ª,Ž¡�‘Ithe–UUÏ\@subfigcaptionlist“²is“reinitialized.ަ��‘E�±151Ž‘Sª®Ð\let\subfig@oldcaption\@captionަ��‘E�±152Ž‘Sª®Ð\long\def\@caption#1[#2]#3{%ޤ ��‘E�±153Ž‘]ÚÐ\subfig@oldcaption{#1}[{#2}]{#3}%Ž¡��‘E�±154Ž‘]ÚÐ\@for–¹–\@tempa:=\@subfigcaptionlist“\do“{%Ž¡��‘E�±155Ž‘f‘Ð\ifx\@empty\@tempa\relax‘¹–\elseŽ¡��‘E�±156Ž‘p2Ð\addcontentslineŽ¡��‘E�±157Ž‘yw^Ð{\@nameuse{ext@sub#1}}%Ž¡��‘E�±158Ž‘yw^Ð{sub#1}%Ž¡��‘E�±159Ž‘yw^Ð{\@tempa}%Ž¡��‘E�±160Ž‘f‘Ð\fi}%Ž¡��‘E�±161Ž‘]ÚÐ\gdef\@subfigcaptionlist{}}ŽŽŸ�’õÿ²14ŽŽŒ‹˜a ª� ýs o� ý´�‘IÎReferencesŽŸç���‘I²[1]ŽŽ‘XŽ;Harald–UUAxel“Sommerfeldt,“ÑThe–“çÓcaption“Ñp‘ÿ}'ackage²,‘UU1995/01/30.ŽŸ���‘I[2]ŽŽ‘XŽ;Donald–ú+Ervin“Kn�¸ãuth,› gÑThe‘@T�‘þKß'EŽ‘Í-Xb–ÿ}'o“ok²,˜Addison-W–ÿ*ªesley“,˜Reading,˜Massac•¸ãh“usetts,ŽŸ �‘XŽ;1986.ŽŽŸ�’õÿ15ŽŽŒø£ƒ’À;説ó,ßCÊscmtt8ó+ò"V cmbx10ó*2Ç@Écmbx8ó)ÂÖN  cmbx12ó(m#½R cmss10ó'Œ-ø cmcsc10ó&ý': cmti10ó%ߤN cmtt9ó$ßê