ft: add clean theme
This commit is contained in:
41
presentation.typ
Normal file
41
presentation.typ
Normal 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!]
|
||||
)
|
||||
]
|
||||
Reference in New Issue
Block a user