![这样的参考文献格式该怎么做?参考文献中记录了论文中引用的位置](https://linux22.com/image/433933/%E8%BF%99%E6%A0%B7%E7%9A%84%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E6%A0%BC%E5%BC%8F%E8%AF%A5%E6%80%8E%E4%B9%88%E5%81%9A%EF%BC%9F%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E4%B8%AD%E8%AE%B0%E5%BD%95%E4%BA%86%E8%AE%BA%E6%96%87%E4%B8%AD%E5%BC%95%E7%94%A8%E7%9A%84%E4%BD%8D%E7%BD%AE.png)
答案1
backref
您可以通过选项biblatex
以及hyperref
链接获得此功能。
默认情况下你会得到如下内容:
您可以使用 更改外观renewbibmacro
。这是一个近似于您的示例的 MWE。
\documentclass{article}
\usepackage[backref,backend=biber]{biblatex}
\usepackage[colorlinks]{hyperref}
\usepackage[dvipsnames]{xcolor}
\hypersetup{linkcolor=BrickRed}
\begin{filecontents}{\jobname.bib}
@article{Dummy2015,
title={A title},
author={Dummy Author and Ann O Nymous},
journal={Journal of Testing},
volume={10},
pages={1--7},
year={2015}
}
@article{Nymous2032,
title={Something},
author={Ann O Nymous},
journal={Fake Journal},
volume={1},
pages={1--9},
year={2032}
}
@book{Dummy2002,
title={Don't cite me on this},
author={Dummy Author},
year={2002}
}
\end{filecontents}
\addbibresource{\jobname.bib}
% change pagereference format
\renewbibmacro*{pageref}{%
\iflistundef{pageref}%
{}%
{\printtext{\addperiod\space\(\uparrow\)%
\printlist[pageref][-\value{listtotal}]{pageref}}}}
\begin{document}
% first page, make a reference
Cite one~\cite{Dummy2015} \newpage
% second page, make two references
Cite again~\cite{Nymous2032,Dummy2015} \newpage
% inlcude one reference without citing it
\nocite{Dummy2002}
\printbibliography
\end{document}
得出: