stuxf / basic-typst-resume-template

A basic resume for typst, designed to work well with ATS systems.
The Unlicense
22 stars 5 forks source link

Changing font for name and information #3

Closed olemartinlarsen closed 1 month ago

olemartinlarsen commented 1 month ago

Hi,

I want to change the font of my name and contact information. It works fine to change the font for the other parts of the text, currently it only works to place the #set under the #show. Do you know if and how this would be possible?

#show: resume.with(
  author: name,
  //location: location,
  email: email,
  github: github,
  linkedin: linkedin,
  phone: phone,
  personal-site: personal-site,
)

#set text(font: "Equity Text A")

Thanks for the template btw!

stuxf commented 1 month ago

Hey thanks for the issue! Once it gets merged into the main typst packages repository (a day or so), you should be able to just change font in the template like this

#import "@preview/basic-resume:0.1.3": *

// ... 
#show: resume.with(
  author: name,
  //location: location,
  email: email,
  github: github,
  linkedin: linkedin,
  phone: phone,
  personal-site: personal-site,
  font: "Equity Text A",
)