Compare commits
116 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cf87be8b6 | ||
|
|
de639642db | ||
|
|
f5d9ba995a | ||
|
|
dc0eb7a648 | ||
|
|
13533bc0a7 | ||
|
|
24ed5bef9f | ||
|
|
6e709397d8 | ||
|
|
c7a023ff6a | ||
|
|
63289012a1 | ||
|
|
8f7770aaca | ||
|
|
ac7c078341 | ||
|
|
076afdd74e | ||
|
|
12352d79bd | ||
|
|
beff2b2b4b | ||
|
|
21351f858d | ||
|
|
21da689b81 | ||
|
|
7c174cc13d | ||
|
|
148786be89 | ||
|
|
bf57a254b9 | ||
|
|
dab5adeb82 | ||
|
|
17b9cc7862 | ||
|
|
2bd1355851 | ||
|
|
71ccbf8cb9 | ||
|
|
60aa2447c4 | ||
|
|
74bf3d63c8 | ||
|
|
461c954df9 | ||
|
|
7d9927bc19 | ||
|
|
7a99a1bd54 | ||
|
|
24fbc19d51 | ||
|
|
a7165fa47e | ||
|
|
abe80fa24d | ||
|
|
cee8db8535 | ||
|
|
7eb7122e68 | ||
|
|
a98b5e9fd8 | ||
|
|
815a0efb8f | ||
|
|
1c5a10df91 | ||
|
|
8c404d93cf | ||
|
|
423a64618f | ||
|
|
883bc73af8 | ||
|
|
83a0c0888b | ||
|
|
493439bd47 | ||
|
|
0620285a78 | ||
|
|
e461be5d1a | ||
|
|
8d599b3efb | ||
|
|
e1a2395acd | ||
|
|
85ec799ff1 | ||
|
|
cf472b703d | ||
|
|
ed24813dd5 | ||
|
|
8e22fd0369 | ||
|
|
9b8327fa15 | ||
|
|
15e2dfcc29 | ||
|
|
3e2dac4457 | ||
|
|
3424d07af4 | ||
|
|
4c417a7cbd | ||
|
|
d12482c7fe | ||
|
|
36a64cb582 | ||
|
|
4a6dd48cd4 | ||
|
|
c8497a861e | ||
|
|
e31eae9a75 | ||
|
|
e6b127822a | ||
|
|
38822be6eb | ||
|
|
5ffe0b7fbe | ||
|
|
67591bcb13 | ||
|
|
387c92333e | ||
|
|
f623c11327 | ||
|
|
82fb731457 | ||
|
|
230b5e7dad | ||
|
|
73f0e7be8a | ||
|
|
1c38a5e34e | ||
|
|
3338abf39d | ||
|
|
af6a61d6fd | ||
|
|
977a1bdf3e | ||
|
|
3bd711ad5b | ||
|
|
2e99ceacb6 | ||
|
|
306adaa461 | ||
|
|
198f1a7e1e | ||
|
|
d7657ce159 | ||
|
|
688ba75c14 | ||
|
|
60faf81209 | ||
|
|
5ca6476237 | ||
|
|
72d5c1535d | ||
|
|
3ef57b6b85 | ||
|
|
c3d1ecc7f9 | ||
|
|
31bc867c83 | ||
|
|
8d7e6f846d | ||
|
|
b623176d8d | ||
|
|
78220c28d9 | ||
|
|
a33011f396 | ||
|
|
8c86ccfd94 | ||
|
|
db400fc8af | ||
|
|
3c9a4fcbe5 | ||
|
|
829c8c2baf | ||
|
|
bfa22cf89a | ||
|
|
67e8c4ec7f | ||
|
|
d6ac41a03b | ||
|
|
07f2e2a6f6 | ||
|
|
b661a92801 | ||
|
|
f6f1e6f019 | ||
|
|
be02c50e20 | ||
|
|
23d4691994 | ||
|
|
08f72ca1e5 | ||
|
|
79a53ee9c1 | ||
|
|
8c6071a82d | ||
|
|
f26afed219 | ||
|
|
9e65c85a0d | ||
|
|
9d2dff3a5b | ||
|
|
4e71f1db53 | ||
|
|
4346e36a8d | ||
|
|
41131cbb86 | ||
|
|
d2aa55b889 | ||
|
|
a2fe9ca40a | ||
|
|
78a53befb5 | ||
|
|
3845415587 | ||
|
|
650b2b0cec | ||
|
|
4dcb8ab7fd | ||
|
|
40427ffede |
23
.github/workflows/build-documentation.yml
vendored
@@ -1,23 +0,0 @@
|
|||||||
name: Build documentation
|
|
||||||
on: [push, workflow_dispatch]
|
|
||||||
jobs:
|
|
||||||
build_pdf:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Set up Git repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Install fonts
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt-get install fonts-font-awesome fonts-roboto texlive-fonts-recommended texlive-fonts-extra
|
|
||||||
- name: Typst
|
|
||||||
uses: yusancky/setup-typst@v2
|
|
||||||
id: setup-typst
|
|
||||||
with:
|
|
||||||
version: 'v0.11.0'
|
|
||||||
- run: typst compile modern-cv-docs.typ
|
|
||||||
- name: Upload PDF file
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: modern-cv-docs
|
|
||||||
path: modern-cv-docs.pdf
|
|
||||||
77
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
name: Package and push to registry repo
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags: [ '*' ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# the repository to which to push the release version
|
||||||
|
# usually a fork of typst/packages (https://github.com/typst/packages/)
|
||||||
|
# that you have push privileges to
|
||||||
|
REGISTRY_REPO: DeveloperPaul123/typst-packages
|
||||||
|
# the path within that repo where the "<name>/<version>" directory should be put
|
||||||
|
# for the Typst package registry, keep this as is
|
||||||
|
PATH_PREFIX: packages/preview
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Probe runner package cache
|
||||||
|
uses: awalsh128/cache-apt-pkgs-action@v1
|
||||||
|
with:
|
||||||
|
packages: cargo
|
||||||
|
version: 1.0
|
||||||
|
|
||||||
|
- name: Install just from crates.io
|
||||||
|
uses: baptiste0928/cargo-install@v3
|
||||||
|
with:
|
||||||
|
crate: just
|
||||||
|
|
||||||
|
- name: Setup typst
|
||||||
|
uses: typst-community/setup-typst@v3
|
||||||
|
with:
|
||||||
|
typst-version: latest
|
||||||
|
|
||||||
|
- name: Determine and check package metadata
|
||||||
|
run: |
|
||||||
|
. scripts/setup
|
||||||
|
echo "PKG_NAME=${PKG_PREFIX}" >> "${GITHUB_ENV}"
|
||||||
|
echo "PKG_VERSION=${VERSION}" >> "${GITHUB_ENV}"
|
||||||
|
|
||||||
|
if [[ "${GITHUB_REF_NAME}" != "${VERSION}" ]]; then
|
||||||
|
echo "package version ${VERSION} does not match release tag ${GITHUB_REF_NAME}" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Build package
|
||||||
|
run: |
|
||||||
|
just doc
|
||||||
|
just package out
|
||||||
|
|
||||||
|
- name: Checkout package registry
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: ${{ env.REGISTRY_REPO }}
|
||||||
|
token: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
path: typst-packages
|
||||||
|
|
||||||
|
- name: Release package
|
||||||
|
run: |
|
||||||
|
mkdir -p "typst-packages/${{ env.PATH_PREFIX }}/$PKG_NAME"
|
||||||
|
mv "out/${PKG_NAME}/${PKG_VERSION}" "typst-packages/${{ env.PATH_PREFIX }}/${PKG_NAME}"
|
||||||
|
rmdir "out/${PKG_NAME}"
|
||||||
|
rmdir out
|
||||||
|
|
||||||
|
GIT_USER_NAME="$(git log -1 --pretty=format:'%an')"
|
||||||
|
GIT_USER_EMAIL="$(git log -1 --pretty=format:'%ae')"
|
||||||
|
|
||||||
|
cd typst-packages
|
||||||
|
git config user.name "${GIT_USER_NAME}"
|
||||||
|
git config user.email "${GIT_USER_EMAIL}"
|
||||||
|
git checkout -b "${PKG_NAME}-${PKG_VERSION}"
|
||||||
|
git add .
|
||||||
|
git commit -m "${PKG_NAME}:${PKG_VERSION}"
|
||||||
|
git push --set-upstream origin "${PKG_NAME}-${PKG_VERSION}"
|
||||||
85
.github/workflows/tests.yml
vendored
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
name: Tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
# add any other Typst versions that your package should support
|
||||||
|
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.13"
|
||||||
|
doc: 1
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Probe runner package cache
|
||||||
|
uses: awalsh128/cache-apt-pkgs-action@v1
|
||||||
|
with:
|
||||||
|
packages: imagemagick cargo
|
||||||
|
version: 1.0
|
||||||
|
|
||||||
|
- name: Install oxipng from crates.io
|
||||||
|
uses: baptiste0928/cargo-install@v3
|
||||||
|
with:
|
||||||
|
crate: oxipng
|
||||||
|
|
||||||
|
- name: Install just from crates.io
|
||||||
|
uses: baptiste0928/cargo-install@v3
|
||||||
|
with:
|
||||||
|
crate: just
|
||||||
|
|
||||||
|
- name: Install tytanic
|
||||||
|
uses: taiki-e/cache-cargo-install-action@v2
|
||||||
|
with:
|
||||||
|
tool: tytanic@0.2.2
|
||||||
|
|
||||||
|
- name: Setup typst
|
||||||
|
uses: typst-community/setup-typst@v3
|
||||||
|
with:
|
||||||
|
typst-version: ${{ matrix.typst-version }}
|
||||||
|
|
||||||
|
- name: Install fonts
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt-get install fonts-roboto
|
||||||
|
./scripts/install-fontawesome
|
||||||
|
./scripts/install-source-sans
|
||||||
|
typst fonts
|
||||||
|
|
||||||
|
- name: Uninstall previous local install
|
||||||
|
run: just uninstall
|
||||||
|
|
||||||
|
- name: Run test suite
|
||||||
|
run: |
|
||||||
|
just install
|
||||||
|
tt run --font-path ~/.fonts --no-fail-fast
|
||||||
|
|
||||||
|
- name: Archive diffs
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
name: diffs-typst-${{ matrix.typst-version }}
|
||||||
|
path: |
|
||||||
|
tests/**/diff/*.png
|
||||||
|
tests/**/out/*.png
|
||||||
|
tests/**/ref/*.png
|
||||||
|
retention-days: 5
|
||||||
|
|
||||||
|
- name: Build docs
|
||||||
|
if: ${{ matrix.doc }}
|
||||||
|
run: just doc
|
||||||
|
|
||||||
|
- name: Upload docs
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: manual
|
||||||
|
path: docs/manual.pdf
|
||||||
4
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
*.pdf
|
*.pdf
|
||||||
|
tests/*/diff
|
||||||
|
tests/*/out
|
||||||
|
|||||||
9
.typstignore
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
.github
|
||||||
|
.fork
|
||||||
|
scripts
|
||||||
|
template/*.pdf
|
||||||
|
.gitignore
|
||||||
|
.issuetracker
|
||||||
|
tests/*
|
||||||
|
docs/*
|
||||||
|
Justfile
|
||||||
57
Justfile
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
root := justfile_directory()
|
||||||
|
|
||||||
|
export TYPST_ROOT := root
|
||||||
|
|
||||||
|
[private]
|
||||||
|
default:
|
||||||
|
@just --list --unsorted
|
||||||
|
|
||||||
|
# generate manual
|
||||||
|
[doc('Generate package documentation')]
|
||||||
|
[group('package')]
|
||||||
|
doc:
|
||||||
|
typst compile docs/manual.typ docs/manual.pdf
|
||||||
|
|
||||||
|
[doc('Run test suite. Requires tytanic.')]
|
||||||
|
[group('dev')]
|
||||||
|
test *args: install
|
||||||
|
tt run {{ args }} --use-system-fonts --no-fail-fast
|
||||||
|
|
||||||
|
[doc('Update test cases. Requires tytanic.')]
|
||||||
|
[group('dev')]
|
||||||
|
update *args:
|
||||||
|
tt update {{ args }} --use-system-fonts
|
||||||
|
|
||||||
|
[doc('Package the library into the specified destination folder')]
|
||||||
|
[group('package')]
|
||||||
|
package target:
|
||||||
|
./scripts/package "{{target}}"
|
||||||
|
|
||||||
|
[doc('Install the library with the "@local" prefix')]
|
||||||
|
[group('dev')]
|
||||||
|
install: (package "@local")
|
||||||
|
|
||||||
|
[doc('Install the library with the "@preview" prefix (for pre-release testing)')]
|
||||||
|
[group('dev')]
|
||||||
|
install-preview: (package "@preview")
|
||||||
|
|
||||||
|
[private]
|
||||||
|
remove target:
|
||||||
|
./scripts/uninstall "{{target}}"
|
||||||
|
|
||||||
|
[doc('Uninstall the library from the "@local" prefix')]
|
||||||
|
[group('dev')]
|
||||||
|
uninstall: (remove "@local")
|
||||||
|
|
||||||
|
[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
|
||||||
|
|
||||||
|
[doc('Run ci suite')]
|
||||||
|
[group('dev')]
|
||||||
|
ci: test doc
|
||||||
56
README.md
@@ -1,14 +1,43 @@
|
|||||||
# Modern CV
|
<h1 align="center">
|
||||||
|
<img src="assets/images/header.png" alt="Header">
|
||||||
|
<br><br>
|
||||||
|
Modern CV
|
||||||
|
</h1>
|
||||||
|
|
||||||
[](https://github.com/DeveloperPaul123/modern-cv/stargazers)
|
[](https://github.com/DeveloperPaul123/modern-cv/stargazers)
|
||||||
[](https://discord.gg/CX2ybByRnt)
|
[](https://discord.gg/CX2ybByRnt)
|
||||||

|

|
||||||
[](https://github.com/DeveloperPaul123/modern-cv/actions/workflows/build-documentation.yml)
|
[](https://github.com/DeveloperPaul123/modern-cv/actions/workflows/tests.yml)
|
||||||
|
|
||||||
A port of the [Awesome-CV](https://github.com/posquit0/Awesome-CV) Latex resume template in [typst](https://github.com/typst/typst).
|
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 |
|
||||||
|
| --- | --- |
|
||||||
|
|  |  |
|
||||||
|
|  | |
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
### Tools
|
||||||
|
|
||||||
|
The following tools are used for the development of this template:
|
||||||
|
|
||||||
|
- [typst](https://github.com/typst/typst)
|
||||||
|
- [typst-test](https://github.com/tingerrr/typst-test) for running tests
|
||||||
|
- [just](https://github.com/casey/just) for simplifying command running
|
||||||
|
- [oxipng](https://github.com/shssoichiro/oxipng) for compressing thumbnails used in the README
|
||||||
|
|
||||||
|
### Fonts
|
||||||
|
|
||||||
You will need the `Roboto` and `Source Sans Pro` fonts installed on your system or available somewhere. If you are using the `typst` web app, no further action is necessary. You can download them from the following links:
|
You will need the `Roboto` and `Source Sans Pro` fonts installed on your system or available somewhere. If you are using the `typst` web app, no further action is necessary. You can download them from the following links:
|
||||||
|
|
||||||
- [Roboto](https://fonts.google.com/specimen/Roboto)
|
- [Roboto](https://fonts.google.com/specimen/Roboto)
|
||||||
@@ -27,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:
|
Below is a basic example for a simple resume:
|
||||||
|
|
||||||
```typst
|
```typst
|
||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.8.0": *
|
||||||
|
|
||||||
#show: resume.with(
|
#show: resume.with(
|
||||||
author: (
|
author: (
|
||||||
@@ -43,7 +72,9 @@ Below is a basic example for a simple resume:
|
|||||||
"Software Architect"
|
"Software Architect"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
date: datetime.today().display()
|
profile-picture: none,
|
||||||
|
date: datetime.today().display(),
|
||||||
|
paper-size: "us-letter"
|
||||||
)
|
)
|
||||||
|
|
||||||
= Education
|
= Education
|
||||||
@@ -72,28 +103,23 @@ 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).
|
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 |
|
|
||||||
| --- | --- |
|
|
||||||
|  |  |
|
|
||||||
|  | |
|
|
||||||
|
|
||||||
## Building and Testing Locally
|
## 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://typst.app/docs/getting-started).
|
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).
|
||||||
|
|
||||||
With typst installed you can make changes to `lib.typ` and then `install_package_locally.ps1` to install the package locally. Change the import statements in the template files to point to the local package:
|
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
|
```typst
|
||||||
#import "@local/modern-cv:0.3.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`.
|
||||||
|
|
||||||
Note that the script parses the `typst.toml` to determine the version number and the folder the local files are installed to.
|
Note that the script parses the `typst.toml` to determine the version number and the folder the local files are installed to.
|
||||||
|
|
||||||
### Formatting
|
### Formatting
|
||||||
|
|
||||||
This project uses [typstyle](https://github.com/Enter-tainer/typstyle) to format the code. The script `format_typst.ps1` will format all the `*.typ` files in the project. Be sure to install `typstyle` before running the script.
|
This project uses [typstyle](https://github.com/Enter-tainer/typstyle) to format the code. Run `just format` to format all the `*.typ` files in the project. Be sure to install `typstyle` before running the script.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
BIN
assets/design/readme_header.afdesign
Normal file
|
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 231 KiB |
|
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 207 KiB |
BIN
assets/images/header.png
Normal file
|
After Width: | Height: | Size: 184 KiB |
BIN
assets/images/logo.jpg
Normal file
|
After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 251 KiB |
BIN
assets/images/resume_with_logo.png
Normal file
|
After Width: | Height: | Size: 246 KiB |
7
docs/manual.typ
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#import "../lib.typ"
|
||||||
|
#import "@preview/tidy:0.4.1"
|
||||||
|
|
||||||
|
#let docs = tidy.parse-module(read("../lib.typ"), name: "Modern CV", scope: (
|
||||||
|
resume: lib,
|
||||||
|
))
|
||||||
|
#tidy.show-module(docs, style: tidy.styles.minimal)
|
||||||
13
docs/release-checklist.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Release Checklist
|
||||||
|
|
||||||
|
This document outlines the steps required to prepare a new release of `modern-cv`.
|
||||||
|
|
||||||
|
Steps:
|
||||||
|
|
||||||
|
1. Create a new release branch with the format `release/x.y.z`.
|
||||||
|
2. Update the version in the `typst.toml`.
|
||||||
|
3. Update examples in the [README.md](../README.md) to reflect the new version.
|
||||||
|
4. Update templates to import the correct version.
|
||||||
|
5. Do a final compilation/export check of all the templates.
|
||||||
|
6. Ensure that tests pass.
|
||||||
|
7. Ensure that the documentation manual builds.
|
||||||
27
lang.toml
@@ -8,6 +8,7 @@ cover-letter = "Cover Letter"
|
|||||||
attached = "Attached"
|
attached = "Attached"
|
||||||
curriculum-vitae = "Curriculum Vitae"
|
curriculum-vitae = "Curriculum Vitae"
|
||||||
sincerely = "Sincerely"
|
sincerely = "Sincerely"
|
||||||
|
letter-position-pretext = "Job Application for"
|
||||||
|
|
||||||
[lang.de]
|
[lang.de]
|
||||||
resume = "Lebenslauf"
|
resume = "Lebenslauf"
|
||||||
@@ -15,7 +16,8 @@ dear = "Sehr geehrte"
|
|||||||
cover-letter = "Anschreiben"
|
cover-letter = "Anschreiben"
|
||||||
attached = "Angehängt"
|
attached = "Angehängt"
|
||||||
curriculum-vitae = "Lebenslauf"
|
curriculum-vitae = "Lebenslauf"
|
||||||
sincerely = "Aufrichtig"
|
sincerely = "Mit freundlichen Grüßen"
|
||||||
|
letter-position-pretext = "Bewerbung für"
|
||||||
|
|
||||||
[lang.gr]
|
[lang.gr]
|
||||||
resume = "Βιογραφικό"
|
resume = "Βιογραφικό"
|
||||||
@@ -24,6 +26,7 @@ cover-letter = "Συνοδευτική Επιστολή"
|
|||||||
attached = "Συνημμένο"
|
attached = "Συνημμένο"
|
||||||
curriculum-vitae = "Βιογραφικό"
|
curriculum-vitae = "Βιογραφικό"
|
||||||
sincerely = "Με εκτίμηση"
|
sincerely = "Με εκτίμηση"
|
||||||
|
letter-position-pretext = "Αίτηση εργασίας για"
|
||||||
|
|
||||||
[lang.pt]
|
[lang.pt]
|
||||||
resume = "Currículo"
|
resume = "Currículo"
|
||||||
@@ -32,6 +35,7 @@ cover-letter = "Carta de Apresentação"
|
|||||||
attached = "Em anexo"
|
attached = "Em anexo"
|
||||||
curriculum-vitae = "Currículo"
|
curriculum-vitae = "Currículo"
|
||||||
sincerely = "Atenciosamente"
|
sincerely = "Atenciosamente"
|
||||||
|
letter-position-pretext = "Candidatura a emprego para"
|
||||||
|
|
||||||
[lang.sp]
|
[lang.sp]
|
||||||
resume = "Currículum"
|
resume = "Currículum"
|
||||||
@@ -40,6 +44,7 @@ cover-letter = "Carta de Presentación"
|
|||||||
attached = "Adjunto"
|
attached = "Adjunto"
|
||||||
curriculum-vitae = "Currículum"
|
curriculum-vitae = "Currículum"
|
||||||
sincerely = "Sinceramente"
|
sincerely = "Sinceramente"
|
||||||
|
letter-position-pretext = "Solicitud de empleo para"
|
||||||
|
|
||||||
[lang.fr]
|
[lang.fr]
|
||||||
resume = "Curriculum Vitae"
|
resume = "Curriculum Vitae"
|
||||||
@@ -48,6 +53,7 @@ cover-letter = "Lettre de motivation"
|
|||||||
attached = "Ci-joint"
|
attached = "Ci-joint"
|
||||||
curriculum-vitae = "Curriculum Vitae"
|
curriculum-vitae = "Curriculum Vitae"
|
||||||
sincerely = "Sincèrement"
|
sincerely = "Sincèrement"
|
||||||
|
letter-position-pretext = "Demande d'emploi pour"
|
||||||
|
|
||||||
[lang.ru]
|
[lang.ru]
|
||||||
resume = "Резюме"
|
resume = "Резюме"
|
||||||
@@ -56,3 +62,22 @@ cover-letter = "Сопроводительное письмо"
|
|||||||
attached = "Прилагается"
|
attached = "Прилагается"
|
||||||
curriculum-vitae = "Биографическая справка"
|
curriculum-vitae = "Биографическая справка"
|
||||||
sincerely = "Искренне"
|
sincerely = "Искренне"
|
||||||
|
letter-position-pretext = "Заявление о приеме на работу"
|
||||||
|
|
||||||
|
[lang.zh]
|
||||||
|
resume = "简历"
|
||||||
|
dear = "亲爱的"
|
||||||
|
cover-letter = "求职信"
|
||||||
|
attached = "附件"
|
||||||
|
curriculum-vitae = "简历"
|
||||||
|
sincerely = "真诚的"
|
||||||
|
letter-position-pretext = "職位申請"
|
||||||
|
|
||||||
|
[lang.it]
|
||||||
|
resume = "Curriculum"
|
||||||
|
dear = "Egregio"
|
||||||
|
cover-letter = "Lettera di presentazione"
|
||||||
|
attached = "Allegato"
|
||||||
|
curriculum-vitae = "Curriculum Vitae"
|
||||||
|
sincerely = "Cordiali saluti"
|
||||||
|
letter-position-pretext = "Domanda di lavoro per"
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
#import "lib.typ"
|
|
||||||
#import "@preview/tidy:0.2.0"
|
|
||||||
|
|
||||||
#let docs = tidy.parse-module(
|
|
||||||
read("lib.typ"),
|
|
||||||
name: "Modern CV",
|
|
||||||
scope: (resume: lib),
|
|
||||||
)
|
|
||||||
#tidy.show-module(docs)
|
|
||||||
3
scripts/format
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
find . -iname "*.typ" | xargs typstyle -i
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# requires typstyle to be installed
|
|
||||||
# cargo install typstyle
|
|
||||||
|
|
||||||
# get all *.typ files and format them
|
|
||||||
Get-ChildItem -Path $PSScriptRoot/../*.typ -Recurse | ForEach-Object { typstyle -i $_.FullName }
|
|
||||||
11
scripts/install-fontawesome
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
wget -O ~/fontawesome.zip https://use.fontawesome.com/releases/v6.6.0/fontawesome-free-6.6.0-desktop.zip
|
||||||
|
mkdir -p ~/fontawesome-fonts
|
||||||
|
unzip ~/fontawesome.zip -d ~/fontawesome-fonts
|
||||||
|
mkdir -p ~/.fonts
|
||||||
|
find ~/fontawesome-fonts -type f -name "*.otf" -exec cp {} ~/.fonts \;
|
||||||
|
rm ~/fontawesome.zip
|
||||||
|
rm -rf ~/fontawesome-fonts
|
||||||
|
fc-cache -f -v
|
||||||
21
scripts/install-source-sans
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
wget -O ~/source-sans.zip https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip
|
||||||
|
mkdir -p ~/source-sans-fonts
|
||||||
|
unzip ~/source-sans.zip -d ~/source-sans-fonts
|
||||||
|
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
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# requires the PSToml cmdlet to be installed
|
|
||||||
# https://github.com/jborean93/PSToml?tab=readme-ov-file
|
|
||||||
# Install-Module -Name PSToml -Scope AllUsers
|
|
||||||
|
|
||||||
$typst_toml = ConvertFrom-Toml (Get-Content "$PSScriptRoot/../typst.toml" -Raw)
|
|
||||||
Write-Host 'Package version: ' $typst_toml.package.version
|
|
||||||
$Source = "$PSScriptRoot/../*"
|
|
||||||
$Destination = "$env:LOCALAPPDATA/typst/packages/local/modern-cv/$($typst_toml.package.version)"
|
|
||||||
New-Item -ItemType Directory -Path $Destination -Force
|
|
||||||
Copy-Item -Path $Source -Destination $Destination -Recurse -Force
|
|
||||||
86
scripts/package
Executable file
@@ -0,0 +1,86 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
# adapted from https://github.com/johannes-wolf/cetz/blob/35c0868378cea5ad323cc0d9c2f76de8ed9ba5bd/scripts/package
|
||||||
|
# licensed under Apache License 2.0
|
||||||
|
|
||||||
|
. "$(dirname "${BASH_SOURCE[0]}")/setup"
|
||||||
|
|
||||||
|
if (( $# < 1 )) || [[ "${1:-}" == "help" ]]; then
|
||||||
|
echo "package TARGET"
|
||||||
|
echo ""
|
||||||
|
echo "Packages all relevant files into a directory named '<name>/<version>'"
|
||||||
|
echo "at TARGET. If TARGET is set to @local or @preview, the local Typst package"
|
||||||
|
echo "directory will be used so that the package gets installed for local use."
|
||||||
|
echo "The name and version are read from 'typst.toml' in the project root."
|
||||||
|
echo ""
|
||||||
|
echo "Local package prefix: $DATA_DIR/typst/package/local"
|
||||||
|
echo "Local preview package prefix: $DATA_DIR/typst/package/preview"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
TARGET="$(resolve-target "${1:?Missing target path, @local or @preview}")"
|
||||||
|
echo "Install dir: $TARGET"
|
||||||
|
|
||||||
|
# ignore rules
|
||||||
|
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" \
|
||||||
|
-mindepth 1 -maxdepth 1 \
|
||||||
|
-not -name .git \
|
||||||
|
-not -name .typstignore)
|
||||||
|
# declare -p files >&2
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
# List of all files that get packaged
|
||||||
|
readarray -t files < <(enumerate ".")
|
||||||
|
# declare -p files >&2
|
||||||
|
|
||||||
|
TMP="$(mktemp -d)"
|
||||||
|
|
||||||
|
for f in "${files[@]}"; do
|
||||||
|
mkdir -p "$TMP/$(dirname "$f")" 2>/dev/null
|
||||||
|
cp -r "$ROOT/$f" "$TMP/$f"
|
||||||
|
done
|
||||||
|
|
||||||
|
TARGET="${TARGET:?}/${PKG_PREFIX:?}/${VERSION:?}"
|
||||||
|
echo "Packaged to: $TARGET"
|
||||||
|
if rm -r "${TARGET:?}" 2>/dev/null; then
|
||||||
|
echo "Overwriting existing version."
|
||||||
|
fi
|
||||||
|
mkdir -p "$TARGET"
|
||||||
|
|
||||||
|
# include hidden files by setting dotglob
|
||||||
|
shopt -s dotglob
|
||||||
|
mv "$TMP"/* "$TARGET"
|
||||||
37
scripts/setup
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# source this script to prepare some common environment variables
|
||||||
|
|
||||||
|
# adapted from https://github.com/johannes-wolf/cetz/blob/35c0868378cea5ad323cc0d9c2f76de8ed9ba5bd/scripts/package
|
||||||
|
# licensed under Apache License 2.0
|
||||||
|
|
||||||
|
# Local package directories per platform
|
||||||
|
if [[ "$OSTYPE" == "linux"* ]]; then
|
||||||
|
DATA_DIR="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||||
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
DATA_DIR="$HOME/Library/Application Support"
|
||||||
|
else
|
||||||
|
DATA_DIR="${APPDATA}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
function read-toml() {
|
||||||
|
local file="$1"
|
||||||
|
local key="$2"
|
||||||
|
# Read a key value pair in the format: <key> = "<value>"
|
||||||
|
# stripping surrounding quotes.
|
||||||
|
perl -lne "print \"\$1\" if /^${key}\\s*=\\s*\"(.*)\"/" < "$file"
|
||||||
|
}
|
||||||
|
|
||||||
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd -P)/.." # macOS has no realpath
|
||||||
|
PKG_PREFIX="$(read-toml "$ROOT/typst.toml" "name")"
|
||||||
|
VERSION="$(read-toml "$ROOT/typst.toml" "version")"
|
||||||
|
|
||||||
|
function resolve-target() {
|
||||||
|
local target="$1"
|
||||||
|
|
||||||
|
if [[ "$target" == "@local" ]]; then
|
||||||
|
echo "${DATA_DIR}/typst/packages/local"
|
||||||
|
elif [[ "$target" == "@preview" ]]; then
|
||||||
|
echo "${DATA_DIR}/typst/packages/preview"
|
||||||
|
else
|
||||||
|
echo "$target"
|
||||||
|
fi
|
||||||
|
}
|
||||||
33
scripts/uninstall
Executable file
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
# adapted from https://github.com/johannes-wolf/cetz/blob/35c0868378cea5ad323cc0d9c2f76de8ed9ba5bd/scripts/package
|
||||||
|
# licensed under Apache License 2.0
|
||||||
|
|
||||||
|
. "$(dirname "${BASH_SOURCE[0]}")/setup"
|
||||||
|
|
||||||
|
if (( $# < 1 )) || [[ "${1:-}" == "help" ]]; then
|
||||||
|
echo "uninstall TARGET"
|
||||||
|
echo ""
|
||||||
|
echo "Removes the package installed into a directory named '<name>/<version>'"
|
||||||
|
echo "at TARGET. If TARGET is set to @local or @preview, the local Typst package"
|
||||||
|
echo "directory will be used so that the package gets installed for local use."
|
||||||
|
echo "The name and version are read from 'typst.toml' in the project root."
|
||||||
|
echo ""
|
||||||
|
echo "Local package prefix: $DATA_DIR/typst/package/local"
|
||||||
|
echo "Local preview package prefix: $DATA_DIR/typst/package/preview"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
TARGET="$(resolve-target "${1:?Missing target path, @local or @preview}")"
|
||||||
|
echo "Install dir: $TARGET"
|
||||||
|
|
||||||
|
TARGET="${TARGET:?}/${PKG_PREFIX:?}/${VERSION:?}"
|
||||||
|
echo "Package to uninstall: $TARGET"
|
||||||
|
if [[ ! -e "${TARGET:?}" ]]; then
|
||||||
|
echo "Package was not found."
|
||||||
|
elif rm -r "${TARGET:?}" 2>/dev/null; then
|
||||||
|
echo "Successfully removed."
|
||||||
|
else
|
||||||
|
echo "Removal failed."
|
||||||
|
fi
|
||||||
@@ -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/coverletter.typ $PSScriptRoot/../assets/images/coverletter.png
|
||||||
typst compile -f png $PSScriptRoot/../template/coverletter2.typ $PSScriptRoot/../assets/images/coverletter2.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
|
||||||
|
|||||||
@@ -1,35 +1,47 @@
|
|||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.8.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",
|
||||||
|
homepage: "https://example.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",
|
||||||
|
website: "https://www.github.com/DeveloperPaul123",
|
||||||
positions: (
|
positions: (
|
||||||
"Software Engineer",
|
"Software Engineer",
|
||||||
"Full Stack Developer",
|
"Full Stack Developer",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
profile-picture: image("./profile.png"),
|
profile-picture: image("./profile.png"),
|
||||||
|
// change this to match the language available in 'lang.toml'
|
||||||
language: "en",
|
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: (
|
#hiring-entity-info(
|
||||||
target: "Company Recruitement Team",
|
entity-info: (
|
||||||
name: "Google, Inc.",
|
target: "Company Recruitement Team",
|
||||||
street-address: "1600 AMPHITHEATRE PARKWAY",
|
name: "Google, Inc.",
|
||||||
city: "MOUNTAIN VIEW, CA 94043",
|
street-address: "1600 AMPHITHEATRE PARKWAY",
|
||||||
))
|
city: "MOUNTAIN VIEW, CA 94043",
|
||||||
|
),
|
||||||
#letter-heading(
|
|
||||||
job-position: "Software Engineer",
|
|
||||||
addressee: "Sir or Madame",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#letter-heading(job-position: "Software Engineer", addressee: "Sir or Madame")
|
||||||
|
|
||||||
= About Me
|
= About Me
|
||||||
#coverletter-content[
|
#coverletter-content[
|
||||||
#lorem(80)
|
#lorem(80)
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.8.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",
|
||||||
|
homepage: "https://example.com",
|
||||||
phone: "(+1) 111-111-1111",
|
phone: "(+1) 111-111-1111",
|
||||||
github: "DeveloperPaul123",
|
github: "DeveloperPaul123",
|
||||||
linkedin: "John Smith",
|
linkedin: "John Smith",
|
||||||
@@ -13,23 +14,29 @@
|
|||||||
"Software Engineer",
|
"Software Engineer",
|
||||||
"Full Stack Developer",
|
"Full Stack Developer",
|
||||||
),
|
),
|
||||||
|
custom: (
|
||||||
|
(
|
||||||
|
text: "Youtube Channel",
|
||||||
|
icon: "youtube",
|
||||||
|
link: "http://example.com",
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
profile-picture: none,
|
profile-picture: none,
|
||||||
language: "sp",
|
language: "sp",
|
||||||
)
|
)
|
||||||
|
|
||||||
#hiring-entity-info(entity-info: (
|
#hiring-entity-info(
|
||||||
target: "Company Recruitement Team",
|
entity-info: (
|
||||||
name: "Google, Inc.",
|
target: "Company Recruitement Team",
|
||||||
street-address: "1600 AMPHITHEATRE PARKWAY",
|
name: "Google, Inc.",
|
||||||
city: "MOUNTAIN VIEW, CA 94043",
|
street-address: "1600 AMPHITHEATRE PARKWAY",
|
||||||
))
|
city: "MOUNTAIN VIEW, CA 94043",
|
||||||
|
),
|
||||||
#letter-heading(
|
|
||||||
job-position: "Software Engineer",
|
|
||||||
addressee: "Sir or Madame",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#letter-heading(job-position: "Software Engineer", addressee: "Sir or Madame")
|
||||||
|
|
||||||
#coverletter-content[
|
#coverletter-content[
|
||||||
#lorem(100)
|
#lorem(100)
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
#import "@preview/modern-cv:0.4.0": *
|
#import "@preview/modern-cv:0.8.0": *
|
||||||
|
|
||||||
#show: resume.with(
|
#show: resume.with(
|
||||||
author: (
|
author: (
|
||||||
firstname: "John",
|
firstname: "John",
|
||||||
lastname: "Smith",
|
lastname: "Smith",
|
||||||
email: "js@example.com",
|
email: "js@example.com",
|
||||||
|
homepage: "https://example.com",
|
||||||
phone: "(+1) 111-111-1111",
|
phone: "(+1) 111-111-1111",
|
||||||
github: "DeveloperPaul123",
|
github: "DeveloperPaul123",
|
||||||
twitter: "typstapp",
|
twitter: "typstapp",
|
||||||
scholar: "",
|
scholar: "",
|
||||||
|
orcid: "0000-0000-0000-000X",
|
||||||
birth: "January 1, 1990",
|
birth: "January 1, 1990",
|
||||||
linkedin: "Example",
|
linkedin: "Example",
|
||||||
address: "111 Example St. Example City, EX 11111",
|
address: "111 Example St. Example City, EX 11111",
|
||||||
@@ -17,10 +19,21 @@
|
|||||||
"Software Architect",
|
"Software Architect",
|
||||||
"Developer",
|
"Developer",
|
||||||
),
|
),
|
||||||
|
custom: (
|
||||||
|
(
|
||||||
|
text: "Youtube Channel",
|
||||||
|
icon: "youtube",
|
||||||
|
link: "https://example.com",
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
|
profile-picture: image("profile.png"),
|
||||||
date: datetime.today().display(),
|
date: datetime.today().display(),
|
||||||
language: "en",
|
language: "en",
|
||||||
colored-headers: true,
|
colored-headers: true,
|
||||||
|
show-footer: false,
|
||||||
|
show-address-icon: true,
|
||||||
|
paper-size: "us-letter",
|
||||||
)
|
)
|
||||||
|
|
||||||
= Experience
|
= Experience
|
||||||
@@ -30,7 +43,7 @@
|
|||||||
location: "Example City, EX",
|
location: "Example City, EX",
|
||||||
date: "2019 - Present",
|
date: "2019 - Present",
|
||||||
description: "Example, Inc.",
|
description: "Example, Inc.",
|
||||||
title-link: "https://github.com/DeveloperPaul123"
|
title-link: "https://github.com/DeveloperPaul123",
|
||||||
)
|
)
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
@@ -46,6 +59,13 @@
|
|||||||
description: "Previous Company, Inc.",
|
description: "Previous Company, Inc.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#resume-item[
|
||||||
|
// content doesn't have to be bullet points
|
||||||
|
#lorem(72)
|
||||||
|
]
|
||||||
|
|
||||||
|
#resume-entry(title: "Intern", location: "Example City, EX")
|
||||||
|
|
||||||
#resume-item[
|
#resume-item[
|
||||||
- #lorem(20)
|
- #lorem(20)
|
||||||
- #lorem(15)
|
- #lorem(15)
|
||||||
@@ -81,14 +101,62 @@
|
|||||||
= Skills
|
= Skills
|
||||||
|
|
||||||
#resume-skill-item(
|
#resume-skill-item(
|
||||||
"Languages",
|
"Programming Languages",
|
||||||
(strong("C++"), strong("Python"), "Java", "C#", "JavaScript", "TypeScript"),
|
(
|
||||||
|
strong("C++"),
|
||||||
|
strong("Python"),
|
||||||
|
"Rust",
|
||||||
|
"Java",
|
||||||
|
"C#",
|
||||||
|
"JavaScript",
|
||||||
|
"TypeScript",
|
||||||
|
),
|
||||||
)
|
)
|
||||||
#resume-skill-item("Spoken Languages", (strong("English"), "Spanish"))
|
#resume-skill-item("Spoken Languages", (strong("English"), "Spanish"))
|
||||||
#resume-skill-item(
|
#resume-skill-item(
|
||||||
"Programs",
|
"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
|
= Education
|
||||||
|
|
||||||
|
|||||||
BIN
tests/resume/ref/1.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
64
tests/resume/test.typ
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
#import "@local/modern-cv:0.8.0": *
|
||||||
|
|
||||||
|
// setup the document like we do for the resume
|
||||||
|
#let font = "Source Sans 3"
|
||||||
|
#set text(font: font, size: 11pt, fill: color-darkgray, fallback: true)
|
||||||
|
|
||||||
|
#set page(
|
||||||
|
paper: "a4",
|
||||||
|
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
||||||
|
footer: [],
|
||||||
|
footer-descent: 0pt,
|
||||||
|
)
|
||||||
|
|
||||||
|
// set paragraph spacing
|
||||||
|
#set par(spacing: 0.75em, justify: true)
|
||||||
|
|
||||||
|
#set heading(numbering: none, outlined: false)
|
||||||
|
|
||||||
|
#show heading.where(level: 1): it => [
|
||||||
|
|
||||||
|
#set block(above: 1em, below: 1em)
|
||||||
|
#set text(size: 16pt, weight: "regular")
|
||||||
|
|
||||||
|
#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%))
|
||||||
|
]
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
#show heading.where(level: 2): it => {
|
||||||
|
set text(color-darkgray, size: 12pt, style: "normal", weight: "bold")
|
||||||
|
it.body
|
||||||
|
}
|
||||||
|
|
||||||
|
#show heading.where(level: 3): it => {
|
||||||
|
set text(size: 10pt, weight: "regular")
|
||||||
|
smallcaps[#it.body]
|
||||||
|
}
|
||||||
|
|
||||||
|
// test the resume functions
|
||||||
|
|
||||||
|
#resume-item("Education")
|
||||||
|
|
||||||
|
#resume-entry(
|
||||||
|
title: "BSc Computer Science",
|
||||||
|
location: "Example City",
|
||||||
|
date: "2019 - 2022",
|
||||||
|
description: "Achieved acaademic honors and awards.",
|
||||||
|
)
|
||||||
|
|
||||||
|
// resume-entry also support omitting the date and description
|
||||||
|
#resume-entry(title: "Title", location: "Location")
|
||||||
|
|
||||||
|
#resume-certification("Certified Scrum Master (CSM)", "Jan 2022")
|
||||||
|
|
||||||
|
#resume-skill-item("Programming", (strong["C++"], "Python", "Java"))
|
||||||
|
|
||||||
|
#resume-gpa("3.5", "4.0")
|
||||||
BIN
tests/utilities/ref/1.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
68
tests/utilities/test.typ
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
#import "@local/modern-cv:0.8.0": *
|
||||||
|
|
||||||
|
// setup the document like we do for the resume
|
||||||
|
#let font = "Source Sans 3"
|
||||||
|
#set text(font: font, size: 11pt, fill: color-darkgray, fallback: true)
|
||||||
|
|
||||||
|
#set page(
|
||||||
|
paper: "a4",
|
||||||
|
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
||||||
|
footer: [],
|
||||||
|
footer-descent: 0pt,
|
||||||
|
)
|
||||||
|
|
||||||
|
// set paragraph spacing
|
||||||
|
#set par(spacing: 0.75em, justify: true)
|
||||||
|
|
||||||
|
#set heading(numbering: none, outlined: false)
|
||||||
|
|
||||||
|
#show heading.where(level: 1): it => [
|
||||||
|
|
||||||
|
#set block(above: 1em, below: 1em)
|
||||||
|
#set text(size: 16pt, weight: "regular")
|
||||||
|
|
||||||
|
#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%))
|
||||||
|
]
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
#show heading.where(level: 2): it => {
|
||||||
|
set text(color-darkgray, size: 12pt, style: "normal", weight: "bold")
|
||||||
|
it.body
|
||||||
|
}
|
||||||
|
|
||||||
|
#show heading.where(level: 3): it => {
|
||||||
|
set text(size: 10pt, weight: "regular")
|
||||||
|
smallcaps[#it.body]
|
||||||
|
}
|
||||||
|
|
||||||
|
#justified-header("Modern CV", "A modern curriculum vitae template")
|
||||||
|
|
||||||
|
#secondary-justified-header("Created by", "DeveloperPaul123")
|
||||||
|
|
||||||
|
#github-link("DeveloperPaul123/modern-cv")
|
||||||
|
#linkedin-icon
|
||||||
|
#github-icon
|
||||||
|
#twitter-icon
|
||||||
|
#google-scholar-icon
|
||||||
|
#orcid-icon
|
||||||
|
#phone-icon
|
||||||
|
#email-icon
|
||||||
|
#birth-icon
|
||||||
|
#homepage-icon
|
||||||
|
#website-icon
|
||||||
|
#gitlab-icon
|
||||||
|
#bitbucket-icon
|
||||||
|
|
||||||
|
#square(size: 1em, fill: color-darkgray)
|
||||||
|
#square(size: 1em, fill: color-darknight)
|
||||||
|
#square(size: 1em, fill: color-gray)
|
||||||
|
#square(size: 1em, fill: default-accent-color)
|
||||||
|
#square(size: 1em, fill: default-location-color)
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "modern-cv"
|
name = "modern-cv"
|
||||||
version = "0.4.0"
|
version = "0.8.0"
|
||||||
compiler = "0.11.0"
|
compiler = "0.12.0"
|
||||||
entrypoint = "lib.typ"
|
entrypoint = "lib.typ"
|
||||||
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
|
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@@ -10,7 +10,6 @@ keywords = ["CV", "Curriculum Vitae", "Resume", "Minimalistic", "Professional",
|
|||||||
categories = ["cv"]
|
categories = ["cv"]
|
||||||
disciplines = []
|
disciplines = []
|
||||||
exclude = ["resume-documentation*", "scripts*", "assets/images/*"]
|
exclude = ["resume-documentation*", "scripts*", "assets/images/*"]
|
||||||
homepage = "https://github.com/DeveloperPaul123/modern-cv"
|
|
||||||
repository = "https://github.com/DeveloperPaul123/modern-cv"
|
repository = "https://github.com/DeveloperPaul123/modern-cv"
|
||||||
|
|
||||||
[template]
|
[template]
|
||||||
|
|||||||