\bibitem,
be sure to punctuate references and insert spaces where appropriate.
\bibitem commands
or by bibtex, so they should not be specified explicitly.
The most common labelling schemes are numerical (e.g., [1], [2], ...,
the default in latex),
and alphanumerical (e.g., [GKP92], [Kn97a], [Kn97b], ...). In the latter
scheme the labels are constructed from the initials of the authors
(typically,
the first two letters of the author's last name in case of a single
author item, and the first letter of the last name of each
author in case of multiple-author items), and the year of publication
(usually the last two digits, followed by a,b, etc., in case there are
multiple entries by the same author in the same year).
\bibitem, the following standard conventions should be followed.
thebibliography environment, using
\bibitem to set an individual reference. The
\bibitem command is a variation of the \item
command, and its syntax is similar.
Here is an example illustrating the formatting of four different types
of bibliography entries:
an ordinary journal article (Knuth), a book (Graham/Knuth/Patashnik),
an article published in a conference proceedings (Erdos), and an
unpublished paper (Simpson):
\begin{thebibliography}{9}
\bibitem{Erdos01} P. Erd\H os, \emph{A selection of problems and
results in combinatorics}, Recent trends in combinatorics (Matrahaza,
1995), Cambridge Univ. Press, Cambridge, 2001, pp. 1--6.
\bibitem{ConcreteMath}
R.L. Graham, D.E. Knuth, and O. Patashnik, \emph{Concrete
mathematics}, Addison-Wesley, Reading, MA, 1989.
\bibitem{Knuth92} D.E. Knuth, \emph{Two notes on notation}, Amer.
Math. Monthly \textbf{99} (1992), 403--422.
\bibitem{Simpson} H. Simpson, \emph{Proof of the Riemann
Hypothesis}, preprint (2003), available at
\url{http://www.math.drofnats.edu/riemann.ps}.
\end{thebibliography}
Some points to note:
\bibitem ("Erdos01",
"ConcreteMath", "Knuth92", "Simpson") in the
above example) represent the citation keys (i.e., the keys
used inside the \cite{...} commands to match up citations
with bibliography items), not the labels that get printed in the
bibliography. By default, the bibliography items are given
consecutive numeric labels, set in square brackets. In the above
example, the four bibliography items will be labeled [1], [2], [3],
[4].
\bibitem:
\bibitem[Er01]{Erdos01} ....
\bibitem[GKP89]{ConcreteMath} ....
\bibitem[Kn92]{Knuth92} ...
\bibitem[Si03]{Simpson} ....
It is important to distinguish between these explicit labels, set in
brackets, and the citation keys, set in braces. The citation keys
serve as internal labels that are
used to match up citations with references, but which have no bearing
on the output. The explicit labels generate the printed
labels, but are not used internally.
It may be convenient to
choose the same string for both types of labels, as in
\bibitem[GKP89]{GKP89}.
\begin{thebibliography} command requires a
second argument ({9} in the above example) that
represents (approximately) the width of the widest label and which
determines the amount of indentation used. This second
argument is mandatory; if it is
missing, an error message is generated.
It doesn't matter
what you put inside the braces as long as the width of the string
inside the braces represents approximately the widest label (without
the brackets). As a practical matter, if the default (numerical)
labeling system is used, use the string "9" if only single digit
numbers occur, "99" if the largest reference number has two digits,
and so on. If explicit labels are used, use the longest label as
string; for
instance, in the above example, [GKP89] is the widest label,
so an appropriate string would be "GPK89".
\usepackage{url}
near the beginning of the document, and enclose
any web and email addresses in the document in "\url{...}":
\url{http://www.math.drofnats.edu/~gauss}
\url{gauss@math.drofnats.edu}
The \url{...} command does all the work: It sets the enclosed expression in
the appropriate typewriter style font, it takes care of any necessary
linebreaking, and it chooses break points intelligently (e.g., between
components of an address), and it ensures that special symbols such as the
tilde symbol or the "at" symbol get typeset correctly.
\author, \title, \section,
etc., while the appearance of these items in the typeset document
is determined by the document class.
Bibtex is a program that applies the same philosophy to bibliographies. In bibtex, bibliography entries are specified by providing values for fields such as author, title, volume, etc., without regard to the formatting of these items. The formatting is determined by a bibliography style, which plays the same role as the document class in LaTeX.
To set a bibliography using bibtex requires the following steps, which will be explained in detail below.
@article{Knuth92,
author = "D.E. Knuth",
title = "Two notes on notation",
journal = "Amer. Math. Monthly",
volume = "99",
year = "1992",
pages = "403--422",
}
@book{ConcreteMath,
author = "R.L. Graham and D.E. Knuth and O. Patashnik",
title = "Concrete mathematics",
publisher = "Addison-Wesley",
address = "Reading, MA",
year = "1989"
}
@unpublished{Simpson,
author = "H. Simpson",
title = "Proof of the {R}iemann {H}ypothesis",
note = "preprint (2003), available at
\texttt{http://www.math.drofnats.edu/riemann.ps}",
}
@incollection{Er01,
author = "P. Erd{\H o}s",
title = "A selection of problems and results in combinatorics",
booktitle = "Recent trends in combinatorics (Matrahaza, 1995)",
publisher = "Cambridge Univ. Press",
address = "Cambridge",
pages = "1--6"
}
The four entries illustrate the most common entry types: article,
book, incollection, unpublished.
Depending on the bibliography style used, other types may be
available, but in most cases the four types suffice. For a complete
listing of possible record types, see Chapter 10 in Gratzer's book.
Here are some points to note:
@article is equivalent to @ARTICLE.
MathSciNet has a handy "clipboard" feature that greatly facilitates this task. For each of the bibliography entries, perform a regular MathSciNet search to locate the entry, click on "Add citation to clipboard", and move on to the next item in the bibliography. When you are done, click on the link "View clipboard" (near at the top left of the page), select "bibtex" as format, and "Save all". This will display bibtex versions of all records that have been saved to the clipboard. Now, save the page as a text file to be used as a bibtex database, or paste the records into an existing bibtex database file. (In netscape, use the "Save as" option from the File menu and select "text" as file format.) The final step consists in "matching up" the keys of the bibtex records with the citation keys of the paper. MathSciNet uses MR numbers (strings such as MR1999i:11139) for keys. Replace these MR numbers by the appropriate citation keys of the paper.
MathSciNet contains records of nearly all mathematical literature published during the past 50 years, but records for older references and unpublished items will still have to be created manually. Thus, even if MathSciNet is used to obtain bibtex records, a basic understanding of syntax of bibtex databases is necessary in order to create records that are not in MathSciNet.
mybibliography.bib, has
been created, it can be loaded by placing
the following two commands at the end of
the main tex file of the paper, just before
\end{document}.
\bibliographystyle{amsplain}
\bibliography{mybibliography}
The \bibliographystyle{...} entry determines the
formatting of bibliographies. There are four commonly used bibliography
styles, plain, alpha,
amsplain, amsalpha.
The latter two may be preferable since those are the styles used by AMS
publications. The "plain" versions of these styles generate
numeric labels, the "alpha" versions generate alphanumeric labels
constructed from the authors' initials and the year of publication.
Many publishers have in-house style files and ask authors of accepted papers to prepare final versions using those style files. This requires downloading and installing the publisher's style file; see the page "Installing and using custom packages and styles" for instructions on how to do this.
The \bibliography{...} entry
tells LaTeX the name of the bibtex database containing the
bibliographic information. The argument in braces should be the name
of the bibtex file, but without the .bib extension.
The above example assumes there is a file mybibliography.bib
in the current directory. Note that this file can contain many more
records than are needed for the particular paper. This allows one
to keep all records in a single personal bibtex database; it also
makes it possible to share bibtex databases, and to compile large
databases of bibtex records in a particular field and make those
available for anyone to use.
paper.tex, along with a
bibtex database, mybibliography.bib, which has been
loaded in the paper as shown above. To completely process the paper
execute the following commands, in sequence:
paper.aux, containing information about citations (and
other types of references), the bibliography style used, and the name
of the bibtex database.
The second run (through bibtex) uses the
information in the auxiliary file, along with the data contained in the
bibtex database, to create a
file paper.bbl. This file contains a
thebibliography environment with \bibitem
entries formatted according to the bibliography style specified.
In principle, the file paper.bbl
could be pasted into the main tex file
(paper.tex), replacing the lines
\bibliographystyle{...}
\bibliography{...}. The resulting tex file would then be of the
same form as a LaTeX file with a manually formatted bibliography.
However, this is not necessary unless
one wants to create a single self-contained file (e.g., because a
publisher requested so).
The final two runs by latex process the paper again through latex, now
using the file paper.bbl for the bibliography.
In situations with complex cross-referencing, it may be necessary to do more than two latex runs. If additional runs are necessary, LaTeX will issue an appropriate warning.
Last modified: Mon 17 Sep 2007 12:42:07 PM CDT A.J. Hildebrand