From f60991344db7d8212db2d926bb18d9e2017aaf18 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 18 Mar 2025 14:43:43 +0100 Subject: [PATCH] feat(resume): Choose experience display by client,type,chronological Can be set by setting the point in 'main' array to 'experience_by_client', 'experience_by_type' or just 'experience' respectively. --- resume.typ | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/resume.typ b/resume.typ index 789e029..16119f4 100644 --- a/resume.typ +++ b/resume.typ @@ -33,7 +33,7 @@ } } -#let resume(contents, main: ("experience", "education"), sidebar: ("volunteering", "languages", "skills")) = { +#let resume(contents, main: ("experience_by_type", "education"), sidebar: ("volunteering", "languages", "skills")) = { show: style show: smartypants set text(lang: lang) @@ -77,11 +77,20 @@ ) } - if "experience" in main and "experience" in contents { + if "experience_by_type" in main and "experience" in contents { let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang) section(title: title)[] by_experience_type(experience: contents.experience, type: contents.experience_types) } + if "experience_by_client" in main and "experience" in contents { + let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang) + section(title: title)[] + by_client(experience: contents.experience) + } + if "experience" in main and "experience" in contents { + let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang) + section(title: title, entries: contents.experience)[] + } if "education" in main and "education" in contents { let title = (en: "Education", de: "Ausbildung").at(lang)