natbib example

how to compile

xelatex doc; bibtex doc; xelatex doc; xelatex doc;

doc.tex

\documentclass[12pt]{article}
\RequirePackage[papersize={180mm,140mm}, text={170mm, 130mm}, centering]{geometry}
%\usepackage{hyperref}
\usepackage{palatino}
\usepackage{natbib}
 
\begin{document}
\section*{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce quis
purus tortor, \citep{merton1973tro} sed interdum sem. Nunc auctor nunc
in nisi suscipit tempus. \citet{black1973poa}
 
\section{Preliminaries}
Aliquam erat volutpat. Aenean lobortis tristique quam eget
interdum. Pellentesque ligula felis, convallis sit amet consequat nec,
egestas ac massa.\citep{harrison1979maa,pliska1981mas}
 
\bibliographystyle{apalike}
\bibliography{bib}
 
\end{document}

bib.bib

@article{black1973poa,
        title = {The pricing of options and corporate liabilities},
        author = {Fishcer Black and Myron Scholes},
        journal = {Journal of political economy},
        number = 3,
        pages = 637,
        publisher = {UChicago Press},
        volume = 81,
        year = 1973,
        biburl = {http://www.bibsonomy.org/bibtex/20bcd8dc7243127d7a6e5f61fa311d02f/ytyoun}},
 
@article{pliska1981mas,
        title = {Martingales and stochastic integrals in the theory of continuous trading},
        author = {J. Michael Harrison and Stanley Pliska},
        journal = {Stochastic Processes and their Applications},
        pages = {215--260},
        volume = 11,
        year = 1981,
        biburl = {http://www.bibsonomy.org/bibtex/2444648843be4b9a52bd426c59d7ec4d1/ytyoun}},
 
@article{harrison1979maa,
        title = {Martingales and arbitrage in multiperiod securities markets},
        author = {J. Michael Harrison and David M. Kreps},
        journal = {Journal of Economic theory},
        number = 3,
        pages = {381--408},
        volume = 20,
        year = 1979,
        biburl = {http://www.bibsonomy.org/bibtex/2bee84248fd744eed0098b10c87ddfa85/ytyoun}},
 
@article{merton1973tro,
        title = {Theory of rational option pricing},
        author = {Robert Merton},
        journal = {The Bell Journal of Economics and Management Science},
        pages = {141--183},
        publisher = {American Telephone and Telegraph Company},
        year = 1973,
        biburl = {http://www.bibsonomy.org/bibtex/236a29d217bff30efc9479b52770ef9a0/ytyoun}},
Comments Off on bibliography style: natbib