From 2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 19 Aug 2024 20:12:14 +0200 Subject: Typst init --- style.typ | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 style.typ (limited to 'style.typ') diff --git a/style.typ b/style.typ new file mode 100644 index 0000000..accdef6 --- /dev/null +++ b/style.typ @@ -0,0 +1,17 @@ +#let lay(left, right) = grid( + columns: 2, + gutter: 1cm, + left, + right +) + +#let tagi(str) = text(fill: rgb("#2b2"))[#str] + +#let proba(spr) = lay( + image(spr.img, width: 3.5cm), + [= #spr.nazwa + #spr.tagi + + #spr.opis + ] +) \ No newline at end of file -- cgit 1.4.1