Compare commits
1 Commits
master
...
test/one-l
Author | SHA1 | Date | |
---|---|---|---|
|
1dcb33ffc3 |
@ -109,12 +109,12 @@
|
|||||||
|
|
||||||
#indent[
|
#indent[
|
||||||
#work_entry(
|
#work_entry(
|
||||||
"University of Waterloo",
|
[B.A.Sc. in Computer Engineering],
|
||||||
"B.A.Sc. in Computer Engineering",
|
[University of Waterloo],
|
||||||
start_date: "Sep 2022", end_date: "Apr 2027 (expected)",
|
start_date: "Sep 2022", end_date: "Apr 2027 (expected)",
|
||||||
location: "Waterloo, ON",
|
|
||||||
tasks: (
|
tasks: (
|
||||||
[Courses: Object-oriented programming, data structures & algorithms, digital computers & circuits],
|
[Courses: Object-oriented programming, data structures & algorithms, digital computers & circuits],
|
||||||
)
|
),
|
||||||
|
one_line_mode: true
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
11
lib.typ
11
lib.typ
@ -57,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Entry for work.
|
// Entry for work.
|
||||||
#let work_entry(role, company, tasks: none, start_date: none, end_date: none, location: none) = {
|
#let work_entry(role, company, tasks: none, start_date: none, end_date: none, location: none, one_line_mode: false) = {
|
||||||
let task_list = if tasks != none {
|
let task_list = if tasks != none {
|
||||||
let list = []
|
let list = []
|
||||||
for task in tasks {
|
for task in tasks {
|
||||||
@ -69,7 +69,14 @@
|
|||||||
}
|
}
|
||||||
cv_entry(
|
cv_entry(
|
||||||
left_content: {
|
left_content: {
|
||||||
text(1.1em)[*#role*] + "\n" + text[#emph[#company]]
|
|
||||||
|
if one_line_mode {
|
||||||
|
text(1.1em)[*#role*, #company]
|
||||||
|
} else {
|
||||||
|
text(1.1em)[*#role*]
|
||||||
|
"\n"
|
||||||
|
text[#emph[#company]]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
right_content: {
|
right_content: {
|
||||||
[*#start_date -- #end_date*]
|
[*#start_date -- #end_date*]
|
||||||
|
Loading…
Reference in New Issue
Block a user