我想引用一个在线参考。我正在使用以下代码:
@ONLINE{a4,
title = "Correlation, Confidence Interval, and Sample Size",
author ={millercommamatt},
url = {http://millercommamatt.com/journal/index.php/2008/02/19},
year = "2008 (accessed November 25, 2013)"
}
但我只看到这样的东西:
但没有 URL,我该怎么办?
答案1
bibstyleieeetr
不知道该字段url
;它也不知道该类型online
,但这是一个小问题。
和
@misc{a4,
title = {Correlation, Confidence Interval, and Sample Size},
author = {millercommamatt},
note = {\url{http://millercommamatt.com/journal/index.php/2008/02/19}},
year = {2008 (accessed November 25, 2013)},
}
\usepackage{url}
您解决了这两个问题。如果没有,请记住要有\usepackage{hyperref}
。
最小的例子。
\begin{filecontents*}{\jobname.bib}
@misc{a4,
title = {Correlation, Confidence Interval, and Sample Size},
author = {millercommamatt},
note = {\url{http://millercommamatt.com/journal/index.php/2008/02/19}},
year = {2008 (accessed November 25, 2013)},
}
\end{filecontents*}
\documentclass{article}
\usepackage{url}
\begin{document}
\cite{a4}
\bibliographystyle{ieeetr}
\bibliography{\jobname}
\end{document}