I am using babelbib in order to generate my bibliography. However, it won't satisfy all my needs. I just want the entrys to be formatted like
[1] Knuth, D. and Torvalds, L.: We didn't write anything together etc.
[2] Abraham, A. and Barbara, B.: Our entry is not at the first place
So it has to fulfill:
- Order items as they appear within the text (and use numbers)
- Abbreviate names
- Names must all be in the order of "lastname, firstname"
I was using either
\bibliographystyle{bababbrv-lf}
\bibliographystyle{babunsrt-lf}
Each one only achieves 2 of the 3 points above. How can I get the whole thing to work? Below, you see a minimal working example, compiled with
pdflatex mwe.tex
bibtex mwe
pdflatex mwe.tex
pdflatex mwe.tex
pdflatex mwe.tex
mwe.tex
\documentclass[a4paper]{scrbook}
\usepackage[ngerman]{babel}
\usepackage{babelbib}
\begin{document}
\chapter{One}
Once, Lastname1 Firstname1 wrote a story~\cite{randomGuyStory}. And so did Derpina Derp~\cite{randomDerpinaStory}.
\backmatter
\bibliographystyle{babunsrt-lf}
% \bibliographystyle{bababbrv-lf}
\bibliography{mwebib}
\end{document}
mwebib.bib
@article{randomDerpinaStory,
title={The Story of tl;dr},
author={Derp, Derpina and Herp, Herpington},
journal={Journal of Sunday-workers},
volume={284},
number={46},
pages={31548--31554},
}
@MASTERSTHESIS{randomGuyStory,
author = {Lastname1, Firstname1 and Lastname2, Firstname2 and Lastname3, Firstname3},
title = {Cool Story Bro},
school = {Random University},
year = {2012}
}
\documentclass{...}
and ending with\end{document}
.