Handwritten notebook style template for Polylux
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow disabling binding and dots

+29 -10
+6
README.md
··· 20 20 [Fantastque Sans Mono](https://github.com/belluzj/fantasque-sans/releases). 21 21 Either make sure you have them installed or specify other fonts in the template. 22 22 23 + This is an opinionated template on purpose. 24 + However, if you like the overall handwritten asthetic but prefer not to have the 25 + spiral binding to the left and/or the dots in the background, you can disable 26 + them by setting the `binding` and `dots` keyword arguments to `false` in the 27 + `setup` function. 28 + 23 29 ![thumbnail](thumbnail.png) 24 30 25 31
+17 -9
lib.typ
··· 4 4 5 5 #let highlight-color-state = state("jotter-highlight-color", red) 6 6 7 - #let setup(header: none, highlight-color: red, body) = { 7 + #let setup( 8 + header: none, 9 + highlight-color: red, 10 + binding: true, 11 + dots: true, 12 + body, 13 + ) = { 8 14 highlight-color-state.update(highlight-color) 9 15 set page( 10 16 paper: "presentation-16-9", 11 17 margin: (left: 3cm, top: 2cm, rest: 1cm), 12 - fill: tiling( 13 - spacing: (5mm, 5mm), 14 - { 15 - place(square(width: 6mm, stroke: none, fill: white)) 16 - circle(radius: 1pt, fill: white.darken(10%)) 17 - }, 18 - ), 19 - background: { 18 + fill: if dots { 19 + tiling( 20 + spacing: (5mm, 5mm), 21 + { 22 + place(square(width: 6mm, stroke: none, fill: white)) 23 + circle(radius: 1pt, fill: white.darken(10%)) 24 + }, 25 + ) 26 + }, 27 + background: if binding { 20 28 set align(top + left) 21 29 let gap = 1.5cm 22 30 let color = rgb("8aa")
+6 -1
template/slides.typ
··· 16 16 17 17 #show raw: set text(font: "Fantasque Sans Mono") 18 18 19 - #show: setup.with(header: [A short title], highlight-color: red) 19 + #show: setup.with( 20 + header: [A short title], 21 + highlight-color: red, 22 + binding: true, 23 + dots: true, 24 + ) 20 25 21 26 #title-slide[My interesting title][ 22 27 A subtitle