I want to show in the bibliography, the authors last name first then the first name. How to do that?
Please refer to the attached code and bib file.
I have many references in bib file but for example I use only three.
Latex code
\documentclass[oneside,12pt,leqno]{book}
\input psfig.sty
\oddsidemargin=0pt
\evensidemargin=0pt
\topmargin=-0.5in
\textwidth=6.5in
\textheight=9.5in
%\topmargin=-1.5in
\usepackage[T1]{fontenc}
%\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage{times}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{endnotes}
\usepackage{makeidx}
\usepackage{caption}
\usepackage{epstopdf}
\usepackage{epsfig}
\usepackage{adjustbox}
\usepackage{array}
\begin{document}
\chapter{Test}
Old day at school \cite{abram1972,austrian1982,babbage1832}
\bibliographystyle{plain}
\bibliography{test}
\end{document}
Bib file is
@book{abram1972,
author = {Abramowitz, M. I. and Stegun, I. A.},
owner = {ray},
publisher = {Dover Publications},
title = {Handbook of Mathematical Functions with Formulas,Graphs, and Mathematical Tables},
year = {1972},
}
@book{austrian1982,
__markedentry = {[rayn:1]},
author = {Austrian, Geoffrey D},
owner = {mine_design},
publisher = {Columbia University Press},
title = {Herman Hollerith: forgotten giant of information processing},
year = {1982},
}
@book{babbage1832,
__markedentry = {[rayn:1]},
author = {Babbage, Charles},
owner = {mine_design},
publisher = {Taylor \& Francis},
title = {On the economy of machinery and manufactures},
year = {1832},
}
Best Answer
If you use
biblatex+biber
it's simple. The syntax for producing a bibliography is slightly different: you define the .bib files in the preamble with the\addbibresource
command, loadbiblatex, and simply write
\printbibliography where you want it to be. Note I changed the input encoding toutf8
asbiber
understands it.Also,
times
is obsolete, you should usemathptmx
or even better,newtx
. I don't see why you should loadpsfig
andepsfig
, since you load `graphicx.