add protokoll
This commit is contained in:
parent
32955aad17
commit
79de9da5a6
3 changed files with 61 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
*.pdf
|
*.pdf
|
||||||
*.yml
|
*.yml
|
||||||
|
*.png
|
35
protokoll.typ
Normal file
35
protokoll.typ
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
#import "templates/tmpl_page.typ": tmpl_page
|
||||||
|
#import "templates/form.typ": form, form_field
|
||||||
|
#let config = yaml("protokoll.yml")
|
||||||
|
|
||||||
|
#show: doc => tmpl_page(
|
||||||
|
title: config.title,
|
||||||
|
subtext: [
|
||||||
|
#config.date \
|
||||||
|
#config.location \
|
||||||
|
Protokoll: #config.author
|
||||||
|
Leitung: #config.lead
|
||||||
|
],
|
||||||
|
doc,
|
||||||
|
)
|
||||||
|
|
||||||
|
#set enum(numbering: "1.a.i.")
|
||||||
|
#eval(config.content, mode: "markup")
|
||||||
|
|
||||||
|
#form[Unterschrift][
|
||||||
|
#form_field("Protokollant")
|
||||||
|
#if config.signature [
|
||||||
|
#place(top+left)[
|
||||||
|
#image("signature.png")
|
||||||
|
]
|
||||||
|
]
|
||||||
|
][
|
||||||
|
#if config.lead != none [
|
||||||
|
#form_field("Leitung")
|
||||||
|
#if config.signature [
|
||||||
|
#place(top+left)[
|
||||||
|
#image("signature_lead.png")
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
24
protokoll.yml.template
Normal file
24
protokoll.yml.template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
title: Mitgliederversammlung
|
||||||
|
date: Montag, 01.01.2024, 12:00 Uhr
|
||||||
|
location: Gartenstraße 11, Dornstetten
|
||||||
|
author: Autor
|
||||||
|
lead: Leitung # Optional
|
||||||
|
signature: false # wenn true wird signature.png (und ggf. signature_lead.png) geladen
|
||||||
|
content: |
|
||||||
|
Anwesend: alle
|
||||||
|
|
||||||
|
Nicht anwesend: niemand
|
||||||
|
|
||||||
|
= TOP 1 - Überschrift
|
||||||
|
|
||||||
|
Hier könnte Ihre Werbung stehen!
|
||||||
|
|
||||||
|
+ Nummerierter Punkt 1
|
||||||
|
+ Nummerierter Punkt 2
|
||||||
|
- Unterpunkt
|
||||||
|
- Weiterer Unterpunkt
|
||||||
|
+ Nummerierter Punkt 3
|
||||||
|
|
||||||
|
= TOP 2 - Typst
|
||||||
|
|
||||||
|
#link("https://typst.app/docs/tutorial/writing-in-typst/")
|
Loading…
Add table
Reference in a new issue