format: auto-formatting
This commit is contained in:
270
lib.typ
270
lib.typ
@@ -7,8 +7,12 @@
|
|||||||
#let default-accent-color = rgb("#262F99")
|
#let default-accent-color = rgb("#262F99")
|
||||||
|
|
||||||
// const icons
|
// const icons
|
||||||
#let linkedin-icon = box(fa-icon("linkedin", fa-set: "Brands", fill: color-darknight))
|
#let linkedin-icon = box(
|
||||||
#let github-icon = box(fa-icon("github", fa-set: "Brands", fill: color-darknight))
|
fa-icon("linkedin", fa-set: "Brands", fill: color-darknight),
|
||||||
|
)
|
||||||
|
#let github-icon = box(
|
||||||
|
fa-icon("github", fa-set: "Brands", fill: color-darknight),
|
||||||
|
)
|
||||||
// for some reason this icon doesn't work with fa-icon, so we use the local version
|
// for some reason this icon doesn't work with fa-icon, so we use the local version
|
||||||
#let phone-icon = box(image("assets/icons/square-phone-solid.svg"))
|
#let phone-icon = box(image("assets/icons/square-phone-solid.svg"))
|
||||||
#let email-icon = box(fa-icon("envelope", fill: color-darknight))
|
#let email-icon = box(fa-icon("envelope", fill: color-darknight))
|
||||||
@@ -56,7 +60,10 @@
|
|||||||
set box(height: 11pt)
|
set box(height: 11pt)
|
||||||
|
|
||||||
align(right + horizon)[
|
align(right + horizon)[
|
||||||
#fa-icon("github", fa-set: "Brands", fill: color-darkgray) #link("https://github.com/" + github_path, github_path)
|
#fa-icon("github", fa-set: "Brands", fill: color-darkgray) #link(
|
||||||
|
"https://github.com/" + github_path,
|
||||||
|
github_path,
|
||||||
|
)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,14 +71,20 @@
|
|||||||
/// - body (content): The body of the right header
|
/// - 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
|
/// - 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) = {
|
#let secondary-right-header(body, accent_color: default-accent-color) = {
|
||||||
set text(size: 11pt, weight: "medium")
|
set text(
|
||||||
|
size: 11pt,
|
||||||
|
weight: "medium",
|
||||||
|
)
|
||||||
body
|
body
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Right section of a tertiaty headers.
|
/// Right section of a tertiaty headers.
|
||||||
/// - body (content): The body of the right header
|
/// - body (content): The body of the right header
|
||||||
#let tertiary-right-header(body) = {
|
#let tertiary-right-header(body) = {
|
||||||
set text(weight: "light", size: 9pt)
|
set text(
|
||||||
|
weight: "light",
|
||||||
|
size: 9pt,
|
||||||
|
)
|
||||||
body
|
body
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,7 +92,10 @@
|
|||||||
/// - primary (content): The primary section of the header
|
/// - primary (content): The primary section of the header
|
||||||
/// - secondary (content): The secondary section of the header
|
/// - secondary (content): The secondary section of the header
|
||||||
#let justified-header(primary, secondary) = {
|
#let justified-header(primary, secondary) = {
|
||||||
set block(above: 0.7em, below: 0.7em)
|
set block(
|
||||||
|
above: 0.7em,
|
||||||
|
below: 0.7em,
|
||||||
|
)
|
||||||
pad[
|
pad[
|
||||||
#__justify_align[
|
#__justify_align[
|
||||||
== #primary
|
== #primary
|
||||||
@@ -93,11 +109,11 @@
|
|||||||
/// - primary (content): The primary section of the header
|
/// - primary (content): The primary section of the header
|
||||||
/// - secondary (content): The secondary section of the header
|
/// - secondary (content): The secondary section of the header
|
||||||
#let secondary-justified-header(primary, secondary) = {
|
#let secondary-justified-header(primary, secondary) = {
|
||||||
__justify_align[
|
__justify_align[
|
||||||
=== #primary
|
=== #primary
|
||||||
][
|
][
|
||||||
#tertiary-right-header[#secondary]
|
#tertiary-right-header[#secondary]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
/// --- End of Helpers
|
/// --- End of Helpers
|
||||||
|
|
||||||
@@ -114,13 +130,14 @@
|
|||||||
/// - body (content): The body of the resume
|
/// - body (content): The body of the resume
|
||||||
/// -> none
|
/// -> none
|
||||||
#let resume(
|
#let resume(
|
||||||
author: (:),
|
author: (:),
|
||||||
date: datetime.today().display("[month repr:long] [day], [year]"),
|
date: datetime.today().display("[month repr:long] [day], [year]"),
|
||||||
accent_color: default-accent-color,
|
accent_color: default-accent-color,
|
||||||
colored_headers : true,
|
colored_headers: true,
|
||||||
body) = {
|
body,
|
||||||
|
) = {
|
||||||
set document(
|
set document(
|
||||||
author: author.firstname + " " + author.lastname,
|
author: author.firstname + " " + author.lastname,
|
||||||
title: "resume",
|
title: "resume",
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -129,14 +146,17 @@
|
|||||||
lang: "en",
|
lang: "en",
|
||||||
size: 11pt,
|
size: 11pt,
|
||||||
fill: color-darkgray,
|
fill: color-darkgray,
|
||||||
fallback: true
|
fallback: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
set page(
|
set page(
|
||||||
paper: "a4",
|
paper: "a4",
|
||||||
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
||||||
footer: [
|
footer: [
|
||||||
#set text(fill: gray, size: 8pt)
|
#set text(
|
||||||
|
fill: gray,
|
||||||
|
size: 8pt,
|
||||||
|
)
|
||||||
#__justify_align_3[
|
#__justify_align_3[
|
||||||
#smallcaps[#date]
|
#smallcaps[#date]
|
||||||
][
|
][
|
||||||
@@ -154,35 +174,53 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
// set paragraph spacing
|
// set paragraph spacing
|
||||||
show par: set block(above: 0.75em, below: 0.75em)
|
show par: set block(
|
||||||
|
above: 0.75em,
|
||||||
|
below: 0.75em,
|
||||||
|
)
|
||||||
set par(justify: true)
|
set par(justify: true)
|
||||||
|
|
||||||
set heading(
|
set heading(
|
||||||
numbering: none,
|
numbering: none,
|
||||||
outlined: false,
|
outlined: false,
|
||||||
)
|
)
|
||||||
|
|
||||||
show heading.where(level:1): it => [
|
show heading.where(level: 1): it => [
|
||||||
#set block(above: 1em, below: 1em)
|
#set block(
|
||||||
|
above: 1em,
|
||||||
|
below: 1em,
|
||||||
|
)
|
||||||
#set text(
|
#set text(
|
||||||
size: 16pt,
|
size: 16pt,
|
||||||
weight: "regular"
|
weight: "regular",
|
||||||
)
|
)
|
||||||
|
|
||||||
#align(left)[
|
#align(left)[
|
||||||
#let color = if colored_headers { accent_color } else { color-darkgray }
|
#let color = if colored_headers {
|
||||||
|
accent_color
|
||||||
|
} else {
|
||||||
|
color-darkgray
|
||||||
|
}
|
||||||
#text[#strong[#text(color)[#it.body.text]]]
|
#text[#strong[#text(color)[#it.body.text]]]
|
||||||
#box(width: 1fr, line(length: 100%))
|
#box(width: 1fr, line(length: 100%))
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
show heading.where(level: 2): it => {
|
show heading.where(level: 2): it => {
|
||||||
set text(color-darkgray, size: 12pt, style: "normal", weight: "bold")
|
set text(
|
||||||
|
color-darkgray,
|
||||||
|
size: 12pt,
|
||||||
|
style: "normal",
|
||||||
|
weight: "bold",
|
||||||
|
)
|
||||||
it.body
|
it.body
|
||||||
}
|
}
|
||||||
|
|
||||||
show heading.where(level: 3): it => {
|
show heading.where(level: 3): it => {
|
||||||
set text(size: 10pt, weight: "regular")
|
set text(
|
||||||
|
size: 10pt,
|
||||||
|
weight: "regular",
|
||||||
|
)
|
||||||
smallcaps[#it.body]
|
smallcaps[#it.body]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,46 +228,54 @@
|
|||||||
align(center)[
|
align(center)[
|
||||||
#pad(bottom: 5pt)[
|
#pad(bottom: 5pt)[
|
||||||
#block[
|
#block[
|
||||||
#set text(size: 32pt, style: "normal", font: ("Roboto"))
|
#set text(
|
||||||
|
size: 32pt,
|
||||||
|
style: "normal",
|
||||||
|
font: ("Roboto"),
|
||||||
|
)
|
||||||
#text(accent_color, weight: "thin")[#author.firstname]
|
#text(accent_color, weight: "thin")[#author.firstname]
|
||||||
#text(weight: "bold")[#author.lastname]
|
#text(weight: "bold")[#author.lastname]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let positions = {
|
let positions = {
|
||||||
set text(
|
set text(
|
||||||
accent_color,
|
accent_color,
|
||||||
size: 9pt,
|
size: 9pt,
|
||||||
weight: "regular"
|
weight: "regular",
|
||||||
)
|
)
|
||||||
align(center)[
|
align(center)[
|
||||||
#smallcaps[
|
#smallcaps[
|
||||||
#author.positions.join(
|
#author.positions.join(
|
||||||
text[#" "#sym.dot.c#" "]
|
text[#" "#sym.dot.c#" "],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let address = {
|
let address = {
|
||||||
set text(
|
set text(
|
||||||
size: 9pt,
|
size: 9pt,
|
||||||
weight: "bold"
|
weight: "bold",
|
||||||
)
|
)
|
||||||
align(center)[
|
align(center)[
|
||||||
#author.address
|
#author.address
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let contacts = {
|
let contacts = {
|
||||||
set box(height: 9pt)
|
set box(height: 9pt)
|
||||||
|
|
||||||
let separator = box(width: 5pt)
|
let separator = box(width: 5pt)
|
||||||
|
|
||||||
align(center)[
|
align(center)[
|
||||||
#set text(size: 9pt, weight: "regular", style: "normal")
|
#set text(
|
||||||
|
size: 9pt,
|
||||||
|
weight: "regular",
|
||||||
|
style: "normal",
|
||||||
|
)
|
||||||
#block[
|
#block[
|
||||||
#align(horizon)[
|
#align(horizon)[
|
||||||
#phone-icon
|
#phone-icon
|
||||||
@@ -247,9 +293,9 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
name
|
name
|
||||||
positions
|
positions
|
||||||
address
|
address
|
||||||
@@ -261,7 +307,12 @@
|
|||||||
/// 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.
|
/// 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
|
/// - body (content): The body of the resume entry
|
||||||
#let resume-item(body) = {
|
#let resume-item(body) = {
|
||||||
set text(size: 10pt, style: "normal", weight: "light", fill: color-darknight)
|
set text(
|
||||||
|
size: 10pt,
|
||||||
|
style: "normal",
|
||||||
|
weight: "light",
|
||||||
|
fill: color-darknight,
|
||||||
|
)
|
||||||
set par(leading: 0.65em)
|
set par(leading: 0.65em)
|
||||||
body
|
body
|
||||||
}
|
}
|
||||||
@@ -272,10 +323,10 @@
|
|||||||
/// - date (string): The date of the resume entry, this can be a range (e.g. "Jan 2020 - Dec 2020")
|
/// - date (string): The date of the resume entry, this can be a range (e.g. "Jan 2020 - Dec 2020")
|
||||||
/// - description (content): The body of the resume entry
|
/// - description (content): The body of the resume entry
|
||||||
#let resume-entry(
|
#let resume-entry(
|
||||||
title: none,
|
title: none,
|
||||||
location: "",
|
location: "",
|
||||||
date: "",
|
date: "",
|
||||||
description: ""
|
description: "",
|
||||||
) = {
|
) = {
|
||||||
pad[
|
pad[
|
||||||
#justified-header(title, location)
|
#justified-header(title, location)
|
||||||
@@ -287,7 +338,11 @@
|
|||||||
/// *Example:*
|
/// *Example:*
|
||||||
/// #example(`resume.resume-gpa("3.5", "4.0")`)
|
/// #example(`resume.resume-gpa("3.5", "4.0")`)
|
||||||
#let resume-gpa(numerator, denominator) = {
|
#let resume-gpa(numerator, denominator) = {
|
||||||
set text(size: 12pt, style: "italic", weight: "light")
|
set text(
|
||||||
|
size: 12pt,
|
||||||
|
style: "italic",
|
||||||
|
weight: "light",
|
||||||
|
)
|
||||||
text[Cumulative GPA: #box[#strong[#numerator] / #denominator]]
|
text[Cumulative GPA: #box[#strong[#numerator] / #denominator]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -316,7 +371,11 @@
|
|||||||
== #category
|
== #category
|
||||||
],
|
],
|
||||||
align(left)[
|
align(left)[
|
||||||
#set text(size: 11pt, style: "normal", weight: "light")
|
#set text(
|
||||||
|
size: 11pt,
|
||||||
|
style: "normal",
|
||||||
|
weight: "light",
|
||||||
|
)
|
||||||
#items.join(", ")
|
#items.join(", ")
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@@ -335,14 +394,14 @@
|
|||||||
/// - accent_color (color): The accent color of the cover letter
|
/// - accent_color (color): The accent color of the cover letter
|
||||||
/// - body (content): The body of the cover letter
|
/// - body (content): The body of the cover letter
|
||||||
#let coverletter(
|
#let coverletter(
|
||||||
author: (:),
|
author: (:),
|
||||||
profile_picture: image,
|
profile_picture: image,
|
||||||
date: datetime.today().display("[month repr:long] [day], [year]"),
|
date: datetime.today().display("[month repr:long] [day], [year]"),
|
||||||
accent_color: default-accent-color,
|
accent_color: default-accent-color,
|
||||||
body
|
body,
|
||||||
) = {
|
) = {
|
||||||
set document(
|
set document(
|
||||||
author: author.firstname + " " + author.lastname,
|
author: author.firstname + " " + author.lastname,
|
||||||
title: "resume",
|
title: "resume",
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -351,14 +410,17 @@
|
|||||||
lang: "en",
|
lang: "en",
|
||||||
size: 11pt,
|
size: 11pt,
|
||||||
fill: color-darkgray,
|
fill: color-darkgray,
|
||||||
fallback: true
|
fallback: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
set page(
|
set page(
|
||||||
paper: "a4",
|
paper: "a4",
|
||||||
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
||||||
footer: [
|
footer: [
|
||||||
#set text(fill: gray, size: 8pt)
|
#set text(
|
||||||
|
fill: gray,
|
||||||
|
size: 8pt,
|
||||||
|
)
|
||||||
#__justify_align_3[
|
#__justify_align_3[
|
||||||
#smallcaps[#date]
|
#smallcaps[#date]
|
||||||
][
|
][
|
||||||
@@ -376,22 +438,28 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
// set paragraph spacing
|
// set paragraph spacing
|
||||||
show par: set block(above: 0.75em, below: 0.75em)
|
show par: set block(
|
||||||
|
above: 0.75em,
|
||||||
|
below: 0.75em,
|
||||||
|
)
|
||||||
set par(justify: true)
|
set par(justify: true)
|
||||||
|
|
||||||
set heading(
|
set heading(
|
||||||
numbering: none,
|
numbering: none,
|
||||||
outlined: false,
|
outlined: false,
|
||||||
)
|
)
|
||||||
|
|
||||||
show heading: it => [
|
show heading: it => [
|
||||||
#set block(above: 1em, below: 1em)
|
#set block(
|
||||||
|
above: 1em,
|
||||||
|
below: 1em,
|
||||||
|
)
|
||||||
#set text(
|
#set text(
|
||||||
size: 16pt,
|
size: 16pt,
|
||||||
weight: "regular"
|
weight: "regular",
|
||||||
)
|
)
|
||||||
|
|
||||||
#align(left)[
|
#align(left)[
|
||||||
#text[#strong[#text(accent_color)[#it.body.text]]]
|
#text[#strong[#text(accent_color)[#it.body.text]]]
|
||||||
#box(width: 1fr, line(length: 100%))
|
#box(width: 1fr, line(length: 100%))
|
||||||
]
|
]
|
||||||
@@ -401,85 +469,102 @@
|
|||||||
align(right)[
|
align(right)[
|
||||||
#pad(bottom: 5pt)[
|
#pad(bottom: 5pt)[
|
||||||
#block[
|
#block[
|
||||||
#set text(size: 32pt, style: "normal", font: ("Roboto"))
|
#set text(
|
||||||
|
size: 32pt,
|
||||||
|
style: "normal",
|
||||||
|
font: ("Roboto"),
|
||||||
|
)
|
||||||
#text(accent_color, weight: "thin")[#author.firstname]
|
#text(accent_color, weight: "thin")[#author.firstname]
|
||||||
#text(weight: "bold")[#author.lastname]
|
#text(weight: "bold")[#author.lastname]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let positions = {
|
let positions = {
|
||||||
set text(
|
set text(
|
||||||
accent_color,
|
accent_color,
|
||||||
size: 9pt,
|
size: 9pt,
|
||||||
weight: "regular"
|
weight: "regular",
|
||||||
)
|
)
|
||||||
align(right)[
|
align(right)[
|
||||||
#smallcaps[
|
#smallcaps[
|
||||||
#author.positions.join(
|
#author.positions.join(
|
||||||
text[#" "#sym.dot.c#" "]
|
text[#" "#sym.dot.c#" "],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let address = {
|
let address = {
|
||||||
set text(
|
set text(
|
||||||
size: 9pt,
|
size: 9pt,
|
||||||
weight: "bold",
|
weight: "bold",
|
||||||
fill: color-gray
|
fill: color-gray,
|
||||||
)
|
)
|
||||||
align(right)[
|
align(right)[
|
||||||
#author.address
|
#author.address
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let contacts = {
|
let contacts = {
|
||||||
set box(height: 9pt)
|
set box(height: 9pt)
|
||||||
|
|
||||||
let separator = [#box(sym.bar.v)]
|
let separator = [#box(sym.bar.v)]
|
||||||
|
|
||||||
align(right)[
|
align(right)[
|
||||||
#set text(size: 8pt, weight: "light", style: "normal")
|
#set text(
|
||||||
|
size: 8pt,
|
||||||
|
weight: "light",
|
||||||
|
style: "normal",
|
||||||
|
)
|
||||||
#block[
|
#block[
|
||||||
#align(horizon)[
|
#align(horizon)[
|
||||||
#stack(dir: ltr, spacing: 0.5em,
|
#stack(
|
||||||
phone-icon,
|
dir: ltr,
|
||||||
box[#text(author.phone)],
|
spacing: 0.5em,
|
||||||
separator,
|
phone-icon,
|
||||||
email-icon,
|
box[#text(author.phone)],
|
||||||
box[#link("mailto:" + author.email)[#author.email]],
|
separator,
|
||||||
separator,
|
email-icon,
|
||||||
github-icon,
|
box[#link("mailto:" + author.email)[#author.email]],
|
||||||
box[#link("https://github.com/" + author.github)[#author.github]],
|
separator,
|
||||||
separator,
|
github-icon,
|
||||||
linkedin-icon,
|
box[#link("https://github.com/" + author.github)[#author.github]],
|
||||||
box[
|
separator,
|
||||||
#link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname]
|
linkedin-icon,
|
||||||
]
|
box[
|
||||||
|
#link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname]
|
||||||
|
],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
let letter-heading = {
|
let letter-heading = {
|
||||||
grid(columns: (1fr, 2fr),
|
grid(
|
||||||
|
columns: (1fr, 2fr),
|
||||||
rows: (100pt),
|
rows: (100pt),
|
||||||
align(left+horizon)[
|
align(left + horizon)[
|
||||||
#block(clip: true, stroke: 0pt, radius: 2cm,
|
#block(
|
||||||
width: 4cm, height: 4cm, profile_picture)
|
clip: true,
|
||||||
|
stroke: 0pt,
|
||||||
|
radius: 2cm,
|
||||||
|
width: 4cm,
|
||||||
|
height: 4cm,
|
||||||
|
profile_picture,
|
||||||
|
)
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
#name
|
#name
|
||||||
#positions
|
#positions
|
||||||
#address
|
#address
|
||||||
#contacts
|
#contacts
|
||||||
]
|
],
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
let letter_conclusion = {
|
let letter_conclusion = {
|
||||||
align(bottom)[
|
align(bottom)[
|
||||||
#pad(bottom: 2em)[
|
#pad(bottom: 2em)[
|
||||||
@@ -489,7 +574,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
// actual content
|
// actual content
|
||||||
letter-heading
|
letter-heading
|
||||||
body
|
body
|
||||||
@@ -500,7 +585,10 @@
|
|||||||
/// Cover letter heading that takes in the information for the hiring company and formats it properly.
|
/// Cover letter heading that takes in the information for the hiring company and formats it properly.
|
||||||
/// - entity_info (content): The information of the hiring entity including the company name, the target (who's attention to), street address, and city
|
/// - entity_info (content): The information of the hiring entity including the company name, the target (who's attention to), street address, and city
|
||||||
/// - date (date): The date the letter was written (defaults to the current date)
|
/// - date (date): The date the letter was written (defaults to the current date)
|
||||||
#let hiring-entity-info(entity_info: (:), date: datetime.today().display("[month repr:long] [day], [year]")) = {
|
#let hiring-entity-info(
|
||||||
|
entity_info: (:),
|
||||||
|
date: datetime.today().display("[month repr:long] [day], [year]"),
|
||||||
|
) = {
|
||||||
set par(leading: 1em)
|
set par(leading: 1em)
|
||||||
pad(top: 1.5em, bottom: 1.5em)[
|
pad(top: 1.5em, bottom: 1.5em)[
|
||||||
#__justify_align[
|
#__justify_align[
|
||||||
@@ -508,7 +596,7 @@
|
|||||||
][
|
][
|
||||||
#text(weight: "light", style: "italic", size: 9pt)[#date]
|
#text(weight: "light", style: "italic", size: 9pt)[#date]
|
||||||
]
|
]
|
||||||
|
|
||||||
#pad(top: 0.65em, bottom: 0.65em)[
|
#pad(top: 0.65em, bottom: 0.65em)[
|
||||||
#text(weight: "regular", fill: color-gray, size: 9pt)[
|
#text(weight: "regular", fill: color-gray, size: 9pt)[
|
||||||
#smallcaps[#entity_info.name] \
|
#smallcaps[#entity_info.name] \
|
||||||
|
|||||||
@@ -1,39 +1,37 @@
|
|||||||
#import "@preview/modern-cv:0.2.0":*
|
#import "@preview/modern-cv:0.2.0": *
|
||||||
|
|
||||||
#show: coverletter.with(
|
#show: coverletter.with(
|
||||||
author: (
|
author: (
|
||||||
firstname: "John",
|
firstname: "John",
|
||||||
lastname: "Smith",
|
lastname: "Smith",
|
||||||
email: "js@gmail.com",
|
email: "js@gmail.com",
|
||||||
phone: "(+1) 111-111-1111",
|
phone: "(+1) 111-111-1111",
|
||||||
github: "DeveloperPaul123",
|
github: "DeveloperPaul123",
|
||||||
linkedin: "John Smith",
|
linkedin: "John Smith",
|
||||||
address: "111 Example St. Apt. 111, Example City, EX 11111",
|
address: "111 Example St. Apt. 111, Example City, EX 11111",
|
||||||
positions: (
|
positions: (
|
||||||
"Software Engineer",
|
"Software Engineer",
|
||||||
"Full Stack Developer"
|
"Full Stack Developer",
|
||||||
)
|
),
|
||||||
),
|
),
|
||||||
profile_picture: image("./profile.png")
|
profile_picture: image("./profile.png"),
|
||||||
)
|
)
|
||||||
|
|
||||||
#hiring-entity-info(
|
#hiring-entity-info(entity_info: (
|
||||||
entity_info: (
|
target: "Company Recruitement Team",
|
||||||
target: "Company Recruitement Team",
|
name: "Google, Inc.",
|
||||||
name: "Google, Inc.",
|
street_address: "1600 AMPHITHEATRE PARKWAY",
|
||||||
street_address: "1600 AMPHITHEATRE PARKWAY",
|
city: "MOUNTAIN VIEW, CA 94043",
|
||||||
city: "MOUNTAIN VIEW, CA 94043"
|
))
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
#letter-heading(
|
#letter-heading(
|
||||||
job_position: "Software Engineer",
|
job_position: "Software Engineer",
|
||||||
addressee: "Sir or Madame"
|
addressee: "Sir or Madame",
|
||||||
)
|
)
|
||||||
|
|
||||||
= About Me
|
= About Me
|
||||||
#coverletter-content[
|
#coverletter-content[
|
||||||
#lorem(80)
|
#lorem(80)
|
||||||
]
|
]
|
||||||
|
|
||||||
= Why Google?
|
= Why Google?
|
||||||
|
|||||||
@@ -1,38 +1,36 @@
|
|||||||
#import "@preview/modern-cv:0.2.0":*
|
#import "@preview/modern-cv:0.2.0": *
|
||||||
|
|
||||||
#show: coverletter.with(
|
#show: coverletter.with(
|
||||||
author: (
|
author: (
|
||||||
firstname: "John",
|
firstname: "John",
|
||||||
lastname: "Smith",
|
lastname: "Smith",
|
||||||
email: "js@gmail.com",
|
email: "js@gmail.com",
|
||||||
phone: "(+1) 111-111-1111",
|
phone: "(+1) 111-111-1111",
|
||||||
github: "DeveloperPaul123",
|
github: "DeveloperPaul123",
|
||||||
linkedin: "John Smith",
|
linkedin: "John Smith",
|
||||||
address: "111 Example St. Apt. 111, Example City, EX 11111",
|
address: "111 Example St. Apt. 111, Example City, EX 11111",
|
||||||
positions: (
|
positions: (
|
||||||
"Software Engineer",
|
"Software Engineer",
|
||||||
"Full Stack Developer"
|
"Full Stack Developer",
|
||||||
)
|
),
|
||||||
),
|
),
|
||||||
profile_picture: none
|
profile_picture: none,
|
||||||
)
|
)
|
||||||
|
|
||||||
#hiring-entity-info(
|
#hiring-entity-info(entity_info: (
|
||||||
entity_info: (
|
target: "Company Recruitement Team",
|
||||||
target: "Company Recruitement Team",
|
name: "Google, Inc.",
|
||||||
name: "Google, Inc.",
|
street_address: "1600 AMPHITHEATRE PARKWAY",
|
||||||
street_address: "1600 AMPHITHEATRE PARKWAY",
|
city: "MOUNTAIN VIEW, CA 94043",
|
||||||
city: "MOUNTAIN VIEW, CA 94043"
|
))
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
#letter-heading(
|
#letter-heading(
|
||||||
job_position: "Software Engineer",
|
job_position: "Software Engineer",
|
||||||
addressee: "Sir or Madame"
|
addressee: "Sir or Madame",
|
||||||
)
|
)
|
||||||
|
|
||||||
#coverletter-content[
|
#coverletter-content[
|
||||||
#lorem(100)
|
#lorem(100)
|
||||||
]
|
]
|
||||||
|
|
||||||
#coverletter-content[
|
#coverletter-content[
|
||||||
|
|||||||
@@ -2,21 +2,21 @@
|
|||||||
|
|
||||||
#show: resume.with(
|
#show: resume.with(
|
||||||
author: (
|
author: (
|
||||||
firstname: "John",
|
firstname: "John",
|
||||||
lastname: "Smith",
|
lastname: "Smith",
|
||||||
email: "js@example.com",
|
email: "js@example.com",
|
||||||
phone: "(+1) 111-111-1111",
|
phone: "(+1) 111-111-1111",
|
||||||
github: "DeveloperPaul123",
|
github: "DeveloperPaul123",
|
||||||
linkedin: "Example",
|
linkedin: "Example",
|
||||||
address: "111 Example St. Example City, EX 11111",
|
address: "111 Example St. Example City, EX 11111",
|
||||||
positions: (
|
positions: (
|
||||||
"Software Engineer",
|
"Software Engineer",
|
||||||
"Software Architect",
|
"Software Architect",
|
||||||
"Developer"
|
"Developer",
|
||||||
)
|
),
|
||||||
),
|
),
|
||||||
date: datetime.today().display(),
|
date: datetime.today().display(),
|
||||||
colored_headers: true
|
colored_headers: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
= Experience
|
= Experience
|
||||||
@@ -25,26 +25,26 @@
|
|||||||
title: "Senior Software Engineer",
|
title: "Senior Software Engineer",
|
||||||
location: "Example City, EX",
|
location: "Example City, EX",
|
||||||
date: "2019 - Present",
|
date: "2019 - Present",
|
||||||
description: "Example, Inc."
|
description: "Example, Inc.",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
- #lorem(20)
|
- #lorem(20)
|
||||||
- #lorem(15)
|
- #lorem(15)
|
||||||
- #lorem(25)
|
- #lorem(25)
|
||||||
]
|
]
|
||||||
|
|
||||||
#resume-entry(
|
#resume-entry(
|
||||||
title: "Software Engineer",
|
title: "Software Engineer",
|
||||||
location: "Example City, EX",
|
location: "Example City, EX",
|
||||||
date: "2011 - 2019",
|
date: "2011 - 2019",
|
||||||
description: "Previous Company, Inc."
|
description: "Previous Company, Inc.",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
- #lorem(20)
|
- #lorem(20)
|
||||||
- #lorem(15)
|
- #lorem(15)
|
||||||
- #lorem(25)
|
- #lorem(25)
|
||||||
]
|
]
|
||||||
|
|
||||||
= Projects
|
= Projects
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
title: "Thread Pool C++ Library",
|
title: "Thread Pool C++ Library",
|
||||||
location: [#github-link("DeveloperPaul123/thread-pool")],
|
location: [#github-link("DeveloperPaul123/thread-pool")],
|
||||||
date: "May 2021 - Present",
|
date: "May 2021 - Present",
|
||||||
description: "Designer/Developer"
|
description: "Designer/Developer",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
title: "Event Bus C++ Library",
|
title: "Event Bus C++ Library",
|
||||||
location: github-link("DeveloperPaul123/eventbus"),
|
location: github-link("DeveloperPaul123/eventbus"),
|
||||||
date: "Sep. 2019 - Present",
|
date: "Sep. 2019 - Present",
|
||||||
description: "Designer/Developer"
|
description: "Designer/Developer",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
@@ -75,9 +75,15 @@
|
|||||||
|
|
||||||
= Skills
|
= Skills
|
||||||
|
|
||||||
#resume-skill-item("Languages", (strong("C++"), strong("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("Spoken Languages", (strong("English"), "Spanish"))
|
||||||
#resume-skill-item("Programs", (strong("Excel"),"Word", "Powerpoint", "Visual Studio"))
|
#resume-skill-item(
|
||||||
|
"Programs",
|
||||||
|
(strong("Excel"), "Word", "Powerpoint", "Visual Studio"),
|
||||||
|
)
|
||||||
|
|
||||||
= Education
|
= Education
|
||||||
|
|
||||||
@@ -85,11 +91,11 @@
|
|||||||
title: "Example University",
|
title: "Example University",
|
||||||
location: "Example City, EX",
|
location: "Example City, EX",
|
||||||
date: "August 2014 - May 2019",
|
date: "August 2014 - May 2019",
|
||||||
description: "B.S. in Computer Science"
|
description: "B.S. in Computer Science",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
- #lorem(20)
|
- #lorem(20)
|
||||||
- #lorem(15)
|
- #lorem(15)
|
||||||
- #lorem(25)
|
- #lorem(25)
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user