I use APA citation style for my article. I tried some package for APA citation, but it seems that only {apacite}
with \shortciteA
and \shortcite
produces the desired results for references with many authors, i.e. the citation appears as "First author et al. (year)" or "(First author et al.,year)"
I would like to add hyperlink to my citation, maybe change the citation to blue and link it to the references section. I add the package hyper ref in the preamble, like this
\usepackage[colorlinks,citecolor=red,urlcolor=blue,
bookmarks=false,hypertexnames=true]{hyperref}
but it does not work. Could anyone show me how to do it?
\documentclass[12pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenx}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{apacite}
\let\cite\shortciteA
\let\citep\shortcite
\usepackage{filecontents}
\begin{document}
heloo
\begin{filecontents}{bib.bib}
@article{abdon14,
title={Fiscal policy and growth in developing Asia},
author={Abdon, Arnelyn and Estrada, Gemma Bolotaulo and Lee, Minsoo and Park, Donghyun},
year={2014}
}
\end{filecontents}
\cite{abdon14}
\section*{References}
\bibliographystyle{apacite}
\bibliography{bib}
\end{document}
Best Answer
First and foremost, if you wish to use the natbib-style citation commands
\citet
and\citep
while using theapacite
citation management package and theapacite
bibliography style, you must load theapacite
package with the optionnatbibapa
:Do not, repeat not, attempt to (re)create
\citet
and\citep
via simple\let
instructions.If you follow this basic intruction, then the instruction
will behave exactly as one would expect it to.
A full MWE: