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.
I believe you need to load the ACM-Reference-Format-Journals
style to get citations and references in the form described in the excerpts you've posted. I.e., issue the command
\bibliographystyle{ACM-Reference-Format-Journals}
instead of \bibliographystyle{acm}
. If you don't already have this style file, go to the ACM LaTeX Style Guide webpage and download and unpack any one of the three zip files for authors (v2-acmsmall.zip, v2-acmlarge.zip, v2-acmtog.zip), and then copy the .bst
file to the directory that contains your TeX file(s).
To get authoryear-style citations, you should also load the natbib
package.
Addendum Feb. 2017: The ACM LaTeX style guide webpage appear to have migrated to https://www.acm.org/publications/acm-latex-style-guide-3jan2017.
Addendum Apr. 2021: The ACM LaTeX style guide webpage has migrated yet again. It is currently available at ACM Primary Article Templates AND Publication Workflow. Note that there are separate templates, depending on whether your computer uses MacOS or Windows. (I have no idea what users of Linux, etc, might want to do.) The ACM's template files are now also available in an Overleaf depository.
Best Answer
From the documentation
acmsmall-guide.pdf
(page 1:11):So you need to use
\citeN
or\citeyear
. A little example: