From 393b8eaeea3b5677617343136767ebb0a6187fb7 Mon Sep 17 00:00:00 2001 From: gapato Date: Mon, 6 Jul 2026 13:53:29 +0200 Subject: [PATCH] update README and bump version --- README.md | 2 +- src/lib.typ | 22 ++++++++++------------ template/slides.typ | 2 +- typst.toml | 2 +- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index f59b4ce..4838a83 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ typship download -n local https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slid ```bash mkdir -p ~/.local/share/typst/packages/local/definitely-not-kfu-slides/ cd ~/.local/share/typst/packages/local/definitely-not-kfu-slides/ -curl https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slides-template/archive/1.0.1.tar.gz | tar zx --xform 's/typst-kfu-slides-template/1.0.1/' +curl https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slides-template/archive/1.0.2.tar.gz | tar zx --xform 's/typst-kfu-slides-template/1.0.2/' ``` ## Quickstart (CLI) diff --git a/src/lib.typ b/src/lib.typ index d1ef592..efd15df 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -154,15 +154,14 @@ ) ] - #v(-0.5cm) + #v(-0.5cm) #h(1.5cm) #box(circle-icon) #h(0.1cm) #self.store.institute ] - set page(footer: footer-kfu, header: none) - set block(below: 0pt, above: 0pt) + self.page.footer = footer-kfu - place(center + horizon, dx: -15em, [ - #circle(stroke: self.colors.primary + 13em, radius: 32em) + let dl = 11.5cm; place(center + horizon, dx: -dl, [ + #circle(stroke: self.colors.primary + 0.86*dl, radius: 2.13*dl) ]) // Top-right icon + text @@ -220,7 +219,7 @@ v(0.95cm) block(width: 70%)[ - #info.extra + #text(size: 15pt)[#info.extra] ] if ( @@ -485,7 +484,7 @@ set cite(style: "alphanumeric") show bibliography: set par(spacing: 0.4cm) show bibliography: set grid(align: top + left) - show bibliography: set text(17pt) + show bibliography: set text(1.1em) show bibliography: t => { show grid.cell.where(x: 0): set text(fill: self.colors.secondary) show grid.cell.where(x: 0): set align(top + left) @@ -504,16 +503,16 @@ ) set enum( numbering: n => { - circle(stroke: self.colors.primary + 2pt, radius: 0.3cm)[ - #align(center + horizon)[ #text(size: 12pt, fill: black)[#n] ] - ] + move(dy: -0.1em, circle(stroke: self.colors.primary + 2pt, radius: 0.4em, fill: self.colors.primary)[ + #align(center + horizon)[ #text(size: 0.7em, fill: black)[#n] ] + ]) }, body-indent: 0.6cm ) // Code blocks show: codly-init.with() - show raw.where(block: true): set text(size: 13pt) + show raw.where(block: true): set text(size: 1em) // Hotfixes, the messy part @@ -524,7 +523,6 @@ }), ..args, ) - body } diff --git a/template/slides.typ b/template/slides.typ index d91ff2e..a4351b5 100644 --- a/template/slides.typ +++ b/template/slides.typ @@ -1,4 +1,4 @@ -#import "@local/definitely-not-kfu-slides:1.0.1": * +#import "@local/definitely-not-kfu-slides:1.0.2": * #show: definitely-not-kfu-theme.with( aspect-ratio: "16-9", diff --git a/typst.toml b/typst.toml index a148621..a3397cc 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "definitely-not-kfu-slides" -version = "1.0.1" +version = "1.0.2" entrypoint = "src/lib.typ" authors = ["Ernesto Martínez ", "Gaspard Jankowiak"] license = "MIT"