AEA.cls 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415
  1. %% AEA.cls: American Economic Association Article Document Class
  2. %% ===========================================================================
  3. \def\lastrev{2011/07/24}
  4. %% Author:
  5. %% Dr. Melissa Rice, Ph.D.
  6. %% Full Moon Technical Solutions, LLC
  7. %% 14202 60th Ave NW
  8. %% Stanwood, WA 98292-4808, USA
  9. %% [email protected]
  10. %% voice: +1 (360) 654-0709 Pacific Time Zone (GMT-7 or -8)
  11. %% cell: +1 (425) 923-7713
  12. %%
  13. %% Copyright 2007-2011 Melissa Rice, Full Moon Technical Solutions, LLC (dba FMTek, LLC)
  14. %%
  15. % ==============================================================================
  16. % Class ID and Options
  17. % ==============================================================================
  18. \NeedsTeXFormat{LaTeX2e}[1995/12/01]
  19. \ProvidesClass{AEA}[\lastrev \space American Economic Association Article Classes]
  20. \RequirePackage{multicol}
  21. \RequirePackage{setspace}
  22. \RequirePackage[leqno]{amsmath}
  23. % default settings
  24. \@twosidefalse
  25. \@twocolumnfalse
  26. \newif\if@restonecol
  27. \newif\if@PP \@PPfalse
  28. \newif\if@JEL \@JELfalse
  29. \newif\if@JEP \@JEPfalse
  30. \newif\if@AEJ \@AEJfalse
  31. \newif\if@draftmode \@draftmodefalse
  32. \newif\if@reviewmode \@reviewmodefalse
  33. \def\droparg#1{}
  34. % Journal Options
  35. \def\@issueName{No Journal Selected}
  36. \DeclareOption{AER}{
  37. % AER is the default if no journal is specified
  38. \def\@issueName{THE AMERICAN ECONOMIC REVIEW}
  39. \@twosidetrue
  40. \@twocolumnfalse
  41. }
  42. \DeclareOption{PP}{
  43. \def\@issueName{PAPERS AND PROCEEDINGS}
  44. \@twosidetrue
  45. \@twocolumntrue
  46. \@PPtrue
  47. }
  48. \DeclareOption{JEL}{
  49. \def\@issueName{JOURNAL OF ECONOMIC LITERATURE}
  50. \@twosidetrue
  51. \@twocolumntrue
  52. \@JELtrue
  53. }
  54. \DeclareOption{JEP}{
  55. \def\@issueName{JOURNAL OF ECONOMIC PERSPECTIVES}
  56. \@twosidetrue
  57. \@twocolumnfalse
  58. \@JEPtrue
  59. }
  60. \DeclareOption{AEJ}{
  61. \def\@issueName{AMERICAN ECONOMIC JOURNAL}
  62. \@twosidetrue
  63. \@twocolumnfalse
  64. \@AEJtrue
  65. }
  66. % double spacing and other options
  67. \def\@spacingStretch{1}
  68. \def\spacingStretch#1{\gdef\@spacingStretch{#1}}
  69. \def\@draftSpacing{1}
  70. \def\draftSpacing#1{\gdef\@draftSpacing{#1}}
  71. \def\setDocumentSpacing{\let\@currsize\normalsize
  72. \if@draftmode\spacingStretch{\@draftSpacing}\fi
  73. \setstretch{\@spacingStretch}
  74. }
  75. \AtBeginDocument{\setDocumentSpacing
  76. \if@draftmode\overfullrule=3pt\else\overfullrule=0pt\fi
  77. % As of July 2011 the authors are no longer concealed in the review copy
  78. % \if@reviewmode
  79. % \def\author#1{\gdef\@author{Author Undisclosed}}
  80. % \fi
  81. \@ifundefined{harvardand}{}{\renewcommand{\harvardand}{and}}
  82. }
  83. % Draft options
  84. \DeclareOption{draftmode}{
  85. \def\mode{draft}
  86. \@draftmodetrue
  87. }
  88. \DeclareOption{reviewmode}{
  89. \def\mode{review}
  90. \@twocolumnfalse
  91. \spacingStretch{1.5}
  92. \@reviewmodetrue
  93. }
  94. \DeclareOption{finalmode}{
  95. \def\mode{final}
  96. \spacingStretch{1}
  97. }
  98. % Default Options
  99. \ExecuteOptions{AER,finalmode}
  100. \ProcessOptions
  101. \typeout{Journal Selected: \@issueName}
  102. \typeout{Mode Selected: \mode}
  103. \long\def\acknowledgement#1\end{\endgroup\xacknowledgement{#1}\droparg}
  104. \long\def\xacknowledgement#1{\if@reviewmode\else\if@JEP\par\noindent\rule{4pt}{4pt}\
  105. #1\par\vskip\baselineskip\else\par \textbf{Please put acknowledgements in the author footnote in this style.}\par\fi\fi}
  106. % ==============================================================================
  107. % Fonts
  108. % ==============================================================================
  109. \DeclareFontFamily{T1}{cmr}{}
  110. \DeclareFontShape{T1}{cmr}{m}{n}{%
  111. <5><6><7><8><9>gen*dcr%
  112. <10><10.7><11>dcr10%
  113. <12><14><15><16>dcr12%
  114. <20>dcr17}{}
  115. \DeclareFontShape{T1}{cmr}{m}{sl}{%
  116. <5><6><7><8>dcsl8%
  117. <9>dcsl9%
  118. <10><10.7><11>dcsl10%
  119. <12><144><15><16>dcsl12%
  120. <20>dcsl17%
  121. }{}
  122. \DeclareFontShape{T1}{cmr}{m}{it}{%
  123. <5><6>dcti7%
  124. <7><8><9>gen*dcti%
  125. <10><10.7><11>dcti10%
  126. <12><14><15><16>dcti12%
  127. <20>dcti17%
  128. }{}
  129. \DeclareFontShape{T1}{cmr}{m}{sc}{%
  130. <5><6><7><8><9><10><10.7><11>dccsc10%
  131. <12><14><15><16>dccsc12%
  132. <20>dccsc17%
  133. }{}
  134. \DeclareFontShape{T1}{cmr}{m}{ui}{%
  135. <5><6>dcu7%
  136. <7><8><9>gen*dcu%
  137. <10><10.7><11>dcu10%
  138. <12><14><15><16>dcu12%
  139. <20>dcu17%
  140. }{}
  141. \DeclareFontShape{T1}{cmr}{b}{n}{%
  142. <5><6><7><8><9>gen*dcb%
  143. <10><10.7><11>dcb10%
  144. <12><14><15><16>dcb12%
  145. <20>dcb17%
  146. }{}
  147. \DeclareFontFamily{T1}{cmss}{}
  148. \DeclareFontShape{T1}{cmss}{m}{n}{%
  149. <5><6><7><8>dcss8%
  150. <9>dcss9%
  151. <10><10.7><11>dcss10%
  152. <12><14><15><16>dcss12%
  153. <20>dcss17%
  154. }{}
  155. \DeclareFontShape{T1}{cmss}{m}{it}%
  156. {<->sub*cmss/m/sl}{}
  157. \DeclareFontShape{T1}{cmss}{m}{sl}{%
  158. <5><6><7><8>dcssi8%
  159. <9>dcssi9%
  160. <10><10.7><11>dcssi10%
  161. <12><14><15><16>dcssi12%
  162. <20>dcssi17%
  163. }{}
  164. \DeclareFontShape{T1}{cmss}{bx}{n}{%
  165. <5><6><7><8><9><10><10.7><11><12><14><15><16><20>dcssbx10%
  166. }{}
  167. \newcommand\FivePtType{\@setfontsize\FivePtType\@vpt\@vipt}
  168. \newcommand\SixPtType{\@setfontsize\SixPtType\@vipt\@viipt}
  169. \newcommand\EightPtClose{\@setfontsize\EightPtClose\@viiipt{9}}
  170. \newcommand\EightPtType{\@setfontsize\EightPtType\@viiipt{10}}
  171. \newcommand\NinePtClose{\@setfontsize\NinePtClose\@ixpt{10}}
  172. \newcommand\NinePtType{\@setfontsize\NinePtType\@ixpt{11}}
  173. \newcommand\TenPtClose{\@setfontsize\TenPtClose\@xpt\@xipt}
  174. \newcommand\TenPtType{\@setfontsize\TenPtType\@xpt\@xiipt}
  175. \newcommand\TenPtJEL{\@setfontsize\TenPtJEL{10.5}{12}}
  176. \newcommand\TenPtPlusType{\@setfontsize\TenPtPlusType{10.7}{12.5}}
  177. \newcommand\TenPtLoose{\@setfontsize\TenPtLooseType\@xpt{13}}
  178. \newcommand\ElevenPtClose{\@setfontsize\ElevenPtClose\@xipt{12}}
  179. \newcommand\ElevenPtType{\@setfontsize\ElevenPtType\@xipt{13}}
  180. \newcommand\ElevenPtLoose{\@setfontsize\ElevenPtLoose\@xipt{14}}
  181. \newcommand\TwelvePtClose{\@setfontsize\TwelvePtClose\@xiipt{13}}
  182. \newcommand\TwelvePtType{\@setfontsize\TwelvePtType\@xiipt{14.4}}
  183. \newcommand\FourteenPtType{\@setfontsize\FourteenPtType{14}{16.8}}
  184. \newcommand\FourteenPtLoose{\@setfontsize\FourteenPtLoose{14}{18}}
  185. \newcommand\FifteenPtType{\@setfontsize\FifteenPtType{15}{18}}
  186. \newcommand\SixteenPtType{\@setfontsize\SixteenPtType{16}{19.2}}
  187. \newcommand\SixteenPtClose{\@setfontsize\SixteenPtCLose{16}{18}}
  188. \newcommand\TwentyPtType{\@setfontsize\TwentyPtType{20}{24}}
  189. \newcommand\TwentyFourPtTight{\@setfontsize\TwentyFourPtTight{24}{24}}
  190. \newcommand\small{\EightPtType}
  191. \newcommand\scriptsize{\NinePtType}
  192. \newcommand\tiny{\FivePtType}
  193. \newcommand\large{\TenPtType}
  194. \newcommand\Large{\ElevenPtType}
  195. \newcommand\LARGE{\TwelvePtType}
  196. \newcommand\huge{\FourteenPtType}
  197. \newcommand\Huge{\SixteenPtType}
  198. % default footnotesize
  199. \newcommand\footnotesize{%
  200. \TenPtClose%
  201. \abovedisplayskip 8\p@ \@plus2\p@ \@minus3\p@
  202. \abovedisplayshortskip \z@ \@plus1\p@
  203. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  204. \def\@listi{\leftmargin\leftmargini
  205. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  206. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  207. \itemsep \parsep}%
  208. \belowdisplayskip \abovedisplayskip
  209. }
  210. % AER fonts and default settings
  211. \if@reviewmode
  212. \renewcommand\normalsize{%
  213. \TwelvePtType
  214. \abovedisplayskip 12\p@ \@plus1\p@ \@minus4\p@
  215. \abovedisplayshortskip \z@ \@plus2\p@
  216. \belowdisplayshortskip 6\p@ \@plus2\p@ \@minus2\p@
  217. \belowdisplayskip \abovedisplayskip
  218. \let\@listi\@listI}
  219. \renewcommand\footnotesize{%
  220. \TenPtClose%
  221. \abovedisplayskip 8\p@ \@plus2\p@ \@minus3\p@
  222. \abovedisplayshortskip \z@ \@plus1\p@
  223. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  224. \def\@listi{\leftmargin\leftmargini
  225. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  226. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  227. \itemsep \parsep}%
  228. \belowdisplayskip \abovedisplayskip
  229. }
  230. \def\titlesize{\FourteenPtType}
  231. \def\authorsize{\TwelvePtType}
  232. \def\captionsize{\TenPtType}
  233. \def\headsize{\TenPtType}
  234. \def\sectionsize{\TwelvePtType}
  235. \def\subsectionsize{\sectionsize}
  236. \def\abstractbodysize{\TwelvePtType}
  237. \def\notesize{\TenPtType}
  238. \else
  239. \renewcommand\normalsize{%
  240. \ElevenPtType
  241. \abovedisplayskip 11\p@ \@plus1\p@ \@minus4\p@
  242. \abovedisplayshortskip \z@ \@plus2\p@
  243. \belowdisplayshortskip 5\p@ \@plus2\p@ \@minus2\p@
  244. \belowdisplayskip \abovedisplayskip
  245. \let\@listi\@listI}
  246. \renewcommand\footnotesize{%
  247. \EightPtClose%
  248. \abovedisplayskip 7\p@ \@plus2\p@ \@minus3\p@
  249. \abovedisplayshortskip \z@ \@plus1\p@
  250. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  251. \def\@listi{\leftmargin\leftmargini
  252. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  253. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  254. \itemsep \parsep}%
  255. \belowdisplayskip \abovedisplayskip
  256. }
  257. \def\titlesize{\FourteenPtLoose}
  258. \def\authorsize{\ElevenPtType}
  259. \def\captionsize{\EightPtClose}
  260. \def\headsize{\EightPtType}
  261. \def\sectionsize{\TenPtLoose}
  262. \def\subsectionsize{\ElevenPtType}
  263. \def\abstractbodysize{\ElevenPtClose}
  264. \def\notesize{\EightPtClose}
  265. \fi
  266. \if@PP
  267. \renewcommand\normalsize{%
  268. \TenPtPlusType
  269. \abovedisplayskip 11\p@ \@plus1\p@ \@minus4\p@
  270. \abovedisplayshortskip \z@ \@plus2\p@
  271. \belowdisplayshortskip 5\p@ \@plus2\p@ \@minus2\p@
  272. \belowdisplayskip \abovedisplayskip
  273. \let\@listi\@listI}
  274. \normalsize
  275. \renewcommand\footnotesize{%
  276. \EightPtType%
  277. \abovedisplayskip 7\p@ \@plus2\p@ \@minus3\p@
  278. \abovedisplayshortskip \z@ \@plus1\p@
  279. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  280. \def\@listi{\leftmargin\leftmargini
  281. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  282. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  283. \itemsep \parsep}%
  284. \belowdisplayskip \abovedisplayskip
  285. }
  286. \renewcommand\small{\EightPtType}
  287. \renewcommand\scriptsize{\NinePtType}
  288. \renewcommand\tiny{\FivePtType}
  289. \renewcommand\large{\TenPtType}
  290. \renewcommand\Large{\ElevenPtType}
  291. \renewcommand\LARGE{\TwelvePtType}
  292. \renewcommand\huge{\FourteenPtType}
  293. \renewcommand\Huge{\SixteenPtType}
  294. \def\titlesize{\FifteenPtType}
  295. \def\authorsize{\TenPtType}
  296. \def\headsize{\EightPtType}
  297. \def\sectionsize{\TenPtType}
  298. \def\abstractbodysize{\TenPtClose}
  299. \def\notesize{\EightPtClose}
  300. \fi
  301. \if@JEL
  302. \renewcommand\normalsize{%
  303. \TenPtJEL
  304. \abovedisplayskip 12\p@ \@plus1\p@ \@minus4\p@
  305. \abovedisplayshortskip \z@ \@plus2\p@
  306. \belowdisplayshortskip 5\p@ \@plus2\p@ \@minus2\p@
  307. \belowdisplayskip \abovedisplayskip
  308. \let\@listi\@listI}
  309. \normalsize
  310. \renewcommand\footnotesize{%
  311. \EightPtClose%
  312. \abovedisplayskip 7\p@ \@plus2\p@ \@minus3\p@
  313. \abovedisplayshortskip \z@ \@plus1\p@
  314. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  315. \def\@listi{\leftmargin\leftmargini
  316. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  317. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  318. \itemsep \parsep}%
  319. \belowdisplayskip \abovedisplayskip
  320. }
  321. \renewcommand\small{\EightPtType}
  322. \renewcommand\scriptsize{\NinePtType}
  323. \renewcommand\tiny{\FivePtType}
  324. \renewcommand\large{\TenPtType}
  325. \renewcommand\Large{\ElevenPtType}
  326. \renewcommand\LARGE{\TwelvePtType}
  327. \renewcommand\huge{\FourteenPtType}
  328. \renewcommand\Huge{\SixteenPtType}
  329. \def\titlesize{\TwentyFourPtTight}
  330. \def\authorsize{\ElevenPtLoose}
  331. \def\headsize{\EightPtType}
  332. \def\captionsize{\NinePtClose}
  333. \def\sectionsize{\TenPtJEL}
  334. \def\subsectionsize{\TenPtJEL}
  335. \def\abstractbodysize{\TenPtJEL}
  336. \def\notesize{\EightPtClose} % no table notes in this style, officially
  337. \fi
  338. \if@JEP
  339. \renewcommand\normalsize{%
  340. \TenPtLoose
  341. \abovedisplayskip 13\p@ \@plus1\p@ \@minus4\p@
  342. \abovedisplayshortskip \z@ \@plus2\p@
  343. \belowdisplayshortskip 5\p@ \@plus2\p@ \@minus2\p@
  344. \belowdisplayskip \abovedisplayskip
  345. \let\@listi\@listI}
  346. \normalsize
  347. \renewcommand\footnotesize{%
  348. \EightPtType%
  349. \abovedisplayskip 7\p@ \@plus2\p@ \@minus3\p@
  350. \abovedisplayshortskip \z@ \@plus1\p@
  351. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  352. \def\@listi{\leftmargin\leftmargini
  353. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  354. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  355. \itemsep \parsep}%
  356. \belowdisplayskip \abovedisplayskip
  357. }
  358. \renewcommand\small{\EightPtType}
  359. \renewcommand\scriptsize{\NinePtType}
  360. \renewcommand\tiny{\FivePtType}
  361. \renewcommand\large{\TenPtType}
  362. \renewcommand\Large{\ElevenPtType}
  363. \renewcommand\LARGE{\TwelvePtType}
  364. \renewcommand\huge{\FourteenPtType}
  365. \renewcommand\Huge{\SixteenPtType}
  366. \def\titlesize{\TwentyPtType}
  367. \def\authorsize{\SixteenPtClose}
  368. \def\headsize{\EightPtType}
  369. \def\captionsize{\TenPtLoose}
  370. \def\sectionsize{\TwelvePtClose}
  371. \def\subsectionsize{\TenPtLoose}
  372. \def\abstractbodysize{\TenPtClose} % no abstract for this journal
  373. \def\notesize{\EightPtType}
  374. \fi
  375. \if@AEJ
  376. \renewcommand\normalsize{%
  377. \ElevenPtType
  378. \abovedisplayskip 13\p@ \@plus1\p@ \@minus4\p@
  379. \abovedisplayshortskip \z@ \@plus2\p@
  380. \belowdisplayshortskip 5\p@ \@plus2\p@ \@minus2\p@
  381. \belowdisplayskip \abovedisplayskip
  382. \let\@listi\@listI}
  383. \normalsize
  384. \renewcommand\footnotesize{%
  385. \EightPtClose%
  386. \abovedisplayskip 7\p@ \@plus2\p@ \@minus3\p@
  387. \abovedisplayshortskip \z@ \@plus1\p@
  388. \belowdisplayshortskip 3\p@ \@plus1\p@ \@minus1\p@
  389. \def\@listi{\leftmargin\leftmargini
  390. \topsep 3\p@ \@plus1\p@ \@minus1\p@
  391. \parsep 1\p@ \@plus0.5\p@ \@minus0.5\p@
  392. \itemsep \parsep}%
  393. \belowdisplayskip \abovedisplayskip
  394. }
  395. \renewcommand\small{\EightPtType}
  396. \renewcommand\scriptsize{\NinePtType}
  397. \renewcommand\tiny{\FivePtType}
  398. \renewcommand\large{\TenPtType}
  399. \renewcommand\Large{\ElevenPtType}
  400. \renewcommand\LARGE{\TwelvePtType}
  401. \renewcommand\huge{\FourteenPtType}
  402. \renewcommand\Huge{\SixteenPtType}
  403. \def\titlesize{\FourteenPtLoose}
  404. \def\authorsize{\ElevenPtType}
  405. \def\headsize{\EightPtType}
  406. \def\captionsize{\EightPtClose}
  407. \def\sectionsize{\TenPtLoose}
  408. \def\subsectionsize{\ElevenPtType}
  409. \def\abstractbodysize{\ElevenPtClose}
  410. \def\notesize{\EightPtClose}
  411. \fi
  412. \normalsize
  413. % obsolete markup
  414. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  415. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  416. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  417. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  418. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  419. \DeclareOldFontCommand{\sl}{\normalfont\itshape}{\mathit}
  420. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  421. \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
  422. \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
  423. % ==============================================================================
  424. % Layout
  425. % ==============================================================================
  426. % paper size
  427. \setlength\paperheight{11in}
  428. \setlength\paperwidth{8.5in}
  429. % AER is default
  430. % margins
  431. \setlength\textwidth{135.5mm}
  432. \setlength\textheight{200mm}
  433. \setlength\topmargin{-10pt}
  434. \setlength\oddsidemargin{14mm}
  435. \setlength\evensidemargin{\oddsidemargin}
  436. \setlength\headheight{24pt}
  437. \setlength\headsep {14pt}
  438. \setlength\topskip {11.74pt}
  439. \setlength\maxdepth{.5\topskip}
  440. \setlength\footskip{15pt}
  441. % two column settings
  442. \setlength\columnsep{\z@}
  443. \setlength\columnseprule{\z@}
  444. % line and paragraph stuff
  445. \setlength\parskip{0\p@ \@plus1\p@}
  446. \setlength\parindent{10pt}
  447. \setlength\lineskip{1\p@}
  448. \setlength\normallineskip{1\p@}
  449. \renewcommand\baselinestretch{}
  450. % skips
  451. \def\abovetitleskip{-26pt}
  452. \if@PP
  453. % margins
  454. \setlength\textwidth{151mm}
  455. \setlength\textheight{229mm}
  456. \setlength\topmargin{-14mm}
  457. \setlength\oddsidemargin{7mm}
  458. \setlength\evensidemargin{\oddsidemargin}
  459. \setlength\headheight{24pt}
  460. \setlength\headsep {14pt}
  461. \setlength\topskip {11.74pt}
  462. \setlength\maxdepth{.5\topskip}
  463. \setlength\footskip{15pt}
  464. % two column settings
  465. \setlength\columnsep{6.5mm}
  466. \setlength\columnseprule{\z@}
  467. \fi
  468. \if@JEL
  469. % margins
  470. \setlength\textwidth{141.8mm}
  471. \setlength\textheight{200mm}
  472. \setlength\topmargin{-10pt}
  473. \setlength\oddsidemargin{12mm}
  474. \setlength\evensidemargin{\oddsidemargin}
  475. \setlength\headheight{24pt}
  476. \setlength\headsep {14pt}
  477. \setlength\topskip {11.74pt}
  478. \setlength\maxdepth{.5\topskip}
  479. \setlength\footskip{15pt}
  480. % two column settings
  481. \setlength\columnsep{18\p@}
  482. \setlength\columnseprule{\z@}
  483. \fi
  484. \if@JEP
  485. % margins
  486. \setlength\textwidth{127mm}
  487. \setlength\textheight{202mm}
  488. \setlength\topmargin{-10pt}
  489. \setlength\oddsidemargin{18.6mm}
  490. \setlength\evensidemargin{\oddsidemargin}
  491. \setlength\headheight{24pt}
  492. \setlength\headsep {14pt}
  493. \setlength\topskip {11.74pt}
  494. \setlength\maxdepth{.5\topskip}
  495. \setlength\footskip{15pt}
  496. \setlength\parindent{2em}
  497. \fi
  498. % skips
  499. \def\abovetitleskip{-26pt}
  500. % penalties
  501. \@lowpenalty 51
  502. \@medpenalty 151
  503. \@highpenalty 301
  504. \if@draftmode
  505. \def\@issueName{}
  506. \fi
  507. % head and foot
  508. \def\ps@titlepage{
  509. \leftskip=6pt\rightskip=\leftskip
  510. \def\@oddfoot{\hfil{\small\textit{\thepage}}\hfil}
  511. \let\@evenfoot\@oddfoot
  512. \let\@oddhead\@empty
  513. \let\@evenhead\@empty
  514. }
  515. \def\ps@headings{
  516. \leftskip=0pt\rightskip=0pt
  517. \let\@oddfoot\@empty
  518. \let\@evenfoot\@empty
  519. \def\@oddhead{{\small\textit{\MakeUppercase{VOL. \@pubVolume\ \ NO. \@pubIssue\hfil\@shortTitle\hfil\thepage}}}}
  520. \def\@evenhead{{\small\textit{\MakeUppercase{\thepage\hfil\@issueName\hfil\@pubMonth\ \@pubYear}}}}
  521. }
  522. \if@JEP
  523. \def\ps@headings{
  524. \leftskip=0pt\rightskip=0pt
  525. \let\@oddfoot\@empty
  526. \let\@evenfoot\@empty
  527. \def\@oddhead{{\small\textit{\MakeUppercase{\hfil\@shortTitle\hfil\thepage}}}}
  528. \def\@evenhead{{\small\textit{\MakeUppercase{\thepage\hfil\@issueName\hfil}}}}
  529. }
  530. \fi
  531. \pagestyle{headings}
  532. \thispagestyle{titlepage}
  533. \pagenumbering{arabic}
  534. % justification
  535. \if@twoside
  536. \flushbottom
  537. \else
  538. \raggedbottom
  539. \fi
  540. \if@twocolumn
  541. \twocolumn
  542. \sloppy
  543. \flushbottom
  544. \else
  545. \onecolumn
  546. \fi
  547. % margin notes ??? do we want these at all?
  548. \setlength\marginparsep {0\p@}
  549. \setlength\marginparpush{0\p@}
  550. \setlength\marginparwidth {0\p@}
  551. \if@twoside
  552. \@mparswitchfalse
  553. \else
  554. \@mparswitchtrue % margin notes to the outside
  555. \fi
  556. % ==============================================================================
  557. % PDF Document Info Section
  558. % ==============================================================================
  559. % Note: file location is produced in review mode anyway, despite code below.
  560. \def\extendedVersion{TeX: AEA.cls \lastrev \ (\mode mode) \ \@issueName}
  561. \@ifundefined{pdfinfo}{}{\pdfinfo{ /Creator (\extendedVersion)}}
  562. % As of July 2011 the authors are no longer concealed in the review copy
  563. %\@ifundefined{pdfinfo}{}{
  564. %\if@reviewmode
  565. %\pdfinfo
  566. %{ /Title ()
  567. %/Location ()
  568. %/Creator (\extendedVersion)}
  569. %\else
  570. %\pdfinfo
  571. %{ /Creator (\extendedVersion)}
  572. %\fi}
  573. % ==============================================================================
  574. % Frontmatter
  575. % ==============================================================================
  576. % document variables
  577. \def\issueName#1{\gdef\@issueName{#1}}
  578. % blank
  579. \long\gdef\@blank{}
  580. % JEL Classifications
  581. \long\gdef\@JEL{}
  582. \long\def\JEL#1{\long\gdef\@JEL{#1}}
  583. % Keywords
  584. \long\gdef\@Keywords{}
  585. \long\def\Keywords#1{\long\gdef\@Keywords{#1}}
  586. % Publication Data
  587. \long\gdef\@pubYear{Year}
  588. \long\def\pubYear#1{\long\gdef\@pubYear{#1}}
  589. \long\gdef\@pubMonth{Month}
  590. \long\def\pubMonth#1{\long\gdef\@pubMonth{#1}}
  591. \long\gdef\@pubVolume{Volume}
  592. \long\def\pubVolume#1{\long\gdef\@pubVolume{#1}}
  593. \long\gdef\@pubIssue{Issue}
  594. \long\def\pubIssue#1{\long\gdef\@pubIssue{#1}}
  595. % draft date (revision date in draft mode)
  596. \def\draftDate{\if@draftmode\vspace{12pt}\begin{center}Draft: \@date\end{center}\par
  597. \else\relax\fi}
  598. % abstract
  599. \def\droparg#1{}
  600. \long\def\abstract#1\end{\endgroup\xabstract{#1}\droparg}
  601. \long\gdef\@abstract{Your abstract here, please.}
  602. \long\def\xabstract#1{\long\gdef\@abstract{#1}}
  603. \def\@shortTitle{\@title}
  604. \def\shortTitle#1{\gdef\@shortTitle{#1}}
  605. % frontmatter
  606. \newcommand\maketitle{
  607. {\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
  608. \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
  609. \long\def\@makefntext##1{\parindent 1em\noindent
  610. \hb@[email protected]{%
  611. \hss\@textsuperscript{\normalfont\@thefnmark\rule{0.5em}{0pt}}}##1}%
  612. \if@twocolumn
  613. \ifnum \col@number=\@ne
  614. \@maketitle
  615. \else
  616. \twocolumn[\@maketitle]%
  617. \fi
  618. \else
  619. \newpage
  620. \global\@topnum\z@ % Prevents figures from going at top of page.
  621. \@maketitle
  622. \fi
  623. \@thanks
  624. }
  625. \setcounter{footnote}{0}%
  626. \renewcommand\thefootnote{\@arabic\c@footnote}%
  627. }
  628. % Frontmatter for AER (default)
  629. \newlength\abstractIndent
  630. \newlength\abstractWidth
  631. \setlength{\abstractIndent}{36pt}
  632. \setlength{\abstractWidth}{\textwidth}
  633. \addtolength{\abstractWidth}{-2\abstractIndent}
  634. \newcommand\@maketitle{%
  635. \pagestyle{headings}
  636. \thispagestyle{titlepage}
  637. \begin{@twocolumnfalse}
  638. \begin{center}%
  639. \null\vskip\abovetitleskip
  640. {\titlesize\sffamily\textbf{\@title} \par}%
  641. \vskip 16pt%
  642. {\authorsize\textit{By \ }\textsc{\@author}\par}
  643. \draftDate
  644. \vskip 24pt%
  645. \end{center}%
  646. \gdef\@JELKey{
  647. \ifx\@JEL\@blank\else \par JEL: \@JEL\par \fi
  648. \ifx\@Keywords\@blank\else Keywords: \@Keywords\par \fi}
  649. % these lines not indented to prevent unwanted space
  650. \noindent{\abstractbodysize\itshape\hspace{\abstractIndent}
  651. \parbox{\abstractWidth}{\noindent\@abstract\@JELKey\par}}
  652. \vskip 24pt%
  653. \end{@twocolumnfalse}
  654. \par
  655. }
  656. \if@PP
  657. \renewcommand\@maketitle{%
  658. \pagestyle{headings}
  659. \thispagestyle{titlepage}
  660. \begin{@twocolumnfalse}
  661. \begin{center}%
  662. \null\vskip\abovetitleskip
  663. {\titlesize\sffamily\textbf{\@title} \par}%
  664. \vskip 16pt%
  665. {\authorsize\textit{By \ }\textsc{\@author}\par}
  666. \draftDate
  667. \vskip 24pt%
  668. \end{center}%
  669. \vskip 24pt%
  670. \end{@twocolumnfalse}
  671. \par
  672. }
  673. \fi
  674. \if@JEL
  675. \setlength{\abstractIndent}{36pt}
  676. \setlength{\abstractWidth}{\textwidth}
  677. \addtolength{\abstractWidth}{-2\abstractIndent}
  678. \renewcommand\@maketitle{%
  679. \pagestyle{headings}
  680. \thispagestyle{titlepage}
  681. \begin{@twocolumnfalse}
  682. \begin{center}%
  683. \null\vskip\abovetitleskip
  684. {\titlesize\sffamily\textbf{\@title} \par}%
  685. \vskip 16pt%
  686. {\authorsize\textsc{\@author}\par}
  687. \draftDate
  688. \vskip 24pt%
  689. \end{center}%
  690. \gdef\@JELKey{
  691. \ifx\@JEL\@blank\else \par JEL: \@JEL\par \fi
  692. \ifx\@Keywords\@blank\else Keywords: \@Keywords\par \fi}
  693. % these two lines not indented to prevent unwanted space
  694. \noindent{\abstractbodysize\itshape\hspace{\abstractIndent}
  695. \parbox{\abstractWidth}{\noindent\@abstract\@JELKey\par}}
  696. \vskip 24pt%
  697. \end{@twocolumnfalse}
  698. \par
  699. }
  700. \fi
  701. \if@JEP
  702. \renewcommand\@maketitle{%
  703. \pagestyle{headings}
  704. \thispagestyle{titlepage}
  705. \begin{@twocolumnfalse}
  706. \null\vskip\abovetitleskip
  707. {\noindent\titlesize\sffamily\textbf{\@title} \par}%
  708. \vskip 16pt%
  709. {\noindent\authorsize \@author\par}
  710. \draftDate
  711. \vskip 24pt%
  712. \end{@twocolumnfalse}
  713. \par
  714. }
  715. \fi
  716. % ==============================================================================
  717. % Sectioning
  718. % ==============================================================================
  719. \newcounter{part}
  720. \newcounter{section}
  721. \newcounter{subsection}[section]
  722. \newcounter{subsubsection}[subsection]
  723. \newcounter{paragraph}[subsubsection]
  724. \newcounter{subparagraph}[paragraph]
  725. % AER section numbering
  726. \setcounter{secnumdepth}{2}
  727. \renewcommand\thepart{\@Roman\c@part}
  728. \renewcommand\thesection{\@Roman\c@section}
  729. \renewcommand\thesubsection{\@Alph\c@subsection}
  730. \renewcommand\thesubsubsection{\@arabic\c@subsubsection}
  731. \renewcommand\theparagraph{\thesubsubsection}
  732. \renewcommand\thesubparagraph{\thesubsubsection}
  733. \renewcommand\p@subsection{\thesection.}
  734. \renewcommand\p@subsubsection{\thesubsection.}
  735. \renewcommand\p@paragraph{\thesubsubsection.}
  736. \renewcommand\p@subparagraph{\theparagraph.}
  737. \def\@seccntformat#1{\csname the#1\endcsname.\quad}
  738. \if@PP
  739. \setcounter{secnumdepth}{2}
  740. \renewcommand\thepart{\@Roman\c@part}
  741. \renewcommand\thesection{\@Roman\c@section}
  742. \renewcommand\thesubsection{\@Alph\c@subsection}
  743. \renewcommand\thesubsubsection{\@arabic\c@subsubsection}
  744. \renewcommand\theparagraph{\thesubsubsection}
  745. \renewcommand\thesubparagraph{\thesubsubsection}
  746. \def\@seccntformat#1{\csname the#1\endcsname.\quad}
  747. \fi
  748. \if@JEL
  749. \setcounter{secnumdepth}{2}
  750. \renewcommand\thepart{\@Roman\c@part}
  751. \renewcommand\thesection{\@arabic\c@section}
  752. \renewcommand\thesubsection{\@arabic\c@subsection}
  753. \renewcommand\thesubsubsection{\@arabic\c@subsubsection}
  754. \renewcommand\theparagraph{\thesubsubsection}
  755. \renewcommand\thesubparagraph{\thesubsubsection}
  756. \def\@seccntformat#1{\csname the#1\endcsname.\quad}
  757. \fi
  758. \if@JEP
  759. \setcounter{secnumdepth}{-2}
  760. \renewcommand\thepart{\@Roman\c@part}
  761. \renewcommand\thesection{\@Roman\c@section}
  762. \renewcommand\thesubsection{\@Alph\c@subsection}
  763. \renewcommand\thesubsubsection{\@arabic\c@subsubsection}
  764. \renewcommand\theparagraph{\thesubsubsection}
  765. \renewcommand\thesubparagraph{\thesubsubsection}
  766. \def\@seccntformat#1{\csname the#1\endcsname.\quad}
  767. \fi
  768. \if@AEJ
  769. \setcounter{secnumdepth}{2}
  770. \renewcommand\thepart{\@Roman\c@part}
  771. \renewcommand\thesection{\@Roman\c@section}
  772. \renewcommand\thesubsection{\@Alph\c@subsection}
  773. \renewcommand\thesubsubsection{\@arabic\c@subsubsection}
  774. \renewcommand\theparagraph{\thesubsubsection}
  775. \renewcommand\thesubparagraph{\thesubsubsection}
  776. \def\@seccntformat#1{\csname the#1\endcsname.\quad}
  777. \fi
  778. % AER section skips
  779. \def\abovesectionskip{11pt \@plus 2pt \@minus 2pt}
  780. \def\belowsectionskip{11pt \@plus 2pt \@minus 2pt}
  781. \def\abovesubsectionskip{\abovesectionskip}
  782. \def\belowsubsectionskip{\belowsectionskip}
  783. \def\abovesubsubsectionskip{\abovesectionskip}
  784. \def\belowsubsubsectionskip{\belowsectionskip}
  785. \def\subsubsectionindent{\z@}
  786. \def\headingsuffix{}
  787. \if@PP
  788. \def\abovesectionskip{11pt \@plus 2pt \@minus 2pt}
  789. \def\belowsectionskip{11pt \@plus 2pt \@minus 2pt}
  790. \def\subsubsectionindent{\z@}
  791. \fi
  792. \if@JEL
  793. \def\abovesectionskip{6pt \@plus 2pt \@minus 2pt}
  794. \def\belowsectionskip{6pt \@plus 2pt \@minus 2pt}
  795. \def\subsubsectionindent{\z@}
  796. \fi
  797. \if@JEP
  798. \def\abovesectionskip{26pt \@plus 4pt \@minus 4pt}
  799. \def\belowsectionskip{13pt \@plus 2pt \@minus 2pt}
  800. \def\abovesubsectionskip{13pt \@plus 2pt \@minus 2pt}
  801. \def\belowsubsectionskip{0pt \@plus 1pt \@minus 1pt}
  802. \def\abovesubsubsectionskip{13pt \@plus 2pt \@minus 2pt}
  803. \def\belowsubsubsectionskip{-0.01pt \@plus -0.1pt \@minus -0.1pt}
  804. \def\subsubsectionindent{\parindent}
  805. \fi
  806. \if@AEJ
  807. \def\abovesectionskip{13pt \@plus 2pt \@minus 2pt}
  808. \def\belowsectionskip{13pt \@plus 2pt \@minus 2pt}
  809. \def\belowsubsubsectionskip{-0.01pt \@plus -0.1pt \@minus -0.1pt}
  810. \def\subsubsectionindent{\z@}
  811. \fi
  812. \newcommand\part{%
  813. \if@noskipsec \leavevmode \fi
  814. \par
  815. \addvspace{4ex}%
  816. \@afterindentfalse
  817. \secdef\@part\@spart}
  818. \def\@part[#1]#2{%
  819. \ifnum \c@secnumdepth >\m@ne
  820. \refstepcounter{part}%
  821. \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
  822. \else
  823. \addcontentsline{toc}{part}{#1}%
  824. \fi
  825. {\parindent \z@ \raggedright
  826. \interlinepenalty \@M
  827. \normalfont
  828. \ifnum \c@secnumdepth >\m@ne
  829. \Large\bfseries \partname\nobreakspace\thepart
  830. \par\nobreak
  831. \fi
  832. \huge \bfseries #2%
  833. \markboth{}{}\par}%
  834. \nobreak
  835. \vskip 3ex
  836. \@afterheading}
  837. \def\@spart#1{%
  838. {\parindent \z@ \raggedright
  839. \interlinepenalty \@M
  840. \normalfont
  841. \huge \bfseries #1\par}%
  842. \nobreak
  843. \vskip 3ex
  844. \@afterheading}
  845. \def\@sect#1#2#3#4#5#6[#7]#8{%
  846. \ifnum #2>\c@secnumdepth
  847. \let\@svsec\@empty
  848. \else
  849. \refstepcounter{#1}%
  850. \protected@edef\@svsec{\@seccntformat{#1}\relax}%
  851. \fi
  852. \@tempskipa #5\relax
  853. \ifdim \@tempskipa>\z@
  854. \begingroup
  855. #6{%
  856. \@hangfrom{\hskip #3\relax\@svsec}%
  857. \interlinepenalty \@M #8\@@par}%
  858. \endgroup
  859. \csname #1mark\endcsname{#7}%
  860. \addcontentsline{toc}{#1}{%
  861. \ifnum #2>\c@secnumdepth \else
  862. \protect\numberline{\csname the#1\endcsname}%
  863. \fi
  864. #7}%
  865. \else
  866. \def\@svsechd{%
  867. #6{\hskip #3\relax
  868. \@svsec #8\headingsuffix}%
  869. \csname #1mark\endcsname{#7}%
  870. \addcontentsline{toc}{#1}{%
  871. \ifnum #2>\c@secnumdepth \else
  872. \protect\numberline{\csname the#1\endcsname}%
  873. \fi
  874. #7}}%
  875. \fi
  876. \@xsect{#5}%
  877. }
  878. \newcommand\section{%
  879. \@startsection{section}{1}{\z@}%
  880. {\abovesectionskip}%
  881. {\belowsectionskip}%
  882. {\bfseries\sectionsize\center}}
  883. \newcommand\subsection{%
  884. \@startsection{subsection}{2}{\z@}%
  885. {\abovesubsectionskip}%
  886. {\belowsubsectionskip}%
  887. {\itshape\sectionsize\center}}
  888. \newcommand\subsubsection{%
  889. \def\headingsuffix{. ---\ }
  890. \@startsection{subsubsection}{3}{\subsubsectionindent}%
  891. {\abovesubsubsectionskip}%
  892. {\belowsubsubsectionskip}%
  893. {\scshape\sectionsize\center}}
  894. % paragraph and subparagraph are not used - they are included for compatibility with hyperref.
  895. %\newcommand\paragraph{%
  896. %\@startsection{paragraph}{4}{\z@}%
  897. %{\abovesectionskip}%
  898. %{\belowsectionskip}%
  899. %{\sectionsize\itshape\center}}
  900. %\newcommand\subparagraph{%
  901. %\@startsection{subparagraph}{4}{\z@}%
  902. %{\abovesectionskip}%
  903. %{\belowsectionskip}%
  904. %{\sectionsize\upshape\center}}
  905. \newcommand\paragraph{\subsubsection}
  906. \newcommand\subparagraph{\subsubsection}
  907. \def\appendixsectionstyle{\scshape\sectionsize\center}
  908. \def\appendixsubsectionstyle{\itshape\sectionsize\center}
  909. \def\captionstyle{\scshape}
  910. \if@JEL
  911. \renewcommand\section{%
  912. \@startsection{section}{1}{\z@}%
  913. {\abovesectionskip}%
  914. {\belowsectionskip}%
  915. {\itshape\sectionsize\center}}
  916. \renewcommand\subsection{%
  917. \@startsection{subsection}{2}{\z@}%
  918. {\abovesectionskip}%
  919. {\belowsectionskip}%
  920. {\itshape}}
  921. \def\captionstyle{\scshape}
  922. \fi
  923. \if@JEP
  924. \renewcommand\section{%
  925. \@startsection{section}{1}{\z@}%
  926. {\abovesectionskip}%
  927. {\belowsectionskip}%
  928. {\bfseries\sectionsize}}
  929. \renewcommand\subsection{%
  930. \@startsection{subsection}{2}{\z@}%
  931. {\abovesectionskip}%
  932. {\belowsectionskip}%
  933. {\bfseries\subsectionsize}}
  934. \def\captionstyle{\bfseries\subsectionsize}
  935. \fi
  936. % ==============================================================================
  937. % Package Compatibility
  938. % ==============================================================================
  939. \newcommand\tableofcontents{}
  940. % for compatibility with packages that overload this command
  941. % ==============================================================================
  942. % Environments
  943. % ==============================================================================
  944. \newenvironment{verse}
  945. {\let\\\@centercr
  946. \list{}{\itemsep \z@
  947. \itemindent -1.5em%
  948. \listparindent\itemindent
  949. \rightmargin \leftmargin
  950. \advance\leftmargin 1.5em}%
  951. \item\relax}
  952. {\endlist}
  953. \newenvironment{quotation}
  954. {\list{}{\listparindent 1.5em%
  955. \itemindent \listparindent
  956. \rightmargin \leftmargin
  957. \parsep \z@ \@plus\p@}%
  958. \item\relax}
  959. {\endlist}
  960. \newenvironment{quote}
  961. {\list{}{\rightmargin\leftmargin}%
  962. \item\relax}
  963. {\endlist}
  964. % ==============================================================================
  965. % Lists
  966. % ==============================================================================
  967. \setlength\partopsep{2\p@ \@plus1\p@ \@minus 1\p@}
  968. \def\@listi{\leftmargin\leftmargini
  969. \parsep 4\p@ \@plus2\p@ \@minus\p@
  970. \topsep 8\p@ \@plus2\p@ \@minus4\p@
  971. \itemsep4\p@ \@plus2\p@ \@minus\p@}
  972. \let\@listI\@listi
  973. \@listi
  974. \def\@listii {\leftmargin\leftmarginii
  975. \labelwidth\leftmarginii
  976. \advance\labelwidth-\labelsep
  977. \topsep 4\p@ \@plus2\p@ \@minus\p@
  978. \parsep 2\p@ \@plus\p@ \@minus\p@
  979. \itemsep \parsep}
  980. \def\@listiii{\leftmargin\leftmarginiii
  981. \labelwidth\leftmarginiii
  982. \advance\labelwidth-\labelsep
  983. \topsep 2\p@ \@plus\p@\@minus\p@
  984. \parsep \z@
  985. \partopsep \p@ \@plus\z@ \@minus\p@
  986. \itemsep \topsep}
  987. \def\@listiv {\leftmargin\leftmarginiv
  988. \labelwidth\leftmarginiv
  989. \advance\labelwidth-\labelsep}
  990. \def\@listv {\leftmargin\leftmarginv
  991. \labelwidth\leftmarginv
  992. \advance\labelwidth-\labelsep}
  993. \def\@listvi {\leftmargin\leftmarginvi
  994. \labelwidth\leftmarginvi
  995. \advance\labelwidth-\labelsep}
  996. \if@twocolumn
  997. \setlength\leftmargini {2em}
  998. \else
  999. \setlength\leftmargini {2.5em}
  1000. \fi
  1001. \leftmargin \leftmargini
  1002. \setlength\leftmarginii {2.2em}
  1003. \setlength\leftmarginiii {1.87em}
  1004. \setlength\leftmarginiv {1.7em}
  1005. \if@twocolumn
  1006. \setlength\leftmarginv {.5em}
  1007. \setlength\leftmarginvi {.5em}
  1008. \else
  1009. \setlength\leftmarginv {1em}
  1010. \setlength\leftmarginvi {1em}
  1011. \fi
  1012. \setlength \labelsep {.5em}
  1013. \setlength \labelwidth{\leftmargini}
  1014. \addtolength\labelwidth{-\labelsep}
  1015. \@beginparpenalty -\@lowpenalty
  1016. \@endparpenalty -\@lowpenalty
  1017. \@itempenalty -\@lowpenalty
  1018. \renewcommand\theenumi{\@arabic\c@enumi}
  1019. \renewcommand\theenumii{\@alph\c@enumii}
  1020. \renewcommand\theenumiii{\@roman\c@enumiii}
  1021. \renewcommand\theenumiv{\@Alph\c@enumiv}
  1022. \newcommand\labelenumi{\theenumi)}
  1023. \newcommand\labelenumii{\theenumii)}
  1024. \newcommand\labelenumiii{\theenumiii)}
  1025. \newcommand\labelenumiv{\theenumiv)}
  1026. \renewcommand\p@enumii{\theenumi}
  1027. \renewcommand\p@enumiii{\theenumi(\theenumii)}
  1028. \renewcommand\p@enumiv{\p@enumiii\theenumiii}
  1029. \newcommand\labelitemi{\textbullet}
  1030. \newcommand\labelitemii{\normalfont\bfseries \textendash}
  1031. \newcommand\labelitemiii{\textasteriskcentered}
  1032. \newcommand\labelitemiv{\textperiodcentered}
  1033. \newenvironment{description}
  1034. {\list{}{\labelwidth\z@ \itemindent-\leftmargin
  1035. \let\makelabel\descriptionlabel}}
  1036. {\endlist}
  1037. \newcommand*\descriptionlabel[1]{\hspace\labelsep
  1038. \normalfont\bfseries #1}
  1039. % ==============================================================================
  1040. % Equations
  1041. % ==============================================================================
  1042. \def\@eqnnum{\typeout{Equation: \theequation}\hb@[email protected]\p@{}%
  1043. \rlap{\normalfont\normalcolor
  1044. \hskip -\displaywidth(\theequation)}}
  1045. % ==============================================================================
  1046. % Minipage and Floats
  1047. % ==============================================================================
  1048. \setlength\floatsep{15\p@ \@plus 2\p@ \@minus 3\p@}
  1049. \setlength\textfloatsep{15\p@ \@plus 2\p@ \@minus 3\p@}
  1050. \setlength\intextsep{15\p@ \@plus 2\p@ \@minus 3\p@}
  1051. \setlength\dblfloatsep{15\p@ \@plus 2\p@ \@minus 3\p@}
  1052. \setlength\dbltextfloatsep{15\p@ \@plus 2\p@ \@minus 3\p@}
  1053. \setlength\@fptop{0\p@ \@plus 1fil}
  1054. \setlength\@fpsep{8\p@ \@plus 2fil}
  1055. \setlength\@fpbot{0\p@ \@plus 1fil}
  1056. \setlength\@dblfptop{0\p@ \@plus 1fil}
  1057. \setlength\@dblfpsep{8\p@ \@plus 2fil}
  1058. \setlength\@dblfpbot{0\p@ \@plus 1fil}
  1059. \setcounter{topnumber}{2}
  1060. \renewcommand\topfraction{.7}
  1061. \setcounter{bottomnumber}{1}
  1062. \renewcommand\bottomfraction{.3}
  1063. \setcounter{totalnumber}{3}
  1064. \renewcommand\textfraction{.2}
  1065. \renewcommand\floatpagefraction{.5}
  1066. \setcounter{dbltopnumber}{2}
  1067. \renewcommand\dbltopfraction{.7}
  1068. \renewcommand\dblfloatpagefraction{.5}
  1069. \newcommand\figurename{Figure}
  1070. \newcommand\tablename{Table}
  1071. \setlength\arraycolsep{5\p@}
  1072. \setlength\tabcolsep{6\p@}
  1073. \setlength\arrayrulewidth{.4\p@}
  1074. \setlength\doublerulesep{2\p@}
  1075. \setlength\tabbingsep{\labelsep}
  1076. \skip\@mpfootins = \skip\footins
  1077. \setlength\fboxsep{3\p@}
  1078. \setlength\fboxrule{.4\p@}
  1079. \renewcommand \theequation {\@arabic\c@equation}
  1080. \newcounter{figure}
  1081. \renewcommand \thefigure {\@arabic\c@figure}
  1082. \def\fps@figure{tbp}
  1083. \def\ftype@figure{1}
  1084. \def\ext@figure{lof}
  1085. \def\fnum@figure{\figurename\nobreakspace\thefigure.\nobreakspace}
  1086. \newenvironment{figure}[1][h]
  1087. {\@float{figure}[#1]\begin{center}}
  1088. {\end{center}\end@float}
  1089. \newenvironment{figure*}[1][h]
  1090. {\@dblfloat{figure}[#1]\begin{center}}
  1091. {\end{center}\end@dblfloat}
  1092. \if@PP % mlr 2010.04.27 P&P authors making figures/tables too small so force to full column
  1093. \renewenvironment{figure}[1][tp]
  1094. {\@dblfloat{figure}[#1]\begin{center}}
  1095. {\end{center}\end@dblfloat}
  1096. \fi
  1097. \newcounter{table}
  1098. \renewcommand\thetable{\@arabic\c@table}
  1099. \def\fps@table{tbp}
  1100. \def\ftype@table{2}
  1101. \def\ext@table{lot}
  1102. \def\fnum@table{\tablename\nobreakspace\thetable---}
  1103. \newenvironment{table}[1][h]
  1104. {\@float{table}[#1]\begin{center}}
  1105. {\end{center}\end@float}
  1106. \newenvironment{table*}[1][h]
  1107. {\@dblfloat{table}[#1]\begin{center}}
  1108. {\end{center}\end@dblfloat}
  1109. \if@PP % mlr 2010.04.27 P&P authors making figures/tables too small so force to full column
  1110. \renewenvironment{table}[1][tp]
  1111. {\@dblfloat{table}[#1]\begin{center}}
  1112. {\end{center}\end@dblfloat}
  1113. \fi
  1114. \newlength\abovecaptionskip
  1115. \newlength\belowcaptionskip
  1116. \setlength\abovecaptionskip{7\p@}
  1117. \setlength\belowcaptionskip{7\p@}
  1118. \long\def\@makecaption#1#2{%
  1119. \vskip\abovecaptionskip
  1120. \sbox\@tempboxa{\captionstyle\captionsize #1#2}%
  1121. \ifdim \wd\@tempboxa >\hsize
  1122. {\captionstyle\captionsize #1#2}\par
  1123. \else
  1124. \global \@minipagefalse
  1125. \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  1126. \fi
  1127. \vskip\belowcaptionskip}
  1128. \newenvironment{widefigure}{\begin{figure*}}{\end{figure*}}
  1129. \newenvironment{widetable}{\begin{table*}}{\end{table*}}
  1130. \newenvironment{tablenotes}[1][Note]{\begin{minipage}[t]{\linewidth}\notesize{\itshape#1: }}{\end{minipage}}
  1131. \newenvironment{figurenotes}[1][Note]{\begin{minipage}[t]{\linewidth}\notesize{\itshape#1: }}{\end{minipage}}
  1132. % ==============================================================================
  1133. % Footnotes
  1134. % ==============================================================================
  1135. %\def\thanks#1{\footnote{#1}}
  1136. %\setlength\footnotesep{1\p@ \@plus\p@} % ??? Missing Begin Document Error. Why?
  1137. \setlength{\skip\footins}{15\p@ \@plus 2\p@ \@minus 2\p@}
  1138. \renewcommand\footnoterule{%
  1139. \kern-3\p@
  1140. \hrule\@width\z@
  1141. \kern2.6\p@}
  1142. \newcommand\@makefntext[1]{%
  1143. \parindent 1em%
  1144. \noindent
  1145. \hb@[email protected]{\hss\@makefnmark}#1\hskip 1em}
  1146. % ==============================================================================
  1147. % Backmatter
  1148. % ==============================================================================
  1149. % Appendix
  1150. \def\@startappsection#1#2#3#4#5#6{%
  1151. \if@noskipsec \leavevmode \fi
  1152. \par
  1153. \@tempskipa #4\relax
  1154. \@afterindenttrue
  1155. \ifdim \@tempskipa <\z@
  1156. \@tempskipa -\@tempskipa \@afterindentfalse
  1157. \fi
  1158. \if@nobreak
  1159. \everypar{}%
  1160. \else
  1161. \addpenalty\@secpenalty\addvspace\@tempskipa
  1162. \fi
  1163. \@dblarg{\@appsect{#1}{#2}{#3}{#4}{#5}{#6}}}
  1164. \def\@appsect#1#2#3#4#5#6[#7]#8{%
  1165. \ifnum #2>\c@secnumdepth
  1166. \let\@svsec\@empty
  1167. \else
  1168. \refstepcounter{#1}%
  1169. \protected@edef\@svsec{\@seccntformat{#1}\relax}%
  1170. \fi
  1171. \@tempskipa #5\relax
  1172. \ifdim \@tempskipa>\z@
  1173. \begingroup
  1174. #6{%
  1175. \@hangfrom{\hskip #3\relax}%
  1176. \interlinepenalty \@M #8\@@par}%
  1177. \endgroup
  1178. \csname #1mark\endcsname{#7}%
  1179. \addcontentsline{toc}{#1}{%
  1180. \ifnum #2>\c@secnumdepth \else
  1181. \protect\numberline{\csname the#1\endcsname}%
  1182. \fi
  1183. #7}%
  1184. \else
  1185. \def\@svsechd{%
  1186. #6{\hskip #3\relax
  1187. \@svsec #8}%
  1188. \csname #1mark\endcsname{#7}%
  1189. \addcontentsline{toc}{#1}{%
  1190. \ifnum #2>\c@secnumdepth \else
  1191. \protect\numberline{\csname the#1\endcsname}%
  1192. \fi
  1193. #7}}%
  1194. \fi
  1195. \@xsect{#5}}
  1196. \newcommand\appendixname{APPENDIX}
  1197. \def\appendix{\if@twocolumn\@restonecoltrue\onecolumn\fi
  1198. \setcounter{secnumdepth}{2}
  1199. \setcounter{section}{0}
  1200. \setcounter{figure}{0}
  1201. \numberwithin{figure}{section}
  1202. \setcounter{table}{0}
  1203. \numberwithin{table}{section}
  1204. \setcounter{equation}{0}
  1205. \numberwithin{equation}{section}
  1206. \renewcommand\thesection{\@Alph\c@section}
  1207. \renewcommand\thesubsection{\thesection\@arabic\c@subsection}
  1208. \renewcommand\theequation {\thesection\@arabic\c@equation}
  1209. \renewcommand\thefigure{\thesection\@arabic\c@figure}
  1210. \renewcommand\thetable{\thesection\@arabic\c@table}
  1211. \renewcommand\section{%
  1212. \@startappsection{section}{1}{\z@}%
  1213. {\abovesectionskip}%
  1214. {\belowsectionskip}%
  1215. {\appendixsectionstyle}}
  1216. \renewcommand\subsection{%
  1217. \@startsection{subsection}{2}{\z@}%
  1218. {\abovesectionskip}%
  1219. {\belowsectionskip}%
  1220. {\appendixsubsectionstyle}}
  1221. }
  1222. % references
  1223. \newcommand\refname{REFERENCES}
  1224. \newdimen\bibindent
  1225. \setlength\bibindent{1.5em}
  1226. \newenvironment{thebibliography}[1]
  1227. {\if@JEP\subsection*{\MakeUppercase{\refname}}\else\section*{\MakeUppercase{\refname}}\fi%
  1228. \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
  1229. \list{}%
  1230. {\settowidth\labelwidth{}%
  1231. \leftmargin\labelwidth
  1232. \itemsep 1pt
  1233. \parsep 1pt
  1234. \advance\leftmargin\labelsep
  1235. \@openbib@code
  1236. \usecounter{enumiv}%
  1237. \let\p@enumiv\@empty
  1238. \renewcommand\theenumiv{\@arabic\c@enumiv}}%
  1239. \sloppy
  1240. \clubpenalty4000
  1241. \@clubpenalty \clubpenalty
  1242. \widowpenalty8000%
  1243. \sfcode`\.\@m}
  1244. {\def\@noitemerr
  1245. {\@latex@warning{Empty `thebibliography' environment}}%
  1246. \endlist}
  1247. \newcommand\newblock{\hskip .11em\@plus0.33em\@minus.07em}
  1248. \let\@openbib@code\@empty
  1249. % ==============================================================================
  1250. % Theorem-Likes
  1251. % ==============================================================================
  1252. \def\@begintheorem#1#2{\trivlist
  1253. \item[\hskip \labelsep{\MakeUppercase{#1}\ #2: }]\itshape}
  1254. \def\@opargbegintheorem#1#2#3{\trivlist
  1255. \item[\hskip \labelsep{\MakeUppercase{#1}\ #2\ (#3): }]\itshape}
  1256. \newenvironment{proof}[1][PROOF]{\noindent\MakeUppercase{#1:}\par }{\par\par}
  1257. % ==============================================================================
  1258. % SW Adjustments
  1259. % ==============================================================================
  1260. \AtBeginDocument{
  1261. \def\QTR#1{\csname #1\endcsname}
  1262. }
  1263. % ==============================================================================
  1264. % Miscellaneous
  1265. % ==============================================================================
  1266. \setlength\overfullrule{0pt}
  1267. \setlength\overfullrule{5pt}
  1268. \def\today{\ifcase\month\or
  1269. January\or February\or March\or April\or May\or June\or
  1270. July\or August\or September\or October\or November\or December\fi
  1271. \space\number\day, \number\year}
  1272. % ==============================================================================
  1273. % ==============================================================================
  1274. \endinput
  1275. % End of file AEA.cls