|
1 | 1 | # LaTeX class for Informatics theses |
2 | | -This LaTeX class provides a document class for typesetting Informatics dissertations. |
3 | | - |
4 | | -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. |
5 | | -For the original class file and a basic usage example, look [here](http://www.inf.ed.ac.uk/systems/tex/informatics/infthesis). |
| 2 | +This LaTeX class provides a document class for typesetting Informatics |
| 3 | +dissertations. |
| 4 | + |
| 5 | +This is a fork of the `infthesis.cls` file as found on Informatics |
| 6 | +DICE machines, however, this class file has been patched in various |
| 7 | +ways to make it more flexible. Checkout the [computing support |
| 8 | +website](http://www.inf.ed.ac.uk/systems/tex/informatics/infthesis) |
| 9 | +for instructions on how to obtain the original class file and a basic |
| 10 | +usage example. |
| 11 | + |
| 12 | +## Changes against upstream |
| 13 | + |
| 14 | +This class file contains the following changes over the original class |
| 15 | +file: |
| 16 | + |
| 17 | +* Listing of multiple institutions, e.g. using |
| 18 | + `\documentclass[phd,lfcs,icsa]{infthesis}` lists both LFCS and ICSA |
| 19 | + as institutions on the titlepage. |
| 20 | +* Document class options for listing affiliated CDT alongside |
| 21 | + institution on titlepage. The following three CDTs are available: |
| 22 | + Data Science (`cdtds`), Pervasive Paralleism (`cdtppar`), and |
| 23 | + Robotics and Autonomous Systems (`cdtras`). |
| 24 | +* Lay summary environment. Use `\begin{laysummary}\end{laysummary}` to |
| 25 | + add a lay summary page. |
| 26 | +* Automatic insertion of author names in custom declarations, |
| 27 | + e.g. `\begin{declaration}\end{declaration}` will insert the author |
| 28 | + name like `\standarddeclaration` (aside: `\standarddeclaration` is |
| 29 | + now implemented in terms of the `declaration` environment). |
6 | 30 |
|
7 | 31 | ## Dependencies |
| 32 | + |
8 | 33 | The document class requires the following packages: |
9 | | - * ifthen |
10 | | - * graphics |
11 | | - * xspace |
12 | | - * eushield |
13 | | - |
14 | | -where *eushield* is the only nonstandard LaTeX package. The package provides various versions of the university's crest. The [eushield][eushield.sty] package is not distributed along with this class. |
15 | | - |
16 | | -You can obtain a copy of it via [Informatics DReaM](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield.sty). You must also obtain the following necessary copies of the university crest: |
| 34 | + |
| 35 | +* ifthen |
| 36 | +* graphics |
| 37 | +* xspace |
| 38 | +* eushield |
| 39 | + |
| 40 | +The only nonstandard LaTeX package is *eushield*, which provides |
| 41 | +various versions of the university's crest. The |
| 42 | +[eushield][eushield.sty] package is not distributed along with this |
| 43 | +class. |
| 44 | + |
| 45 | +You can obtain a copy of it via [Informatics |
| 46 | +DReaM](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield.sty). For |
| 47 | +the package to work correctly you should also obtain the following |
| 48 | +necessary copies of the university crest: |
| 49 | + |
17 | 50 | * eushield.[[eps](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield.eps)] |
18 | 51 | * eushield-normal.[[pdf](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-normal.pdf)][[ps](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-normal.ps)] |
19 | 52 | * eushield-noback.[[pdf](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-noback.pdf)][[ps](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-noback.ps)] |
20 | 53 | * eushield-reversed.[[pdf](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-reversed.pdf)][[ps](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-reversed.ps)] |
21 | 54 | * eushield-twocolour.[[pdf](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-twocolour.pdf)][[ps](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-twocolour.ps)] |
22 | 55 | * eushield-fullcolour.[[pdf](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-fullcolour.pdf)][[ps](http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield-fullcolour.ps)] |
23 | 56 |
|
24 | | -**Note** all usage of the university's crest or logos is subject to the [brand guidelines](http://www.ed.ac.uk/communications-marketing/resources/university-brand). Make sure you follow the brand guidelines! |
| 57 | +**Note** usage of the university's crest or logos is subject to the |
| 58 | +[brand |
| 59 | +guidelines](http://www.ed.ac.uk/communications-marketing/resources/university-brand). Please |
| 60 | +make sure you follow the brand guidelines. |
25 | 61 |
|
26 | | -## Other useful logos |
| 62 | +### Other useful logos |
27 | 63 |
|
28 | | -Other commonly useful logos: |
| 64 | +You may want to use some of the common logos with `infthesis.cls` |
29 | 65 |
|
30 | 66 | * [UoE Informatics logos](http://web.inf.ed.ac.uk/infweb/admin/school-brand) |
31 | 67 | * [UoE CDT PPar logos](http://web.inf.ed.ac.uk/infweb/student-services/cdt/ppar/resources-guidelines/ppar-logos) |
32 | 68 | * [EPSRC logos](https://www.epsrc.ac.uk/about/logos) |
33 | 69 |
|
34 | | -Make sure to follow the brand guidelines as stated on each site! |
35 | | - |
36 | | -## Local installation |
37 | | - |
38 | | -### LaTeX class and main crest |
39 | | - |
40 | | -#### Using `make` |
41 | | - |
42 | | -To install the thesis class file (in the `src` dir): |
43 | | - |
44 | | -`make install` |
45 | | - |
46 | | -To install the crest and logos (in the `src` dir): |
47 | | - |
48 | | -`make install-eushield` |
| 70 | +Usage is subject to the brand guidelines as stated on each |
| 71 | +site. Please make sure you follow them. |
49 | 72 |
|
50 | | -Both above commands will place all the relevant files under a `.texmf` directory in the current user's `HOME` directory |
51 | | -and will also invoke `texhash` in order to update the search paths. |
| 73 | +## Simple local installation |
52 | 74 |
|
53 | | -For the extra logos, 3 targets are declared and can be used as follows: |
| 75 | +This class file is bundled with an `Makefile` installation script. To |
| 76 | +install the class file |
54 | 77 |
|
55 | | -- `make install-logo-inf` |
56 | | -- `make install-logo-cdtppar` |
57 | | -- `make install-logo-epsrc` |
| 78 | +```shell |
| 79 | +$ make install |
| 80 | +``` |
58 | 81 |
|
59 | | -Each target creates a corresponding subdirectory under `logos/` with all the relevant logos (in vector format). The |
60 | | -installation directory can be influence using the `DESTDIR` variable as stated [here](https://www.gnu.org/prep/standards/html_node/DESTDIR.html). |
| 82 | +To download and install the required `eushield` type |
61 | 83 |
|
62 | | -#### Using `cmake` |
| 84 | +```shell |
| 85 | +$ make install-eushield |
| 86 | +``` |
63 | 87 |
|
64 | | -- `mkdir build && cd build` |
65 | | -- `cmake [path to this source dir] -DCMAKE_INSTALL_PREFIX=[path to install dir]` |
66 | | -- `make && make install` |
67 | | -- `texhash [path to install dir]` |
| 88 | +Use the following command to acquire and install the common logos |
68 | 89 |
|
69 | | -To match the `make` based installation, `texhash` must be invoked manually, but it allows for greater flexibility on the |
70 | | -selection of the target directory. |
| 90 | +```shell |
| 91 | +$ make install-logo-{inf,cdtppar,epsrc} |
| 92 | +``` |
71 | 93 |
|
72 | | -Moreover, the `cmake` file `uoe-infthesis-latex-cls.cmake` allows the integration of this repository as a submodule, |
73 | | -allowing the creation of targets with the relevant files as shown in this project's `CMakeLists.txt` file. Using this |
74 | | -method requires that the handling of the paths for LaTeX will have to be performed separately. For an example have a |
75 | | -look [here](https://github.com/compor/uoe-inf-thesis-skeleton). |
| 94 | +### Specifying installation directory |
76 | 95 |
|
77 | | -The commands defined are: |
| 96 | +By default the class file, eushield, and logos are installed under |
| 97 | +`$HOME/.texmf`. You may change the installation directory by setting |
| 98 | +the `INSTDIR` variable. For example, to install the class file under |
| 99 | +the directory `foo` type |
78 | 100 |
|
79 | | -- `add_uoe_eushield` |
80 | | -- `add_uoe_infthesis` |
| 101 | +```shell |
| 102 | +$ INSTDIR=foo make install |
| 103 | +``` |
81 | 104 |
|
82 | | -For the extra logos, the submodule `uoe-logos-extra.cmake` has to be included in your project. The commands defined are: |
| 105 | +## Uninstallation |
83 | 106 |
|
84 | | -- `add_uoe_inf_logos` |
85 | | -- `add_uoe_cdtppar_logos` |
86 | | -- `add_uoe_epsrc_logos` |
| 107 | +Each installation rule has a corresponding uninstallation rule. For |
| 108 | +example you can use `uninstall` rule to uninstall the class file from |
| 109 | +its default installation location, i.e. |
87 | 110 |
|
| 111 | +```shell |
| 112 | +$ make uninstall |
| 113 | +``` |
88 | 114 |
|
89 | | -[eushield.sty]: http://dream.inf.ed.ac.uk/projects/polyml/application/cover-letter/tex/logos/eushield.sty |
| 115 | +**Note** if you used a custom installation, then you should set |
| 116 | +`INSTDIR` before uninstalling. For example, if you installed the class |
| 117 | +file under the directory `foo` then you should `INSTDIR=foo`, i.e. |
90 | 118 |
|
| 119 | +```shell |
| 120 | +$ INSTDIR=foo make uninstall |
| 121 | +``` |
0 commit comments