Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,25 @@ jobs:
with:
name: pdfs
path: build/samples/*/*.pdf

- name: Upload Pages artifact
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
uses: actions/upload-pages-artifact@v3
with:
path: build/pdfs

deploy-pages:
name: Deploy PDFs to GitHub Pages
needs: build
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cam-thesis

![builder](https://github.com/cambridge/thesis/workflows/builder/badge.svg?branch=master&event=push)
[![builder](https://github.com/cambridge/thesis/actions/workflows/build.yml/badge.svg)](https://github.com/cambridge/thesis/actions/workflows/build.yml)

> _a LaTeX thesis template for Cambridge PhD students_

Expand All @@ -22,6 +22,21 @@ Pro tip: you can use one of the samples in the [`Samples`](./Samples) directory.



## How will the thesis look like?

Your thesis document will look something like this:

> [Plain (PDF)](https://cambridge.github.io/thesis/thesis.pdf)

If you use the _clean_ sample, which can be found in [`./Samples/clean`](Samples/clean), it will look like this:

> [Sample Clean (PDF)](https://cambridge.github.io/thesis/clean.pdf)

The template also supports DVI and PS formats. All three formats can be generated
with the provided `Makefile`.



## Producing `PDF`, `DVI` and `PS` documents


Expand Down Expand Up @@ -61,7 +76,8 @@ it is based).

It also supports some custom options.

* `techreport`: formats the document as a technical report.
* `techreport`: formats the document as a technical report (here's
[a sample](https://cambridge.github.io/thesis/techreport.pdf)).
Here is a list of
formatting points in which the technical report differs from a normal thesis
(see [guidelines](http://www.cl.cam.ac.uk/techreports/submission.html) for
Expand All @@ -76,7 +92,8 @@ It also supports some custom options.
* if the `hyperref` package is used, the option `pdfpagelabels=false` will
be passed to it.

* `firstyr`: formats the document as a first-year report. This option removes
* `firstyr`: formats the document as a first-year report (here's
[a sample](https://cambridge.github.io/thesis/firstyr.pdf)). This option removes
some unneeded elements and modifies the submission note. Here is a list of
formatting points in which the first year report differs from a normal thesis:

Expand All @@ -86,7 +103,8 @@ It also supports some custom options.
* no declaration,
* no acknowledgements.

* `secondyr`: formats the document as a second-year report. Similarly to
* `secondyr`: formats the document as a second-year report (here's
[a sample](https://cambridge.github.io/thesis/secondyr.pdf)). Similarly to
`firstyr`, this style modifies the submission note and removes unneeded elements.
Specially, an abstract is retained (as for this report, research is often in a
more "stable" state). Here is a list of formatting points in which the second year
Expand Down Expand Up @@ -133,7 +151,8 @@ It also supports some custom options.

_Note_: the package `makeidx` is used to create the index.

* `backrefs`: Add back references in the References section. In other words, for each reference, it adds the page(s) where it is cited.
* `backrefs`: Add back references in the References section (here's
[a sample](https://cambridge.github.io/thesis/backrefs.pdf)). In other words, for each reference, it adds the page(s) where it is cited.

_Note_: the package `backref` is used to create the back references.

Expand Down
Loading