Giter Site home page Giter Site logo

typst-modern-cv's Introduction

Typst Modern CV

A modern Curriculum Vitæ (CV) template with timelines

https://git.claudiomattera.it/claudiomattera/typst-modern-cv

This is a template for modern and good-looking CVs. It was inspired from LaTeX packages moderncv and moderntimeline.

Example

Usage

First, import the package

#import "@local/modern-cv:0.1.0": conf, update_theme, draw_education, draw_experience, draw_publication, draw_entry, draw_language, draw_projects

Then setup page layout and document metadata.

#set document(
    title: "John Doe - Curriculum Vitæ",
    author: "John Doe",
)

#set page(
    paper: "a4",
    margin: (x: 1.5cm, y: 1.5cm),
)

Then configure the theme.

#update_theme(
    color: rgb("#377eb8"),
    base_date: datetime(year: 2013, month: 1, day: 1),
    current_date: datetime(year: 2024, month: 1, day: 1),
)

Then setup the document.

#show: doc => conf(
    fullname: "John Doe",
    address: "Southern Pole, Antarctica",
    phone: "+672 123 456 789",
    email: "[email protected]",
    website: "johndoe.aq",
    github: "johndoe",
    orcid: "0000-0000-0000-0000",

    doc,
)

Finally, typeset the rest of the document using the provided functions

#draw_education(
    start: datetime(year: 2015, month: 8, day: 1),
    end: datetime(year: 2019, month: 4, day: 1),
    title: "Ph. D. in Software Engineering",
    institution: "University of Antarctica",
    department: "Ice Caps Office",
    city: "Southern Pole",
    country: "Antarctica",
    url: "https://www.icecap.aq/",
)[
My topic was designing and implementing software solutions for estimating thickness in ice caps by analysing their transparency.
]
#draw_experience(
    start: datetime(year: 2021, month: 2, day: 1),
    finished: false,
    position: "Developer",
    company: "Southern Pole Express",
    city: "Southern Pole",
    country: "Antarctica",
    url: "https://www.southern-pole.aq/",
)[
I am in charge of the team leading excavation and extraction of samples from ice caps.
I use simulations to locate the areas where ice caps are thinner, in order to minimize the effort of excavation for reaching the bottom layers.
]
#draw_publication(
    date: datetime(year: 2018, month: 1, day: 1),
    title: "A Method for Analysing Transparency in Ice Caps by Shining Light into Them and Squinting your Eyes",
    doi: "10.0999/aq.123457",
)

The initial and final years will be shown as labels over the timeline. Custom labels can also be specified with the arguments label_start, label_end or label_date.

Configuration

The theme can be configured and customized by calling the function configure_theme and passing a dictionary with the following fields.

  • color (color): The theme base color (default: blue).
  • width (length): The width of right bars and timelines (default: 2cm).
  • thickness (length): The thickness of right bars and timelines (default: 1.5mm).
  • radius (length): The radius of rounded corners of timelines (default: 1pt).
  • style (str): The theme style (default: "underline").
  • base_date (datetime): The earliest date in all entries (default: datetime(year: 2005, month: 1, day: 1)).
  • current_date (datetime): The latest date in all entries (default: datetime.today()).

All fields are optional; any field that is not specified will not be changed.

Styles

This template supports two styles: underline (default) and lighten.

  • Style underline shows timelines as coloured intervals above gray underlines, such as the original LaTeX package moderntimeline.

    Timeline with style underline

  • Style lighten shows timelines as coloured intervals over full, lightened intervals.

    Timeline with style lighten

Fonts

This package uses Font Awesome for some icons.

Download the Free font pack for Desktop and place the .otf files in one of the directories where Typst looks for fonts (or add any directory to the environment variable TYPST_FONT_PATHS).

Changes

See the Changelog for a list of changes.

Development

See the Contributing Guide for more information about development.

License

Copyright Claudio Mattera 2023

You are free to copy, modify, and distribute this application with attribution under the terms of the MIT license. See the LICENSE file for details.

typst-modern-cv's People

Contributors

claudiomattera avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.