在數位引文標註中,我希望[
和]
字元為黑色,數字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) 載入包並設定包選項。\item
thebibliography
cite
\cite
hyperref
citecolor=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}