diff options
Diffstat (limited to 'src/final')
| -rw-r--r-- | src/final/analysis.typ | 4 | ||||
| -rw-r--r-- | src/final/conclusion.typ | 0 | ||||
| -rw-r--r-- | src/final/intro.typ | 6 | ||||
| -rw-r--r-- | src/final/lit.typ | 4 | ||||
| -rw-r--r-- | src/final/main.typ | 61 | ||||
| -rw-r--r-- | src/final/methodology.typ | 4 | ||||
| -rw-r--r-- | src/final/preface.typ | 29 | ||||
| -rw-r--r-- | src/final/results.typ | 4 |
8 files changed, 112 insertions, 0 deletions
diff --git a/src/final/analysis.typ b/src/final/analysis.typ new file mode 100644 index 0000000..497b49a --- /dev/null +++ b/src/final/analysis.typ @@ -0,0 +1,4 @@ += Analysis + + +#pagebreak() diff --git a/src/final/conclusion.typ b/src/final/conclusion.typ new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/final/conclusion.typ diff --git a/src/final/intro.typ b/src/final/intro.typ new file mode 100644 index 0000000..d2dd8fd --- /dev/null +++ b/src/final/intro.typ @@ -0,0 +1,6 @@ += Introduction + + + + +#pagebreak() diff --git a/src/final/lit.typ b/src/final/lit.typ new file mode 100644 index 0000000..0f050bb --- /dev/null +++ b/src/final/lit.typ @@ -0,0 +1,4 @@ += Literature Review + + +#pagebreak() diff --git a/src/final/main.typ b/src/final/main.typ new file mode 100644 index 0000000..31c8050 --- /dev/null +++ b/src/final/main.typ @@ -0,0 +1,61 @@ +// 1. Define or import the title page function +#let title-page(title:[], subtitle:[], name:[], studentid:[], body) = { + // Use `auto` for page dimensions unless you need fixed sizes + // set page(width: auto, height: auto, margin: (top: 1.5in, rest: 1in)) // Adjusted margins + set text(size: 12pt) // Set base size for body, adjust locally + // Define title page specific layout + align(horizon + left)[ + #line(length: 100%, stroke: 2pt) + #v(1em) + #text(size: 24pt, weight: "bold", title) + #v(1em) + #text(size: 18pt, subtitle) + #v(3em) // More space before name + #text(size: 14pt, name) + #v(0.5em) + #text(size: 14pt, studentid) + #v(1fr) // Push content down if needed + ] + pagebreak() // Ensures body starts on a new page + // Reset text size for the main body content + set text(size: 12pt) + // Apply heading numbering for the rest of the document here or after preface + set heading(numbering: "1.1") + body // This is where the included content will go +} + +// 2. Apply the show rule using the function +#show: body => title-page( + title: [Testing In-Context Sleeper Agents: Challenges in Detecting Hidden Goal Pursuit], // Your updated title + subtitle: [Dissertation (CN6000)], + name: "Jayrup Nakawala", + studentid: "u2613621", + body // Pass the actual document body through +) + +// --- Document Content Starts Here --- + +// 3. Include preface content (Abstract, Acknowledgements, ToC) +#include "preface.typ" + +// 4. Include main chapters +#include "intro.typ" // Introduction +#include "lit.typ" // Literature Review +#include "methodology.typ" // Methodology +#include "results.typ" // Results +#include "analysis.typ" // Analysis +#include "conclusion.typ" // Conclusion + +// 5. Include Bibliography (if in separate file or define here) +// #bibliography("references.bib") + +// Title page +// Contents +// = C1: Introduction +// = C2: Literature Review +// = C3: Methodology +// = C4: Results +// = C5: Analysis +// = C6: Conclusion +// References +// Appendices diff --git a/src/final/methodology.typ b/src/final/methodology.typ new file mode 100644 index 0000000..4835aa1 --- /dev/null +++ b/src/final/methodology.typ @@ -0,0 +1,4 @@ += Methodology + + +#pagebreak() diff --git a/src/final/preface.typ b/src/final/preface.typ new file mode 100644 index 0000000..6b67761 --- /dev/null +++ b/src/final/preface.typ @@ -0,0 +1,29 @@ +// Content for Abstract, Acknowledgements, Table of Contents + +#set heading(numbering: none) // Temporarily disable numbering for Abstract/Ack += Abstract <abstract> +#show heading.where(level: 1): it => { + set block(above: 2em, below: 1em) // Adjust spacing for these headings + align(center, text(16pt, weight: "bold", it.body)) +} + +// Abstract text goes here... +#lorem(50) + +#pagebreak() + += Acknowledgements <acknowledgements> + +// Acknowledgements text goes here... +Special thanks to... + +#pagebreak() + += Table of Contents <toc> +#set heading(numbering: "1.1.1") // Re-enable numbering before ToC +#outline( + title: none, // Don't repeat "Table of Contents" inside the outline + depth: 2 // Show chapter and section headings, adjust as needed +) + +#pagebreak() // Ensure Chapter 1 starts on a new page diff --git a/src/final/results.typ b/src/final/results.typ new file mode 100644 index 0000000..65b6f8b --- /dev/null +++ b/src/final/results.typ @@ -0,0 +1,4 @@ += Results + + +#pagebreak() |
