This should be what you want. Traditional elsart-num
:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Bli74,
author = {Blinder, Alan S.},
year = {1974},
title = {The economics of brushing teeth},
journal = {Journal of Political Economy},
volume = {82},
number = {4},
pages = {887--891},
}
@book{Kop04,
author = {Kopka, Helmut and Daly, Patrick W.},
year = {2004},
title = {Guide to \LaTeX},
edition = {4},
address = {Boston},
publisher = {Addison-Wesley},
}
\end{filecontents}
\begin{document}
\nocite{*}
\bibliographystyle{elsart-num}
\bibliography{\jobname}
\end{document}
biblatex
emulation:
\documentclass{article}
\usepackage[firstinits=true,abbreviate=false]{biblatex}
\renewcommand*{\multinamedelim}{\addcomma\space}
\renewcommand*{\finalnamedelim}{\addcomma\space}
\renewcommand*{\newunitpunct}{\addcomma\space}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat{journaltitle}{#1}
\renewbibmacro{in:}{%
\ifentrytype{article}{%
}{%
\printtext{\bibstring{in}\intitlepunct}%
}%
}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit*{\addnbspace}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\renewcommand*{\bibpagespunct}{\addspace}
\DeclareFieldFormat{pages}{#1}
\renewbibmacro*{publisher+location+date}{%
\printlist{publisher}%
\setunit*{\addcomma\space}%
\printlist{location}%
\setunit*{\addcomma\space}%
\usebibmacro{date}%
\newunit}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Bli74,
author = {Blinder, Alan S.},
year = {1974},
title = {The economics of brushing teeth},
journaltitle = {Journal of Political Economy},
volume = {82},
number = {4},
pages = {887--891},
}
@book{Kop04,
author = {Kopka, Helmut and Daly, Patrick W.},
year = {2004},
title = {Guide to \LaTeX},
edition = {4},
location = {Boston},
publisher = {Addison-Wesley},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\nocite{*}
\begin{document}
\printbibliography
\end{document}
For further information see Guidelines for customizing biblatex styles.
The crossref feature retrieves missing fields from the referenced item. Therefore, the book should have a booktitle
field, which can be used in incollection
. More details can be found in the bibtex manual.
Here's some code that gives what you're looking for:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{refs.bib}
@incollection{sweetser04,
pages = {627-637},
title = {How to Build Evolutionary Algorithms for Games},
author = {Sweetser, Penny},
crossref = {aigpw2}
}
@book{aigpw2,
title = {AI Game Programming Wisdom 2},
booktitle = {AI Game Programming Wisdom 2},
publisher = {Charles River Media},
year = {2004},
editor = {Rabin, Steve},
address = {Hingham, Massachusetts},
edition = {1}
}
\end{filecontents}
\begin{document}
Let's cite something~\cite{sweetser04}.
\bibliography{refs}
\bibliographystyle{IEEEtran}
\end{document}
Best Answer
The default definitions for this are in
biblatex.def
. In your case, they are:So you can add the following to your own
.tex
file (or to abiblatex.cfg
):The first removes the quotation marks from your citations; the second from the bibliography.