Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ A barebones resume looks like this, which you can use to get started.
* Lines that start with == are formatted into section headings
* You can use the specific formatting functions if needed
* The following formatting functions are listed below
* #edu(dates: "", degree: "", gpa: "", institution: "", location: "")
* #work(company: "", dates: "", location: "", title: "")
* #edu(dates: "", degree: "", gpa: "", institution: "", location: "", consistent: false)
* #work(company: "", dates: "", location: "", title: "", url: "")
* #project(dates: "", name: "", role: "", url: "")
* #extracurriculars(activity: "", dates: "")
* There are also the following generic functions that don't apply any formatting
Expand Down
16 changes: 14 additions & 2 deletions src/resume.typ
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,24 @@
dates: "",
company: "",
location: "",
url: "",
) = {
generic-two-by-two(
top-left: strong(title),
top-right: dates,
bottom-left: company,
bottom-right: emph(location),
bottom-left: {
company
if url != "" and location != "" {
[ (#link("https://" + url)[#url])]
}
},
bottom-right: {
if location == "" and url != "" {
link("https://" + url)[#url]
} else {
emph(location)
}
},
)
}

Expand Down
2 changes: 1 addition & 1 deletion template/main.typ
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* You can use the specific formatting functions if needed
* The following formatting functions are listed below
* #edu(dates: "", degree: "", gpa: "", institution: "", location: "", consistent: false)
* #work(company: "", dates: "", location: "", title: "")
* #work(company: "", dates: "", location: "", title: "", url: "")
* #project(dates: "", name: "", role: "", url: "")
* certificates(name: "", issuer: "", url: "", date: "")
* #extracurriculars(activity: "", dates: "")
Expand Down
3 changes: 2 additions & 1 deletion tests/debug/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* You can use the specific formatting functions if needed
* The following formatting functions are listed below
* #edu(dates: "", degree: "", gpa: "", institution: "", location: "")
* #work(company: "", dates: "", location: "", title: "")
* #work(company: "", dates: "", location: "", title: "", url: "")
* #project(dates: "", name: "", role: "", url: "")
* #extracurriculars(activity: "", dates: "")
* There are also the following generic functions that don't apply any formatting
Expand All @@ -52,6 +52,7 @@
location: "Atomville, CA",
company: "Microscopic Circus, Schrodinger's University",
dates: dates-helper(start-date: "May 2024", end-date: "Present"),
url: "example.com",
)
- Played God with tiny molecules, making them dance to uncover the secrets of the universe
- Convinced high-performance computers to work overtime without unions, reducing simulation time by 50%
Expand Down