如何确定引用的顺序?

如何确定引用的顺序?

您好,目前我正在使用单独的.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}

Mellor, M. (1975a)。切割和钻孔力学:第一部分横向旋转机器的运动学 (Vol. Special Report 226; Tech. Rep.)。美国陆军工程兵团,寒冷地区研究与工程实验室,新罕布什尔州汉诺威。//Mellor, M. (1975b)。切割和钻孔力学:第二部分轴向旋转机器的运动学 (Vol. 76-16; Tech. Rep.)。美国陆军工程兵团,寒冷地区研究与工程实验室,新罕布什尔州汉诺威。

请注意,不建议手动在同一文档中加载apacite和。如果您想使用with命令,则让with为您加载。natbibapacitenatbibapacitenatbib\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}

Mellor, M. (1975a)。切割和钻孔力学:第一部分横向旋转机器的运动学(特别报告第 226 号)。新罕布什尔州汉诺威:美国陆军工程兵团,寒冷地区研究与工程实验室。取自 http://hdl.handle.net/11681/11794//Mellor, M. (1975b)。切割和钻孔力学:第二部分轴向旋转机器的运动学(CRREL 报告第 76-16 号)。新罕布什尔州汉诺威:美国陆军工程兵团,寒冷地区研究与工程实验室。取自 http://hdl.handle.net/11681/9538


我应该提到,在撰写本文时,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},
}

相关内容