Handwritten notebook style template for Polylux
1#import "@preview/polylux:0.4.0": *
2#import "@local/jotter:0.1.0": (
3 setup,
4 title-slide,
5 framed-block,
6 post-it,
7)
8
9#set text(
10 size: 25pt,
11 font: "Kalam",
12 fill: blue.darken(50%),
13)
14
15#show math.equation: set text(font: "Pennstander Math", weight: "light")
16
17#show raw: set text(font: "Fantasque Sans Mono")
18
19#show: setup.with(
20 header: [A short title],
21 highlight-color: red,
22 binding: true,
23 dots: true,
24)
25
26#title-slide[My interesting title][
27 A subtitle
28
29 The speaker
30
31 Date, Place
32
33 #place(
34 horizon + right,
35 post-it[
36 #set align(horizon + left)
37 #set text(size: .6em)
38 Don't miss this talk!
39 ],
40 )
41]
42
43#slide[
44 = Typography
45
46 #toolbox.side-by-side[
47 Style your content beautifully!
48
49 Some text is *bold*, some text is _emphasized_.
50 ][
51 - a bullet point
52 - another bullet point
53
54 + first point
55 + second point
56 ]
57]
58
59#slide[
60 = Maths and Code
61
62 #toolbox.side-by-side[
63 Maxwell says:
64 $
65 integral.surf_(partial Omega) bold(B) dot dif bold(S) = 0
66 $
67 ][
68 Compute the answer:
69 ```rust
70 pub fn main() {
71 dbg!(42);
72 }
73 ```
74 ]
75]
76
77#slide[
78 = Highlighting content
79
80 // #framed-block and #post-it accept a sloppiness parameter that determine how
81 // randomized they are.
82 // #framed-block also accepts inset, width, and height like the standard
83 // #block.
84
85 #toolbox.side-by-side[
86 #grid(
87 columns: 2,
88 gutter: 1em,
89 framed-block[a], framed-block[couple],
90 framed-block[of], framed-block[randomized],
91 framed-block[framed], framed-block[boxes],
92 )
93 ][
94 #box(post-it[a post-it])
95 #box(post-it[another post-it])
96 ]
97]
98