; TeX output 1997.01.23:0049soDtGGcmr17The7tGGcmss17enumeratepacqkage!", cmsy10XQ cmr12DarvidCarlislepScarlisle@cs.man.ac.uk&37 1994/01/31)-m!Kt : cmbx9Abstract Coo cmr9Thispac9k|ragegivestheenumerateenvironmentanoptionalargument bwhic9hTdeterminesthestyleinwhichthecounterisprinted.oAn^oAccurenceofoneofthetok9ensߤN cmtt9AaIi^or1producesthev|raluebofwthecoun9terprintedwith(respAectively)\Alph\alph\Roman\romanworb\arabic.oTheselettersma9ybAesurroundedbyanystringsinvolvinganyotherTuAEXbexpressions,1ho9weverEthetok9ensAaIi1EmustbAeinsidea{}groupifbtheyTarenottobAetak9enasspecial. uINff cmbx121aLExamples uꪍRUK`y cmr10EXUUi.noneoneoneoneoneoneone noneUUoneoneoneoneOEXUUii.ntwonexampleUUa)one[oftwo[oneof{twooneoftwomOexampleUUb)twoUUoftwoJGA-1_oneJGA-2_two \begin{enumerate}[EXi.]\itemoneoneoneoneoneoneone#oneoneoneone\label{LA}\itemtwo\begin{enumerate}[{example}a)]\itemoneoftwo s,oneoftwo1?]oneoftwo\label{LB}\itemtwooftwo\end{enumerate}\itemtwooftwo\end{enumerate}\end{enumerate}\begin{enumerate}[{A}-1]\itemone\label{LC}\itemtwo\end{enumerate}w}X 3\@toodeep\elseI27p2\advance\@enumdepth\@neI28p2\edef\@enumctr{enum\romannumeral\the\@enumdepth}\fiI29]\@ifnextchar[{\@@enum@}{\@enum@}}y\@@enum@IHandleUUtheoptionalargument..I30S\def\@@enum@[#1]{%IInitialisetheloGopwhichwillbreakaparttheoptionalargument.@Thecommandto IprintthelabGelisbuiltupin\@enlab.WG\@enThewillbeusedtode ne\theenum b> cmmi10n.I31]\@enLab{}\let\@enThe\@enQmarkIThe܏\@enum@bGelowisneverexpanded,]itisusedtodetecttheendofthetoken Ilist.I32]\@enloop#1\@enum@IIssueUUawarningifwedidnot ndoneofthe`spGecial'tokens.I33]\ifx\@enThe\@enQmark\@warning{Thecounterwillnotbeprinted.% I34ap^^J\space\@spaces\@spaces\@spacesThelabelis:\the\@enLab}\fiIDe neUU\labelenumnand\theenumn.I35]\expandafter\edef\csnamelabel\@enumctr\endcsname{\the\@enLab}% I36]\expandafter\let\csnamethe\@enumctr\endcsname\@enTheISet#thecounterto7sothatwegetthewidthof`vii'ifromannumbGeringisin IforceUUthenset\leftmarginn.qtothewidthofthelabGelplus\labelsep.I37]\csnamec@\@enumctr\endcsname7 I38]\expandafter\settowidthI39]\csnameleftmargin\romannumeral\@enumdepth\endcsnameI40]{\the\@enLab\hspace{\labelsep}}%IFinallyUUcall\@enum@whichisthesecondhalfoftheoriginalde nition.I41]\@enum@}3P\@enum@IAllthelistparametershavenowbGeende ned,socall\list.2Thisistakenstraight IfromUUtheoriginalde nitionof\enumerate.I42S\def\@enum@{\list{\csnamelabel\@enumctr\endcsname}%I43 {\usecounter{\@enumctr}\def\makelabel##1{\hss\llap{##1}}}}I44Sh!5" cmmi9=pack9age#g i3;&"V cmbx10#ow cmss9" cmsy9!5" cmmi9 cmmi10K`y cmr10ٓRcmr7