Many of the books used the order of references in this form
I use Bibtex
, and I want to arrange the references as in the form above.
I looked at the types of styles and found the nearest arrangement to above form is acm
But the letters of the name are large and the letters of a word and
are large.
What is the solution ?
Is there another style similar to the above form?
For example,
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
%Includes "References" in the table of contents
\usepackage[nottoc]{tocbibind}
%Begining of the document
\begin{document}
\maketitle
\tableofcontents
\medskip
\section{First Section}
This document is an example of BibTeX using in bibliography management. Three items are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Einstein journal paper \cite{einstein}, and the Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related items are \cite{latexcompanion,knuthwebsite}.
\medskip
%Sets the bibliography style to UNSRT and imports the
%bibliography file "samples.bib".
\bibliographystyle{acm}
\bibliography{sample}
\end{document}
The bibliography file
@article{einstein,
author = "Albert Einstein",
title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
[{On} the electrodynamics of moving bodies]",
journal = "Annalen der Physik",
volume = "322",
number = "10",
pages = "891--921",
year = "1905",
DOI = "http://dx.doi.org/10.1002/andp.19053221004"
}
@book{latexcompanion,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
title = "The \LaTeX\ Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@misc{knuthwebsite,
author = "Donald Knuth",
title = "Knuth: Computers and Typesetting",
url = "http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html"
}
The order of the reference as in the picture
Best Answer
It is much more easier to customize
biblatex
andbiber
instead ofbibtex
.So the following is based on
biblatex
(trytexdoc biblatex
to read the documentation).With the package option
you get the numeric layout you want, with
the first names are only shown with there initials and with the command
all names are printed as "familyname, firstname".
So the following MWE
should give you the result you want:
If that is not what you need please specify in your question how a book should be printed in the bibliography, how an article, an online reference etc. That is not clear with your inserted image ...
Edit:
To change the sign after a unit you can add for example the following command
to get a comma, followed by a space.
So with the following MWE
you get the following result:
Edit2:
Add after
\renewcommand*\newunitpunct
a redefinition of command\finalnamedelim
:That delets the comma you do not want.