我想按 springer svjour3 上的出现顺序排列引文(模板文件可以在这里找到https://github.com/jperkel/computed_manuscript/tree/main)
我试图提出一个基本的例子,其中引用以[2]
而不是开头[1]
。
所需文件,由于它们太长,我无法粘贴它们的源代码:
spmpsci.bst
文件:https://raw.githubusercontent.com/jperkel/computed_manuscript/main/smppsci.bstsvjour3.cls
文件:https://raw.githubusercontent.com/jperkel/computed_manuscript/main/svjour3.clssvglov3.clo
文件:https://raw.githubusercontent.com/jperkel/computed_manuscript/main/svglov3.clo
sn-bibliography.bib:
@electronic{zoo,
title={zoo},
url = {https://github.com/mrocklin/heft},
lastvisited = {2022-04-04}
}
@electronic{doo,
title={doo},
url = {https://github.com/mrocklin/heft},
lastvisited = {2022-04-04}
}
主文本:
\documentclass[twocolumn]{svjour3}
\smartqed
\usepackage{graphicx}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\bibliographystyle{spmpsci} % mathematics and physical sciences
\begin{document}
\title{Title}
\author{Author}
\institute{Author 1 \at
Location 1, \\ Department, University, Country \\
\email{[email protected]} % \\
}
\date{Received: date / Accepted: date}
\maketitle
\begin{abstract}
\keywords{bla1 \and bla2}
\end{abstract}
\section{Introduction}\label{sec1}
~\cite{zoo}
~\cite{doo}
\bibliography{sn-bibliography}
\end{document}
想要的输出将按以下顺序引用:
[1] [2]
References
1. zoo. URL https://github.com/mrocklin/heft
2. doo. URL https://github.com/mrocklin/heft
答案1
这是您链接到的 bst 文件中记录的行为
参考文献中的顺序是按作者的字母顺序排列的。