Latex Bibliography Dissertation

In the following section you see how different bibtex styles look in the resulting PDF. The style is defined in the \bibliographystyle{style} command where style is to be replaced with one of the following styles (e.g. alpha, etc.). The following bibliography inputs were used to generate the result:

@article{article, author = {Peter Adams}, title = {The title of the work}, journal = {The name of the journal}, year = 1993, number = 2, pages = {201-213}, month = 7, note = {An optional note}, volume = 4 } @book{book, author = {Peter Babington}, title = {The title of the work}, publisher = {The name of the publisher}, year = 1993, volume = 4, series = 10, address = {The address}, edition = 3, month = 7, note = {An optional note}, isbn = {3257227892} } @booklet{booklet, title = {The title of the work}, author = {Peter Caxton}, howpublished = {How it was published}, address = {The address of the publisher}, month = 7, year = 1993, note = {An optional note} } @conference{conference, author = {Peter Draper}, title = {The title of the work}, booktitle = {The title of the book}, year = 1993, editor = {The editor}, volume = 4, series = 5, pages = 213, address = {The address of the publisher}, month = 7, organization = {The organization}, publisher = {The publisher}, note = {An optional note} } @inbook{inbook, author = {Peter Eston}, title = {The title of the work}, chapter = 8, pages = {201-213}, publisher = {The name of the publisher}, year = 1993, volume = 4, series = 5, address = {The address of the publisher}, edition = 3, month = 7, note = {An optional note} } @incollection{incollection, author = {Peter Farindon}, title = {The title of the work}, booktitle = {The title of the book}, publisher = {The name of the publisher}, year = 1993, editor = {The editor}, volume = 4, series = 5, chapter = 8, pages = {201-213}, address = {The address of the publisher}, edition = 3, month = 7, note = {An optional note} }
@manual{manual, title = {The title of the work}, author = {Peter Gainsford}, organization = {The organization}, address = {The address of the publisher}, edition = 3, month = 7, year = 1993, note = {An optional note} } @mastersthesis{mastersthesis, author = {Peter Harwood}, title = {The title of the work}, school = {The school of the thesis}, year = 1993, address = {The address of the publisher}, month = 7, note = {An optional note} } @misc{misc, author = {Peter Isley}, title = {The title of the work}, howpublished = {How it was published}, month = 7, year = 1993, note = {An optional note} } @phdthesis{phdthesis, author = {Peter Joslin}, title = {The title of the work}, school = {The school of the thesis}, year = 1993, address = {The address of the publisher}, month = 7, note = {An optional note} } @proceedings{proceedings, title = {The title of the work}, year = 1993, editor = {Peter Kidwelly}, volume = 4, series = 5, address = {The address of the publisher}, month = 7, organization = {The organization}, publisher = {The name of the publisher}, note = {An optional note} } @techreport{techreport, author = {Peter Lambert}, title = {The title of the work}, institution = {The institution that published}, year = 1993, number = 2, address = {The address of the publisher}, month = 7, note = {An optional note} } @unpublished{unpublished, author = {Peter Marcheford}, title = {The title of the work}, note = {An optional note}, month = 7, year = 1993 }

To see the corresponding video for this blog post click here.

In the last post we looked at using images and tables in our thesis. In this post we are going to look at adding a bibliography to our thesis. To do this we are going to use the biblatex package. This involves creating a list of sources in a separate file called a bib file.

The Bib File

When we create this file we need to choose a name for it and save it as a ‘.bib’ file rather than a ‘.tex’ file.

Now every time we need to reference a source we can cite it in the text and then fill in the source details in the bib file. First we’ll look at filling in our ‘.bib’ file and then we’ll move on to discussing citations.

To add a new entry to our bib file we need to first tell biblatex what type of source we are referencing. We do this using an @ symbol followed immediately by the source type.

Then comes an opening curly bracket and a citation key of our choice followed by a comma. We then need to tell it all the details it wants for that particular type of source. We do this using a list of keywords each followed by an equals sign and the corresponding information in curly brackets. Items in the list are separated by commas. Each recognised source type has a list of required details which we must provide. But we’ll often want to give more details. For example, for an article entry we need to use the author, title, journaltitle and year or date keywords. For an online source we need to use the author or editor, title, year or date and url keywords, and finally for a book it’s the author, title and year or date keywords. Here’s an example of what they might look like filled in.

All of the information about the recognised source types and all the keywords you can use can be found in the biblatex documentation.

Now let’s return to the main tex file. To set it up for a bibliography we need to load up the biblatex package using the command. Also in the preamble we need to specify which bib files we want to use by calling the command and entering the file name in the curly brackets including the ‘.bib’ extension.

Citations

Now let’s look at citations. To cite a source in the text we use one of the biblatex citation commands. The simplest is the command which prints the citation without any brackets unless you are using the numeric or alphabetic styles. We’ll discuss styles a little later on. For example we may cite a source in the text like this:

Another one is the command which prints citations in parentheses except when using the numeric or alphabetic styles when it uses square brackets. There are more citation commands available to you which again can be found in the documentation.

The citation commands in biblatex also give us the option of adding a ‘prenote’ and ‘postnote’ in as arguments. A ‘prenote’ is a word or phrase like ‘see’ that is inserted at the start of the citation. A ‘postnote’ is text you want inserted at the end of the citation. To add these notes in you uses two sets of square brackets in the citation command. If you only open one set of square brackets it will assume the contents of the brackets is a postnote, so if you only want a prenote make sure you still open the second set of square brackets and then just leave them empty. Here are some examples:

Styles

Now to actually get the bibliography printed in our thesis we use the command at the end of the document. By default the bibliography and citations use the numeric style which looks like this:

To change the style we pass more arguments into the command in square brackets. For example this specifies the ‘alphabetic’ style.

Which looks like this:

And this is the ‘authoryear’ style.

Another thing we can change here is the way the bibliography is ordered. For example this sorts entries by year, name, title.

While this doesn’t sort them at all but displays them in the order they are cited.

More information about the numerous styles and sorting options available can be found in the documentation. This concludes our discussion on adding a bibliography. In the next post we’ll look at customising some of the opening pages.

Other posts in this series:

pt 1 - Basic Structure

pt 2 - Page Layout

pt 3 - Figures, Subfigures and Tables

pt 5 - Customising Your Title Page and Abstract

Posted by Josh Cassidy on 08 Aug 2013

0 thoughts on “Latex Bibliography Dissertation”

    -->

Leave a Comment

Your email address will not be published. Required fields are marked *