我对 Latex 以及使用其所有集成工具(如 Zotero)都还很陌生。目前我已经掌握了大部分基础知识,但在引用方面遇到了问题。当使用 \cite 在文中添加新引用时,该引用现在在参考书目中被指定为 [1] - 即使它实际上是文中的第三个引用。引用越多,这个数字就越大,所以现在我在文中的第一个引用是 [5],最后一个引用是 [1]。显然这应该是相反的,但我不知道如何解决这个问题。据我所知,.bib 文件中的顺序应该无关紧要(尽管我当然可能是错的)。我在图中有一个引用,但完全删除它并不能解决我的问题,所以我不怀疑这是罪魁祸首。在谷歌搜索了几个小时后,我真的很茫然。
\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[
backend=biber,
]{biblatex}
\addbibresource{Astrochemistry - HCN.bib}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{enumitem}
\usepackage{listings}
\usepackage{verbatim}
\usepackage{eurosym}
\usepackage[export]{adjustbox}
\usepackage[version=4]{mhchem}
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\begin{document}
\section{The Basics}
\subsection{Basic Structure}
this should be number one, but it is not.\cite{pubchem_hydrogen_nodate}
\subsection{Spectral Properties and Observable Transitions}
test test test. \cite{keedy_rotational-vibrational_1992}
test test, this should be citation 3, but it is 1 instead!\cite{hernandez_vera_rotational_2017}
\newpage
\printbibliography
\end{document}
我排除了诸如标题页之类的内容,但保留了所有包裹,因为我认为那些是最重要的。
哦,我的 .bib 文件目前看起来像这样,当然,Zotero 会根据我的操作对其进行更新:
@article{hernandez_vera_rotational_2017,
title = {The rotational excitation of the {HCN} and {HNC} molecules by {H2} revisited},
volume = {468},
issn = {0035-8711},
doi = {10.1093/mnras/stx422},
abstract = {HCN and HNC are two fundamental molecules in the dense interstellar medium. The HNC/HCN abundance ratio depends on the kinetic temperature and can be used to explore the physical and chemical conditions of star-forming regions. Modelling of HCN and HNC emissions from interstellar clouds requires to model their collisional and radiative excitations. We report the calculation of the HCN and HNC excitation rate coefficients among the first 26 rotational levels due to H2 collisions, for temperatures ranging from 5 to 500 K, using the exact close coupling and the approximate coupled states methods. We found a propensity for even Δj transitions in the case of HCN–para-H2 collisions, whereas a propensity for odd Δj transitions is observed in the case of HNC–para-H2 collisions. For collisions with ortho-H2, both molecules show a propensity rule favouring transitions with odd Δj. The rate coefficients for HCN and HNC differ significantly, showing clearly that the collisional excitation of the two isomers is different, especially for para-H2. We also evaluate the impact of these new data on the astrophysical modelling through radiative transfer calculations. It is shown that specific calculations have to be performed for the two isomers and that the HNC/HCN abundance ratio in cold molecular clouds cannot be estimated from line intensity ratio. Finally, observations of the two isotopologues H13CN and HN13C towards a sample of prestellar cores are presented, and the larger excitation temperature of HN13C is well reproduced by our excitation model.},
number = {1},
urldate = {2022-06-06},
journal = {Monthly Notices of the Royal Astronomical Society},
author = {Hernández Vera, M. and Lique, F. and Dumouchel, F. and Hily-Blant, P. and Faure, A.},
month = jun,
year = {2017},
pages = {1084--1091},
}
@misc{pubchem_hydrogen_nodate,
title = {Hydrogen cyanide},
url = {https://pubchem.ncbi.nlm.nih.gov/compound/768},
abstract = {Hydrogen cyanide {\textbar} HCN or CHN {\textbar} CID 768 - structure, chemical names, physical and chemical properties, classification, patents, literature, biological activities, safety/hazards/toxicity information, supplier lists, and more.},
urldate = {2022-06-06},
author = {PubChem},
}
@article{keedy_rotational-vibrational_1992,
title = {The rotational-vibrational spectra of {HCN} and {DCN}: {A} physical chemistry experiment},
volume = {69},
issn = {0021-9584, 1938-1328},
shorttitle = {The rotational-vibrational spectra of {HCN} and {DCN}},
doi = {10.1021/ed069pA296},
number = {11},
journal = {Journal of Chemical Education},
author = {Keedy, Curtis R.},
month = nov,
year = {1992},
pages = {A296},
}
答案1
为了完整性起见,这是上面的评论中给出的答案:
首先,这与 Zotero 无关:如何创建 .bib 文件取决于您,Zotero 只是其中一种方式。我怀疑这里发生的事情是参考文献在参考书目中按字母顺序排序。尝试 选项sorting=none
。biblatex
有关更多信息,请参阅此线程:tex.stackexchange.com/questions/51434/biblatex-citation-order
这正是解决问题的方法,我只是不知道确切的位置或如何找到它。