This article shows you how to cite papers with biblatex in Overleaf.
The overall code is:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{natbib}
\title{Example of citation}
\date{}
\maketitle
\begin{document}
\cite{acemoglu2001colonial} presents a long-term effect of institution.
Study \citep{acemoglu2001colonial} shows that there is long-term effect of institution.
Many other works \citep{glaeser2004institutions, rodrik2004institutions} cited \citeauthor{acemoglu2001colonial}'s (\citeyear{acemoglu2001colonial}) work.
\bibliographystyle{jpe}
\bibliography{example}
\end{document}
which compiles
@article{key,
title={Title},
author={Author},
journal={Journal},
volume={vol},
number={number},
pages={pp},
year={year}
}
\begin{document}
,
type \usepackage{natbib}
\bibliographystyle{jpe} % the natbib style you use, apa, jpe, etc.
\bibliography{example} % include the bib file you created
\cite{key}
,
\citep{key}
, etc. to cite papers now.Originally published in Chinese at 简书 on Apr. 20, 2021.