I am using acmsmall.zip from http://www.acm.org/publications/article-templates/acm-latex-style-guide and my bibliography looks weird :(. I am attaching a minimal example to highlight my problems. In this example I am using natbib but I have tried cite package as well and the results weren't any different.
\documentclass[prodmode,acmtecs]{acmsmall}
\usepackage{flushend,amsmath,graphicx,booktabs}
%\usepackage[obeyspaces,hyphens]{url}
\usepackage{natbib}
%\usepackage[hyphenbreaks]{breakurl}
\usepackage[]{caption}
\usepackage[]{subcaption}
\captionsetup{compatibility=false}
\usepackage[]{algorithm2e,algorithmic}
\usepackage{xspace,balance}
\usepackage[T1]{fontenc}
\urlstyle{sf}
\usepackage[utf8]{inputenc}
\begin{document}
\title{A Multifrequency MAC Specially Designed for Wireless Sensor Network Applications}
\maketitle
\section{Introduction}
Using \cite{monte-carlo} and \cite{backblaze2014}.
\bibliographystyle{ACM-Reference-Format-Journals}
{\footnotesize
\bibliography{paper}}
\end{document}
Running this code produces
A Multifrequency MAC Specially Designed for Wireless Sensor Network Applications
- INTRODUCTION
Using [?? mon] and [bac 2014].
REFERENCES
Monte Carlo method. (????).
- Hard Drive Reliability Update. (2014). https://www.backblaze.com/blog/ hard-drive-reliability-update-september-2014/.
I have couple of problems here. 1. I need numbers in front of references to show their position in the bibliography. 2. I do not want year to appear twice in the reference. 3. Do I need to have year and author name for each bib entry? Is this why those question marks appear in the reference entry?
The corresponding entries in the bibliography are
@article{monte-carlo,
title={{Monte Carlo method}},
note={\url{http://en.wikipedia.org/wiki/Monte_Carlo_method}}
}
@article{backblaze2014,
title={{Hard Drive Reliability Update}},
year={2014},
note={\url{https://www.backblaze.com/blog/hard-drive-reliability-update-september-2014/}}
}
@article
seems inappropriate for the two entries you've shown. The entry type@article
hasauthor
,journal
, andyear
among the required fields. I'd use the@misc
entry type instead.Wikipedia
, which is quite strange. I suggest to change it toWikipedia contributors
.