O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – creating and using a BibTeX database

We shall create a separate database file containing the references of our previous example. We will modify our example to use that database. To make this database usable, we have to call the external program BibTeX :

  1. Create a new document. Begin with writing the entry for the TeXbook:
    @book{DK86,
    author = "D.E. Knuth",
    title = "The {\TeX}book",
    publisher = "Addison Wesley",
    year = 1986
    }
  2. For the next entry, that is, the article, we will specify even more fields:
    @article{DK89,
    author = "D.E. Knuth",
    title = "Typesetting Concrete Mathematics",
    journal = "TUGboat",
    volume = 10,
    number = 1,
    pages = "31--36",
    month = apr,
    year = 1989
    }
  3. Save the file and give it the name tex.bib. Open our example

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required