commit bb661264177f43cfdbd2b7e925a1083509b0b739 Author: Remy Moll Date: Sun Sep 14 18:40:13 2025 +0200 clean presentation template diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..03b84f4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "importer"] + path = importer + url = ssh://git@git.kluster.moll.re:2222/remoll/typst-notebook-cell-importer diff --git a/assets/eth-logo.svg b/assets/eth-logo.svg new file mode 100644 index 0000000..c78efdf --- /dev/null +++ b/assets/eth-logo.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/uzh-logo.svg b/assets/uzh-logo.svg new file mode 100644 index 0000000..e896dba --- /dev/null +++ b/assets/uzh-logo.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/importer b/importer new file mode 160000 index 0000000..af9f00d --- /dev/null +++ b/importer @@ -0,0 +1 @@ +Subproject commit af9f00d9072665f3ff83ef571f74205c5aa43a26 diff --git a/main.pdf b/main.pdf new file mode 100644 index 0000000..59ae01d Binary files /dev/null and b/main.pdf differ diff --git a/main.typ b/main.typ new file mode 100644 index 0000000..7532732 --- /dev/null +++ b/main.typ @@ -0,0 +1,209 @@ +#import "@preview/diatypst:0.7.0": * +#import "@preview/grayness:0.4.1": * +#import "importer/main.typ": * + + +// Patch the ETH logo to actually be white: +#let logo = "assets/uzh-logo.svg" +#let original = read(logo) +#let changed = original.replace( + "#FFFFFF", + black.to-hex(), +) + +#let logos = ( + image("assets/eth-logo.svg"), + image(bytes(changed)) +) + + + + + +#let ratio = 16/9 +#let layout_size = "large" +#let authors = ("Rémy Moll",) +#let date = "18. September 2024" +#let title = "Simulating the EOR with self-consistent growth of galaxies" +#let subtitle = "Master's thesis presentation" +#let title-color = color.blue.darken(50%); +#let bg-color = color.white; + + + +///// Front page ///// +#let notebook = json("../workdir/11_visualization/very_high_res_snapshot.ipynb") +#let front_image = image_cell(notebook, cell_id: "very_high_res_slice") +#let (height, space) = layouts.at(layout_size) +#let width = ratio * height + +#set page( + height: height, + width: width, + footer: none, + header: none, + margin: 0cm +) + +#let space = 2cm +#place[ + #set image( + width: 105%, + ) + #front_image, +] +#place[ + #box( + width: 100%, + height: 100%, + fill: color.black.transparentize(65%) + ) +] + +#block( + inset: (x:0.5*space, y:1em), + width: 100%, + height: 60%, + align(bottom)[#text(2.0em, weight: "bold", fill: bg-color, title)], + above: 0cm, + below: 0cm, +) + + +#let padded_logos = logos.map(logo => box(height: 1.5em, inset: (x:0.3cm), logo)) + + +#block( + height: 40%, + width: 100%, + fill: bg-color, + inset: (x:0.5*space,top:1cm, bottom: 1em), + above: 0cm, + below: 0cm, + if subtitle != none {[ + #text(1.4em, fill: title-color, weight: "bold", subtitle) + ]} + + if subtitle != none and date != none { text(1.4em)[ \ ] } + + if date != none {text(1.1em, date)} + + align( + bottom, + stack( + dir: ltr, + authors.join(", ", last: " & "), + h(1fr), + ..padded_logos, + ) + ) +) +// #block( +// height: 20%, +// width: 100%, +// fill: none, +// inset: (x:0.5*space,top:1cm, bottom: 1em), +// above: 0cm, +// below: 0cm, +// stack( +// dir: ltr, +// authors.join(", ", last: " & "), +// h(1fr), +// ..padded_logos, +// ) + +// ) + + +///// Main content ///// + +#show: slides.with( + title: title, + subtitle: subtitle, + date: date, + authors: authors, + toc: false, + layout: layout_size, + ratio: ratio, + title-color: title-color, + bg-color: bg-color, +) + + + +#show footnote.entry: set text(size: 0.6em) +#set footnote.entry(gap: 3pt) +#set align(horizon) + + += Simulating the EOR +// REFERENCES NEEDED! + +== The 21cm signal +#lorem(20) +- a +- b +- c + +== The halo model of reionization +#lorem(20) +- a +- b +- c + +== The current state of simulations +#lorem(20) + + + += Halo mass history + +== Effect on the flux profiles +#lorem(50) + +== Inferring from #smallcaps[Thesan] data +#lorem(50) + + += Implementation +== Simplified usage + +```python +import beorn + +parameters = beorn.load_parameters("params.yaml") +``` +// TODO use a code cell instead! + + +// title describing the results - signal, maps, power spectra => noticeable improvements += Results +== Maps +#lorem(50) + +== Signal +#lorem(50) + +== Summary statistics +#lorem(50) + +#set heading(numbering: none, outlined: false) += Thank you for your attention + + +#set page(numbering: none) +// Backup slides + +== Validation - old implementation +TODO + +== Validation - resolution effects +TODO + + + + + +== Backup slides +This is a backup slide +#lorem(50) + +== Another backup slide +#lorem(50)