You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何配置LaTeX参考文献以符合开放大学Cite it right在线引用标准

解决Open University在线参考文献格式要求

针对你遇到的三个格式问题,直接修改LaTeX代码即可匹配Open University的要求,具体方案如下:

修改后的完整LaTeX文档代码

\documentclass{article}
\usepackage[english]{babel}
\usepackage{csquotes} 
\usepackage[style=authoryear, natbib]{biblatex}
\addbibresource{TestReferences.bib}
\usepackage{xurl}

% 1. 将URL前缀替换为"Available at:"
\DefineBibliographyStrings{english}{
  url = {Available at:},
  urlseen = {Accessed:}
}

% 2. 让URL字体与参考文献正文一致(取消默认等宽字体)
\DeclareFieldFormat{url}{\normalfont#1}
\DeclareFieldFormat{urldate}{\mkbibparens{#1}}

% 3. 取消URL换行后的缩进
\ExecuteBibliographyOptions{
  alldates=long,
  urlnoindent=true % 开启URL无缩进换行
}

\begin{document}

\subsection{Citation}
\citep{Hampton}
\printbibliography[heading=bibintoc,title={References}]
\end{document}

优化后的TestReferences.bib条目

@Online{Hampton,
  author  = {Hampton, D.L. and others},
  year    = {2006},
  title   = {An overview of the instrument suite for the deep impact mission},
  url     = {https://www.researchgate.net/publication/226736423_An_Overview_of_the_Instrument_Suite_for_the_Deep_Impact_Mission},
  urldate = {2024-04-23},
}

关键修改说明

  • 替换URL前缀:通过\DefineBibliographyStrings重新定义url字符串为“Available at:”,保留urlseen为“Accessed:”以匹配要求格式。
  • 统一字体风格:用\DeclareFieldFormat{url}{\normalfont#1}取消biblatex默认的等宽字体设置,让URL与参考文献正文字体保持一致。
  • 取消换行缩进:添加urlnoindent=true选项,强制URL换行后无缩进,配合xurl实现URL在任意位置自动换行。

另外对bib条目做了细节优化:作者格式改用标准的Hampton, D.L. and others结构,移除标题多余的单引号包裹,去掉URL末尾的冗余句号,避免格式冲突。

内容的提问来源于stack exchange,提问作者Chris Lindsey

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.23 12:22:34