From 58b37ae08b7cfa1ae1b4a151f01345670678ba65 Mon Sep 17 00:00:00 2001 From: Filipe Rodrigues Date: Sun, 3 Dec 2023 13:24:55 +0000 Subject: [PATCH] Moved all typst files to `typst/`. --- .gitignore | 2 +- .vscode/settings.json | 1 + cover.typ => typst/cover.typ | 12 ++++++------ {exercises => typst/exercises}/1.typ | 2 +- {exercises => typst/exercises}/2.typ | 2 +- main.typ => typst/main.typ | 4 ++-- util.typ => typst/util.typ | 0 7 files changed, 12 insertions(+), 11 deletions(-) rename cover.typ => typst/cover.typ (90%) rename {exercises => typst/exercises}/1.typ (97%) rename {exercises => typst/exercises}/2.typ (94%) rename main.typ => typst/main.typ (88%) rename util.typ => typst/util.typ (100%) diff --git a/.gitignore b/.gitignore index cdea75c..4fe29c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Auto-generated -*.pdf +typst/**/*.pdf output/ # Exceptions diff --git a/.vscode/settings.json b/.vscode/settings.json index 14f09b5..2cafc56 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,6 +6,7 @@ "ggplot", "ggsave", "probs", + "tecnico", "Tsvg", "typst" ] diff --git a/cover.typ b/typst/cover.typ similarity index 90% rename from cover.typ rename to typst/cover.typ index 9c266d1..aa9d13b 100644 --- a/cover.typ +++ b/typst/cover.typ @@ -1,20 +1,20 @@ #import "util.typ": course, title, degree, authors, group #align(center)[ - #image("images/tecnico-logo.png", width:70%) + #image("/images/tecnico-logo.png", width:70%) #v(4em) ] #align(center)[ #block(text(weight: 600, 2em, course)) #v(8em, weak: true) - + #block(text(weight: 600, 1.75em, title)) #v(3em, weak: true) - + #block(text(weight: 600, 1em, degree)) #v(4em, weak: true) - + #pad( top: 0.5em, bottom: 0.5em, @@ -26,7 +26,7 @@ ), ) #v(2em, weak: true) - + #block(text(weight: 600, 1em, group)) #v(1em, weak: true) -] \ No newline at end of file +] diff --git a/exercises/1.typ b/typst/exercises/1.typ similarity index 97% rename from exercises/1.typ rename to typst/exercises/1.typ index 23228fa..f2e184b 100644 --- a/exercises/1.typ +++ b/typst/exercises/1.typ @@ -1,4 +1,4 @@ -#import "/util.typ" as util: indent_par +#import "/typst/util.typ" as util: indent_par #indent_par[The 2-DTMC process is capable of performing both what the Bernoulli process can, as well as another interesting behavior] diff --git a/exercises/2.typ b/typst/exercises/2.typ similarity index 94% rename from exercises/2.typ rename to typst/exercises/2.typ index 60e92b8..60db44f 100644 --- a/exercises/2.typ +++ b/typst/exercises/2.typ @@ -1,4 +1,4 @@ -#import "/util.typ" as util: indent_par +#import "/typst/util.typ" as util: indent_par #indent_par[To estimate the transition probabilities, we traverse the data a pair at a time. This allows us to check the transition of each data point and store it in an occurrences matrix.] diff --git a/main.typ b/typst/main.typ similarity index 88% rename from main.typ rename to typst/main.typ index 0b2149a..8a172c3 100644 --- a/main.typ +++ b/typst/main.typ @@ -1,4 +1,4 @@ -#import "util.typ" as util +#import "/typst/util.typ" as util #set document( author: util.authors, @@ -7,7 +7,7 @@ ) #set page( header: locate(loc => if loc.page() > 1 { - image("images/tecnico-logo.png", height: 30pt) + image("/images/tecnico-logo.png", height: 30pt) }), footer: locate(loc => if loc.page() > 1 { align(center, counter(page).display()) diff --git a/util.typ b/typst/util.typ similarity index 100% rename from util.typ rename to typst/util.typ