Adds typst cv files

This commit is contained in:
Dennis Schoepf 2024-09-12 23:46:19 +02:00
commit 2e36a11975
4 changed files with 103 additions and 0 deletions

73
template/cv.typ Normal file
View file

@ -0,0 +1,73 @@
#let timeframe(from, to) = {
block(
inset: 4pt,
fill: luma(240),
radius: 3pt,
text(luma(20), [#from - #to]),
)
}
#let work(company, from, to, content) = {
grid(
align: horizon,
inset: (
top: 10pt,
bottom: 6pt
),
gutter: 8pt,
columns: (auto, auto),
[== >> Digital H GmbH],
timeframe(from, to)
)
content
}
#let cv(
short,
name,
positions,
email,
phone,
address,
doc
) = {
set page(
paper: "a4",
margin: 12pt
)
set text(11pt, font: "Victor Mono")
grid(
columns: (1fr, 3fr),
block(
clip: true,
radius: 10pt,
image("../assets/profile.jpg"),
),
block(
inset: (
top: 16pt,
left: 18pt
),
stack(
spacing: 12pt,
text(black, 22pt, [*#name*]),
text(
black,
14pt,
positions.join(",\n", last: " &\n"),
style: "italic"
),
text(
black,
11pt,
(email, phone, address).join(" // "),
)
)
)
)
set align(left)
doc
}