-
Notifications
You must be signed in to change notification settings - Fork 1.1k
postgraduate-admission-cv:0.1.0 #4745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| MIT No Attribution | ||
|
|
||
| Copyright 2026 chanke17 | ||
|
|
||
| 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. | ||
|
|
||
| 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. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # Postgraduate Admission CV | ||
|
|
||
| A compact academic CV template for postgraduate admission applications. It provides a colored page banner, optional footer, profile header, section titles, and left-right aligned entries. | ||
|
|
||
| ## Usage | ||
|
|
||
| ```typ | ||
| #import "@preview/postgraduate-admission-cv:0.1.0": cv, cv-header, section, item, highlight-red | ||
|
|
||
| #show: cv.with( | ||
| header-title: [*Postgraduate Admission CV*], | ||
| footer: [applicant\@example.com], | ||
| ) | ||
|
|
||
| #cv-header( | ||
| [Applicant Name], | ||
| [University · Major #h(1em) Expected graduation: 2027.06], | ||
| [phone\@example.com #h(1.5em) applicant\@example.com], | ||
| ) | ||
|
|
||
| #section("Education", "🎓") | ||
|
|
||
| #item([*Example University | Data Science | B.S.*], [2023.09–2027.06]) | ||
|
|
||
| *GPA:* 3.80/4.00 #h(1em) | ||
| *Rank:* Top 10% | ||
| ``` | ||
|
|
||
| Run `typst init @preview/postgraduate-admission-cv:0.1.0` after the package is accepted into Typst Universe. | ||
|
|
||
| ## Customization | ||
|
|
||
| - `accent-color`: main banner and section line color. | ||
| - `header-logo`: optional image path for a logo. | ||
| - `header-title`: content shown in the page banner. | ||
| - `footer`: optional footer content. | ||
| - `cv-header`: name, subtitle, contact line, and optional avatar. | ||
|
|
||
| ## License | ||
|
|
||
| This package is released under the MIT-0 license. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| #import "@preview/cuti:0.2.1": show-cn-fakebold | ||
|
|
||
| // Generic résumé/CV template for postgraduate admission applications. | ||
| #let theme-color = rgb("#3d538c") | ||
| #let highlight-red = rgb("#C00000") | ||
|
|
||
| #let cv( | ||
| accent-color: theme-color, | ||
| paper: "a4", | ||
| margin: (left: 1.5cm, right: 1.5cm, top: 1.5cm, bottom: 1.16cm), | ||
| header-logo: none, | ||
| header-logo-height: auto, | ||
| header-title: [Postgraduate Admission CV], | ||
| header-title-size: 16pt, | ||
| header-gutter: 1em, | ||
| footer: none, | ||
| doc, | ||
| ) = { | ||
| show: show-cn-fakebold | ||
|
|
||
| let page-header = if header-title == none and header-logo == none { | ||
| none | ||
| } else [ | ||
| #set align(center + horizon) | ||
| #rect( | ||
| width: 116.8%, | ||
| height: 1.5cm, | ||
| fill: accent-color, | ||
| inset: 8pt, | ||
| [ | ||
| #if header-logo == none [ | ||
| #align(center + horizon)[ | ||
| #text(fill: white, size: header-title-size)[#header-title] | ||
| ] | ||
| ] else [ | ||
| #grid( | ||
| columns: (auto, 1fr), | ||
| gutter: header-gutter, | ||
| image(header-logo, height: header-logo-height), | ||
| align(right + horizon)[ | ||
| #text(fill: white, size: header-title-size)[#header-title] | ||
| ], | ||
| ) | ||
| ] | ||
| ], | ||
| ) | ||
| ] | ||
|
|
||
| let page-footer = if footer == none { | ||
| none | ||
| } else [ | ||
| #set align(center) | ||
| #rect( | ||
| width: 200%, | ||
| fill: accent-color, | ||
| radius: 4pt, | ||
| inset: 8pt, | ||
| [ | ||
| #text(fill: white, size: 10pt)[#footer] | ||
| ], | ||
| ) | ||
| ] | ||
|
|
||
| set page( | ||
| paper: paper, | ||
| margin: margin, | ||
| header: page-header, | ||
| footer: page-footer, | ||
| ) | ||
|
|
||
| set text(font: ("Times New Roman", "STKaiti", "SimSun"), size: 10.5pt) | ||
| set par(justify: true, leading: 0.65em) | ||
| set list(indent: 0pt, body-indent: 0.5em, marker: "•") | ||
| show list: set block(spacing: 0.65em) | ||
|
|
||
| doc | ||
| } | ||
|
|
||
| #let cv-header( | ||
| name, | ||
| subtitle, | ||
| contact, | ||
| avatar: none, | ||
| avatar-width: 2.35cm, | ||
| name-size: 22pt, | ||
| name-font: "STKaiti", | ||
| info-size: 9.5pt, | ||
| ) = { | ||
| align(center)[ | ||
| #text(size: name-size, font: name-font, weight: "bold")[#name]\ | ||
|
|
||
| #text(size: info-size)[#subtitle] | ||
|
|
||
| #text(size: info-size)[#contact] | ||
| ] | ||
|
|
||
| if avatar != none { | ||
| place(top + right, dy: 0cm)[ | ||
| #image(avatar, width: avatar-width) | ||
| ] | ||
| } | ||
| } | ||
|
|
||
| #let section(title, icon, accent-color: theme-color) = { | ||
| v(1.2em, weak: true) | ||
| block[ | ||
| #text(size: 13pt, weight: "bold", fill: accent-color)[#icon #h(0.2em) #title] | ||
| #v(-0.6em) | ||
| #line(length: 100%, stroke: 1.2pt + accent-color) | ||
| ] | ||
| v(0.5em, weak: true) | ||
| } | ||
|
|
||
| #let item(left-content, right-content) = { | ||
| block(width: 100%)[ | ||
| #left-content #h(1fr) #right-content | ||
| ] | ||
| } | ||
|
|
||
| #let resume = cv | ||
| #let resume-header = cv-header | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| #import "@preview/postgraduate-admission-cv:0.1.0": cv, cv-header, section, item, highlight-red | ||
|
|
||
| #show: cv.with( | ||
| header-title: [*Postgraduate Admission CV*], | ||
| footer: [ | ||
| #link("https://example.com")[example.com] | ||
| #h(3em) | ||
| applicant\@example.com | ||
| ], | ||
| ) | ||
|
|
||
| #cv-header( | ||
| [Applicant Name], | ||
| [University · Major #h(1em) Expected graduation: 2027.06], | ||
| [phone\@example.com #h(1.5em) applicant\@example.com #h(1.5em) portfolio.example.com], | ||
| ) | ||
|
|
||
| #section("Education", "🎓") | ||
|
|
||
| #item([*Example University | Data Science | B.S.*], [2023.09–2027.06]) | ||
|
|
||
| *GPA:* 3.80/4.00 #h(1em) | ||
| *Rank:* Top 10% #h(1em) | ||
| *Languages:* CET-6 520 / IELTS 7.0 | ||
|
|
||
| *Core Courses:* Machine Learning, Statistics, Algorithms, Database Systems, Computer Networks. | ||
|
|
||
| #section("Research & Projects", text(font: "Consolas", weight: "bold")[<\/>]) | ||
|
|
||
| - #item([*Multi-Agent Learning Platform* #h(0.6em) #text(fill: highlight-red)[Research Project]], [2025.03–2025.12]) | ||
| Designed evaluation workflows for multi-agent collaboration and wrote reproducible experiments for educational AI scenarios. | ||
|
|
||
| - #item([*Automated News Production System* #h(0.6em) #text(fill: highlight-red)[Innovation Project]], [2024.09–2025.06]) | ||
| Built a prototype pipeline integrating retrieval, generation, speech synthesis, and video rendering. | ||
|
|
||
| #section("Publications & IP", "💡") | ||
|
|
||
| - *Paper under review:* Example Paper Title, target journal or conference. | ||
| - *Patent application:* Example Method and System, application number pending. | ||
|
|
||
| #section("Awards & Honors", "🏆") | ||
|
|
||
| - Mathematical modeling contest, first prize. | ||
| - University scholarship and outstanding student recognition. | ||
|
|
||
| #section("Skills", "🔧") | ||
|
|
||
| *Programming:* Python, C/C++, SQL; familiar with NumPy, Pandas, Scikit-learn, and Matplotlib. | ||
|
|
||
| *AI Engineering:* LLM applications, agent systems, retrieval-augmented generation, and web prototyping. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| [package] | ||
| name = "postgraduate-admission-cv" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In my opinion, that name is too descriptive, which we forbid. Can you please pick a more unique one? |
||
| version = "0.1.0" | ||
| entrypoint = "lib.typ" | ||
| authors = ["chanke17 <@chanke17>"] | ||
| license = "MIT-0" | ||
| description = "Academic CV for postgraduate admission applications." | ||
| repository = "https://github.com/chanke17/postgraduate-admission-cv" | ||
|
Check failure on line 8 in packages/preview/postgraduate-admission-cv/0.1.0/typst.toml
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please actually create that repository or make it public if it's private? |
||
| keywords = ["cv", "resume", "postgraduate", "admission", "academic", "chinese"] | ||
| categories = ["cv"] | ||
| compiler = "0.13.0" | ||
|
|
||
| [template] | ||
| path = "template" | ||
| entrypoint = "main.typ" | ||
| thumbnail = "thumbnail.png" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This README will be displayed on Typst Universe, meaning that if someone can read that, the package was already successfully published.