diff options
Diffstat (limited to 'biblio/bibtex/contrib/econ-bst/econ-example.tex')
-rw-r--r-- | biblio/bibtex/contrib/econ-bst/econ-example.tex | 161 |
1 files changed, 115 insertions, 46 deletions
diff --git a/biblio/bibtex/contrib/econ-bst/econ-example.tex b/biblio/bibtex/contrib/econ-bst/econ-example.tex index 237076ccc0..1b2a3b6068 100644 --- a/biblio/bibtex/contrib/econ-bst/econ-example.tex +++ b/biblio/bibtex/contrib/econ-bst/econ-example.tex @@ -3,7 +3,6 @@ % Filename: econ-example.tex % Author: Shiro Takeda % First-written: <2002/11/02> -% Time-stamp: <2018-12-06 00:47:47 st> % % This document explains how to use econ.bst. @@ -14,12 +13,12 @@ %% Use natbib.sty. \usepackage{natbib} \usepackage{fancybox} -\usepackage{mathpazo} +\usepackage{newtxtext,newtxmath} \usepackage{url} \usepackage{graphicx} \usepackage{color} \definecolor{MyBrown}{rgb}{0.3,0,0} -\definecolor{MyBlue}{rgb}{0,0,0.3} +\definecolor{MyBlue}{rgb}{0,0.2,0.6} \definecolor{MyRed}{rgb}{0.4,0,0.1} \definecolor{MyGreen}{rgb}{0,0.4,0} \usepackage[bookmarks=true,bookmarksnumbered=true,colorlinks=true,linkcolor=MyBlue,citecolor=MyRed,filecolor=MyBlue,urlcolor=MyGreen]{hyperref} @@ -31,6 +30,9 @@ \makeatletter +% Set the roman font to font for URL (the default font for URL is type writer font). +\renewcommand\UrlFont{\rmfamily} + \newenvironment{Frame}% {\setlength{\fboxsep}{15pt} \setlength{\mylength}{\linewidth}% @@ -53,14 +55,12 @@ %%% title, author, acknowledgement, and date \title{\texttt{econ.bst}:\\ -\BibTeX{} style for economics\\ -(for ver. 2.4) -\thanks{\texttt{econ.bst} is available at +\BibTeX{} style for economics\thanks{\texttt{econ.bst} is available at \url{https://github.com/ShiroTakeda/econ-bst}} } \author{Shiro Takeda\thanks{email: {\ttfamily shiro.takeda@gmail.com}.}} -\date{\today} +\date{2020/02/26} %##################################################################### %######################### Document Starts ########################### @@ -95,6 +95,10 @@ features: wish. \item You can use ``\textit{certified random order}'' proposed by \href{http://dx.doi.org/10.1257/aer.20161492}{\citet[][AER]{10.1257/aer.20161492}}. + \begin{itemize} + \item If you want to use certified random order, please see Section + \ref{sec:cro}. + \end{itemize} \end{itemize} \end{Frame} @@ -103,15 +107,12 @@ features: \section{How to use ``\texttt{econ.bst}''} \begin{itemize} - \item ``\texttt{econ.bst}'' requires ``\texttt{natbib.sty}''. - If ``\texttt{natbib.sty}'' is not installed in your \TeX{} system, you must - install it first. + \item ``\texttt{econ.bst}'' requires ``\texttt{natbib.sty}'', which is + installed in the standard \TeX{} system. \item Put ``\texttt{econ.bst}'' file somewhere under the directory (folder) ``\texttt{/texmf/bibtex/bst}''. Or you can place ``\texttt{econ.bst}'' at the same directory as the \TeX{} file you are editting. - \item You may need to change the character code of ``\texttt{econ.bst}'' - according to your \TeX system. - \item See ``\texttt{econ-example.tex}'' for an example tex file. + \item See ``\texttt{econ-example.tex}'' for preparing an tex file. \item For \BibTeX{} in general, see, for example, \href{https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM}{Using BibTeX: a short guide} by Martin J. Osborne. @@ -121,7 +122,7 @@ features: \subsection{Preparing a tex file} In the tex file you are editting, you first need to load \texttt{natbib} -package. +package in the preample (i.e. before \verb|\begin{document}|) \begin{Frame} \begin{verbatim} \usepackage{natbib} @@ -131,9 +132,9 @@ package. In the main text, you can cite bibliographic entries by \verb|\citet| command. -For example, ``\verb|\citet{Takeda2011b}| is my paper'' generates the output like +For example, ``\verb|\citet{Takeda2014a}| is my paper'' generates the output like \begin{Frame} -\citet{Takeda2011b} is my paper. +\citet{Takeda2014a} is my paper. \end{Frame} At the place where you want to add ``the reference part'', you have to set the @@ -144,7 +145,22 @@ bibliography style (\texttt{econ.bst}) and database (\texttt{econ-example.bib}) \bibliography{econ-example} \end{verbatim} \end{Frame} +Note that you should not attach the extension ``bst'' and ``bib'' to the bst and +database file name. +\subsection{Running pdf\TeX{}} + +\texttt{econ-example.tex} is created so that it is compiled with pdf\LaTeX +(``\texttt{pdflatex.exe}''). So to compile \texttt{econ-example.tex}, you just +execute the following commnads. +\begin{Frame} +\begin{verbatim} +pdflatex econ-example.tex +bibtex econ-example +pdflatex econ-example.tex +pdflatex econ-example.tex +\end{verbatim} +\end{Frame} \section{Customization} @@ -169,6 +185,33 @@ changing the contents of these functions. \item In a bst file, integer (e.g. 0, 1, 2) is represented as \verb|#0|, \verb|#1| , \verb|#2|. \end{itemize} +\subsection{Customized bst files} + +Many customized bst files listed in Table \ref{tab:c-files} are already +provided. You can find these files under the ``customization'' folder. See +\url{https://github.com/ShiroTakeda/econ-bst/tree/master/customization}. + +\begin{table}[htbp] +\begin{flushleft} +\caption{List of customized files.} +\label{tab:c-files} +\begin{tabular}{l|l} \hline \hline +\multicolumn{1}{c}{bst files} & \multicolumn{1}{c}{Explanation} \\\hline +\texttt{econ.bst} & The default econ.bst file. \\\hline +\texttt{econ-a.bst} & A simple style. \\\hline +\texttt{econ-b.bst} & A style with much decoration. \\\hline +\texttt{econ-no-sort.bst} & This style lists entries in citation order. \\\hline +\texttt{econ-abbr.bst} & This style uses abbreviated journal name. \\\hline +\texttt{econ-aea.bst} & The style for AEA journals such as AER, JEL, AEJ and JEP. \\\hline +\texttt{econ-econometrica.bst} & The style for Econometrica. \\\hline +\texttt{econ-jpe.bst} & The style for JPE (\textit{Journal of Poilitical Economy}). \\\hline +\texttt{econ-jet.bst} & The style for JET (\textit{Journal of Economic Theoriy}). \\\hline +\texttt{econ-jie.bst} & The style for JIE (\textit{Journal of International Economics}). \\\hline +\texttt{econ-old.bst} & The style of the old econ.bst. \\\hline +\end{tabular} +\end{flushleft} +\end{table} + \subsection{Examples of customization} \subsubsection{Change delimiter used to separate mutiple author names @@ -246,13 +289,13 @@ For this, change the contents of ``\texttt{bst.volume.pre}'', \begin{Frame} \begin{verbatim} FUNCTION {bst.volume.pre} -{ ", Vol. " } +{ ", " } FUNCTION {bst.volume.post} { "" } FUNCTION {bst.number.pre} -{ ", No. " } +{ " (" } FUNCTION {bst.number.post} -{ "" } +{ ")" } \end{verbatim} \end{Frame} @@ -260,19 +303,18 @@ FUNCTION {bst.number.post} \begin{Frame} \begin{verbatim} FUNCTION {bst.volume.pre} -{ ", \textbf{" } +{ ", Vol. " } FUNCTION {bst.volume.post} -{ "}" } +{ "" } FUNCTION {bst.number.pre} -{ " (" } +{ ", No. " } FUNCTION {bst.number.post} -{ ")" } +{ "" } \end{verbatim} \end{Frame} -By this, the style of volume and number change from ``Vol. 5, No. 10'' -to ``\textbf{5} (10)''. See ``\texttt{econ-b.bst}'' for an example. - +By this, the style of volume and number change from ``5 (10)'' to ``Vol. 5, +Non. 10''. See ``\texttt{econ-b.bst}'' for an example. \subsubsection{Abbreviation of author name} @@ -456,10 +498,14 @@ With respect to aritcle type entry, the following rule is applied: For example, reference style changes as follows: \begin{description} - \item[\#0: ] Mazda, A. and B. Subaru, 2007, ``ABC,'' \textit{Journal of Automobiles}, Vol. 1, pp. 1-10. - \item[\#1: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, Vol. 1, pp. 1-10, 2007. - \item[\#2: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, 2007, Vol. 1, pp. 1-10. - \item[\#3: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, Vol. 1, 2007, pp. 1-10. + \item[\#0: ] Mazda, A. and B. Subaru, 2007, ``ABC,'' \textit{Journal of + Automobiles}, 1 (2), pp. 1-10. + \item[\#1: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, + 1 (2), pp. 1-10, 2007. + \item[\#2: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, + 2007, 1 (2), pp. 1-10. + \item[\#3: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, + 1 (2), 2007, pp. 1-10. \end{description} See ``\texttt{econ-a.bst}'' and ``\texttt{econ-b.bst}'' for exmpales. @@ -518,9 +564,9 @@ abbreviated names. For example, by using command `\verb|\citet|' and `\verb|\citet*|', you can generate the following two styles. \begin{itemize} \item Citation by full names: \\ - \verb|\citet*{Takeda2011b}| $\longrightarrow$ \citet*{Takeda2011b} + \verb|\citet*{Takeda2014a}| $\longrightarrow$ \citet*{Takeda2014a} \item Citation by abbreviated names: \\ - \verb|\citet{Takeda2011b}| $\longrightarrow$ \citet{Takeda2011b} + \verb|\citet{Takeda2014a}| $\longrightarrow$ \citet{Takeda2014a} \end{itemize} By the default, author names more than three are abbreviated. But you can change @@ -542,9 +588,9 @@ change the style of citation part by changing commands and options provided by See the manual of \texttt{natbib.sty} for the details. \begin{itemize} \item The manual of \texttt{natbib.sty}: - \href{http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/natbib/natbib.pdf}{natbib.pdf} + \href{http://mirror.ctan.org/macros/latex/contrib/natbib/natbib.pdf}{natbib.pdf} \item The reference sheet of \texttt{natbib.sty}: - \href{http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/natbib/natnotes.pdf}{natnotex.pdf} + \href{http://mirror.ctan.org/macros/latex/contrib/natbib/natnotes.pdf}{natnotex.pdf} \end{itemize} \subsubsection{Citation by number index} @@ -564,7 +610,7 @@ To use this style, you first need to load \texttt{natbib} package with option In addition, you need to use \texttt{citep} command in the citation part like \begin{Frame} \begin{verbatim} -\citep{Takeda2011b} +\citep{Takeda2014a} \end{verbatim} \end{Frame} @@ -640,10 +686,10 @@ and you can cite bibliographic entries as before. For example, the command references: \begin{quote} -Ray, Debraj \textcircled{r} Arthur Robson (2018) ``Certified Random: A New Order -for Coauthorship,'' \textit{American Economic Review}, Vol. 108, No. 2, -pp. 489--520, URL: \url{http://www.aeaweb.org/articles?id=10.1257/aer.20161492}, -DOI: \href{http://dx.doi.org/10.1257/aer.20161492}{10.1257/aer.20161492}. +Ray, Debraj \textcircled{r} Arthur Robson (2018) ``Certified Random: A New +Order for Coauthorship,'' \textit{American Economic Review}, 108 (2), +489--520, \href{http://dx.doi.org/10.1257/aer.20161492}{\urlstyle{rm} +\nolinkurl{10.1257/aer.20161492}}. \end{quote} Under the random order style, an entry with two authors is cited as already @@ -677,9 +723,23 @@ FUNCTION {bst.use.nameorder} \end{verbatim} \end{Frame} -Under the default setting, the symbol ``\textcircled{r}'' -(\verb|\textcircled{r}|) is used. But you can use another symbol. If you want -to use an alternative symbol, you need to change settings for +Under the default setting, we use ``\textcircled{r}'' (\verb|\textcircled{r}|) +for the symbol for separating author names. +They are defined with the following code in \texttt{econ.bst}. +\begin{Frame} +\begin{verbatim} +FUNCTION {bst.and.nameorder} +{ " \textcircled{r} " } + +FUNCTION {bst.cite.and.nameorder} +{ " \textcircled{r} " } + +FUNCTION {bst.and.others.nameorder} +{ " \textcircled{r}~al." } +\end{verbatim} +\end{Frame} + +You can use an alternative symbol by redefining these functions: `\texttt{bst.and.nameorder}', `\texttt{bst.cite.and.nameorder}' and `\texttt{bst.and.others.nameorder}'. @@ -699,7 +759,8 @@ order of priority: \begin{enumerate} \item Type of entry (if ``\texttt{bst.sort.entry.type}'' has non-zero value) \item Value of ``\texttt{year}'' field (if ``\texttt{bst.sort.year}'' has non-zero value) - \item Value of ``\texttt{absorder}'' field. + \item Value of ``\texttt{absorder}'' field (if ``\texttt{absorder}'' field has + a value) \item Value of ``\texttt{author}'' (or ``\texttt{editor}'') field. \item Value of ``\texttt{year}'' field. \item Value of ``\texttt{order}'' field. @@ -819,15 +880,23 @@ FUNCTION {bst.notuse.absorder.field} \citet{borgers95:_note_implem_stron_domin}, \citet{bergemann11:_ration}, -\citet{takeda2011c}, -\citet{Takeda2011b}, +\citet{takeda2015a}, +\citet{Takeda2014a}, \citet{Biker-2007-unemployment}, \citet{Babiker-1999-JapaneseNuclearPower}, \citet{Babiker-1999-KyotoProtocoland}, \citet{Babiker2000525}, \citet{BabikerRutherford-2005-EconomicEffectsof}, \citet{goldin:katz:2011}, \citet{goldin:katz:2008}, \citet{goldin:katz:2000}. -\citet{stakeda2013web} +\citet{stakeda2019web}, +\citet{essd-10-405-2018}, +\citet{luthi08:_high}, +\citet{doi:10.1175/2009BAMS2778.1}, +\citet{Rivers-2005-CombiningTop-Downand}, +\citet{WilsonMannOtsuki-2005-AssessingBenefitsof}, +\citet{zhang2016Deep}, +\citet{imbens2019Optimized}. + \vspace*{1em} \nocite{*} |