-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.typ
60 lines (53 loc) · 1.04 KB
/
template.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#let cv(
name: "",
website: "",
email: "",
github: "",
body
) = {
set document(author: name, title: "Resume")
set text(font: "JetBrains Mono", lang: "en")
set page(margin: (x: 2.5cm, y: 2.5cm))
show heading: it => [
#pad(bottom: -10pt, [#smallcaps(it.body)])
#line(length: 100%, stroke: 1pt)
]
// author
align(center)[
#block(text(weight: 700, 1.75em, name))
]
// links
align(center,
block[
#link("https://" + website)[#website] |
#link("mailto:" + email)[#email] |
#link("https://github.com/" + github)[github.com/#github]
]
)
// main body
set par(justify: true)
body
// footer
align(bottom)[
#align(center)[
#link("https://github.com/tryton-vanmeer/resume")[Source] #h(75%)
#datetime.today().display()
]
]
}
#let exp(place, title, time, details) = {
pad(
bottom: 10%,
grid(
columns: (auto, 1fr),
align(left)[
*#place* \
#emph[#title]
],
align(right)[
#time
]
)
)
details
}