clean presentation template

This commit is contained in:
2025-09-14 18:40:13 +02:00
commit bb66126417
6 changed files with 358 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "importer"]
path = importer
url = ssh://git@git.kluster.moll.re:2222/remoll/typst-notebook-cell-importer

4
assets/eth-logo.svg Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="32">
<path d="M70.122 12h-6.931l2.434-12h-58.644l-6.194 31h23.379l1.59-8h-13.815l.79-4h13.824l1.403-7h-13.792l.788-4h21.952l-4.595 23h9.533l4.593-23h8.003l-4.593 23h9.606l2.377-12h6.929l-2.375 12h9.56l6.198-31h-9.586zm40.902-8h3.189l.79-4h-3.174zm8.179 0h3.191l.788-4h-3.174zm29.828 0h3.189l.792-4h-3.176zm15.963 5.908c-5.565 0-9.47 3.94-10.72 10.812a18.357 18.357 0 0 0-.3 3.26c0 4.694 2.833 7.612 7.401 7.612a9.713 9.713 0 0 0 7.009-2.962l.028-.03-1.769-2.168-.032-.038-.034.036a6.453 6.453 0 0 1-5.034 2.426c-2.177 0-4.504-1.306-4.504-4.962a16.14 16.14 0 0 1 .336-3.156 12.177 12.177 0 0 1 2.712-6.048 6.229 6.229 0 0 1 4.608-2.042 4.407 4.407 0 0 1 4.089 2.332l.026.042 2.252-1.912.032-.028-.024-.034a6.832 6.832 0 0 0-6.076-3.14zm20.354-.449a7.848 7.848 0 0 0-6.038 2.392l2.392-11.851h-3.084l-6.196 31h3.084l2.572-13.023c1.102-5.488 5.36-5.766 6.2-5.766a3.43 3.43 0 0 1 3.766 3.697 11.505 11.505 0 0 1-.216 1.968l-2.616 13.124h3.08l2.706-13.409a11.086 11.086 0 0 0 .216-2.115 5.629 5.629 0 0 0-5.866-6.017zm-41.577 21.49l-.01.052h3.041l4.15-21h-2.99zm-55.772-18.005l-.009.057h10.322l-13.609 15.465-.006.008-.511 2.527h14.657l.577-3h-10.957l13.649-15.465.006-.01.513-2.525h-14.062zm50.709-3.199a7.129 7.129 0 0 0-5.745 2.662l.472-2.359.008-.047h-3l-4.147 20.948-.008.052h3.045l2.536-12.85c.649-3.295 3.168-5.688 5.994-5.688a3.474 3.474 0 0 1 2.919 1.466l.03.038 2.469-2.224-.024-.03a5.652 5.652 0 0 0-4.549-1.968zm-18.369.256h3.084l-.008.05-4.144 20.95h-3.001l.01-.052.397-2.18a7.768 7.768 0 0 1-6.051 2.484 5.546 5.546 0 0 1-5.78-5.937 9.544 9.544 0 0 1 .217-1.899l.035-.19 2.622-13.226h3.043l-.01.05-2.577 12.898a11.772 11.772 0 0 0-.207 1.94 3.402 3.402 0 0 0 3.753 3.648c.825 0 4.989-.276 6.076-5.693z" style="fill:#00000f;fill-opacity:0.94117647"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

141
assets/uzh-logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 91 KiB

1
importer Submodule

Submodule importer added at af9f00d907

BIN
main.pdf Normal file

Binary file not shown.

209
main.typ Normal file
View File

@@ -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)