Skip to content

Commit 8dbfb4b

Browse files
committed
Allow lang to be passed as parameter to resume.with
1 parent a6cb6fd commit 8dbfb4b

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Basic Resume Changelog
22

3+
## [v0.2.9](hhttps://github.com/stuxf/basic-typst-resume-template/releases/tags/v0.2.9)
4+
5+
Make `lang` parameter configurable
6+
37
## [v0.2.8](hhttps://github.com/stuxf/basic-typst-resume-template/releases/tags/v0.2.8)
48

59
Add `font-size` and `author-font-size` configuration options

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Basic Resume
22

3-
<div align="center">Version 0.2.8</div>
3+
<div align="center">Version 0.2.9</div>
44

55
This is a template for a simple resume. It is intended to be used as a good starting point for quickly crafting a standard resume that will properly be parsed by ATS systems. Inspiration is taken from [Jake's Resume](https://github.com/jakegut/resume) and [guided-resume-starter-cgc](https://typst.app/universe/package/guided-resume-starter-cgc/). I'm currently a college student and was unable to find a Typst resume template that fit my needs, so I wrote my own. I hope this template can be useful to others as well.
66

@@ -13,7 +13,7 @@ This is a template for a simple resume. It is intended to be used as a good star
1313
A barebones resume looks like this, which you can use to get started.
1414

1515
```typst
16-
#import "@preview/basic-resume:0.2.8": *
16+
#import "@preview/basic-resume:0.2.9": *
1717
1818
// Put your personal information here, replacing mine
1919
#let name = "Stephen Xu"

src/resume.typ

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
paper: "us-letter",
1818
author-font-size: 20pt,
1919
font-size: 10pt,
20+
lang: "en",
2021
body,
2122
) = {
2223

@@ -28,7 +29,7 @@
2829
// LaTeX style font
2930
font: font,
3031
size: font-size,
31-
lang: "en",
32+
lang: lang,
3233
// Disable ligatures so ATS systems do not get confused when parsing fonts.
3334
ligatures: false
3435
)

template/main.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "@preview/basic-resume:0.2.8": *
1+
#import "@preview/basic-resume:0.2.9": *
22

33
// Put your personal information here, replacing mine
44
#let name = "Stephen Xu"

typst.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "basic-resume"
5-
version = "0.2.8"
5+
version = "0.2.9"
66
entrypoint = "src/lib.typ"
77
authors = ["Stephen Xu <https://stuxf.dev>"]
88
license = "Unlicense"

0 commit comments

Comments
 (0)