From c706d877041db163f1a2ceee5df5202592edad26 Mon Sep 17 00:00:00 2001 From: Paul T Date: Mon, 1 Apr 2024 09:25:10 -0400 Subject: [PATCH] feat(template): update resume and coverletter template Updated template based on feedback from Lemmy and else where. Changes coloring scheme as well as some of the font/font weight and style used. Overall, this makes everything a lot more readable and easier to scan at a glance. --- lib.typ | 29 +++++++++++----------- template/coverletter.typ | 2 +- template/resume.typ | 52 +++++++++++++++++++++------------------- typst.toml | 4 ++-- 4 files changed, 45 insertions(+), 42 deletions(-) diff --git a/lib.typ b/lib.typ index 6c3d48a..9eb4bba 100644 --- a/lib.typ +++ b/lib.typ @@ -1,10 +1,10 @@ #import "@preview/fontawesome:0.1.0": * // const color -#let color-darknight = rgb("131A28") -#let color-darkgray = rgb("414141") -#let color-gray = rgb("5d5d5d") -#let default-accent-color = rgb("333ECC") +#let color-darknight = rgb("#131A28") +#let color-darkgray = rgb("#333333") +#let color-gray = rgb("#5d5d5d") +#let default-accent-color = rgb("#262F99") // const icons #let linkedin-icon = box(fa-icon("linkedin", fa-set: "Brands", fill: color-darknight)) @@ -64,14 +64,14 @@ /// - body (content): The body of the right header /// - accent_color (color): The accent color to color the text with. This defaults to the default-accent-color #let secondary-right-header(body, accent_color: default-accent-color) = { - set text(accent_color, size: 11pt, style: "italic", weight: "light") + set text(size: 11pt, weight: "medium") body } /// Right section of a tertiaty headers. /// - body (content): The body of the right header #let tertiary-right-header(body) = { - set text(weight: "light", style: "italic", size: 9pt) + set text(weight: "light", size: 9pt) body } @@ -110,12 +110,14 @@ /// - author (content): Structure that takes in all the author's information /// - date (string): The date the resume was created /// - accent_color (color): The accent color of the resume +/// - colored_headers (boolean): Whether the headers should be colored or not /// - body (content): The body of the resume /// -> none #let resume( author: (:), date: datetime.today().display("[month repr:long] [day], [year]"), accent_color: default-accent-color, + colored_headers : true, body) = { set document( author: author.firstname + " " + author.lastname, @@ -167,8 +169,9 @@ weight: "regular" ) - #align(left)[ - #text[#strong[#text(accent_color)[#it.body.text.slice(0, 3)]]]#strong[#text[#it.body.text.slice(3)]] + #align(left)[ + #let color = if colored_headers { accent_color } else { color-darkgray } + #text[#strong[#text(color)[#it.body.text]]] #box(width: 1fr, line(length: 100%)) ] ] @@ -213,8 +216,7 @@ let address = { set text( size: 9pt, - weight: "bold", - style: "italic", + weight: "bold" ) align(center)[ #author.address @@ -259,7 +261,7 @@ /// This formats the item for the resume entries. Typically your body would be a bullet list of items. Could be your responsibilities at a company or your academic achievements in an educational background section. /// - body (content): The body of the resume entry #let resume-item(body) = { - set text(size: 10pt, style: "normal", weight: "light") + set text(size: 10pt, style: "normal", weight: "light", fill: color-darknight) set par(leading: 0.65em) body } @@ -390,7 +392,7 @@ ) #align(left)[ - #text[#strong[#text(accent_color)[#it.body.text.slice(0, 3)]]]#strong[#text[#it.body.text.slice(3)]] + #text[#strong[#text(accent_color)[#it.body.text]]] #box(width: 1fr, line(length: 100%)) ] ] @@ -425,8 +427,7 @@ let address = { set text( size: 9pt, - weight: "regular", - style: "italic", + weight: "bold", fill: color-gray ) align(right)[ diff --git a/template/coverletter.typ b/template/coverletter.typ index ca19172..605b167 100644 --- a/template/coverletter.typ +++ b/template/coverletter.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.1.0":* +#import "@preview/modern-cv:0.2.0":* #show: coverletter.with( author: ( diff --git a/template/resume.typ b/template/resume.typ index 10a2b7a..c35bafa 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.1.0": * +#import "@preview/modern-cv:0.2.0": * #show: resume.with( author: ( @@ -11,34 +11,21 @@ address: "111 Example St. Example City, EX 11111", positions: ( "Software Engineer", - "Software Architect" + "Software Architect", + "Developer" ) ), - date: datetime.today().display() + date: datetime.today().display(), + colored_headers: true ) -= Education - -#resume-entry( - title: "Example University", - location: "B.S. in Computer Science", - date: "August 2014 - May 2019", - description: "Example" -) - -#resume-item[ - - #lorem(20) - - #lorem(15) - - #lorem(25) -] - = Experience #resume-entry( - title: "Example, Inc.", + title: "Senior Software Engineer", location: "Example City, EX", date: "2019 - Present", - description: "Senior Software Engineer" + description: "Example, Inc." ) #resume-item[ @@ -48,10 +35,10 @@ ] #resume-entry( - title: "Previous Company, Inc.", + title: "Software Engineer", location: "Example City, EX", date: "2011 - 2019", - description: "Software Engineer" + description: "Previous Company, Inc." ) #resume-item[ @@ -75,7 +62,7 @@ ] #resume-entry( - title: " Event Bus C++ Library", + title: "Event Bus C++ Library", location: github-link("DeveloperPaul123/eventbus"), date: "Sep. 2019 - Present", description: "Designer/Developer" @@ -88,6 +75,21 @@ = Skills -#resume-skill-item("Programming Languages", (strong("C++"), "Python", "Java", "C#", "JavaScript", "TypeScript")) +#resume-skill-item("Languages", (strong("C++"), strong("Python"), "Java", "C#", "JavaScript", "TypeScript")) #resume-skill-item("Spoken Languages", (strong("English"), "Spanish")) -#resume-skill-item("Programs", (strong("Excel"),"Word")) +#resume-skill-item("Programs", (strong("Excel"),"Word", "Powerpoint", "Visual Studio")) + += Education + +#resume-entry( + title: "Example University", + location: "Example City, EX", + date: "August 2014 - May 2019", + description: "B.S. in Computer Science" +) + +#resume-item[ + - #lorem(20) + - #lorem(15) + - #lorem(25) +] \ No newline at end of file diff --git a/typst.toml b/typst.toml index fe7d62d..34bcd5d 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "modern-cv" -version = "0.1.0" +version = "0.2.0" compiler = "0.11.0" entrypoint = "lib.typ" authors = ["Paul Tsouchlos "] @@ -16,4 +16,4 @@ repository = "https://github.com/DeveloperPaul123/modern-cv" [template] path = "template" entrypoint = "resume.typ" -thumbnail = "resume.png" \ No newline at end of file +thumbnail = "assets/images/resume.png"