Skip to content

Lulliter/cv_typst

Repository files navigation

CV

My CV (in ENG and ITA) made with quarto & typstcv pckg.

What is typst?

typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use.

Source: Nicola Rennie's blog post{width="339"}

It can be installed on macOS with

# shell
brew install typst

How do typst and Quarto interact?

Check it out here

With the latest 1.4 release of Quarto, you can now use typst as an output format!

# shell
quarto --version # 1.4.550

How to use typst as a format?

# YAML
---
title: "Hello Typst!"
format: typst
---

How to use typstcv (specifically) as a format?

typstcv provides helper functions for rendering a CV like this.

This can be installed with:

# R
install.packages("typstcv", repos = "https://kazuyanagimoto.r-universe.dev") 

Basically it is a *.qmd file that has format...

# YAML 
---
format:
  awesomecv-typst:
    font-paths: ["PATH_TO_FONT"]
---    

...and is rendered into a *.pdf file.

  • it allows fontawesome icons
  • it allows SVG icons
  • it basically helps with a resume_entry() function that makes it easier to write a CV.
  • in my case, all the CV info are *.csv files stored in a data/ folder, and then called with readr::read_csv().
  • the final, rendered, cv*.pdf files are saved in the docs/ folder
  • hopefully, with renv.lock in the mix, this won't break too soon 🤞🏻

Under the hood, the extension awesomecv-typst has 2 key files:

  • _extensions/kazuyanagimoto/awesomecv/typst-template.typ ~ the core template file. It defines the styling of the document.
  • _extensions/kazuyanagimoto/awesomecv/typst-show.typ ~ a file that calls the template. It maps Pandoc metadata to template function arguments. .

Acknowledgments

I adapted the example kindly provided by Kazuharu Yanagimoto 👏🏻, who is the creator of the typstcv package.

About

CV made with quarto & typstcv pckg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published