« Storm Windows: Part II | Main | Mail from Outlook to Entourage »

November 14, 2003

How to build a bibliography in latex

This is a set of instructions for building a bibliography in latex. It is designed to be a reference for students.

Here's the quick overview:

1. Create a .bib file. This is a text database of all your references. I have been using the same .bib file since 1996. It still contains every paper I've ever cited or thought about citing.

2. Add your entries to your .bib file. An entry has three main parts: a type, a label and the data. The label is what you'll use in your \cite{ } commands in your paper. The data is, well, the data. The easiest way to create bibtex entries is to use the bib mode in emacs.

3. Add a \bibliographystyle{alpha|plain|ieeetr} and \bibliography{bib-file-name-without-extension} to the end of your latex document just before \end{document}

4. When you want to cite something in your paper, simply add \cite{label}.

5. To build the bibliography do:
- latex paper.tex
- bibtex paper
- latex paper.tex
- latex paper.tex
Both latex and bibtex are very good about complaining when something isn't defined. Most people use a make file to build their papers.

Posted by jones at November 14, 2003 10:23 AM

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?