Lab 7 LaTeX (Part Two)

This lab allowed me to understand how citations are generated manually from a .bib file using bibtex and pdflatex. In addition, this lab taught me how to use different citation styles and include and customise file source code in line and from source files. This was beneficial for modules where I would need to not only write code, but also analyse it.

Procedure

  1. Mendeley, a citation browser extension, was used to reference material and generate a bibliography.bib file with two reference. This file was compiled with the bibtex and pdflatex commands.
  2. Using documentclass and bibliographystyle, the LaTeX PDF was changed into IEEE style document with an IEEE bibliography.

Commands

In addition to the bibtex command, which works to compile citations into a LaTeX file, the tags used in this lab included

  • listings, which allows source code to be added to a LaTeX document,
  • bibliographystyle, which sets the bibliography style to be used for citations.