No Search Results

How to Write a Thesis in LaTeX (Part 4): Bibliographies with BibLaTeX

Part 1 | Part 2 | Part 3 | Part 4 | Part 5

Author: Josh Cassidy (August 2013)

This five-part series of articles uses a combination of video and textual descriptions to teach the basics of writing a thesis using LaTeX. These tutorials were first published on the original ShareLateX blog site during August 2013; consequently, today's editor interface (Overleaf) has changed considerably due to the development of ShareLaTeX and the subsequent merger of ShareLaTeX and Overleaf. However, much of the content is still relevant and teaches you some basic LaTeX—skills and expertise that will apply across all platforms.

In the previous 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.

Thesis newbib.png

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 \usepackage command. Also in the preamble we need to specify which .bib files we want to use by calling the \addbibresource command and entering the file name in the curly brackets including the .bib extension.

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 \cite 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 \parencite 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 biblatex 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:

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

Thesis numericcite.png

To change the style we pass more arguments into the \usepackage command in square brackets. For example this specifies the alphabetic style:

Which looks like this:

Thesis alphabeticcite.png

And this is the authoryear style:

Thesis authoryearcite.png

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 biblatex documentation . This concludes our discussion on adding a bibliography. In the final post of this series we'll look at customising some of the opening pages.

All articles in this series

  • Part 1: Basic Structure ;
  • Part 2: Page Layout ;
  • Part 3: Figures, Subfigures and Tables ;
  • Part 4: Bibliographies with BibLaTeX ;
  • Part 5: Customising Your Title Page and Abstract .
  • Documentation Home
  • Learn LaTeX in 30 minutes

Overleaf guides

  • Creating a document in Overleaf
  • Uploading a project
  • Copying a project
  • Creating a project from a template
  • Using the Overleaf project menu
  • Including images in Overleaf
  • Exporting your work from Overleaf
  • Working offline in Overleaf
  • Using Track Changes in Overleaf
  • Using bibliographies in Overleaf
  • Sharing your work with others
  • Using the History feature
  • Debugging Compilation timeout errors
  • How-to guides
  • Guide to Overleaf’s premium features

LaTeX Basics

  • Creating your first LaTeX document
  • Choosing a LaTeX Compiler
  • Paragraphs and new lines
  • Bold, italics and underlining

Mathematics

  • Mathematical expressions
  • Subscripts and superscripts
  • Brackets and Parentheses
  • Fractions and Binomials
  • Aligning equations
  • Spacing in math mode
  • Integrals, sums and limits
  • Display style in math mode
  • List of Greek letters and math symbols
  • Mathematical fonts
  • Using the Symbol Palette in Overleaf

Figures and tables

  • Inserting Images
  • Positioning Images and Tables
  • Lists of Tables and Figures
  • Drawing Diagrams Directly in LaTeX
  • TikZ package

References and Citations

  • Bibliography management with bibtex
  • Bibliography management with natbib
  • Bibliography management with biblatex
  • Bibtex bibliography styles
  • Natbib bibliography styles
  • Natbib citation styles
  • Biblatex bibliography styles
  • Biblatex citation styles
  • Multilingual typesetting on Overleaf using polyglossia and fontspec
  • Multilingual typesetting on Overleaf using babel and fontspec
  • International language support
  • Quotations and quotation marks

Document structure

  • Sections and chapters
  • Table of contents
  • Cross referencing sections, equations and floats
  • Nomenclatures
  • Management in a large project
  • Multi-file LaTeX projects
  • Lengths in L a T e X
  • Headers and footers
  • Page numbering
  • Paragraph formatting
  • Line breaks and blank spaces
  • Text alignment
  • Page size and margins
  • Single sided and double sided documents
  • Multiple columns
  • Code listing
  • Code Highlighting with minted
  • Using colours in LaTeX
  • Margin notes
  • Font sizes, families, and styles
  • Font typefaces
  • Supporting modern fonts with X Ǝ L a T e X

Presentations

  • Environments

Field specific

  • Theorems and proofs
  • Chemistry formulae
  • Feynman diagrams
  • Molecular orbital diagrams
  • Chess notation
  • Knitting patterns
  • CircuiTikz package
  • Pgfplots package
  • Typesetting exams in LaTeX
  • Attribute Value Matrices

Class files

  • Understanding packages and class files
  • List of packages and class files
  • Writing your own package
  • Writing your own class

Advanced TeX/LaTeX

  • In-depth technical articles on TeX/LaTeX

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

IMAGES

  1. BibTeX aip bibliography style [examples]

    how to cite phd thesis bibtex

  2. APA Citations for a Thesis or Dissertation

    how to cite phd thesis bibtex

  3. Bibliography management with bibtex

    how to cite phd thesis bibtex

  4. Bibtex Phd Thesis Master Thesis

    how to cite phd thesis bibtex

  5. How to cite a thesis or dissertation using APA style

    how to cite phd thesis bibtex

  6. How to cite a thesis in MLA style correctly and easily

    how to cite phd thesis bibtex

VIDEO

  1. Visite du chef de l’Etat a Gaoua : le capitaine Ibrahim Traoré échange avec les forces vives

  2. NIVEAU 7

  3. Writing That PhD Thesis

  4. How to add citation in latex?

  5. How to use Endnote 21 to export bibtex file

  6. How to Cite and Download Articles from Google Scholar?

COMMENTS

  1. How to Write a Thesis in LaTeX (Part 4 ...

    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.