How can I hyperref only the year part of a \citet entry?
I am using \citet and the result is the author and year appear with hyperref blue link. I only wan the year to show like that.
example of the code is:
\documentclass[onecolumn]{svjour3} % onecolumn (second format)
\usepackage[authoryear]{natbib}
\setcitestyle{aysep={}}
\usepackage[colorlinks,citecolor=blue,urlcolor=blue,bookmarks=false,hypertexnames=true]{hyperref}
\usepackage{url}
\def\urlprefix{}
\urlstyle{rm}
\usepackage{etoolbox}
\makeatletter
% Patch case where name and year are separated by aysep
\patchcmd{\NAT@citex}
{\@citea\NAT@hyper@{%
\NAT@nmfmt{\NAT@nm}%
\hyper@natlinkbreak{\NAT@aysep\NAT@spacechar}{\@citeb\@extra@b@citeb}%
\NAT@date}}
{\@citea\NAT@nmfmt{\NAT@nm}%
\NAT@aysep\NAT@spacechar\NAT@hyper@{\NAT@date}}{}{}
% Patch case where name and year are separated by opening bracket
\patchcmd{\NAT@citex}
{\@citea\NAT@hyper@{%
\NAT@nmfmt{\NAT@nm}%
\hyper@natlinkbreak{\NAT@spacechar\NAT@@open\if#1\else#1\NAT@spacechar\fi}%
{\@citeb\@extra@b@citeb}%
\NAT@date}}
{\@citea\NAT@nmfmt{\NAT@nm}%
\NAT@spacechar\NAT@@open\if#1\else#1\NAT@spacechar\fi\NAT@hyper@{\NAT@date}}
{}{}
\makeatother
\begin{document}
\title{title title title
}
... and marine environmental monitoring programs \citep{GuptaandSingh2011}. \citet{ElderCollins} pointed out the convenience of using introduced species as monitoring organisms because of their physiological tolerance range and their wide...
\renewcommand*{\bibfont}{\footnotesize}
\bibliographystyle{spbasic}
\bibliography{RefLimnoBECT}
\end{document}
also the bibtex is:
@incollection{ElderCollins,
title={Freshwater molluscs as indicators of bioavailability and toxicity of metals in surface-water systems},
author={Elder, John F and Collins, Jerilyn J},
booktitle={Reviews of Environmental Contamination and Toxicology},
editor={Ware, GW},
pages={37--79},
year={1991},
publisher={Springer},
address={New York},
}
Thank you so much in advance for the help!
