# aronrop/phdthesis_ar architecture

> Architecture diagram of the GitHub repository aronrop/phdthesis_ar, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aronrop/phdthesis_ar
- Repository: https://github.com/aronrop/phdthesis_ar

## Overview

This repository is a CUED PhD thesis LaTeX template: authors configure thesis metadata and class options, then compose thesis content using the template’s class and document files. The README documents the class, abstract-only mode, chapter-only mode, bibliography-style choices, and layout options. Source excerpts were unavailable, so edges are limited to relationships explicitly described in the README; the content files are shown as template components without inferred inclusion links.

Main entry points: [`Classes/PhDThesisPSnPDF.cls`](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls) (Thesis class), [`thesis.tex`](https://github.com/aronrop/phdthesis_ar/blob/main/thesis.tex) (Main document), [`thesis-info.tex`](https://github.com/aronrop/phdthesis_ar/blob/main/thesis-info.tex) (Thesis metadata), [`Preamble/preamble.tex`](https://github.com/aronrop/phdthesis_ar/blob/main/Preamble/preamble.tex) (Package settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_composition["Thesis composition"]
  node_document["Main document<br/>[thesis.tex]"]
  node_metadata["Thesis metadata<br/>[thesis-info.tex]"]
end

subgraph group_presentation["Layout and style"]
  node_class["Thesis class"]
  node_preamble["Package settings<br/>[preamble.tex]"]
  node_titlepage["Adaptive title page"]
  node_page_layout["Print and online layout"]
  node_fonts["Font options"]
  node_page_styles["Header and footer styles"]
  node_draft["Draft options"]
  node_bibliography_styles["Bibliography styles"]
end

subgraph group_content["Thesis content"]
  node_abstract["Separate abstract<br/>[abstract.tex]"]
  node_chapters["Thesis chapters<br/>[chapter1.tex]"]
  node_appendices["Appendices<br/>[appendix1.tex]"]
  node_references["Bibliography data<br/>[references.bib]"]
  node_frontmatter["Front matter<br/>[dedication.tex]"]
end

node_author(("Thesis author"))

node_author -->|"edits"| node_document
node_author -->|"edits"| node_metadata
node_document -->|"selects class"| node_class
node_document -->|"abstract mode"| node_abstract
node_document -->|"chapter mode"| node_chapters
node_author -->|"sets margins"| node_preamble
node_class -->|"provides"| node_titlepage
node_class -->|"provides"| node_page_layout
node_class -->|"supports"| node_fonts
node_class -->|"provides"| node_page_styles
node_class -->|"supports"| node_draft
node_class -->|"supports"| node_bibliography_styles

click node_document "https://github.com/aronrop/phdthesis_ar/blob/main/thesis.tex"
click node_class "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"
click node_metadata "https://github.com/aronrop/phdthesis_ar/blob/main/thesis-info.tex"
click node_preamble "https://github.com/aronrop/phdthesis_ar/blob/main/Preamble/preamble.tex"
click node_abstract "https://github.com/aronrop/phdthesis_ar/blob/main/Abstract/abstract.tex"
click node_chapters "https://github.com/aronrop/phdthesis_ar/blob/main/Chapter1/chapter1.tex"
click node_appendices "https://github.com/aronrop/phdthesis_ar/blob/main/Appendix1/appendix1.tex"
click node_references "https://github.com/aronrop/phdthesis_ar/blob/main/References/references.bib"
click node_frontmatter "https://github.com/aronrop/phdthesis_ar/blob/main/Dedication/dedication.tex"
click node_titlepage "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"
click node_page_layout "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"
click node_fonts "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"
click node_page_styles "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"
click node_draft "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"
click node_bibliography_styles "https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_document,node_metadata toneBlue
class node_class,node_preamble,node_titlepage,node_page_layout,node_fonts,node_page_styles,node_draft,node_bibliography_styles toneAmber
class node_abstract,node_chapters,node_appendices,node_references,node_frontmatter toneMint
class node_author toneIndigo
```

## Components

### Thesis composition

- [Main document](https://github.com/aronrop/phdthesis_ar/blob/main/thesis.tex): `thesis.tex`
- [Thesis metadata](https://github.com/aronrop/phdthesis_ar/blob/main/thesis-info.tex): `thesis-info.tex`

### Layout and style

- [Thesis class](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`
- [Package settings](https://github.com/aronrop/phdthesis_ar/blob/main/Preamble/preamble.tex): `Preamble/preamble.tex`
- [Adaptive title page](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`
- [Print and online layout](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`
- [Font options](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`
- [Header and footer styles](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`
- [Draft options](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`
- [Bibliography styles](https://github.com/aronrop/phdthesis_ar/blob/main/Classes/PhDThesisPSnPDF.cls): `Classes/PhDThesisPSnPDF.cls`

### Thesis content

- [Separate abstract](https://github.com/aronrop/phdthesis_ar/blob/main/Abstract/abstract.tex): `Abstract/abstract.tex`
- [Thesis chapters](https://github.com/aronrop/phdthesis_ar/blob/main/Chapter1/chapter1.tex): `Chapter1/chapter1.tex`
- [Appendices](https://github.com/aronrop/phdthesis_ar/blob/main/Appendix1/appendix1.tex): `Appendix1/appendix1.tex`
- [Bibliography data](https://github.com/aronrop/phdthesis_ar/blob/main/References/references.bib): `References/references.bib`
- [Front matter](https://github.com/aronrop/phdthesis_ar/blob/main/Dedication/dedication.tex): `Dedication/dedication.tex`

### Other components

- **Thesis author**

## Connections

- Thesis author → Main document: edits (evidence: `README.md`)
- Thesis author → Thesis metadata: edits (evidence: `README.md`)
- Main document → Thesis class: selects class (evidence: `README.md`)
- Main document → Separate abstract: abstract mode (evidence: `README.md`)
- Main document → Thesis chapters: chapter mode (evidence: `README.md`)
- Thesis author → Package settings: sets margins (evidence: `README.md`)
- Thesis class → Adaptive title page: provides (evidence: `README.md`)
- Thesis class → Print and online layout: provides (evidence: `README.md`)
- Thesis class → Font options: supports (evidence: `README.md`)
- Thesis class → Header and footer styles: provides (evidence: `README.md`)
- Thesis class → Draft options: supports (evidence: `README.md`)
- Thesis class → Bibliography styles: supports (evidence: `README.md`)
