{"id":19605105,"url":"https://github.com/gztimewalker/gz-typst-templates","last_synced_at":"2025-02-26T16:22:26.158Z","repository":{"id":195232435,"uuid":"630438812","full_name":"GZTimeWalker/GZ-Typst-Templates","owner":"GZTimeWalker","description":"Typst Templates for my personal usage.","archived":false,"fork":false,"pushed_at":"2024-12-18T13:40:27.000Z","size":220,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T03:41:47.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GZTimeWalker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-20T11:36:03.000Z","updated_at":"2025-01-09T09:54:54.000Z","dependencies_parsed_at":"2024-11-11T09:42:03.231Z","dependency_job_id":"fd111365-2502-4783-9126-fb38e3ca1933","html_url":"https://github.com/GZTimeWalker/GZ-Typst-Templates","commit_stats":null,"previous_names":["gztimewalker/gz-typst-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GZTimeWalker%2FGZ-Typst-Templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GZTimeWalker%2FGZ-Typst-Templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GZTimeWalker%2FGZ-Typst-Templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GZTimeWalker%2FGZ-Typst-Templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GZTimeWalker","download_url":"https://codeload.github.com/GZTimeWalker/GZ-Typst-Templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240888661,"owners_count":19873678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:41:12.386Z","updated_at":"2025-02-26T16:22:26.131Z","avatar_url":"https://github.com/GZTimeWalker.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GZ Typst Templates\n\nFor my personal usage.\n\n个人使用的 Typst 模板，用于写作业和实验报告。\n\n## Fonts\n\nInstall the fonts by yourself.\n\n你可能需要自己安装一些字体，当然，这只是个人习惯（\n\n- text: (\"CMU Serif\", \"Source Han Serif SC\"),\n- sans: (\"Source Han Sans SC\"),\n- code: (\"JetBrains Mono\", \"Consolas\"),\n\n## Usage\n\n- Install [Typst](https://typst.app)\n- Clone this repo to any directory\n- Link the repo to your project by `ln -s /path/to/repo/ ./base`\n- Use this template in Typst (e.g. `#import \"./base/templates/report.typ\": *`)\n\n- 安装 [Typst](https://typst.app)\n- 将本仓库克隆到任意目录\n- 通过 `ln -s /path/to/repo/ ./base` 将本仓库链接到你的项目\n- 在 Typst 中使用模板（例如 `#import \"./base/templates/report.typ\": *`）\n\nYou can view the example in [usage.typ](./usage.typ).\n\n你可以在 [usage.typ](./usage.typ) 中查看示例。\n\nSuggestions: use relative path for the link, because Typst uses the directory of the compiled file as the root directory by default.\n\n建议使用链接，因为 Typst 默认以编译文件所在目录为根目录。\n\n## Templates\n\n### Report\n\nUse for writing lab reports.\n\n用来写实验报告的模板，有封面。\n\n```typ\n#import \"./base/templates/report.typ\": *\n\n#show: report.with(\n  title: \"实验报告实验\",\n  subtitle: \"尝试使用 Typst 编写实验报告\",\n  name: \"张三\",\n  stdid: \"22223333\",\n  classid: \"实验二班\",\n  major: \"实验报告编写技术\",\n  school: \"实验报告学院\",\n  time: \"2022~2023 学年第二学期\",\n  banner: \"../images/sysu.png\" // 图片路径，相对于 report.typ 所在目录\n)\n```\n\n### Homework\n\nUse for writing homework.\n\n这个模板用来写作业（数学作业），就是每一页最上面会有一些信息。\n\n```typ\n#import \"./base/templates/homework.typ\": *\n\n#show: report.with(\n    subject: \"量子计算\",\n    title: \"作业二\",\n    name: \"张三\",\n    stdid: \"22223333\",\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgztimewalker%2Fgz-typst-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgztimewalker%2Fgz-typst-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgztimewalker%2Fgz-typst-templates/lists"}