Debian Codegraph @

texmf-dist/doc/bibtex/economic/ajae-ex.tex

raw
1 \documentclass{ajae}
2 \usepackage[T1]{fontenc}
3 \usepackage[latin1]{inputenc}
4
5 \usepackage{hyperref}
6 \hypersetup{%
7 colorlinks = {true},
8 urlcolor = {blue},
9 linkcolor = {black},
10 citecolor = {black},
11 pdfauthor = {Arne Henningsen},
12 pdftitle = {Testing LaTeX class and BibTeX style for the
13 American Journal of Agricultural Economics (AJAE)},
14 pdfkeywords = {AJAE, BibTeX, LaTeX}
15 }
16
17 \usepackage{multido}
18
19 \title{Testing \LaTeX{} class and Bib\TeX{} style for the
20 ``American Journal of Agricultural Economics'' (AJAE)}
21 \keywords{AJAE, BibTeX, LaTeX}
22 \jelclass{A1, B2, C3}
23
24 \begin{document}
25
26 \maketitle
27
28 \begin{abstract}
29 \multido{}{15}{This is an abstract. }
30 \end{abstract}
31
32 \multido{}{7}{Do not indent the first paragraph. }
33
34 \multido{}{7}{Do not use a heading for the first section. }
35
36 Type all footnotes on a separate page following the article.%
37 \footnote{
38 \multido{}{5}{This is a footnote that looks like an endnote. }
39 }
40 Place each table and figure on a separate page at the end of the paper
41 (see figure~\ref{fig:dummy} and table~\ref{tab:citations}).
42
43 \begin{figure}[htbp]
44 \fbox{\parbox{0.6 \textwidth}{\centering
45 \vspace{0.2 \textwidth}
46 This is not a figure.
47 \vspace{0.2 \textwidth}
48 }}
49 \caption{Dummy figure}
50 \label{fig:dummy}
51 \end{figure}
52
53 \begin{figure}[htbp]
54 \fbox{\parbox{0.6 \textwidth}{\centering
55 \vspace{0.2 \textwidth}
56 This is not a figure, too.
57 \vspace{0.2 \textwidth}
58 }}
59 \caption{Figure with \multido{}{40}{very } long title}
60 \label{fig:long-title}
61 \end{figure}
62
63
64 \section{Manuscript Formatting}
65 The manuscript formatting instructions are available at
66 \url{http://ajae.aem.cornell.edu/formatting.htm}.
67 A detailed reference guide is available at
68 \url{http://ajae.aem.cornell.edu/documents/ReferenceGuideMarch2006.pdf}.
69 All references used as examples in the reference guide are shown in this document
70 to demonstrate that the AJAE Bib\TeX{} style complies with these guidelines.
71 Please report any problems at
72 \url{http://sourceforge.net/projects/economtex/}.
73
74
75 \section{Citations}
76 \subsection{Citations in Text}
77 \citet{Black29} says A, \citet{Wold89} say B, \citet{Wold} say C,
78 \citet{Wold4} say D, \citet{Wold5} say E., \citet{Brown65} says F,
79 and the \citet{USDA65} says G.
80 An overview is available in table~\ref{tab:citations}.
81
82 \begin{table}[htbp]
83 \caption{Citations}
84 \label{tab:citations}
85 \begin{tabular}{lc}
86 \hline
87 Author(s) & Statement\\
88 \hline
89 \citet{Black29} & A\\
90 \citet{Wold89} & B\\
91 \citet{Wold} & C\\
92 \citet{Wold4} & D\\
93 \citet{Wold5} & E\\
94 \citet{Brown65} & F\\
95 \citet{USDA65} & G \\
96 \hline
97 \end{tabular}
98 \medskip \\
99 Note: Do not use vertical lines in tables.
100 \end{table}
101
102
103 \subsection{Citations in Parenthesis}
104 A equals B \citep{Black29}, B equals C \citep{Wold89}, C equals D \citep{Wold},
105 D equals E \citep{Wold4}, E equals F \citep{Wold5}, F equals G \citep{Brown65},
106 and G equals A \citep{USDA65}.
107 Hence, A, B, C, D, E, F, and G are all equal
108 \citep{Black29, Wold89, Wold, Wold4, Wold5, Brown65, USDA65}.
109
110 %%% This is just to test the compatibility functions \citetPage and \citepPage
111 % \subsection{Citations with Page Numbers}
112 % \citetPage{123}{Black29} says A, \citetPage{234}{Wold89} say B,
113 % \citetPage{345}{Wold} say C, and \citetPage{456}{Wold4} say D.
114 % A equals B \citepPage{123}{Black29}, B equals C \citepPage{234}{Wold89},
115 % C equals D \citepPage{345}{Wold}, and D equals A \citepPage{456}{Wold4}.
116
117
118 \section{Equations}
119 All displayed equations should be left-justified
120 and numbered consecutively (on the left).
121 Vectors and matrices should be in bold.
122 \begin{equation}
123 \veclatin{ y } = a + \matlatin{ X } \veclatin{ b }
124 \end{equation}
125 where $a$ is a scalar,
126 $\veclatin{ y }$ and $\veclatin{ b }$ are vectors,
127 and $\matlatin{ X }$ is a matrix.
128 Of course, the same holds for Greek symbols.
129 \begin{equation}
130 \vecgreek{ \theta } = \alpha + \matgreek{ \Psi } \vecgreek{ \beta }
131 \end{equation}
132 where $\alpha$ is a scalar,
133 $\vecgreek{ \theta }$ and $\vecgreek{ \beta }$ are vectors,
134 and $\matgreek{ \Psi }$ is a matrix.
135
136 \clearpage
137 \listofendnotes
138
139 \clearpage
140 \nocite{*}
141
142 \bibliographystyle{ajae}
143 \bibliography{ajae-ex}
144
145 \end{document}