
Ich habe Folgendes in meiner Datei „references.bib“.
@Misc{ref1,
Title = {\href{http://www.ref1.com}{aaa}}
}
@Misc{ref2,
Title = {\href{http://www.ref2.com}{ccc}}
}
@Misc{ref3,
Title = {\href{http://ref3.com}{bbb}}
}
Wie kann ich die Bibliografie in Bibtex wie folgt sortieren?
[1] aaa
[2] bbb
[3] ccc
Antwort1
Sie können ein Feld hinzufügen key
, das zum Sortieren verwendet wird:
@Misc{ref1,
key = {aaa},
Title = {\href{http://www.ref1.com}{aaa}}
}
@Misc{ref2,
key = {ccc},
Title = {\href{http://www.ref2.com}{ccc}}
}
@Misc{ref3,
key = {bbb},
Title = {\href{http://ref3.com}{bbb}}
}
Hier ist ein vollständiges Beispiel, filecontents*
nur um es in sich geschlossen zu machen.
\begin{filecontents*}{\jobname.bib}
@Misc{ref1,
key = {aaa},
Title = {\href{http://www.ref1.com}{aaa}}
}
@Misc{ref2,
key = {ccc},
Title = {\href{http://www.ref2.com}{ccc}}
}
@Misc{ref3,
key = {bbb},
Title = {\href{http://ref3.com}{bbb}}
}
\end{filecontents*}
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\nocite{*}
\bibliographystyle{plain}
\bibliography{\jobname}
\end{document}