MWE见链接https://paste.ubuntu.com/p/w2jQsFyQhq/
需求:能将url或者doi 隐藏,并将整个引用文献变成超链接的形式吗?
\documentclass[cn,15pt]{article}
\usepackage[UTF8]{ctex}
\RequirePackage{hyperref}
\hypersetup{
breaklinks,
unicode,
linktoc=all,
bookmarksnumbered=true,
bookmarksopen=true,
colorlinks,
plainpages=false,
pdfstartview=FitH,
pdfborder={0 0 0},
linktocpage
}
\RequirePackage[backend=biber,
natbib=true,
style=numeric-comp,
url=true,
doi=true,
citestyle=gb7714-2015,
bibstyle=gb7714-2015]{biblatex}
\addbibresource{reference.bib}
%%------------------------------------------------%%
\title{Biblatex 测试}
\begin{document}
文献格式测试\cite{RN2351}
\printbibliography[heading=bibliography,title=参考文献]
\end{document}
%%% 将以下内容剪切到 reference.bib 文件
@article{RN2351,
author = {Johnson, B. R.},
title = {The renormalized Numerov method applied to calculating bound states of the coupled-channel Schr\"odinger equation},
volume = {69},
number = {10},
pages = {4678-4688},
DOI = {10.1063/1.436421},
url = {https://aip.scitation.org/doi/abs/10.1063/1.436421},
year = {1978},
type = {Journal Article}
}
等了好久,没有等到满意的答案。今天个人找到了完美解决方案,大家参考:
\documentclass[cn,15pt]{article}
\usepackage[UTF8]{ctex}
%\RequirePackage[backend=biber,
%natbib=true,
%sorting=none,
%style=numeric-comp,
%url=false,
%doi=false]{biblatex}
\RequirePackage{hyperref}
\hypersetup{
breaklinks,
unicode,
linktoc=all,
bookmarksnumbered=true,
bookmarksopen=true,
colorlinks,
linkcolor=blue,
citecolor=blue,
urlcolor=blue,
plainpages=false,
pdfstartview=FitH,
pdfborder={0 0 0},
linktocpage
}
\usepackage[%
backend=biber,
style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,pageranges=false,
]
{biblatex}
\addbibresource{reference.bib}
%%----------------%%
\begin{document}
文献一\cite{RN2306}
文献二\cite{RN791}
\printbibliography[heading=bibliography,title=参考文献]
\end{document}
这是APS期刊的格式。能用biblatex实现吗?