如何引用网站

如何引用网站

我试图引用一个网站,但没有成功。我发现一个网站说以下方法应该有效:

@ONLINE{Ford:2011:Online,
author = {Ford, Rebecca},
title = {Earthquake: Twitter Users Learned of Tremors Seconds Before Feeling Them {@ONLINE}},
month = Aug.,
year = {2011},
url = {http://www.hollywoodreporter.com/news/earthquake-twitter-users-learned-tremors-226481}
}

但这只会产生以下输出:

5] R. Ford.地震:Twitter 用户在感受到地震前几秒就获悉了地震@ONLINE,2011 年。

答案1

看起来您正在尝试使用某种数字样式。下面的方法有效,尽管您无疑需要摆弄标题等的确切样式。(顺便说一句,请注意使用日期字段的正确方法。)

\documentclass{article}
\begin{filecontents}{\jobname.bib}
@online{ford,
author = {Ford, Rebecca},
title  = {Earthquake: Twitter Users Learned of Tremors
          Seconds Before Feeling Them},
date   = {2011-08},
url    = {http://www.hollywoodreporter.com/news/earthquake-twitter-users-learned-tremors-226481}
}
\end{filecontents}

\usepackage[style=numeric,backend=biber]{biblatex}

\addbibresource{\jobname.bib}

\begin{document}

You can cite an online resource \cite{ford}.

\printbibliography

\end{document}

在线资源引用

相关内容