ElegantLaTeX / ElegantPaper

Elegant LaTeX Template for Working Papers
LaTeX Project Public License v1.3c
1.32k stars 256 forks source link

参考文献顺序和引用顺序不一致 #78

Closed 18lalala closed 1 year ago

18lalala commented 2 years ago

请问这是默认的吗?我的参考文献顺序不是文中引用的顺序,该如何修改呢?

alex8468 commented 2 years ago

在导言区加上这行“\ExecuteBibliographyOptions{sorting=none}”就行了

alankuohuxiao commented 2 years ago

在导言区加上这行“\ExecuteBibliographyOptions{sorting=none}”就行了

我也遇到这样的问题。问题解决,感谢!

sikouhjw commented 1 year ago
\documentclass[cn,bibstyle=gb7714-2015,citestyle=gb7714-2015]{elegantpaper}
\begin{filecontents*}{reference.bib}
  @book{test1,
    author       = {陈登原},
    title        = {国史旧闻},
    volume       = {1},
    address      = {北京},
    publisher    = {中华书局},
    year         = {2000},
    pages        = {29},
  }

  @book{test2,
    author       = {哈里森·沃尔德伦},
    translator   = {谢远涛},
    title        = {经济数学与金融数学},
    address      = {北京},
    publisher    = {中国人民大学出版社},
    year         = {2012},
    pages        = {235--236},
  }
\end{filecontents*}
\begin{document}
\cite{test2,test1}
\printbibliography[heading=bibintoc, title=\ebibname]
\end{document}