1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
%%% LaTeX class for manuscripts submitted to the
%%% American Journal of Agricultural Economics (AJAE)
%%%
%%% author: Arne Henningsen
%%% version: 1.0 (22 August 2006)
%%% license: LaTeX Project Public License
%%%
%%% Note: This is an unofficial style file that may not fully comply
%%% with the AJAE Formatting Instructions in every detail.
%%% Please report any problems to <ahenningsen@email.uni-kiel.de>.
%%% Further information is available at
%%% http://www.uni-kiel.de/agrarpol/ahenningsen/latex-bibtex.html
%%%
%%% This document class is based on the "scrartcl" class
%%% from the KOMA script bundle.
%%% Following additional packages are required:
%%% amsmath, babel, bm, courier, endfloat, endnotes, geometry,
%%% helvet, mathptmx, natbib, setspace, titlesec, url
%%%
%%% The corresponding BibTeX style file "ajae.bst" should be used
%%% for the bibliography: \bibliographystyle{ajae}
%%%
%%% This document class provides 6 new commands:
%%% \keywords can be use to show keywors below the abstract
%%% \jelclass can be use to show JEL classifications below the abstract
%%% \veclatin should be used for latin symbols that denote vectors
%%% \matlatin should be used for latin symbols that denote matrices
%%% \vecgreek should be used for greek symbols that denote vectors
%%% \matgreek should be used for greek symbols that denote matrices
%%%
%%% If you use footnotes, add following lines before the reference section:
%%% \clearpage
%%% \listofendnotes
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ajae}[2006/08/22 LaTeX class for the American Journal of Agricultural Economics]
% pass any options on to the scrartcl class and load this class with some options
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\LoadClass[12pt,english,tablecaptionabove]{scrartcl}
% tablecaptionabove = use \captionabove for tables
% page format, margins
\RequirePackage{geometry}
\geometry{letterpaper, tmargin=1.0in, bmargin=1.1in, lmargin=1.25in,
rmargin=1.25in, headheight=0in, headsep=0in, footskip=0.5in }
% double spacing
\RequirePackage{setspace}
\doublespacing
% spacing around (sub)section headers
\RequirePackage{titlesec}
\titlespacing*{\section}{0pt}{1em}{0.25em}
\titlespacing*{\subsection}{0pt}{0.85em}{0.15em}
% spacing around formulas
\AtBeginDocument{
\setlength{\abovedisplayshortskip}{6pt}
\setlength{\belowdisplayshortskip}{6pt}
\setlength{\abovedisplayskip}{6pt}
\setlength{\belowdisplayskip}{6pt}
\allowdisplaybreaks
}
% spacing around captions and floats
\setlength{\abovecaptionskip}{6pt}
\setlength{\belowcaptionskip}{3pt}
\setlength{\floatsep}{0pt}
\setlength{\textfloatsep}{20pt}
\setlength{\intextsep}{5pt}
% font families: times/helvetica/courier
\RequirePackage{mathptmx}
\RequirePackage[scaled=.90]{helvet}
\RequirePackage{courier}
% font for section headers
\setkomafont{section}{\normalfont\bfseries}
% font for subsection headers
\setkomafont{subsection}{\normalfont\itshape}
% fonts for math
\RequirePackage[leqno,fleqn]{amsmath}
\RequirePackage{bm}
% latin symbols for vectors and matrices
\newcommand{\veclatin}[1]{\bm{#1}}
\newcommand{\matlatin}[1]{\bm{#1}}
% greek symbols for vectors and matrices
\newcommand{\vecgreek}[1]{\pmb{#1}}
\newcommand{\matgreek}[1]{\pmb{#1}}
% font for URLs
\RequirePackage{url}
\def\UrlFont{\rmfamily}
% citations and bibliography
\RequirePackage[authoryear]{natbib}
\bibpunct{(}{)}{;}{a}{}{,}
\setlength{\bibsep}{0pt}
% captions of figures and tables
\setcapwidth[l]{\textwidth}
\setcapindent{0pt}
\setkomafont{captionlabel}{\normalfont\bfseries}
\setkomafont{caption}{\normalfont\bfseries}
\renewcommand{\captionformat}{.\ }
% section and subsections are not numbered
\setcounter{secnumdepth}{0}
% titlepage without author and date
\renewcommand{\maketitle}{
\begin{spacing}{1.5}
\centering
\LARGE{\textbf{\@title}}%
\end{spacing}
}
% abstract, keywords, JEL classification
\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
\renewenvironment{abstract}{%
\begin{center}
\begin{minipage}{0.9 \textwidth}
\small
\begin{center}
\textbf{Abstract}
\end{center}
}{%
\smallskip\\ \noindent
Key words: \@keywords
\smallskip\\ \noindent
JEL classification: \@jelclass
\end{minipage}
\end{center}%
\noindent%
}
% use babel package and set language to english
\RequirePackage[english]{babel}
% avoid clubs and widows
\clubpenalty=10000
\widowpenalty=10000
% \displaywidowpenalty=10000
% increase stretchability of the spaces (avoid overful hboxes)
\setlength{\emergencystretch}{3em}
% use endnotes in place of footnotes
\RequirePackage{endnotes}
\let\footnote=\endnote
\newcommand{\listofendnotes}{
\begingroup
\parindent 0pt
\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes
\endgroup
}
% move floats to the end of the paper
\RequirePackage[tabhead,fighead,nomarkers,nolists]{endfloat}
% for compatibility with erae.cls
\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
|