repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/WS-latest.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [SUN Yingsha], [CHN], [3581], [2], [CHEN Meng], [CHN], [3488], [3], [WANG Manyu], [CHN], [3438], [4], [HAYATA Hina...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-26.typ
typst
Other
// Test the `fact` function. #test(calc.fact(0), 1) #test(calc.fact(5), 120)
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/028_Kaladesh.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Kaladesh", doc) #include "./028 - Kaladesh/001_Homesick.typ" #include "./028 - Kaladesh/002_A Time for Innovation.typ" #include "./028 - Kaladesh/003_Torch of Defiance.typ" #include "./028 - Kaladesh/004_Renegade Prime.typ" #include "./028 - Kaladesh/005_Born of ...
https://github.com/eliapasquali/typst-thesis-template
https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/preface/acknowledgements.typ
typst
Other
#import "../config/variables.typ" : profTitle, myProf, myLocation, myTime, myName #import "../config/constants.typ" : acknlowledgements #set par(first-line-indent: 0pt) #set page(numbering: "i") #align(right, [ #text(style: "italic", "Tieni l'infinito per ciò che lo merita...") #v(6pt) #sym.dash#sym.dash#...
https://github.com/Duolei-Wang/modern-sustech-thesis
https://raw.githubusercontent.com/Duolei-Wang/modern-sustech-thesis/main/README.md
markdown
MIT License
# modern-sustech-thesis: v0.1.1-light - [使用说明 Usage](#使用说明-usage) - [typst.app 网页版](#typstapp-网页版) - [离线编译](#离线编译) - [Quickstart of typst template](#quickstart-of-typst-template) - [有关字体的补充说明](#有关字体的补充说明) - [版本说明](#版本说明) - [特别鸣谢](#特别鸣谢) - [写在后面](#写在后面) # 使用说明 Usage 模板已提交给 [typst 网页端](typst.app/univer),仍需审核. typ...
https://github.com/hesampakdaman/resume
https://raw.githubusercontent.com/hesampakdaman/resume/main/class.typ
typst
MIT License
#let font_default_size = 11pt // Set name and contact data and format headings #let template(name, contact_data, color, doc) = { set page(margin: (x: 1.5cm, y: 0.8cm)) set par(justify: true, leading: 0.4em) set text(size: font_default_size, font: "New Computer Modern") show heading: set block(above: 1....
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/tutorial/index.md
markdown
MIT License
# Tutorial by Examples The first section of Typst Basics is very similar to [Official Tutorial](https://typst.app/docs/tutorial/), with more specialized examples and less words. It is _highly recommended to read the official tutorial anyway_.
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2016/WS-02.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [DING Ning], [CHN], [3402], [2], [LIU Shiwen], [CHN], [3294], [3], [LI Xiaoxia], [CHN], [3280], [4], [ZHU Yuling],...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/027%20-%20Conspiracy%3A%20Take%20the%20Crown/003_Proclamation%20by%20Queen%20Marchesa.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Proclamation by Que<NAME>", set_name: "Conspiracy: Take the Crown", story_date: datetime(day: 15, month: 08, year: 2016), author: "<NAME>", doc ) People of the High City! It is my solemn duty to inform you that Brago, King of Paliano, is n...
https://github.com/noahjutz/CV
https://raw.githubusercontent.com/noahjutz/CV/main/body/title.typ
typst
#block[ #text( size: 48pt, font: "Roboto Slab" )[ #text( weight: "black", "Noah" ) #text( "Jutz" ) ] #linebreak() #text( weight: "light", "Computer Science Student" ) ]
https://github.com/onomou/typst-examit
https://raw.githubusercontent.com/onomou/typst-examit/main/README.md
markdown
MIT License
# examit A Typst exam package based on the MIT LaTeX [exam](https://ctan.org/pkg/exam) package ## Features - Title block - Read questions from file/question bank - Grading table - Marking boxes - Question types - Standard answerline - Multiple choice (including true-false) - Writing box - Blank rectangular, ...
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661101-%5BCalculus%201A%5D/src/lectures/03661101_lecture_8.typ
typst
#import "/template.typ": * #show: project.with( title: "חדו״א 1א׳ - שיעור 8", authors: ("<NAME>",), date: "30 בינואר, 2024", ) #set enum(numbering: "(1.א)") = גבולות חלקיים == הגדרה מספר $x in RR$ (או $x=pm oo$) נקרא *גבול חלקי* (במובן הרחב) של סדרה $(an)_(n=1)^oo$ אם קיימת תת-סדרה $(a_n_k)_(k=1)^oo$ כך ש: $ l...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/examples/exam-minimal.typ
typst
MIT License
#import "../src/lib.typ": * #show: g-exam.with() #g-question(points: 2)[List prime numbers] #v(1fr) #g-question(points: 1)[Complete the following sentences] #g-subquestion[<NAME> was written by ...] #v(1fr) #g-subquestion[The name of the continent we live on is ...] #v(1fr)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-02.typ
typst
Other
// Test importing from function scopes. // Ref: true #import enum: item #import assert.with(true): * #enum( item(1)[First], item(5)[Fifth] ) #eq(10, 10) #ne(5, 6)
https://github.com/ofurtumi/formleg
https://raw.githubusercontent.com/ofurtumi/formleg/main/h04/pumping.typ
typst
Pumping lemma for regular languages If $A$ is regular $exists "pumping length" P$ such that for any $s in A$, $|s|>=P$, string s can be split into $x y z$ so that the folowing three conditions hold: + $x y^i z in A "for all" i=0,1,2,3...$ + $|y| > 0$ + $|x y| <= P$
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/templates/template.typ
typst
#let project(body) = { // Set the document's basic properties. set page(paper: "a4", margin:(top: 2.5cm, bottom: 2.5cm, left: 3cm, right: 3cm)) set text(font: "Calibri", lang: "pt", region: "PT", size: 10pt) // Main body. set par(justify: true) // Remove dots from outlines set outline(fill: none) s...
https://github.com/rhedgeco/resume
https://raw.githubusercontent.com/rhedgeco/resume/main/resume.typ
typst
#import "template.typ": * #set text(size: 10.5pt) #let theme = light-theme() #let theme = dark-theme() #show: file-layout.with( filename: "resume.typ", source: "https://github.com/rhedgeco/resume/blob/main/resume.typ", theme: theme, ) #resume_title( firstname: "RYAN", lastname: "HEDGECOCK", linkedin: "rhe...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/page-templates.typ
typst
#import "base-utils.typ": * #let fixables = ( page: ( index-card: ( width: 6in, height: 4in, ), small-index-card: ( width: 5in, height: 3in, ), ) ) #let fix(attrs, fixable) = { if fixable != none { for (k, v) in attrs ...
https://github.com/monaqa/typst-class-memo
https://raw.githubusercontent.com/monaqa/typst-class-memo/master/src/lib.typ
typst
MIT License
//! target: ../.memo.local/memo.typ #import "href.typ" #import "code.typ" #let document( show_toc: false, link_converters: href.default_link_converters, body, ) = { // text & paragraph set text(font: "IBM Plex Sans JP") set par(justify: true, leading: 0.85em) // inline elements show link: href.prett...
https://github.com/benedictweis/typst-actions-demo
https://raw.githubusercontent.com/benedictweis/typst-actions-demo/main/main.typ
typst
MIT License
= ABC123 This is an example file
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/01-history/ps-ttf-otf.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## PostScript Fonts, TrueType and OpenType // 这里和原文意思不一样是有意的 // 主要是因为本段其实没有 OpenType 的相关内容 // 而且作为标题过长,酌情修改 == 从 PostScript 到 TrueType // PostScript level 1 define...
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/dear/src/cover.typ
typst
MIT License
// // Preamble // #import "../../rolo/rolo.typ": * #import "../../options/options.typ": some #let cover( sender: author(), recipient: author(), regarding: none, logo: none, date: datetime.today().display("[month repr:long] [day], [year]"), theme: black, divider: true, header: "default", footer: "def...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/capitoli_fisica/acqua_vapore.typ
typst
#import "../custom_functions.typ": c = Miscele bifasiche acqua-vapore == titolo di vapore (x) È la percentuale di quantità(kg) di acqua allo stato di vapore sulla quantità totale di $H_2 O$ contenuta in un volume. Si indica con la lettera *x*. \ \ *Esempio:* - 1 kg di acqua di cui 0,2 kg vapore: - $x = 0.2 / ...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/practice/staging.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly #import "@preview/fletcher:0.5.1" as fletcher: node, edge #let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide) #import "../components/gh-button.typ": gh_button #import "../c...
https://github.com/spherinder/ethz-infk-thesis
https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/pages/abstract.typ
typst
#let abstract_page( author: "", title: "", keywords: (), abstract: "", ..metadata ) = { // TODO Needed, because context creates empty pages with wrong numbering set page( numbering: "i", ) let custom_title(title) = { text(title, weight: "bold") } set par(justify: true) stack( spac...
https://github.com/dssgabriel/master-thesis
https://raw.githubusercontent.com/dssgabriel/master-thesis/main/src/chapters/1-introduction.typ
typst
Apache License 2.0
= Introduction In the last ten years, HPC has experienced a dramatic shift in computer architecture, slowly moving away from general-purpose central processing units (CPU) and instead turning towards heterogeneous systems with specialized hardware designed to accelerate computations. The use of graphical processing un...
https://github.com/jhqiu21/Notes
https://raw.githubusercontent.com/jhqiu21/Notes/main/EC1101E%20Introduction%20to%20Economics%20Analysis/Typst/lecture%202.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Summary of Lecture 2", authors: ( "JINHANG",), ) // We generated the example code below so you can see how // your document will look. Go ahead...
https://github.com/DrGo/typst-tips
https://raw.githubusercontent.com/DrGo/typst-tips/main/refs/samples/typst-uwthesis-master/glossaries.typ
typst
#let abbreviations = ( "aaaaz": ("AAAAZ", "American Association of Amateur Astronomers and Zoologists"), ) #let symbols = ( "rvec": ($bold(v)$, "Random vector: a location in n-dimensional Cartesian space, where each dimensional component is determined by a random process", $bold(v)$), ) #let glossaries = ( "com...
https://github.com/Gavinok/typst-res
https://raw.githubusercontent.com/Gavinok/typst-res/master/experience.typ
typst
#import "layout.typ": EXP, job #EXP("Quartech", "Victoria, BC", "Software Developer CO-OP", "May 2023-Present") #job("Develop Configuration API (Python)", "https://github.com/hyperledger/aries-endorser-service")[ Expand the functionality of an existing webservice to monitor Webhooks and utilize a \ R...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/lift-pneumatics/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Build: Lift Pneumatics", type: "build", date: datetime(year: 2024, month: 3, day: 1), author: "<NAME>", witness: "Violet Ridge", ) = Problem While using the lift, we ...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/tests/from-0.5.0/test.typ
typst
MIT License
#import "@local/schule:1.0.0": kl #import kl: * #show: klausur.with( autor: ( name: "<NAME>", kuerzel: "Ngb", ), titel: "2. Klausur", reihe: "Rechnernetze", nummer: "2", fach: "Informatik", kurs: "Q1 LK", // version: datetime.today(), dauer: 225, datum: "27.11.2023", loesungen: "seite" ) ...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/reserve.md
markdown
# Reserve space or not? When you want to specify that a certain piece of content should be displayed one some subslides but not on others, the first question should be what should happen on the subslides it is _not_ displayed on. You could either want - that it is completely not existing there, or - that it is invisibl...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/examples/qft/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #include "/examples/qft.typ"
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%20595%20-%20Geometric%20Analysis/Symmetrization%20talk/Talk%20notes.typ
typst
#import "../../../Templates/generic.typ": generic #import "../../../Templates/notes.typ": chapter_heading #import "@preview/ctheorems:1.1.0": * #import "../../../Templates/math.typ": * #show: doc => generic(title: "Talk notes", name: "<NAME>", doc) #show: doc => chapter_heading(doc) #show: thmrules #let ve = $epsilon$ ...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/packages/drawing.md
markdown
MIT License
# Drawing ## `cetz` Cetz is an analogue of LaTeX's `tikz`. Maybe it is not as powerful yet, but certainly easier to learn and use. It is the best choice in most of cases you want to draw something in Typst. ```typ #import "@preview/cetz:0.1.2" #cetz.canvas(length: 1cm, { import cetz.draw: * import cetz.angle: a...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/src/xml-loader.typ
typst
Apache License 2.0
#let find(elmt, tag) = { if not "children" in elmt { return none } return elmt.children.find(e => "tag" in e and e.tag == tag) } #let find-all(elmt, tag) = { if not "children" in elmt { return () } return elmt.children.filter(e => "tag" in e and e.tag == tag) } #let parse-values(elmt) = { let ...
https://github.com/Many5900/aau-typst
https://raw.githubusercontent.com/Many5900/aau-typst/main/chapters/chapter1.typ
typst
#import "../custom.typ": * = Chapter 1 #lorem(300) #todo[Remember to remove the "Lorem ipsum" text in chapter 1!]
https://github.com/pku-typst/unilab
https://raw.githubusercontent.com/pku-typst/unilab/main/template/main.typ
typst
MIT License
#import "@preview/unilab:0.0.2": * #set text(lang: "zh") #show: doc => labreport( course-name: lorem(3), exper-name: lorem(5), exper-date: "2024-03-26", handin-date: "2024-04-02", exper-no: 6, student-name: "张三", student-no: 2020200111, faculty: "物理学院", logos: (image("./school-logo.svg"), image("./s...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/set-07.typ
typst
Other
// Error: 12-26 set is only allowed directly in code and content blocks #{ let x = set text(blue) }
https://github.com/jamesrswift/ionio-illustrate
https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/gallery/callout-aside.typ
typst
MIT License
#set par(justify: true) #set page(width: auto, height: auto, margin:1em) #set text(size: 7pt) #import "../src/lib.typ": * #let data = csv("../assets/isobutelene_epoxide.csv") #let massspec = data.slice(1) #let ms = mass-spectrum(massspec, args: (range: (0,100), plot-extras: (this) => { (this.callout-above)(43)...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z050.typ
typst
Zmiluj sa, Bože, nado mnou pre svoje milosrdenstvo \* a pre svoje veľké zľutovanie znič moju neprávosť. Úplne zmy zo mňa moju vinu \* a očisť ma od hriechu. Vedomý som si svojej neprávosti \* a svoj hriech mám stále pred sebou. Proti tebe, proti tebe samému som sa prehrešil \* a urobil som, čo je v tvojich očiach...
https://github.com/Avemark/typst_actix_server
https://raw.githubusercontent.com/Avemark/typst_actix_server/master/example.typ
typst
= Introduction This is a basic Typst template, converted to PDF
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/practice/alias.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly #import "@preview/fletcher:0.5.1" as fletcher: node, edge #let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide) #import "../components/gh-button.typ": gh_button #import "../c...
https://github.com/werifu/HUST-typst-template
https://raw.githubusercontent.com/werifu/HUST-typst-template/main/README.md
markdown
MIT License
# HUST-typst-template 用于华科毕业设计(本科)的 typst 模板,一键、快速、持续生成毕业论文 pdf。 ![](assets/sample.png) ## ⚠️风险警告⚠️ - 民间模板,存在不被认可风险 - 作者用此模板已成功从网安学院毕业 - 有部分难以短期解决的问题: - 无伪粗体:暂时无法解决,但是标题所需的黑体粗体在打印出来的情况下几乎看不出区别 ## 什么是 typst [typst](https://github.com/typst/typst) 是最新最热的标记文本语言,定位与 LaTeX 类似,具有极强的排版能力,通过一定的语法写文档,然后生成 pdf 文件。与 LaT...
https://github.com/WinstonMDP/knowledge
https://raw.githubusercontent.com/WinstonMDP/knowledge/master/prop_logic.typ
typst
#import "cfg.typ": cfg #show: cfg = Логика высказываний Пропозициональные формулы: - Всякая пропозициональная переменная (у Клини она называется атомом, элементарной формулой) есть формула. - Если $A$ - пропозициональная формула, то $not A$ - пропозициональная формула. - Если $A$ и $B$ - пропозициональные формулы, т...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pagebreak-weak_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // After place // Should result in three pages. First #pagebreak(weak: true) #place(right)[placed A] #pagebreak(weak: true) Third
https://github.com/GeorgeDong32/GD-Typst-Templates
https://raw.githubusercontent.com/GeorgeDong32/GD-Typst-Templates/main/templates/homework.typ
typst
Apache License 2.0
#import "../functions/style.typ": * #import "../functions/booktab.typ": * #import "../functions/dirac.typ": * #let homework( subject: "课程", title: "作业一", name: "张三", stdid: "11223344", time: "2023年10月9日", body ) = { set document(title: title) set page(paper: "a4", numbering: "1", number...
https://github.com/Leadlegend/Curriculum-Vitae
https://raw.githubusercontent.com/Leadlegend/Curriculum-Vitae/main/modules/skills.typ
typst
Apache License 2.0
#import "../template.typ": * #cvSection("Skills") /* #cvSkill( type: [Languages], info: [English #hBar() French #hBar() Chinese] ) */ #cvSkill( type: [Languages], info: [Python #hBar() C/C++ #hBar() Java #hBar() HTML/CSS #hBar() Bash #hBar() SQL] ) #cvSkill( type: [Developer Tools], info: [Docker #hBar() ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/050%20-%20Phyrexia%3A%20All%20Will%20Be%20One/003_Episode%201%3A%20Uncontrolled%20Descent.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: Uncontrolled Descent", set_name: "Phyrexia: All Will Be One", story_date: datetime(day: 13, month: 01, year: 2023), author: "<NAME>", doc ) Kaito couldn't have answered if someone had asked him what he was expecting to find in Ne...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-00.typ
typst
Other
// Test break. #let var = 0 #let error = false #for i in range(10) { var += i if i > 5 { break error = true } } #test(var, 21) #test(error, false)
https://github.com/HollowNumber/DDU-Rapport-Template
https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/src/lib/recursive_count.typ
typst
#let recursive_count(_body) = { let r(cont) = { let _C = 0 if type(cont) == content { for key in cont.fields().keys() { if key == "children" { for _child in cont.fields().at("children") { let resp = r(_child) _C += resp } } el...
https://github.com/tilman151/pypst
https://raw.githubusercontent.com/tilman151/pypst/main/docs/examples/document/my-document.typ
typst
MIT License
#import "@preview/unify:0.6.0": qty = My Document You can add a paragraph by simply passing a string. Each element is separated in the rendered Typst code by a blank line. You can all any builtin function. #lorem(50) == Using Imported Functions You can use the function imported earlier. It works #qty("100", "%"). ...
https://github.com/DawodGAMIETTE/ENSEA_template-Typst
https://raw.githubusercontent.com/DawodGAMIETTE/ENSEA_template-Typst/master/src/template.typ
typst
// The project function defines how your document looks. // It takes your content and some metadata and formats it. // Go ahead and customize it to your liking! #let project(title: "", objective: [], authors: (), body) = { // Set the document's author and title set document(author: authors, title: title) // Conf...
https://github.com/dyc3/good-typst-template
https://raw.githubusercontent.com/dyc3/good-typst-template/main/README.md
markdown
The Unlicense
# good-typst-template My personal typst template repo that includes CI, mermaid/plantuml figures, and other useful bits. ## Setup 1. Install [typst](https://typst.app) 2. Install [mermaid-cli](https://github.com/mermaid-js/mermaid-cli) (requires node.js) ``` npm install -g @mermaid-js/mermaid-cli@10.6.1 ``` Note: Run...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/theory/branch.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly #import "@preview/fletcher:0.5.1" as fletcher: node, edge #let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide) #import "../components/gh-button.typ": gh_button #import "../c...
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/mimic_chinese_lorem.typ
typst
Sign on the dottred line: #box(width: 1fr, repeat[。]) #set text(10pt) #v(8pt, weak: true) #align(right)[等光落下啊] #show outline.entry.where( level: 1 ): it => { v(12pt, weak: true) strong(it) } #outline( indent: auto, fill: box(width: 1fr, repeat[-]) ) = Apache Spark Spark 在流式处理中的应用 = Apache Flink Fli...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/block-spacing_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set block(spacing: 10pt) Hello There #block(spacing: 20pt)[Further down]
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231114/meta.typ
typst
MIT License
#let data_incontro = "14-11-2023" #let inizio_incontro = "16:00" #let fine_incontro = "18:00" #let luogo_incontro = "Discord"
https://github.com/Origami404/kaoyan-shuxueyi
https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/微积分/02-极限与导数.typ
typst
#import "../template.typ": sectionline, gray_table, colored = 极限与导数 == 公式 === 等价无穷小 #let 等价 = math.class( "relation", $" " ~ " "$ ) $ x 等价 sin x 等价 tan x 等价 arcsin x 等价 arctan x \ \ x 等价 ln(1 + x) 等价 e^x - 1 \ \ (1 + x)^alpha 等价 1 - alpha x \ 1 - cos x 等价 1/2 x^2 $ === 洛必达 #set list(marker: ([⤥], [›])) 只...
https://github.com/mrcinv/nummat-typst
https://raw.githubusercontent.com/mrcinv/nummat-typst/master/domace_03.typ
typst
= 3. domača naloga == Navodila <navodila> Zahtevana števila izračunajte na #strong[10 decimalk] \(z relativno natančnostjo $bold(10^(minus 10))$) Uporabite lahko le osnovne operacije, vgrajene osnovne matematične funkcije `exp`, `sin`, `cos`, …, osnovne operacije z matrikami in razcepe matrik. Vse ostale algoritme mor...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/peripherals/ppu.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * == PPU (Picture Processing Unit) #reg-figure( caption: [#hex("FF40") - LCDC - PPU control register] )[ #reg-table( [R/W-0], [R/W-0], [R/W-0], [R/W-0], [R/W-0], [R/W-0], [R/W-0], [R/W-0], [LCD_EN], [WIN_MAP], [WIN_EN], [TILE_SEL], [BG_MAP], [OBJ_SIZE], [OBJ_EN], [BG_EN], [...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/template.typ
typst
/* page setup */ #let conf(author: "<NAME>", title, subtitle, doc) = { set document(title: title, author: author) set align(center) set par(justify: true) align(center + horizon, [ #text(17pt, title) ]) line(length: 100%) align(center + horizon, [ #text(10pt, author) ]) line(start: (0%, 0%), e...
https://github.com/zeropoolnetwork/sharded-storage-docs
https://raw.githubusercontent.com/zeropoolnetwork/sharded-storage-docs/main/presentation/trilemma/trilemma.typ
typst
MIT License
#import "@preview/touying:0.4.1": * #import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge #import "university.typ" #import fletcher.shapes: ellipse #set page(width: auto, height: auto, margin: 5mm, fill: white) #set text(font: "Liberation Sans") #set align(center) #let s = university.register(aspect-r...
https://github.com/leyan/cetzpenguins
https://raw.githubusercontent.com/leyan/cetzpenguins/main/src/penguins.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import cetz.draw: * #let anchor-coords(anchor-name) = { get-ctx(ctx => { let round(a) = a.map(v => calc.round(v,digits:4)) let (ctx,a) = cetz.coordinate.resolve(ctx,anchor-name) let(x,y,z)=a circle((x,y),fill:red,stroke:none,radius:0.02) line(stroke:0.1pt+red,ancho...
https://github.com/Cyclone-Robosub/ocean-report-crs
https://raw.githubusercontent.com/Cyclone-Robosub/ocean-report-crs/main/0.1.0/README.md
markdown
# ocean-report-crs This is the official Typst template for Cyclone RoboSub (CRS) @ UC Davis. The organization and logo name found at the bottom right of the document can be modified to fit other organizations. ## Usage You can use this template in the Typst web app by clicking "Start from template" on the dashboard an...
https://github.com/gumelarme/nuist-master-thesis-proposal
https://raw.githubusercontent.com/gumelarme/nuist-master-thesis-proposal/main/pages/report.typ
typst
#import "/strings/zh.typ" as lang #text(size: 1.5em, lang.section-1) #let title-sources = list( marker: $ballot$, ..lang.title-sources, ) #show table.cell: it => { if it.x > 0 { return text(size: 0.9em, it) } return it } #let table-len = 7 #let table-rows = 4 #block( width: 100%, height: 100%, ...
https://github.com/Greacko/typyst_library
https://raw.githubusercontent.com/Greacko/typyst_library/main/library/boxes.typ
typst
#let bluebox(content) = { rect(stroke:blue+1pt, content, radius:3pt, fill:color.linear-rgb(87.14%, 86.32%, 86.32%), width: 100%, height: auto ) } #let bb(content) = { bluebox(content) } #let redbox(content) = { rect(stroke:red+1pt, content, radius:3pt, fill:color.linear-rgb(87.14%, 86.32%, 86.32...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/flow/flow.typ
typst
--- flow-fr --- #set page(height: 2cm) #set text(white) #rect(fill: forest)[ #v(1fr) #h(1fr) Hi you! ] --- issue-flow-overlarge-frames --- // In this bug, the first line of the second paragraph was on its page alone an // the rest moved down. The reason was that the second block resulted in // overlarge fr...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/math/long.typ
typst
Apache License 2.0
#let aaaaaaaaaaaaaaaaaaaaa = 0 #let bbbbbbbbbbbbbbbbbbbbbb = 0 #let CCCCCCCCCCCCCCCCCCCCCCCCC = 0 $ aaaaaaaaaaaaaaaaaaaaa + bbbbbbbbbbbbbbbbbbbbbb + CCCCCCCCCCCCCCCCCCCCCCCCC $ $ [aaaaaaaaaaaaaaaaaaaaa + bbbbbbbbbbbbbbbbbbbbbb] + CCCCCCCCCCCCCCCCCCCCCCCCC $ $ [aaaaaaaaaaaaaaaaaaaaa + bbbbbbbbbbbbbbbbbbbbbb] + CCCCCCC...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/silky-report-insa/0.2.0/README.md
markdown
Apache License 2.0
# INSA - Typst Template Typst Template for full documents and reports for the french engineering school INSA. # Examples ## "TP" report By default, the template initializes with the `insa-report` show rule, with parameters that you must fill in by yourself. Here is an example of filled template: ```typst #import "@pr...
https://github.com/stephane-klein/typst-sklein-resume-poc
https://raw.githubusercontent.com/stephane-klein/typst-sklein-resume-poc/main/resume.typ
typst
#let headerFont = ("Roboto") #import "@preview/fontawesome:0.1.0": * #import "template.typ": * // Configuration #let firstName = "Stéphane" #let lastName = "Klein" #let personalInfo = ( email: "<EMAIL>", phone: "+33 6 61 48 76 04", github: "stephane-klein", linkedin: "stephanekleinfrommetz", homepage: "skle...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ascii-ipa/1.1.0/ascii-ipa.typ
typst
Apache License 2.0
#import "src/lib.typ": branner, praat, sil, xsampa, phonetic, phnt, phonemic, phnm, orthographic, orth, prosodic, prsd
https://github.com/OrangeX4/typst-pinit
https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/lib.typ
typst
MIT License
#import "simple-arrow.typ": simple-arrow, double-arrow #import "pinit-fletcher.typ": pinit-fletcher-edge #import "pinit-core.typ": * // ----------------------------------------------- // Libs // ----------------------------------------------- /// Draw a rectangular shape on the page **containing all pins** with optio...
https://github.com/mxsdev/lee-top-man-solutions
https://raw.githubusercontent.com/mxsdev/lee-top-man-solutions/main/solutions.typ
typst
MIT License
#import "@preview/ctheorems:1.1.2": * #show: thmrules.with(qed-symbol: $square$) #set page(width: 16cm, height: auto, margin: 1.5cm) #set heading(numbering: "1-1") #set enum(numbering: "(a)") #let problem = thmbox("theorem", "Problem", fill: rgb("#ffeeee")).with(numbering: "1-1") #let proof = thmproof("proof", "Proof...
https://github.com/Shambuwu/stage-docs
https://raw.githubusercontent.com/Shambuwu/stage-docs/main/Verantwoordingsrapport_Levi_Leuwol.typ
typst
#align( center, text( size: 1.2em, [ *Verkenning van Voedselrecepten en Ingrediënten* \ Een Verantwoordingsrapport over de Ontwikkeling van een Intuïtieve Datavisualisatietool \ ], ) ) #align( center, figure( image("bijlagen/OIG.png", width: 400pt ) ) ) #let date = date...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/134.%20control.html.typ
typst
control.html Founder Control Want to start a startup? Get funded by Y Combinator. December 2010Someone we funded is talking to VCs now, and asked me how common it was for a startup's founders to retain control of the board after a series A round. He said VCs told him this almost never happened.Ten years ago th...
https://github.com/tingerrr/typst-test
https://raw.githubusercontent.com/tingerrr/typst-test/main/docs/book/src/reference/tests/annotations.md
markdown
MIT License
# Annotations Tests may contain annotations at the start of the file. These annotations are placed on the leading doc comment of the file itself. ```typst /// [ignore] /// [custom: foo] /// /// Synopsis: /// ... #import "/src/internal.typ": foo ... ``` Annotations may only be placed at the start of the doc comment o...
https://github.com/xsro/xsro.github.io
https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/lib/operation.typ
typst
#let sign(x)={ if calc.abs(x)==0 { 0 } else if x > 0 { 1 } else if x < 0 { -1 } } #let sig(x,q)={ if x==0{ 0 } else{ sign(x)*calc.pow(calc.abs(x),q) } } #let sat(x,th)={ if calc.abs(x)>th{ sign(x) * th } else{ x } }
https://github.com/noahjutz/CV
https://raw.githubusercontent.com/noahjutz/CV/main/sidebar/langskill.typ
typst
#let levels = ("A1", "A2", "B1", "B2", "C1", "C2") #let langskill(language, level) = align( horizon, stack( dir: ltr, spacing: 1fr, language, stack( dir: ltr, spacing: 3pt, ..levels.map(l => if level == l { text(font: "Noto Sans Mono", size: 11pt, l) } el...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-13.typ
typst
Other
// Error: 13-14 not enough elements to destructure #let (a, b, c) = (1, 2)
https://github.com/mem-courses/discrete-mathmatics
https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week8.typ
typst
MIT License
#import "../template.typ": * #import "../functions.typ": * #show: project.with( course: "Discrete Mathmatics", course_fullname: "Discrete Mathematics and Application", course_code: "211B0010", title: "Homework #8: Recurrence Relations", authors: (( name: "<NAME>", email: "<EMAIL>", id: "A10" ),), semester...
https://github.com/japrozs/resume
https://raw.githubusercontent.com/japrozs/resume/master/README.md
markdown
# Resume My resume template that is built is with Typst with a configuration file. If you want to customize the data for your own use, you only have to change the [resume.yml](./resume.yml) file. You can also customize the layout of this resume from a double-column layout by default to a single-column layout by custo...
https://github.com/EricWay1024/Homological-Algebra-Notes
https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/3-tp.typ
typst
#import "../libs/template.typ": * = Tensor Product of Modules <tp-module> == Existence and Functoriality #let Bil = [$"Bil"$] #definition[ Let $R$ be a ring. Consider #rrm $M$, #lrm $N$ and abelian group $A$. A map $f: M times N -> A$ is called a *balanced product* (or we say it is *$R$-biadditive*) if it satis...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/math/multi-char-var.typ
typst
Apache License 2.0
#let total_order = 123 #let another-order = 456 $ a^#total_order + a^#another-order$
https://github.com/pku-typst/ichigo
https://raw.githubusercontent.com/pku-typst/ichigo/main/src/lib.typ
typst
MIT License
#import "@preview/linguify:0.4.1": load_ftl_data, linguify #import "@preview/numbly:0.1.0": numbly #import "@preview/valkyrie:0.2.1" as z #import "model.typ" as model #import "title.typ": title-content #let languages = ( "zh", "en", ) #let lgf_db = eval(load_ftl_data("./L10n", languages)) #let linguify = linguify...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/def_use/base.typ
typst
Apache License 2.0
// most simple def-use case #let x = 1; #x
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/wordometer/0.1.0/test/tests.typ
typst
Apache License 2.0
#import "/src/lib.typ": * #set page(width: 15cm, height: auto) #show heading.where(level: 1): it => pagebreak(weak: true) + it + v(1em) = Basics #let el = [ One two _three_ four *five* six. == Seven eight #box[Nine #h(1fr) ten eleven $ sqrt(#[don’t mind me]) $ twelve.] Thirteen #text(red)[fourteen] - #highli...
https://github.com/Pablo-Gonzalez-Calderon/apuntes-botanica
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/apuntes-botanica/main/src/months/august.typ
typst
Other
#import "../template.typ": new-class, examplebox, obsbox, gloss #import "../figures/fig.typ": * #let clase-1-2 = [ #new-class(new-page: false, "Arquitectura de plantas leñosas", "07 de agosto de 2023") #gloss(size: 21em)[ / Plantas perennes: Presentan crecimiento ilimitado, debido a la mantención d...
https://github.com/Maso03/Bachelor
https://raw.githubusercontent.com/Maso03/Bachelor/main/Bachelorarbeit/chapters/introduction.typ
typst
MIT License
= Einleitung In einer zunehmend digitalen Welt ist die Optimierung der Benutzererfahrung ein zentrales Anliegen für Unternehmen. Künstliche Intelligenz (KI) hat sich dabei als eine der innovativsten Technologien herauskristallisiert, die neue Wege eröffnet, um Benutzerinteraktionen zu verbessern und gleichzeitig Effiz...
https://github.com/ouuan/cv
https://raw.githubusercontent.com/ouuan/cv/master/cv.typ
typst
Apache License 2.0
#import "template.typ": * #show: cv.with( name: "游宇凡", email: "<EMAIL>", birthday: "2003.1.26", github-id: "ouuan", ) #education(( ( school: [#box(image("./logos/tsinghua.svg"), height: 1.1em, baseline: 0.19em) 清华大学 致理书院], major: "信息与计算科学", degree: "本科", date: "2021.9 — 2025.6(预期)", ), )) ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.1.0/themes/metropolis.typ
typst
Apache License 2.0
// This theme is inspired by https://github.com/matze/mtheme // The origin code was written by https://github.com/Enivex // Consider using: // #set text(font: "Fira Sans", weight: "light", size: 20pt) // #show math.equation: set text(font: "Fira Math") // #set strong(delta: 100) // #set par(justify: true) #i...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/mark.typ
typst
Apache License 2.0
#import "drawable.typ" #import "vector.typ" #import "matrix.typ" #import "util.typ" #import "path-util.typ" #import "styles.typ" #import "mark-shapes.typ": get-mark #import "process.typ" #import util: typst-length /// Checks if a mark should be drawn according to the current style. /// - style (style): The current st...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/grayness/0.2.0/manual.typ
typst
Apache License 2.0
#import "@preview/tidy:0.3.0" = Grayness This package provides basic image editing functions. All of them work with Raster Data (e.g. "normal" Images like PNG or JPEG). The `grayscale-image` function also works with Vector Data (SVG). The Following functions are available: #let docs = tidy.parse-module(read("lib.typ...
https://github.com/sebmestrallet/typst-simple-siam
https://raw.githubusercontent.com/sebmestrallet/typst-simple-siam/main/thumbnails/README.md
markdown
MIT No Attribution
# How to generate the thumbnails 1. Compile `../src/main.typ` with Typst 1. Split the PDF with [PDFsam](https://github.com/torakiki/pdfsam) 1. For each page, open it with [Xournal++](https://github.com/xournalpp/xournalpp) and export as PNG @ 96dpi
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/002.%20progbot.html.typ
typst
#set page( paper: "a5", margin: (x: 1.8cm, y: 1.5cm), ) #set text( font: "Liberation Serif", size: 10pt, hyphenate: false ) #set par(justify: true) #v(10pt) = Programming Bottom-Up #v(10pt) _1993_ _(This essay is from the introduction to On Lisp.)_ It's a long-standing principle of programming style that ...
https://github.com/rikhuijzer/phd-thesis
https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/chapters/4.typ
typst
The Unlicense
#import "../style.typ": citefig #import "../functions.typ": chapter, textcite, parencite, note #chapter( [Predicting Special Forces Dropout via Explainable Machine Learning], label: [ <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., & <NAME>, <NAME>. (2024). Predicting Special Forces Dropout via Explainable Ma...
https://github.com/adelhult/typst-hs-test-packages
https://raw.githubusercontent.com/adelhult/typst-hs-test-packages/main/test/counter-examples/colon_in_label_as_arg.typ
typst
MIT License
#let x = selector(<foo:bar>)
https://github.com/daniel-eder/typst-template-jku
https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/pages/abstract.typ
typst
// SPDX-FileCopyrightText: 2023 <NAME> // // SPDX-License-Identifier: Apache-2.0 #import "../styles/pre_content_heading.typ": pre_content_heading #let abstract( abstract, ) = { set page(numbering: "i", number-align: center) pre_content_heading([Abstract]) abstract }
https://github.com/Goldan32/brilliant-cv
https://raw.githubusercontent.com/Goldan32/brilliant-cv/main/metadata.typ
typst
Apache License 2.0
// NOTICE: Copy this file to your root folder. /* Personal Information */ #let firstName = "Dániel" #let lastName = "Arany" #let personalInfo = ( github: "Goldan32", phone: "+36 30 290 1219", email: "<EMAIL>", linkedin: "danielarany", //custom-1: (icon: "", text: "example", link: "https://example.com"), ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/import_new_name.typ
typst
Apache License 2.0
// path: base.typ ----- #import "base.typ" as x #(/* position after */ x);