Debian Codegraph @

texmf-dist/doc/bibtex/econ-bst/econ-example.tex

raw
1 %#!pdflatex
2 %#BIBTEX bibtex econ-example
3 % Filename: econ-example.tex
4 % Author: Shiro Takeda
5 % First-written: <2002/11/02>
6 %
7 % This document explains how to use econ.bst.
8
9 %############################## Main #################################
10
11 \documentclass[10pt]{article}
12
13 %% Use natbib.sty.
14 \usepackage{natbib}
15 \usepackage{fancybox}
16 \usepackage{newtxtext,newtxmath}
17 \usepackage{url}
18 \usepackage{graphicx}
19 \usepackage{color}
20 \definecolor{MyBrown}{rgb}{0.3,0,0}
21 \definecolor{MyBlue}{rgb}{0,0.2,0.6}
22 \definecolor{MyRed}{rgb}{0.4,0,0.1}
23 \definecolor{MyGreen}{rgb}{0,0.4,0}
24 \usepackage[bookmarks=true,bookmarksnumbered=true,colorlinks=true,linkcolor=MyBlue,citecolor=MyRed,filecolor=MyBlue,urlcolor=MyGreen,pagebackref]{hyperref}
25
26 % Change the style for back reference.
27 \renewcommand*\backref[1]{\ifx#1\relax \else [#1] \fi}
28
29 \setlength{\topmargin}{-15pt}
30 \setlength{\textheight}{638pt}
31 \setlength{\oddsidemargin}{25pt}
32 \setlength{\textwidth}{420pt}
33
34 \makeatletter
35
36 % Set the roman font to font for URL (the default font for URL is type writer font).
37 \renewcommand\UrlFont{\rmfamily}
38
39 \newenvironment{Frame}%
40 {\setlength{\fboxsep}{15pt}
41 \setlength{\mylength}{\linewidth}%
42 \addtolength{\mylength}{-2\fboxsep}%
43 \addtolength{\mylength}{-2\fboxrule}%
44 \Sbox
45 \minipage{\mylength}%
46 \setlength{\abovedisplayskip}{0pt}%
47 \setlength{\belowdisplayskip}{0pt}%
48 }%
49 {\endminipage\endSbox
50 \[\fbox{\TheSbox}\]}
51
52 \newcommand{\bysameline}{\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em}
53
54 %% Define \BibTeX command
55 \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
56 T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
57 \makeatother
58
59 %%% title, author, acknowledgement, and date
60 \title{\texttt{econ.bst}:\\
61 \BibTeX{} style for economics\\(ver. 3.3)\thanks{\texttt{econ.bst} is available at
62 \url{https://github.com/ShiroTakeda/econ-bst}}
63 }
64
65 \author{Shiro Takeda\thanks{email: {\ttfamily [email protected]}.}}
66 \date{2025-04-30}
67
68 %#####################################################################
69 %######################### Document Starts ###########################
70 %#####################################################################
71 \begin{document}
72
73 %%% Title
74 \maketitle
75
76 \newlength{\mylength}
77 \setlength{\fboxsep}{15pt}
78 \setlength{\mylength}{\linewidth}
79 \addtolength{\mylength}{-2\fboxsep}
80 \addtolength{\mylength}{-2\fboxrule}
81
82 %%% Table of contents.
83 \tableofcontents
84
85 %########################## Text Starts ##############################
86
87 \setlength{\baselineskip}{16pt}
88
89 \section{Main features}
90
91 ``\texttt{econ.bst}'' is a \BibTeX{} style file. It provids the following
92 features:
93 \begin{Frame}
94 \begin{itemize}
95 \item The author-year type citation (you need ``\texttt{natbib.sty}'' as well).
96 \item Reference style used in economics papers.
97 \item Highly customizable. You can easily customize reference style as you
98 wish.
99 \item You can use ``\textit{certified random order}'' proposed by
100 \href{http://dx.doi.org/10.1257/aer.20161492}{\citet[][AER]{10.1257/aer.20161492}}.
101 \begin{itemize}
102 \item If you want to use certified random order, please see Section
103 \ref{sec:cro}.
104 \end{itemize}
105 \end{itemize}
106 \end{Frame}
107
108 \textbf{The third feature is the key characteristic of ``\texttt{econ.bst}''.}
109
110 \section{How to use ``\texttt{econ.bst}''}
111
112 \begin{itemize}
113 \item ``\texttt{econ.bst}'' requires ``\texttt{natbib.sty}'', which is
114 installed in the standard \TeX{} system.
115 \item Put ``\texttt{econ.bst}'' file somewhere under the directory (folder)
116 ``\texttt{/texmf/bibtex/bst}''. Or you can place ``\texttt{econ.bst}'' at
117 the same directory as the \TeX{} file you are editting.
118 \item See ``\texttt{econ-example.tex}'' for preparing an tex file.
119 \item For \BibTeX{} in general, see, for example,
120 \href{https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM}{Using
121 BibTeX: a short guide} by Martin J. Osborne.
122 \end{itemize}
123
124
125 \subsection{Preparing a tex file}
126
127 In the tex file you are editting, you first need to load \texttt{natbib}
128 package in the preample (i.e. before \verb|\begin{document}|)
129 \begin{Frame}
130 \begin{verbatim}
131 \usepackage{natbib}
132 \end{verbatim}
133 \end{Frame}
134
135 In the main text, you can cite bibliographic entries by \verb|\citet|
136 command.
137
138 For example, ``\verb|\citet{Takeda2014a}| is my paper'' generates the output like
139 \begin{Frame}
140 \citet{Takeda2014a} is my paper.
141 \end{Frame}
142
143 At the place where you want to add ``the reference part'', you have to set the
144 bibliography style (\texttt{econ.bst}) and database (\texttt{econ-example.bib}) like
145 \begin{Frame}
146 \begin{verbatim}
147 \bibliographystyle{econ}
148 \bibliography{econ-example}
149 \end{verbatim}
150 \end{Frame}
151 Note that you should not attach the extension ``bst'' and ``bib'' to the bst and
152 database file name.
153
154 \subsection{Running pdf\TeX{}}
155
156 \texttt{econ-example.tex} is created so that it is compiled with pdf\LaTeX\
157 (``\texttt{pdflatex.exe}''). So to compile \texttt{econ-example.tex}, you just
158 execute the following commnads.
159 \begin{Frame}
160 \begin{verbatim}
161 pdflatex econ-example.tex
162 bibtex econ-example
163 pdflatex econ-example.tex
164 pdflatex econ-example.tex
165 \end{verbatim}
166 \end{Frame}
167
168 \section{Customization}
169
170 ``\texttt{econ.bst}'' defines many functions which have names like
171 ``\texttt{bst.xxx.yyy}''. You can easily customize the reference style by
172 changing the contents of these functions.
173
174 \subsection{Notes on customization}
175
176 \begin{itemize}
177 \item Customization here is customization of the reference part. Style
178 in the citation part mainly depends on a style file for citation
179 (``\texttt{natbib.sty}'').
180 \item Except for some cases, customization here cannot change order
181 of fields (order of author, year, title etc.)
182 \item Functions with ``\texttt{.pre}'' define strings attached to the start
183 of the field and functions with ``\texttt{.post}'' define strings
184 attached to the end of field. For exmple,
185 ``\texttt{bst.author.pre}'' defines strings attached before author.
186 \item You can change order of entries (references). It will be
187 explained in Section \ref{sec:sort_rule}.
188 \item In a bst file, integer (e.g. 0, 1, 2) is represented as \verb|#0|, \verb|#1| , \verb|#2|.
189 \end{itemize}
190
191 \subsection{Customized bst files}
192
193 Many customized bst files listed in Table \ref{tab:c-files} are already
194 provided. You can find these files under the ``customization'' folder. See
195 \url{https://github.com/ShiroTakeda/econ-bst/tree/master/customization}.
196
197 \begin{table}[htbp]
198 \begin{flushleft}
199 \caption{List of customized files.}
200 \label{tab:c-files}
201 \begin{tabular}{l|l} \hline \hline
202 \multicolumn{1}{c}{bst files} & \multicolumn{1}{c}{Explanation} \\\hline
203 \texttt{econ.bst} & The default econ.bst file. \\\hline
204 \texttt{econ-a.bst} & A simple style. \\\hline
205 \texttt{econ-b.bst} & A style with much decoration. \\\hline
206 \texttt{econ-no-sort.bst} & This style lists entries in citation order. \\\hline
207 \texttt{econ-abbr.bst} & This style uses abbreviated journal name. \\\hline
208 \texttt{econ-aea.bst} & The style for AEA journals such as AER, JEL, AEJ and JEP. \\\hline
209 \texttt{econ-econometrica.bst} & The style for Econometrica. \\\hline
210 \texttt{econ-jpe.bst} & The style for JPE (\textit{Journal of Poilitical Economy}). \\\hline
211 \texttt{econ-jet.bst} & The style for JET (\textit{Journal of Economic Theoriy}). \\\hline
212 \texttt{econ-jie.bst} & The style for JIE (\textit{Journal of International Economics}). \\\hline
213 \texttt{econ-te.bst} & The style for TE (\textit{Theoretical Economics}). \\\hline
214 \texttt{econ-old.bst} & The style of the old econ.bst. \\\hline
215 \end{tabular}
216 \end{flushleft}
217 \end{table}
218
219 \subsection{Examples of customization}
220
221 \subsubsection{Change delimiter used to separate mutiple author names
222 from ``and'' to ``\&''.}
223
224 For this, change the contents of ``\texttt{bst.and}'' and ``\texttt{bst.ands}''.
225 \paragraph{Default definition:}
226 \begin{Frame}
227 \begin{verbatim}
228 FUNCTION {bst.and}
229 { " and " }
230 FUNCTION {bst.ands}
231 { ", and " }
232 \end{verbatim}
233 \end{Frame}
234
235 \paragraph{New definition:}
236 \begin{Frame}
237 \begin{verbatim}
238 FUNCTION {bst.and}
239 { " \& " }
240 FUNCTION {bst.ands}
241 { " \& " }
242 \end{verbatim}
243 \end{Frame}
244
245 Then, author names in reference part are displayed as follows:
246 \begin{center}
247 Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables \\
248 $\downarrow$ \\
249 Fujita, Masahisa, Paul~R. Krugman \& Anthony~J. Venables
250 \end{center}
251
252 See ``\texttt{econ-b.bst}'' for an example.
253
254 \subsubsection{Make author to small caps style}
255
256 For this, change the contents of ``\texttt{bst.author.pre}'' and ``\texttt{bst.author.post}''.
257 \paragraph{Default definition:}
258 \begin{Frame}
259 \begin{verbatim}
260 FUNCTION {bst.author.pre}
261 { "" }
262 FUNCTION {bst.author.post}
263 { "" }
264 \end{verbatim}
265 \end{Frame}
266
267 \paragraph{New definition:}
268 \begin{Frame}
269 \begin{verbatim}
270 FUNCTION {bst.author.pre}
271 { "\textsc{" }
272 FUNCTION {bst.author.post}
273 { "}" }
274 \end{verbatim}
275 \end{Frame}
276
277 Then, author names in reference part are changed as follows:
278 \begin{center}
279 Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables \\
280 $\downarrow$ \\
281 \textsc{Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables}
282 \end{center}
283
284 See ``\texttt{econ-b.bst}'' for an example.
285
286 \subsubsection{Change the style of volume and number}
287
288 For this, change the contents of ``\texttt{bst.volume.pre}'',
289 ``\texttt{bst.volume.post}'', ``\texttt{bst.number.pre}'' and
290 ``\texttt{bst.number.post}''.
291
292 \paragraph{Default definition:}
293 \begin{Frame}
294 \begin{verbatim}
295 FUNCTION {bst.volume.pre}
296 { ", " }
297 FUNCTION {bst.volume.post}
298 { "" }
299 FUNCTION {bst.number.pre}
300 { " (" }
301 FUNCTION {bst.number.post}
302 { ")" }
303 \end{verbatim}
304 \end{Frame}
305
306 \paragraph{New definition:}
307 \begin{Frame}
308 \begin{verbatim}
309 FUNCTION {bst.volume.pre}
310 { ", Vol. " }
311 FUNCTION {bst.volume.post}
312 { "" }
313 FUNCTION {bst.number.pre}
314 { ", No. " }
315 FUNCTION {bst.number.post}
316 { "" }
317 \end{verbatim}
318 \end{Frame}
319
320 By this, the style of volume and number change from ``5 (10)'' to ``Vol. 5,
321 Non. 10''. See ``\texttt{econ-b.bst}'' for an example.
322
323 \subsubsection{Abbreviation of author name}
324
325 By default, when there are mutiple documents of the same author, author
326 name except for the first document is abbreviated by \verb|\bysame|
327 command (i.e. \bysameline).
328
329 If you want to always show author name for all documents, change the
330 content of ``\texttt{bst.use.bysame}'' as follows:
331 \begin{Frame}
332 \begin{verbatim}
333 FUNCTION {bst.use.bysame}
334 { #0 }
335 \end{verbatim}
336 \end{Frame}
337
338 In the default setting (`\texttt{bst.use.bysame}' is set to \#1), author names
339 are abbreviated when they are exactly the same. For example, suppose that there
340 are the following entries
341 \begin{itemize}
342 \item Mazda, A., Subaru, B., and Honda, C., (2011) "ABC"
343 \item Mazda, A., Subaru, B., and Honda, C., (2011) "DEF"
344 \item Mazda, A., Subaru, B., and Toyota, D., (2011) "GHI"
345 \end{itemize}
346 \vspace*{1em}
347
348 In the default setting, these entries are listed like
349 \begin{Frame}
350 \begin{itemize}
351 \item Mazda, A., Subaru, B., and Honda, C., (2011) "ABC"
352 \item \bysameline, (2011) "DEF"
353 \item Mazda, A., Subaru, B., and Toyota, D., (2011) "GHI"
354 \end{itemize}
355 \end{Frame}
356
357 That is, the abbreviation of authors by `bysame' is only applied to
358 entries with exactly the same authors.
359
360 If you set \#2 to `bst.use.bysame' like
361 \begin{Frame}
362 \begin{verbatim}
363 FUNCTION {bst.use.bysame}
364 { #2 }
365 \end{verbatim}
366 \end{Frame}
367 you can choose alternative abbreviation style like
368 \begin{Frame}
369 \begin{itemize}
370 \item Mazda, A., Subaru, B., Honda, C., (2011) "ABC"
371 \item \bysameline, \bysameline, and \bysameline, (2011) "DEF"
372 \item \bysameline, \bysameline, and Toyota, D., (2011) "GHI"
373 \end{itemize}
374 \end{Frame}
375 \vspace*{1em}
376
377 See ``\texttt{econ-a.bst}'' and ``\texttt{econ-b.bst}'' for examples.
378
379
380 \subsubsection{Order of first and last name in author field}
381
382 ``\texttt{bst.author.name}'' defines order of first and last name in author field.
383
384 \paragraph{Default definition:}
385 \begin{Frame}
386 \begin{verbatim}
387 FUNCTION {bst.author.name}
388 { #0 }
389 \end{verbatim}
390 \end{Frame}
391
392 If you change \verb|#0| to \verb|#1| or \verb|#2|, you can customize
393 order of first and family name. For example, suppose author field is
394 defined as follows:
395 \begin{verbatim}
396 author = {Masahisa Fujita and Paul R. Krugman and Anthony J. Venables}
397 \end{verbatim}
398
399 According to the content of ``\texttt{bst.author.name}'', expression of
400 author changes as follows:
401 \begin{Frame}
402 \begin{itemize}
403 \item \verb|#0|: First author $\rightarrow$ last-first, other authors
404 $\rightarrow$ first-last.\\
405 $\rightarrow$ Fujita, Masahisa, Paul~R. Krugman, and
406 Anthony~J. Venables
407 \item \verb|#1|: All authos $\rightarrow$ last-first \\
408 $\rightarrow$ Fujita, Masahisa, Krugman, Paul~R., and Venables, Anthony~J.
409 \item \verb|#2|: All authors $\rightarrow$ first-last \\
410 $\rightarrow$ Masahisa Fujita, Paul~R. Krugman, and Anthony~J. Venables
411 \end{itemize}
412 \end{Frame}
413
414 \subsubsection{First name in initial}
415
416 By default, first name is displayed in full. If you change the content
417 of ``\texttt{bst.first.name.initial}'' to non-zero, first name is displayed
418 in initial. For example,
419 \begin{center}
420 Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables \\
421 $\downarrow$ \\
422 Fujita, M., P.~R. Krugman, and A.~J. Venables
423 \end{center}
424
425 See ``\texttt{econ-a.bst}'' for an exmpale.
426
427 \subsubsection{Decapitalize letters in title field}
428
429 Suppose that the title field is defined as follows
430 \begin{center}
431 \verb| title = {Econometric Policy Evaluation: A Critique}|
432 \end{center}
433
434 Then, title is displayed in reference as follows:
435 \begin{center}
436 Econometric Policy Evaluation: A Critique
437 \end{center}
438
439 If you change the content of ``\texttt{bst.title.lower.case}'' to
440 non-zero, letters except the first letter are decapitalized. That is,
441 you get the following expression in reference:
442 \begin{center}
443 Econometric policy evaluation: A critique
444 \end{center}
445
446 See ``\texttt{econ-a.bst}'' for an exmpale.
447
448
449 \subsubsection{Number index before documents in reference}
450
451 You can put the number index to each documents as in
452 ``\texttt{plain.bst}''. For this, change the content of
453 ``\texttt{bst.use.number.index}'' to non-zero.
454 \begin{Frame}
455 \begin{verbatim}
456 FUNCTION {bst.use.number.index}
457 { #1 }
458 \end{verbatim}
459 \end{Frame}
460
461 If you use fonts other than computer modern fonts, you had better adjust
462 the contents of functions ``\texttt{bst.number.index.xxx.yyy}''.
463
464 See ``\texttt{econ-b.bst}'' for an exmpale.
465
466
467 \subsubsection{List old references first}
468
469 By default, references written by the same author are listed in
470 chronological order (old documents are listed first). If you change the
471 contents of ``\texttt{bst.reverse.year}'' to non-zero, the order is
472 reversed.
473 \begin{Frame}
474 \begin{verbatim}
475 FUNCTION {bst.reverse.year}
476 { #1 }
477 \end{verbatim}
478 \end{Frame}
479
480 \subsubsection{Change the position of year}
481
482 By default, year is always displayed right after author name. You can
483 change the place of year by setting other values to
484 ``\texttt{bst.year.position}''.
485 \\
486
487 If non-zero set to ``\texttt{bst.year.position}'', year is placed
488 \begin{itemize}
489 \item at the end of line if there is no ``\texttt{note}'' field,
490 \item and before ``\texttt{note}'' field if there is.
491 \end{itemize}
492 for non-article type entry.
493
494 With respect to aritcle type entry, the following rule is applied:
495 \begin{Frame}
496 \begin{enumerate}
497 \item \verb|#1|: $\rightarrow$ year is placed at the end (before note field).
498 \item \verb|#2|: $\rightarrow$ year is placed after journal name.
499 \item \verb|#3|: $\rightarrow$ year is placed after volume.
500 \end{enumerate}
501 \end{Frame}
502
503 For example, reference style changes as follows:
504 \begin{description}
505 \item[\#0: ] Mazda, A. and B. Subaru, 2007, ``ABC,'' \textit{Journal of
506 Automobiles}, 1 (2), pp. 1-10.
507 \item[\#1: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles},
508 1 (2), pp. 1-10, 2007.
509 \item[\#2: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles},
510 2007, 1 (2), pp. 1-10.
511 \item[\#3: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles},
512 1 (2), 2007, pp. 1-10.
513 \end{description}
514
515 See ``\texttt{econ-a.bst}'' and ``\texttt{econ-b.bst}'' for exmpales.
516
517
518 \subsubsection{Order of editors and book title in incollection and inproceedings entry}
519
520 By default, editor name comes before book title in incollection and
521 inproceedings entry. You can reverse this order by
522 setting non-zero to `bst.editor.btitle.order' like
523 \begin{Frame}
524 \begin{verbatim}
525 FUNCTION {bst.editor.btitle.order}
526 { #1 }
527 \end{verbatim}
528 \end{Frame}
529
530
531 \begin{Frame}
532 Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in Elhanan Helpman and Assaf
533 Razin eds. {\it International Trade and Trade Policy}, Cambridge, MA: MIT
534 Press, pp. 9--23.
535 \begin{center}
536 $\downarrow$
537 \end{center}
538 Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in {\it International Trade
539 and Trade Policy} eds. by Elhanan Helpman and Assaf Razin, Cambridge, MA:
540 MIT Press, pp. 9--23.
541 \end{Frame}
542
543 \subsubsection{Order of address and publisher}
544
545 By default, publisher address is placed before publisher name. You can
546 reverse this order by setting non-zero to `bst.address.position'.
547 \begin{Frame}
548 Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in Elhanan Helpman and
549 Assaf Razin eds. {\it International Trade and Trade Policy},
550 Cambridge, MA, MIT Press, pp. 9--23.
551 \begin{center}
552 $\downarrow$
553 \end{center}
554 Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in Elhanan Helpman and Assaf
555 Razin eds. {\it International Trade and Trade Policy}, MIT Press,
556 Cambridge, MA, pp. 9--23.
557 \end{Frame}
558
559 \subsubsection{When the number of authors is very large}
560
561 In some research areas, the number of authors of a paper is sometimes very large
562 (more than 100 ). In such a bibliographic entry, it is not possible to list all
563 authors names in the reference part. To handle a bibliographic entry with many
564 authors, ``\texttt{econ.bst}'' lists only a part of authors when the number of
565 authors is large. In particular, econ.bst works as follows:
566 \begin{itemize}
567 \item If the number of authors is greater than N1, only the first N2 authors'
568 names are displayed in the reference part (and other authors' names are
569 omitted by ``et el.'').
570 \item N1 is determined by `bst.max.author.num' (the default value = 8).
571 \item N2 is determined by `bst.max.author.num.displayed' (the default value =
572 3).
573 \end{itemize}
574
575 This function is applied to The following three entries:
576 \citet{essd-10-405-2018}, \citet{luthi08:_high}, and
577 \citet{doi:10.1175/2009BAMS2778.1}. In addition, \texttt{econ-many-authors.tex}
578 in the customization folder includes other examples.
579
580
581 \subsection{Customization of citation part}
582
583 We have so far seen the customization of reference part. ``\texttt{econ.bst}''
584 also can change the styles of citation part although it is highly limited.
585
586 \subsubsection{The number of authors for ``\textit{et al.}'' in citation part}
587
588 With \texttt{natbib.sty}, you can cite a paper by both full names and
589 abbreviated names. For example, by using command `\verb|\citet|' and
590 `\verb|\citet*|', you can generate the following two styles.
591 \begin{itemize}
592 \item Citation by full names: \\
593 \verb|\citet*{Takeda2014a}| $\longrightarrow$ \citet*{Takeda2014a}
594 \item Citation by abbreviated names: \\
595 \verb|\citet{Takeda2014a}| $\longrightarrow$ \citet{Takeda2014a}
596 \end{itemize}
597
598 By the default, author names more than three are abbreviated. But you can change
599 the number of authors to which abbreviation is applied. For example, if you set
600 \verb|#4| to `\texttt{bst.and.others.num}`, abbreviation is applied only to the
601 entry with more than four authors.
602 \begin{Frame}
603 \begin{verbatim}
604 FUNCTION {bst.and.others.num}
605 { #4 }
606 \end{verbatim}
607 \end{Frame}
608
609 \subsection{Customization of citation part by \texttt{natbib.sty}}
610
611 The style of citation part is mainly controlled by \texttt{natbib.sty}. You can
612 change the style of citation part by changing commands and options provided by
613 \texttt{natbib.sty}.
614 See the manual of \texttt{natbib.sty} for the details.
615 \begin{itemize}
616 \item The manual of \texttt{natbib.sty}:
617 \href{https://mirror.ctan.org/macros/latex/contrib/natbib/natbib.pdf}{natbib.pdf}
618 \item The reference sheet of \texttt{natbib.sty}:
619 \href{https://mirror.ctan.org/macros/latex/contrib/natbib/natnotes.pdf}{natnotex.pdf}
620 \end{itemize}
621
622 \subsubsection{Citation by number index}
623
624 Here I show one customization of \texttt{natbib.sty} for citation style. With
625 \texttt{natbib.sty}, we usually use ``author (year)'' citation format. However,
626 we can use citation by numder index like [1], [2], [3]...
627
628 To use this style, you first need to load \texttt{natbib} package with option
629 ``\texttt{numbers}''
630 \begin{Frame}
631 \begin{verbatim}
632 \usepackage[numbers]{natbib}
633 \end{verbatim}
634 \end{Frame}
635
636 In addition, you need to use \texttt{citep} command in the citation part like
637 \begin{Frame}
638 \begin{verbatim}
639 \citep{Takeda2014a}
640 \end{verbatim}
641 \end{Frame}
642
643 See ``\texttt{econ-numbers.tex}'' and ``\texttt{econ-numbers.pdf}'' for an example.
644
645 \section{Certified random order}
646 \label{sec:cro}
647
648 \subsection{What is ``certified random order''?}
649
650 The ordering of author names in joint publications in economics is typically
651 alphabetical. However, alphabetical order has its shortcomings; in particular,
652 it confers greater benefits on the first author.\footnote{See
653 \citet{10.1257/aer.20161492} for the details.} This can happen for various
654 reasons, including the use of the ``et al.'' convention, the bunching of
655 bibliographic references for early-ordered names in reference lists, and the
656 psychological focus on first authors.
657
658 \citet{10.1257/aer.20161492} propose ``certified random order,'' in which names
659 are separated by a symbol, \textcircled{r}, that certifies or signals that the
660 author names are in random order. In particular, the symbol permits authors to
661 ``certify'' that a reverse name order is only due to randomization, and avoids
662 the usual interpretation of name reversal in economics.
663
664 ``\texttt{econ.bst}'' can handle references to papers in random order. Examples
665 of such papers in this document are \citet{10.1257/aer.20161492},
666 \citet{RePEc:hka:wpaper:2018-037}, \citet{vohra18:_maxim_farsig_stabl_set},
667 \citet{NBERw25205}.
668
669
670 \subsection{How to cite papers in certified random order}
671
672 To cite papers in certified random order with ``\texttt{econ.bst}'', you must
673 flag those entries in the bib file. To achieve this, ``\texttt{econ.bst}''
674 contains the field ``\texttt{nameorder}''. If the bibliographical entry uses
675 random order, add the following information to that entry:
676 \begin{verbatim}
677 nameorder = {random}
678 \end{verbatim}
679
680 For intance, the entry for \citet{10.1257/aer.20161492} is specified in
681 \texttt{econ-example.bib} as follows:
682 \begin{verbatim}
683 @article{10.1257/aer.20161492,
684 Author = {Ray, Debraj and Robson, Arthur},
685 Title = {Certified Random: A New Order for Coauthorship},
686 Journal = {American Economic Review},
687 Volume = {108},
688 Number = {2},
689 Year = {2018},
690 Month = {February},
691 Pages = {489-520},
692 DOI = {10.1257/aer.20161492},
693 URL = {http://www.aeaweb.org/articles?id=10.1257/aer.20161492},
694 nameorder = {random}
695 }
696 \end{verbatim}
697
698 \noindent \textbf{[Notes]} \\
699 1. The field ``nameorder'' is currently unique to \texttt{econ.bst} and it
700 is not a field used in bibliography databases (at least for now).
701
702 \noindent 2. ``\texttt{econ.bst}'' does not itself randomize the order of
703 names. It simply cites an existing reference in random order, as the authors
704 intend it to be cited.
705 \vspace*{1em}
706
707
708 With the ``nameorder'' field in place, there is nothing else you need to change,
709 and you can cite bibliographic entries as before. For example, the command
710 \verb|\citet{10.1257/aer.20161492}| will generate the citation
711 \citet{10.1257/aer.20161492} in the text, and the following entry in the
712 references:
713
714 \begin{quote}
715 Ray, Debraj \textcircled{r} Arthur Robson (2018) ``Certified Random: A New
716 Order for Coauthorship,'' \textit{American Economic Review}, 108 (2),
717 489--520, \href{http://dx.doi.org/10.1257/aer.20161492}{\urlstyle{rm}
718 \nolinkurl{10.1257/aer.20161492}}.
719 \end{quote}
720
721 Under the random order style, an entry with two authors is cited as already
722 described: \citet{10.1257/aer.20161492}. On the other hand, an entry with more
723 than two authors has two citation styles, depending on whether all names are
724 cited in full, or the citation is abbreviated:
725 \begin{itemize}
726 \item All-names citation $\longrightarrow$ \citet*{NBERw25205}
727 \item Abbreviated citation $\longrightarrow$ \citet{NBERw25205}
728 \end{itemize}
729
730 Note that in the abbreviated names style, \textcircled{r} is used instead of
731 ``et''. Think of \textcircled{r} as a conjunction just as ``and'' or ``but''. In
732 verbal citations, it would be pronounced just as the letter ``r'' is pronounced.
733
734 \subsection{Customization for certified random order}
735
736 The behavior of random order is controlled by the following functions:
737 `\texttt{bst.use.nameorder}', `\texttt{bst.and.nameorder}',
738 `\texttt{bst.cite.and.nameorder}' and `\texttt{bst.and.others.nameorder}'.
739 \vspace*{1em}
740
741 Under the default setting of ``\texttt{econ.bst}'', random order is
742 automatically used for bibliographic entries with `\texttt{nameorder}' field.
743 However, if you set \verb|#0| to `\texttt{bst.use.nameorder}' as follows, the
744 function of random order is not used.
745 \begin{Frame}
746 \begin{verbatim}
747 FUNCTION {bst.use.nameorder}
748 { #0 } % Not use random order
749 \end{verbatim}
750 \end{Frame}
751
752 Under the default setting, we use ``\textcircled{r}'' (\verb|\textcircled{r}|)
753 for the symbol for separating author names.
754 They are defined with the following code in \texttt{econ.bst}.
755 \begin{Frame}
756 \begin{verbatim}
757 FUNCTION {bst.and.nameorder}
758 { " \textcircled{r} " }
759
760 FUNCTION {bst.cite.and.nameorder}
761 { " \textcircled{r} " }
762
763 FUNCTION {bst.and.others.nameorder}
764 { " \textcircled{r}~al." }
765 \end{verbatim}
766 \end{Frame}
767
768 You can use an alternative symbol by redefining these functions:
769 `\texttt{bst.and.nameorder}', `\texttt{bst.cite.and.nameorder}' and
770 `\texttt{bst.and.others.nameorder}'.
771
772
773 \section{Sorting rule}
774 \label{sec:sort_rule}
775
776 \noindent \textbf{[Note]} If you want to create an ordinary list of
777 references, you need not read this part. The explanation below is
778 for sorting references in a special way.
779
780 \subsection{Basic sorting rule}
781
782 The sorting of references is done according to values of fields defined
783 in bib files. Basically, sorting is done according to the following
784 order of priority:
785 \begin{enumerate}
786 \item Type of entry (if ``\texttt{bst.sort.entry.type}'' has non-zero value)
787 \item Value of ``\texttt{year}'' field (if ``\texttt{bst.sort.year}'' has non-zero value)
788 \item Value of ``\texttt{absorder}'' field (if ``\texttt{absorder}'' field has
789 a value)
790 \item Value of ``\texttt{author}'' (or ``\texttt{editor}'') field.
791 \begin{itemize}
792 \item If ``\texttt{sortname}'' field is assigned a value, it is used
793 instead of ``\texttt{author}'' and ``\texttt{editor}''.
794 \end{itemize}
795 \item Value of ``\texttt{year}'' field.
796 \item Value of ``\texttt{order}'' field.
797 \item Value of ``\texttt{month}'' field.
798 \item Value of ``\texttt{title}'' field.
799 \end{enumerate}
800
801 By default,
802 \begin{itemize}
803 \item ``\texttt{bst.sort.entry.type}'' and ``\texttt{bst.sort.year}'' have
804 zero,
805 \item \textbf{``\texttt{absorder}''} and \textbf{``\texttt{order}''}
806 fields are not assigned values because they are fields specific
807 to ``\texttt{econ.bst}''.
808 \end{itemize}
809 Thus, references are sorted according to
810 \begin{Frame}
811 \begin{center}
812 ``\texttt{author}'' $\rightarrow$ ``\texttt{year}'' $\rightarrow$
813 ``\texttt{month}'' $\rightarrow$ ``\texttt{title}''
814 \end{center}
815 \end{Frame}
816 That is, ``\texttt{author}'' is used as the primary key, ``\texttt{year}'' as
817 the secondary key, ``\texttt{month}'' as the third key and ``\texttt{title}'' as
818 the fourth key.
819
820 \subsection{No sorting}
821
822 If you want to list references in citation order, set non-zero value to
823 ``\texttt{bst.no.sort}''.
824 \begin{Frame}
825 \begin{verbatim}
826 FUNCTION {bst.no.sort}
827 { #1 }
828 \end{verbatim}
829 \end{Frame}
830
831 Note that when you set non-zero value to ``\texttt{bst.no.sort}'', you had better not
832 use \verb|\bysame|.
833
834 \subsection{Sort references by type}
835
836 If you want to gather references according to their types (article,
837 book, incollection, unpublished etc.), set non-zero value to
838 ``\texttt{bst.sort.entry.type}''.
839 \begin{Frame}
840 \begin{verbatim}
841 FUNCTION {bst.sort.entry.type}
842 { #1 }
843 \end{verbatim}
844 \end{Frame}
845
846 Order of listing by entry type is determined by function
847 ``\texttt{bst.sort.entry.type.order}'' (by default, listed in alphabetical
848 order, that is, article $\rightarrow$ book $\rightarrow$ booklet
849 $\rightarrow$ comment $\rightarrow$ inbook $\rightarrow$ incollection
850 $\rightarrow$ $\cdots$ $\rightarrow$ unpublished). See
851 ``\texttt{bst.sort.entry.type.order}'' in ``\texttt{econ.bst}''.
852
853 \subsection{Use ``\texttt{year}'' as the primary sorting key}
854
855 When you create CV or a list of your papers, you may want to sort
856 references in chronological order. If all papers are written soley by
857 yourself, references are sorted in chronological order by default.
858 However, there are co-writers and if you are not the first author,
859 references are not sorted in chronological order because the author name
860 is used as the primary sorting key by default.
861 If you want to sort references in chronological order even when
862 there are co-writers, set non-zero to ``\texttt{bst.sort.year}''.
863 \begin{Frame}
864 \begin{verbatim}
865 FUNCTION {bst.sort.year}
866 { #1 }
867 \end{verbatim}
868 \end{Frame}
869
870 By default, old references are listed first. But if you set non-zero to
871 ``\texttt{bst.reverse.year}'', new references are listed first.
872
873 \subsection{Sorting by ``\texttt{absorder}'' field}
874
875 If ``\texttt{absorder}'' is defined in bib file,
876 ``\texttt{econ.bst}'' uses its content as the primary sorting key.
877 You can set number 0--999 to ``\texttt{absorder}'' field.
878
879 \begin{Frame}
880 \begin{center}
881 no absorder or absorder = 0 $\rightarrow$ absorder = 1 $\rightarrow$ absorder = 2
882 $\rightarrow$ $\cdots$ $\rightarrow$ absorder = 999
883 \end{center}
884 \end{Frame}
885 That is, reference with a small value of ``\texttt{absorder}'' is listed
886 first. In this document (``\texttt{econ-example.bib}''), the reference
887 with the key \citet{takeda10:_cge_analy_welfar_effec_trade} has 999 for
888 ``\texttt{absorder}'' field and thus listed in the last.
889
890
891 \subsubsection{Ignore ``\texttt{absorder}'' field}
892
893 If you set some values for ``\texttt{absorder}'' fields in bib file,
894 but if you want to ignore them, set non-zero to
895 ``\texttt{bst.notuse.absorder.field}''.
896 \begin{Frame}
897 \begin{verbatim}
898 FUNCTION {bst.notuse.absorder.field}
899 { #1 }
900 \end{verbatim}
901 \end{Frame}
902
903 \subsection{Sorting by ``\texttt{sortname}'' field}
904
905 If ``\texttt{sortname}'' field is assigned a value, it is used for sorting
906 instead of ``\texttt{author}'' or
907 ``\texttt{editor}''\footnote{``\texttt{sortname}'' field is used in biblatex.}.
908
909 For example, the first author name of the following bibliography entry starts
910 with the letter ``d'' (d'Aspremont), so it is listed after the documents with
911 author names that start with the letter ``c''.
912 \begin{Frame}
913 \begin{verbatim}
914 @article{d'Aspremont-2004-BalancedBayesianMechanisms,
915 title = {Balanced Bayesian Mechanisms},
916 author = {{d'Aspremont}, Claude and Cr{\'e}mer, Jacques and
917 {G{\'e}rard-Varet}, Louis-Andr{\'e}},
918 year = 2004,
919 volume = 115,
920 pages = {385--396},
921 issn = {0022-0531},
922 doi = {10.1016/j.jet.2003.07.001},
923 journal = {Journal of Economic Theory},
924 number = 2,
925 }
926 \end{verbatim}
927 \end{Frame}
928
929 However, for the name ``d'Aspremont'', we should rather think that it starts
930 with the letter ``A''. In this case, you had better to add the following
931 ``\texttt{sortname}'' field
932 \begin{Frame}
933 \begin{verbatim}
934 sortname = {Aspremont, Claude and Cr{\'e}mer, Jacques and
935 {G{\'e}rard-Varet}, Louis-Andr{\'e}},
936 \end{verbatim}
937 \end{Frame}
938
939 Then, this entry is listed as author whose name begin with letter ``A''. The
940 following three entries have sortname fields:
941 \citet{d'Aspremont-2004-BalancedBayesianMechanisms},
942 \citet{d'Aspremont-2003-CorrelationIndependenceAndBayesian}, and
943 \citet{d'Aspremont-1998-LinearInequalityMethodsTo}.
944
945 \section{Misc.}
946
947 \begin{itemize}
948 \item Email: \verb|<[email protected]>|.
949 \item ``\texttt{econ.bst}'' is available at \url{https://github.com/ShiroTakeda/econ-bst}.
950 \end{itemize}
951 \vspace*{1em}
952
953 \citet{borgers95:_note_implem_stron_domin},
954 \citet{bergemann11:_ration},
955 \citet{takeda2015a},
956 \citet{Takeda2014a},
957 \citet{Biker-2007-unemployment},
958 \citet{Babiker-1999-JapaneseNuclearPower},
959 \citet{Babiker-1999-KyotoProtocoland},
960 \citet{Babiker2000525},
961 \citet{BabikerRutherford-2005-EconomicEffectsof},
962 \citet{goldin:katz:2011}, \citet{goldin:katz:2008}, \citet{goldin:katz:2000}.
963 \citet{stakeda2019web},
964 \citet{Rivers-2005-CombiningTop-Downand},
965 \citet{WilsonMannOtsuki-2005-AssessingBenefitsof},
966 \citet{zhang2016Deep},
967 \citet{imbens2019Optimized},
968 \citet{essd-10-405-2018},
969 \citet{luthi08:_high},
970 \citet{doi:10.1175/2009BAMS2778.1},
971 \citet{d'Aspremont-2004-BalancedBayesianMechanisms},
972 \citet{d'Aspremont-2003-CorrelationIndependenceAndBayesian},
973 \citet{Chung-1999-ANoteOnMatsushima's},
974 \citet{d'Aspremont-1998-LinearInequalityMethodsTo},
975 \citet{myerson98:_exten_poiss_games_condor_jury_theor}.
976
977 \vspace*{1em}
978
979 \nocite{*}
980
981 %%% BibTeX style.
982 \bibliographystyle{econ}
983
984 %% BibTeX database file.
985 \addcontentsline{toc}{section}{References}
986 \bibliography{econ-example}
987
988 \end{document}
989
990 %#####################################################################
991 %######################### Document Ends #############################
992 %#####################################################################
993 % --------------------
994 % Local Variables:
995 % fill-column: 80
996 % coding: utf-8
997 % End:
998