diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-08-19 20:12:14 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-08-19 20:12:14 +0200 |
commit | 2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1 (patch) | |
tree | aa1eb45c7b03f7e6ff766de1e77330d7ea9a7e47 /style.typ | |
parent | e185fcdc7c9a2bc9fdc7372158063b2ca9cba6b3 (diff) | |
download | suplement-sprawnosci-2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1.tar.gz suplement-sprawnosci-2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1.zip |
Typst init
Diffstat (limited to 'style.typ')
-rw-r--r-- | style.typ | 17 |
1 files changed, 17 insertions, 0 deletions
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 |