如何组织 BibTeX 条目

如何组织 BibTeX 条目

如何编写Bibtex代码请参考以下:

NHTSA (2013 a)。美国交通部发布自动驾驶汽车发展政策。5 月 30 日。摘自国家公路交通安全管理局: http://www.nhtsa.gov/About+NHTSA/Press+Releases/US+Department+of+Transportation+Releases+Policy+on+Automated+Vehicle+Development

答案1

我建议采用以下设置:

@misc{nhtsa:2013a,
author = "NHTSA",
year   = "2013",
title  = "{U.S. Department of Transportation} Releases Policy 
          on Automated Vehicle Development",
month  = "May 30",
howpublished = "\url{https://www.transportation.gov/briefing-room/us-department-transportation-releases-policy-automated-vehicle-development}",
}

@misc观察条目类型和五个[5]字段的使用: authortitleyearmonthhowpublished

为了能够使用字段\url内使用的宏howpublished,必须加载url和/或包。hyperref

对于三种参考书目样式选择,LaTeX 输出可能如下所示。

apalike

在此处输入图片描述

plainnat

在此处输入图片描述

chicago

在此处输入图片描述

\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@misc{nhtsa:2013a,
author = "NHTSA",
year   = "2013",
title  = "{U.S. Department of Transportation} Releases Policy on Automated Vehicle Development",
month  = "May 30",
howpublished = "\url{https://www.transportation.gov/briefing-room/us-department-transportation-releases-policy-automated-vehicle-development}",
}
\end{filecontents}
\documentclass{article}
\usepackage{ragged2e}
\usepackage[authoryear]{natbib}
\setlength\bibhang{0pt} % just for this example
\bibliographystyle{apalike} % or: plainnat, chicago, etc
\usepackage[spaces,hyphens]{url}
\usepackage[colorlinks,urlcolor=red]{hyperref}
\begin{document}
\nocite{*}
\RaggedRight
\bibliography{mybib}
\end{document}

答案2

这可能不是最巧妙的解决方案(更像是一种快速修复),但它可以产生您所要求的结果:

@misc{label,
  title={{U}.{S}. {D}epartment of {T}ransportation {R}eleases {P}olicy on {A}utomated {V}ehicle {D}evelopment. {M}ay 30},
  author={NHTSA (2013 a)},
  howpublished={Retrieved from National Highway Traffic Safety Administration: \url{http://www.nhtsa.gov/About+NHTSA/Press+Releases/U.S.+Department+of+Transportation+Releases+Policy+on+Automated+Vehicle+Development}}
}

花括号是为了保留标题中的大写字母。我将日期添加到标题中,以便将其放在您想要的位置。我不知道您想如何输入网址,当然您可以更改它。

希望这可以帮助

相关内容