Code: Select all
\bibitem{Key} Lastname, Firstname. "Article", Journal, Vol. pages
1. Lastname, Firstname. "Article", Journal, Vol. pages
If instead I use:
Code: Select all
\bibitem[1]{Key} Lastname, Firstname. "Article", Journal, Vol. pages
[1] Lastname, Firstname. "Article", Journal, Vol. pages
I want the format to appear as the latter (bracketed numbers in the bibliography), but I don't want to have to manually enter in each number--I want bibitem to keep track of which number it is assigning to each reference. Online, I see people claiming [] is the default, but it certainly does NOT appear that way!
I am using the spie.cls style file, available here: http://kmh-lanl.hansonhub.com/spie/spie.cls
In particular, what to me seems like the relevant snippet in the spie.cls style file defines the bibliography as follows:
Code: Select all
%%%% references %%%%
% Give the references section a section number
\def\thebibliography#1{\section*{REFERENCES\@mkboth
{REFERENCES}{REFERENCES}}\list
{[{\hskip .02em}\arabic{enumi}{\hskip .05em}]}
{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
\advance\leftmargin\labelsep \usecounter{enumi}}
\def\newblock{\hskip .11em plus .33em minus .07em}
%% reduce vspace between items
\parskip -0.7ex plus 0.5ex minus 0ex
\if0\@ptsize\else\small\fi %% smaller fonts
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode`\.=1000\relax}
\let\endthebibliography=\endlist