Debian Codegraph @

texmf-dist/doc/latex/cje/cjetemplate.tex

raw
1 %% This is file cjetemplate.tex
2 %% 2023/10/26 v1.07
3 %% =========
4 %%
5 %% COPYRIGHT (c) 2023 Canadian Economics Association
6 %%
7 %% LICENSE
8 %% =======
9 %%
10 %% This work can be distributed and/or modified under the conditions of the LaTeX Project Public License,
11 %% either version 1.3 of this license or any later version. The latest version of this license is available at
12 %% latex-project.org/lppl.txt. Version 1.3, or later, is part of all distributions of LaTeX version 2005/12/01 or later.
13
14
15 \NeedsTeXFormat{LaTeX2e}
16
17 \documentclass{cje} % for use when submitting final paper for publication
18 %
19 % \documentclass[review]{cje} % for use at initial submission (double spaced, with line numbers)
20 %
21 % \documentclass[proof]{cje} % for typesetters
22 % % (with line numbers and typesetting details)
23 %
24 \usepackage{cjenatbib}
25 \usepackage{url}
26
27 \ifx\pdftexversion\undefined
28 \usepackage[dvips]{graphicx}
29 \else
30 \usepackage[pdftex]{graphicx}
31 \usepackage{epstopdf}
32 \epstopdfsetup{suffix=}
33 \fi
34
35 \usepackage{tabularx}
36 \usepackage[figuresright]{rotating}
37 \usepackage{floatpag}
38 \rotfloatpagestyle{empty}
39 \usepackage{amsmath}
40 \usepackage{amsthm}
41 \theoremstyle{plain}% default
42 \newtheorem{theorem}{Theorem}
43 \newtheorem{lemma}{Lemma}
44 \newtheorem{proposition}{Proposition}
45 \newtheorem*{corollary}{Corollary}
46 \theoremstyle{definition}
47 \newtheorem{definition}{Definition}
48 \newtheorem{example}{Example}
49 \theoremstyle{remark}
50 \newtheorem*{remark}{Remark}
51 \newtheorem*{case}{Case}
52 \usepackage{lmodern}
53 \usepackage{upquote}
54 \usepackage{hyperref}
55
56 %To enable possessive citations (using \citeapos)
57 \def\citeapos#1{\citeauthor{#1}'s (\citeyear{#1})}
58
59 %If you have landscape tables or figures
60 \usepackage[figuresright]{rotating}
61 \usepackage{floatpag}
62 \rotfloatpagestyle{empty}
63
64 \hypersetup{%
65 pdftitle = {Article Name},
66 pdfauthor = {Author One, Author Two, Author Three,
67 Author Four and Author Five},
68 citecolor=blue,
69 urlcolor=blue,
70 colorlinks = true,
71 }
72
73 \bibpunct{(}{)}{,}{a}{}{;}
74
75 \begin{document}
76 \label{firstpage}
77
78 %title
79 \title[]{} %For running heads. [short running title (max. 40 characters if possible)]{full title}
80 \authors{} %Summary of authors for running heads. {Author initials and family names separated by commas except before ``and''}
81
82 % authors and affiliations
83 \authorone{}{} %{Full name of author one}{Name of department and organization or institution; separate multiple affiliations with semi-colon}
84 \authortwo{}{} %{Full name of author two}{Name of department and organization or institution; separate multiple affiliations with semi-colon}
85 \authorthree{}{} %{Full name of author three}{Name of department and organization or institution; separate multiple affiliations with semi-colon}
86 \authorfour{}{} %{Full name of author four}{Name of department and organization or institution; separate multiple affiliations with semi-colon}
87
88 \abstract{} %{English abstract}
89
90 \resume{} %{French abstract}. If you don't provide one, leave blank. The English abstract will be translated into French for you and inserted here.
91
92 \JEL{} %{JEL classification codes, separated by commas}
93
94 \acknowledgements{}
95
96 \maketitle
97
98 \section{}
99 \subsection{}
100 \subsubsection{}
101
102 \begin{enumerate}
103 \item
104 \item
105 \end{enumerate}
106
107 \begin{extract}
108 \end{extract}
109
110 \begin{epigraph}
111 \epigraphauthor{}
112 \end{epigraph}
113
114 \marginpar{} %To add margin notes for reviewers, copyeditor, etc.
115
116 %Itemized lists are set off with bullet points. Itemized sublists are set off with en dashes
117 \begin{itemize}%Itemized list
118 \item
119 \item
120 \begin{itemize}%Itemized sublist
121 \item
122 \end{itemize}
123 \end{itemize}
124
125 \begin{table}
126 \caption{}%\caption{} must appear before \label{}
127 \label{}%Label with table number
128 \begin{minipage}{28pc}% you need this line if your table has notes and/or footnotes
129 % (28pc is the text width)
130 \begin{tabular}{@{}lrrrr@{}}\hline
131 xxxxx\tablenote{NOTES: } & %xxxxx indicates first column heading
132 \multicolumn{1}{c}{} & %second column heading
133 \multicolumn{1}{c}{} & %third column heading
134 \multicolumn{1}{c}{} & %fourth column heading
135 \multicolumn{1}{c}{}\\ \hline %fifth column heading and line
136 & & & & \\
137 & & & & \\
138 & & & & \\
139 & & & & \footnote{}\\%Place the footnote command to the right of the item requiring a footnote
140 \finalhline
141 \end{tabular}
142 \end{minipage}% Use this line only if you used \begin{minipage}
143 \end{table}
144
145 \begin{figure}
146 \includegraphics[width=0.6\textwidth]{}
147 \caption{
148 \figurenote NOTE: }
149 \label{}%Label with figure number
150 \end{table}
151
152 \begin{proof}
153 \end{proof}
154
155 \begin{proof}[]%To replace "proof" with [another word or phrase]
156 \end{proof}
157
158 %Manual creation reference list
159 \begin{thebibliography}
160 \newcommand{\enquote}[1]{``#1''}
161
162 \bibitem[{}]{}
163 Aisa, R., and F. Pueyo (2004) ``Endogenous longevity, health and
164 economic growth: A slow growth for a longer life?,'' \textit{Economics
165 Bulletin} 9(5), 1--10
166 \end{thebibliography}{}
167 % Using BibTeX and .bib file
168
169 %Creation of reference list using .bib file
170 \bibliography{}
171 \bibliographystyle{cjebibstyle} % to impose CJE bibliography style on output
172
173
174 %\oneappendix %For only one appendix (will not be numbered)
175 \appendix
176 \section{}
177 \label{}
178
179 \subsection{}
180 \label{}
181
182 \section{}
183 \label{}
184
185
186 %More than one appendix (numbered A1, A2, etc.)
187 \appendix
188 \section{}
189 \label{}
190
191 \section{}
192 \label{}
193
194 \label{lastpage}
195 \end{document}