101 Commits

Author SHA1 Message Date
Paul Tsouchlos
74e939cfda chore: update version used in templates 2024-09-02 09:14:38 -04:00
Paul T
bfa22cf89a Merge pull request #55 from DeveloperPaul123/feature/show-hide-footer
feat: add ability to show/hide footer
2024-08-19 23:59:57 -04:00
Paul Tsouchlos
67e8c4ec7f feat: add ability to show/hide footer 2024-08-17 23:43:29 -04:00
Paul Tsouchlos
d6ac41a03b chore: bump version for next release 2024-08-17 23:31:48 -04:00
Paul T
07f2e2a6f6 Merge pull request #54 from DeveloperPaul123/feature/add-font-input
Add font input for resume and coverletter
2024-08-17 23:30:57 -04:00
Paul Tsouchlos
b661a92801 feat: add font input for coverletter 2024-08-17 23:28:48 -04:00
Paul Tsouchlos
f6f1e6f019 feat: add input for font in resume 2024-08-17 23:26:30 -04:00
Paul Tsouchlos
be02c50e20 feat: add snippet with updated resume-entry functionality 2024-08-17 23:26:16 -04:00
Paul T
23d4691994 Merge pull request #53 from gtn1024/patch-1
hidden date and description when both is empty
2024-08-17 20:18:29 -04:00
Taoning Ge
08f72ca1e5 hidden date and description when both is empty 2024-08-17 15:57:39 +08:00
Paul T
79a53ee9c1 Merge pull request #52 from gtn1024/homepage
feat: add homepage to contacts
2024-08-12 08:11:50 -04:00
Taoning Ge
8c6071a82d feat: add homepage to contacts 2024-08-12 09:32:43 +08:00
Paul T
f26afed219 Merge pull request #51 from hmyuuu/orcid
Add ORCID links with icons in the header
2024-07-30 08:02:41 -04:00
Huaiming Yu
9e65c85a0d Add orcid link 2024-07-30 15:29:18 +08:00
Paul T
9d2dff3a5b Merge pull request #49 from gtn1024/lang-zh
feat: add chinese language
2024-07-26 07:08:16 -04:00
Taoning Ge
4e71f1db53 feat: add chinese language 2024-07-26 10:09:47 +08:00
Paul Tsouchlos
4346e36a8d Merge branch 'main' of github.com:DeveloperPaul123/modern-cv 2024-07-23 09:38:37 -04:00
Paul Tsouchlos
41131cbb86 fix: import version in example 2024-07-23 09:38:24 -04:00
Paul T
d2aa55b889 Merge pull request #48 from DeveloperPaul123/release/0.5.0
`0.5.0` release back merge
2024-07-22 10:52:55 -04:00
Paul Tsouchlos
a2fe9ca40a chore: update doc generation package 2024-07-22 10:50:03 -04:00
Paul Tsouchlos
78a53befb5 fix: theming issues and update docs 2024-07-22 10:49:52 -04:00
Paul Tsouchlos
3845415587 format: auto-formatting 2024-07-22 09:52:18 -04:00
Paul Tsouchlos
650b2b0cec chore: update version in templates 2024-07-22 09:51:15 -04:00
Paul Tsouchlos
4dcb8ab7fd chore: bump version 2024-07-22 09:50:02 -04:00
Paul Tsouchlos
40427ffede fix: don't color resume-entry links 2024-07-22 09:49:51 -04:00
Paul T
2567ecb808 Merge pull request #47 from zundertj/patch-1
Update README example to use 0.4.0
2024-07-21 18:47:27 -04:00
J van Zundert
ab79ab2790 Update README example to use 0.4.0
As a new user (to typst and to modern-cv), I copy-pasted the example, got it working, and then started modifying using features released post 0.1.0 (such as `colored-headers`). It took me a while to figure out that the import is of a very old version.

