using bibtex and biblatex: a short guide

intro

BibTeX and its offspring BibLaTeX automate most of the work involved in managing references for use in LaTeX files. You need to type each reference only once, and your citations and reference list are automatically formatted consistently, in a style of your choosing.

Your references are stored in a plain text database with a simple format. When you want to cite an item in the database in a LaTeX document, you write \cite{<label>} (or something similar), where <label> is the label attached to the item in the database. You put a command in your LaTeX file specifying the style in which you want the references to appear in the bibliography of the document and another command specifying the location of your reference database. You then get your LaTeX editor to process the LaTeX file with pdflatex or one of its cousins, then bibtex (for BibTeX) or biber (for BibLaTeX), and finally with pdflatex again.

Managing your references in this way has several benefits.

  • You need to type each reference only once. Once it is in your database, it can be included in any document you write merely by your typing its label.
  • The style of all your citations in any given document will be consistent. If, for example, the style you use causes \cite{arrow72} to produce "Arrow (1972)", then you'll never find "Arrow [1972]" in your paper.
  • If you cite more than one paper by the same author in the same year, the appropriate letters will be appended to the years—you won't need to fiddle around with them and change "Arrow (1972)" to "Arrow (1972a)" when you add a reference to another paper published by Arrow in 1972.
  • You never need to fuss with the style of the list of references at the end of your document. All you need to do is to specify the location of your bibtex database and the name of the style you wish to use to format your references. Then all the items you cite will be extracted from the database, ordered correctly, and formatted at the end of your document according to the specifications of the style you specify.
  • Every item you cite will appear in the list of references in your document, and every item in that list will be one you cite (unless you explicitly specify otherwise)—avoiding the need for a manual check.
  • If you wish, you can help your readers by including after each item in your list of references a list of the page numbers on which you cite the item.

how to

Here's what you need to do. Click on a section heading to show/hide the section.

1. Create a bibliography database
2. Decide whether to use BibTeX or BibLaTeX
3. Choose a style for your citations and bibliography
4. Create a LaTeX file with references to your bibliography database
5. Run LaTeX and BibTeX