Skip to content

pavelzw/moderner-cv

Repository files navigation

moderner-cv

License CI Latest release

This is a typst adaptation of LaTeX's moderncv, a modern curriculum vitae class.

Requirements

This template uses FontAwesome icons via the fontawesome typst package. In order to properly use it, you need to have fontawesome installed on your system or have typst configured (via --font-path) to use the fontawesome font files. You can download fontawesome here.

Tip

You can use typst in combination with pixi to easily add fontawesome to your project and run it reproducibly anywhere.

[dependencies]
typst = ">=0.12.0"
typstyle = ">=0.12"
font-otf-fontawesome = "*"

Usage

#import "@preview/moderner-cv:0.1.1": *

#show: moderner-cv.with(
  name: "Jane Doe",
  lang: "en",
  social: (
    email: "[email protected]",
    github: "jane-doe",
    linkedin: "jane-doe",
    // custom socials: (icon, link, body)
    // any fontawesome icon can be used: https://fontawesome.com/search
    website: ("link", "https://example.me", "example.me"),
  ),
)

// ...

Examples

Jane Doe's CV

Building and Testing Locally

To build and test the template locally, you can run pixi run watch in the root of this repository. Please ensure to use the version of moderner-cv that is in this repository instead of the one on the typst universe by temporarily changing the import in cv.typ to #import "../lib.typ": *.