PS: thank you for this package, works very well.
2024-07-21 09:20:34 +00:00
Paul T
9652a1cb90 Merge pull request #46 from hadim/hadim-patch-1
Tweaks + add new icons
2024-07-15 10:01:26 -04:00
Paul T
a721c30354 feat: use new features in template 2024-07-15 09:58:33 -04:00
Paul T
207a2f37b9 chore: remove spacing
I don't think this added space accomplishes much. Removing for now.
2024-07-15 09:55:53 -04:00
Paul T
aafb3b31f9 fix: remove italics
Italics can be unnecessarily hard to read.
2024-07-15 09:55:32 -04:00
Hadrien Mary
da7aec4451 Tweaks 2024-07-15 09:08:18 -04:00
Paul T
9837139dad Merge pull request #43 from DeveloperPaul123/release/0.4.0
Back-merge: 0.4.0 release
2024-07-10 15:17:41 -04:00
Paul T
7571cffd8b Revert "ci: run ci on pull requests"
This reverts commit 9cc5a62a50.
2024-07-09 17:08:41 -04:00
Paul T
9cc5a62a50 ci: run ci on pull requests 2024-07-09 17:07:33 -04:00
Paul T
fc3347ae75 chore: use new version in templates 2024-07-09 17:02:58 -04:00
Paul T
f03c687808 chore: bump version 2024-07-09 16:56:32 -04:00
Paul T
1c6e9e429f Merge pull request #42 from ruidajo/main
Updating the FontAwesome dependency and modifying the template const icons.
2024-07-09 15:53:17 -04:00
Paul T
a6a6108cae format: auto formatting 2024-07-09 15:33:36 -04:00
Paul T
85e9faf8dc chore: remove (now) unused icon 2024-07-09 15:33:21 -04:00
ruidajo
cf10c53032 Fixing fontawesome square-phone icon setting. 2024-07-09 12:49:17 -05:00
ruidajo
744a7657e0 Updating the FontAwesome dependency and modifying the template const icons. 2024-07-09 12:23:20 -05:00
Paul T
d97b816d20 Merge pull request #40 from DeveloperPaul123/fix/no-space-for-chinese-and-japanese
No space between first and last name for Japanese and Chinese languages
2024-07-08 16:12:40 -04:00
Paul T
4cefe9c2cd Merge branch 'fix/no-space-for-chinese-and-japanese' of github.com:DeveloperPaul123/modern-cv into fix/no-space-for-chinese-and-japanese 2024-06-23 20:31:48 -04:00
Paul T
53f3b721b2 fix: no space for name when language is zh or jp
For chinese and japanese, don't use a space between the firstname and lastname
2024-06-23 20:31:40 -04:00
Paul T
70e7f9cafd Merge pull request #41 from DeveloperPaul123/feature/make-address-optional
Mmake address optional
2024-06-23 20:31:13 -04:00
Paul T
0f4e404994 fix: try to address ci issues 2024-06-23 20:18:34 -04:00
Paul T
3afe98f056 feat: make address optional
Also improved how other fields in the `author` dictionary are checked so they can be omitted completely if the user so chooses. Currently they must be left empty to be omitted.
2024-06-23 20:15:57 -04:00
Paul T
a2ac2cfb18 fix: no space for name when language is zh or jp
For chinese and japanese, don't use a space between the firstname and lastname
2024-06-23 20:03:42 -04:00
Paul T
6f3a515d16 Merge pull request #39 from Blezz-tech/main
add russian language
2024-06-23 16:44:08 -04:00
Paul T
aa021a31d7 fix: add new line 2024-06-23 16:43:41 -04:00
Blezz-tech
0b5c18ec88 added optional option to override the "dear" variable 2024-06-22 16:27:37 +03:00
Blezz-tech
d9002d8a26 add russian language 2024-06-21 20:42:40 +03:00
Paul T
7baa016c88 Merge pull request #33 from Andres-AM/adding-font
including font Source Sans 3 line 434
2024-06-17 01:21:37 -04:00
Andres-AM
c73984ab81 including font Source Sans 3 line 434 2024-06-06 10:41:53 +02:00
Paul T
05ffbcef15 Merge pull request #30 from LucasGenoud/patch-1
feat: Added french as supported languages
2024-05-26 08:27:03 -04:00
Lucas Genoud
1dae612f74 feat: Added french as supported languages 2024-05-25 15:08:48 +02:00
Paul T
e948a09984 Merge pull request #29 from DeveloperPaul123/release/0.3.1
Release/0.3.1 back-merge
2024-05-14 12:11:25 -04:00
Paul T
04bc4ffbd7 chore: update version used in templates 2024-05-14 12:02:20 -04:00
Paul T
46a83e51c0 chore: update images 2024-05-14 12:01:37 -04:00
Paul T
377c0d9ff6 chore: update version 2024-05-14 12:01:26 -04:00
Paul T
8b27dbdaf2 fix: add sincerely to lang.toml
Added "Sincerely" in the coverletter to the list of translated words. Fixes #27
2024-05-14 11:52:51 -04:00
Paul T
21cdfb557b format: auto-formatting 2024-05-14 11:52:50 -04:00
Paul T
2f5ad86c6f chore: increment versions in templates 2024-05-14 11:52:50 -04:00
Paul T
07449e0394 Merge pull request #28 from lpchaim/language-portuguese
Add Portuguese translation
2024-05-14 09:41:31 -04:00
Lucas Chaim
9526f6a566 Add Portuguese translation
This PR adds Portuguese as a language option, language code pt.
2024-05-13 20:20:31 -03:00
Paul T
a7ce85d877 Merge pull request #25 from DerFetzer/patch-1
Support Source Sans Pro font with alternative name
2024-04-22 07:09:21 -07:00
DerFetzer
577ad93af7 Support Source Sans font with alternative name 2024-04-22 14:57:02 +02:00
Paul T
fad778ee86 Merge pull request #22 from DeveloperPaul123/feature/language-support
Add multi-langauge support
2024-04-15 13:05:34 -07:00
Paul T
f7a4ffdd17 docs: add docs on how to build and test template 2024-04-15 15:19:23 -04:00
Paul T
62286ddd14 chore: update images 2024-04-15 15:18:58 -04:00
Paul T
efd27110bd feat: add initial mult-lingaal support for template
Using linguify to support multiple languages
2024-04-15 13:07:43 -04:00
Paul T
033a0f7fbb chore: update thumbnails 2024-04-05 21:13:40 -04:00
Christoph Gross
bf1e3bd1f6 Ignore contact fields that are set to none (#16)
* Add optional contact info

Ignore contact fields that are set to none. 
Email is taken as the "priority" field which is most likely set and therefore doesn't have a separator field included. This could be either set to a different field or be replaced by a better function.

* Fix Expression error

---------

Co-authored-by: Paul T <developer.paul.123@gmail.com>
2024-04-05 21:10:12 -04:00
Paul T
201f6f7657 chore: update version to 0.3.0 2024-04-05 17:48:54 -07:00
Paul T
e477fc04df chore: add new line 2024-04-05 17:48:54 -07:00
Paul T
12ea6807a3 chore: update readme and screenshots 2024-04-05 17:48:54 -07:00
Paul T
6bd4116307 fix: update examples based on template changes 2024-04-05 17:48:54 -07:00
Paul T
d2482e1198 fix: minor issues with accent color, switch to kebab-case
Fixed minor issue with accent color and switch (fully) to using kebab case.

Fixes #17
Fixes #19
2024-04-05 17:48:54 -07:00
Paul T
9654d6ef7c build: ignore asset files when releasing package 2024-04-05 17:48:54 -07:00
Paul T
b23f46b9ba chore: shared repo config from fork 2024-04-05 17:48:54 -07:00
Paul T
bd9bfc1733 format: auto format update 2024-04-05 17:48:54 -07:00
Paul T
87e0609aa9 format: auto-formatting 2024-04-05 17:48:54 -07:00
Paul T
bf166be9fb feat: add script to format typst files 2024-04-05 17:48:54 -07:00
Paul T
0b7481e9be feature: add another coverletter example 2024-04-02 14:59:54 -07:00
Paul T
1709d6458d docs: add blurb in README about docs 2024-04-01 07:25:35 -07:00
Paul T
0d70af373b chore: update to checkout@v4 2024-04-01 07:25:35 -07:00
Paul T
5f91afd694 ci: fix output file name 2024-04-01 07:25:35 -07:00
Paul T
a0e579493a ci: fix package spelling 2024-04-01 07:25:35 -07:00
Paul T
15a6288165 ci: install needed fonts 2024-04-01 07:25:35 -07:00
Paul T
0dbf348b2b ci: set up initial script
Add CI to build documentation with each push
2024-04-01 07:25:35 -07:00
Paul T
311bf4fcc5 chore: minor README update 2024-04-01 06:26:47 -07:00
Paul T
c706d87704 feat(template): update resume and coverletter template
Updated template based on feedback from Lemmy and else where. Changes coloring scheme as well as some of the font/font weight and style used. Overall, this makes everything a lot more readable and easier to scan at a glance.
2024-04-01 06:26:47 -07:00
Paul T
803aea96cd chore: move image locations in repo 2024-04-01 06:26:47 -07:00
Paul T
48fc43779e build: add script to generate preview images 2024-04-01 06:26:47 -07:00
Paul T
d4ba30d3f2 chore: read version from toml when installing package locally
Updated script to read the package version from the toml file
2024-04-01 06:26:47 -07:00
Brandon Hu
6330bded37 fix(typos): replaced _ with - 2024-03-29 19:34:42 -07:00
Paul T
d73acd5dea chore: add funding.yml 2024-03-28 11:35:22 -04:00
Paul T
009adbe248 docs: update readme docs and reorganize images
Moved images to central folder and updated usage docs in the README
2024-03-28 08:31:48 -04:00
Paul T
bde0b7120c docs: update build/usage documentation
Resolves #2
2024-03-27 20:25:24 -04:00
Paul Tsouchlos
4f43e0b2b3 docs: fix formatting issue in README 2024-03-26 09:17:01 -07:00
24 changed files with 722 additions and 420 deletions

View File

@@ -0,0 +1,16 @@
[
{
"version" : 1
},
{
"action" : {
"script" : "${repo:path}/scripts/format_typst.ps1",
"showOutput" : true,
"type" : "sh",
"waitForExit" : true
},
"name" : "Format",
"os" : "windows",
"target" : "revision"
}
]

3
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
# Thanks for any donations! :)
github: DeveloperPaul123

View File

@@ -0,0 +1,23 @@
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

7
.issuetracker Normal file
View File

@@ -0,0 +1,7 @@
# Integration with Issue Tracker
#
# (note that '\' need to be escaped).
[issuetracker "Github"]
regex = "#(\\d+)"
url = "https://github.com/DeveloperPaul123/modern-cv/issues/$1"

View File

@@ -3,6 +3,7 @@
[![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)
![Release](https://img.shields.io/github/v/release/DeveloperPaul123/modern-cv)
[![Build documentation](https://github.com/DeveloperPaul123/modern-cv/actions/workflows/build-documentation.yml/badge.svg)](https://github.com/DeveloperPaul123/modern-cv/actions/workflows/build-documentation.yml)
A port of the [Awesome-CV](https://github.com/posquit0/Awesome-CV) Latex resume template in [typst](https://github.com/typst/typst).
@@ -13,7 +14,11 @@ You will need the `Roboto` and `Source Sans Pro` fonts installed on your system
- [Roboto](https://fonts.google.com/specimen/Roboto)
- [Source Sans Pro](https://github.com/adobe-fonts/source-sans-pro)
This template also uses FontAwesome icons via the `[fontawesome](https://typst.app/universe/package/fontawesome)` package.
This template also uses FontAwesome icons via the [fontawesome](https://typst.app/universe/package/fontawesome) package. You will need to install the fontawesome fonts on your system or configure the `typst` web app to use them. You can download fontawesome [here](https://fontawesome.com/download).
To use the fontawesome icons in the web app, add a `fonts` folder to your project and upload the `otf` files from the fontawesome download to this folder like so:
![alt text](assets/images/typst_web_editor.png)
See `typst fonts --help` for more information on configuring fonts for `typst` that are not installed on your system.
@@ -22,7 +27,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.1.0": *
#import "@preview/modern-cv:0.5.0": *
#show: resume.with(
author: (
@@ -43,22 +48,58 @@ Below is a basic example for a simple resume:
= Education
#resume_entry(
#resume-entry(
title: "Example University",
location: "B.S. in Computer Science",
date: "August 2014 - May 2019",
description: "Example"
)
#resume_item[
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
]
```
### Output
After saving to a `*.typ` file, compile your resume using the following command:
| | |
```bash
typst compile resume.typ
```
For more information on how to use and compile `typst` files, see the [official documentation](https://typst.app/docs).
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](resume.png) | ![Coverletter](coverletter.png) |
| ![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://typst.app/docs/getting-started).
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:
```typst
#import "@local/modern-cv:0.3.0": *
````
Note that the script parses the `typst.toml` to determine the version number and the folder the local files are installed to.
### 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.
## License
The project is licensed under the MIT license. See [LICENSE](LICENSE) for more details.
## Author
| [<img src="https://avatars0.githubusercontent.com/u/6591180?s=460&v=4" width="100"><br><sub>@DeveloperPaul123</sub>](https://github.com/DeveloperPaul123) |
|:----:|

View File

@@ -1,165 +0,0 @@
Fonticons, Inc. (https://fontawesome.com)
--------------------------------------------------------------------------------
Font Awesome Free License
Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license/free.
--------------------------------------------------------------------------------
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
The Font Awesome Free download is licensed under a Creative Commons
Attribution 4.0 International License and applies to all icons packaged
as SVG and JS file types.
--------------------------------------------------------------------------------
# Fonts: SIL OFL 1.1 License
In the Font Awesome Free download, the SIL OFL license applies to all icons
packaged as web and desktop font files.
Copyright (c) 2023 Fonticons, Inc. (https://fontawesome.com)
with Reserved Font Name: "Font Awesome".
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting — in part or in whole — any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
--------------------------------------------------------------------------------
# Code: MIT License (https://opensource.org/licenses/MIT)
In the Font Awesome Free download, the MIT license applies to all non-font and
non-icon files.
Copyright 2023 Fonticons, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
# Attribution
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
Awesome Free files already contain embedded comments with sufficient
attribution, so you shouldn't need to do anything additional when using these
files normally.
We've kept attribution comments terse, so we ask that you do not actively work
to remove them from files, especially code. They're a great way for folks to
learn about Font Awesome.
--------------------------------------------------------------------------------
# Brand Icons
All brand icons are trademarks of their respective owners. The use of these
trademarks does not indicate endorsement of the trademark holder by Font
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
to represent the company, product, or service to which they refer.**

View File

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm90.7 96.7c9.7-2.6 19.9 2.3 23.7 11.6l20 48c3.4 8.2 1 17.6-5.8 23.2L168 231.7c16.6 35.2 45.1 63.7 80.3 80.3l20.2-24.7c5.6-6.8 15-9.2 23.2-5.8l48 20c9.3 3.9 14.2 14 11.6 23.7l-12 44C336.9 378 329 384 320 384C196.3 384 96 283.7 96 160c0-9 6-16.9 14.7-19.3l44-12z"/></svg>

Before

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

BIN
assets/images/resume.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

BIN
assets/images/resume2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 KiB

66
lang.toml Normal file
View File

@@ -0,0 +1,66 @@
[conf]
default-lang = "en"
[lang.en]
resume = "Résumé"
dear = "Dear"
cover-letter = "Cover Letter"
attached = "Attached"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincerely"
[lang.de]
resume = "Lebenslauf"
dear = "Sehr geehrte"
cover-letter = "Anschreiben"
attached = "Angehängt"
curriculum-vitae = "Lebenslauf"
sincerely = "Aufrichtig"
[lang.gr]
resume = "Βιογραφικό"
dear = "Αγαπητέ"
cover-letter = "Συνοδευτική Επιστολή"
attached = "Συνημμένο"
curriculum-vitae = "Βιογραφικό"
sincerely = "Με εκτίμηση"
[lang.pt]
resume = "Currículo"
dear = "Caro(a)"
cover-letter = "Carta de Apresentação"
attached = "Em anexo"
curriculum-vitae = "Currículo"
sincerely = "Atenciosamente"
[lang.sp]
resume = "Currículum"
dear = "Estimado"
cover-letter = "Carta de Presentación"
attached = "Adjunto"
curriculum-vitae = "Currículum"
sincerely = "Sinceramente"
[lang.fr]
resume = "Curriculum Vitae"
dear = "Cher/Chère"
cover-letter = "Lettre de motivation"
attached = "Ci-joint"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincèrement"
[lang.ru]
resume = "Резюме"
dear = "Уважаемый"
cover-letter = "Сопроводительное письмо"
attached = "Прилагается"
curriculum-vitae = "Биографическая справка"
sincerely = "Искренне"
[lang.zh]
resume = "简历"
dear = "亲爱的"
cover-letter = "求职信"
attached = "附件"
curriculum-vitae = "简历"
sincerely = "真诚的"

576
lib.typ
View File

@@ -1,17 +1,33 @@
#import "@preview/fontawesome:0.1.0": *
#import "@preview/fontawesome:0.2.1": *
#import "@preview/linguify:0.4.0": *
// const color
#let color-darknight = rgb("131A28")
#let color-darkgray = rgb("414141")
#let color-gray = rgb("5d5d5d")
#let default-accent-color = rgb("333ECC")
#let color-darknight = rgb("#131A28")
#let color-darkgray = rgb("#333333")
#let color-gray = rgb("#5d5d5d")
#let default-accent-color = rgb("#262F99")
#let default-location-color = rgb("#333333")
// const icons
#let linkedin-icon = box(fa-icon("linkedin", fa-set: "Brands", fill: color-darknight))
#let github-icon = box(fa-icon("github", fa-set: "Brands", fill: color-darknight))
// for some reason this icon doesn't work with fa-icon, so we use the local version
#let phone-icon = box(image("assets/icons/square-phone-solid.svg"))
#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))
/// Helpers
@@ -47,31 +63,83 @@
]
}
#let __coverletter_footer(author, language, date, lang_data) = {
set text(
fill: gray,
size: 8pt,
)
__justify_align_3[
#smallcaps[#date]
][
#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)
]
][
#counter(page).display()
]
}
#let __resume_footer(author, language, lang_data, date) = {
set text(
fill: gray,
size: 8pt,
)
__justify_align_3[
#smallcaps[#date]
][
#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)
]
][
#counter(page).display()
]
}
/// Show a link with an icon, specifically for Github projects
/// *Example*
/// #example(`resume.github-link("DeveloperPaul123/awesome-resume")`)
/// - github_path (string): The path to the Github project (e.g. "DeveloperPaul123/awesome-resume")
/// - github-path (string): The path to the Github project (e.g. "DeveloperPaul123/awesome-resume")
/// -> none
#let github-link(github_path) = {
#let github-link(github-path) = {
set box(height: 11pt)
align(right + horizon)[
#fa-icon("github", fa-set: "Brands", fill: color-darkgray) #link("https://github.com/" + github_path, github_path)
#fa-icon("github", fill: color-darkgray) #link(
"https://github.com/" + github-path,
github-path,
)
]
}
/// Right section for the justified headers
/// - body (content): The body of the right header
/// - accent_color (color): The accent color to color the text with. This defaults to the default-accent-color
#let secondary-right-header(body, accent_color: default-accent-color) = {
set text(accent_color, size: 11pt, style: "italic", weight: "light")
#let secondary-right-header(body) = {
set text(
size: 11pt,
weight: "medium",
)
body
}
/// Right section of a tertiaty headers.
/// - body (content): The body of the right header
#let tertiary-right-header(body) = {
set text(weight: "light", style: "italic", size: 9pt)
set text(
weight: "light",
size: 9pt,
)
body
}
@@ -79,7 +147,10 @@
/// - 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
@@ -93,11 +164,11 @@
/// - primary (content): The primary section of the header
/// - secondary (content): The secondary section of the header
#let secondary-justified-header(primary, secondary) = {
__justify_align[
=== #primary
][
#tertiary-right-header[#secondary]
]
__justify_align[
=== #primary
][
#tertiary-right-header[#secondary]
]
}
/// --- End of Helpers
@@ -109,77 +180,97 @@
///
/// - author (content): Structure that takes in all the author's information
/// - date (string): The date the resume was created
/// - accent_color (color): The accent color of the resume
/// - 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
/// - body (content): The body of the resume
/// -> none
#let resume(
author: (:),
date: datetime.today().display("[month repr:long] [day], [year]"),
accent_color: default-accent-color,
body) = {
author: (:),
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"),
body,
) = {
if type(accent-color) == "string" {
accent-color = rgb(accent-color)
}
let lang_data = toml("lang.toml")
set document(
author: author.firstname + " " + author.lastname,
author: author.firstname + " " + author.lastname,
title: "resume",
)
set text(
font: ("Source Sans Pro"),
lang: "en",
font: font,
lang: language,
size: 11pt,
fill: color-darkgray,
fallback: true
fallback: true,
)
set page(
paper: "a4",
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
footer: [
#set text(fill: gray, size: 8pt)
#__justify_align_3[
#smallcaps[#date]
][
#smallcaps[
#author.firstname
#author.lastname
#sym.dot.c
#"Résumé"
]
][
#counter(page).display()
]
],
footer: if show-footer [#__resume_footer(author, language, lang_data, date)] else [],
footer-descent: 0pt,
)
// set paragraph spacing
show par: set block(above: 0.75em, below: 0.75em)
show par: set block(
above: 0.75em,
below: 0.75em,
)
set par(justify: true)
set heading(
numbering: none,
outlined: false,
)
show heading.where(level:1): it => [
#set block(above: 1em, below: 1em)
show heading.where(level: 1): it => [
#set block(
above: 1em,
below: 1em,
)
#set text(
size: 16pt,
weight: "regular"
weight: "regular",
)
#align(left)[
#text[#strong[#text(accent_color)[#it.body.text.slice(0, 3)]]]#strong[#text[#it.body.text.slice(3)]]
#align(left)[
#let color = if colored-headers {
accent-color
} else {
color-darkgray
}
#text[#strong[#text(color)[#it.body.text]]]
#box(width: 1fr, line(length: 100%))
]
]
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]
}
@@ -187,67 +278,117 @@
align(center)[
#pad(bottom: 5pt)[
#block[
#set text(size: 32pt, style: "normal", font: ("Roboto"))
#text(accent_color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
#set text(
size: 32pt,
style: "normal",
font: ("Roboto"),
)
#if language == "zh" or language == "ja" [
#text(
accent-color,
weight: "thin",
)[#author.firstname]#text(weight: "bold")[#author.lastname]
] else [
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
]
]
]
]
}
let positions = {
set text(
accent_color,
accent-color,
size: 9pt,
weight: "regular"
weight: "regular",
)
align(center)[
#smallcaps[
#author.positions.join(
text[#" "#sym.dot.c#" "]
text[#" "#sym.dot.c#" "],
)
]
]
}
let address = {
set text(
size: 9pt,
weight: "bold",
style: "italic",
weight: "regular",
)
align(center)[
#author.address
#if ("address" in author) [
#author.address
]
]
}
let contacts = {
set box(height: 9pt)
let separator = box(width: 5pt)
align(center)[
#set text(size: 9pt, weight: "regular", style: "normal")
#set text(
size: 9pt,
weight: "regular",
style: "normal",
)
#block[
#align(horizon)[
#phone-icon
#box[#text(author.phone)]
#separator
#email-icon
#box[#link("mailto:" + author.email)[#author.email]]
#separator
#github-icon
#box[#link("https://github.com/" + author.github)[#author.github]]
#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[#text(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 ("linkedin" in author) [
#separator
#linkedin-icon
#box[
#link("https://www.linkedin.com/in/" + author.linkedin)[#author.linkedin]
]
]
#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]]
]
]
]
]
]
}
name
positions
address
@@ -259,7 +400,12 @@
/// This formats the item for the resume entries. Typically your body would be a bullet list of items. Could be your responsibilities at a company or your academic achievements in an educational background section.
/// - body (content): The body of the resume entry
#let resume-item(body) = {
set text(size: 10pt, style: "normal", weight: "light")
set text(
size: 10pt,
style: "normal",
weight: "light",
fill: color-darknight,
)
set par(leading: 0.65em)
body
}
@@ -269,15 +415,30 @@
/// - location (string): The location of the resume entry
/// - 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: "",
title: none,
location: "",
date: "",
description: ""
description: "",
title-link: none,
accent-color: default-accent-color,
location-color: default-location-color,
) = {
let title-content
if type(title-link) == "string" {
title-content = link(title-link)[#title]
} else {
title-content = title
}
pad[
#justified-header(title, location)
#secondary-justified-header(description, date)
#justified-header(title-content, location)
#if description != "" or date != "" [
#secondary-justified-header(description, date)
]
]
}
@@ -285,7 +446,11 @@
/// *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]]
}
@@ -314,7 +479,11 @@
== #category
],
align(left)[
#set text(size: 11pt, style: "normal", weight: "light")
#set text(
size: 11pt,
style: "normal",
weight: "light",
)
#items.join(", ")
],
)
@@ -328,69 +497,71 @@
/// 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
/// - profile_picture (image): The profile picture of the author. This will be cropped to a circle and should be square in nature.
/// - profile-picture (image): The profile picture of the author. This will be cropped to a circle and should be square in nature.
/// - date (date): The date the cover letter was created
/// - accent_color (color): The accent color of the cover letter
/// - accent-color (color): The accent color of the cover letter
/// - body (content): The body of the cover letter
#let coverletter(
author: (:),
profile_picture: image,
author: (:),
profile-picture: image,
date: datetime.today().display("[month repr:long] [day], [year]"),
accent_color: default-accent-color,
body
accent-color: default-accent-color,
language: "en",
font: ("Source Sans Pro", "Source Sans 3"),
show-footer: true,
body,
) = {
if type(accent-color) == "string" {
accent-color = rgb(accent-color)
}
// language data
let lang_data = toml("lang.toml")
set document(
author: author.firstname + " " + author.lastname,
title: "resume",
author: author.firstname + " " + author.lastname,
title: "cover-letter",
)
set text(
font: ("Source Sans Pro"),
lang: "en",
font: font,
lang: language,
size: 11pt,
fill: color-darkgray,
fallback: true
fallback: true,
)
set page(
paper: "a4",
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
footer: [
#set text(fill: gray, size: 8pt)
#__justify_align_3[
#smallcaps[#date]
][
#smallcaps[
#author.firstname
#author.lastname
#sym.dot.c
#"Cover Letter"
]
][
#counter(page).display()
]
],
footer: if show-footer [#__coverletter_footer(author, language, date, lang_data)] else [],
footer-descent: 0pt,
)
// set paragraph spacing
show par: set block(above: 0.75em, below: 0.75em)
show par: set block(
above: 0.75em,
below: 0.75em,
)
set par(justify: true)
set heading(
numbering: none,
outlined: false,
)
show heading: it => [
#set block(above: 1em, below: 1em)
#set block(
above: 1em,
below: 1em,
)
#set text(
size: 16pt,
weight: "regular"
weight: "regular",
)
#align(left)[
#text[#strong[#text(accent_color)[#it.body.text.slice(0, 3)]]]#strong[#text[#it.body.text.slice(3)]]
#align(left)[
#text[#strong[#text(accent-color)[#it.body.text]]]
#box(width: 1fr, line(length: 100%))
]
]
@@ -399,136 +570,187 @@
align(right)[
#pad(bottom: 5pt)[
#block[
#set text(size: 32pt, style: "normal", font: ("Roboto"))
#text(accent_color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
#set text(
size: 32pt,
style: "normal",
font: ("Roboto"),
)
#if language == "zh" or language == "ja" [
#text(
accent-color,
weight: "thin",
)[#author.firstname]#text(weight: "bold")[#author.lastname]
] else [
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
]
]
]
]
}
let positions = {
set text(
accent_color,
accent-color,
size: 9pt,
weight: "regular"
weight: "regular",
)
align(right)[
#smallcaps[
#author.positions.join(
text[#" "#sym.dot.c#" "]
text[#" "#sym.dot.c#" "],
)
]
]
}
let address = {
set text(
size: 9pt,
weight: "regular",
style: "italic",
fill: color-gray
weight: "bold",
fill: color-gray,
)
align(right)[
#author.address
#if ("address" in author) [
#author.address
]
]
}
let contacts = {
set box(height: 9pt)
let separator = [#box(sym.bar.v)]
align(right)[
#set text(size: 8pt, weight: "light", style: "normal")
#set text(
size: 8pt,
weight: "light",
style: "normal",
)
#block[
#align(horizon)[
#stack(dir: ltr, spacing: 0.5em,
phone-icon,
box[#text(author.phone)],
separator,
email-icon,
box[#link("mailto:" + author.email)[#author.email]],
separator,
github-icon,
box[#link("https://github.com/" + author.github)[#author.github]],
separator,
linkedin-icon,
box[
#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]
]
],
)
]
]
]
]
}
let letter-heading = {
grid(columns: (1fr, 2fr),
grid(
columns: (1fr, 2fr),
rows: (100pt),
align(left+horizon)[
#block(clip: true, stroke: 0pt, radius: 2cm,
width: 4cm, height: 4cm, profile_picture)
align(left + horizon)[
#block(
clip: true,
stroke: 0pt,
radius: 2cm,
width: 4cm,
height: 4cm,
profile-picture,
)
],
[
#name
#positions
#address
#contacts
]
],
)
}
let letter_conclusion = {
let letter-conclusion = {
align(bottom)[
#pad(bottom: 2em)[
#text(weight: "light")[Sincerely,] \
#text(weight: "light")[#linguify(
"sincerely",
from: lang_data,
)#sym.comma] \
#text(weight: "bold")[#author.firstname #author.lastname] \ \
#text(weight: "light", style: "italic")[Attached: Curriculum Vitae]
#text(weight: "light", style: "italic")[ #linguify(
"attached",
from: lang_data,
)#sym.colon #linguify("curriculum-vitae", from: lang_data)]
]
]
}
// actual content
letter-heading
body
linebreak()
letter_conclusion
letter-conclusion
}
/// Cover letter heading that takes in the information for the hiring company and formats it properly.
/// - entity_info (content): The information of the hiring entity including the company name, the target (who's attention to), street address, and city
/// - entity-info (content): The information of the hiring entity including the company name, the target (who's attention to), street address, and city
/// - date (date): The date the letter was written (defaults to the current date)
#let hiring-entity-info(entity_info: (:), date: datetime.today().display("[month repr:long] [day], [year]")) = {
#let hiring-entity-info(
entity-info: (:),
date: datetime.today().display("[month repr:long] [day], [year]"),
) = {
set par(leading: 1em)
pad(top: 1.5em, bottom: 1.5em)[
#__justify_align[
#text(weight: "bold", size: 12pt)[#entity_info.target]
#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 \
#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
/// - job-position (string): The job position you are applying for
/// - addressee (string): The person you are addressing the letter to
#let letter-heading(job_position: "", addressee: "") = {
/// - dear (string): optional field for redefining the "dear" variable
#let letter-heading(job-position: "", addressee: "", dear: "") = {
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)[Job Application for #job-position]
]
pad(top: 1em, bottom: 1em)[
#text(weight: "light", fill: color-gray)[
Dear #addressee,
#if dear == "" [
#linguify("dear", from: lang_data)
] else [
#dear
]
#addressee,
]
]
}

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 KiB

