This commit is contained in:
parent
abc5009d36
commit
89c447666d
5 changed files with 21 additions and 94 deletions
|
@ -7,14 +7,9 @@
|
|||
"packages": "fonts-noto-core,fonts-ubuntu"
|
||||
}
|
||||
},
|
||||
"containerUser": "vscode",
|
||||
"containerEnv": {
|
||||
"TYPST_FONT_PATHS": "/usr/share/fonts"
|
||||
},
|
||||
"runArgs": [
|
||||
"--userns=keep-id",
|
||||
"--security-opt=label=disable"
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
#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")
|
||||
|
||||
#v(3em)
|
||||
#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")
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
|
@ -1,24 +0,0 @@
|
|||
title: Mitgliederversammlung
|
||||
date: Montag, 01.01.2024, 12:00 Uhr
|
||||
location: Friedrichstraße 17, 72250 Freudenstadt
|
||||
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/")
|
|
@ -7,12 +7,8 @@
|
|||
) = {
|
||||
show: doc => common(title: title, doc)
|
||||
|
||||
set enum(
|
||||
numbering: "(1)"
|
||||
)
|
||||
set text(
|
||||
size: 12pt,
|
||||
)
|
||||
set enum(numbering: "(1)")
|
||||
set text(size: 12pt)
|
||||
|
||||
// Titelblatt
|
||||
align(center)[
|
||||
|
@ -34,9 +30,9 @@
|
|||
footer: [
|
||||
#text(size: 10pt, fill: colors.subtext)[#changes.at(-3)]
|
||||
#h(2fr)
|
||||
#text(size: 10pt, fill: colors.subtext)[#counter(page).display()]
|
||||
#text(size: 10pt, fill: colors.subtext)[#context counter(page).display()]
|
||||
],
|
||||
margin: (bottom: 2.5cm)
|
||||
margin: (bottom: 2.5cm),
|
||||
)
|
||||
|
||||
// Inhaltsverzeichnis
|
||||
|
@ -49,9 +45,7 @@
|
|||
|
||||
outline(title: [*Inhaltsverzeichnis*])
|
||||
|
||||
set par(
|
||||
leading: 1em,
|
||||
)
|
||||
set par(leading: 1em)
|
||||
|
||||
pagebreak()
|
||||
|
||||
|
@ -80,13 +74,13 @@
|
|||
#v(1.25em, weak: true)
|
||||
]
|
||||
block(breakable: false)[
|
||||
#heading([Änderungen])
|
||||
#table(
|
||||
columns: (auto, auto, 1fr),
|
||||
inset: 8pt,
|
||||
align: auto,
|
||||
stroke: 0.5pt,
|
||||
[*Version*], [*Änderungsdatum*], [*Änderungen*],
|
||||
..changes
|
||||
)]
|
||||
#heading([Änderungen])
|
||||
#table(
|
||||
columns: (auto, auto, 1fr),
|
||||
inset: 8pt,
|
||||
align: auto,
|
||||
stroke: 0.5pt,
|
||||
[*Version*], [*Änderungsdatum*], [*Änderungen*],
|
||||
..changes
|
||||
)]
|
||||
}
|
|
@ -22,14 +22,12 @@
|
|||
top + right,
|
||||
dx: 2.5em,
|
||||
dy: -2.5em,
|
||||
image("lightmode-swablab.png", width: 25%)
|
||||
image("lightmode-swablab.png", width: 25%),
|
||||
)
|
||||
|
||||
block(width: 100%-100pt, height: 70pt)[
|
||||
#par(justify: false)[
|
||||
#text(font: "Ubuntu", 18pt)[
|
||||
#heading(outlined: false)[*#title*]
|
||||
]
|
||||
block(width: 100% - 100pt, height: 70pt)[
|
||||
#text(font: "Ubuntu", 18pt)[
|
||||
#heading(outlined: false)[*#title*]
|
||||
]
|
||||
#subtext
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue