summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/bibtex/econ-bst/customization/econ-numbers.tex
blob: db2f9821c485ff1f22d46e24a54240eb56e4f020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
%#!pdflatex 
%#BIBTEX bibtex econ-numbers

%############################## Main #################################
\documentclass[10pt]{article}

%% Use natbib.sty
\usepackage[numbers]{natbib}
\usepackage{newtxtext,newtxmath}
\usepackage{url}
\usepackage{graphicx}
\usepackage{color}
\definecolor{MyBrown}{rgb}{0.3,0,0}
\definecolor{MyBlue}{rgb}{0,0,0.3}
\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}

\setlength{\topmargin}{-20pt} 
\setlength{\textheight}{648pt}
\setlength{\oddsidemargin}{15pt}
\setlength{\textwidth}{440pt}

% Redefine \cicet command so that citet is equal to citep.
\renewcommand{\citet}[1]{\citep{#1}}

%#####################################################################
%######################### Document Starts ###########################
%#####################################################################
\begin{document}

In this document, we use numerical mode of \texttt{natbib.sty}. That is, we cite
references by number index.
\vspace*{1em}

To use numerical mode of \texttt{natbib.sty}, we use the following setting.
\begin{itemize}
 \item Load \texttt{natbib.sty} with option ``\texttt{numbers}'' like \\
       \verb|\usepackage[numbers]{natbib}|
 \item Use ``\verb|econ-no-sort.bst|'' which means that entries in the reference
       are listed in citation order (not alphabetical order).
 \item Use \verb|\citep| command instead of \verb|\citet| command.\\ Note:
       strictly speaking, we use \texttt{citet} command but redefine
       \texttt{citet} command in the preample so that it is equal to
       \texttt{citep}.
\end{itemize}

\vspace{1em}

\input{cited-part}
\nocite{*}

%% bst file:
\bibliographystyle{econ-no-sort}
\bibliography{../econ-example}

\end{document}

%#####################################################################
%######################### Document Ends #############################
%#####################################################################
% --------------------
% Local Variables:
% fill-column: 80
% End: