Skip to content

A LaTeX Class for Informatics theses at the University of Edinburgh

License

Notifications You must be signed in to change notification settings

arthurscchan/inf-thesis-latex-cls

 
 

Repository files navigation

LaTeX class for Informatics theses

This LaTeX class provides a document class for typesetting Informatics dissertations.

It is a fork of infthesis.cls as found on Informatics DICE machines, however I have patched the class in various ways to make it more flexible. For the original class file and a basic usage example, look here.

Dependencies

The document class requires the following packages:

  • ifthen
  • graphics
  • xspace
  • eushield

where eushield is the only nonstandard LaTeX package. The package provides various versions of the university's crest. The eushield package is not distributed along with this class.

You can obtain a copy of it via Informatics DReaM. You must also obtain the following necessary copies of the university crest:

  • eushield.[eps]
  • eushield-normal.[pdf][ps]
  • eushield-noback.[pdf][ps]
  • eushield-reversed.[pdf][ps]
  • eushield-twocolour.[pdf][ps]
  • eushield-fullcolour.[pdf][ps]

Note all usage of the university's crest or logos is subject to the brand guidelines. Make sure you follow the brand guidelines!

Other useful logos

Other commonly useful logos:

Make sure to follow the brand guidelines as stated on each site!

Local installation

LaTeX class and main crest

Using make

To install the thesis class file (in the src dir):

make install

To install the crest and logos (in the src dir):

make install-eushield

Both above commands will place all the relevant files under a .texmf directory in the current user's HOME directory and will also invoke texhash in order to update the search paths.

For the extra logos, 3 targets are declared and can be used as follows:

  • make install-logo-inf
  • make install-logo-cdtppar
  • make install-logo-epsrc

Each target creates a corresponding subdirectory under logos/ with all the relevant logos (in vector format). The installation directory can be influence using the DESTDIR variable as stated here.

Using cmake

  • mkdir build && cd build
  • cmake [path to this source dir] -DCMAKE_INSTALL_PREFIX=[path to install dir]
  • make && make install
  • texhash [path to install dir]

To match the make based installation, texhash must be invoked manually, but it allows for greater flexibility on the selection of the target directory.

Moreover, the cmake file uoe-infthesis-latex-cls.cmake allows the integration of this repository as a submodule, allowing the creation of targets with the relevant files as shown in this project's CMakeLists.txt file. Using this method requires that the handling of the paths for LaTeX will have to be performed separately. For an example have a look here.

The commands defined are:

  • add_uoe_eushield
  • add_uoe_infthesis

For the extra logos, the submodule uoe-logos-extra.cmake has to be included in your project. The commands defined are:

  • add_uoe_inf_logos
  • add_uoe_cdtppar_logos
  • add_uoe_epsrc_logos

About

A LaTeX Class for Informatics theses at the University of Edinburgh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 70.6%
  • CMake 22.5%
  • Makefile 6.9%