目前这是我的 bib 文件的内容:
@Article{RMPM,
author = "B. Wang, M.A Hicks, P.J. Vardon",
title = "Slope failure analysis using the random material point method",
volume = "6",
number = "2"
pages = "113-118",
year = "2016",
DOI = "http://dx.doi.org/10.1680/jgele.16.00019"
}
@Article{RFEM,
author = "M.A Hicks, W.A. Spencer",
title = "Influence of heterogeneity on the reliability and failure of a long 3D slope",
volume = "37",
number = "7-8"
pages = "948-955",
year = "2010"
DOI = "http://dx.doi.org/10.1680/jgele.16.00019"
}
我希望这能给我一组干净的期刊参考文献,其中的编号索引与图中所示类似这里。然而我得到的是
首先,“参考文献”标题的位置太高于参考书目。
其次,参考文献没有编号。当我引用它们时,引用显示为作者全名+日期,这不是我想要的。我更喜欢编号引用...
第三,期刊相关字段未显示在我的参考文献列表中。从 bib 文件中可以看出,我提供了日期、页码和 DOI,而这些内容本身并未出现在参考书目中。
我的 tex 文件中的代码如下所示:
\documentclass[jou,apacite]{apa6}
\usepackage{graphicx}
\title{Brief literature review}
\shorttitle{APA style}
\author{Name}
\affiliation{affiliation}
\abstract{This is a brief literature review for both documents provided by }
\rightheader{APA style}
\leftheader{Author One}
\begin{document}
\cite{RMPM,RFEM}
\bibliography{Ref}
\end{document}
Ref.bib
文件在哪里bib
。
我怎样才能让 Texmaker 给我编号参考并修复日记帐分录问题(如上所述)?
答案1
首先,apacite
参考书目样式旨在生成作者年份样式的引文标注,不是数字引文标注。如果您必须创建数字引文标注,请不要使用apacite
书目样式。话虽如此,由于您使用的是apa6
文档类,我不明白为什么您要选择除作者年份样式引文标注之外的其他样式。
其次,您发布的两个 bib 条目包含几个严重错误。
使用关键词
and
来区分作者。请勿为此目的使用逗号。每个字段必须以逗号结束。目前,第一个条目缺少一个逗号字段结束符,而第二个条目缺少两个 [2!] 逗号字段结束符。
对于类型的条目
@article
,该字段journal
是必需的。然而,这两条记录中都缺少这条信息。
这是部分编辑的建议。
@Article{RMPM,
author = "B. Wang and M. A. Hicks and P. J. Vardon",
title = "Slope failure analysis using the random material point method",
journal = "aaa bbb ccc",
volume = "6",
number = "2",
pages = "113-118",
year = "2016",
DOI = "http://dx.doi.org/10.1680/jgele.16.00019"
}
@Article{RFEM,
author = "M. A. Hicks and W. A. Spencer",
title = "Influence of heterogeneity on the reliability and failure of a long {3D} slope",
journal = "aaa bbb ccc",
volume = "37",
number = "7-8",
pages = "948-955",
year = "2010",
DOI = "http://dx.doi.org/10.1680/jgele.16.00019"
}
这是完整的 MWE。请注意,除了实施上面给出的建议之外,(a) 我在和字段中更改-
为,并且 (b)使用选项明确加载包。显然,您需要提供正确的期刊名称。--
pages
number
url
hyphens
\RequirePackage{filecontents}
\begin{filecontents}{Ref.bib}
@Article{RMPM,
author = "B. Wang and M. A. Hicks and P. J. Vardon",
title = "Slope failure analysis using the random material point method",
journal = "abc def ghi",
volume = "6",
number = "2",
pages = "113--118",
year = "2016",
DOI = "http://dx.doi.org/10.1680/jgele.16.00019"
}
@Article{RFEM,
author = "M. A. Hicks and W. A. Spencer",
title = "Influence of heterogeneity on the reliability and failure of a long {3D} slope",
journal = "jkl mno pqr",
volume = "37",
number = "7--8",
pages = "948--955",
year = "2010",
DOI = "http://dx.doi.org/10.1680/jgele.16.00019"
}
\end{filecontents}
\documentclass[jou,apacite]{apa6}
\usepackage{graphicx}
\usepackage[hyphens]{url}
\usepackage{lipsum} % filler text
\title{Brief literature review}
\shorttitle{APA style}
\author{Name}
\affiliation{Affiliation}
\abstract{This is a brief literature review for
both documents provided by \dots}
\rightheader{APA style}
\leftheader{Author One}
\begin{document}
\maketitle
\lipsum[1] % filler text
As argued by \citeA{RMPM} and \citeA{RFEM}, \dots
\bibliography{Ref}
\end{document}