在 bibtex 中更改顺序

在 bibtex 中更改顺序

我想改变一些参考文献的命名,并可能了解 bibtex 如何对参考文献进行排序。

这些是我的参考资料

@article{nitaj06a,
  author    = {Abderrahmane Nitaj},
  title     = {Cryptanalysis of {RSA} with constrained keys},
  journal   = {IACR Cryptology ePrint Archive},
  volume    = {2006},
  year      = {2006},
  pages     = {92},
  ee        = {http://eprint.iacr.org/2006/092},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}
@article{nitaj06b,
  author    = {Abderrahmane Nitaj},
  title     = {Application of {ECM} to a {C}lass of {RSA} keys},
  journal   = {IACR Cryptology ePrint Archive},
  volume    = {2006},
  year      = {2006},
  pages     = {235},
  ee        = {http://eprint.iacr.org/2006/235},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}
@article{nitaj06c,
  author    = {Abderrahmane Nitaj},
  title     = {{RSA} and a higher degree {D}iophantine {E}quation},
  journal   = {IACR Cryptology ePrint Archive},
  volume    = {2006},
  year      = {2006},
  pages     = {93},
  ee        = {http://eprint.iacr.org/2006/093},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

在latex生成的文档中,nitaj06a,nitaj06b,nitaj06c分别被命名为[Nit06b],[Nit06a],[Nit06c]。

有没有办法改变命名,使得引用分别对应于 [Nit06a]、[Nit06b]、[Nit06c] 的 nitaj06a、nitaj06b、nitaj06c?

PS 我认为标题的字母顺序与此有关。

答案1

如果biblatex是一个选项,您可以sortname明确指定:

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{some.bib}
@article{nitaj06a,
  author    = {Abderrahmane Nitaj},
  title     = {Cryptanalysis of {RSA} with constrained keys},
  journal   = {IACR Cryptology ePrint Archive},
  volume    = {2006},
  year      = {2006},
  pages     = {92},
  ee        = {http://eprint.iacr.org/2006/092},
  bibsource = {DBLP, http://dblp.uni-trier.de},
  sortname      =   {nitaj06a}
}
@article{nitaj06b,
  author    = {Abderrahmane Nitaj},
  title     = {Application of {ECM} to a {C}lass of {RSA} keys},
  journal   = {IACR Cryptology ePrint Archive},
  volume    = {2006},
  year      = {2006},
  pages     = {235},
  ee        = {http://eprint.iacr.org/2006/235},
  bibsource = {DBLP, http://dblp.uni-trier.de},
  sortname      =   {nitaj06b}
}
@article{nitaj06c,
  author    = {Abderrahmane Nitaj},
  title     = {{RSA} and a higher degree {D}iophantine {E}quation},
  journal   = {IACR Cryptology ePrint Archive},
  volume    = {2006},
  year      = {2006},
  pages     = {93},
  ee        = {http://eprint.iacr.org/2006/093},
  bibsource = {DBLP, http://dblp.uni-trier.de},
  sortname      =   {nitaj06c}
}
\end{filecontents}
\usepackage[backend=biber,style=alphabetic]{biblatex}
\bibliography{some}

\begin{document}
\nocite{*}

\printbibliography
\end{document}

参考 <code>biblatex</code>

答案2

引文可以按照引用顺序或字母顺序显示。请参阅 natbib 选项这里

或者,您可以使用 alpha 书目样式,或同一 wikibooks 页面上列出的其他样式之一,或者这里

相关内容