Bibliography Math Paper

LaTeX tips: Bibliographies

The top ten list

A list of the most useful tips and the most common sources of errors.

Stylistic conventions for bibliographies in mathematical writing

While there is some degree of variation in the styles in which different journals set their bibliographies, there are a number generally accepted stylistic conventions for bibliographies in research level mathematical writing that authors should try to follow.
  • All items listed in the bibliography should be cited in the body of the paper. There should be no "gratuitious" references. If you want a particular item to be listed in the bibliography, work in a citation using phrases like "See also ...", or "for related work on this topic see ...".
  • Bibliography items should be ordered alphabetically, by author. Multiple references by the same author (or the same set of authors) should be ordered chronologically.
  • Use standard journal abbreviations. For example, "J. Number Theory" is the correct abbreviation for the Journal of Number Theory; do not use "J. of Number Theory", "J. Number Th.", or "JNT". The authoritative source for journal abbreviations is MathSciNet; to find an abbreviation, either look up the paper in MathSciNet, or (in case the paper is not in the MathSciNet database), use the "Search the Journals Database" option of MathSciNet. Be aware that authors do not always use correct abbreviations, so journal abbreviations you might see in other articles are not necessarily the "correct" abbreviations.
  • Be consistent. Whatever format and style you choose, make sure that the same style/format is used for all bibliography entries. Inconsistencies in the bibliography are distracting and create a bad impression on the reader/referee of the paper. For example, first names of authors may be abbreviated or spelled out (most people prefer the former), but whatever choice is made, it should be applied consistently to all references.
  • Use proper punctuation and spacing in references. If you set references manually with , be sure to punctuate references and insert spaces where appropriate.
  • Style of reference labels. In most styles reference labels are placed inside brackets. The brackets are generated by the 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).
  • Citing unpublished papers. Papers that have not yet been published do not come equipped with "official" bibliographical information, so there is some leeway in listing these papers. Depending on the nature of the work, different ways to list such papers are called for:
    • Papers that have been accepted for publication, but have not yet appeared. In this case, provide the name of the journal (using standard abbreviations), followed by "to appear".
    • Papers that have been submitted for publication, but have not yet been accepted. In this case, simply say "submitted", or "preprint", optionally followed by a URL if the paper is available online. There is no need to mention the journal; by not naming the journal, you can save yourself some embarrassment in case the paper ends up getting rejected.
    • Papers that exist as manuscripts, but have not (yet) been submitted. Use "preprint"; if you have posted the paper on your website or on a preprint server, provide a URL.
    • Papers that are "in preparation". This is a grey category and is probably best avoided. A paper listed as being "in preparation" can mean a number of things - from an idea in one's head to a rough, but complete draft. It's best to err on the conservative side and only cite items that have been written up and which physically exist.
  • Formatting of bibliography entries. If bibtex is used to generate bibliographies, the issue does not arise since the formatting of the bibliography entries is determined by the bibliography style. However, when formatting bibliographies manually with , the following standard conventions should be followed.
    • Author(s), title, and journal name. The two most common ways to format these three items are: (i) italics for the title of the paper, and ordinary (Roman) font for the author(s) and the name of the journal; (ii) italics for the name of the journal, and ordinary font for author(s) and title. The examples below illustrate the first style, which is the style used by the AMS journals.
    • Volume, issue, year, and page numbers. In contrast to popular magazines, which begin each issue with page number 1, scholarly journals are grouped into volumes, consisting of two or more issues each, and are paginated consecutively within each volume.. Thus, an article is (usually) uniquely identified by specifying the volume number (e.g., volume 99) and the page range (e.g., pages 403-422). The particular issue within a given volume need not be specified, and usually (though not always) is left out. Typically, a journal "volume" is of a size that is suitable for binding as a single volume. A journal may issue one or more volumes per year. The year of publication (though redundant) is usually indicated in parenthesis after the volume number, which is set in boldface. A typical volume/year/page number listing is as follows: "99 (1992), 403-422."
    • Book references. In addition to author and title, book references require the following items: publisher, location, and year of publication. These are normally set in ordinary font, in the order given here.
    • References to articles in proceedings or collections. These items are among the most complex bibliography items since, in addition to the author and title of the article itself, the reference typically includes the title and author/editor of the book in which the article appeared; the publisher; the year and place of publication; and, in case of a conference proceedings, the location and date of the conference. It is best to rely on MathSciNet for the correct listing of such an item. The most noticeable difference to the formatting of ordinary journal references is that the page number range for the article cited is given at the very end of the reference and preceded by the abbreviation "pp." For an example see the citation of the Erdos paper below.

Formatting bibliographies with \bibitem

