Skip to content

Commit

Permalink
yuan-resume:0.1.0 (#1693)
Browse files Browse the repository at this point in the history
  • Loading branch information
visika authored Feb 10, 2025
1 parent 800a62a commit 868bd8e
Show file tree
Hide file tree
Showing 6 changed files with 263 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/preview/yuan-resume/0.1.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Haofeng Yuan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 25 additions & 0 deletions packages/preview/yuan-resume/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Yuan's Resume (in Typst)

An elegant academic resume template, compiled with Typst.
This project is a reproduction of [Xiao Yuan's resume](https://github.com/Xyz-yuanhf/yuan-resume),
which is in turn based on [Jian Xu's CV](http://www.jianxu.net/en/files/JianXu_CV.pdf),
and refers to the code of [Matty's Resume](https://github.com/mattyHerzig/mattys_resume).

## Usage

Install the fonts and run the following command in the directory of the project:
```sh
$ typst c main.typ
```

**Note:**

- The fonts are included in this project package, and please follow their copyright.

## Preview

![image](./preview.png)

## License

The MIT License (MIT). Copyrighted fonts are not subjected to this License.
50 changes: 50 additions & 0 deletions packages/preview/yuan-resume/0.1.0/functions.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#let section-block(title, content) = [
#grid(
columns: (2.8fr, 13.8fr),
smallcaps(text(font: "Cronos Pro", size: 14.5pt, title)), content,
)
#v(20pt)
]

#let edu-heading(department: [], location: [], role: [], time: []) = [
#grid(
columns: (3fr, 1fr),
align: (left, right),
row-gutter: 10pt,
[#strong(department) \ #emph(role)], [#location \ #time],
)
]

#let proj-heading(title: [], institution: [], time: []) = [
#grid(
columns: (3fr, 1fr),
align: (left, right),
grid.cell(
colspan: 2,
strong(title),
),
row-gutter: 8pt,
emph(institution), time,
)
]

#let intern-heading(company: [], location: [], time: []) = [
#grid(
columns: (3fr, 1fr),
align: (left, right),
[
#strong(company)
#if location != [] [
| #location]],
time,
)
]


#let award(title: [], time: []) = [
#grid(
columns: (3fr, 1fr),
align: (left, right),
[- #title], time,
)
]
Binary file added packages/preview/yuan-resume/0.1.0/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
145 changes: 145 additions & 0 deletions packages/preview/yuan-resume/0.1.0/template/main.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/* Resume in Typst
Author: Mariano Mollo
Project: https://github.com/visika/yuan-resume
Based on: https://github.com/Xyz-yuanhf/yuan-resume
*/

#import "@preview/yuan-resume:0.1.0": *

#set page(margin: (top: 1.2cm, bottom: 2.6cm, left: 1.8cm, right: 2.3cm))
#set text(font: "Sabon LT Std", 10pt)

#grid(
columns: (3fr, 1fr),
align: (left + bottom, right + bottom),
smallcaps[
#text(font: "Calluna", size: 30pt)[Name and Surname]
#h(1em)
#text(font: "Calluna", size: 14.5pt)[Ph.D.]
],
[
(+00) 111-2222-3333 \
email\@example.com \
https://www.example.com
],
)

#line(length: 100%, stroke: 0.4pt)

#section-block(
[Education],
[
#edu-heading(
department: [Department of Automation, Tsinghua University],
location: [Beijing, China],
role: [Ph.D. in Control Science and Engineering],
time: [2022 - 2028 #text(9pt, style: "italic")[(expected)]],
)
- Advisor: Prof. Xiao Yuan
- Research area: Operations Research and Machine Learning

#edu-heading(
department: [Department of Precision Instrument, Tsinghua University],
location: [Beijing, China],
role: [B.E. in Measurement and Control Technology and Instrument],
time: [2018 - 2022],
)
- GPA: 0.00/4.00, Rank: 64/64.
],
)

#section-block(
[Publications],
[
#set par(justify: true)
#set enum(spacing: 12pt)
+ *Xiao Yuan*, Hua Li.
The Future Urban Transportation Systems: Innovations and Challenges.
_Journal of Operations Research and Optimization_, 2024.
+ Hua Li, *Xiao Yuan*, John Doe.
Optimizing Logistics and Supply Chain Networks Using Machine Learning Techniques.
_International Conference on Operations Research and Machine Learning_, 2023.
+ John Doe, *Xiao Yuan*, Hua Li.
Artificial Intelligence in Healthcare: Transforming Diagnostics and Treatment.
_International Conference on HealthTech Innovations_, 2023.
],
)

#section-block(
[Projects],
[
#proj-heading(
title: [Advanced Optimization Techniques for Smart Grid Management],
institution: [National Natural Science Foundation of China (NSFC)],
time: [2023.01 - 2024.01],
)
#proj-heading(
title: [Optimizing Urban Traffic Flow Using AI-Based Predictive Models],
institution: [Smart Transportation Innovations Grant],
time: [2021.12 - 2022.12],
)
],
)

#section-block(
[Internships],
[
#intern-heading(
company: [ABC Tech Ltd.],
location: [Shanghai, China],
time: [2024.01 - 2024.06],
)
- Develop engaging content for social media platforms.
- Prepare reports and presentations summarizing research findings.

#intern-heading(
company: [XYZ Tech Inc.],
location: [Shanghai, China],
time: [2023.07 - 2023.12],
)
- Develop engaging content for social media platforms.
- Prepare reports and presentations summarizing research findings.
],
)

#section-block(
[Awards and Honors],
[
#set par(spacing: 8pt)
#award(
title: [*First Prize*, International Data Science Challenge],
time: [2023.11],
)
#award(
title: [*Best Innovation Award*, Tech Startup Pitch Competition],
time: [2023.05],
)
#award(
title: [*Excellence in Research Award*, Annual Research Symposium],
time: [2022.12],
)
#award(
title: [*Academic Scholarship*, Tsinghua University],
time: [2022.09],
)
],
)

#section-block(
[Skills],
[
#set terms(separator: [: ])
/ Languages: Chinese, English, French
/ Programming: Python, C++, MATLAB
],
)

#section-block(
[Academinc Services],
[
#set par(justify: true)
/ Reviewers for: _Journal of Operations Research and Optimization_
/ #hide[Reviewers for]: _International Conference on Optimization and Machine Learning_
/ #hide[Reviewers for]: ...
],
)
22 changes: 22 additions & 0 deletions packages/preview/yuan-resume/0.1.0/typst.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "yuan-resume"
version = "0.1.0"
entrypoint = "functions.typ"
authors = ["Mariano Mollo <[email protected]>"]
license = "MIT"
description = "An elegant academic resume template"
repository = "https://github.com/visika/yuan-resume"
keywords = [
"resume",
"cv",
"academic",
"elegant",
"template",
"curriculum vitae",
]
categories = ["cv"]

[template]
path = "template"
entrypoint = "main.typ"
thumbnail = "preview.png"

0 comments on commit 868bd8e

Please sign in to comment.