÷ƒ’À;è TeX output 1997.01.22:1745‹ÿÿÿÿ y� ý£ ?� þ��‘gKÇóDÓítG®G®cmr17¹L�Ÿüdú�‘úKGóX«Q cmr12ºAŽŽ‘¹”¹T�‘ý[™Ÿ¸-EŽ‘;gX‘`œ2�Ÿ—Œó·ág£G® cmmi12»"ŽŽ’§¨°¹for–7tclass“and“pac�Œqk‘ÿäage“writersŽŸ#�����’†¥CºCop•¬ryrigh“t����‘N9ž£hcŽŽŽ��‘ê¨ó!",š cmsy10¾ ŽŽŽ‘ÕRº1995–ê¨The“L�ŸýDD�‘ûÅ"ó|{Ycmr8¿AŽŽ�_ÙºT�‘þ ‘Ÿ•UEŽ‘‘!X3“Pro‘§jectŽŽŸ��’»oóAll–ê¨righš¬rts“reserv˜edŽŽŽŽŽŸ+ˆ‹�’»-28›ê¨No•¬rv“em“b�SŽer˜1996ŽŸ1Ä�‘>óÂÖN ff cmbx12ÆCon•ŒÌten“tsŽ©��‘>óò"V cmbx10Ç1Ž‘MIn�®9tro�QÇduction�’Øú2ŽŽ¤ ��‘MóKñ`y cmr10²1.1Ž‘dW‘ÿ*ªriting–UUclasses“and“pac�¸ãk‘ÿqÇages“for�“L�Ÿýó5�‘üffóÙ“ Rcmr7±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿó  b> cmmi10µ"ŽŽ‘.pÛ��‘ü².ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢2ŽŽ¡��‘M1.2Ž‘dOv�¸ãerview‘±k��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢3ŽŽ¡��‘M1.3Ž‘dF‘ÿ*ªurther‘UUinformation‘ §��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢3ŽŽ¦��‘>Ç2Ž‘MW‘ÿ «riting–ÕTclasses“and“pac�®9k‘ÿ\rages�’³—³4ŽŽ¡��‘M²2.1Ž‘dOld‘UUv�¸ãersions‘MÔ��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢4ŽŽ¡��‘M2.2Ž‘dUsing–UU`došGcstrip'“and“`do˜c'‘ê��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢4ŽŽ¡��‘M2.3Ž‘dIs–UUit“a“class“or“a“pac�¸ãk‘ÿqÇage?‘±$��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢5ŽŽ¡��‘M2.4Ž‘dCommand‘UUnames‘ ¹��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢5ŽŽ¡��‘M2.5Ž‘dBo�¸ãx–UUcommands“and“colour‘U��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢6ŽŽ¡��‘M2.6Ž‘dDe ning–UUtext“and“math“c�¸ãharacters‘éÙ��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢6ŽŽ¡��‘M2.7Ž‘dGeneral‘UUst�¸ãyle‘¼��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¢7ŽŽ¦��‘>Ç3Ž‘MThe–ÕTstructure“of“a“class“or“pac�®9k‘ÿ\rage�’”[¤9ŽŽ¡��‘M²3.1Ž‘dIden�¸ãti cation‘Tç��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡10ŽŽ¡��‘M3.2Ž‘dUsing–UUclasses“and“pac�¸ãk‘ÿqÇages�T°��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡10ŽŽ¡��‘M3.3Ž‘dDeclaring‘UUoptions‘ º��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡11ŽŽ¡��‘M3.4Ž‘dA–UUminimal“class“ le�z��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡13ŽŽ¡��‘M3.5Ž‘dExample:‘qÇa–UUlo�Gcal“letter“class‘)û��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡14ŽŽ¡��‘M3.6Ž‘dExample:‘qÇa–UUnewsletter“class‘›Ä��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡14ŽŽ¦��‘>Ç4Ž‘MCommands–ÕTfor“class“and“pac�®9k‘ÿ\rage“writers�‘qÎæ15ŽŽ¡��‘M²4.1Ž‘dIden�¸ãti cation‘Tç��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡16ŽŽ¡��‘M4.2Ž‘dLoading‘UU les�#(��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡17ŽŽ¡��‘M4.3Ž‘dOption‘UUdeclaration‘1>��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡17ŽŽ¡��‘M4.4Ž‘dCommands–UUwithin“option“co�Gde‘©ç��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡18ŽŽ¡��‘M4.5Ž‘dMo�¸ãving–UUoptions“around‘†���‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡19ŽŽ¡��‘M4.6Ž‘dDela�¸ãying‘UUco�Gde‘Ü��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡20ŽŽ¡��‘M4.7Ž‘dOption‘UUpro�Gcessing‘±@��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡21ŽŽŽŸ�’è1ŽŽŒ‹* y� ý£ ?� ýä��‘M²4.8Ž‘dSafe–UU le“commands‘Æ•��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡23ŽŽ¤ ��‘M4.9Ž‘dRep�Gorting–UUerrors,“etc‘É��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡24ŽŽ¡��‘M4.10Ž‘dDe ning‘UUcommands�j"��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡25ŽŽ¡��‘M4.11Ž‘dMo•¸ãving‘UUargumen“ts‘?x��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡26ŽŽ©��‘>Ç5Ž‘MMiscellaneous–ÕTcommands,“etc�’ª‚¸27ŽŽ¡��‘M²5.1Ž‘dLa•¸ãy“out‘UUparameters‘?y��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡27ŽŽ¡��‘M5.2Ž‘dCase‘UUc�¸ãhanging‘�Ì��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡27ŽŽ¡��‘M5.3Ž‘dThe–UU`opšGenan�¸ãy'“option“in“the“`b˜o˜ok'“class‘�K��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡28ŽŽ¡��‘M5.4Ž‘dBetter–UUuser-de ned“math“displaš¸ãy“en˜vironmen˜ts‘ -��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡28ŽŽ¦��‘>Ç6Ž‘MUpgrading–ÕTL�Ÿýñ�‘ûÜ*óf$Øcmbx7ÈAŽŽ‘èüÇT�‘þ<Ÿ8ãEŽ‘3sX“2.09“classes“and“pac�®9k‘ÿ\rages�‘f¤C29ŽŽ¡��‘M²6.1Ž‘dT‘ÿ*ªry–UUit“ rst!‘Tò��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡29ŽŽ¡��‘M6.2Ž‘dT‘ÿ*ªroublesho�Goting�?ˆ��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡29ŽŽ¡��‘M6.3Ž‘dF‘ÿ*ªon�¸ãt‘UUcommands‘†¥��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡29ŽŽ¡��‘M6.4Ž‘dObsolete‘UUcommands‘âÿ��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘¡31ŽŽŸ'Ä��‘>Æ1Ž‘VLËIn�ŒÌtro�s3ductionŽŸç�‘>²This–jõdo�Gcumenš¸ãt“is“an“in˜tro�Gduction“to“writing“classes“and“pac˜k‘ÿqÇages“for“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX,‘™ÖwithŽ¡�‘>sp�Gecial–§Wattenš¸ãtion“giv˜en“to“upgrading“existing“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“pac˜k‘ÿqÇages“to�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘(û².Ž¡�‘>The–¶�latter“sub‘Ž8ject“is“also“co•¸ãv“ered–¶�in“an“article“b�¸ãy“Johannes“Braams“publishedŽ¡�‘>in–UUTUGb�Goat“15.3.ŽŸ!þ6��‘>óÂÖN  cmbx12É1.1Ž‘\ÀW‘þàriting–€classes“and“pac� k‘ÿ@ages“for�“L�ŸýAl�‘û#×ó2Ç@Écmbx8ÊAŽŽ�~/ÉT�‘ý¿áŸªªEŽ‘ìSX‘a2�ŸÌÌó!DF‰” cmmib10Ì"ŽŽŽŸuT�‘>²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–ß»is“a“došGcumen�¸ãt“preparation“system“that“enables“the“do˜cumen�¸ãt“writer“toŽ¡�‘>concenš¸ãtrate–5¶on“the“con˜ten˜ts“of“their“text,‘mÏwithout“bšGothering“to˜o“m•¸ãuc“h‘5¶ab˜outŽ¡�‘>the–oPformatting“of“it.‘¿·F‘ÿ*ªor“example,‘uÎcš¸ãhapters“are“indicated“b˜y“ó'ßê²rather–UUthan“b�¸ãy“selecting“18pt“b�Gold.Ž©�‘>The–Dº le“that“conš¸ãtains“the“information“ab�Gout“ho˜w“to“turn“logical“structure“(lik˜eŽ¡�‘>`Ò\chapter²')–Zkinš¸ãto“formatting“(lik˜e“`18pt“b�Gold“ragged“righ˜t')“is“a“Ódo‘ÿ}'cument‘˜•class².Ž¡�‘>In–´addition,‘ÔEsome“features“(sucš¸ãh“as“colour“or“included“graphics)“are“indep�Genden˜tŽ¡�‘>of–UUthe“do�Gcumenš¸ãt“class“and“these“are“con˜tained“in“Óp‘ÿ}'ackages².ަ�‘>One–¿¢of“the“largest“di erences“b�Get•¸ãw“een–¿¢L�Ÿýó5�‘üff±AŽŽ›Í‰²T�‘þU>Ÿ'EŽ‘ãxX“2.09“and�“L�Ÿýó5�‘üff±AŽŽ˜²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘,Òî²is“in“the“com-Ž¡�‘>mands–‘‡used“to“write“pacš¸ãk‘ÿqÇages“and“classes.‘&]In“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09,‘ “there“w˜as“v˜ery“littleŽ¡�‘>supp�Gort–Úfor“writing“Ò.sty“² les,‘C{and“so“writers“had“to“resort“to“using“lo•¸ãw-lev“elŽ¡�‘>commands.ަ��‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘fвpro•¸ãvides›­àhigh-lev“el˜commands˜for˜structuring˜pac“k‘ÿqÇages.‘9öIt˜is˜also˜m“uc“hŽ¡�‘>easier–9to“build“classes“and“pacš¸ãk‘ÿqÇages“on“top“of“eac˜h“other,‘?for“example“writing“aŽ¡�‘>lošGcal–á-tec�¸ãhnical“rep˜ort“class“Òcetechr“²(for“the“Chemical“Engineering“departmen�¸ãt)Ž¡�‘>based–UUon“Òarticle².ŽŽŸ�’è2ŽŽŒ‹í y� ý£ ?� ýä��‘>É1.2Ž‘\ÀOv� erviewŽŸ?Ü�‘>²This–ò\do�Gcumenš¸ãt“con˜tains“an“o˜v˜erview“of“ho˜w“to“write“classes“and“pac˜k‘ÿqÇages“forޤ �‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX.‘³7It–k%došGes“Ónot‘]ý²in�¸ãtro˜duce“all“of“the“commands“necessary“to“write“pac�¸ãk‘ÿqÇages:Ž¡�‘>these–„can“b�Ge“found“in“either“ÓL�Ÿýé›�‘üQíó)t}\Êcmti7ÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X:‘þãA‘F_Do–ÿ}'cument›F�Pr“ep“ar“ation˜System‘Ûç²or‘„ÓTheŽ¡�‘>L�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ãBComp‘ÿ}'anion².‘·TBut–ÁÙit“došGes“describ˜e“the“new“commands“for“structuringŽ¡�‘>classes–UUand“pac�¸ãk‘ÿqÇages.ŽŸDÛ���‘>ÇSection‘ÕT2.7ŽŽ‘z˜²conš¸ãtains–`7some“general“advice“ab�Gout“writing“classes“and“pac˜k‘ÿqÇages.Ž¡�‘WIt–�pdescribšGes“the“di erence“b˜et•¸ãw“een–�pclasses“and“pac�¸ãk‘ÿqÇages,‘Ûwthe“commandŽ¡�‘Wnaming›í con•¸ãv“en“tions,–ùthe˜use˜of˜Òdoc˜²and˜Òdocstrip²,“ho•¸ãw˜T�‘þU>Ÿ'EŽ‘ãxX's˜primitiv“eŽ¡�‘W le–Õíand“b�Goš¸ãx“commands“in˜teract“with“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX.‘ó�It“also“con˜tains“some“hin˜tsŽ¡�‘Wab�Gout–UUgeneral“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“st�¸ãyle.Ž©ʈ���‘>ÇSection‘ÕT3ŽŽ‘q(Ô²describ�Ges–ì”the“structure“of“classes“and“pac�¸ãk‘ÿqÇages.‘NÜThis“includes“build-Ž¡�‘Wing–ôœclasses“and“pacš¸ãk‘ÿqÇages“on“top“of“other“classes“and“pac˜k‘ÿqÇages,‘mdeclaringŽ¡�‘Woptions–UUand“declaring“commands.‘qÇIt“also“con�¸ãtains“example“classes.ަ���‘>ÇSection‘ÕT4ŽŽ‘q(Ô²lists–UUthe“new“class“and“pac�¸ãk‘ÿqÇage“commands.ަ���‘>ÇSection‘ÕT6ŽŽ‘q(Ô²givš¸ães–Pšdetailed“advice“on“ho˜w“to“upgrade“existing“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“classesŽ¡�‘Wand–UUpac�¸ãk‘ÿqÇages“to�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘(¨ÿ².ŽŸ!±¹��‘>É1.3Ž‘\ÀF‘þàurther‘€informationŽŸ?Ü�‘>²F‘ÿ*ªor–ÏGa“general“in�¸ãtro�Gduction“to“L�Ÿýó5�‘üff±AŽŽ›Í‰²T�‘þU>Ÿ'EŽ‘ãxX,‘êincluding“the“new“features“of�“L�Ÿýó5�‘üff±AŽŽ˜²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘("ñ²,‘êy�¸ãouŽ¡�‘>should–UUread“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X:‘™–A–“çDo›ÿ}'cument“Pr˜ep˜ar˜ation“System‘¸²b�¸ãy–UULeslie“Lamp�Gort“[�3Ž‘].Ž©ʈ�‘>A‘êqmore–ê—detailed“description“of“the“new“features“of“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX,‘çand“an“o•¸ãv“erview‘ê—ofŽ¡�‘>more–Nèthan“150“pacš¸ãk‘ÿqÇages,‘�Lis“to“b�Ge“found“in“ÓThe–yƒL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X“Comp‘ÿ}'anion‘K²b˜y‘NèMic˜helŽ¡�‘>Go�Gossens,–UUF‘ÿ*ªrank“Mittelbac�¸ãh“and“Alexander“Samarin“[�1Ž‘].ަ�‘>The–Æ�L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ›ãxX“system“is“based“on“T�‘þU>Ÿ'EŽ˜X,‘"ïwhicš¸ãh“is“describ�Ged“in“ÓThe‘ç¤T�‘þKß'EŽ‘Í-Xb–ÿ}'o“ok‘Ú*²b˜yŽ¡�‘>Donald–UUE.“Kn�¸ãuth“[�2Ž‘].ަ�‘>There–ÛÉare“a“n•¸ãum“bšGer–ÛÉof“do˜cumenš¸ãtation“ les“whic˜h“accompan˜y“ev˜ery“cop˜y“ofŽ¡�‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX.‘þA‘Üïcopš¸ãy–Ýof“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ÈNews‘¯3²will“come“out“with“eac˜h“six-mon˜thly“release“ofŽ¡�‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX,‘ˆ‘and–~Ris“found“in“the“ les“Òltnews*.tex².‘ì½The“author's“guide�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘,‰PÓforŽ¡�‘>A�¾“uthors‘f²describšGes–“åthe“new“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“do˜cumen�¸ãt“features;‘3-it“is“in“Òusrguide.tex².Ž¡�‘>The–ÕPguide�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘+DÓÓF‘ÿ;¼ont‘!Sele‘ÿ}'ction‘™³²describ�Ges“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“fonš¸ãt“selection“sc˜heme“forŽ¡�‘>class-– ’and“pacš¸ãk‘ÿqÇage-writers;‘"Óit“is“in“Òfntguide.tex².‘X†Con guring“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“is“co˜v˜eredŽ¡�‘>b�¸ãy–{?the“guide“ÓCon gur‘ÿ}'ation–¢Moptions“for�“L�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘.nî²in–{?Òcfgguide.tex“²whilst“theŽ¡�‘>philosoph�¸ãy–ëßbšGehind“our“p˜olicy“on“mo˜difying“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“is“describ˜ed“in“ÓMo‘ÿ}'difyingŽ¡�‘>L�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘éô²in‘UUÒmodguide.tex².ަ�‘>W‘ÿ*ªe–¤Dare“gradually“turning“the“source“co�Gde“for“L�Ÿýó5�‘üff±AŽŽ›Í‰²T�‘þU>Ÿ'EŽ‘ãxX“in�¸ãto“a“L�Ÿýó5�‘üff±AŽŽ˜²T�‘þU>Ÿ'EŽ‘ãxX“do�Gcumen�¸ãtŽ¡�‘>ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X:‘‹8the‘w+pr–ÿ}'o“gr“am².‘g^This–6do�Gcumen�¸ãt“includes“an“index“of“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“commands“andŽ¡�‘>can–UUbšGe“t�¸ãyp˜eset“from“Òsource2e.tex².ŽŽŸ�’è3ŽŽŒ‹79 y� ý£ ?� ýä�‘>²F‘ÿ*ªor–j_more“information“ab�Gout“T�‘þU>Ÿ'EŽ›ãxX“and“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ˜X,‘™]please“conš¸ãtact“y˜our“lo�Gcal“T�‘þU>Ÿ'EŽ‘ãxX“UsersŽ© �‘>Group,–UUor“the“in�¸ãternational“T�‘þU>Ÿ'EŽ‘ãxX“Users“Group.‘qÇHere“are“some“useful“addresses.ŽŸ¢m�‘Wó*o´‹Ç cmr9ÕT�‘þuAŸïÿEŽ‘˜ŸX–ªÑUsers“Group,›Ð01850“Union“Street“#1637,˜San“F‘ÿ:«rancisco,˜CA“94123,ޤ �‘WUSAŽ¡�‘WF‘ÿ:«ax:–T+1“415“982“8559‘*¨Email:‘pó+ߤN cmtt9Ötug@tug.orgŽŸ›�‘WÕUK–TTUG,“1“Eymore“Close,“Selly“Oak,“Birmingham“B29“4LB,“UKŽ¡�‘WF‘ÿ:«ax:›p+44–T121“476“2159‘*¨Email:˜Öuktug-enquiries@tex.ac.ukŽŸ%ðÿ��‘>Æ2Ž‘VLËW‘þ¦friting–ffclasses“and“pac�ŒÌk‘ÿ™agesŽŸ?�‘>²This– Çsection“co•¸ãv“ers– Çsome“general“p�Goin�¸ãts“concerned“with“writing“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“classesަ�‘>and‘UUpac�¸ãk‘ÿqÇages.ޤ Ýq��‘>É2.1Ž‘\ÀOld‘€v� ersionsŽŸ«x�‘>²If–X©yš¸ãou“are“upgrading“an“existing“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“st˜yle“ le“then“w˜e“recommend“freezingަ�‘>the–·<2.09“vš¸ãersion“and“no“longer“main˜taining“it.‘—|Exp�Gerience“with“the“v‘ÿqÇariousަ�‘>dialects–9—of“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“whicš¸ãh“existed“in“the“early“1990's“suggests“that“main˜tainingަ�‘>pacš¸ãk‘ÿqÇages–vPfor“di eren˜t“v˜ersions“of“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“is“almost“imp�Gossible.‘Ô·It“will,‘~Žof“course,ަ�‘>bšGe–Wçnecessary“for“some“organisations“to“main�¸ãtain“b˜oth“v�¸ãersions“in“parallel“forަ�‘>some–Xštime“but“this“is“not“essenš¸ãtial“for“those“pac˜k‘ÿqÇages“and“classes“supp�Gorted“b˜yަ�‘>individuals:‘©«they–qGshould“supp�Gort“only“the“new“standard�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘(Äñ²,‘xDnot“obsoleteަ�‘>v�¸ãersions–UUof“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX.Ž¡��‘>É2.2Ž‘\ÀUsing–€`doš`cstrip'“and“`do˜c'ŽŸ«x�‘>²If–Syš¸ãou“are“going“to“write“a“large“class“or“pac˜k‘ÿqÇage“for“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“then“y˜ou“shouldަ�‘>consider–`ïusing“the“Òdoc“²soft•¸ãw“are›`ïwhic“h˜comes˜with˜L�Ÿýó5�‘üff±AŽŽ–͉²T�‘þU>Ÿ'EŽ›ãxX.‘”•L�Ÿýó5�‘üff±AŽŽ“²T�‘þU>Ÿ'EŽ˜X–`ïclasses“andަ�‘>pac�¸ãk‘ÿqÇages–¢written“using“this“can“bšGe“pro˜cessed“in“t•¸ãw“o›¢w“a“ys:‘ (they˜can˜b�Ge˜runަ�‘>through–ÍÈL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX,‘+åto“prošGduce“do˜cumen�¸ãtation;‘Šand“they“can“b˜e“pro˜cessed“withަ�‘>Òdocstrip²,–UUto“pro�Gduce“the“Ò.cls“²or“Ò.sty“² le.ޤ6$�‘>The–ïÒdoc“²soft•¸ãw“are–ïcan“automatically“generate“indexes“of“de nitions,‘U‚indexesަ�‘>of–½command“use,‘ÊWand“cš¸ãhange-log“lists.‘ðÿIt“is“v˜ery“useful“for“main˜taining“andަ�‘>do�Gcumen�¸ãting–UUlarge“T�‘þU>Ÿ'EŽ‘ãxX“sources.Ž¡�‘>The–6§do�Gcumenš¸ãted“sources“of“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“k˜ernel“itself,‘<Êand“of“the“standard“classes,ަ�‘>etc,‘K�are–IÒdoc“²do�Gcumen�¸ãts;‘M/they“are“in“the“Ò.dtx“² les“in“the“distribution.‘m´Y‘ÿ*ªou“can,ަ�‘>in–Úfact,‘û?t�¸ãypšGeset“the“source“co˜de“of“the“k�¸ãernel“as“one“long“do˜cumen�¸ãt,‘û?completeަ�‘>with–UUindex,“b�¸ãy“running“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“on“Òsource2e.tex².Ž¡�‘>F‘ÿ*ªor–HÜmore“information“on“Òdoc“²and“Òdocstrip²,‘…¾consult“the“ les“Òdocstrip.dtx²,ަ�‘>Òdoc.dtx²,‘//and›%¥ÓThe–hL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X“Comp‘ÿ}'anion².‘aâF‘ÿ*ªor˜examples˜of˜its˜use,‘//lo�Gok˜at˜the˜Ò.dtxަ�‘>² les.ŽŽŸ�’è4ŽŽŒ‹HK y� ý£ ?� ýä��‘>É2.3Ž‘\ÀIs–€it“a“class“or“a“pac� k‘ÿ@age?ŽŸòQ�‘>²The–{ rst“thing“to“do“when“yš¸ãou“w˜an˜t“to“put“some“new“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“commands“in“a“ leޤ �‘>is–ú1to“decide“whether“it“should“b�Ge“a“Ódo›ÿ}'cument‘+“class‘ÌR²or“a“Óp˜ackage².‘`\The“rule“ofŽ¡�‘>th•¸ãum“b‘UUis:ŽŸvø�‘WIf–íIthe“commands“could“bšGe“used“with“an�¸ãy“do˜cumenš¸ãt“class,‘then“mak˜eŽ¡�‘Wthem–UUa“pacš¸ãk‘ÿqÇage;“and“if“not,“then“mak˜e“them“a“class.ŽŸv÷�‘>There–¥Ùare“t•¸ãw“o–¥Ùma‘Ž8jor“tš¸ãyp�Ges“of“class:‘Îthose“lik˜e“Òarticle²,‘ùùÒreport“²or“Òletter²,Ž¡�‘>whicš¸ãh–Óware“free-standing;‘ˆand“those“whic˜h“are“extensions“or“v‘ÿqÇariations“of“otherŽ¡�‘>classes|for–Ãgexample,›Þëthe“Òproc“²do�Gcumen�¸ãt“class,˜whic�¸ãh“is“built“on“the“ÒarticleŽ¡�‘>²do�Gcumen�¸ãt‘UUclass.Ž©|ý�‘>Th•¸ãus,‘y,a› ›compan“y˜migh“t˜ha“v“e˜a˜lo�Gcal˜Òownlet˜²class˜for˜prin“ting˜letters˜withŽ¡�‘>their–€ðoš¸ãwn“headed“note-pap�Ger.‘ô˜Suc˜h“a“class“w˜ould“build“on“top“of“the“exist-Ž¡�‘>ing–ñ†Òletter“²class“but“it“cannot“bšGe“used“with“an�¸ãy“other“do˜cumenš¸ãt“class,‘’so“w˜eŽ¡�‘>ha•¸ãv“e–UUÒownlet.cls“²rather“than“Òownlet.sty².ަ�‘>The–B�Ògraphics“²pacš¸ãk‘ÿqÇage,‘}ïin“con˜trast,‘}ïpro˜vides“commands“for“including“imagesŽ¡�‘>inš¸ãto–^a“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“do�Gcumen˜t.‘ZÊSince“these“commands“can“b�Ge“used“with“an˜y“do�Gcumen˜tŽ¡�‘>class,–UUwš¸ãe“ha˜v˜e“Ògraphics.sty“²rather“than“Ògraphics.cls².ŽŸÔ“��‘>É2.4Ž‘\ÀCommand‘€namesŽŸòQ�‘>²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–UUhas“three“t�¸ãyp�Ges“of“command.ަ�‘>There–ˬare“the“author“commands,›éAsuc�¸ãh“as“Ò\section²,˜Ò\emph“²and“Ò\times²:‘^umostŽ¡�‘>of–UUthese“ha•¸ãv“e–UUshort“names,“all“in“lo•¸ãw“er‘UUcase.ަ�‘>There–ôare“also“the“class“and“pacš¸ãk‘ÿqÇage“writer“commands:‘Kmost“of“these“ha˜v˜e“longŽ¡�‘>mixed-case–UUnames“sucš¸ãh“as“the“follo˜wing.ŽŸµv�‘L,ÂÖ\InputIfFileExists– s,\RequirePackage“\PassOptionsToClassŽŸµv�‘>²Finally‘ÿ*ª,‘Çthere–Jcare“the“inš¸ãternal“commands“used“in“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“implemen˜tation,‘Çsuc˜hŽ¡�‘>as–¡5Ò\@tempcnta²,‘´,Ò\@ifnextchar“²and“Ò\@eha²:‘ †most“of“these“commands“con�¸ãtain“Ò@Ž¡�‘>²in–":their“name,‘Uswhic�¸ãh“means“they“cannot“bšGe“used“in“do˜cumen�¸ãts,‘Usonly“in“classŽ¡�‘>and–UUpac�¸ãk‘ÿqÇage“ les.ަ�‘>Unfortunately‘ÿ*ª,‘÷for–historical“reasons“the“distinction“b�Get•¸ãw“een–these“commands“isŽ¡�‘>often–Çblurred.‘ÇF‘ÿ*ªor“example,‘ã‹Ò\hbox“²is“an“inš¸ãternal“command“whic˜h“should“onlyŽ¡�‘>b�Ge–nÕused“in“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“kš¸ãernel,‘u5whereas“Ò\m@ne“²is“the“constan˜t“¸²1“and“could“ha˜v˜eŽ¡�‘>b�Geen‘UUÒ\MinusOne².ަ�‘>Ho•¸ãw“ev“er,‘ (this–Ürule“of“th•¸ãum“b–Üis“still“useful:‘P‹if“a“command“has“Ò@“²in“its“name“thenŽ¡�‘>it–qŸ'EŽ‘ãxX“language|and“its“b˜ehaš¸ãviour“ma˜y“c˜hangeŽ¡�‘>in–cÑfuture“releases!‘�Do–ÿ}'cument›jŸPr“ep“ar“ation˜System²,‘1othen–(vy�¸ãou“can“rely“on“future“releases“of�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽŽ¡�‘>²supp�Gorting–UUthe“command.ŽŽŸ�’è5ŽŽŒ‹UРy� ý£ ?� ýä��‘>É2.5Ž‘\ÀBo� x–€commands“and“colourŽŸuT�‘>²Evš¸ãen–|Öif“y˜ou“do“not“in˜tend“to“use“colour“in“y˜our“o˜wn“do�Gcumen˜ts,‘¨#b˜y“taking“note“ofޤ �‘>the–•Ôp�Goinš¸ãts“in“this“section“y˜ou“can“ensure“that“y˜our“class“or“pac˜k‘ÿqÇage“is“compatibleŽ¡�‘>with–ÑÅthe“Òcolor“²pacš¸ãk‘ÿqÇage.‘çThis“ma˜y“bšGene t“p˜eople“using“yš¸ãour“class“or“pac˜k‘ÿqÇageŽ¡�‘>who›UUha•¸ãv“e˜access˜to˜colour˜prin“ters.Ž©�‘>The–°/simplest“w•¸ãa“y–°/to“ensure“`colour“safetš¸ãy'“is“to“alw˜a˜ys“use“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“b�Go˜x“commandsŽ¡�‘>rather–b—than“T�‘þU>Ÿ'EŽ‘ãxX“primitiv�¸ães,›“#that“is“use“Ò\sbox“²rather“than“Ò\setbox²,˜Ò\mbox“²ratherŽ¡�‘>than–õ²Ò\hbox“²and“Ò\parbox“²or“the“Òminipage“²en•¸ãvironmen“t–õ²rather“than“Ò\vbox².‘QæTheŽ¡�‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–4b�Goš¸ãx“commands“ha˜v˜e“new“options“whic˜h“mean“that“they“are“no˜w“as“p�Go˜w-Ž¡�‘>erful–UUas“the“T�‘þU>Ÿ'EŽ‘ãxX“primitiv�¸ães.ަ�‘>As–CJan“example“of“what“can“go“wrong,‘Fåconsider“that“in“Ò{\ttfamily�‘?ý¸hÓtext‘òظiŽ‘Ü Ò}“²theŽ¡�‘>fon�¸ãt– ðis“restored“just“Ób–ÿ}'efor“e‘áK²the– ðÒ}²,‘SÖwhereas“in“the“similar“lo�Goking“constructionŽ¡�‘>Ò{\color{green}�‘?ý¸hÓtext‘òظiŽ‘Ü Ò}–[βthe“colour“is“restored“just“Óafter‘o[²the“ nal“Ò}².‘…3NormallyŽ¡�‘>this–íwdistinction“došGes“not“matter“at“all;‘but“consider“a“primitiv�¸ãe“T�‘þU>Ÿ'EŽ‘ãxX“b˜o�¸ãx“assign-Ž¡�‘>men•¸ãt›UUsuc“h˜as:ŽŸ�‘L,ÂÖ\setbox0=\hbox{\color{green}�‘¹–ó-©±�Ê cmsy9Øhó.¼j‘¹ cmti9Ùtext‘ÙÇØiŽ‘lIÖ}ŽŸ�‘>²No�¸ãw–]0the“colour-restore“ošGccurs“after“the“Ò}“²and“so“is“Ónot‘P²stored“in“the“b˜o�¸ãx.‘ExactlyŽ¡�‘>what–ä bad“e ects“this“can“ha•¸ãv“e–ä dep�Gends“on“hoš¸ãw“colour“is“implemen˜ted:‘�8it“canŽ¡�‘>range–û(from“getting“the“wrong“colours“in“the“rest“of“the“do�Gcumen�¸ãt,‘$�to“causingŽ¡�‘>errors–UUin“the“dvi-drivš¸ãer“used“to“prin˜t“the“do�Gcumen˜t.ަ�‘>Also–Êfof“in�¸ãterest“is“the“command“Ò\normalcolor².‘ÐûThis“is“normally“just“Ò\relaxŽ¡�‘>²(i.e.,‘'üdo�Ges–¦nothing)“but“yš¸ãou“can“use“it“rather“lik˜e“Ò\normalfont“²to“set“regions“ofŽ¡�‘>the–UUpage“sucš¸ãh“as“captions“or“section“headings“to“the“`main“do�Gcumen˜t“colour'.ŽŸ!þ6��‘>É2.6Ž‘\ÀDe ning–€text“and“math“c� haractersŽŸuT�‘>²Because�‘·îL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘*ƲsuppšGorts–·îdi eren�¸ãt“enco˜dings,‘×ide nitions“of“commands“for“pro-Ž¡�‘>ducing‘^sym•¸ãb�Gols,›öaccen“ts,˜comp�Gosite–^glyphs,˜etc.“m�¸ãust“b�Ge“de ned“using“the“com-Ž¡�‘>mands–Ò+pro�¸ãvided“for“this“purpšGose“and“describ˜ed“in�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘+>ÉÓF‘ÿ;¼ont‘part–¥»of“the“system“is“still“under“dev•¸ãelopmen“t–¥»so“sucš¸ãh“tasks“should“b�Ge“undertak˜enŽ¡�‘>with–UUgreat“caution.ަ�‘>Also,‘ÔÞÒ\DeclareRobustCommand–»\²should“bšGe“used“for“enco˜ding-indep˜enden�¸ãt“com-Ž¡�‘>mands–UUof“this“t�¸ãyp�Ge.ަ�‘>Note–@ðthat“it“is“no“longer“p�Gossible“to“refer“to“the“math“fon�¸ãt“set-up“outside“mathŽ¡�‘>mo�Gde:‘,Òfor–Ëjexample,‘çneither“Ò\textfont›?ý1“²nor“Ò\scriptfont˜2“²are“guaran�¸ãteed“toŽ¡�‘>bšGe–UUde ned“in“other“mo˜des.ŽŽŸ�’è6ŽŽŒ‹bï y� ý£ ?� ýä��‘>É2.7Ž‘\ÀGeneral‘€st� yleŽ©uT�‘>²The–”¬new“system“proš¸ãvides“man˜y“commands“designed“to“help“y˜ou“pro�Gduce“w˜ell-ޤ �‘>structured–ë¿class“and“pac�¸ãk‘ÿqÇage“ les“that“are“bšGoth“robust“and“p˜ortable.‘ 5ThisŽ¡�‘>section–UUoutlines“some“w•¸ãa“ys–UUto“makš¸ãe“in˜telligen˜t“use“of“these.ŽŸþ6��‘>Ç2.7.1Ž‘a#‚Loading–ÕTother“ lesަ�‘>²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–UUpro�¸ãvides“these“commands:Ž����’¢ó/ÒoÇw cmss9ÚNew‘TdescriptionŽŸ �’¢1995/12/01ŽŽŽŽŸ�‘L,ÂÖ\LoadClass‘%̰\LoadClassWithOptionsŽŸ �‘L,Â\RequirePackage‘,Â\RequirePackageWithOptionsŽŸ�‘>²for–æHusing“classes“or“pacš¸ãk‘ÿqÇages“inside“other“classes“or“pac˜k‘ÿqÇages.‘$ŸW‘ÿ*ªe“recommendŽ¡�‘>strongly–—ãthat“yš¸ãou“use“them,‘¨†rather“than“the“primitiv˜e“Ò\input“²command,‘¨†for“aŽ¡�‘>n•¸ãum“b�Ger–UUof“reasons.ޤ�‘>Files–UUloaded“with“Ò\input�‘?ý¸hÓ lename‘À[¸iŽ‘5f±²will“not“b�Ge“listed“in“the“Ò\listfiles“²list.Ž¡�‘>If–Iûa“pacš¸ãk‘ÿqÇage“is“alw˜a˜ys“loaded“with“Ò\RequirePackage...“²or“Ò\usepackage“²then,ޤ �‘>evš¸ãen–nif“its“loading“is“requested“sev˜eral“times,‘<´it“will“b�Ge“loaded“only“once.‘�ByŽ¡�‘>con�¸ãtrast,‘êÉif–™²it“is“loaded“with“Ò\input“²then“it“can“b�Ge“loaded“more“than“once;Ž¡�‘>sucš¸ãh–®an“extra“loading“ma˜y“w˜aste“time“and“memory“and“it“ma˜y“pro�Gduce“strangeŽ¡�‘>results.Ž©�‘>If–ºa“pacš¸ãk‘ÿqÇage“pro˜vides“option-prošGcessing“then,–0“again,“strange–ºresults“are“p˜ossi-Ž¡�‘>ble–Rif“the“pacš¸ãk‘ÿqÇage“is“Ò\input“²rather“than“loaded“b˜y“means“of“Ò\usepackage“²orŽ¡�‘>Ò\RequirePackage...².ަ�‘>If–¸éthe“pacš¸ãk‘ÿqÇage“Òfoo.sty“²loads“the“pac˜k‘ÿqÇage“Òbaz.sty“²b˜y“use“of“Ò\input‘?ýbaz.styŽ¡�‘>²then–UUthe“user“will“get“a“w�¸ãarning:ŽŸ�‘L,ÂÖLaTeX–¹–Warning:“You“have“requested“package“`foo',ŽŸ �’“ Œbut–¹–the“package“provides“`baz'.ŽŸ�‘>²Thš¸ãus,–UUfor“sev˜eral“reasons,“using“Ò\input“²to“load“pac˜k‘ÿqÇages“is“not“a“go•Go“d‘UUidea.ަ�‘>Unfortunately‘ÿ*ª,‘ìqif–Ò8yš¸ãou“are“upgrading“the“ le“Òmyclass.sty“²to“a“class“ le“then“y˜ouŽ¡�‘>ha•¸ãv“e–þto“makš¸ãe“sure“that“an˜y“old“ les“whic˜h“con˜tain“Ò\input‘?ýmyclass.sty“²stillŽ¡�‘>w�¸ãork.ަ�‘>This–ݲw�¸ãas“also“true“for“the“standard“classes“(Òarticle²,›õŸÒbook“²and“Òreport²),˜since“aŽ¡�‘>lot–® of“existing“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“do�Gcumenš¸ãt“st˜yles“con˜tain“Ò\input‘?ýarticle.sty².‘}§TheŽ¡�‘>approac•¸ãh›ú«whic“h˜w“e˜use˜to˜solv“e˜this˜is˜to˜pro“vide˜minimal˜ les˜Òarticle.sty²,Ž¡�‘>Òbook.sty–UU²and“Òreport.sty²,“whic�¸ãh“simply“load“the“appropriate“class“ les.ަ�‘>F‘ÿ*ªor–UUexample,“Òarticle.sty“²conš¸ãtains“just“the“follo˜wing“lines:ŽŽŸ�’è7ŽŽŒ‹o¾ y� ý£ ?� ýä�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}ޤ �‘L,Â\@obsoletefile{article.cls}{article.sty}Ž¡�‘L,Â\LoadClass{article}ŽŸ�‘>²Y‘ÿ*ªou–r"maš¸ãy“wish“to“do“the“same“or,‘yUif“y˜ou“think“that“it“is“safe“to“do“so,‘yUy˜ou“ma˜yޤ �‘>decide–UUto“just“remo•¸ãv“e‘UUÒmyclass.sty².ŽŸþ6��‘>Ç2.7.2Ž‘a#‚Mak�®9e–ÕTit“robustŽŸuT�‘>²W‘ÿ*ªe–Ž×consider“it“go•Go“d–Ž×practice,›�8when“writing“pac�¸ãk‘ÿqÇages“and“classes,˜to“use“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXŽ¡�‘>commands–UUas“m•¸ãuc“h–UUas“p�Gossible.Ž©�‘>Thš¸ãus,‘ÍŠinstead–Oof“using“Ò\def...“²w˜e“recommend“using“one“of“Ò\newcommand²,Ž¡�‘>Ò\renewcommand–Øq²or“Ò\providecommand²;‘Ò\CheckCommand“²is“also“useful.‘H&Doing“thisŽ¡�‘>makš¸ães–s�it“less“lik˜ely“that“y˜ou“will“inadv˜erten˜tly“rede ne“a“command,‘{ giving“un-Ž¡�‘>exp�Gected‘UUresults.ަ�‘>When–o yš¸ãou“de ne“an“en˜vironmen˜t,‘�’use“Ò\newenvironment“²or“Ò\renewenvironmentŽ¡�‘>²instead–UUÒ\def\foo{...}“²and“Ò\def\endfoo{...}².ަ�‘>If–û¤yš¸ãou“need“to“set“or“c˜hange“the“v‘ÿqÇalue“of“a�“¸hÓdimen‘Äc¸iŽ‘-¨²or�“¸hÓskip‘¡˜¸iŽ‘#=Õ²register,‘e7useŽ¡�‘>Ò\setlength².ަ�‘>T‘ÿ*ªo–<˜manipulate“b�Goš¸ãxes,‘AŠuse“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“commands“suc˜h“as“Ò\sbox²,‘AŠÒ\mbox“²and“Ò\parboxŽ¡�‘>²rather–UUthan“Ò\setbox²,“Ò\hbox“²and“Ò\vbox².ަ�‘>Use–(FÒ\PackageError²,‘�Ò\PackageWarning“²or“Ò\PackageInfo“²(or“the“equiv‘ÿqÇalen�¸ãtŽ¡�‘>class–UUcommands)“rather“than“Ò\@latexerr²,“Ò\@warning“²or“Ò\wlog².ަ�‘>It–µ¤is“still“p�Gossible“to“declare“options“b�¸ãy“de ning“Ò\ds@�¸hÓoption‘Äc¸iŽ‘)™H²and“callingŽ¡�‘>Ò\@options²;‘í—but–,w�¸ãe“recommend“the“Ò\DeclareOption“²and“Ò\ProcessOptionsŽ¡�‘>²commands–ä~instead.›CThese“are“more“p�Go•¸ãw“erful–ä~and“use“less“memory‘ÿ*ª.˜So“ratherŽ¡�‘>than‘UUusing:ޤ�‘L,ÂÖ\def\ds@draft{\overfullrule‘¹–5pt}Ž© �‘L,Â\@optionsŽŸ�‘>²y�¸ãou–UUshould“use:Ž¡�‘L,ÂÖ\DeclareOption{draft}{\setlength{\overfullrule}{5pt}}ަ�‘L,Â\ProcessOptions\relaxŽŸ�‘>²The–�2adv‘ÿqÇanš¸ãtage“of“this“kind“of“practice“is“that“y˜our“co�Gde“is“more“readable“and,ޤ �‘>more–ºimp�Gortanš¸ãt,‘Ùthat“it“is“less“lik˜ely“to“break“when“used“with“future“v˜ersions“ofŽ¡�‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX.ŽŽŸ�’è8ŽŽŒ‹ z‚ y� ý£ ?� ýä��‘>Ç2.7.3Ž‘a#‚Mak�®9e–ÕTit“p�QÇortableŽŸŠº�‘>²It–>€is“also“sensible“to“makš¸ãe“y˜our“ les“are“as“pšGortable“as“p˜ossible.‘j+T‘ÿ*ªo“ensure“this;ޤ �‘>they–D@should“conš¸ãtain“only“visible“7-bit“text;‘Iòand“the“ lenames“should“con˜tain“atŽ¡�‘>most– ¨eighš¸ãt“c˜haracters“(plus“the“three“letter“extension).‘XãAlso,›˜of“course,˜it“Çm�®9ustŽ¡�‘>not›©¤²ha•¸ãv“e˜the˜same˜name˜as˜a˜ le˜in˜the˜standard˜L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX˜distribution,‘¾¸ho“w“ev“erŽ¡�‘>similar–UUits“con•¸ãten“ts›UUma“y˜b�Ge˜to˜one˜of˜these˜ les.Ž©f�‘>It–œ¯is“also“useful“if“lo�Gcal“classes“or“pacš¸ãk‘ÿqÇages“ha˜v˜e“a“common“pre x,‘®…for“exampleŽ¡�‘>the›ÁUniv•¸ãersit“y˜of˜No“where˜classes˜migh“t˜b�Gegin˜with˜Òunw².‘¤ This˜helps˜to˜a“v“oidŽ¡�‘>ev•¸ãery›UUUniv“ersit“y˜ha“ving˜its˜o“wn˜thesis˜class,˜all˜called˜Òthesis.cls².ަ�‘>If–"yš¸ãou“rely“on“some“features“of“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“k˜ernel,‘ `or“on“a“pac˜k‘ÿqÇage,‘ `please“sp�GecifyŽ¡�‘>the–â÷release-date“yš¸ãou“need.‘ ¬F‘ÿ*ªor“example,‘F_the“pac˜k‘ÿqÇage“error“commands“w˜ereŽ¡�‘>inš¸ãtro�Gduced–UUin“the“June“1994“release“so,“if“y˜ou“use“them“then“y˜ou“should“put:ŽŸÊæ�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}[1994/06/01]ŽŸ®›��‘>Ç2.7.4Ž‘a#‚Useful‘ÕTho�QÇoksŽŸŠº�‘>²Some–ÝÝpacš¸ãk‘ÿqÇages“and“do�Gcumen˜t“st˜yles“had“to“rede ne“the“command“Ò\documentŽ¡�‘>²or–«Ò\enddocument“²to“ac•¸ãhiev“e–«their“goal.›yÉThis“is“no“longer“necessary–ÿ*ª.˜Y“ou‘«canŽ¡�‘>no�¸ãw–iuse“the“`ho�Goks'“Ò\AtBeginDocument“²and“Ò\AtEndDocument“²(see“Section“4.6).Ž¡�‘>Again,‘R6using–Qnthese“ho�Goks“makš¸ães“it“less“lik˜ely“that“y˜our“co�Gde“breaks“with“futureŽ¡�‘>vš¸ãersions–žbof“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX.‘LíIt“also“mak˜es“it“more“lik˜ely“that“y˜our“pac˜k‘ÿqÇage“can“w˜orkŽ¡�‘>together–UUwith“someone“else's.ަ�‘>Ho•¸ãw“ev“er,‘­$note–›”that“cošGde“in“the“Ò\AtBeginDocument“²ho˜ok“is“part“of“the“pream-Ž����’¢ÚNew‘TdescriptionŽŸ �’¢1996/12/01ŽŽŽŽ¡�‘>²ble.‘§ïTh�¸ãus–gbthere“are“restrictions“on“what“can“b�Ge“put“there;‘ðiin“particular,‘«ånoŽ¡�‘>t�¸ãypšGesettting–UUcan“b˜e“done.ŽŸ%Â)��‘>Æ3Ž‘VLËThe–ffstructure“of“a“class“or“pac�ŒÌk‘ÿ™ageŽŸü���‘>²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘gT…²classes–Ûand“pacš¸ãk‘ÿqÇages“ha˜v˜e“more“structure“than“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“st˜yle“ lesŽ¡�‘>did.‘qÇThe–UUoutline“of“a“class“or“pac�¸ãk‘ÿqÇage“ le“is:ŽŸ@3���‘>ÇIden�®9ti cationŽŽ’…§²The–WV le“saš¸ãys“that“it“is“a�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘,V²pac˜k‘ÿqÇage“or“class,‘W×and“giv˜es“aŽ¡�‘Wshort–UUdescription“of“itself.Ž©f���‘>ÇPreliminary‘ÕTdeclarationsŽŽ’¾à.²Here–\Ûthe“ le“declares“some“commands“and“can“alsoŽ¡�‘Wload–ú÷other“ les.‘S¨Usually“these“commands“will“b�Ge“just“those“needed“for“theŽ¡�‘Wco�Gde–UUused“in“the“declared“options.ަ���‘>ÇOptionsŽŽ‘j^…²The–UU le“declares“and“pro�Gcesses“its“options.ަ���‘>ÇMore‘ÕTdeclarationsŽŽ’�ºå²This–³Eis“where“the“ le“do�Ges“most“of“its“w�¸ãork:‘ ¿declaring“newŽ¡�‘Wv‘ÿqÇariables,–UUcommands“and“fon�¸ãts;“and“loading“other“ les.ŽŽŸ�’è9ŽŽŒ‹ ƒ‡ y� ý£ ?� ýä��‘>É3.1Ž‘\ÀIden� ti cationŽŸí�‘>²The–úˆ rst“thing“a“class“or“pacš¸ãk‘ÿqÇage“ le“do�Ges“is“iden˜tify“itself.‘SƒP˜ac˜k‘ÿqÇage“ les“do“thisŽŸ �‘>as‘UUfollo�¸ãws:ޤs�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}Ž© �‘L,Â\ProvidesPackage{�ØhÙp�‡ackage‘® ØiŽ‘&‘²Ö}[�ØhÙdate‘® ØiŽ�‘]hÙother‘N²F‘ÿ*ªor‘UUexample:Ž¡�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}ަ�‘L,Â\ProvidesPackage{latexsym}[1994/06/01–¹–Standard“LaTeX“package]ŽŸs�‘>²Class–UU les“do“this“as“follo�¸ãws:Ž¡�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}ަ�‘L,Â\ProvidesClass{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}[�ØhÙdate‘® ØiŽ�‘]hÙother‘N²F‘ÿ*ªor‘UUexample:Ž¡�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}ަ�‘L,Â\ProvidesClass{article}[1994/06/01–¹–Standard“LaTeX“class]Ž©s�‘>²The�‘ÇJ¸hÓdate‘À[¸iŽ‘":ÿ²should–ÇJb�Ge“givš¸ãen“in“the“form“`ó0Œ-ø cmcsc10Ûyyyy/mm/dd²'.‘Ç¥This“date“is“c˜hec˜k˜edޤ �‘>whenev�¸ãer–ê°a“user“sp�Geci es“a“date“in“their“Ò\documentclass“²or“Ò\usepackage“²com-Ž¡�‘>mand.‘qÇF‘ÿ*ªor–UUexample,“if“y�¸ãou“wrote:ŽŸs�‘L,ÂÖ\documentclass{article}[1995/12/23]ަ�‘>²then–˜âusers“at“a“di erenš¸ãt“lo�Gcation“w˜ould“get“a“w˜arning“that“their“cop˜y“of“ÒarticleŽ¡�‘>²w�¸ãas–UUout“of“date.ީޙ�‘>The– :description“of“a“class“is“displa•¸ãy“ed– :when“the“class“is“used.‘RwThe“descriptionŽ¡�‘>of–Sa“pacš¸ãk‘ÿqÇage“is“put“in˜to“the“log“ le.‘�ÀThese“descriptions“are“also“displa˜y˜ed“b˜yŽ¡�‘>the–d�Ò\listfiles“²command.‘ŸwThe“phrase“ÒStandard‘?ýLaTeX‘dJÇm�®9ust‘ >not“²b�Ge“usedŽ¡�‘>in–¦âthe“idenš¸ãti cation“banner“of“an˜y“ le“other“than“those“in“the“standard“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXŽ¡�‘>distribution.ŽŸ![ü��‘>É3.2Ž‘\ÀUsing–€classes“and“pac� k‘ÿ@agesŽŸí�‘>²The–Oº rst“ma‘Ž8jor“di erence“b�Get•¸ãw“een–OºL�Ÿýó5�‘üff±AŽŽ›Í‰²T�‘þU>Ÿ'EŽ‘ãxX“2.09“st�¸ãyle“ les“and�“L�Ÿýó5�‘üff±AŽŽ˜²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘+ó²pac�¸ãk‘ÿqÇagesŽ¡�‘>and–Ù[classes“is“that�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘-`²supp�Gorts“Ómo‘ÿ}'dularity²,‘ú]in“the“sense“of“building“ lesŽ¡�‘>from–UUsmall“building-blo�Gc�¸ãks“rather“than“using“large“single“ les.ަ�‘>A–UUL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“pacš¸ãk‘ÿqÇage“or“class“can“load“a“pac˜k‘ÿqÇage“as“follo˜ws:ŽŽŸ�’åÿ10ŽŽŒ‹ � y� ý£ ?� ýä�‘L,ÂÖ\RequirePackage[�ØhÙoptions‘»�ØiŽ‘$øÖ]{�ØhÙp�‡ackage‘® ØiŽ‘&‘²Ö}[�ØhÙdate‘® ØiŽ‘£lÖ]ޤßÖ�‘>²F‘ÿ*ªor‘UUexample:Ž©ßÖ�‘L,ÂÖ\RequirePackage{ifthen}[1994/06/01]Ž¡�‘>²This–y¹command“has“the“same“syn�¸ãtax“as“the“author“command“Ò\usepackage².‘(”It“al-ޤ �‘>lo•¸ãws›CÀpac“k‘ÿqÇages˜or˜classes˜to˜use˜features˜pro“vided˜b“y˜other˜pac“k‘ÿqÇages.‘–F‘ÿ*ªor˜example,Ž¡�‘>bš¸ãy–aµloading“the“Òifthen“²pac˜k‘ÿqÇage,‘’oa“pac˜k‘ÿqÇage“writer“can“use“the“`if.–ªª.“.“then.“.“.“else.“.“.“'Ž¡�‘>commands–UUproš¸ãvided“b˜y“that“pac˜k‘ÿqÇage.ŽŸöÏ�‘>A–UUL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“class“can“load“one“other“class“as“follo�¸ãws:ަ�‘L,ÂÖ\LoadClass[�ØhÙoptions‘»�ØiŽ‘$øÖ]{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}[�ØhÙdate‘® ØiŽ‘£lÖ]ޤßÖ�‘>²F‘ÿ*ªor‘UUexample:ަ�‘L,ÂÖ\LoadClass[twocolumn]{article}Ž¡�‘>²This–lÍcommand“has“the“same“syn�¸ãtax“as“the“author“command“Ò\documentclass².ޤ �‘>It–ÝÛalloš¸ãws“classes“to“b�Ge“based“on“the“syn˜tax“and“app�Gearance“of“another“class.‘IôF‘ÿ*ªorŽ¡�‘>example,›L>b�¸ãy–Üloading“the“Òarticle“²class,˜a“class“writer“only“has“to“c�¸ãhange“theŽ¡�‘>bits–UUof“Òarticle“²they“don't“likš¸ãe,“rather“than“writing“a“new“class“from“scratc˜h.ŽŸöÏ�‘>The–ifolloš¸ãwing“commands“can“b�Ge“used“in“the“common“case“that“y˜ou“w˜an˜t“toŽ����’¢ÚNew‘TfeatureŽŸ �’¢1995/12/01ŽŽŽŽ¡�‘>²simply–`Cload“a“class“or“pac�¸ãk‘ÿqÇage“ le“with“exactly“those“options“that“are“b�GeingŽ¡�‘>used–UUbš¸ãy“the“curren˜t“class.ަ�‘L,ÂÖ\LoadClassWithOptions{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}[�ØhÙdate‘® ØiŽ‘£lÖ]ޤ �‘L,Â\RequirePackageWithOptions{�ØhÙp�‡ackage‘® ØiŽ‘&‘²Ö}[�ØhÙdate‘® ØiŽ‘£lÖ]ŽŸßÖ�‘>²F‘ÿ*ªor‘UUexample:ަ�‘L,ÂÖ\LoadClassWithOptions{article}Ž¡�‘L,Â\RequirePackageWithOptions{graphics}[1995/12/01]ŽŸ!ñ��‘>É3.3Ž‘\ÀDeclaring‘€optionsŽŸl#�‘>²The–^Ïother“ma‘Ž8jor“di erence“b�Get•¸ãw“een–^ÏL�Ÿýó5�‘üff±AŽŽ›Í‰²T�‘þU>Ÿ'EŽ‘ãxX“2.09“st�¸ãyles“and�“L�Ÿýó5�‘üff±AŽŽ˜²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘.H²pac�¸ãk‘ÿqÇagesޤ �‘>and– �classes“is“in“option“handling.‘`4P•¸ãac“k‘ÿqÇages– �and“classes“can“no�¸ãw“declare“optionsŽ¡�‘>and–D™these“can“bšGe“sp˜eci ed“b�¸ãy“authors;‘¼;for“example,‘€jthe“Òtwocolumn“²option“isŽ¡�‘>declared–UUb�¸ãy“the“Òarticle“²class.ŽŸöÏ�‘>An–UUoption“is“declared“as“follo�¸ãws:ŽŽŸ�’åÿ11ŽŽŒ‹ ™D y� ý£ ?� ýä�‘L,ÂÖ\DeclareOption{�ØhÙoption‘¶9ØiŽ‘!+¡Ö}{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}ޤ@�‘>²F‘ÿ*ªor–bœexample,‘eíthe“Òdvips“²option“(slighš¸ãtly“simpli ed)“to“the“Ògraphics“²pac˜k‘ÿqÇage“isŽ© �‘>implemen�¸ãted‘UUas:ŽŸ@�‘L,ÂÖ\DeclareOption{dvips}{\input{dvips.def}}Ž¡�‘>²This–w×means“that“when“an“author“writes“Ò\usepackage[dvips]{graphics}²,‘€xtheަ�‘> le–¯€Òdvips.def“²is“loaded.‘€IAs“another“example,‘Æ the“Òa4paper“²option“is“declaredަ�‘>in–UUthe“Òarticle“²class“to“set“the“Ò\paperheight“²and“Ò\paperwidth“²lengths:ŽŸ@�‘L,ÂÖ\DeclareOption{a4paper}{%ޤ �‘ZY„\setlength{\paperheight}{297mm}%Ž¡�‘ZY„\setlength{\paperwidth}{210mm}%Ž¡�‘L,Â}ޤ@�‘>²Sometimes–Šba“user“will“request“an“option“whicš¸ãh“the“class“or“pac˜k‘ÿqÇage“has“notަ�‘>explicitly–"declared.‘`ÕBy“default“this“will“pro�Gduce“a“w�¸ãarning“(for“classes)“or“errorަ�‘>(for–UUpacš¸ãk‘ÿqÇages);“this“b�Geha˜viour“can“b�Ge“altered“as“follo˜ws:ŽŸ@�‘L,ÂÖ\DeclareOption*{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}Ž¡�‘>²F‘ÿ*ªor–ñáexample,‘Åto“makš¸ãe“the“pac˜k‘ÿqÇage“Òfred“²pro�Gduce“a“w˜arning“rather“than“an“errorަ�‘>for–UUunknoš¸ãwn“options,“y˜ou“could“sp�Gecify:ŽŸ@�‘L,ÂÖ\DeclareOption*{%ޤ �‘ZY„\PackageWarning{fred}{Unknown–¹–option“`\CurrentOption'}%Ž¡�‘L,Â}ŽŸ@�‘>²Then,›Y?if–%Can“author“writes“Ò\usepackage[foo]{fred}²,˜they“will“get“a“w�¸ãarningަ�‘>ÒPackage–?ýfred“Warning:‘ úUnknown“option“`foo'.‘†{²As–±‘another“example,‘È theަ�‘>Òfontenc–¾v²pacš¸ãk‘ÿqÇage“tries“to“load“a“ le�“¸hÓENC‘sè¸iŽ‘!X½Òenc.def“²whenev˜er“the�“¸hÓENC‘sè¸iŽ‘$3²optionަ�‘>is–UUused.‘qÇThis“can“b�Ge“done“b�¸ãy“writing:ŽŸ@�‘L,ÂÖ\DeclareOption*{%Ž¡�‘ZY„\input{\CurrentOption‘¹–enc.def}%Ž¡�‘L,Â}ŽŸ@�‘>²It–Ù¦is“p�Gossible“to“pass“options“on“to“another“pac�¸ãk‘ÿqÇage“or“class,‘òcusing“the“commandަ�‘>Ò\PassOptionsToPackage–�ú²or“Ò\PassOptionsToClass².‘/TF‘ÿ*ªor“example,‘µÚto“pass“ev�¸ãeryަ�‘>unknoš¸ãwn–UUoption“on“to“the“Òarticle“²class,“y˜ou“can“use:ŽŸ@�‘L,ÂÖ\DeclareOption*{%Ž¡�‘ZY„\PassOptionsToClass{\CurrentOption}{article}%Ž¡�‘L,Â}ŽŽŸ�’åÿ²12ŽŽŒ‹ ¢‘ y� ý£ ?� ýä�‘>²If–ÿyš¸ãou“do“this“then“y˜ou“should“mak˜e“sure“y˜ou“load“the“class“at“some“later“p�Goin˜t,ޤ �‘>otherwise–UUthe“options“will“nev�¸ãer“bšGe“pro˜cessed!Ž©�‘>So–ÀÓfar,‘Þ‡wš¸ãe“ha˜v˜e“explained“only“ho˜w“to“declare“options,‘Þ‡not“ho˜w“to“execute“them.Ž¡�‘>T‘ÿ*ªo–UUpro�Gcess“the“options“with“whicš¸ãh“the“ le“w˜as“called,“y˜ou“should“use:ŽŸ�‘L,ÂÖ\ProcessOptions\relaxŽŸ�‘>²This–Ì+executes“the�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘"†+²for“eacš¸ãh“option“that“w˜as“bšGoth“sp˜eci ed“and“declaredŽ¡�‘>(see–UUSection“4.7“for“details“of“ho�¸ãw“this“is“done).ަ�‘>F‘ÿ*ªor–UUexample,“if“the“Òjane“²pacš¸ãk‘ÿqÇage“ le“con˜tains:ŽŸ�‘L,ÂÖ\DeclareOption{foo}{\typeout{Saw‘¹–foo.}}ޤ �‘L,Â\DeclareOption{baz}{\typeout{Saw‘¹–baz.}}Ž¡�‘L,Â\DeclareOption*{\typeout{What's‘¹–\CurrentOption?}}Ž¡�‘L,Â\ProcessOptions\relaxŽŸ�‘>²and–¾®an“author“writes“Ò\usepackage[foo,bar]{jane}²,‘then“they“will“see“theޤ �‘>messages–UUÒSaw›?ýfoo.‘qDzand“ÒWhat's˜bar?ŽŸ!þ6��‘>É3.4Ž‘\ÀA–€minimal“class“ leŽŸuT�‘>²Most–µRof“the“wš¸ãork“of“a“class“or“pac˜k‘ÿqÇage“is“in“de ning“new“commands,‘ÕSor“c˜hangingŽ¡�‘>the–Ó°appšGearance“of“do˜cumen�¸ãts.‘ìÙThis“is“done“in“the“b˜o˜dy“of“the“pac�¸ãk‘ÿqÇage,‘óGusingŽ¡�‘>commands–UUsuc�¸ãh“as“Ò\newcommand“²or“Ò\setlength².ަ��‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘eªz²pro•¸ãvides›VÐsev“eral˜new˜commands˜to˜help˜class˜and˜pac“k‘ÿqÇage˜writers;‘«§theseŽ¡�‘>are–UUdescrib�Ged“in“detail“in“Section“4.ަ�‘>There–Tqare“three“things“that“evš¸ãery“class“ le“Ómust‘GI²con˜tain:‘qUthese“are“a“de nitionŽ¡�‘>of–*Ò\normalsize“²and“v‘ÿqÇalues“for“Ò\textwidth“²and“Ò\textheight².‘ðSo“a“minimalŽ¡�‘>došGcumen�¸ãt–UUclass“ le��Ÿü^ÿ±1ŽŽ‘ÑȲlo˜oks“lik�¸ãe“this:ŽŸ�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}ޤ �‘L,Â\ProvidesClass{minimal}[1995/10/30–¹–Standard“LaTeX“minimal“class]Ž¡�‘L,Â\renewcommand{\normalsize}{\fontsize{10pt}{12pt}\selectfont}Ž¡�‘L,Â\setlength{\textwidth}{6.5in}Ž¡�‘L,Â\setlength{\textheight}{8in}ŽŸ�‘>²Ho•¸ãw“ev“er,‘GÜthis–Zclass“ le“will“not“suppšGort“fo˜otnotes,–GÜmarginals,“ oats,“etc.‘·×norޤ �‘>will–it“proš¸ãvide“an˜y“of“the“2-letter“fon˜t“commands“suc˜h“as“Ò\rm²;‘&€th˜us“most“classesŽ¡�‘>will–UUconš¸ãtain“more“than“this“minim˜um!Ž‘>Ÿff‰ff‰ÿvŸ J=����‘ "5Ÿý-:ó¹Aa¨cmr6À1ŽŽŽ‘LÜ¿This–ÕXclass“is“no�ÃŽw“in“the“standard“distribution,“as“ó1ßCÊscmtt8Üminimal.cls¿.ŽŽŸ�’åÿ²13ŽŽŒ‹ªí y� ý£ ?� ýä��‘>É3.5Ž‘\ÀExample:‘a–€lo�`cal“letter“classŽŸ.:�‘>²A‘O¹compan•¸ãy›Oùma“y˜ha“v“e˜its˜o“wn˜letter˜class,‘Ž¢for˜setting˜letters˜in˜the˜compan“yޤ �‘>stš¸ãyle.‘Ü This–Îsection“sho˜ws“a“simple“implemen˜tation“of“suc˜h“a“class,‘ìFalthough“aŽ¡�‘>real–UUclass“w�¸ãould“need“more“structure.ŽŸ¸æ�‘>The–UUclass“b�Gegins“b�¸ãy“announcing“itself“as“Òneplet.cls².Ž©‡&�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}ŽŸ �‘L,Â\ProvidesClass{neplet}[1995/04/01–¹–NonExistent“Press“letter“class]ŽŸ‡&�‘>²Then–¾ this“next“bit“passes“anš¸ãy“options“on“to“the“Òletter“²class,‘ØRwhic˜h“is“loadedŽ¡�‘>with–UUthe“Òa4paper“²option.ަ�‘L,ÂÖ\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}}ޤ �‘L,Â\ProcessOptions\relaxŽ¡�‘L,Â\LoadClass[a4paper]{letter}ŽŸ‡&�‘>²In–>Žorder“to“use“the“companš¸ãy“letter“head,‘Cit“rede nes“the“Òfirstpage“²page“st˜yle:ŽŸ �‘>this–UUis“the“page“st�¸ãyle“that“is“used“on“the“ rst“page“of“letters.ަ�‘L,ÂÖ\renewcommand{\ps@firstpage}{%Ž¡�‘ZY„\renewcommand{\@oddhead}{�ØhÙletterhe•‡ad›N²And–UUthat's“it!ŽŸ *G��‘>É3.6Ž‘\ÀExample:‘a–€newsletter“classŽŸ.:�‘>²A–Vÿsimple“newsletter“can“bšGe“t�¸ãyp˜eset“with“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX,‘Wjusing“a“v‘ÿqÇarian�¸ãt“of“the“ÒarticleŽŸ �‘>²class.‘qÇThe–UUclass“b�Gegins“b�¸ãy“announcing“itself“as“Òsmplnews.cls².ަ�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}Ž¡�‘L,Â\ProvidesClass{smplnews}[1995/04/01–¹–The“Simple“News“newsletter“class]Ž¡¡�‘L,Â\newcommand{\headlinecolor}{\normalcolor}ŽŸ‡&�‘>²It–“$passes“most“sp�Geci ed“options“on“to“the“Òarticle“²class:‘íeapart“from“theޤ �‘>Òonecolumn–z&²option,‘ƒZwhicš¸ãh“is“switc˜hed“o ,›ƒZand“the“Ògreen“²option,˜whic�¸ãh“sets“theŽ¡�‘>headline–UUin“green.ަ�‘L,ÂÖ\DeclareOption{onecolumn}{\OptionNotUsed}ޤ �‘L,Â\DeclareOption{green}{\renewcommand{\headlinecolor}{\color{green}}}Ž¡¡�‘L,Â\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}Ž¡¡�‘L,Â\ProcessOptions\relaxŽŽŸ�’åÿ²14ŽŽŒ‹´» y� ý£ ?� ýä�‘>²It–UUthen“loads“the“class“Òarticle“²with“the“option“Òtwocolumn².Ž©#é�‘L,ÂÖ\LoadClass[twocolumn]{article}ŽŸ#é�‘>²Since–>§the“newsletter“is“to“b�Ge“prinš¸ãted“in“colour,‘C1it“no˜w“loads“the“Òcolor“²pac˜k‘ÿqÇage.ޤ �‘>The–‡¥class“došGes“not“sp˜ecify“a“device“driv�¸ãer“option“since“this“should“b˜e“sp˜eci edŽ¡�‘>b�¸ãy–UUthe“user“of“the“Òsmplnews“²class.ަ�‘L,ÂÖ\RequirePackage{color}ŽŸ#é�‘>²The–ñÇclass“then“rede nes“Ò\maketitle“²to“prošGduce“the“title“in“72pt“Helv�¸ãetica“b˜oldŽ¡�‘>oblique,–UUin“the“appropriate“colour.ަ�‘L,ÂÖ\renewcommand{\maketitle}{%ޤ �‘ZY„\twocolumn[%Ž¡�‘h†F\fontsize{72}{80}\fontfamily{phv}\fontseries{b}%Ž¡�‘h†F\fontshape{sl}\selectfont\headlinecolorŽ¡�‘h†F\@titleŽ¡�‘ZY„]%Ž¡�‘L,Â}ŽŸ#é�‘>²It–UUrede nes“Ò\section“²and“switcš¸ãhes“o “section“n˜um˜b�Gering.ަ�‘L,ÂÖ\renewcommand{\section}{%Ž¡�‘ZY„\@startsectionŽ¡�‘h†F{section}{1}{0pt}{-1.5ex–¹–plus“-1ex“minus“-.2ex}%Ž¡�‘h†F{1ex–¹–plus“.2ex}{\large\sffamily\slshape\headlinecolor}%Ž¡�‘L,Â}Ž¡¡�‘L,Â\setcounter{secnumdepth}{0}ŽŸ#é�‘>²It–UUalso“sets“the“three“essen�¸ãtial“things.ަ�‘L,ÂÖ\renewcommand{\normalsize}{\fontsize{9}{10}\selectfont}Ž¡�‘L,Â\setlength{\textwidth}{17.5cm}Ž¡�‘L,Â\setlength{\textheight}{25cm}ŽŸ#é�‘>²In–Nbpractice,‘OÆa“class“wš¸ãould“need“more“than“this:‘nMit“w˜ould“pro˜vide“commands“forޤ �‘>issue› Ûn•¸ãum“b�Gers,–Zauthors˜of˜articles,“page˜st•¸ãyles˜and˜so˜on;‘%but˜this˜sk“eleton˜giv“esŽ¡�‘>a–UUstart.‘qÇThe“Òltnews“²class“ le“is“not“m•¸ãuc“h–UUmore“complex“than“this“one.ŽŸ%F��‘>Æ4Ž‘VLËCommands–fffor“class“and“pac�ŒÌk‘ÿ™age“writersŽŸƒ§�‘>²This–€•section“describ�Ges“brie y“eacš¸ãh“of“the“new“commands“for“class“and“pac˜k‘ÿqÇageŽ¡�‘>writers.‘6“T‘ÿ*ªo–£¹ nd“out“abšGout“other“asp˜ects“of“the“new“system,‘Ç?y�¸ãou“should“also“readŽ¡�‘>ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X:‘ ÑA‘ÌvDo–ÿ}'cument›Ì„Pr“ep“ar“ation˜System²,‘¢AÓThe˜L�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X˜Comp“anion‘WB²and�‘’ßÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽŽ¡�‘>Ófor‘“çA�¾“uthors².ŽŽŸ�’åÿ15ŽŽŒ‹½! y� ý£ ?� ýä��‘>É4.1Ž‘\ÀIden� ti cationŽŸ5L�‘>²The–º… rst“group“of“commands“discussed“here“are“those“used“to“idenš¸ãtify“y˜our“classޤ �‘>or–UUpac�¸ãk‘ÿqÇage“ le.ŽŸoû���‘$ÿþŸø@‰ffÞ&Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\NeedsTeXFormat–T{�ØhÙformat-name‘® ØiŽ‘;³ŒÖ}“[�ØhÙr•‡ele“ase-date‘® ØiŽ‘6�½Ö]‘ÌÍ¡„ ffŽŽŸ³5‰ffÞ&ŽŽŽŸé˜�‘>²This–L“command“tells“T�‘þU>Ÿ'EŽ‘ãxX“that“this“ le“should“bšGe“pro˜cessed“using“a“format“withŽ¡�‘>name�‘ý¿¸hÓformat-name‘À[¸iŽ‘E�N².‘ kY‘ÿ*ªou–ý¿can“use“the“optional“argumen�¸ãt�“¸hÓr–ÿ}'ele“ase-date‘À[¸iŽ‘DûÀ²toŽ¡�‘>further–zgsp�Gecify“the“earliest“release“date“of“the“format“that“is“needed.‘àüWhenŽ¡�‘>the–{@release“date“of“the“format“is“older“than“the“one“spšGeci ed“a“w�¸ãarning“will“b˜eŽ¡�‘>generated.›WØThe–‰standard�“¸hÓformat-name‘À[¸iŽ‘F®¡²is“ÒLaTeX2e².˜The“date,›if“presen•¸ãt,˜m“ustŽ¡�‘>b�Ge–UUin“the“form“Ûyyyy/mm/dd².Ž©¿ø�‘>Example:ŽŸŸä�‘L,ÂÖ\NeedsTeXFormat{LaTeX2e}[1994/06/01]ŽŸ Ö`���‘$ÿþŸòÀ‰ffåy埳1���ÌͤLÏ„ ff‘ÌΟü³1\ProvidesClass–T{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘?¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\ProvidesPackage–T{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘ÌÍ¡„ ffŽŽŸ³5‰ffåyåŽŽŽŸÅ�‘>²This–”#declares“that“the“currenš¸ãt“ le“con˜tains“the“de nitions“for“the“do�Gcumen˜t“classŽ¡��‘>¸hÓclass-name‘À[¸iŽ‘yeC²or–UUpac�¸ãk‘ÿqÇage�“¸hÓp‘ÿ}'ackage-name‘À[¸iŽ‘H,W².ަ�‘>The–UUoptional�“¸hÓr–ÿ}'ele“ase-info‘¡˜¸iŽ‘<ﺲ,“if“used,“mš¸ãust“con˜tain:Ž©?è����‘M¸ŽŽŽ‘W²the–UUrelease“date“of“this“v�¸ãersion“of“the“ le,“in“the“form“Ûyyyy/mm/dd²;ŽŸ¿ø����‘M¸ŽŽŽ‘W²optionally›L›follo•¸ãw“ed˜b“y˜a˜space˜and˜a˜short˜description,‘NZp�Gossibly˜includingŽ¡�‘Wa–UUvš¸ãersion“n˜um˜b�Ger.ަ�‘>The›dab�Go•¸ãv“e˜syn“tax˜should˜b�Ge˜follo“w“ed˜exactly˜so˜that˜this˜information˜can˜b�GeŽ¡�‘>used–é"b�¸ãy“Ò\LoadClass“²or“Ò\documentclass“²(for“classes)“or“Ò\RequirePackage“²orŽ¡�‘>Ò\usepackage–UU²(for“pac�¸ãk‘ÿqÇages)“to“test“that“the“release“is“not“to�Go“old.Ž©¿ø�‘>The–c whole“of“this�“¸hÓr–ÿ}'ele“ase-info‘¡˜¸iŽ‘B`²information“is“displa•¸ãy“ed›c b“y˜Ò\listfiles˜²andŽ¡�‘>should–UUtherefore“not“bšGe“to˜o“long.ަ�‘>Example:ŽŸŸä�‘L,ÂÖ\ProvidesClass{article}[1994/06/01–¹–v1.0“Standard“LaTeX“class]ŽŸ �‘L,Â\ProvidesPackage{ifthen}[1994/06/01–¹–v1.0“Standard“LaTeX“package]ŽŸoû���‘$ÿþŸø@‰ffÄi‚Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1\ProvidesFile–T{�ØhÙ le-name‘® ØiŽ‘,µDÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘ÌÍ¡„ ffŽŽŸ³5‰ffÄi‚ŽŽŽŸé˜�‘>²This–Ðfis“similar“to“the“t•¸ãw“o–Ðfprevious“commands“except“that“here“the“full“ lename,Ž¡�‘>including–±/the“extension,‘È%mš¸ãust“b�Ge“giv˜en.‘…UIt“is“used“for“declaring“an˜y“ les“otherŽ¡�‘>than–UUmain“class“and“pac�¸ãk‘ÿqÇage“ les.ަ�‘>Example:ŽŽŸ�’åÿ16ŽŽŒ‹Åy y� ý£ ?� ýä�‘L,ÂÖ\ProvidesFile{T1enc.def}[1994/06/01–¹–v1.0“Standard“LaTeX“file]ŽŸ�‘>²Note–’that“the“phrase“ÒStandard‘?ýLaTeX‘’Çm�®9ust‘,not“²b�Ge“used“in“the“iden�¸ãti cationޤ �‘>banner–UUof“an�¸ãy“ le“other“than“those“in“the“standard“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“distribution.ŽŸ!þ6��‘>É4.2Ž‘\ÀLoading‘€ lesŽŸuT�‘>²This–o”group“of“commands“can“b�Ge“used“to“create“yš¸ãour“o˜wn“do�Gcumen˜t“class“orŽ����’¢ÚNew‘TfeatureŽŸ �’¢1995/12/01ŽŽŽŽ¡�‘>²pac•¸ãk‘ÿqÇage›UUb“y˜building˜on˜existing˜classes˜or˜pac“k‘ÿqÇages.ŽŸ"(���‘$ÿþŸòÀ‰ff!¸ Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\RequirePackage–T[�ØhÙoptions-list‘ÙÇØiŽ‘4o=Ö]“{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘ÌÍ¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\RequirePackageWithOptions–T{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘Ë¡„ ffŽŽŸ³5‰ff!¸ ŽŽŽ©Å�‘>²P•¸ãac“k›ÿqÇages–UUand“classes“should“use“these“commands“to“load“other“pac�¸ãk˜ages.ޤ�‘>The–¾ºuse“of“Ò\RequirePackage“²is“the“same“as“the“author“command“Ò\usepackage².Ž¡�‘>Examples:ŽŸ�‘L,ÂÖ\RequirePackage{ifthen}[1994/06/01]ޤ �‘L,Â\RequirePackageWithOptions{graphics}[1995/12/01]ŽŸ"a���‘$ÿþŸòÀ‰ffþIØŸ³1���ÌͤLÏ„ ff‘ÌΟü³1\LoadClass–T[�ØhÙoptions-list‘ÙÇØiŽ‘4o=Ö]“{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘ÌÍ¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\LoadClassWithOptions–T{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“[�ØhÙr•‡ele“ase-info‘‘'ØiŽ‘56ŸÖ]‘Ë¡„ ffŽŽŸ³5‰ffþIØŽŽŽ¦�‘>²These–ucommands“are“for“use“Óonly‘èò²in“class“ les,‘² les;–UUthey“can“b�Ge“used“at“most“once“within“a“class“ le.Ž©�‘>The–à†use“ofÒ\LoadClass“²is“the“same“as“the“use“of“Ò\documentclass“²to“load“a“classŽ¡�‘> le.ަ�‘>Examples:ŽŸ�‘L,ÂÖ\LoadClass{article}[1994/06/01]ޤ �‘L,Â\LoadClassWithOptions{article}[1995/12/01]ŽŸ�‘>²The›•ít•¸ãw“o˜ÒWithOptions˜²v“ersions˜simply˜load˜the˜class˜(or˜pac“k‘ÿqÇage)˜ le˜with˜ex-Ž����’¢ÚNew‘TfeatureŽ¡�’¢1995/12/01ŽŽŽŽ¤ �‘>²actly–-those“options“that“are“b�Geing“used“bš¸ãy“the“curren˜t“ le“(class“or“pac˜k‘ÿqÇage).Ž¡�‘>See–UUb�Gelo�¸ãw,“in“4.5,“for“further“discussion“of“their“use.ŽŸ!þ6��‘>É4.3Ž‘\ÀOption‘€declarationŽŸuT�‘>²The–³follo�¸ãwing“commands“deal“with“the“declaration“and“handling“of“options“toŽ¡�‘>do�Gcumenš¸ãt–UUclasses“and“pac˜k‘ÿqÇages.ŽŽŸ�’åÿ17ŽŽŒ‹Ðà y� ý£ ?� ýä�‘>²There–Íìare“some“commands“designed“esp�Gecially“for“use“within“the�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘"‰­²argu-ޤ �‘>menš¸ãt–UUof“these“commands“(see“b�Gelo˜w).ŽŸoû���‘$ÿþŸø@‰ffºA¸Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\DeclareOption–T{�ØhÙoption-name‘® ØiŽ‘:*¦Ö}“{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}‘ÌÍ¡„ ffŽŽŸ³5‰ffºA¸ŽŽŽŸé˜�‘>²This–’“makš¸ães�“¸hÓoption-name‘À[¸iŽ‘Fx²a“`declared“option'“of“the“class“or“pac˜k‘ÿqÇage“in“whic˜hŽ¡�‘>it–UUis“put.Ž©�‘>The�‘Ùt¸hÓc–ÿ}'o“de‘À[¸iŽ‘  ½²argumen•¸ãt›Ùtcon“tains˜the˜co•Gde˜to˜b“e˜executed˜if˜that˜option˜is˜sp“eci edŽ¡�‘>for–UUthe“class“or“pacš¸ãk‘ÿqÇage;“it“can“con˜tain“an˜y“v‘ÿqÇalid�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘+þT²construct.ަ�‘>Example:ŽŸ�‘L,ÂÖ\DeclareOption{twoside}{\@twosidetrue}ŽŸoû���‘$ÿþŸø@‰ffxH(Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1\DeclareOption*‘T{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}‘ÌÍ¡„ ffŽŽŸ³5‰ffxH(ŽŽŽŸé˜�‘>²This–�´declares“the�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘"=²to“b�Ge“executed“for“evš¸ãery“option“whic˜h“is“sp�Geci ed“for,Ž¡�‘>but–ò¤otherwise“not“explicitly“declared“bš¸ãy‘ÿ*ª,‘athe“class“or“pac˜k‘ÿqÇage;‘Šthis“co�Gde“is“calledŽ¡�‘>the–UU`default“option“co�Gde'“and“it“can“conš¸ãtain“an˜y“v‘ÿqÇalid�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘+þT²construct.ަ�‘>If–áÚa“class“ le“conš¸ãtains“no“Ò\DeclareOption*“²then,‘ûb˜y“default,‘ûall“sp�Geci ed“butŽ¡�‘>undeclared–lLoptions“for“that“class“will“b�Ge“silenš¸ãtly“passed“to“all“pac˜k‘ÿqÇages“(as“willŽ¡�‘>the–UUsp�Geci ed“and“declared“options“for“that“class).ަ�‘>If–“Ëa“pacš¸ãk‘ÿqÇage“ le“con˜tains“no“Ò\DeclareOption*“²then,‘£hb˜y“default,‘£heac˜h“sp�Geci edŽ¡�‘>but–UUundeclared“option“for“that“pac�¸ãk‘ÿqÇage“will“pro�Gduce“an“error.ŽŸ!þ6��‘>É4.4Ž‘\ÀCommands–€within“option“co�`deŽŸuT�‘>²These›x�t•¸ãw“o˜commands˜can˜b�Ge˜used˜only˜within˜the�˜¸hÓc–ÿ}'o“de‘À[¸iŽ‘%ß²argumen“t˜of˜ei-Ž¡�‘>ther–¥ôÒ\DeclareOption“²or“Ò\DeclareOption*².‘c£Other“commands“commonly“usedŽ¡�‘>within–UUthese“argumen�¸ãts“can“b�Ge“found“in“the“next“few“subsections.ޤoû���‘$ÿþŸø@‰ffN&5Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\CurrentOption‘ÌÍ¡„ ffŽŽŸ³5‰ffN&5ŽŽŽ©é˜�‘>²This–UUexpands“to“the“name“of“the“curren�¸ãt“option.Ž¡���‘$ÿþŸø@‰ffN&5Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\OptionNotUsed‘ÌÍ¡„ ffŽŽŸ³5‰ffN&5ŽŽŽ¦�‘>²This–UUcauses“the“currenš¸ãt“option“to“b�Ge“added“to“the“list“of“`un˜used“options'.ŽŸ�‘>Y‘ÿ*ªou–e×can“noš¸ãw“include“hash“marks“(Ò#²)“within“these�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘#¹ƒ²argumen˜ts“withoutŽ����’¢ÚNew‘TfeatureŽŸ �’¢1995/06/01ŽŽŽŽŸ �‘>²spšGecial–UUtreatmen�¸ãt“(formerly‘ÿ*ª,“it“had“b˜een“necessary“to“double“them).ŽŽŸ�’åÿ18ŽŽŒ‹Úã y� ý£ ?� ýä��‘>É4.5Ž‘\ÀMo� ving–€options“aroundŽŸ*Õ�‘>²These›õ[t•¸ãw“o˜commands˜are˜also˜v“ery˜useful˜within˜the�˜¸hÓc–ÿ}'o“de‘À[¸iŽ‘&Ø‹²argumen“t˜ofޤ �‘>Ò\DeclareOption–UU²or“Ò\DeclareOption*²:ŽŸ"OE���‘$ÿþŸòÀ‰ffüRqŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\PassOptionsToPackage–T{�ØhÙoptions-list‘ÙÇØiŽ‘4o=Ö}“{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}‘ÌÍ¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\PassOptionsToClass–T{�ØhÙoptions-list‘ÙÇØiŽ‘4o=Ö}“{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}‘?¡„ ffŽŽŸ³5‰ffüRqŽŽŽŸ�þ�‘>²The–›Ïcommand“Ò\PassOptionsToPackage“²passes“the“options“in�“¸hÓoptions-list‘òظiŽ‘?üá²toŽ¡�‘>pac�¸ãk‘ÿqÇage�‘â¸hÓp‘ÿ}'ackage-name‘À[¸iŽ‘H¹ ².‘ÞThis–âmeans“that“it“adds“the�“¸hÓoption-list‘òظiŽ‘of–[Áoptions“used“bš¸ãy“an˜y“future“Ò\RequirePackage“²or“Ò\usepackage“²command“forŽ¡�‘>pac�¸ãk‘ÿqÇage�‘UU¸hÓp‘ÿ}'ackage-name‘À[¸iŽ‘H,W².ŽŸµ��‘>Example:ޤûD�‘L,ÂÖ\PassOptionsToPackage{foo,bar}{fred}ŽŸ �‘L,Â\RequirePackage[baz]{fred}Ž©ûD�‘>²is–UUthe“same“as:Ž¡�‘L,ÂÖ\RequirePackage[foo,bar,baz]{fred}ަ�‘>²Similarly‘ÿ*ª,‘…<Ò\PassOptionsToClass–{¨²ma�¸ãy“b�Ge“used“in“a“class“ le“to“pass“options“toޤ �‘>another–UUclass“to“b�Ge“loaded“with“Ò\LoadClass².ŽŸµ��‘>The–hwe ects“and“use“of“these“t•¸ãw“o–hwcommands“should“b�Ge“con�¸ãtrasted“with“those“ofŽ����’¢ÚNew‘TdescriptionŽŸ �’¢1995/12/01ŽŽŽŽ¡�‘>²the–UUfolloš¸ãwing“t˜w˜o“(do�Gcumen˜ted“ab�Go˜v˜e,“in“4.2):ŽŸûD�‘L,ÂÖ\LoadClassWithOptionsŽŸ �‘L,Â\RequirePackageWithOptionsަ�‘>²The–zecommandÒ\RequirePackageWithOptions“²is“similar“to“Ò\RequirePackage²,Ž¡�‘>but–½it“alw•¸ãa“ys–½loads“the“required“pac�¸ãk‘ÿqÇage“with“exactly“the“same“option“list“asŽ¡�‘>that–äb�Geing“used“bš¸ãy“the“curren˜t“class“or“pac˜k‘ÿqÇage,‘2rather“than“with“an˜y“optionŽ¡�‘>explicitly–UUsupplied“or“passed“on“b�¸ãy“Ò\PassOptionsToPackage².ŽŸµ��‘>The–ã‘main“purp�Gose“of“Ò\LoadClassWithOptions“²is“to“allo�¸ãw“one“class“to“simplyŽ¡�‘>build–UUon“another,“for“example:ޤûD�‘Gs,Ö\LoadClassWithOptions{article}ަ�‘>²This–UUshould“b�Ge“compared“with“the“slighš¸ãtly“di eren˜t“constructionŽ¡�‘Gs,Ö\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}ޤ �‘Gs,\ProcessOptions\relaxŽ¡�‘Gs,\LoadClass{article}ŽŽŸ�’åÿ²19ŽŽŒ‹å² y� ý£ ?� ýä�‘>²As–µ9used“ab�Go•¸ãv“e,›Í2the–µ9e ects“are“more“or“less“the“same,˜but“the“ rst“is“a“lot“lessޤ �‘>to–UUt�¸ãypšGe;“also“the“Ò\LoadClassWithOptions“²metho˜d“runs“slighš¸ãtly“quic˜k˜er.ŽŸÒ=�‘>If,›2ho•¸ãw“ev“er,˜the–)Mclass“declares“options“of“its“oš¸ãwn“then“the“t˜w˜o“constructions“areŽ¡�‘>di eren�¸ãt.‘qÇCompare,–UUfor“example:Ž©_Ö�‘Gs,Ö\DeclareOption{landscape}{\@landscapetrue}ޤ �‘Gs,\ProcessOptions\relaxŽ¡�‘Gs,\LoadClassWithOptions{article}ŽŸ_Ö�‘>²with:ަ�‘Gs,Ö\DeclareOption{landscape}{\@landscapetrue}Ž¡�‘Gs,\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}Ž¡�‘Gs,\ProcessOptions\relaxŽ¡�‘Gs,\LoadClass{article}ŽŸ_Ö�‘>²In–Ðúthe“ rst“example,‘/ãthe“ó2m#½R cmss10Ýa�¸ãrticle“²class“will“b�Ge“loaded“with“option“Òlandscapeޤ �‘>²precisely–šÍwhen“the“currenš¸ãt“class“is“called“with“this“option.‘B0By“con˜trast,‘¬+in“theŽ¡�‘>second–õexample“it“will“nev�¸ãer“b�Ge“called“with“option“Òlandscape“²as“in“that“caseŽ¡�‘>Ýaš¸ãrticle–.²is“passed“options“only“b˜y“the“default“option“handler,‘‰¥but“this“handler“isŽ¡�‘>not–UUused“for“Òlandscape“²b�Gecause“that“option“is“explicitly“declared.ŽŸ!¼¿��‘>É4.6Ž‘\ÀDela� ying‘€co�`deŽŸG‘�‘>²These–)5 rst“t•¸ãw“o–)5commands“are“also“in�¸ãtended“primarily“for“use“within“the�“¸hÓc–ÿ}'o“de‘À[¸iŽŽ¡�‘>²argumen�¸ãt–UUof“Ò\DeclareOption“²or“Ò\DeclareOption*².ŽŸ"OE���‘$ÿþŸòÀ‰ffxH(Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\AtEndOfClass‘T{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}‘?ù¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\AtEndOfPackage‘T{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}‘ÌÍ¡„ ffŽŽŸ³5‰ffxH(ŽŽŽ©�þ�‘>²These–º‡commands“declare�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘ bã²that“is“sa•¸ãv“ed›º‡a“w“a“y˜in“ternally˜and˜then˜executedŽ¡�‘>after–UUpro�Gcessing“the“whole“of“the“currenš¸ãt“class“or“pac˜k‘ÿqÇage“ le.ŽŸÒ=�‘>RepšGeated–Ause“of“these“commands“is“p˜ermitted:‘IGthe“co˜de“in“the“argumen�¸ãts“isŽ¡�‘>stored–UU(and“later“executed)“in“the“order“of“their“declarations.ŽŸ"–a���‘$ÿþŸòÀ‰ff}¾Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\AtBeginDocument‘T{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}‘ÌÍ¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\AtEndDocument‘T{�ØhÙc•‡o“de‘® ØiŽ‘ßÝÖ}‘?ù¡„ ffŽŽŸ³5‰ff}¾ŽŽŽ¦�‘>²These–˜ûcommands“declare�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘ ˲to“b�Ge“sa•¸ãv“ed›˜ûin“ternally˜and˜executed˜while˜L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXŽ¡�‘>is–UUexecuting“Ò\begin{document}“²or“Ò\end{document}².ŽŸÒ=�‘>The�‘´¸hÓc–ÿ}'o“de‘À[¸iŽ‘ Uÿ²sp�Geci ed–´in“the“argumen�¸ãt“to“Ò\AtBeginDocument“²is“executed“near“theŽ¡�‘>end–ÄŸof“the“Ò\begin{document}“²co�Gde,‘á�Óafter‘Ø,²the“fonš¸ãt“selection“tables“ha˜v˜e“b�Geen“setŽ¡�‘>up.‘/?It–”}is“therefore“a“useful“place“to“put“cošGde“whic�¸ãh“needs“to“b˜e“executed“afterŽŽŸ�’åÿ20ŽŽŒ‹îÔ y� ý£ ?� ýä�‘>²evš¸ãerything–=�has“b�Geen“prepared“for“t˜yp�Gesetting“and“when“the“normal“fon˜t“for“theޤ �‘>do�Gcumenš¸ãt–UUis“the“curren˜t“fon˜t.Ž©�‘>The–�Ò\AtBeginDocument“²hošGok“should“not“b˜e“used“for“co˜de“that“do˜es“anš¸ãy“t˜yp�Ge-Ž����’¢ÚNew‘TdescriptionŽŸ �’¢1995/12/01ŽŽŽŽ¡�‘>²setting–UUsince“the“tš¸ãyp�Geset“result“w˜ould“b�Ge“unpredictable.ަ�‘>The�‘‘Ò¸hÓc–ÿ}'o“de‘À[¸iŽ‘$y²sp�Geci ed–‘Òin“the“argumen�¸ãt“to“Ò\AtEndDocument“²is“executed“at“theŽ¡�‘>bšGeginning–|`of“the“Ò\end{document}“²co˜de,‘Æ"Ób–ÿ}'efor“e‘<»²the–|` nal“page“is“ nished“andŽ¡�‘>b�Gefore– ƒanš¸ãy“lefto˜v˜er“ oating“en˜vironmen˜ts“are“pro�Gcessed.‘YÖIf“some“of“the�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘!Û²isŽ¡�‘>to–ÈFbšGe“executed“after“these“t•¸ãw“o‘ÈFpro˜cesses,‘åy“ou–ÈFshould“include“a“Ò\clearpage“²atŽ¡�‘>the–UUappropriate“p�Goin�¸ãt“in�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘C*².ަ�‘>RepšGeated–Ause“of“these“commands“is“p˜ermitted:‘IGthe“co˜de“in“the“argumen�¸ãts“isŽ¡�‘>stored–UU(and“later“executed)“in“the“order“of“their“declarations.ŽŸoû���‘$ÿþŸø@‰ffr/[Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\AtBeginDvi‘T{�ØhÙsp•‡e“cials‘»�ØiŽ‘%­hÖ}‘ÌÍ¡„ ffŽŽŸ³5‰ffr/[ŽŽŽ����’¢ÚNew‘TfeatureŽŸ �’¢1994/12/01ŽŽŽŽŸé˜�‘>²These–Ûlcommands“sa•¸ãv“e–Ûlin“a“b�Goš¸ãx“register“things“whic˜h“are“written“to“the“Ò.dvi“² leŽ¡�‘>at–UUthe“bšGeginning“of“the“`ship˜out'“of“the“ rst“page“of“the“do˜cumen�¸ãt.ަ�‘>This–URshould“not“b�Ge“used“for“anš¸ãything“that“will“add“an˜y“t˜yp�Geset“material“to“theŽ¡�‘>Ò.dvi‘UU² le.ަ�‘>RepšGeated–UUuse“of“this“command“is“p˜ermitted.ŽŸ!þ6��‘>É4.7Ž‘\ÀOption‘€pro�`cessingŽŸ"åO���‘$ÿþŸø@‰ffRßËŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\ProcessOptions‘ÌÍ¡„ ffŽŽŸ³5‰ffRßËŽŽŽŸé˜�‘>²This–UUcommand“executes“the�“¸hÓc–ÿ}'o“de‘À[¸iŽ‘!˜²for“eac�¸ãh“selected“option.ަ�‘>W‘ÿ*ªe–9žshall“ rst“describ�Ge“hoš¸ãw“Ò\ProcessOptions“²w˜orks“in“a“pac˜k‘ÿqÇage“ le,‘?)and“thenŽ¡�‘>ho�¸ãw–UUthis“di ers“in“a“class“ le.ަ�‘>T‘ÿ*ªo–ÖÈunderstand“in“detail“what“Ò\ProcessOptions“²do�Ges“in“a“pacš¸ãk‘ÿqÇage“ le,‘ðy˜ou“ha˜v˜eŽ¡�‘>to–UUknoš¸ãw“the“di erence“b�Get˜w˜een“Ólo–ÿ}'c“al›]Þ²and‘UUÓglob“al˜²options.ŽŸ����‘M¸ŽŽŽ‘WÇLo�QÇcal‘«options–í¿²are“those“whicš¸ãh“ha˜v˜e“bšGeen“explicitly“sp˜eci ed“for“thisŽ¡�‘Wparticular–UUpacš¸ãk‘ÿqÇage“in“the�“¸hÓoptions‘Ò!¸iŽ‘.²Ì²argumen˜t“of“an˜y“of“these:Ž©�‘mÒ\PassOptionsToPackage{�¸hÓoptions‘Ò!¸iŽ–("Ò}‘ªª\usepackage[�¸hÓoptions‘Ò!¸iŽ“Ò]Ž¡�‘m\RequirePackage[�¸hÓoptions‘Ò!¸iŽ‘("Ò]ަ����‘M¸ŽŽŽ‘WÇGlobal‘u options–›²are“anš¸ãy“other“options“that“are“sp�Geci ed“b˜y“the“author“inŽ¡�‘Wthe�‘UU¸hÓoptions‘Ò!¸iŽ‘.²Ì²argumen�¸ãt–UUof“Ò\documentclass[�¸hÓoptions‘Ò!¸iŽ‘("Ò]².ŽŸ�‘>F‘ÿ*ªor–UUexample,“suppšGose“that“a“do˜cumen�¸ãt“b˜egins:ŽŽŸ�’åÿ21ŽŽŒ‹ùÛ y� ý£ ?� ýä�‘L,ÂÖ\documentclass[german,twocolumn]{article}ޤ �‘L,Â\usepackage{gerhardt}Ž©�‘>²whilst–UUpacš¸ãk‘ÿqÇage“Ògerhardt“²calls“pac˜k‘ÿqÇage“Òfred“²with:ŽŸ�‘L,ÂÖ\PassOptionsToPackage{german,dvips,a4paper}{fred}Ž¡�‘L,Â\RequirePackage[errorshow]{fred}ަ�‘>²then:ޤ����‘M¸ŽŽŽ‘WÒfred²'s–UUlo�Gcal“options“are“Ògerman²,“Òdvips²,“Òa4paper“²and“Òerrorshow²;Ž©����‘M¸ŽŽŽ‘WÒfred²'s–UUonly“global“option“is“Òtwocolumn².Ž¡�‘>When–UUÒ\ProcessOptions“²is“called,“the“follo�¸ãwing“happ�Gen.Ž¡����‘M¸ŽŽŽ‘WÓFirst²,‘L:for–Ióeacš¸ãh“option“so“far“declared“in“Òfred.sty“²b˜y“Ò\DeclareOption²,‘L:itޤ �‘WlošGoks–…nto“see“if“that“option“is“either“a“global“or“a“lo˜cal“option“for“Òfred²:‘ÑùifŽ¡�‘Wit–UUis“then“the“correspšGonding“co˜de“is“executed.ŽŸ�‘WThis–mfis“done“in“the“order“in“whicš¸ãh“these“options“w˜ere“declared“in“Òfred.sty².ަ����‘M¸ŽŽŽ‘WÓThen²,›CÉfor–?feac�¸ãh“remaining“Ólo–ÿ}'c“al‘Gï²option,˜the–?fcommand“Ò\ds@�¸hÓoption‘Äc¸iŽ‘'# ²is“exe-Ž¡�‘Wcuted–‹¤if“it“has“b�Geen“de ned“somewhere“(other“than“b�¸ãy“a“Ò\DeclareOption²);Ž¡�‘Wotherwise,‘6qthe–.¸`default“option“cošGde'“is“executed.‘dèIf“no“default“option“co˜deŽ¡�‘Whas–UUbšGeen“declared“then“an“error“message“is“pro˜duced.ŽŸ�‘WThis–UUis“done“in“the“order“in“whicš¸ãh“these“options“w˜ere“sp�Geci ed.ŽŸ�‘>Throughout–XÐthis“prošGcess,‘‹Rthe“system“ensures“that“the“co˜de“declared“for“an“optionŽ¡�‘>is–UUexecuted“at“most“once.ŽŸ�‘>Returning–UUto“the“example,“if“Òfred.sty“²con�¸ãtains:Ž©�‘L,ÂÖ\DeclareOption{dvips}{\typeout{DVIPS}}ޤ �‘L,Â\DeclareOption{german}{\typeout{GERMAN}}Ž¡�‘L,Â\DeclareOption{french}{\typeout{FRENCH}}Ž¡�‘L,Â\DeclareOption*{\PackageWarning{fred}{Unknown‘¹–`\CurrentOption'}}Ž¡�‘L,Â\ProcessOptions\relaxŽŸ�‘>²then–UUthe“result“of“prošGcessing“this“do˜cumen�¸ãt“will“b˜e:ަ�‘L,ÂÖDVIPSŽ¡�‘L,ÂGERMANŽ¡�‘L,ÂPackage–¹–fred“Warning:“Unknown“`a4paper'.Ž¡�‘L,ÂPackage–¹–fred“Warning:“Unknown“`errorshow'.ŽŽŸ�’åÿ²22ŽŽŒ‹' y� ý£ ?� ýä�‘>²Note–UUthe“follo�¸ãwing:ŽŸ����‘M¸ŽŽŽ‘W²the–ñÇcošGde“for“the“Òdvips“²option“is“executed“b˜efore“that“for“the“Ògermanޤ �‘W²option,‘=:b�Gecause–73that“is“the“order“in“whic�¸ãh“they“are“declared“in“Òfred.sty²;Ž©����‘M¸ŽŽŽ‘W²the–�Šco�Gde“for“the“Ògerman“²option“is“executed“only“once,‘ŸWwhen“the“declaredŽ¡�‘Woptions–UUare“bšGeing“pro˜cessed;ަ����‘M¸ŽŽŽ‘W²the–²Òa4paper“²and“Òerrorshow“²options“prošGduce“the“w�¸ãarning“from“the“co˜deŽ¡�‘Wdeclared–ñbš¸ãy“Ò\DeclareOption*“²(in“the“order“in“whic˜h“they“w˜ere“sp�Geci ed),Ž¡�‘Wwhilst–˜æthe“Òtwocolumn“²option“došGes“not:‘øéthis“is“b˜ecause“Òtwocolumn“²is“aŽ¡�‘Wglobal‘UUoption.ŽŸ�‘>In–Ÿda“class“ le,‘ÃÇÒ\ProcessOptions“²wš¸ãorks“in“the“same“w˜a˜y‘ÿ*ª,‘ÃÇexcept“that:‘ÎÓal‘‚Øl‘§í²optionsŽ¡�‘>are–ËËlo�Gcal;‘ù¤and“the“default“v‘ÿqÇalue“for“Ò\DeclareOption*“²is“Ò\OptionNotUsed“²ratherŽ¡�‘>than–UUan“error.Ž©�‘>Note–áÛthat,›Düb�Gecause“Ò\ProcessOptions“²has“a“Ò*²-form,˜it“is“wise“to“follo�¸ãw“theŽ����’¢ÚNew‘TdescriptionŽŸ �’¢1995/12/01ŽŽŽŽ¡�‘>²non-star–�tform“with“Ò\relax²,›Ýûas“in“the“previous“examples,˜since“this“prev•¸ãen“tsŽ¡�‘>unnecessary–UUlošGok“ahead“and“p˜ossibly“misleading“error“messages“b˜eing“issued.ŽŸoû���‘$ÿþŸø@‰ff…4ûŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\ProcessOptions*‘T\@options‘ÌÍ¡„ ffŽŽŸ³5‰ff…4ûŽŽŽŸé˜�‘>²This–EWis“lik�¸ãe“Ò\ProcessOptions“²but“it“executes“the“options“in“the“order“sp�Geci edŽ¡�‘>in–Iüthe“calling“commands,‘LArather“than“in“the“order“of“declaration“in“the“class“orŽ¡�‘>pacš¸ãk‘ÿqÇage.‘qÇF‘ÿ*ªor–UUa“pac˜k‘ÿqÇage“this“means“that“the“global“options“are“pro�Gcessed“ rst.ަ�‘>The–=±Ò\@options“²command“from“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“has“b�Geen“made“equiv‘ÿqÇalen�¸ãt“to“this“inŽ¡�‘>order–UUto“ease“the“task“of“upšGdating“old“do˜cumenš¸ãt“st˜yles“to�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘+þT²class“ les.ŽŸoû���‘$ÿþŸø@‰ff“׈Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\ExecuteOptions‘T{�ØhÙoptions-list‘ÙÇØiŽ‘4o=Ö}‘ÌÍ¡„ ffŽŽŸ³5‰ff“×ˆŽŽŽŸé˜�‘>²F‘ÿ*ªor–ý­eac�¸ãh“option“in“the�“¸hÓoptions-list‘òظiŽ‘<Âð²,›'Ãin“order,˜this“command“simply“executesŽ¡�‘>the– —command“Ò\ds@�¸hÓoption‘Äc¸iŽ‘&î;²(if“this“command“is“not“de ned,‘Šthen“that“option“isŽ¡�‘>silen�¸ãtly‘UUignored).ަ�‘>It–¾:can“bšGe“used“to“pro�¸ãvide“a“`default“option“list'“just“b˜efore“Ò\ProcessOptions².Ž¡�‘>F‘ÿ*ªor–€9example,‘Šòsupp�Gose“that“in“a“class“ le“yš¸ãou“w˜an˜t“to“set“up“the“default“designŽ¡�‘>to›UUb�Ge:‘qÇt•¸ãw“o-sided˜prin“ting;˜11pt˜fon“ts;˜in˜t“w“o˜columns.‘qÇThen˜it˜could˜sp�Gecify:ŽŸ�‘L,ÂÖ\ExecuteOptions{11pt,twoside,twocolumn}ŽŸ!þ6��‘>É4.8Ž‘\ÀSafe–€ le“commandsŽŸuT�‘>²These–Ó commands“deal“with“ le“input;‘çthey“ensure“that“the“non-existence“of“aŽ¡�‘>requested–UU le“can“b�Ge“handled“in“a“user-friendly“w•¸ãa“y‘ÿ*ª.ŽŽŸ�’åÿ23ŽŽŒ‹ 9 y� ý£ ?� ýä���‘$ÿþŸø@‰ffÍ™WŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\IfFileExists–T{�ØhÙ le-name‘® ØiŽ‘,µDÖ}“{�ØhÙtrue‘® ØiŽ‘ OÖ}“{�ØhÙfalse‘® ØiŽ‘Ñ¥Ö}‘ÌÍ¡„ ffŽŽŸ³5‰ffÍ™WŽŽŽ©é˜�‘>²If–UUthe“ le“exists“then“the“cošGde“sp˜eci ed“in�“¸hÓtrue‘À[¸iŽ‘ ³†²is“executed.ޤ�‘>If–UUthe“ le“došGes“not“exist“then“the“co˜de“sp˜eci ed“in�“¸hÓfalse‘À[¸iŽ‘"ž2²is“executed.Ž¡�‘>This–UUcommand“do�Ges“Ónot‘H-²input“the“ le.ŽŸoû���‘$ÿþŸø@‰ffå9EŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\InputIfFileExists–T{�ØhÙ le-name‘® ØiŽ‘,µDÖ}“{�ØhÙtrue‘® ØiŽ‘ OÖ}“{�ØhÙfalse‘® ØiŽ‘Ñ¥Ö}‘ÌÍ¡„ ffŽŽŸ³5‰ffå9EŽŽŽ¦�‘>²This–ëˆinputs“the“ le�“¸hÓ le-name‘À[¸iŽ‘8the–UUcošGde“sp˜eci ed“in�“¸hÓtrue‘À[¸iŽ‘ ³†²is“executed.Ž¡�‘>If–UUthe“ le“došGes“not“exist“then“the“co˜de“sp˜eci ed“in�“¸hÓfalse‘À[¸iŽ‘"ž2²is“executed.Ž¡�‘>It–UUis“implemen�¸ãted“using“Ò\IfFileExists².ŽŸ!þ6��‘>É4.9Ž‘\ÀRep�`orting–€errors,“etcŽŸuT�‘>²These–mcommands“should“b�Ge“used“bš¸ãy“third“part˜y“classes“and“pac˜k‘ÿqÇages“to“rep�Gortަ�‘>errors,–UUor“to“pro�¸ãvide“information“to“authors.ŽŸ"(���‘$ÿþŸòÀ‰ffß;Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\ClassError–T{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“{�ØhÙerr�‡or-text‘ÙÇØiŽ‘.1Ö}“{�ØhÙhelp-text‘ÙÇØiŽ‘*6Ö}‘?¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\PackageError–T{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“{�ØhÙerr�‡or-text‘ÙÇØiŽ‘.1Ö}“{�ØhÙhelp-text‘ÙÇØiŽ‘*6Ö}‘ÌÍ¡„ ffŽŽŸ³5‰ffß;ŽŽŽŸ�þ�‘>²These–Ž�pro�Gduce“an“error“message.‘oThe�“¸hÓerr‘ÿ}'or-text‘òظiŽ‘9&ž²is“displa•¸ãy“ed–Ž�and“the“Ò?“²errorަ�‘>prompt–UUis“shoš¸ãwn.‘qÇIf“the“user“t˜ypšGes“Òh²,“they“will“b˜e“sho�¸ãwn“the�“¸hÓhelp-text‘òظiŽ‘0åû².Ž¡�‘>Within–® the�“¸hÓerr‘ÿ}'or-text‘òظiŽ‘9eIJand�“¸hÓhelp-text‘òظiŽ‘1>Ʋ:‘#\Ò\protect“²can“b�Ge“used“to“stop“a“com-ަ�‘>mand–ª­from“expanding;›ÕYÒ\MessageBreak“²causes“a“line-break;˜and“Ò\space“²prin�¸ãtsަ�‘>a‘UUspace.Ž¡�‘>Note–É$that“the�“¸hÓerr‘ÿ}'or-text‘òظiŽ‘9›Ì²will“ha•¸ãv“e–É$a“full“stop“added“to“it,‘æso“do“not“put“oneަ�‘>inš¸ãto–UUthe“argumen˜t.Ž¡�‘>F‘ÿ*ªor‘UUexample:ŽŸ�‘L,ÂÖ\newcommand{\foo}{FOO}ޤ �‘L,Â\PackageError{ethel}{%Ž¡�‘ZY„Your–¹–hovercraft“is“full“of“eels,\MessageBreakŽ¡�‘ZY„and–¹–\protect\foo\space“is“\fooŽ¡�‘L,Â}{%Ž¡�‘ZY„Oh–¹–dear!“Something's“gone“wrong.\MessageBreakŽ¡�‘ZY„\space–¹–\space“Try“typing“\space“Ž¡�‘ZY„\space–¹–to“proceed,“ignoring“\protect\foo.Ž¡�‘L,Â}ŽŸ�‘>²pro�Gduces–UUthis“displa�¸ãy:ŽŽŸ�’åÿ24ŽŽŒ‹â y� ý£ ?� ýä�‘L,ÂÖ!–¹–Package“ethel“Error:“Your“hovercraft“is“full“of“eels,ޤ �‘L,Â(ethel)‘K™`and–¹–\foo“is“FOO.Ž¡¡�‘L,ÂSee–¹–the“ethel“package“documentation“for“explanation.ŽŸ�‘>²If–UUthe“user“t�¸ãypšGes“Òh²,“this“will“b˜e“sho�¸ãwn:ŽŸ�‘L,ÂÖOh–¹–dear!“Something's“gone“wrong.Ž¡�‘UŸîTry›¹–typing– s,“to˜proceed,˜ignoring˜\foo.ŽŸ8a���‘$ÿþŸÜÀ‰ffꟳ1���ÌͤLÏ„ ff‘ÌΟü³1\ClassWarning–T{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“{�ØhÙwarning-text‘ÙÇØiŽ‘:;¶Ö}‘7gá„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\PackageWarning–T{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“{�ØhÙwarning-text‘ÙÇØiŽ‘:;¶Ö}‘"&Q¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\ClassWarningNoLine–T{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“{�ØhÙwarning-text‘ÙÇØiŽ‘:;¶Ö}‘?¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\PackageWarningNoLine–T{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“{�ØhÙwarning-text‘ÙÇØiŽ‘:;¶Ö}‘ÌÍ¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\ClassInfo–T{�ØhÙclass-name‘® ØiŽ‘3ÊŸÖ}“{�ØhÙinfo-text‘ÙÇØiŽ‘)–RÖ}‘V9é¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\PackageInfo–T{�ØhÙp�‡ackage-name‘® ØiŽ‘?˜åÖ}“{�ØhÙinfo-text‘ÙÇØiŽ‘)–RÖ}‘@øw¡„ ffŽŽŸ³5‰ffêŽŽŽŸ0Å�‘>²The–four“ÒWarning“²commands“are“similar“to“the“error“commands,‘FPexcept“thatޤ �‘>they–UUpro�Gduce“only“a“w�¸ãarning“on“the“screen,“with“no“error“prompt.Ž©�‘>The–• rst“t•¸ãw“o,›¤ùÒWarning‘• ²v“ersions,˜also›• sho“w˜the˜line˜n“um“b�Ger˜where˜the˜w“arningŽ¡�‘>o�Gccurred,–UUwhilst“the“second“t•¸ãw“o,–UUÒWarningNoLine“²v�¸ãersions,“do“not.ަ�‘>The›_ft•¸ãw“o˜ÒInfo˜²commands˜are˜similar˜except˜that˜they˜log˜the˜information˜onlyŽ¡�‘>in–?the“transcript“ le,‘‰¹including“the“line“n•¸ãum“b�Ger.‘ï…There–?are“no“ÒNoLine“²v�¸ãersionsŽ¡�‘>of–UUthese“t•¸ãw“o.ަ�‘>Within–³Ýthe�“¸hÓwarning-text‘òظiŽ‘HyŲand�“¸hÓinfo-text‘òظiŽ‘1Á¬²:‘.ØÒ\protect“²can“b�Ge“used“to“stop“aŽ¡�‘>command–ê­from“expanding;›µZÒ\MessageBreak“²causes“a“line-break;˜and“Ò\spaceŽ¡�‘>²prin�¸ãts–oba“space.‘%!Also,‘�`these“should“not“end“with“a“full“stop“as“one“is“automaticallyŽ¡�‘>added.ŽŸ!þ6��‘>É4.10Ž‘c€De ning‘€commandsŽŸuT��‘>²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘gˆp²pro�¸ãvides–4Æsome“extra“metho�Gds“of“(re)de ning“commands“that“are“in-Ž¡�‘>tended–UUfor“use“in“class“and“pac�¸ãk‘ÿqÇage“ les.ަ�‘>The–ÿeÒ*²-forms“of“these“commands“should“b�Ge“used“to“de ne“commands“that“areŽ����’¢ÚNew‘TfeatureŽŸ �’¢1994/12/01ŽŽŽŽ¡�‘>²not,›}Éin–u²T�‘þU>Ÿ'EŽ‘ãxX“terms,˜long.‘ÒÞThis“can“b�Ge“useful“for“error-trapping“with“commandsŽ¡�‘>whose–UUargumenš¸ãts“are“not“in˜tended“to“con˜tain“whole“paragraphs“of“text.ŽŸ"(���‘$ÿþŸòÀ‰ff)9ŸŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\DeclareRobustCommand–T{�ØhÙcmd‘ìpØiŽ‘¥`Ö}“[�ØhÙnum‘¶9ØiŽ‘�bÖ]“[�ØhÙdefault‘ÙÇØiŽ‘"öMÖ]“{�ØhÙde nition‘¶9ØiŽ‘-ë«Ö}‘ †c¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\DeclareRobustCommand*–T{�ØhÙcmd‘ìpØiŽ‘¥`Ö}“[�ØhÙnum‘¶9ØiŽ‘�bÖ]“[�ØhÙdefault‘ÙÇØiŽ‘"öMÖ]“{�ØhÙde nition‘¶9ØiŽ‘-ë«Ö}‘ÌÍ¡„ ffŽŽŸ³5‰ff)9ŸŽŽŽŸÅ�‘>²This–½jcommand“takš¸ães“the“same“argumen˜ts“as“Ò\newcommand“²but“it“declares“aŽ¡�‘>robust–v‡command,‘£ev�¸ãen“if“some“co�Gde“within“the�¸hÓde nition‘Äc¸iŽ‘4&ò²is“fragile.‘'ƒY‘ÿ*ªou“can“useŽ¡�‘>this–fNcommand“to“de ne“new“robust“commands,‘–or“to“rede ne“existing“commandsŽŽŸ�’åÿ25ŽŽŒ‹# y� ý£ ?� ýä�‘>²and–&makš¸ãe“them“robust.‘ãüA‘%Ûlog“is“put“in˜to“the“transcript“ le“if“a“command“isŽ© �‘>rede ned.ŽŸ�‘>F‘ÿ*ªor–UUexample,“if“Ò\seq“²is“de ned“as“follo�¸ãws:ŽŸ�‘L,ÂÖ\DeclareRobustCommand{\seq}[2][n]{%ޤ �‘UŸî\ifmmodeŽ¡�‘_#1_{1}\ldots#1_{#2}%Ž¡�‘UŸî\elseŽ¡�‘_\PackageWarning{fred}{You–¹–can't“use“\protect\seq\space“in“text}%Ž¡�‘UŸî\fiŽ¡�‘L,Â}ޤ�‘>²Then–š9the“command“Ò\seq“²can“b�Ge“used“in“moš¸ãving“argumen˜ts,‘+qev˜en“thoughަ�‘>Ò\ifmmode–UU²cannot,“for“example:ŽŸ�‘L,ÂÖ\section{Stuff–¹–about“sequences“$\seq{x}$}Ž¡�‘>²Note–Amalso“that“there“is“no“need“to“put“a“Ò\relax“²b�Gefore“the“Ò\ifmmode“²at“theަ�‘>bšGeginning–d°of“the“de nition;‘l]this“is“b˜ecause“the“protection“givš¸ãen“b˜y“this“Ò\relaxަ�‘>²against–UUexpansion“at“the“wrong“time“will“b�Ge“proš¸ãvided“in˜ternally‘ÿ*ª.ŽŸ"(���‘$ÿþŸòÀ‰ffl1���ÌͤLÏ„ ff‘ÌΟü³1Ö\CheckCommand–T{�ØhÙcmd‘ìpØiŽ‘¥`Ö}“[�ØhÙnum‘¶9ØiŽ‘�bÖ]“[�ØhÙdefault‘ÙÇØiŽ‘"öMÖ]“{�ØhÙde nition‘¶9ØiŽ‘-ë«Ö}‘ †c¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\CheckCommand*–T{�ØhÙcmd‘ìpØiŽ‘¥`Ö}“[�ØhÙnum‘¶9ØiŽ‘�bÖ]“[�ØhÙdefault‘ÙÇØiŽ‘"öMÖ]“{�ØhÙde nition‘¶9ØiŽ‘-ë«Ö}‘ÌÍ¡„ ffŽŽŸ³5‰fflïŽŽŽŸ�þ�‘>²This–Ftakš¸ães“the“same“argumen˜ts“as“Ò\newcommand“²but,‘Irather“than“de ne�“¸hÓcmd‘‰¸iŽ‘ù=²,ަ�‘>it–¾Êjust“c•¸ãhec“ks–¾Êthat“the“currenš¸ãt“de nition“of�“¸hÓcmd‘‰¸iŽ‘&0²is“exactly“as“giv˜en“b˜yަ��‘>¸hÓde nition‘Äc¸iŽ‘o°k².‘qÇAn–UUerror“is“raised“if“these“de nitions“di er.ޤ�‘>This–¹lcommand“is“useful“for“c•¸ãhec“king–¹lthe“state“of“the“system“b�Gefore“yš¸ãour“pac˜k‘ÿqÇageަ�‘>starts–ŒÂaltering“the“de nitions“of“commands.‘.ìIt“alloš¸ãws“y˜ou“to“c˜hec˜k,‘´àin“particular,ަ�‘>that–UUno“other“pac�¸ãk‘ÿqÇage“has“rede ned“the“same“command.ŽŸ!þ6��‘>É4.11Ž‘c€Mo• ving‘€argumen“tsŽŸuT�‘>²The–n4setting“of“protect“whilst“pro�Gcessing“(i.e.“moš¸ãving)“mo˜ving“argumen˜ts“hasŽ����’¢ÚNew‘TdescriptionŽŸ �’¢1994/12/01ŽŽŽŽ¦�‘>²bšGeen–méreimplemen�¸ãted,‘œ2as“has“the“metho˜d“of“writing“information“from“the“Ò.aux“² leަ�‘>to–²other“ les“suc�¸ãh“as“the“Ò.toc“² le.‘;_Details“can“b�Ge“found“in“the“ le“Òltdefns.dtx².Ž¡�‘>W‘ÿ*ªe–UUhop�Ge“that“these“cš¸ãhanges“will“not“a ect“man˜y“pac˜k‘ÿqÇages.ŽŽŸ�’åÿ26ŽŽŒ‹0( y� ý£ ?� ýä��‘>Æ5Ž‘VLËMiscellaneous–ffcommands,“etcŽŸU’��‘>É5.1Ž‘\ÀLa• y“out‘€parametersŽŸ"kµ���‘$ÿþŸòÀ‰ffD³ Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\paperheight‘ÌÍ¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\paperwidth‘ †c¡„ ffŽŽŸ³5‰ffD³ ŽŽŽ©Å�‘>²These›ÕSt•¸ãw“o˜parameters˜are˜usually˜set˜b“y˜the˜class˜to˜b•Ge˜the˜size˜of˜the˜pap“er˜b“e-ޤ �‘>ing–v0used.‘'fThis“should“bšGe“actual“pap˜er“size,‘¢Ñunlik�¸ãe“Ò\textwidth“²and“Ò\textheightŽ¡�‘>²whic�¸ãh–UUare“the“size“of“the“main“text“b•Go“dy–UUwithin“the“margins.ŽŸ!.��‘>É5.2Ž‘\ÀCase‘€c� hangingŽŸ(á ���‘$ÿþŸòÀ‰ffqahŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\MakeUppercase‘T{�ØhÙtext‘ÙÇØiŽ‘²³Ö}‘ÌÍ¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\MakeLowercase‘T{�ØhÙtext‘ÙÇØiŽ‘²³Ö}‘ÌÍ¡„ ffŽŽŸ³5‰ffqahŽŽŽ¦�‘>²T�‘þU>Ÿ'EŽ‘ãxX–ÇØproš¸ãvides“t˜w˜o“primitiv˜es“Ò\uppercase“²and“Ò\lowercase“²for“c˜hanging“the“caseŽ����’¢ÚNew‘TfeatureŽŸ �’¢1995/06/01ŽŽŽŽ¡�‘>²of–Çštext.‘È•These“are“sometimes“used“in“do�Gcumen�¸ãt“classes,‘$*for“example“to“setŽ¡�‘>information–UUin“running“heads“in“all“capitals.Ž©nw�‘>Unfortunately‘ÿ*ª,‘X}these–$¨T�‘þU>Ÿ'EŽ‘ãxX“primitivš¸ães“do“not“c˜hange“the“case“of“c˜haracters“ac-Ž¡�‘>cessed–Íýbš¸ãy“commands“lik˜e“Ò\ae“²or“Ò\aa².‘DªT‘ÿ*ªo“o˜v˜ercome“this“problem,‘éL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“pro˜videsŽ¡�‘>t•¸ãw“o–UUnew“commands“Ò\MakeUppercase“²and“Ò\MakeLowercase“²to“do“this.ަ�‘>F‘ÿ*ªor‘UUexample:ޤ*50���Ÿí¾c��’€ÿøÒ\uppercase{aBcD\ae\AA\ss\OE}Ž�’ÿ¥²ABCD��Ÿþ;aŽŽAŽŽ¤ P��’€ÿøÒ\lowercase{aBcD\ae\AA\ss\OE}Ž�’ÿ¥²ab�Gcd��Ÿþ;aŽŽAŽŽ¡��‘lÒ\MakeUppercase{aBcD\ae\AA\ss\OE}Ž�’ÿ¥²ABCD��Ÿþ;aŽŽASSŽŽŸ ��‘lÒ\MakeLowercase{aBcD\ae\AA\ss\OE}Ž�’ÿ¥²ab�Gcd‘þÀ‘ù¿ÿaŽŽŽŽŽ¡�‘>The–õàcommands“Ò\MakeUppercase“²and“Ò\MakeLowercase“²themselv�¸ães“are“robust,ޤ �‘>but–UUthey“ha•¸ãv“e›UUmo“ving˜argumen“ts.ަ�‘>The–Aîcommands“use“the“T�‘þU>Ÿ'EŽ‘ãxX“primitiv�¸ães“Ò\uppercase“²and“Ò\lowercase²,‘}and“soŽ¡�‘>ha•¸ãv“e–ƒ;a“n•¸ãum“bšGer–ƒ;of“unexp˜ected“`features'.‘ûzIn“particular,‘޵they“c�¸ãhange“the“case“ofŽ¡�‘>evš¸ãerything–ï¡(except“c˜haracters“in“the“names“of“con˜trol-sequences)“in“their“textŽ¡�‘>argumenš¸ãt:‘qÇthis–UUincludes“mathematics,“en˜vironmen˜t“names,“and“lab�Gel“names.ަ�‘>F‘ÿ*ªor‘UUexample:ޤ¡�‘L,ÂÖ\MakeUppercase{$x+y$–¹–in“\ref{foo}}ŽŸ¡�‘>²pro�Gduces–UUµX‘²+‘8àµY‘Ž9²and“the“w�¸ãarning:Ž¡�‘L,ÂÖLaTeX–¹–Warning:“Reference“`FOO'“on“page“...“undefined“on“...ŽŽŸ�’åÿ²27ŽŽŒ‹9X y� ý£ ?� ýä�‘>²In–¹ the“long“run,‘Ò³wš¸ãe“w˜ould“lik˜e“to“use“all-caps“fon˜ts“rather“than“an˜y“commandޤ �‘>likš¸ãe–%îÒ\MakeUppercase“²but“this“is“not“p�Gossible“at“the“momen˜t“b�Gecause“suc˜h“fon˜tsŽ¡�‘>do–UUnot“exist.ŽŸ�‘>In–¼Zorder“that“upp�Ger/lo•¸ãw“er-casing–¼Zwill“wš¸ãork“reasonably“w˜ell,‘and“in“order“toŽ����’¢ÚNew‘TdescriptionŽŸ �’¢1995/12/01ŽŽŽŽ¡�‘>²pro•¸ãvide›ÝRan“y˜correct˜h“yphenation,�‘ÿQL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘-0MÓmust‘Ð*²use,‘ÿQthroughout˜a˜do�Gcumen“t,Ž¡�‘>the–|osame“ xed“table“for“cš¸ãhanging“case.‘çThe“table“used“is“designed“for“the“fon˜tŽ¡�‘>enco�Gding–´ÄÒT1²;‘êJthis“wš¸ãorks“w˜ell“with“the“standard“T�‘þU>Ÿ'EŽ‘ãxX“fon˜ts“for“all“Latin“alphab�GetsŽ¡�‘>but–UUwill“cause“problems“when“using“other“alphab�Gets.Ž©!þ6��‘>É5.3Ž‘\ÀThe–€`opš`enan� y'“option“in“the“`b˜o˜ok'“classŽŸuT�‘>²The–w²Òopenany“²option“alloš¸ãws“c˜hapter“and“similar“opšGenings“to“o˜ccur“on“left“handŽ����’¢ÚNew‘TdescriptionŽŸ �’¢1996/06/01ŽŽŽŽ¡�‘>²pages.›UœPreviously–Õthis“option“a ected“only“Ò\chapter“²and“Ò\backmatter².˜It“no�¸ãwŽ¡�‘>also–UUa ects“Ò\part²,“Ò\frontmatter“²and“Ò\mainmatter².ަ��‘>É5.4Ž‘\ÀBetter–€user-de ned“math“displaš y“en˜vironmen˜tsŽŸoû���‘$ÿþŸø@‰ffo9OŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\ignorespacesafterend‘ÌÍ¡„ ffŽŽŸ³5‰ffo9OŽŽŽŸé˜�‘>²Supp�Gose–´"that“yš¸ãou“w˜an˜t“to“de ne“an“en˜vironmen˜t“for“displa˜ying“text“that“isŽ����’¢ÚNew‘TfeatureŽŸ �’¢1996/12/01ŽŽŽŽ¡�‘>²n•¸ãum“b�Gered–UUas“an“equation.‘qÇA“straigh•¸ãtforw“ard›UUw“a“y˜to˜do˜this˜is˜as˜follo“ws:Ž©�‘Gs,Ö\newenvironment{texteqn}ޤ �‘PæX{\begin{equation}Ž¡�‘_\begin{minipage}{0.9\linewidth}}Ž¡�‘ZY„{\end{minipage}Ž¡�‘UŸî\end{equation}}ŽŸ�‘>²Ho•¸ãw“ev“er,‘¹if› ’y“ou˜ha“v“e˜tried˜this˜then˜y“ou˜will˜probably˜ha“v“e˜noticed˜that˜it˜do�Gesޤ �‘>not–Y²w�¸ãork“pšGerfectly“when“used“in“the“middle“of“a“paragraph“b˜ecause“an“in•¸ãter-w“ordŽ¡�‘>space–UUappšGears“at“the“b˜eginning“of“the“ rst“line“after“the“en•¸ãvironmen“t.ŽŸ�‘>There–èis“noš¸ãw“an“extra“command“(with“a“v˜ery“long“name)“a˜v‘ÿqÇailable“that“y˜ou“canŽ¡�‘>use–UUto“a•¸ãv“oid–UUthis“problem;“it“should“b�Ge“inserted“as“sho�¸ãwn“here:ަ�‘Gs,Ö\newenvironment{texteqn}ޤ �‘PæX{\begin{equation}Ž¡�‘_\begin{minipage}{0.9\linewidth}}Ž¡�‘ZY„{\end{minipage}Ž¡�‘UŸî\end{equation}Ž¡�‘UŸî\ignorespacesafterend}ŽŽŸ�’åÿ²28ŽŽŒ‹Ck y� ý£ ?� ýä��‘>Æ6Ž‘VLËUpgrading–ffL�Ÿüû+�‘ú+ÇAŽŽ�n¹ÆT�‘ýL¨Ÿ32EŽ‘èdX“2.09“classes“and“pac�ŒÌk‘ÿ™agesŽŸç�‘>²This–-section“describ�Ges“the“cš¸ãhanges“y˜ou“ma˜y“need“to“mak˜e“when“y˜ou“upgrade“anޤ �‘>existing–�L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“stš¸ãyle“to“a“pac˜k‘ÿqÇage“or“class“but“w˜e“shall“start“in“optimistic“mo�Gde.Ž©�‘>Manš¸ãy–‹ existing“st˜yle“ les“will“run“with�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘.iê²without“an˜y“mo�Gdi cation“toŽ¡�‘>the–�ý le“itself.‘!ÀWhen“ev�¸ãerything“is“running“OK,“please“put“a“note“in“the“newlyŽ¡�‘>created–Ü}pac�¸ãk‘ÿqÇage“or“class“ le“to“record“that“it“runs“with“the“new“standard“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX;Ž¡�‘>then–UUdistribute“it“to“y�¸ãour“users.ŽŸ!þ6��‘>É6.1Ž‘\ÀT‘þàry–€it“ rst!ŽŸuT�‘>²The–>ë rst“thing“yš¸ãou“should“do“is“to“test“y˜our“st˜yle“in“`compatibilit˜y“mo�Gde'.‘jOTheŽ¡�‘>only–6 cš¸ãhange“y˜ou“need“to“mak˜e“in“order“to“do“this“is,–nSp�Gossibly‘ÿ*ª,“to–6 c˜hange“theŽ¡�‘>extension–¤of“the“ le“to“Ò.cls²:‘yš¸ãou“should“mak˜e“this“c˜hange“only“if“y˜our“ leŽ¡�‘>wš¸ãas–{öused“as“a“main“do�Gcumen˜t“st˜yle.‘å«No˜w,‘Åžwithout“an˜y“other“mo�Gdi cations,Ž¡�‘>run�‘unL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘,>†²on–una“do�Gcumenš¸ãt“that“uses“y˜our“ le.‘ÒThis“assumes“that“y˜ou“ha˜v˜e“aŽ¡�‘>suitable–B[collection“of“ les“that“tests“all“the“functionalitš¸ãy“pro˜vided“b˜y“y˜our“st˜yleŽ¡�‘> le.‘qÇ(If–UUyš¸ãou“ha˜v˜en't,“no˜w“is“the“time“to“mak˜e“one!)ަ�‘>Y‘ÿ*ªou–ÿ’noš¸ãw“need“to“c˜hange“the“test“do�Gcumen˜t“ les“so“that“they“are�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽŽ¡�‘>²do�Gcumenš¸ãts:‘ksee�‘HÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘,! Ófor‘‡¥A�¾“uthors‘#²for–Hdetails“of“ho˜w“to“do“this“and“then“tryŽ¡�‘>them–! again.‘Õ'Y‘ÿ*ªou“ha•¸ãv“e›! no“w˜tried˜the˜test˜do�Gcumen“ts˜in˜b�Goth�˜L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘-•ê²nativ“eŽ¡�‘>mošGde–UUand“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“compatibilit�¸ãy“mo˜de.ŽŸ!þ6��‘>É6.2Ž‘\ÀT‘þàroublesho�`otingŽŸuT�‘>²If–UUyš¸ãour“ le“do�Ges“not“w˜ork“with�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘(¨ÿ²,“there“are“t˜w˜o“lik˜ely“reasons.Ž©����‘M¸ŽŽŽ‘W²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–:gnoš¸ãw“has“a“robust,‘rþw˜ell-de ned“designer's“in˜terface“for“selecting“fon˜ts,Ž¡�‘Wwhicš¸ãh–UUis“v˜ery“di eren˜t“from“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“in˜ternals.ŽŸ����‘M¸ŽŽŽ‘W²Y‘ÿ*ªour–y—stš¸ãyle“ le“ma˜y“ha˜v˜e“used“some“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“in˜ternal“commands“whic˜hŽ¡�‘Wha•¸ãv“e›UUc“hanged,˜or˜whic“h˜ha“v“e˜b�Geen˜remo“v“ed.ަ�‘>When–aõyš¸ãou“are“debugging“y˜our“ le,‘¥y˜ou“will“probably“need“more“informationŽ¡�‘>than–Ikis“normally“displa•¸ãy“ed›Ikb“y�˜L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘*�².‘ NThis˜is˜ac“hiev“ed˜b“y˜resetting˜theŽ¡�‘>counš¸ãter–íèÒerrorcontextlines“²from“its“default“v‘ÿqÇalue“of“¸²1“to“a“m˜uc˜h“higherŽ¡�‘>v‘ÿqÇalue,–UUe.g.“999.ŽŸ!þ6��‘>É6.3Ž‘\ÀF‘þàon� t‘€commandsŽŸuT�‘>²Some–5êfonš¸ãt“and“size“commands“are“no˜w“de ned“b˜y“the“do�Gcumen˜t“class“ratherŽ¡�‘>than–9+bš¸ãy“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“k˜ernel.‘hdIf“y˜ou“are“upgrading“a“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“do�Gcumen˜t“st˜yle“toŽŽŸ�’åÿ29ŽŽŒ‹M8 y� ý£ ?� ýä�‘>²a–Ôclass“that“do�Ges“not“load“one“of“the“standard“classes,‘óÂthen“y�¸ãou“will“probablyޤ �‘>need–UUto“add“de nitions“for“these“commands.ŽŸoû���‘$ÿþŸø@‰ff�¹GŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\rm–T\sf“\tt“\bf“\it“\sl“\sc‘ÌÍ¡„ ffŽŽŸ³5‰ff�¹GŽŽŽŸé˜�‘>²None–Æšof“these“short-form“fon�¸ãt“selection“commands“are“de ned“in“the�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽŽ¡�‘>²kš¸ãernel.‘qÇThey–UUare“de ned“b˜y“all“the“standard“class“ les.Ž©{Ê�‘>If–޶yš¸ãou“w˜an˜t“to“de ne“them“in“y˜our“class“ le,‘�there“are“sev˜eral“reasonable“w˜a˜ysŽ¡�‘>to–UUdo“this.ަ�‘>One–UUp�Gossible“de nition“is:ŽŸ±B�‘L,ÂÖ\newcommand{\rm}{\rmfamily}ޤ �‘L,Â...Ž¡�‘L,Â\newcommand{\sc}{\scshape}ŽŸ±B�‘>²This–Ã^wš¸ãould“mak˜e“the“fon˜t“commands“orthogonal;‘úcfor“example“Ò{\bf\it‘?ýtext}ޤ �‘>²w�¸ãould–WÒprošGduce“b˜old“italic,‘Xqthš¸ãus:‘vÁó5F C– cmbxti10àtext‘ö².‘y>It“will“also“mak˜e“them“pro�Gduce“an“errorŽ¡�‘>if–UUused“in“math“mo�Gde.ަ�‘>Another–UUp�Gossible“de nition“is:ŽŸ±B�‘L,ÂÖ\DeclareOldFontCommand{\rm}{\rmfamily}{\mathrm}ޤ �‘L,Â...Ž¡�‘L,Â\DeclareOldFontCommand{\sc}{\scshape}{\mathsc}ŽŸ±B�‘>²This–¤úwill“makš¸ãe“Ò\rm“²act“lik˜e“Ò\rmfamily“²in“text“mošGde“(see“ab˜o•¸ãv“e)–¤úand“it“will“mak�¸ãeޤ �‘>Ò\rm–UU²select“the“Ò\mathrm“²math“alphabšGet“in“math“mo˜de.ަ�‘>Th�¸ãus›UUÒ${\rm–?ýmath}“=“X“+“1$˜²will˜pro�Gduce˜`�mathŽ‘Ž9=‘ǵX‘²+‘8à1'.ަ�‘>If–Æ—yš¸ãou“do“not“w˜an˜t“fon˜t“selection“to“b�Ge“orthogonal“then“y˜ou“can“follo˜w“theŽ¡�‘>standard–UUclasses“and“de ne:ŽŸ±B�‘L,ÂÖ\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}ޤ �‘L,Â...Ž¡�‘L,Â\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\mathsc}ŽŸ±B�‘>²This–ßÑmeans,›Bofor“example,˜that“Ò{\bf\it‘?ýtext}“²will“pro�Gduce“medium“w•¸ãeigh“tŽ© �‘>(rather–UUthan“b�Gold)“italic,“th�¸ãus:‘qÇÓtext².ŽŸ"–a���‘$ÿþŸòÀ‰ffD³ Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\normalsize‘ †c¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\@normalsize‘ÌÍ¡„ ffŽŽŸ³5‰ffD³ ŽŽŽŸÅ�‘>²The–m–command“Ò\@normalsize“²is“retained“for“compatibilitš¸ãy“with“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“pac˜k-ަ�‘>ages–5whicš¸ãh“ma˜y“ha˜v˜e“used“its“v‘ÿqÇalue;‘?×but“rede ning“it“in“a“class“ le“will“ha˜v˜e“noަ�‘>e ect–UUsince“it“is“alw•¸ãa“ys–UUreset“to“ha•¸ãv“e–UUthe“same“meaning“as“Ò\normalsize².ŽŸ{Ê�‘>This–Ò\@normalsize²;–UUfor“example“(a“rather“incomplete“one):ŽŽŸ�’åÿ30ŽŽŒ‹Z˜ y� ý£ ?� ýä�‘L,ÂÖ\renewcommand{\normalsize}{\fontsize{10}{12}\selectfont}ŽŸ�‘>²Note–UUthat“Ò\normalsize“²is“de ned“bš¸ãy“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“k˜ernel“to“b�Ge“an“error“message.ŽŸ"=}���‘$ÿþŸòÀ‰ff¢ÿ‘Ÿ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\tiny–T\footnotesize“\small“\large‘ÌÍ¡„ ffŽŽŸ ���ÌͤLÏ„ ff‘ÌΟü³1\Large–T\LARGE“\huge“\Huge‘+™}¡„ ffŽŽŸ³5‰ff¢ÿ‘ŽŽŽŸÅ�‘>²None–^^of“these“other“`standard'“size-cš¸ãhanging“commands“are“de ned“in“the“k˜ernel:ޤ �‘>eacš¸ãh–Êyneeds“to“b�Ge“de ned“in“a“class“ le“if“y˜ou“need“it.‘Ñ2They“are“all“de ned“b˜yŽ¡�‘>the–UUstandard“classes.Ž©�‘>This–*´means“y�¸ãou“should“use“Ò\renewcommand“²for“Ò\normalsize“²and“Ò\newcommandŽ¡�‘>²for–UUthe“other“size-c�¸ãhanging“commands.ŽŸ!þ6��‘>É6.4Ž‘\ÀObsolete‘€commandsŽŸuT�‘>²Some– ‹pacš¸ãk‘ÿqÇages“will“not“w˜ork“with�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘(`5²,‘normally“b�Gecause“they“relied“on“anŽ¡�‘>inš¸ãternal–¥L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“command“whic˜h“w˜as“nev˜er“supp�Gorted“and“has“no˜w“c˜hanged,‘¸õorŽ¡�‘>b�Geen‘UUremo•¸ãv“ed.ަ�‘>In–ÐÂmanš¸ãy“cases“there“will“no˜w“b�Ge“a“robust,‘ïžhigh-lev˜el“means“of“ac˜hieving“whatŽ¡�‘>previously–|µrequired“lo•¸ãw-lev“el–|µcommands.‘çæPlease“consult“Section“4“to“see“if“y�¸ãouŽ¡�‘>can–UUnoš¸ãw“use“the�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘+þT²class“and“pac˜k‘ÿqÇage“writers“commands.ަ�‘>Also,–³of›|Ôcourse,“if˜y•¸ãour˜pac“k‘ÿqÇage˜or˜class˜rede ned˜an“y˜of˜the˜k“ernel˜com-Ž¡�‘>mands–>(i.e.“those“de ned“in“the“ les“Òlatex.tex²,–€8Òslitex.tex²,“Òlfonts.tex²,Ž¡�‘>Òsfonts.tex²)–©then“yš¸ãou“will“need“to“c˜hec˜k“it“v˜ery“carefully“against“the“new“k˜ernelŽ¡�‘>in–òÜcase“the“implemenš¸ãtation“has“c˜hanged“or“the“command“no“longer“exists“in“theŽ¡�‘>L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX2e‘UUk�¸ãernel.ަ�‘>T‘ÿ*ªo�Go–øLmanš¸ãy“of“the“in˜ternal“commands“of“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“ha˜v˜e“b�Geen“re-implemen˜tedŽ¡�‘>or›^iremo•¸ãv“ed˜to˜b�Ge˜able˜to˜list˜them˜all˜here.‘�Y‘ÿ*ªou˜m“ust˜c“hec“k˜an“y˜that˜y“ou˜ha“v“eŽ¡�‘>used–UUor“c�¸ãhanged.ަ�‘>W‘ÿ*ªe‘T/shall,›“åho•¸ãw“ev“er,˜list–T/some“of“the“more“imp�Gortanš¸ãt“commands“whic˜h“are“noŽ¡�‘>longer‘UUsupp�Gorted.ŽŸ0«���‘$ÿþŸä&‰ffv¡ÙŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\tenrm–T\elvrm“\twlrm“Õ.–Šª.“.‘Ww¡„ ffŽŽ¤ ���ÌͤLÏ„ ff‘ÌΟü³1Ö\tenbf–T\elvbf“\twlbf“Õ.–Šª.“.‘Ww¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1Ö\tensf–T\elvsf“\twlsf“Õ.–Šª.“.‘Ww¡„ ffŽŽŸE³���ÌÍŸLÏ„E³ff�Ÿô³1�‘LÆ.ޤ�‘LÆ.Ž¡�‘LÆ.ŽŽ‘v;s„E³ffŽŽŸ³5‰ffv¡ÙŽŽŽŸ)2×�‘>²The–aš(approš¸ãximately)“sev˜en˜t˜y“in˜ternal“commands“of“this“form“are“no“longer“de-Ž¡�‘> ned.‘æQIf–&Øyš¸ãour“class“or“pac˜k‘ÿqÇage“uses“them“then“Óple‘ÿ}'ase‘ç3²replace“them“with“newŽ¡�‘>fon�¸ãt–UUcommands“describ�Ged“in�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘,:žÓF‘ÿ;¼ont‘“çSele‘ÿ}'ction².ަ�‘>F‘ÿ*ªor–UUexample,“the“command“Ò\twlsf“²should“b�Ge“replaced“b�¸ãy:ŽŽŸ�’åÿ31ŽŽŒ‹ dË y� ý£ ?� ýä�‘L,ÂÖ\fontsize{12}{14}\normalfont\sffamily\selectfontŽŸæß�‘>²Another–òïp�Gossibilitš¸ãy“is“to“use“the“Òrawfonts“²pac˜k‘ÿqÇage,‘Vdescrib�Ged“in�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘-i7Óforޤ �‘>A�¾“uthors².Ž©‹�‘>Also,‘¸rememš¸ãb�Ger–¤Fthat“man˜y“of“the“fon˜ts“preloaded“b˜y“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“are“no“longerŽ¡�‘>preloaded.ŽŸoû���‘$ÿþŸø@‰ffhuŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\vpt–T\vipt“\viipt“Õ.–Šª.“.‘Ww¡„ ffŽŽŸ³5‰ffhuŽŽŽŸé˜�‘>²These–QDwš¸ãere“the“in˜ternal“size-selecting“commands“in“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09.‘pl(They“can“stillŽ¡�‘>bšGe–¥;used“in“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“compatibilit�¸ãy“mo˜de.)‘7Please“use“the“command“Ò\fontsizeŽ¡�‘>²instead:‘qÇsee�‘UUÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘,:žÓF‘ÿ;¼ont‘“çSele‘ÿ}'ction‘¸²for‘UUdetails.ަ�‘>F‘ÿ*ªor–UUexample,“Ò\vpt“²should“b�Ge“replaced“b�¸ãy:ŽŸæß�‘L,ÂÖ\fontsize{5}{6}\normalfont\selectfontŽŸoû���‘$ÿþŸø@‰ff™ mŸ³1���ÌͤLÏ„ ff‘ÌΟü³1\prmÕ,–TÖ\pbfÕ,“Ö\ppoundsÕ,“Ö\pLaTeX“Õ.–Šª.“.‘Ww¡„ ffŽŽŸ³5‰ff™ mŽŽŽŸé˜�‘>²L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–kP2.09“used“sevš¸ãeral“commands“b�Geginning“with“Ò\p“²in“order“to“pro˜vide“`pro-Ž¡�‘>tected'–›„commands.‘DSF‘ÿ*ªor“example,‘­Ò\LaTeX‘›r²w�¸ãas“de ned“to“b�Ge“Ò\protect\pLaTeX²,Ž¡�‘>and–ëbÒ\pLaTeX›ëG²w�¸ãas“de ned“to“pro�Gduce“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“logo.‘NvThis“made“Ò\LaTeX˜²robust,Ž¡�‘>evš¸ãen–UUthough“Ò\pLaTeX“²w˜as“not.ަ�‘>These–¢�commands“ha•¸ãv“e›¢�no“w˜b�Geen˜reimplemen“ted˜using˜Ò\DeclareRobustCommandŽ¡�‘>²(describ�Ged–shin“Section“4.10).‘ÌIf“yš¸ãour“pac˜k‘ÿqÇage“rede ned“one“of“the“Ò\p²-commandsŽ¡�‘>then–X1yš¸ãou“m˜ust“remo˜v˜e“the“rede nition“and“use“Ò\DeclareRobustCommand“²to“re-Ž¡�‘>de ne–UUthe“non-Ò\p“²command.ŽŸ'ÏE���‘$ÿþŸí@‰ff?ùsŸ³1���ÌͤLÏ„ ff‘ÌΟü³1Ö\footheight‘ÌÍ¡„ ffŽŽ¤ ���ÌͤLÏ„ ff‘ÌΟü³1\@maxsep‘ù�¡„ ffŽŽ¡���ÌͤLÏ„ ff‘ÌΟü³1\@dblmaxsep‘ÌÍ¡„ ffŽŽŸ³5‰ff?ùsŽŽŽŸ�Å�‘>²These–]–parameters“are“not“used“bš¸ãy�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘,Ö²so“they“ha˜v˜e“b�Geen“remo˜v˜ed,‘_¦exceptŽ¡�‘>in–UUL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“2.09“compatibilit�¸ãy“mo�Gde.‘qÇClasses“should“no“longer“set“them.ŽŸ$üS�‘>ÆReferencesŽŸ,©���‘>²[1]ŽŽ‘MŽ;Micš¸ãhel–ˆ±Go�Gossens,‘Õ‡F‘ÿ*ªrank“Mittelbac˜h,‘Õ‡and“Alexander“Samarin.‘ÞÓThe‘®¬L�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-XŽ¡�‘MŽ;Comp‘ÿ}'anion².‘nïAddison-W–ÿ*ªesley“,–UUReading,“Massac•¸ãh“usetts,‘UU1994.Ž©‹���‘>[2]ŽŽ‘MŽ;Donald–]¬E.“Kn�¸ãuth.›‡ÈÓThe‘›“T�‘þKß'EŽ‘Í-Xb–ÿ}'o“ok².˜Addison-W–ÿ*ªesley“,–_ÁReading,“Massac•¸ãh“usetts,Ž¡�‘MŽ;1986.‘nïRevised–UUto“co•¸ãv“er–UUT�‘þU>Ÿ'EŽ‘ãxX3,“1991.ަ���‘>[3]ŽŽ‘MŽ;Leslie‘e»Lamp�Gort.‘ŸÍÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X:‘·ÂA‘¢ùDo–ÿ}'cument›¢ýPr“ep“ar“ation˜System².‘ŸÍAddison-W–ÿ*ªesley“,Ž¡�‘MŽ;Reading,›UUMassac•¸ãh“usetts,˜second˜edition,˜1994.ŽŽŸ�’åÿ32ŽŽŒ‹!pò y� ý£ ?� ýä��‘>ÆL�Ÿüû+�‘ú+ÇAŽŽ�n¹ÆT�‘ýL¨Ÿ32EŽ‘èdX‘n 2�Ÿ(õó6DF‰”ff cmmib10á"ŽŽ‘}žRÆSummary–ffsheet:‘32up�s3dating“old“st�ŒÌylesŽŸç�‘>²Section–UUreferences“b�Gelo�¸ãw“are“to�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘,:žÓfor–“çClass“and“Package“Writers².ŽŸ����‘J8ä1.ŽŽŽ‘WShould–5Ûit“b�Gecome“a“class“or“a“pacš¸ãk‘ÿqÇage?‘gISee“Section“2.3“for“ho˜w“to“answ˜erޤ �‘Wthis‘UUquestion.Ž©����‘J8ä2.ŽŽŽ‘WIf–‡4it“uses“another“stš¸ãyle“ le,‘°nthen“y˜ou“will“need“to“obtain“an“up�Gdated“v˜ersionŽ¡�‘Wof–!,this“other“ le.‘ÕLLo�Gok“at“Section“2.7.1“for“information“on“ho�¸ãw“to“loadŽ¡�‘Wother–UUclass“and“pac�¸ãk‘ÿqÇage“ les.ަ����‘J8ä3.ŽŽŽ‘WT‘ÿ*ªry–UUit:‘qÇsee“Section“6.1.ަ����‘J8ä4.ŽŽŽ‘WIt›-Qw•¸ãork“ed?‘dpExcellen“t,‘5Rbut˜there˜are˜probably˜still˜some˜things˜y“ou˜shouldŽ¡�‘Wcš¸ãhange–ƒòin“order“to“mak˜e“y˜our“ le“in˜to“a“w˜ell-structured�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘*[޲ le“that“isŽ¡�‘WbšGoth–<ërobust“and“p˜ortable.‘OSo“yš¸ãou“should“no˜w“read“Section“2,‘uesp�Gecially“2.7.Ž¡�‘WY‘ÿ*ªou–UUwill“also“ nd“some“useful“examples“in“Section“3.ŽŸ�‘WIf–‰yš¸ãour“ le“sets“up“new“fon˜ts,‘AÖfon˜t-c˜hanging“commands“or“sym˜b�Gols,‘AÖy˜ouŽ¡�‘Wshould–UUalso“read�“ÓL�Ÿýé›�‘üQíÔAŽŽ‘ÙÓT�‘þKß'EŽ‘Í-X‘ˆƒ2�Ÿÿµ"ŽŽ‘,:žÓF‘ÿ;¼ont‘“çSele‘ÿ}'ction².ަ����‘J8ä5.ŽŽŽ‘WIt–UUdid“not“w�¸ãork?‘qÇThere“are“three“p�Gossibilities“here:ަ����‘c¸ŽŽŽ‘m²error–UUmessages“are“pro�Gduced“whilst“reading“y�¸ãour“ le;ޤ����‘c¸ŽŽŽ‘m²error–UUmessages“are“prošGduced“whilst“pro˜cessing“test“do˜cumen�¸ãts;Ž¡����‘c¸ŽŽŽ‘m²there–UUare“no“errors“but“the“output“is“not“as“it“should“b�Ge.ަ�‘WDon't–UUforget“to“c•¸ãhec“k–UUcarefully“for“this“last“p�Gossibilit�¸ãy‘ÿ*ª.Ž¡�‘WIf–ƒýyš¸ãou“ha˜v˜e“got“to“this“stage“then“y˜ou“will“need“to“read“Section“6“to“ ndŽŸ �‘Wthe–UUsolutions“that“will“makš¸ãe“y˜our“ le“w˜ork.ŽŽŽŒø} ƒ’À;èy— !ó6DF‰”ff cmmib10ó5F C– cmbxti10ó2m#½R cmss10ó1ßCÊscmtt8ó0Œ-ø cmcsc10ó/ÒoÇw cmss9ó.¼j‘¹ cmti9ó-©±�Ê cmsy9ó+ߤN cmtt9ó*o´‹Ç cmr9ó)t}\Êcmti7ó(ý': cmti10ó'ßê cmmi10óKñ`y cmr10óÙ“ Rcmr7ù„Õßßßß