參考文獻設定 TexStudio Ubuntu

參考文獻設定 TexStudio Ubuntu

我想按升序對我的參考書目進行排序。我想按字母順序列出我的參考文獻。我的參考書目代碼是:

\bibliographystyle{abbrvnat}
% This specifies the location of the file containing the bibliographic information.
\cleardoublepage % This is needed if the book class is used, to place the anchor in the correct page,
                 % because the bibliography will start on its own page.
                 % Use \clearpage instead if the document class uses the "oneside" argument
\phantomsection  % With hyperref package, enables hyperlinking from the table of contents to bibliography
% The following statement causes the title "References" to be used for the bibliography section:
\renewcommand*{\bibname}{References}

% Add the References to the Table of Contents
\addcontentsline{toc}{chapter}{\textbf{References}}

\bibliography{mybib}
\nocite{*}

以這種方式顯示的參考書目: 參考資料](https://i.stack.imgur.com/kkcFk.png)! 但我希望參考編號 4 應該位於編號 1,然後第二個應該顯示,這樣它們就按字母順序排序。請幫我

答案1

我不確定我是否理解你的問題,但如果你只是想移動 Boneh 等人。 al 開始,嘗試新增@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }到您的 bib 檔案並替換Boneh{{\noopsort{aaaaaaaaBoneh}}{Boneh}}.

\documentclass{article}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }

@article{reese,
  author       = {Reese, Trevor R.},
  title        = {Georgia in {Anglo-Spanish} Diplomacy, 1736--1739},
  journaltitle = {William and Mary Quarterly},
  year         = 1958,
  series       = 3,
  volume       = 15,
  pages        = {168-190},
  langid       = {english},
  langidopts   = {variant=american},
  annotation   = {An \texttt{article} entry with a \texttt{series} and a
                  \texttt{volume} field. Note the format of the series. If the
                  value of the \texttt{series} field is an integer, this number
                  is printed as an ordinal and the string \enquote*{series} is
                  appended automatically},
}

@article{sarfraz,
  author       = {M. {{\noopsort{aaaaaaaaSarfraz}}{Sarfraz}} and M. F. A. Razzak},
  title        = {Technical section: {An} algorithm for automatic capturing of
                  the font outlines},
  year         = 2002,
  volume       = 26,
  number       = 5,
  pages        = {795-804},
  issn         = {0097-8493},
  journal      = {Computers and Graphics},
  annotation   = {An \texttt{article} entry with an \texttt{issn} field},
}
\end{filecontents*}

\begin{document}

\cite{sarfraz,reese}

\bibliographystyle{abbrvnat}
\bibliography{\jobname}


\end{document}

相關內容