I understand that usually the cross reference only links Year in the mode of author-year. However, things are different in my case. I guess that some codes conflict with each other and cause the result. Notice that the results are the same even if I create a separate bib. file. I tried \citet, but it did not make a difference. Please see the following codes and help me! Thank you!
Code: Select all
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{appendix}
\usepackage{times}
\usepackage{chngcntr}
\usepackage{etoolbox}
\usepackage[export]{adjustbox}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{natbib}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{float}
\usepackage{xcolor}
\usepackage{hyperref}
\hypersetup{colorlinks = true, linkcolor = blue, citecolor= blue}
\usepackage{amsfonts}
\usepackage{booktabs,threeparttable}
\usepackage{tabularx}
\usepackage{rotating}
\usepackage[a4paper,margin=1.5in,nohead]{geometry}
\usepackage{endnotes}
\usepackage{lipsum}
\let\footnote\endnote
\let\enotesize\normalsize
\renewcommand\enoteformat{%
\makebox[0pt][r]{\theenmark. \rule{0pt}{\dimexpr\ht\strutbox}}%
}
\makeatletter
\renewcommand\@makeenmark{%
\textsuperscript{\normalfont\textcolor{blue}{\@theenmark}}%
}
\newcommand{\uncolormarkers}{%
\renewcommand\@makeenmark{%
\textsuperscript{\normalfont\@theenmark}%
}%
}
\makeatother
\usepackage{setspace}
\setstretch{2}
\DeclareMathOperator*{\argmax}{arg\,max}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{proposition}{Proposition}
\newtheorem*{proposition*}{Proposition}
\newtheorem*{corollary*}{Corollary}
\newtheorem*{definition*}{Definition}
\newtheorem*{lemma*}{Lemma}
\AtBeginEnvironment{subappendices}{\section*{Appendix}
\addcontentsline{toc}{section}{Appendices}
\counterwithin{figure}{section}
\counterwithin{table}{section}
}
\makeatletter
\renewcommand*{\@fnsymbol}[1]{\ifcase#1\or*\or**\else\@arabic{#1}\fi}
\makeatother
\begin{document}
Indeed, \cite{bassetto2014} studies how the government can manipulate intertemporal prices to favor some groups over others.
The standard deviation of uninsurable idiosyncratic income risks from privately held businesses accounts for 45$\%$ of the average business income\footnote{They employ the data of individual income tax returns from the Internal Revenue Service over 23 years, compute for each household the time series standard deviation of its business income normalized by the household's average total income over time, and then combine those business income ``coefficients of variation" into one cross-sectional average.}.
\uncolormarkers
\theendnotes
\begin{thebibliography}{1}
\bibitem[Bassetto(2014)]{bassetto2014}
Bassetto, M.
\newblock {Optimal Fiscal Policy with Heterogeneous Agents}.
\newblock \emph{Quantitative Economics}, 5\penalty0 (3):\penalty0 675--704,
2014.
\end{thebibliography}
\end{document}