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

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.DS_Store

BIN
assets/profile.JPG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 KiB

View file

@ -0,0 +1,29 @@
#import "template/cv.typ": cv, work
#show: doc => cv(
[dnsc],
[Dennis Schoepf],
([Software-Entwicklung], [Technisches Projektmanagement], [Konzeption]),
[me\@dnsc.io],
[0175 5758108],
[Edignaweg 1, 82256 Fürstenfeldbruck],
doc,
)
= > Skills
#lorem(30)
= > Berufserfahrung
#work(
[Digital H GmbH],
[Feb 2019],
[heute],
[
- Dies ist ein Test
- Work
- Work
]
)

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
}