Package Information
- Last Updated
- Minimum Typst Version
- 0.13.0
- Authors
- n4n5
- Categories
- cv
- Dependencies
- @preview/fontawesome:0.6.2
Preview
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/porygon:0.1.12. Initialize from template
Create a new project from this template:
typst init @preview/porygon:0.1.1porygon
This package uses fontawesome, you should install the font first.
Usage
#import "@preview/porygon:0.1.1": show-cv
#let path_json = sys.inputs.at("CV_JSON", default: "cv_data.json")
#let data = json(path_json)
#show-cv(data)
Compilation
typst compile cv.typ --input CV_LANG=en CV_en.pdf
typst compile cv.typ --input CV_LANG=fr CV_fr.pdf
Typst package
# compile template
typst compile template/porygon_template.typ
# export thumbnail as png
typst compile -f png --pages 1 --ppi 250 template/porygon_template.typ screenshots/porygon_template.png
oxipng screenshots/porygon_template.png