Manual formatting of bibliographies is accomplished with the environment, using to set an individual reference. The command is a variation of the 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): Some points to note:
  • Citation keys. The arguments to ("Erdos01", "ConcreteMath", "Knuth92", "Simpson") in the above example) represent the citation keys (i.e., the keys used inside the 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].
  • Explicit labels. Many people prefer "mnemonic" labels that contain the year of publication and the initials of the author(s); for instance, in the above example, one might label the items [Er01], [GKP89], [Kn92], and [Si03]. To generate such explicit labels, add the desired labels as optional arguments (set in brackets) to : 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 .
  • Width of labels. The command requires a second argument ( 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".
  • Typesetting URL references. Trying to typeset URL references manually is tricky, since URL's tend to be lengthy "words" that are likely to cause overfull lines. Moreover, URL's of personal webpages usually contain the tilde symbol (~), which without special coding gets interpreted as a blank space, and therefore needs to be escaped by a backslash (\~) or replaced by the math "twiddle" symbol $\sim$. Fortunately, there is a package, "url", that provides a painless way to typeset URL's. To use this package available, add \usepackage{url} near the beginning of the document, and enclose any web and email addresses in the document in "\url{...}": \url{} \url{} 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.

Generating bibliographies with bibtex

The basic philosophy underlying LaTeX is that of separating "logical formatting" from "visual formatting". Authors should only be concerned with the former and not have to worry about the latter. LaTeX makes this possible by allowing authors to specify document elements with logical constructs such as 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.

  1. Create a "bibtex database".
  2. Choose a bibliography style and insert an instruction in the tex file of the paper to load the bibtex database and format references according to this style file.
  3. Process the paper through multiple runs of latex and bibtex.
Here are the steps in detail:

Step 1. Creating a bibtex database

Like any database, a bibtex database consists of records and fields. Each bibtex record holds the bibliographic information for a single bibliography entry. Records begin with an "at" symbol (@), followed by the record type, and, in braces, a comma-separated list of entries of the form "fieldname = value", where the "fieldnames" are components of the bibliography entry such as "author", "title", etc. The following example shows how the four bibliography items listed above would be entered into a bibtex database: The four entries illustrate the most common entry types: 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:

  • The order of the records in the database does not matter. This is because (at least under the standard bibliography styles), bibtex sorts the entries in the database alphabetically by author.
  • The order of the fields in the database does not matter. The bibliography style determines the order in which the various components of a bibliography entry are typeset. Thus, if a field is missing in a particular record, it can simply be added at the end of the record.
  • Field names and record types are case insensitive. Thus, is equivalent to .
  • Field values must be enclosed in double quotes. Alternatively, one can use a pair of braces, though it is better to use quotes since braces are used in several different contexts (see below).
  • Field entries must be separated by commas. A missing comma at the end of a field entry is probably the most common mistake made when formatting bibtex records. The bibtex program checks for such errors and issues an error message if it detects a problem. (Note that it is not necessary to put each field entry on a separate line and indent that line as was done in the above example; however, such (or similar) formatting is recommended since it makes it easier to edit the database at a later point.)
  • Formatting of multi-author items. As in the above example, multiple authors should be separated by the word "and". It is important to note that the conjunction "and" here serves only as a separator for internal use by the bibtex program and has no bearing on the output generated. The exact form in which multiple authors are listed is determined by the bibliography style (see below). In the Graham/Knuth/Patashnik example most styles would place a comma between the first two authors and a comma followed by "and" between the second and third author.
  • Formatting of author entries. While bibtex accepts, and can properly parse, different formats such as "Donald E. Knuth" and "Knuth, Donald E.", it is best to pick a single format (I'd recommend the former) and use that consistently. The particular format in which an author's name is listed in the bibtex database has no bearing on the output generated, as the formatting of authors is determined by the bibliography style used.
  • Formatting of non-standard or unusual author names. Author names that contain accents (such as "Paul Erd\H os"), or which are not of the standard "first middle last" format, need to be formatted in a special way so that bibtex can properly alphabetize the entries by last name. Accented characters should be enclosed in braces, as in "Paul Erd{\H o}s". In names that do not follow the standard "first middle last" pattern, the complete last name should be enclosed in parentheses: For example, use "John {Doe III}" and "Jose {Dos Santos}" to ensure that these entries get alphabetized under "D" rather than "I" or "S".
  • Formatting of titles. One of the most important things to understand about bibtex is that the capitalization of titles is determined by the bibliography style, and not by the form in which the title is given in the "title" field. Some styles use lower case titles for all bibliography entries, while others capitalize book titles, but set titles of journal articles in lower case. To allow these variations, bibtex ignores capitalization in the title field. For example, a title "Concrete Mathematics" will be set as "Concrete mathematics" if the bibliography style calls for lower case titles. If a title includes words that should not be converted to lower case, those words need to be "protected" by enclosing the first (upper case) letter in braces. This is illustrated by the first example above: To prevent the words "Riemann Hypothesis" from being set in lower case, enclose the letters R and H in braces: "{R}iemann {H}ypothesis".
  • Formatting of "unpublished" items. Records listed as "unpublished" require a "note" field that can be used to indicate the nature of the record (e.g., "preprint"), and to provide additional information, such as a URL.
  • Formatting of articles in collections or proceedings. There are two very similar record types for this purpose: "incollection", and "inproceedings". The above example illustrates the use of "incollection", which is appropriate for most situations. The difference between an "incollection" record and an ordinary "article" record type is that the former requires, in addition to the title and author of the article, and the page numbers, information on the book itself: booktitle, publisher, address and year of publication.
Downloading bibtex records from MathSciNet. Perhaps the greatest advantage of using bibtex for bibliographies is that (at least for published papers) bibtex records can be downloaded from MathSciNet. This saves the time and effort to manually create these records, and, perhaps more importantly, virtually guarantees the accuracy of the records.

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.

Step 2. Loading the bibtex database

Once a bibtex database, say , 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 . The entry determines the formatting of bibliographies. There are four commonly used bibliography styles, , , , . 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 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 extension. The above example assumes there is a file 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.

Step 3. Processing the paper through latex and bibtex

Assume you have a paper, called , along with a bibtex database, , which has been loaded in the paper as shown above. To completely process the paper execute the following commands, in sequence:
  1. latex paper
  2. bibtex paper
  3. latex paper
  4. latex paper
The first run (through latex) generates an auxiliary file, , 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 . This file contains a environment with entries formatted according to the bibliography style specified.

In principle, the file could be pasted into the main tex file (), replacing the lines . 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 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.

Back to the LaTeX Tips Page

Last modified: Mon 17 Sep 2007 12:42:07 PM CDT A.J. Hildebrand

LaTeX supports bibliographies out of the box, either embedding the references in your document or storing them in an external file. This article explains how to manage bibliography with the environment and the BibTeX system.

Note: If you are starting from scratch it's recommended to use biblatex since that package provides localization in several languages, it's actively developed and makes bibliography management easier and more flexible.


Standard bibliography commands in LaTeX have a similar syntax to that of lists and items.

\begin{thebibliography}{9}\bibitem{latexcompanion} Michel Goossens, Frank Mittelbach, and Alexander Samarin. \textit{The \LaTeX\ Companion}. Addison-Wesley, Reading, Massachusetts, 1993.   \bibitem{einstein} Albert Einstein. \textit{Zur Elektrodynamik bewegter K{\"o}rper}. (German) [\textit{On the electrodynamics of moving bodies}]. Annalen der Physik, 322(10):891–921, 1905.   \bibitem{knuthwebsite} Knuth: Computers and Typesetting, \\\texttt{\~{}uno/abcde.html}\end{thebibliography}

The environment produces a list of references; such list will be titled "References" in a article document class, and "Bibliography" in book and report document classes. A parameter inside braces, in the example, indicates the number of entries to be added; this parameter can not be greater than 99.

To create a bibliography entry the command is used. A parameter inside braces is set to label this entry and can later be used as identifier for this reference. After the closing brace the text with the name of the author, the book title, publisher and so on is entered.

ShareLaTeX provides several templates with pre-defined styles to manage bibliography. See this link

  Open an example in ShareLaTeX

[edit]Embedded system

The example presented in the introduction only contains list of references, the next example shows how to cite the entries of that list within the document.

\begin{document}   \section{First section}   This document is an example of \texttt{thebibliography} environment using in bibliography management. Three items are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Einstein journal paper \cite{einstein}, and the Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related items are \cite{latexcompanion,knuthwebsite}.   \medskip   \begin{thebibliography}{9}\bibitem{latexcompanion} Michel Goossens, Frank Mittelbach, and Alexander Samarin. \textit{The \LaTeX\ Companion}. Addison-Wesley, Reading, Massachusetts, 1993.   \bibitem{einstein} Albert Einstein. \textit{Zur Elektrodynamik bewegter K{\"o}rper}. (German) [\textit{On the electrodynamics of moving bodies}]. Annalen der Physik, 322(10):891–921, 1905.   \bibitem{knuthwebsite} Knuth: Computers and Typesetting, \\\texttt{\~{}uno/abcde.html}\end{thebibliography}   \end{document}

The command insert the number corresponding to the bibliography entry whose label is passed inside braces. For example, the output of is [2].

The information printed by the command depends on the bibliography style used. See Bibtex bibliography styles.

  Open an example in ShareLaTeX

[edit]Bibliography management with Bibtex

BibTeX is a widely used bibliography management tool in LaTeX, with BibTeX the bibliography entries are kept in a separate file and then imported into the main document.

Once the external bibliography file is imported, the command is used just as in the introductory example.

Ths document is an example of BibTeX using in bibliography management. Three items are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Einstein journal paper \cite{einstein}, and the Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related items are \cite{latexcompanion,knuthwebsite}.   \medskip   \bibliographystyle{unsrt}\bibliography{sample}

This uses the following commands:

Imports the BibTeX file "sample.bib" to display the bibliography. To import several .bib files just write them comma-separated inside the braces, the file extension is not necessary.
Sets the bibliography style to be used in this document. The information displayed depends on the bibliography style used, even if the entry contains information about the date, author, title, publisher, and abstract, the style used might only print the title and the author. See Bibtex bibliography styles which contains examples of the default bibliography styles in LaTeX.
This will print a number of text, depending on the bibliography style, to reference the bibliography entry whose label is passed to the command. In this case, the label produces [2].

When the main document is compiled, a .bbl file is generated from the .bib file. This is simply a .tex file reorganising the information in the .bib file in a environment, as above. On ShareLaTeX the .bbl file is stored in the cache, and you can download it from the list of other logs and files.

Note: Unicode characters are not supported on BibTeX. Also, if there are too many bibliography entries (+100) it may not work properly. See the further reading section for links to other bibliography management tools.

  Open an example of the bibtex package in ShareLaTeX

[edit]The bibliography file

Bibliographic references are usually kept in a bibliography file whose extension is .bib, this file consists of a list of records and fields. Each bibliography record holds relevant information for a single entry.

This file contains records in a special format, for instance, the first bibliographic reference is defined by:

This is the first line of a record entry, denotes the entry type and tells BibTeX that the information stored here is about an article. Besides the entry types shown in the example (, and ) there are a lot more, see the reference guide.
The label is assigned to this entry, is an identifier that can be used to refer this article within the document.
This is the first field in the bibliography entry, indicates that the author of this article is Albert Einstein. Several comma-separated fields can be added using the same syntax , for instance: title, pages, year, URL, etc. See the reference guide for a list of possible fields.

The information in this file can later be used within a LaTeX document to include these references, as shown in the next subsection.

  Open an example of the bibtex package in ShareLaTeX

[edit]Adding the bibliography in the table of contents

There are two ways of including the bibliography in the table of contents, either manually adding it or using the package tocbibind (recommended).

To add it manually just insert the next line right before the command or

for books and reports or

for articles. If you prefer to use tocbibind see the next example.

\documentclass[a4paper,10pt]{article}\usepackage[utf8]{inputenc}\usepackage[english]{babel}   \usepackage[nottoc]{tocbibind}   \begin{document}   \tableofcontents   \section{First Section} This document ...   \bibliographystyle{unsrt}\bibliography{sample}   \end{document}

Adding the line

to the preamble will print the "References" or "Bibliography" in the table of contents, depending on the document type. Be careful, it will also add other elements like the Index, Glossary and list of Listings to the table of contents. For more information see [the tocbibind package documentation].

  Open an example of the bibtex package in ShareLaTeX

[edit]Reference guide

Standard entry types

Article from a magazine or journal
A published book
A work that is printed but have no publisher or sponsoring institution
An article in a conference proceedings
A part of a book (section, chapter and so on)
A part of a book having its own title
An article in a conference proceedings
Technical documentation
A Master's thesis
Something that doesn't fit in any other type
A PhD thesis
The same as
Report published by an institution
Document not formally published, with author and title

Most common fields used in BibTeX

address annote author
booktitle chapter crossref
edition editor institution
journal key month
note number organization
pages publisher school
series title type
volume year URL
abstract keywords price
copyright language contents

[edit]Further reading

For more information see:

@article{einstein, author = "Albert Einstein", title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German}) [{On} the electrodynamics of moving bodies]", journal = "Annalen der Physik", volume = "322", number = "10", pages = "891--921", year = "1905", DOI = "" }   @book{latexcompanion, author = "Michel Goossens and Frank Mittelbach and Alexander Samarin", title = "The \LaTeX\ Companion", year = "1993", publisher = "Addison-Wesley", address = "Reading, Massachusetts" }   @misc{knuthwebsite, author = "Donald Knuth", title = "Knuth: Computers and Typesetting", url = "\~{}uno/abcde.html" }

0 Replies to “Bibliography Math Paper”

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *