Giter VIP home page Giter VIP logo

typstcv's Introduction

R-universe status badge R-CMD-check Docs

This package provides helper functinons for kazuyanagimoto/quarto-awesomecv-typst. This work are inspired by these three works:

  • Byungjin Park’s Awesome-CV
    • A beautiful LaTeX template of CV
  • Paul Tsouchlos’s modern-cv
    • A Typst implementation of Awesome-CV
  • Mitchell O’Hara-Wild and Rob Hyndman’s vitae
    • R package for modern CV, including Awesome-CV

Installation

You can install the development version of typstcv from R-universe with:

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

Usage

You can find a simple example and qmd code.

Use Template

You can use the template with quarto command.

quarto use template kazuyanagimoto/quarto-awesomecv-typst

YAML

Set author information in YAML.

author:
  firstname: Albert
  lastname: Einstein
  address: "Rämistrasse 101, CH-8092 Zürich, Switzerland, Zürich"
  position: "Research Physicist・Professor"
  contacts:
    - icon: fa envelope
      text: [email protected]
      url: "mailto:[email protected]"
    - icon: PATH_TO_ICON/icon.svg
      text: example.com
      url: https://example.com

Fonts & Color

You can set fonts and the accent color in YAML.

style:
   color-accent: "516db0"
   font-header: "Roboto"
   font-text: "Source Sans Pro"
format:
  awesomecv-typst:
    font-paths: ["PATH_TO_FONT"]

Profile Photo

You can set a profile photo in YAML. If you set it, the header will be left-aligned.

profile-photo: "PATH_TO_PHOTO/photo.jpg"

Resume Entries

resume_entry() is a helper function to create resume entryies from a data frame.

educ
#>               title            location        date          description
#> 1  Ph.D. in Physics Zürich, Switzerland        1905 University of Zürich
#> 2 Master of Science Zürich, Switzerland 1896 - 1900                  ETH
educ |>
  resume_entry(
    title = "title",
    location = "location",
    date = "date",
    description = "description"
)

You can add bullet points by details argument.

resume_entry(award, details = c("detail1", "detail2"))
# resume_entry(award, details = grep("^detail", names(award)))

Date Formatter

date_formatter() is a helper function to format dates in the resume.

work
#>                 title            location      start        end
#> 1 Technical Assistant   Bern, Switzerland 1902-01-01 1908-01-01
#> 2    Junior Professor   Bern, Switzerland 1908-01-01 1909-01-01
#> 3 Associate Professor Zürich, Switzerland 1909-01-01 1911-01-01
#>             description
#> 1 Federal Patent Office
#> 2    University of Bern
#> 3  University of Zürich
work |>
  format_date(
    start = "start",
    end = "end",
    date_format = "%Y",
    sep = "->",
    sort_by = "start"
  ) |>
  resume_entry()

typstcv's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mark-druffel

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.