diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 19:20:16 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 19:20:16 +0200 |
| commit | a9e8d0e9c929bec830b086e473ef1362e1f873d9 (patch) | |
| tree | 9ff2e2c2f49f5ca918c976dde000e0ee61a7b8bf /src/eval/template_content.typ | |
| parent | a36f5482ad90d6899d56e016666a2ca09240abd6 (diff) | |
refactor(typst): generalize template
Diffstat (limited to 'src/eval/template_content.typ')
| -rw-r--r-- | src/eval/template_content.typ | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eval/template_content.typ b/src/eval/template_content.typ new file mode 100644 index 0000000..6ce1b37 --- /dev/null +++ b/src/eval/template_content.typ @@ -0,0 +1,8 @@ +#let param(m, margin: 4pt) = { + return ( + margin: margin, + width: m.width + margin*2, + height: m.height + margin*2, + ) +} + |
