feat: wt5 initial draft

This commit is contained in:
eggy
2025-08-05 01:55:48 -07:00
parent eb76d5b1a1
commit 4c754d3c91
2 changed files with 89 additions and 61 deletions

View File

@@ -60,8 +60,8 @@
// Entry for work.
#let work_entry(
role,
company,
role,
tools: none,
tasks: none,
start_date: none,
@@ -70,7 +70,13 @@
company_link: none,
) = {
cv_entry(left_content: {
text(JOB_TITLE_FONT_SIZE)[*#role*]
let company_text = if company_link == none {
[#company]
} else {
[#link(company_link)[#company]]
}
text(JOB_TITLE_FONT_SIZE)[*#company_text*]
if tools != none {
// text[ | _ #tools _ ]
@@ -79,11 +85,7 @@
"\n"
set strong(delta: SMALL_STRONG)
if company_link == none {
[_#company _]
} else {
[#link(company_link)[_#company _]]
}
[_#role _]
}, right_content: {
text(style: "italic")[#start_date -- #end_date]
@@ -126,7 +128,7 @@
spacing: DETAILS_LIST_SPACING,
marker: [*•*],
)
set text(font: (BODY_FONT), BODY_FONT_SIZE)
set text(font: (BODY_FONT), hyphenate: true, BODY_FONT_SIZE)
set par(justify: true, leading: BODY_LINE_HEIGHT)
set underline(offset: 0.2em)
align(center)[