42 Commits
0.7.0 ... main

Author SHA1 Message Date
elagil
0cf87be8b6 fix: layout 2025-08-03 12:23:01 +02:00
elagil
de639642db fix: custom format 2025-08-01 23:01:53 +02:00
elagil
f5d9ba995a fix: alignment 2025-08-01 19:18:16 +02:00
elagil
dc0eb7a648 chore: remove coloring 2025-08-01 18:22:57 +02:00
Pedro Costa
13533bc0a7 Make phone number a tel URL (#126) 2025-07-17 10:44:22 -04:00
Laith Rastanawi
24ed5bef9f feat: Add support for custom author entry (#124) 2025-07-02 08:36:15 -04:00
Paul T
6e709397d8 fix(coverletter): spacing between footer and closing (#123) 2025-06-02 08:29:15 -04:00
Paul T
c7a023ff6a fix: resume skill item grid alignment (#121) 2025-05-28 22:50:54 -04:00
Paul T
63289012a1 feat: improve README design and readability (#120) 2025-05-25 22:47:08 -04:00
Paul T
8f7770aaca feat(lib): added icon to address entry (#119)
Co-authored-by: Carlo Rosso <carlorosso@Carlos-MacBook-Air.local>
2025-05-23 08:28:12 -04:00
Paul T
ac7c078341 fix: small misc issues with build (#118)
Auto formatted all typst code and fixed CI issue due to using upload artifacts v4 (actions/upload-artifact@v4/docs/MIGRATION.md)
2025-05-22 14:32:45 -04:00
José Faria
076afdd74e parametrize header-font for coverletters (#114)
Co-authored-by: jncfa <jncfa@proton.me>
2025-04-07 08:14:51 -04:00
Paul T
12352d79bd chore: typst 0.13 updates (#113)
* chore: upgrade linguify

* chore: update tests

* fix: remove deprecated type checks

* chore: improve Justfile docs

* chore: compile with typst 0.12 and 0.13 in CI

* chore: use tytanic for testing

* chore: use tytanic in CI

* fix: don't use ubuntu-latest

* fix: test runner issues

* chore: trying to fix CI issues

* fix: remove unused font in tests

* fix: update references
2025-03-29 08:12:19 -04:00
John
beff2b2b4b Use type literals for comparison (#112) 2025-03-24 10:09:46 -04:00
Paul T
21351f858d Merge pull request #111 from FiiL123/patch-1
fix: use paper-size in docs
2025-03-11 13:26:53 -04:00
Filip Sršeň
21da689b81 use paper-size in docs
change from page-size to paper-size used by the template
2025-03-11 08:55:54 +01:00
Paul T
7c174cc13d Merge pull request #105 from timmmmmmmmm/main
feat: add disable-smallcaps option
2025-03-10 10:38:12 -04:00
Tim van der Heide
148786be89 efactor: rename disable-smallcaps to use-smallcaps and reduce code duplication
- Change flag from disable-smallcaps (negative) to use-smallcaps (to keep 'positive' variable theme)
- Create helper functions (__format_author_name, __apply_smallcaps) to eliminate duplicate code
- Fix parameter passing to footer functions using named parameters
2025-03-04 09:07:34 +01:00
Tim van der Heide
bf57a254b9 feat: add disable-smallcaps option 2025-02-24 20:45:31 +01:00
Paul T
dab5adeb82 Merge pull request #102 from tfmoraes/gitlab_bitbucket 2025-02-18 12:28:37 -05:00
Thiago Franco de Moraes
17b9cc7862 Added gitlab and bitbucket 2025-02-17 17:04:17 -03:00
Paul T
2bd1355851 Merge pull request #101 from DeveloperPaul123/release/0.8.0
0.8.0 release back-merge
2025-02-15 22:12:09 -05:00
Paul Tsouchlos
71ccbf8cb9 chore: update manual generation lib 2025-01-23 08:18:56 -05:00
Paul Tsouchlos
60aa2447c4 chore: update version to 0.8.0 2025-01-20 10:15:50 -05:00
Paul T
74bf3d63c8 Merge pull request #96 from DeveloperPaul123/fix/missing-translation 2025-01-20 10:12:36 -05:00
Paul Tsouchlos
461c954df9 feat: make "job application for" text translatable
Fixes #92
2025-01-20 10:11:31 -05:00
Paul T
7d9927bc19 Merge pull request #95 from DeveloperPaul123/feature/set-page-paper-size 2025-01-20 09:56:09 -05:00
Paul Tsouchlos
7a99a1bd54 feat: add ability to set page size
Fixes #93
2025-01-20 09:55:03 -05:00
Paul T
24fbc19d51 Merge pull request #94 from ThomasFeher/fix_german_salutation 2025-01-20 07:50:51 -05:00
Thomas Feher
a7165fa47e Fix German salutation 2025-01-19 17:40:43 +01:00
Paul T
abe80fa24d Merge pull request #90 from chxp/newa
fix: allow font awesome icon in heading
2025-01-13 23:08:12 -05:00
chenxp
cee8db8535 fix: allow font awesome icon in heading 2025-01-11 13:54:38 +08:00
Paul T
7eb7122e68 Merge pull request #87 from clement-troesch/add-profile-picture-in-resume 2025-01-01 09:57:08 -05:00
Paul T
a98b5e9fd8 Merge pull request #88 from matcap/main
Use provided font for header name
2024-12-12 17:28:15 -05:00
matcap
815a0efb8f add header-font argument 2024-12-12 20:04:20 +01:00
matcap
1c5a10df91 use provided font for header name 2024-12-11 23:54:49 +01:00
Clément Troesch
8c404d93cf Add the ability to set a profile picture in resume 2024-12-08 21:48:20 +01:00
Christoph Groß
423a64618f Fix bad alignment of the contacts 2024-11-27 11:11:48 -05:00
Paul T
883bc73af8 Merge pull request #78 from DeveloperPaul123/fix/minor-tweaks
chore: minor tweaks and fixes
2024-11-01 10:25:08 -06:00
Paul Tsouchlos
83a0c0888b fix: remove homepage entry from toml
Per the package check for typst universe, don't use homepage if there is no dedicated website.
2024-11-01 12:20:17 -04:00
Paul Tsouchlos
493439bd47 chore: ignore Justfile for typstignore 2024-11-01 12:19:47 -04:00
Paul T
0620285a78 Merge pull request #75 from DeveloperPaul123/release/0.7.0 2024-11-01 10:16:16 -06:00
27 changed files with 640 additions and 543 deletions

View File

@@ -14,7 +14,7 @@ env:
jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

View File

@@ -1,22 +1,22 @@
name: Tests
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
tests:
strategy:
matrix:
# add any other Typst versions that your package should support
typst-version: ["0.12"]
typst-version: ["0.12", "0.13"]
# the docs don't need to build with all versions supported by the package;
# the latest one is enough
include:
- typst-version: "0.12"
- typst-version: "0.13"
doc: 1
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -37,12 +37,10 @@ jobs:
with:
crate: just
- name: Install typst-test from github
uses: baptiste0928/cargo-install@v3
- name: Install tytanic
uses: taiki-e/cache-cargo-install-action@v2
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
tag: ci-semi-stable
tool: tytanic@0.2.2
- name: Setup typst
uses: typst-community/setup-typst@v3
@@ -51,22 +49,25 @@ jobs:
- name: Install fonts
run: |
sudo apt update
sudo apt-get install fonts-roboto
./scripts/install-fontawesome
./scripts/install-source-sans
sudo apt update
sudo apt-get install fonts-roboto
./scripts/install-fontawesome
./scripts/install-source-sans
typst fonts
- name: Install locally
run: just install
- name: Uninstall previous local install
run: just uninstall
- name: Run test suite
run: just test
run: |
just install
tt run --font-path ~/.fonts --no-fail-fast
- name: Archive diffs
uses: actions/upload-artifact@v4
if: always()
with:
name: diffs
name: diffs-typst-${{ matrix.typst-version }}
path: |
tests/**/diff/*.png
tests/**/out/*.png

View File

@@ -6,3 +6,4 @@ template/*.pdf
.issuetracker
tests/*
docs/*
Justfile

View File

@@ -7,39 +7,51 @@ default:
@just --list --unsorted
# generate manual
[doc('Generate package documentation')]
[group('package')]
doc:
typst compile docs/manual.typ docs/manual.pdf
# run test suite
test *args:
typst-test run {{ args }}
[doc('Run test suite. Requires tytanic.')]
[group('dev')]
test *args: install
tt run {{ args }} --use-system-fonts --no-fail-fast
# update test cases
[doc('Update test cases. Requires tytanic.')]
[group('dev')]
update *args:
typst-test update {{ args }}
tt update {{ args }} --use-system-fonts
# package the library into the specified destination folder
[doc('Package the library into the specified destination folder')]
[group('package')]
package target:
./scripts/package "{{target}}"
# install the library with the "@local" prefix
[doc('Install the library with the "@local" prefix')]
[group('dev')]
install: (package "@local")
# install the library with the "@preview" prefix (for pre-release testing)
[doc('Install the library with the "@preview" prefix (for pre-release testing)')]
[group('dev')]
install-preview: (package "@preview")
[private]
remove target:
./scripts/uninstall "{{target}}"
# uninstalls the library from the "@local" prefix
[doc('Uninstall the library from the "@local" prefix')]
[group('dev')]
uninstall: (remove "@local")
# uninstalls the library from the "@preview" prefix (for pre-release testing)
[doc('Uninstall the library from the "@preview" prefix (for pre-release testing)')]
[group('dev')]
uninstall-preview: (remove "@preview")
[doc('Format the source code. Requires typstyle.')]
[group('dev')]
format:
./scripts/format
# run ci suite
[doc('Run ci suite')]
[group('dev')]
ci: test doc

View File

@@ -1,4 +1,8 @@
# Modern CV
<h1 align="center">
<img src="assets/images/header.png" alt="Header">
<br><br>
Modern CV
</h1>
[![say thanks](https://img.shields.io/badge/Say%20Thanks-👍-1EAEDB.svg)](https://github.com/DeveloperPaul123/modern-cv/stargazers)
[![Discord](https://img.shields.io/discord/652515194572111872?logo=Discord)](https://discord.gg/CX2ybByRnt)
@@ -7,6 +11,20 @@
A port of the [Awesome-CV](https://github.com/posquit0/Awesome-CV) Latex resume template in [typst](https://github.com/typst/typst).
## Features
- Modern and clean design
- Easy to use and customize (colors, profile picture, fonts, etc.)
- Support for multiple sections (education, experience, skills, etc.)
- Support for multiple languages
## Preview
| Resumes | Cover letters |
| --- | --- |
| ![Resume](assets/images/resume.png) | ![Cover Letter](assets/images/coverletter.png) |
| ![Resume 2](assets/images/resume2.png) | ![Cover Letter 2](assets/images/coverletter2.png)|
## Requirements
### Tools
@@ -38,7 +56,7 @@ See `typst fonts --help` for more information on configuring fonts for `typst` t
Below is a basic example for a simple resume:
```typst
#import "@preview/modern-cv:0.7.0": *
#import "@preview/modern-cv:0.8.0": *
#show: resume.with(
author: (
@@ -54,7 +72,9 @@ Below is a basic example for a simple resume:
"Software Architect"
)
),
date: datetime.today().display()
profile-picture: none,
date: datetime.today().display(),
paper-size: "us-letter"
)
= Education
@@ -83,13 +103,6 @@ For more information on how to use and compile `typst` files, see the [official
Documentation for this template is published with each commit. See the attached PDF on each Github Action run [here](https://github.com/DeveloperPaul123/modern-cv/actions).
### Output Examples
| Resumes | Cover letters |
| --- | --- |
| ![Resume](assets/images/resume.png) | ![Cover Letter](assets/images/coverletter.png) |
| ![Resume 2](assets/images/resume2.png) | ![Cover Letter 2](assets/images/coverletter2.png)|
## Building and Testing Locally
To build and test the project locally, you will need to install the `typst` CLI. You can find instructions on how to do this [here](https://github.com/typst/typst#installation).
@@ -97,7 +110,7 @@ To build and test the project locally, you will need to install the `typst` CLI.
With typst installed you can make changes to `lib.typ` and then `just install` or `just install-preview` to install the package locally. Change the import statements in the template files to point to the local package (if needed):
```typst
#import "@local/modern-cv:0.6.0": *
#import "@local/modern-cv:0.8.0": *
````
If you use `just install-preview` you will only need to update the version number to match `typst.toml`.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 207 KiB

BIN
assets/images/header.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

BIN
assets/images/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

View File

@@ -1,9 +1,7 @@
#import "../lib.typ"
#import "@preview/tidy:0.3.0"
#import "@preview/tidy:0.4.1"
#let docs = tidy.parse-module(
read("../lib.typ"),
name: "Modern CV",
scope: (resume: lib),
)
#tidy.show-module(docs)
#let docs = tidy.parse-module(read("../lib.typ"), name: "Modern CV", scope: (
resume: lib,
))
#tidy.show-module(docs, style: tidy.styles.minimal)

View File

@@ -8,6 +8,7 @@ cover-letter = "Cover Letter"
attached = "Attached"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincerely"
letter-position-pretext = "Job Application for"
[lang.de]
resume = "Lebenslauf"
@@ -15,7 +16,8 @@ dear = "Sehr geehrte"
cover-letter = "Anschreiben"
attached = "Angehängt"
curriculum-vitae = "Lebenslauf"
sincerely = "Aufrichtig"
sincerely = "Mit freundlichen Grüßen"
letter-position-pretext = "Bewerbung für"
[lang.gr]
resume = "Βιογραφικό"
@@ -24,6 +26,7 @@ cover-letter = "Συνοδευτική Επιστολή"
attached = "Συνημμένο"
curriculum-vitae = "Βιογραφικό"
sincerely = "Με εκτίμηση"
letter-position-pretext = "Αίτηση εργασίας για"
[lang.pt]
resume = "Currículo"
@@ -32,6 +35,7 @@ cover-letter = "Carta de Apresentação"
attached = "Em anexo"
curriculum-vitae = "Currículo"
sincerely = "Atenciosamente"
letter-position-pretext = "Candidatura a emprego para"
[lang.sp]
resume = "Currículum"
@@ -40,6 +44,7 @@ cover-letter = "Carta de Presentación"
attached = "Adjunto"
curriculum-vitae = "Currículum"
sincerely = "Sinceramente"
letter-position-pretext = "Solicitud de empleo para"
[lang.fr]
resume = "Curriculum Vitae"
@@ -48,6 +53,7 @@ cover-letter = "Lettre de motivation"
attached = "Ci-joint"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincèrement"
letter-position-pretext = "Demande d'emploi pour"
[lang.ru]
resume = "Резюме"
@@ -56,6 +62,7 @@ cover-letter = "Сопроводительное письмо"
attached = "Прилагается"
curriculum-vitae = "Биографическая справка"
sincerely = "Искренне"
letter-position-pretext = "Заявление о приеме на работу"
[lang.zh]
resume = "简历"
@@ -64,6 +71,7 @@ cover-letter = "求职信"
attached = "附件"
curriculum-vitae = "简历"
sincerely = "真诚的"
letter-position-pretext = "職位申請"
[lang.it]
resume = "Curriculum"
@@ -72,3 +80,4 @@ cover-letter = "Lettera di presentazione"
attached = "Allegato"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Cordiali saluti"
letter-position-pretext = "Domanda di lavoro per"

669
lib.typ
View File

@@ -1,37 +1,40 @@
#import "@preview/fontawesome:0.5.0": *
#import "@preview/linguify:0.4.1": *
// const color
#let color-darknight = rgb("#131A28")
#let color-darkgray = rgb("#333333")
#let color-gray = rgb("#5d5d5d")
#let default-accent-color = rgb("#262F99")
#let default-location-color = rgb("#333333")
#import "@preview/linguify:0.4.2": *
// const icons
#let linkedin-icon = box(
fa-icon("linkedin", fill: color-darknight),
)
#let github-icon = box(
fa-icon("github", fill: color-darknight),
)
#let twitter-icon = box(
fa-icon("twitter", fill: color-darknight),
)
#let google-scholar-icon = box(
fa-icon("google-scholar", fill: color-darknight),
)
#let orcid-icon = box(
fa-icon("orcid", fill: color-darknight),
)
#let phone-icon = box(fa-icon("square-phone", fill: color-darknight))
#let email-icon = box(fa-icon("envelope", fill: color-darknight))
#let birth-icon = box(fa-icon("cake", fill: color-darknight))
#let homepage-icon = box(fa-icon("home", fill: color-darknight))
#let website-icon = box(fa-icon("globe", fill: color-darknight))
#let linkedin-icon = box(fa-icon("linkedin"))
#let github-icon = box(fa-icon("github"))
#let gitlab-icon = box(fa-icon("gitlab"))
#let bitbucket-icon = box(fa-icon("bitbucket"))
#let twitter-icon = box(fa-icon("twitter"))
#let google-scholar-icon = box(fa-icon("google-scholar"))
#let orcid-icon = box(fa-icon("orcid"))
#let phone-icon = box(fa-icon("square-phone"))
#let email-icon = box(fa-icon("envelope"))
#let birth-icon = box(fa-icon("cake"))
#let homepage-icon = box(fa-icon("home"))
#let website-icon = box(fa-icon("globe"))
#let address-icon = box(fa-icon("location-crosshairs"))
/// Helpers
// Common helper functions
#let __format_author_name(author, language) = {
if language == "zh" or language == "ja" {
str(author.firstname) + str(author.lastname)
} else {
str(author.firstname) + " " + str(author.lastname)
}
}
#let __apply_smallcaps(content, use-smallcaps) = {
if use-smallcaps {
smallcaps(content)
} else {
content
}
}
// layout utility
#let __justify_align(left_body, right_body) = {
block[
@@ -64,23 +67,24 @@
]
}
#let __coverletter_footer(author, language, date, lang_data) = {
set text(
fill: gray,
size: 8pt,
)
#let __coverletter_footer(
author,
language,
date,
lang_data,
use-smallcaps: true,
) = {
set text(size: 8pt)
__justify_align_3[
#smallcaps[#date]
#__apply_smallcaps(date, use-smallcaps)
][
#smallcaps[
#if language == "zh" or language == "ja" [
#author.firstname#author.lastname
] else [
#author.firstname#sym.space#author.lastname
]
#sym.dot.c
#linguify("cover-letter", from: lang_data)
]
#__apply_smallcaps(
{
let name = __format_author_name(author, language)
name + " · " + linguify("cover-letter", from: lang_data)
},
use-smallcaps,
)
][
#context {
counter(page).display()
@@ -88,23 +92,18 @@
]
}
#let __resume_footer(author, language, lang_data, date) = {
set text(
fill: gray,
size: 8pt,
)
#let __resume_footer(author, language, lang_data, date, use-smallcaps: true) = {
set text(size: 8pt)
__justify_align_3[
#smallcaps[#date]
#__apply_smallcaps(date, use-smallcaps)
][
#smallcaps[
#if language == "zh" or language == "ja" [
#author.firstname#author.lastname
] else [
#author.firstname#sym.space#author.lastname
]
#sym.dot.c
#linguify("resume", from: lang_data)
]
#__apply_smallcaps(
{
let name = __format_author_name(author, language)
name + " · " + linguify("resume", from: lang_data)
},
use-smallcaps,
)
][
#context {
counter(page).display()
@@ -121,7 +120,7 @@
set box(height: 11pt)
align(right + horizon)[
#fa-icon("github", fill: color-darkgray) #link(
#fa-icon("github") #link(
"https://github.com/" + github-path,
github-path,
)
@@ -131,20 +130,14 @@
/// Right section for the justified headers
/// - body (content): The body of the right header
#let secondary-right-header(body) = {
set text(
size: 11pt,
weight: "medium",
)
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",
size: 9pt,
)
set text(weight: "light", size: 9pt)
body
}
@@ -152,10 +145,7 @@
/// - primary (content): The primary section of the header
/// - secondary (content): The secondary section of the header
#let justified-header(primary, secondary) = {
set block(
above: 0.7em,
below: 0.7em,
)
set block(above: 0.7em, below: 0.7em)
pad[
#__justify_align[
== #primary
@@ -184,26 +174,27 @@
/// The original template: https://github.com/posquit0/Awesome-CV
///
/// - author (content): Structure that takes in all the author's information
/// - profile-picture (image): The profile picture of the author. This will be cropped to a circle and should be square in nature.
/// - 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
/// - language (string): The language of the resume, defaults to "en". See lang.toml for available languages
/// - use-smallcaps (boolean): Whether to use small caps formatting throughout the template
/// - body (content): The body of the resume
/// -> none
#let resume(
author: (:),
profile-picture: image,
date: datetime.today().display("[month repr:long] [day], [year]"),
accent-color: default-accent-color,
colored-headers: true,
show-footer: true,
language: "en",
font: ("Source Sans Pro", "Source Sans 3"),
header-font: ("Source Sans Pro", "Source Sans 3"),
paper-size: "a4",
use-smallcaps: true,
show-address-icon: false,
body,
) = {
if type(accent-color) == "string" {
accent-color = rgb(accent-color)
}
let lang_data = toml("lang.toml")
show: body => context {
@@ -218,84 +209,55 @@
font: font,
lang: language,
size: 11pt,
fill: color-darkgray,
fallback: true,
)
set page(
paper: "a4",
paper: paper-size,
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
footer: if show-footer [#__resume_footer(
author,
language,
lang_data,
date,
use-smallcaps: use-smallcaps,
)] else [],
footer-descent: 0pt,
)
// set paragraph spacing
set par(
spacing: 0.75em,
justify: true,
)
set par(spacing: 0.75em, justify: true)
set heading(
numbering: none,
outlined: false,
)
set heading(numbering: none, outlined: false)
show heading.where(level: 1): it => [
#set text(
size: 16pt,
weight: "regular",
)
#set text(size: 16pt, weight: "regular")
#set align(left)
#set block(above: 1em)
#let color = if colored-headers {
accent-color
} else {
color-darkgray
}
#text[#strong[#text(color)[#it.body.text]]]
#text[#strong[#text()[#it.body]]]
#box(width: 1fr, line(length: 100%))
]
show heading.where(level: 2): it => {
set text(
color-darkgray,
size: 12pt,
style: "normal",
weight: "bold",
)
set text(size: 12pt, style: "normal", weight: "bold")
it.body
}
show heading.where(level: 3): it => {
set text(
size: 10pt,
weight: "regular",
)
smallcaps[#it.body]
set text(size: 10pt, weight: "regular")
__apply_smallcaps(it.body, use-smallcaps)
}
let name = {
align(center)[
align(left)[
#pad(bottom: 5pt)[
#block[
#set text(
size: 32pt,
style: "normal",
font: ("Roboto"),
)
#set text(size: 32pt, style: "normal", font: header-font)
#if language == "zh" or language == "ja" [
#text(
accent-color,
weight: "thin",
)[#author.firstname]#text(weight: "bold")[#author.lastname]
#text(weight: "thin")[#author.firstname]#text(weight: "thin")[#author.lastname]
] else [
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
#text(weight: "thin")[#author.firstname]
#text(weight: "thin")[#author.lastname]
]
]
]
@@ -303,28 +265,25 @@
}
let positions = {
set text(
accent-color,
size: 9pt,
weight: "regular",
)
align(center)[
#smallcaps[
#author.positions.join(
text[#" "#sym.dot.c#" "],
)
]
set text(size: 9pt, weight: "regular")
align(left)[
#__apply_smallcaps(
author.positions.join(text[#" "#sym.dot.c#" "]),
use-smallcaps,
)
]
}
let address = {
set text(
size: 9pt,
weight: "regular",
)
align(center)[
set text(size: 9pt, weight: "regular")
align(left)[
#if ("address" in author) [
#author.address
#if show-address-icon [
#address-icon
#box[#text(author.address)]
] else [
#text(author.address)
]
]
]
}
@@ -334,12 +293,8 @@
let separator = box(width: 5pt)
align(center)[
#set text(
size: 9pt,
weight: "regular",
style: "normal",
)
align(left)[
#set text(size: 9pt, weight: "regular", style: "normal")
#block[
#align(horizon)[
#if ("birth" in author) [
@@ -349,7 +304,7 @@
]
#if ("phone" in author) [
#phone-icon
#box[#text(author.phone)]
#box[#link("tel:" + author.phone)[#author.phone]]
#separator
]
#if ("email" in author) [
@@ -366,6 +321,16 @@
#github-icon
#box[#link("https://github.com/" + author.github)[#author.github]]
]
#if ("gitlab" in author) [
#separator
#gitlab-icon
#box[#link("https://gitlab.com/" + author.gitlab)[#author.gitlab]]
]
#if ("bitbucket" in author) [
#separator
#bitbucket-icon
#box[#link("https://bitbucket.org/" + author.bitbucket)[#author.bitbucket]]
]
#if ("linkedin" in author) [
#separator
#linkedin-icon
@@ -394,15 +359,57 @@
#website-icon
#box[#link(author.website)[#author.website]]
]
#if ("custom" in author and type(author.custom) == array) [
#for item in author.custom [
#if ("text" in item) [
#separator
#if ("icon" in item) [
#box(fa-icon(item.icon))
]
#box[
#if ("link" in item) [
#link(item.link)[#item.text]
] else [
#item.text
]
]
]
]
]
]
]
]
}
name
positions
address
contacts
if profile-picture != none {
grid(
columns: (100% - 4cm, 4cm),
rows: 100pt,
gutter: 10pt,
[
#name
#positions
#address
#contacts
],
align(left + horizon)[
#block(
clip: true,
stroke: 0pt,
radius: 2cm,
width: 4cm,
height: 4cm,
profile-picture,
)
],
)
} else {
name
positions
address
contacts
}
body
}
@@ -410,16 +417,8 @@
/// 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",
fill: color-darknight,
)
set block(
above: 0.75em,
below: 1.25em,
)
set text(size: 10pt, weight: "light")
set block(above: 0.75em, below: 1.25em)
set par(leading: 0.65em)
block(above: 0.5em)[
#body
@@ -432,19 +431,15 @@
/// - 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
/// - title-link (string): The link to use for the title (can be none)
/// - accent-color (color): Override the accent color of the resume-entry
/// - location-color (color): Override the default color of the "location" for a resume entry.
#let resume-entry(
title: none,
location: "",
date: "",
description: "",
title-link: none,
accent-color: default-accent-color,
location-color: default-location-color,
) = {
let title-content
if type(title-link) == "string" {
if type(title-link) == str {
title-content = link(title-link)[#title]
} else {
title-content = title
@@ -463,11 +458,7 @@
/// *Example:*
/// #example(`resume.resume-gpa("3.5", "4.0")`)
#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]]
}
@@ -480,6 +471,25 @@
justified-header(certification, date)
}
/// Styling for resume skill categories.
/// - category (string): The category
#let resume-skill-category(category) = {
align(left)[
#set text(hyphenate: false)
== #category
]
}
/// Styling for resume skill values/items
/// - values (array): The skills to display
#let resume-skill-values(values) = {
align(left)[
#set text(size: 11pt, style: "normal", weight: "light")
// This is a list so join by comma (,)
#values.join(", ")
]
}
/// Show a list of skills in the resume under a given category.
/// - category (string): The category of the skills
/// - items (list): The list of skills. This can be a list of strings but you can also emphasize certain skills by using the `strong` function.
@@ -489,20 +499,30 @@
pad[
#grid(
columns: (20fr, 80fr),
columns: (3fr, 10fr),
gutter: 15pt,
resume-skill-category(category), resume-skill-values(items),
)
]
}
/// Show a grid of skill lists with each row corresponding to a category of skills, followed by the skills themselves. The dictionary given to this function should have the skill categories as the dictionary keys and the values should be an array of values for the corresponding key.
/// - categories_with_values (dictionary): key value pairs of skill categories and it's corresponding values (skills)
#let resume-skill-grid(categories_with_values: (:)) = {
set block(below: 1.25em)
set pad(top: 2pt)
pad[
#grid(
columns: (auto, auto),
gutter: 10pt,
align(right)[
#set text(hyphenate: false)
== #category
],
align(left)[
#set text(
size: 11pt,
style: "normal",
weight: "light",
)
#items.join(", ")
],
..categories_with_values
.pairs()
.map(((key, value)) => (
resume-skill-category(key),
resume-skill-values(value),
))
.flatten()
)
]
}
@@ -513,39 +533,40 @@
#let default-closing(lang_data) = {
align(bottom)[
#text(weight: "light", style: "italic")[ #linguify(
"attached",
#text(weight: "light", style: "italic")[
#linguify("attached", from: lang_data)#sym.colon #linguify(
"curriculum-vitae",
from: lang_data,
)#sym.colon #linguify("curriculum-vitae", from: lang_data)]
)]
]
}
/// Cover letter template that is inspired by the Awesome CV Latex template by posquit0. This template can loosely be considered a port of the original Latex template.
/// This coverletter template is designed to be used with the resume template.
/// - author (content): Structure that takes in all the author's information. The following fields are required: firstname, lastname, positions. The following fields are used if available: email, phone, github, linkedin, orcid, address, website.
/// - author (content): Structure that takes in all the author's information. The following fields are required: firstname, lastname, positions. The following fields are used if available: email, phone, github, linkedin, orcid, address, website, custom. The `custom` field is an array of additional entries with the following fields: text (string, required), icon (string, optional Font Awesome icon name), link (string, optional).
/// - profile-picture (image): The profile picture of the author. This will be cropped to a circle and should be square in nature.
/// - date (datetime): The date the cover letter was created. This will default to the current date.
/// - accent-color (color): The accent color of the cover letter
/// - language (string): The language of the cover letter, defaults to "en". See lang.toml for available languages
/// - font (array): The font families of the cover letter
/// - header-font (array): The font families of the cover letter header
/// - show-footer (boolean): Whether to show the footer or not
/// - closing (content): The closing of the cover letter. This defaults to "Attached Curriculum Vitae". You can set this to `none` to show the default closing or remove it completely.
/// - use-smallcaps (boolean): Whether to use small caps formatting throughout the template
/// - body (content): The body of the cover letter
#let coverletter(
author: (:),
profile-picture: image,
date: datetime.today().display("[month repr:long] [day], [year]"),
accent-color: default-accent-color,
language: "en",
font: ("Source Sans Pro", "Source Sans 3"),
header-font: ("Source Sans Pro", "Source Sans 3"),
show-footer: true,
closing: none,
paper-size: "a4",
use-smallcaps: true,
show-address-icon: false,
body,
) = {
if type(accent-color) == "string" {
accent-color = rgb(accent-color)
}
// language data
let lang_data = toml("lang.toml")
@@ -565,45 +586,33 @@
font: font,
lang: language,
size: 11pt,
fill: color-darkgray,
fallback: true,
)
set page(
paper: "a4",
paper: paper-size,
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
footer: if show-footer [#__coverletter_footer(
author,
language,
date,
lang_data,
use-smallcaps: use-smallcaps,
)] else [],
footer-descent: 0pt,
footer-descent: 2mm,
)
// set paragraph spacing
set par(
spacing: 0.75em,
justify: true,
)
set par(spacing: 0.75em, justify: true)
set heading(
numbering: none,
outlined: false,
)
set heading(numbering: none, outlined: false)
show heading: it => [
#set block(
above: 1em,
below: 1em,
)
#set text(
size: 16pt,
weight: "regular",
)
#set block(above: 1em, below: 1em)
#set text(size: 16pt, weight: "regular")
#align(left)[
#text[#strong[#text(accent-color)[#it.body.text]]]
#text[#strong[#text()[#it.body]]]
#box(width: 1fr, line(length: 100%))
]
]
@@ -612,19 +621,12 @@
align(right)[
#pad(bottom: 5pt)[
#block[
#set text(
size: 32pt,
style: "normal",
font: ("Roboto"),
)
#set text(size: 32pt, style: "normal", font: header-font)
#if language == "zh" or language == "ja" [
#text(
accent-color,
weight: "thin",
)[#author.firstname]#text(weight: "bold")[#author.lastname]
#text(weight: "thin")[#author.firstname]#text(weight: "thin")[#author.lastname]
] else [
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
#text(weight: "thin")[#author.firstname]
#text(weight: "thin")[#author.lastname]
]
]
@@ -633,29 +635,25 @@
}
let positions = {
set text(
accent-color,
size: 9pt,
weight: "regular",
)
set text(size: 9pt, weight: "regular")
align(right)[
#smallcaps[
#author.positions.join(
text[#" "#sym.dot.c#" "],
)
]
#__apply_smallcaps(
author.positions.join(text[#" "#sym.dot.c#" "]),
use-smallcaps,
)
]
}
let address = {
set text(
size: 9pt,
weight: "bold",
fill: color-gray,
)
set text(size: 9pt, weight: "regular")
align(right)[
#if ("address" in author) [
#author.address
#if show-address-icon [
#address-icon
#box[#text(author.address)]
] else [
#text(author.address)
]
]
]
}
@@ -663,51 +661,91 @@
let contacts = {
set box(height: 9pt)
let separator = [#box(sym.bar.v)]
let separator = box(width: 5pt)
align(right)[
#set text(
size: 8pt,
weight: "light",
style: "normal",
)
#set text(size: 9pt, weight: "regular", style: "normal")
#block[
#align(horizon)[
#stack(
dir: ltr,
spacing: 0.5em,
if ("phone" in author) [
#phone-icon
#box[#text(author.phone)]
#separator
],
if ("email" in author) [
#email-icon
#box[#link("mailto:" + author.email)[#author.email]]
],
if ("github" in author) [
#separator
#github-icon
#box[#link("https://github.com/" + author.github)[#author.github]]
],
if ("linkedin" in author) [
#separator
#linkedin-icon
#box[
#link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname]
#if ("birth" in author) [
#birth-icon
#box[#text(author.birth)]
#separator
]
#if ("phone" in author) [
#phone-icon
#box[#link("tel:" + author.phone)[#author.phone]]
#separator
]
#if ("email" in author) [
#email-icon
#box[#link("mailto:" + author.email)[#author.email]]
]
#if ("homepage" in author) [
#separator
#homepage-icon
#box[#link(author.homepage)[#author.homepage]]
]
#if ("github" in author) [
#separator
#github-icon
#box[#link("https://github.com/" + author.github)[#author.github]]
]
#if ("gitlab" in author) [
#separator
#gitlab-icon
#box[#link("https://gitlab.com/" + author.gitlab)[#author.gitlab]]
]
#if ("bitbucket" in author) [
#separator
#bitbucket-icon
#box[#link("https://bitbucket.org/" + author.bitbucket)[#author.bitbucket]]
]
#if ("linkedin" in author) [
#separator
#linkedin-icon
#box[
#link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname]
]
]
#if ("twitter" in author) [
#separator
#twitter-icon
#box[#link("https://twitter.com/" + author.twitter)[\@#author.twitter]]
]
#if ("scholar" in author) [
#let fullname = str(author.firstname + " " + author.lastname)
#separator
#google-scholar-icon
#box[#link("https://scholar.google.com/citations?user=" + author.scholar)[#fullname]]
]
#if ("orcid" in author) [
#separator
#orcid-icon
#box[#link("https://orcid.org/" + author.orcid)[#author.orcid]]
]
#if ("website" in author) [
#separator
#website-icon
#box[#link(author.website)[#author.website]]
]
#if ("custom" in author and type(author.custom) == array) [
#for item in author.custom [
#if ("text" in item) [
#separator
#if ("icon" in item) [
#box(fa-icon(item.icon))
]
#box[
#if ("link" in item) [
#link(item.link)[#item.text]
] else [
#item.text
]
]
]
],
if ("orcid" in author) [
#separator
#orcid-icon
#box[#link("https://orcid.org/" + author.orcid)[#author.orcid]]
],
if ("website" in author) [
#separator
#website-icon
#box[#link(author.website)[#author.website]]
],
)
]
]
]
]
]
@@ -715,15 +753,15 @@
let letter-heading = {
grid(
columns: (1fr, 2fr),
rows: (100pt),
columns: (4cm, 100% - 4cm),
rows: 100pt,
align(left + horizon)[
#block(
clip: true,
stroke: 0pt,
radius: 2cm,
width: 4cm,
height: 4cm,
height: auto,
profile-picture,
)
],
@@ -739,15 +777,40 @@
let signature = {
align(bottom)[
#pad(bottom: 2em)[
#text(weight: "light")[#linguify(
"sincerely",
from: lang_data,
)#sym.comma] \
#text(weight: "light")[#linguify("sincerely", from: lang_data)#if (
language != "de"
) [#sym.comma]] \
#text(weight: "bold")[#author.firstname #author.lastname] \ \
]
]
}
/// 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
/// - 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]"),
use-smallcaps: true,
) = {
set par(leading: 1em)
pad(top: 1.5em, bottom: 1.5em)[
#__justify_align[
#text(weight: "bold", size: 12pt)[#entity-info.target]
][
#text(weight: "light", style: "italic", size: 9pt)[#date]
]
#pad(top: 0.65em, bottom: 0.65em)[
#text(weight: "regular", size: 9pt)[
#__apply_smallcaps(entity-info.name, use-smallcaps) \
#entity-info.street-address \
#entity-info.city \
]
]
]
}
// actual content
letter-heading
body
@@ -756,31 +819,6 @@
closing
}
/// 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
/// - 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]"),
) = {
set par(leading: 1em)
pad(top: 1.5em, bottom: 1.5em)[
#__justify_align[
#text(weight: "bold", size: 12pt)[#entity-info.target]
][
#text(weight: "light", style: "italic", size: 9pt)[#date]
]
#pad(top: 0.65em, bottom: 0.65em)[
#text(weight: "regular", fill: color-gray, size: 9pt)[
#smallcaps[#entity-info.name] \
#entity-info.street-address \
#entity-info.city \
]
]
]
}
/// Letter heading for a given job position and addressee.
/// - job-position (string): The job position you are applying for
/// - addressee (string): The person you are addressing the letter to
@@ -789,11 +827,14 @@
let lang_data = toml("lang.toml")
// TODO: Make this adaptable to content
underline(evade: false, stroke: 0.5pt, offset: 0.3em)[
#text(weight: "bold", size: 12pt)[Job Application for #job-position]
[
#text(weight: "bold", size: 12pt)[#linguify(
"letter-position-pretext",
from: lang_data,
) "#job-position"]
]
pad(top: 1em, bottom: 1em)[
#text(weight: "light", fill: color-gray)[
pad(top: 2em)[
#text(weight: "light")[
#if dear == "" [
#linguify("dear", from: lang_data)
] else [

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env bash
set -eu
find . -iname "*.typ" | xargs typstyle -i

View File

@@ -8,4 +8,14 @@ mkdir -p ~/.fonts
find ~/source-sans-fonts -type f -name "*.otf" -exec cp {} ~/.fonts \;
rm ~/source-sans.zip
rm -rf ~/source-sans-fonts
wget -O ~/source-sans-pro.zip https://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it.zip
mkdir -p ~/source-sans-pro-fonts
unzip ~/source-sans-pro.zip -d ~/source-sans-pro-fonts
mkdir -p ~/.fonts
find ~/source-sans-pro-fonts -type f -name "*.otf" -exec cp {} ~/.fonts \;
# clean up
rm ~/source-sans-pro.zip
rm -rf ~/source-sans-pro-fonts
fc-cache -f -v

View File

@@ -27,40 +27,40 @@ readarray -t ignores < <(grep -v '^#' .typstignore | grep '[^[:blank:]]')
# recursively print all files that are not excluded via .typstignore
function enumerate {
local root="$1"
if [[ -f "$root" ]]; then
echo "$root"
else
local files
readarray -t files < <(find "$root" \
local root="$1"
if [[ -f "$root" ]]; then
echo "$root"
else
local files
readarray -t files < <(find "$root" \
-mindepth 1 -maxdepth 1 \
-not -name .git \
-not -name .typstignore)
# declare -p files >&2
# declare -p files >&2
local f
for f in "${files[@]}"; do
local include
include=1
local f
for f in "${files[@]}"; do
local include
include=1
local ignore
for ignore in "${ignores[@]}"; do
if [[ "$ignore" =~ ^! ]]; then
ignore="${ignore:1}"
if [[ "$f" == ./$ignore ]]; then
# echo "\"$f\" matched \"!$ignore\"" >&2
include=1
fi
elif [[ "$f" == ./$ignore ]]; then
# echo "\"$f\" matched \"$ignore\"" >&2
include=0
fi
done
if [[ "$include" == 1 ]]; then
enumerate "$f"
fi
done
fi
local ignore
for ignore in "${ignores[@]}"; do
if [[ "$ignore" =~ ^! ]]; then
ignore="${ignore:1}"
if [[ "$f" == ./$ignore ]]; then
# echo "\"$f\" matched \"!$ignore\"" >&2
include=1
fi
elif [[ "$f" == ./$ignore ]]; then
# echo "\"$f\" matched \"$ignore\"" >&2
include=0
fi
done
if [[ "$include" == 1 ]]; then
enumerate "$f"
fi
done
fi
}
# List of all files that get packaged

View File

@@ -2,4 +2,4 @@ typst compile -f png $PSScriptRoot/../template/resume.typ $PSScriptRoot/../asset
typst compile -f png $PSScriptRoot/../template/coverletter.typ $PSScriptRoot/../assets/images/coverletter.png
typst compile -f png $PSScriptRoot/../template/coverletter2.typ $PSScriptRoot/../assets/images/coverletter2.png
oxipng.exe $PSScriptRoot/../assets/images/*
oxipng.exe $PSScriptRoot/../assets/images/*.png

View File

@@ -1,4 +1,4 @@
#import "@preview/modern-cv:0.7.0": *
#import "@preview/modern-cv:0.8.0": *
#show: coverletter.with(
author: (
@@ -17,27 +17,31 @@
),
),
profile-picture: image("./profile.png"),
// change this to match the language available in 'lang.toml'
language: "en",
font: "Times New Roman",
// Remove the following line to show the footer
// Or set the value to `true`
show-footer: false,
// this defaults to false
show-address-icon: true,
// set this to `none` to show the default or remove it completely
closing: [],
// see typst "page" documentation for more options
paper-size: "us-gov-legal",
)
#hiring-entity-info(entity-info: (
target: "Company Recruitement Team",
name: "Google, Inc.",
street-address: "1600 AMPHITHEATRE PARKWAY",
city: "MOUNTAIN VIEW, CA 94043",
))
#letter-heading(
job-position: "Software Engineer",
addressee: "Sir or Madame",
#hiring-entity-info(
entity-info: (
target: "Company Recruitement Team",
name: "Google, Inc.",
street-address: "1600 AMPHITHEATRE PARKWAY",
city: "MOUNTAIN VIEW, CA 94043",
),
)
#letter-heading(job-position: "Software Engineer", addressee: "Sir or Madame")
= About Me
#coverletter-content[
#lorem(80)

View File

@@ -1,4 +1,4 @@
#import "@preview/modern-cv:0.7.0": *
#import "@preview/modern-cv:0.8.0": *
#show: coverletter.with(
author: (
@@ -14,23 +14,29 @@
"Software Engineer",
"Full Stack Developer",
),
custom: (
(
text: "Youtube Channel",
icon: "youtube",
link: "http://example.com",
),
),
),
profile-picture: none,
language: "sp",
)
#hiring-entity-info(entity-info: (
target: "Company Recruitement Team",
name: "Google, Inc.",
street-address: "1600 AMPHITHEATRE PARKWAY",
city: "MOUNTAIN VIEW, CA 94043",
))
#letter-heading(
job-position: "Software Engineer",
addressee: "Sir or Madame",
#hiring-entity-info(
entity-info: (
target: "Company Recruitement Team",
name: "Google, Inc.",
street-address: "1600 AMPHITHEATRE PARKWAY",
city: "MOUNTAIN VIEW, CA 94043",
),
)
#letter-heading(job-position: "Software Engineer", addressee: "Sir or Madame")
#coverletter-content[
#lorem(100)
]

View File

@@ -1,4 +1,4 @@
#import "@preview/modern-cv:0.7.0": *
#import "@preview/modern-cv:0.8.0": *
#show: resume.with(
author: (
@@ -19,11 +19,21 @@
"Software Architect",
"Developer",
),
custom: (
(
text: "Youtube Channel",
icon: "youtube",
link: "https://example.com",
),
),
),
profile-picture: image("profile.png"),
date: datetime.today().display(),
language: "en",
colored-headers: true,
show-footer: false,
show-address-icon: true,
paper-size: "us-letter",
)
= Experience
@@ -54,10 +64,7 @@
#lorem(72)
]
#resume-entry(
title: "Intern",
location: "Example City, EX",
)
#resume-entry(title: "Intern", location: "Example City, EX")
#resume-item[
- #lorem(20)
@@ -94,14 +101,62 @@
= Skills
#resume-skill-item(
"Languages",
(strong("C++"), strong("Python"), "Java", "C#", "JavaScript", "TypeScript"),
"Programming Languages",
(
strong("C++"),
strong("Python"),
"Rust",
"Java",
"C#",
"JavaScript",
"TypeScript",
),
)
#resume-skill-item("Spoken Languages", (strong("English"), "Spanish"))
#resume-skill-item(
"Programs",
(strong("Excel"), "Word", "Powerpoint", "Visual Studio"),
(
strong("Excel"),
"Word",
"Powerpoint",
"Visual Studio",
),
)
// spacing fix, not needed if you use `resume-skill-grid`
#block(below: 0.65em)
// An alternative way of list out your resume skills
// #resume-skill-grid(
// categories_with_values: (
// "Programming Languages": (
// strong("C++"),
// strong("Python"),
// "Rust",
// "Java",
// "C#",
// "JavaScript",
// "TypeScript",
// ),
// "Spoken Languages": (
// strong("English"),
// "Spanish",
// "Greek",
// ),
// "Programs": (
// strong("Excel"),
// "Word",
// "Powerpoint",
// "Visual Studio",
// "git",
// "Zed"
// ),
// "Really Really Long Long Long Category": (
// "Thing 1",
// "Thing 2",
// "Thing 3"
// )
// ),
// )
= Education

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -1,13 +1,8 @@
#import "@local/modern-cv:0.7.0": *
#import "@local/modern-cv:0.8.0": *
// setup the document like we do for the resume
#let font = ("Source Sans Pro", "Source Sans 3")
#set text(
font: font,
size: 11pt,
fill: color-darkgray,
fallback: true,
)
#let font = "Source Sans 3"
#set text(font: font, size: 11pt, fill: color-darkgray, fallback: true)
#set page(
paper: "a4",
@@ -19,21 +14,12 @@
// set paragraph spacing
#set par(spacing: 0.75em, justify: true)
#set heading(
numbering: none,
outlined: false,
)
#set heading(numbering: none, outlined: false)
#show heading.where(level: 1): it => [
#set block(
above: 1em,
below: 1em,
)
#set text(
size: 16pt,
weight: "regular",
)
#set block(above: 1em, below: 1em)
#set text(size: 16pt, weight: "regular")
#align(left)[
#let color = if colored-headers {
@@ -48,20 +34,12 @@
]
#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
}
#show heading.where(level: 3): it => {
set text(
size: 10pt,
weight: "regular",
)
set text(size: 10pt, weight: "regular")
smallcaps[#it.body]
}
@@ -77,19 +55,10 @@
)
// resume-entry also support omitting the date and description
#resume-entry(
title: "Title",
location: "Location",
)
#resume-entry(title: "Title", location: "Location")
#resume-certification(
"Certified Scrum Master (CSM)",
"Jan 2022",
)
#resume-certification("Certified Scrum Master (CSM)", "Jan 2022")
#resume-skill-item(
"Programming",
(strong["C++"], "Python", "Java"),
)
#resume-skill-item("Programming", (strong["C++"], "Python", "Java"))
#resume-gpa("3.5", "4.0")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -1,13 +1,8 @@
#import "@local/modern-cv:0.7.0": *
#import "@local/modern-cv:0.8.0": *
// setup the document like we do for the resume
#let font = ("Source Sans Pro", "Source Sans 3")
#set text(
font: font,
size: 11pt,
fill: color-darkgray,
fallback: true,
)
#let font = "Source Sans 3"
#set text(font: font, size: 11pt, fill: color-darkgray, fallback: true)
#set page(
paper: "a4",
@@ -19,21 +14,12 @@
// set paragraph spacing
#set par(spacing: 0.75em, justify: true)
#set heading(
numbering: none,
outlined: false,
)
#set heading(numbering: none, outlined: false)
#show heading.where(level: 1): it => [
#set block(
above: 1em,
below: 1em,
)
#set text(
size: 16pt,
weight: "regular",
)
#set block(above: 1em, below: 1em)
#set text(size: 16pt, weight: "regular")
#align(left)[
#let color = if colored-headers {
@@ -48,20 +34,12 @@
]
#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
}
#show heading.where(level: 3): it => {
set text(
size: 10pt,
weight: "regular",
)
set text(size: 10pt, weight: "regular")
smallcaps[#it.body]
}
@@ -80,6 +58,8 @@
#birth-icon
#homepage-icon
#website-icon
#gitlab-icon
#bitbucket-icon
#square(size: 1em, fill: color-darkgray)
#square(size: 1em, fill: color-darknight)

View File

@@ -1,6 +1,6 @@
[package]
name = "modern-cv"
version = "0.7.0"
version = "0.8.0"
compiler = "0.12.0"
entrypoint = "lib.typ"
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
@@ -10,7 +10,6 @@ keywords = ["CV", "Curriculum Vitae", "Resume", "Minimalistic", "Professional",
categories = ["cv"]
disciplines = []
exclude = ["resume-documentation*", "scripts*", "assets/images/*"]
homepage = "https://github.com/DeveloperPaul123/modern-cv"
repository = "https://github.com/DeveloperPaul123/modern-cv"
[template]