跳转到内容

How can I use BibTeX to cite a website in LaTeX?

此内容尚不支持你的语言。

There are several ways to cite a website in LaTeX. In this short answer to the question, we give three, the easiest being BibLaTeX via the CiteDrive browser extension in the last example.

需要一个简单的解决方案来管理您的BibTeX条目吗?探索CiteDrive!

  • 基于Web的现代参考文献管理
  • 与研究同行合作和分享
  • 与Overleaf集成
  • 全面的BibTeX/BibLaTeX支持
  • 直接从您的浏览器保存文章和网站
  • 从包含数千万参考文献的数据库中搜索新文章
尝试CiteDrive ► 观看演示

Using BibTeX

In BibTeX we use @misc as a workaround and make use of the note field to specify the URl and usually an access date. In this example, url (or hyperref) is required using usepackage{url}.

@misc{CiteDrive2022,
title = {CiteDrive brings reference management to Overleaf},
author = {CiteDrive, Inc},
year = 2022,
note = {\url{https://www.citedrive.com/overleaf} [Accessed: (Use the date of access)]}
}

Alternatively, the howpublished field can be used:

@misc{CiteDrive2022,
title = {CiteDrive brings reference management to Overleaf},
author = {CiteDrive, Inc},
year = 2022,
note = {Accessed: (Use the date of access)},
howpublished = {\url{https://www.citedrive.com/overleaf}}
}

Using BibLaTeX

If you use BibLaTeX, which we recommend, the @online entry type is inherently supported and works without a further tweak. You can enter the URL and access date in the fields url and urldate, respectively.

@online{CiteDrive2022,
title = {CiteDrive brings reference management to Overleaf},
author = {CiteDrive, Inc},
year = 2022,
url = {https://www.citedrive.com/overleaf},
urldate = {Use the date of access}
}

Using natbib

People frequently inquire about how to cite web pages using natbib. We emphasize that it works in the same way as BibTeX. Natbib is a tool for styling in-text citations, and it depends on BibTeX as a backend.