您好,目前我正在使用单独的.bib
文件进行引用,但我发现一些奇怪的事情,由于某种原因,我的第一个引用是 LaTeX 中的第二个引用。
@techreport{mellor1975mechanics1,
title={Mechanics of Cutting and Boring: Part {I} Kinematics of Transverse Rotation Machines},
author={Mellor, Malcolm},
year={1975},
volume={Special Report 226},
institution={Corps of Engineers US Army Cold Regions Research and Engineering Laboratory Hanover New Hampshire}
}
@techreport{mellor1975mechanics2,
title={Mechanics of Cutting and Boring: Part {II} Kinematics of Axial Rotation Machines},
author={Mellor, Malcolm},
volume={76-16},
year={1975},
institution={Corps of Engineers US Army Cold Regions Research and Engineering Laboratory Hanover New Hampshire}
}
我该如何解决这个问题,使得第一部分确实是第一个被引用的引文?
不确定是否有相关信息,但我使用这个引用命令:
\newcommand{\citeq}[1]{(\citeauthor{#1}, \citeyear{#1})}
平均能量损失
\documentclass[11pt,twoside,openright,a4paper,fleqn]{report}
\usepackage{subfiles}
\usepackage{hyperref}
\usepackage[notocbib]{apacite}
\usepackage[sectionbib]{natbib}
\usepackage{multibib}
\subfile{sections/97_Bibliography/Bibliography.tex}
\documentclass[../main.tex]{subfiles}
\begin{document}
\chapter*{Bibliography}
\addcontentsline{toc}{chapter}{\numberline{}Bibliography}
\renewcommand{\bibname}{Literature}
\bibliographystyle{apacite}
\bibliography{bronnen}
\thispagestyle{plain}
\end{document}
像这样吗?
答案1
apacite
按名称、年份和标题排序。两个条目第一次不同是在 的第二部分title
,即
Part {I} Kinematics ...
和
Part {II} Kinematics ...
如果我们丢弃括号,将所有内容转换为小写,并删除空格(这是apacite
对标题进行排序的操作),“partii”(mellor1975mechanics2
)排在“partik”(mellor1975mechanics1
)之前,因为我先于钾在字母表中。
强制进行预期排序的一种方法是使用\APACSortNoop
,这在文档中有解释apacite
。
\documentclass{article}
\usepackage[natbibapa]{apacite}
\usepackage{hyperref}
\begin{filecontents}{\jobname.bib}
@techreport{mellor1975mechanics1,
title = {Mechanics of Cutting and Boring:
Part {\APACSortNoop{01}}{I}
Kinematics of Transverse Rotation Machines},
author = {Mellor, Malcolm},
year = {1975},
volume = {Special Report 226},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory,
Hanover, New Hampshire},
}
@techreport{mellor1975mechanics2,
title = {Mechanics of Cutting and Boring:
Part {\APACSortNoop{02}}{II}
Kinematics of Axial Rotation Machines},
author = {Mellor, Malcolm},
volume = {76-16},
year = {1975},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory,
Hanover, New Hampshire},
}
\end{filecontents}
\begin{document}
\citep{mellor1975mechanics1,mellor1975mechanics2}
\bibliographystyle{apacite}
\bibliography{\jobname}
\end{document}
请注意,不建议手动在同一文档中加载apacite
和。如果您想使用with命令,则让with为您加载。natbib
apacite
natbib
apacite
natbib
\usepackage[natbibapa]{apacite}
我会稍微修改一下条目,让它们看起来像这样。特别是,我认为volume
这里不是正确的字段。
\documentclass{article}
\usepackage[natbibapa]{apacite}
\usepackage{hyperref}
\begin{filecontents}{\jobname.bib}
@techreport{mellor1975mechanics1,
title = {Mechanics of Cutting and Boring:
Part {\APACSortNoop{01}}{I}
Kinematics of Transverse Rotation Machines},
author = {Mellor, Malcolm},
year = {1975},
type = {Special Report},
number = {226},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory},
address = {Hanover, New Hampshire},
url = {http://hdl.handle.net/11681/11794},
}
@techreport{mellor1975mechanics2,
title = {Mechanics of Cutting and Boring:
Part {\APACSortNoop{02}}{II}
Kinematics of Axial Rotation Machines},
author = {Mellor, Malcolm},
type = {CRREL Report},
number = {76-16},
year = {1975},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory},
address = {Hanover, New Hampshire},
url = {http://hdl.handle.net/11681/9538},
}
\end{filecontents}
\begin{document}
\citep{mellor1975mechanics1,mellor1975mechanics2}
\bibliographystyle{apacite}
\bibliography{\jobname}
\end{document}
我应该提到,在撰写本文时,apacite
根据 APA 手册第 6 版生成引文和参考书目。该手册的第 7 版于 2019 年出版,因此apacite
不再采用当前的 APA 样式。据我所知,第 7 版 APA 样式引文和参考书目的唯一 LaTeX 实现是biblatex-apa
(2019-11-23 或更高版本的 9.0 版)
\documentclass[american]{article}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\usepackage{hyperref}
\begin{filecontents}[force]{\jobname.bib}
@techreport{mellor1975mechanics1,
title = {Mechanics of Cutting and Boring:
Part {I} Kinematics of Transverse Rotation Machines},
author = {Mellor, Malcolm},
year = {1975},
type = {Special Report},
number = {226},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory},
location = {Hanover, New Hampshire},
url = {http://hdl.handle.net/11681/11794},
}
@techreport{mellor1975mechanics2,
title = {Mechanics of Cutting and Boring:
Part {II} Kinematics of Axial Rotation Machines},
author = {Mellor, Malcolm},
type = {CRREL Report},
number = {76-16},
year = {1975},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory},
location = {Hanover, New Hampshire},
url = {http://hdl.handle.net/11681/9538},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\autocite{mellor1975mechanics1,mellor1975mechanics2}
\printbibliography
\end{document}
在这种情况下,不需要任何\APACSortNoop
解决方法,但如果您发现自己处于类似情况,您可以使用该sorttitle
字段
@techreport{mellor1975mechanics1,
title = {Mechanics of Cutting and Boring:
Part {I} Kinematics of Transverse Rotation Machines},
sorttitle = {Mechanics of Cutting and Boring: Part 01},
author = {Mellor, Malcolm},
year = {1975},
type = {Special Report},
number = {226},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory},
location = {Hanover, New Hampshire},
url = {http://hdl.handle.net/11681/11794},
}
@techreport{mellor1975mechanics2,
title = {Mechanics of Cutting and Boring:
Part {II} Kinematics of Axial Rotation Machines},
sorttitle = {Mechanics of Cutting and Boring: Part 02},
author = {Mellor, Malcolm},
type = {CRREL Report},
number = {76-16},
year = {1975},
institution = {Corps of Engineers, US Army,
Cold Regions Research and Engineering Laboratory},
location = {Hanover, New Hampshire},
url = {http://hdl.handle.net/11681/9538},
}