Giter Site home page Giter Site logo

furryacetylcoa / chinese-resume-in-typst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orangex4/chinese-resume-in-typst

0.0 0.0 0.0 3.77 MB

使用 Typst 编写的中文简历, 语法简洁, 样式美观, 开箱即用, 可选是否显示照片

Home Page: https://typst.app/project/rw1SLr0IIZZnCrkrsypRQF

chinese-resume-in-typst's Introduction

Chinese Resume in Typst

使用 Typst 编写的中文简历.

样式上, 参考了 liweitianux/resumeuniquecv. 同时也参考了一部分 uniquecv-typst 的写法.

语法上, 基于以下 Typst 的设计原则编写 (简洁一致与组合原则):

  • Simplicity through Consistency: If you know how to do one thing in Typst, you should be able to transfer that knowledge to other things. If there are multiple ways to do the same thing, one of them should be at a different level of abstraction than the other. E.g. it's okay that = Introduction and #heading[Introduction] do the same thing because the former is just syntax sugar for the latter.
  • Power through Composability: There are two ways to make something flexible: Have a knob for everything or have a few knobs that you can combine in many ways. Typst is designed with the second way in mind. We provide systems that you can compose in ways we've never even thought of. TeX is also in the second category, but it's a bit low-level and therefore people use LaTeX instead. But there, we don't really have that much composability. Instead, there's a package for everything (\usepackage{knob}).

使用

在线编辑

可以使用 Typst 的 Web App,

模板链接: https://typst.app/project/rw1SLr0IIZZnCrkrsypRQF

本地编辑

  • 安装 Typst:
    • macOS: brew install
    • Arch Linux: pacman -S typst
    • Windows: 基于 Rust 包管理器安装 cargo install --git https://github.com/typst/typst
  • 克隆本仓库: git clone https://github.com/OrangeX4/Chinese-Resume-in-Typst.git
  • 编译: typst compile resume.typ
  • VS Code 编辑: 安装 Typst LSP 插件后即可编辑

效果

包含照片:

不包含照片:

示例

你可以使用 简洁组合式 的语法出美观的效果.

// 设置简历选项与头部
#show: resume.with(
  // 字体基准大小
  size: 10pt,
  // 标题颜色
  themeColor: themeColor,
  // 控制纸张的边距
  top: 1.5cm,
  bottom: 2cm,
  left: 2cm,
  right: 2cm,
  // 如果不需要头像,则将下面的参数注释或删除
  photograph: "profile.jpg",
  photographWidth: 10em,
  gutterWidth: 2em,
)[

= 方橙

#info(
  color: themeColor,
  (
    // 其实 icon 也可以直接填字符串, 如 "fa-phone.svg" 
    icon: faPhone,
    content: "(+86) 155-5555-5555"
  ),
  (
    icon: faBuildingColumns,
    content: "南京大学",
  ),
  (
    icon: faGraduationCap,
    content: "人工智能",
  ),
  (
    icon: faEnvelope,
    content: "orangex4@qq.com",
    link: "mailto:orangex4@qq.com"
  ),
  (
    icon: faGithub,
    content: "github.com/orangex4",
    link: "https://github.com/orangex4",
  ),
)

#h(2em)  // 手动顶行, 2em 代表两个字的宽度
我是 OrangeX4,你也可以叫我 *一只方橙**方橙*。
现在是南京大学人工智能学院 2020 级本科生,正深陷于学习数学、编程和英语的无边苦海中。
你问为什么我的名字那么奇怪? 大概是我喜欢吃橘子和橙子,又谐音方程,还有和我的名字谐音的缘故吧。
喜欢一切新奇的东西,兴趣十分广泛。

]

以及每一个块

== #faGraduationCap 教育背景

#sidebar(withLine: true, sideWidth: 12%)[
  2023.05
  
  2020.09
][
  *南京大学* · 人工智能学院 · 人工智能专业
  
  GPA: 4.48 / 5 · Rank: 15%
]
== #faCode 项目经历

#item(
  link(
    "https://github.com/OrangeX4/Latex-Sympy-Calculator",
    [ *Latex Sympy Calculator* ]
  ),
  [ *个人项目* ],
  date[ 2021 年 02 月 – 2021 年 04 月 ]
)

#tech[ NodeJS, Python, VS Code ]

一个用于在 VS Code 中使用 LaTeX 数学公式进行「科学计算」的插件

- 使用 ANTLR 将 LaTeX 语句编译为 Sympy 语句
- 通过 Flask 搭建本地 HTTP 服务器与 VS Code 插件进行通信
- 可以进行多种类型的科学计算,如积分求导、矩阵计算、无穷级数计算等

chinese-resume-in-typst's People

Contributors

orangex4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.