ft: add clean theme

This commit is contained in:
Marco Thomas
2024-02-14 13:26:59 +01:00
commit 0f25520fbc
13 changed files with 329 additions and 0 deletions

41
presentation.typ Normal file
View File

@@ -0,0 +1,41 @@
#import "theme.typ": *
#show: presentation.with(
author: [Sample Author \<me\@example.org\>],
title: [Sample Title],
occasion: [Sample Occasion],
date: [01.01.1970],
logos: ("figures/typst.svg", "figures/polylux.png", "figures/ferris.png"),
logo_height: 40%,
footer: [This is a really cool footer],
)
#section("My Section")
#slide(title: "My Title")[
#grid(
columns: (50%, 50%),
[
- #lorem(10)
- #lorem(10)
- #lorem(10)
- #lorem(10)
],
image("figures/ferris.png")
)
]
#focus-slide()[
We need to focus now...
]
#slide(title: "Some code!")[
#figure(
sourcecode(```rust
enum Foo {
Bar1(Box<Foo>),
Bar2(String),
}
```),
caption: [Some awesome Rust!]
)
]