5
scripts/format_typst.ps1 Normal file
View File

@@ -0,0 +1,5 @@
# 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 }

View File

@@ -1,3 +1,10 @@
# 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/0.1.0"
$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

View File

@@ -0,0 +1,5 @@
typst compile -f png $PSScriptRoot/../template/resume.typ $PSScriptRoot/../assets/images/resume.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
oxipng.exe $PSScriptRoot/../assets/images/*

View File

@@ -1,39 +1,41 @@
#import "@preview/modern-cv:0.1.0":*
#import "@preview/modern-cv:0.6.0": *
#show: coverletter.with(
author: (
firstname: "John",
lastname: "Smith",
email: "js@gmail.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
linkedin: "John Smith",
address: "111 Example St. Apt. 111, Example City, EX 11111",
positions: (
"Software Engineer",
"Full Stack Developer"
)
firstname: "John",
lastname: "Smith",
email: "js@gmail.com",
homepage: "https://example.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
linkedin: "John Smith",
address: "111 Example St. Apt. 111, Example City, EX 11111",
positions: (
"Software Engineer",
"Full Stack Developer",
),
),
profile_picture: image("./profile.png")
profile-picture: image("./profile.png"),
language: "en",
font: "Times New Roman",
// show-footer: false, // Uncomment to hide footer
)
#hiring-entity-info(
entity_info: (
target: "Company Recruitement Team",
name: "Google, Inc.",
street_address: "1600 AMPHITHEATRE PARKWAY",
city: "MOUNTAIN VIEW, CA 94043"
)
)
#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"
job-position: "Software Engineer",
addressee: "Sir or Madame",
)
= About Me
#coverletter-content[
#lorem(80)
#lorem(80)
]
= Why Google?

44
template/coverletter2.typ Normal file
View File

@@ -0,0 +1,44 @@
#import "@preview/modern-cv:0.6.0": *
#show: coverletter.with(
author: (
firstname: "John",
lastname: "Smith",
email: "js@gmail.com",
homepage: "https://example.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
linkedin: "John Smith",
address: "111 Example St. Apt. 111, Example City, EX 11111",
positions: (
"Software Engineer",
"Full Stack Developer",
),
),
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",
)
#coverletter-content[
#lorem(100)
]
#coverletter-content[
#lorem(90)
]
#coverletter-content[
#lorem(110)
]

View File

@@ -1,63 +1,69 @@
#import "@preview/modern-cv:0.1.0": *
#import "@preview/modern-cv:0.6.0": *
#show: resume.with(
author: (
firstname: "John",
lastname: "Smith",
email: "js@example.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
linkedin: "Example",
address: "111 Example St. Example City, EX 11111",
positions: (
"Software Engineer",
"Software Architect"
)
firstname: "John",
lastname: "Smith",
email: "js@example.com",
homepage: "https://example.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
twitter: "typstapp",
scholar: "",
orcid: "0000-0000-0000-000X",
birth: "January 1, 1990",
linkedin: "Example",
address: "111 Example St. Example City, EX 11111",
positions: (
"Software Engineer",
"Software Architect",
"Developer",
),
),
date: datetime.today().display()
date: datetime.today().display(),
language: "en",
colored-headers: true,
show-footer: false,
)
= Education
#resume-entry(
title: "Example University",
location: "B.S. in Computer Science",
date: "August 2014 - May 2019",
description: "Example"
)
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
]
= Experience
#resume-entry(
title: "Example, Inc.",
title: "Senior Software Engineer",
location: "Example City, EX",
date: "2019 - Present",
description: "Senior Software Engineer"
description: "Example, Inc.",
title-link: "https://github.com/DeveloperPaul123",
)
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
- #lorem(25)
]
#resume-entry(
title: "Previous Company, Inc.",
title: "Software Engineer",
location: "Example City, EX",
date: "2011 - 2019",
description: "Software Engineer"
description: "Previous Company, Inc.",
)
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
- #lorem(25)
]
#resume-entry(
title: "Intern",
location: "Example City, EX",
)
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
]
= Projects
@@ -66,7 +72,7 @@
title: "Thread Pool C++ Library",
location: [#github-link("DeveloperPaul123/thread-pool")],
date: "May 2021 - Present",
description: "Designer/Developer"
description: "Designer/Developer",
)
#resume-item[
@@ -75,10 +81,10 @@
]
#resume-entry(
title: " Event Bus C++ Library",
title: "Event Bus C++ Library",
location: github-link("DeveloperPaul123/eventbus"),
date: "Sep. 2019 - Present",
description: "Designer/Developer"
description: "Designer/Developer",
)
#resume-item[
@@ -88,6 +94,27 @@
= Skills
#resume-skill-item("Programming Languages", (strong("C++"), "Python", "Java", "C#", "JavaScript", "TypeScript"))
#resume-skill-item(
"Languages",
(strong("C++"), strong("Python"), "Java", "C#", "JavaScript", "TypeScript"),
)
#resume-skill-item("Spoken Languages", (strong("English"), "Spanish"))
#resume-skill-item("Programs", (strong("Excel"),"Word"))
#resume-skill-item(
"Programs",
(strong("Excel"), "Word", "Powerpoint", "Visual Studio"),
)
= Education
#resume-entry(
title: "Example University",
location: "Example City, EX",
date: "August 2014 - May 2019",
description: "B.S. in Computer Science",
)
#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
]

View File

@@ -1,6 +1,6 @@
[package]
name = "modern-cv"
version = "0.1.0"
version = "0.6.0"
compiler = "0.11.0"
entrypoint = "lib.typ"
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
@@ -9,11 +9,11 @@ description = "A modern resume template based on the Awesome-CV Latex template."
keywords = ["CV", "Curriculum Vitae", "Resume", "Minimalistic", "Professional", "Modern"]
categories = ["cv"]
disciplines = []
exclude = ["resume-documentation*", "scripts*"]
exclude = ["resume-documentation*", "scripts*", "assets/images/*"]
homepage = "https://github.com/DeveloperPaul123/modern-cv"
repository = "https://github.com/DeveloperPaul123/modern-cv"
[template]
path = "template"
entrypoint = "resume.typ"
thumbnail = "resume.png"
thumbnail = "assets/images/resume.png"