
参考文献を昇順に並べ替えたい。参考文献をアルファベット順に並べたい。私の参考文献コードは次のとおりです:
\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{*}
参考文献はこのスタイルで表示されます:
しかし、参照番号 4 を 1 番にして、2 番目を表示して、アルファベット順に並べ替えたいです。助けてください
答え1
ご質問の意味がよく分かりませんが、Boneh et. 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}