forked from jskherman/imprecv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv.typ
63 lines (52 loc) · 1.29 KB
/
cv.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
61
62
63
#import "cv-base.typ": *
#let cvdata = yaml("nuke.yml")
#let uservars = (
headingfont: "Fira Sans",
bodyfont: "Sans",
fontsize: 11pt, // 10pt, 11pt, 12pt
linespacing: 6pt,
headingsmallcaps: false
)
// setrules and showrules can be overridden by re-declaring it here
// #let setrules(doc) = {
// // add custom document style rules here
//
// doc
// }
#let customrules(doc) = {
// add custom document style rules here
set page(
paper: "us-letter", // a4, us-letter
margin: (x: 1.5cm, y: 1cm),
footer: [
#set align(center)
#set text(0.8em)
#counter(page).display(
"1/1",
both: true,
)
#endnote()
]
)
doc
}
#let cvinit(doc) = {
doc = setrules(uservars, doc)
doc = showrules(uservars, doc)
doc = customrules(doc)
doc
}
// each section body can be overridden by re-declaring it here
// #let cveducation = []
// ========================================================================== //
#show: doc => cvinit(doc)
#cvheading(cvdata, uservars)
#cvwork(cvdata)
#pagebreak()
#cveducation(cvdata)
#cvaffiliations(cvdata)
#cvprojects(cvdata)
#cvawards(cvdata)
// #cvcertificates(cvdata)
// #cvpublications(cvdata)
#cvskills(cvdata)