| 1 |
%#!pdflatex |
| 2 |
%#BIBTEX bibtex econ-numbers |
| 3 |
|
| 4 |
%############################## Main ################################# |
| 5 |
\documentclass[10pt]{article} |
| 6 |
|
| 7 |
%% Use natbib.sty |
| 8 |
\usepackage[numbers]{natbib} |
| 9 |
\usepackage{newtxtext,newtxmath} |
| 10 |
\usepackage{url} |
| 11 |
\usepackage{graphicx} |
| 12 |
\usepackage{color} |
| 13 |
\definecolor{MyBrown}{rgb}{0.3,0,0} |
| 14 |
\definecolor{MyBlue}{rgb}{0,0,0.3} |
| 15 |
\definecolor{MyRed}{rgb}{0.4,0,0.1} |
| 16 |
\definecolor{MyGreen}{rgb}{0,0.4,0} |
| 17 |
\usepackage[bookmarks=true,% |
| 18 |
bookmarksnumbered=true,% |
| 19 |
colorlinks=true,% |
| 20 |
linkcolor=MyBlue,% |
| 21 |
citecolor=MyRed,% |
| 22 |
filecolor=MyBlue,% |
| 23 |
urlcolor=MyGreen% |
| 24 |
]{hyperref} |
| 25 |
|
| 26 |
\setlength{\topmargin}{-20pt} |
| 27 |
\setlength{\textheight}{648pt} |
| 28 |
\setlength{\oddsidemargin}{15pt} |
| 29 |
\setlength{\textwidth}{440pt} |
| 30 |
|
| 31 |
% Redefine \cicet command so that citet is equal to citep. |
| 32 |
\renewcommand{\citet}[1]{\citep{#1}} |
| 33 |
|
| 34 |
%##################################################################### |
| 35 |
%######################### Document Starts ########################### |
| 36 |
%##################################################################### |
| 37 |
\begin{document} |
| 38 |
|
| 39 |
In this document, we use numerical mode of \texttt{natbib.sty}. That is, we cite |
| 40 |
references by number index. |
| 41 |
\vspace*{1em} |
| 42 |
|
| 43 |
To use numerical mode of \texttt{natbib.sty}, we use the following setting. |
| 44 |
\begin{itemize} |
| 45 |
\item Load \texttt{natbib.sty} with option ``\texttt{numbers}'' like \\ |
| 46 |
\verb|\usepackage[numbers]{natbib}| |
| 47 |
\item Use ``\verb|econ-no-sort.bst|'' which means that entries in the reference |
| 48 |
are listed in citation order (not alphabetical order). |
| 49 |
\item Use \verb|\citep| command instead of \verb|\citet| command.\\ Note: |
| 50 |
strictly speaking, we use \texttt{citet} command but redefine |
| 51 |
\texttt{citet} command in the preample so that it is equal to |
| 52 |
\texttt{citep}. |
| 53 |
\end{itemize} |
| 54 |
|
| 55 |
\vspace{1em} |
| 56 |
|
| 57 |
\input{cited-part} |
| 58 |
\nocite{*} |
| 59 |
|
| 60 |
%% bst file: |
| 61 |
\bibliographystyle{econ-no-sort} |
| 62 |
\bibliography{../econ-example} |
| 63 |
|
| 64 |
\end{document} |
| 65 |
|
| 66 |
%##################################################################### |
| 67 |
%######################### Document Ends ############################# |
| 68 |
%##################################################################### |
| 69 |
% -------------------- |
| 70 |
% Local Variables: |
| 71 |
% fill-column: 80 |
| 72 |
% coding: utf-8 |
| 73 |
% End: |