以蓝色引用乳胶中的参考文献

以蓝色引用乳胶中的参考文献

在数字引用标注中,我希望[]字符为黑色,数字12为蓝色。

The debate on alternatives to null hypothesis significance tests based 
on p-values [63] has led to a renewed interest in the Bayesian alternative 
known as the Bayes factor. Advantages of such Bayesian tests include the 
ability to provide evidence in favor of both the null and the alternative 
hypotheses [12].

\item \label{Boscoe} 
{Boscoe, A., Paramore, C., & Verbalis, J. G. (2006). Cost of illness of 
hyponatremia in the United States. Cost effectiveness and resource 
allocation : C/E, 4, 10. https://doi.org/10.1186/1478-7547-4-10}

答案1

我认为您是手动构建文档的参考书目。如果这个假设是正确的,那么要实现您的目标,您所需要做的就是 (a)在环境中使用\bibitem而不是,(b) 加载引文管理包并使用命令生成数字样式的引文标注,以及 (c) 加载包并设置包选项。\itemthebibliographycite\citehyperrefcitecolor=blue

在此处输入图片描述

\documentclass{article}
\usepackage[noadjust]{cite}
\usepackage{xcolor}
\usepackage{xurl} % to typeset URL strings
\usepackage[colorlinks,citecolor=blue,urlcolor=red]{hyperref}
\hyphenation{hypo-na-tremia} % optional
\begin{document}

\noindent
\cite{Boscoe}

\begin{thebibliography}{99}
\setcounter{enumiv}{11} % just for this example

\bibitem{Boscoe} Boscoe, A., Paramore, C., \& Verbalis, J. G. (2006). Cost 
of illness of hyponatremia in the United States. Cost Effectiveness and 
Resource Allocation: C/E, 4, 10. \url{https://doi.org/10.1186/1478-7547-4-10}

\end{thebibliography}
\end{document}

相关内容