diff --git a/packages/preview/postgraduate-admission-cv/0.1.0/LICENSE b/packages/preview/postgraduate-admission-cv/0.1.0/LICENSE new file mode 100644 index 0000000000..49e53c5b9b --- /dev/null +++ b/packages/preview/postgraduate-admission-cv/0.1.0/LICENSE @@ -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. diff --git a/packages/preview/postgraduate-admission-cv/0.1.0/README.md b/packages/preview/postgraduate-admission-cv/0.1.0/README.md new file mode 100644 index 0000000000..4d9321d7c0 --- /dev/null +++ b/packages/preview/postgraduate-admission-cv/0.1.0/README.md @@ -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. diff --git a/packages/preview/postgraduate-admission-cv/0.1.0/lib.typ b/packages/preview/postgraduate-admission-cv/0.1.0/lib.typ new file mode 100644 index 0000000000..95dbc37a11 --- /dev/null +++ b/packages/preview/postgraduate-admission-cv/0.1.0/lib.typ @@ -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 diff --git a/packages/preview/postgraduate-admission-cv/0.1.0/template/main.typ b/packages/preview/postgraduate-admission-cv/0.1.0/template/main.typ new file mode 100644 index 0000000000..20a35aae79 --- /dev/null +++ b/packages/preview/postgraduate-admission-cv/0.1.0/template/main.typ @@ -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. diff --git a/packages/preview/postgraduate-admission-cv/0.1.0/thumbnail.png b/packages/preview/postgraduate-admission-cv/0.1.0/thumbnail.png new file mode 100644 index 0000000000..8e6858732b Binary files /dev/null and b/packages/preview/postgraduate-admission-cv/0.1.0/thumbnail.png differ diff --git a/packages/preview/postgraduate-admission-cv/0.1.0/typst.toml b/packages/preview/postgraduate-admission-cv/0.1.0/typst.toml new file mode 100644 index 0000000000..a573165608 --- /dev/null +++ b/packages/preview/postgraduate-admission-cv/0.1.0/typst.toml @@ -0,0 +1,16 @@ +[package] +name = "postgraduate-admission-cv" +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" +keywords = ["cv", "resume", "postgraduate", "admission", "academic", "chinese"] +categories = ["cv"] +compiler = "0.13.0" + +[template] +path = "template" +entrypoint = "main.typ" +thumbnail = "thumbnail.png"