diff --git a/.gitignore b/.gitignore index e69de29..600d2d3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +.vscode \ No newline at end of file diff --git a/journal/template.typ b/journal/template.typ new file mode 100644 index 0000000..5f27563 --- /dev/null +++ b/journal/template.typ @@ -0,0 +1,43 @@ +#let tb-start-date = datetime(year: 2026, month: 5, day: 11) + +#let dates = state("dates") + +#let week( + num: 1, + doc +) = { + set text(font: "Source Sans 3") + + let start-date = tb-start-date + duration(days: (num - 1) * 7) + let end-date = start-date + duration(days: 6) + + set document( + title: "TB Journal - Week " + str(num), + description: "Short logs of what happened during week " + str(num) + " of my TB", + author: "Louis Heredero", + date: start-date + ) + + set page( + header: context if counter(page).get().first() != 1 [TB Journal], + footer: context grid( + columns: (1fr, auto, 1fr), + [_Louis Heredero_], + counter(page).display("1 / 1") + ) + ) + + dates.update((start: start-date, end: end-date)) + + align( + center, + title() + ) + + doc +} + +#let day(num) = context { + let date = dates.get().start + duration(days: num - 1) + [= #date.display("[weekday]") (#date.display("[day].[month].[year]"))] +} \ No newline at end of file diff --git a/journal/week1.typ b/journal/week1.typ new file mode 100644 index 0000000..f5a86d3 --- /dev/null +++ b/journal/week1.typ @@ -0,0 +1,15 @@ +#import "template.typ": week, day + +#show: week.with(num: 1) + +#day(1) +- Kickoff meeting with Prof. Mudry +- Explore TPG dataset +- Experiment with some pipelines and visualizations +- Quick research on state-of-the-art + + +#day(2) +- Kickoff meeting with Prof. Racordon +- Setup repositories +- Start experimenting with syntax ideas