repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/exers/f.typ
typst
#import "../cfg.typ": * #show: cfg $ "Find" lim_(x -> +0) x^x $ $lim_(x -> +0) x^x = lim_(x -> +0) e^(x ln x) = lim_(x -> +0) e^(e^(ln x) ln x)$ $lim_(x -> +0) e^(ln x) ln x = -lim_(x -> +0) (-ln x)/(e^(-ln x)) = -lim_(x -> +oo) x/e^x = 0$ $lim_(x -> +0) e^(-(-e^(ln x) ln x)) = lim_(x -> +0) e^(-x) = 1$
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/beurteilen_bewerten/bedeutung_schulnoten.typ
typst
Other
#import "/src/template.typ": * == Bedeutung der Schulnoten #set par(justify: false) #grid(columns: 3, column-gutter: 0.5em, row-gutter: 1em, strong[Note], [#h(3cm)], strong[Bedeutung], [1], [sehr gut], [ Die Leistung #underline[entspricht den Anforderungen in besonderem Maße], d.h. sie erbring...
https://github.com/DarrenKwonDev/resume
https://raw.githubusercontent.com/DarrenKwonDev/resume/master/suhun_kwon_cv_eng.typ
typst
//////////////////////////// // global settings //////////////////////////// #let default_font_size = 10pt #let name_size = 12pt #let personal_info_size = 10pt // https://typst.app/docs/reference/layout/page/ #set page( paper: "a4", margin: 1cm, numbering: "1 / 1", ) // english version #set text( font: "Ti...
https://github.com/PhotonQuantum/UofTNotes
https://raw.githubusercontent.com/PhotonQuantum/UofTNotes/master/src/CSC2108H/LEC0101_CourseStructure.typ
typst
#import "/sty.typ": * #show: template.with( title: [Automated Reasoning with ML: Course Structure], short_title: [CSC2108H LEC0101], description: [ Notes based on lectures for CSC 2108H\ (Automated Reasoning with Machine Learning)\ at the University of Toronto by Professor <NAME>, Fall 2024 ], date: date...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.2.0/src/main.typ
typst
Apache License 2.0
#import calc: floor, ceil, min, max #import "utils.typ": * #import "layout.typ": * #import "draw.typ": * #import "marks.typ": * /// Draw a labelled node in an arrow diagram. /// /// - pos (point): Dimensionless "elastic coordinates" `(x, y)` of the node, /// where `x` is the column and `y` is the row (increasing upwa...
https://github.com/ericthomasca/resume-v1
https://raw.githubusercontent.com/ericthomasca/resume-v1/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Accelerated Software Development Post Diploma], society: [College of the North Atlantic], date: [Sep 2021 - Aug 2022], location: [St. John's, NL], description: list( [Studied a variety of software development topics, inc...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/angle/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": * #set page(width: auto, height: auto, margin: 1cm) #ang(2.67) #ang(2, 3, 4) #ang(2.67, angle-mode: "arc") #ang(2, 3, 4, angle-mode: "arc") #ang(2.67, angle-mode: "decimal") #ang(2, 3, 4, angle-mode: "decimal")
https://github.com/gerome-andry/typst-CV
https://raw.githubusercontent.com/gerome-andry/typst-CV/main/README.md
markdown
# typst-CV Simple academic cv in typst
https://github.com/1STEP621/typst-anshere
https://raw.githubusercontent.com/1STEP621/typst-anshere/main/example/example.typ
typst
#import "../src/anshere.typ": * #set text(font: ("Noto Serif CJK JP")) #anshere(( q(), // q()で質問を追加 q(), q-blank, // q-blankで空白 q-break, // q-breakで改行 ..(q(),) * 3, // 繰り返しを使うと便利 q-break, q(content: [#h(1fr)m / s]), // contentで解答欄に書き込み q(content: [#h(1fr)T#h(10pt)/#h(10pt)F#h(1fr)]), q(label: [$2x ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/draw/transformations.typ
typst
Apache License 2.0
#import "/src/coordinate.typ" #import "/src/matrix.typ" #import "/src/vector.typ" #import "/src/util.typ" // Utility for applying translation to and from // the origin to apply a transformation matrix to. // // - ctx (context): Context // - transform (matrix): Transformation matrix // - origin (coordinate): Origin coo...
https://github.com/dark-flames/resume
https://raw.githubusercontent.com/dark-flames/resume/main/data/work.typ
typst
MIT License
#import "../libs.typ": * #import "../chicv.typ": * #let workList(env) = ( ( company: "Luogu", link: iconlink("https://luogu.com", text: "luogu.com"), role: "Backend Team Leader, Remote, Part-Time", location: "Shanghai, China", time: "Jul, 2017 - Apr, 2023", content: cv-and-others(env, [ ...
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/quantizers/bach/sign-based-overlay.typ
typst
#import "@preview/cetz:0.2.2": * #let ymax = 1/calc.sqrt(2*calc.pi) #let line_style = (stroke: (paint: black, thickness: 2pt)) #let dashed = (stroke: (dash: "dashed")) #canvas({ plot.plot(size: (8,4), legend: "legend.north", legend-style: (orientation: ltr, item: (spacing: 0.5)), x-tick-step: none, ...
https://github.com/EstebanMunoz/typst-template-informe
https://raw.githubusercontent.com/EstebanMunoz/typst-template-informe/main/title-page.typ
typst
MIT No Attribution
#let place-people-in-grid(people, single-people-str, multiple-people-str) = { let num-people = people.len() if num-people == 0 {()} else if num-people == 1 {(single-people-str,)} else {(grid.cell(rowspan: num-people, multiple-people-str),)} } #let title-page( title: none, subject: none, students: (), t...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-18.typ
typst
Other
// Ref: false // Destructuring with a sink in the middle. #let (a: _, ..b, c: _) = (a: 1, b: 2, c: 3) #test(b, (b: 2))
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/assets/demo/polylux.typ
typst
MIT License
#import "@preview/polylux:0.2.0": * #import themes.clean: * #set text(font: "Source Sans 3") #show math.equation: set text(font: "GFS Neohellenic Math") #show: clean-theme.with( footer: [Sum of natural numbers, CF Gauß], ) #title-slide( authors: "<NAME>", title: [On a revolutionary way to \ sum up natural nu...
https://github.com/MALossov/YunMo_Doc
https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/README.md
markdown
Apache License 2.0
# 云MO监控 - 完赛文档 > 模板格式源自: 上海大学本科毕业论文[_typst_](https://typst.app/)模板 1. 使用typst进行了完赛文档的撰写 2. 进行了部分的格式调整,来满足比赛要求 ~~就是个FPGA创新赛的完赛文档,没啥好看的~~ *主要是用typst写的*
https://github.com/jw2476/cslog
https://raw.githubusercontent.com/jw2476/cslog/master/AutoGen.typ
typst
= Appendix: Code #[ #set align(center) The following is every single `.rs` (Rust) and `.toml` (configuration) file in my project. The total length is 7939 loc and 224 548 characters across 68 files. ] === arbiter::main.rs ```pretty-rs // main.rs #![warn(clippy::pedantic)] #![warn(clippy::nursery)] #![deny(cl...
https://github.com/ern1/typiskt
https://raw.githubusercontent.com/ern1/typiskt/main/resume-content.typ
typst
#let hBar() = [ #h(0.2em) | #h(0.2em) ] #let sectionName = [Education] //Load Balancing of Parallel Tasks using Memory Bandwidth Restrictions. #let eduEntries = ( gu: ( title: [Master's degree, Computer Science], society: [University of Gothenburg/Chalmers], date: [2020 - ], location: [Gothenburg, Sw...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/chapters/ch03.typ
typst
MIT License
= 展望 目前本模板还有一些不足之处,有待进一步完善: - 参考文献格式,特别是中文参考文献的格式不完全符合学校有关规定。#link("https://discord.com/channels/1054443721975922748/1094796790559162408/1094928907880386662", "Discord 上的这个对话")显示,Typst 有关功能还在开发中。待有关接口对外开放后,本模板将会进行相应的适配。 - 暂时还不支持脚注。 - 需要完善对盲评格式的支持。 - 需要完善奇数页开始选项的效果。
https://github.com/ssotoen/gridlock
https://raw.githubusercontent.com/ssotoen/gridlock/main/docs/gridlock-manual.typ
typst
The Unlicense
// typst c docs/gridlock-manual.typ --font-path docs/fonts --root ../ --pdf-standard a-2b #let typst-toml = toml("../typst.toml") #let project-version = typst-toml.package.version #let project-authors = typst-toml.package.authors.at(0) #show "[version-placeholder]": project-version #import "../src/lib.typ": * #import...
https://github.com/justmejulian/typst-documentation-template
https://raw.githubusercontent.com/justmejulian/typst-documentation-template/main/theme/cover.typ
typst
#import "constant.typ": body-font, sans-font #let cover( title: "", subtitle: "", program: "", school: "", supervisor: "", advisor: "", author: "", expert: "", proofReader: "", ) = { set page( margin: (left: 30mm, right: 30mm, top: 20mm, bottom: 40mm), numbering: none, number-align: cen...
https://github.com/Anastasia-Labs/project-close-out-reports
https://raw.githubusercontent.com/Anastasia-Labs/project-close-out-reports/main/f10-plug-and-play-01-closeout-report/video-transcript/plug-and-play-01-video-script.typ
typst
#let image-background = image("../../images/Background-Carbon-Anastasia-Labs-01.jpg", height: 100%, fit: "cover") #let image-foreground = image("../../images/Logo-Anastasia-Labs-V-Color02.png", width: 100%, fit: "contain") #let image-header = image("../../images/Logo-Anastasia-Labs-V-Color01.png", height: 75%, fit: "co...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/render-dialogue.typ
typst
#import "base-utils.typ": * #import "styles.typ" // each dialogue item should be a full-width item // when you // unless using a 2 column layout ... then should be half width // and the name should be placed vertically above #let render-dialogue(data) = { let scope = ( finale: (x) => rect(..styles.finale, str(x...
https://github.com/FilipSolich/CV-Template
https://raw.githubusercontent.com/FilipSolich/CV-Template/main/README.md
markdown
The Unlicense
# CV Template CV Template written in Typst ![Example output](example.png) ## Compile PDF ```sh typst compile --input jobTitle="Developer" --font-path fonts example.typ cv.pdf ```
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/build-test.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #create-body-entry( title: "Build: Lift", type: "build", date: datetime(year: 2024, month: 1, day: 6), author: "<NAME>", witness: "<NAME>", )[ // Outline: // finish basic structure //The lifting lever...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak-link_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Ensure that there's no unconditional break at the end of a link. #set page(width: 180pt, height: auto, margin: auto) #set text(11pt) For info see #link("https://myhost.tld").
https://github.com/RanolP/resume
https://raw.githubusercontent.com/RanolP/resume/main/cover.typ
typst
#import "modules/util.typ": * #import "modules/activity.typ": * #import "modules/components.typ": * #import "modules/github.typ": * #import "modules/solved-ac.typ": * #import "metadata.typ": metadata #set page(fill: color.rgb(0, 0, 0, 0)) #let theme = sys.inputs.at("theme", default: "light") #let palette = if theme =...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/lorem-00.typ
typst
Other
// Test basic call. #lorem(19)
https://github.com/Otto-AA/definitely-not-tuw-thesis
https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/CONTRIBUTING.md
markdown
MIT No Attribution
# Contributing Any improvements and fixes are welcome! If you notice any inconsistencies with the official template, please open an issue. ## Development setup This project uses [Just](https://just.systems/man/en/) to have some convenience scripts (similar to `make`). You can view those in the [Justfile](./Justfile)...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/003_The%20Principles%20of%20Unnatural%20Selection.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Principles of Unnatural Selection", set_name: "Ravnica Allegiance", story_date: datetime(day: 06, month: 02, year: 2019), author: "<NAME>", doc ) "Are you sure he's not dead?" Miko says, poking the elder monk in his forehead. The monk s...
https://github.com/eratio08/learn-typst
https://raw.githubusercontent.com/eratio08/learn-typst/main/tutorial.typ
typst
= Introduction In this report, we will explore the various factors that influence fluid dynamics in glaciers and how they contribute to the formation and behaviour of these natural structures. == Emphasis _This is a test_ == Lists + Test - Test - Test + Test + Test == Figures #figure(image("placeholder.png",...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/5-implementation/hosting.typ
typst
Um die Anwendung zu validieren und die Evaluation durchzuführen, musste sie auf einer Website veröffentlicht werden. Hierfür wurde das JavaScript-Framework SvelteKit verwendet @svelte-kit. Die Anwendung wurde unter der URL #link("https://ar.maxgraw.com") veröffentlicht. Durch die Erstellung der Komponenten als Web Comp...
https://github.com/An-314/Notes-of-DSA
https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/binary_search_tree.typ
typst
= 二叉搜索树 BST(Binary Search Tree) 各数据项依所持关键码而彼此区分,循关键码访问:call-by-KEY。关键码之间必须同时支持比较(大小)与比对(相等)。数据集中的数据项,统一地表示和实现为词条(entry)形式。 词条 ```cpp template <typename K, typename V> struct Entry { //词条模板类 K key; V value; //关键码、数值 Entry( K k = K(), V v = V() ) : key(k), value(v) {}; //默认构造函数 Entry( Entry<K, V> const & e ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-11.typ
typst
Other
// Test second block during break flow. // Ref: true #for i in range(10) { table( { [A]; break }, for _ in range(3) [B] ) }
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/project_documentation.typ
typst
#import "../style.typ": * #import "../acronyms.typ": * #set text(..sa_text_style) #set heading(..sa_header_style) #show heading.where(level: 1): sa_heading1_show #show heading.where(level: 2): sa_heading2_show #show heading.where(level: 3): sa_heading3_show #show heading.where(level: 4): sa_heading4_show #let metadat...
https://github.com/Jo-Eck/burgers
https://raw.githubusercontent.com/Jo-Eck/burgers/main/paper.typ
typst
#import "template.typ": * #show: ieee_conference.with( title: "Classification of Sandwich Types: A Set-Theoretic Analysis", abstract: [ This paper provides a set-theoretic analysis of the relationships between cheeseburgers, hamburgers, and double hamburgers, offering a comprehensive understanding of their cat...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-14.typ
typst
Other
// Error: 6-20 not enough elements to destructure #let (..a, b, c, d) = (1, 2)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/postercise/0.1.0/postercise.typ
typst
Apache License 2.0
#import "/themes/themes.typ" #import "/utils/scripts.typ"
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/cite-footnote_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page Hello @netwok And again: @netwok #pagebreak() #bibliography("/assets/files/works.bib", style: "chicago-notes")
https://github.com/KaiserY/mdbook-typst-pdf
https://raw.githubusercontent.com/KaiserY/mdbook-typst-pdf/main/README-cn.md
markdown
Apache License 2.0
# mdbook-typst-pdf 将 [mdBook](https://github.com/rust-lang/mdBook) 转换为 PDF。 目前主要用于将 [Rust 程序设计语言 简体中文版](https://kaisery.github.io/trpl-zh-cn) 转换为 PDF。 ## 效果演示 [Rust 程序设计语言 简体中文版.pdf](https://kaisery.github.io/trpl-zh-cn/Rust%20%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80%20%E7%AE%80%E4%BD%93%E4%B8%AD%E6%9...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/flow-orphan.typ
typst
Apache License 2.0
// Test that lines and headings doesn't become orphan. --- #set page(height: 100pt) #lorem(12) = Introduction This is the start and it goes on. --- #set page("a8", height: 140pt) #set text(weight: 700) // Fits fully onto the first page. #set text(blue) #lorem(27) // The first line would fit, but is moved to the se...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/16-eigen-values-vectors.typ
typst
Other
#import "../../utils/core.typ": * == Собственные значения и собственные векторы линейного отображения #def[ Оператор $Aa in End(V)$ называется _диагонализируемым_, если $exists E:$ $ [Aa]_E = diag(lambda_1, ..., lambda_n) = mat( lambda_1, ..., 0; dots.v, dots.down, dots.v; 0, ..., lamb...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/expand.typ
typst
#import "@local/typkit:0.1.0": * #let expand-string(s, evaluate: false, show-original: false, fill: none) = { if is-factorial(s) { let m = int(match(s, "\d+")) let numbers = range(m, 0, step: -1) let a = numbers.map(resolve-content).join(marks.math.times) if evaluate == true { ...
https://github.com/JeyRunner/tuda-typst-templates
https://raw.githubusercontent.com/JeyRunner/tuda-typst-templates/main/example_tudapub.typ
typst
MIT License
// imports #import "@preview/cetz:0.2.2": canvas, plot #import "@preview/glossarium:0.4.0": make-glossary, print-glossary, gls, glspl #import "@preview/mitex:0.2.3": * // add // - subpar for sub-figures #import "@preview/equate:0.1.0": equate #show: make-glossary //#import "templates/tudapub/tudapub.typ": tudapub ...
https://github.com/tony-rsa/thonifho.muhali.cv
https://raw.githubusercontent.com/tony-rsa/thonifho.muhali.cv/main/src/en.typ
typst
MIT License
#import "template.typ": * #show: layout #let lang = "en" #cvHeader(hasPhoto: true, align: left, lang) #autoImport("experience", lang) #autoImport("education", lang) #autoImport("projects", lang) #autoImport("skills", lang)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/keyle/0.1.1/README.md
markdown
Apache License 2.0
# keyle <p align="center"> <a href="https://github.com/magicwenli/keyle/blob/main/doc/keyle.pdf"> <img alt="Documentation" src="https://img.shields.io/website?down_message=offline&label=manual&up_color=007aff&up_message=online&url=https://github.com/magicwenli/keyle/blob/main/doc/keyle.pdf" /> </a> <a href="...
https://github.com/kdog3682/typkit
https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/eval.typ
typst
#import "validation.typ": is-content #import "ao.typ": create-scope #import "str-utils.typ": has-extension, sub #import "marks.typ" #let markup(x, ..modules) = { let scope = create-scope(..modules) if is-content(x) { return x } let s = if has-extension(x) { read(x) } else { ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/quotes-02.typ
typst
Other
// Test sentences with numbers and apostrophes. The 5'11" 'quick' brown fox jumps over the "lazy" dog's ear. He said "I'm a big fella."
https://github.com/SkiFire13/typst-prooftree
https://raw.githubusercontent.com/SkiFire13/typst-prooftree/master/prooftree.typ
typst
MIT License
#let prooftree( spacing: ( horizontal: 1em, vertical: 0.5em, lateral: 0.5em, ), label: ( // TODO: split offset into horizontal and vertical offset: -0.1em, side: left, padding: 0.2em, ), line-stroke: 0.5pt, ..rules ) = context { // Check parameters and compute normalized settin...
https://github.com/typst-community/harbinger
https://raw.githubusercontent.com/typst-community/harbinger/main/manual.typ
typst
MIT License
#import "@preview/tidy:0.2.0" #import "@preview/harbinger:1.0.0" #set text(font: "New Computer Modern Sans") #align(center)[ #text(24pt)[*harbinger*] #v(1em, weak:true) #text(12pt)[A package for shadow boxes in Typst.] ] #show terms.item: it => [- #par(hanging-indent: 1em)[*#it.term:* #it.description]] #sho...
https://github.com/Lslightly/TypstTemplates
https://raw.githubusercontent.com/Lslightly/TypstTemplates/main/templates/assignment.typ
typst
MIT License
// 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! #import "font.typ": * #import "code.typ": * #let project(title: "", authors: (), body) = { // Set the document's basic properties. set document(author: aut...
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/tests/test-hilbert-curve.typ
typst
MIT License
#set document(date: none) #import "/src/lib.typ": * #set page(margin: 1cm) = n = 1 #align(center)[ #hilbert-curve(1, step-size: 50) ] = n = 2 #align(center)[ #hilbert-curve(2, step-size: 30, stroke-style: blue) ] = n = 3 #align(center)[ #hilbert-curve(3, step-size: 30, stroke-styl...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/metro/0.1.0/src/impl/qty.typ
typst
Apache License 2.0
#import "num.typ": num #import "unit.typ": unit #let qty( number, unt, e: none, pm: none, allow-quantity-breaks: false, ..options ) = { let result = { num(number, e: e, pm: pm, ..options) $space.thin$ unit(unt, ..options) } return if allow-quantity-breaks { result } else { box(r...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/str.typ
typst
// Test the string methods. --- str-constructor --- // Test conversion to string. #test(str(123), "123") #test(str(123, base: 3), "11120") #test(str(-123, base: 16), "−7b") #test(str(9223372036854775807, base: 36), "1y2p0ij32e8e7") #test(str(50.14), "50.14") #test(str(10 / 3).len() > 10, true) --- str-from-float --- ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-D7B0.typ
typst
Apache License 2.0
#let data = ( ("<NAME> O-YEO", "Lo", 0), ("<NAME> O-O-I", "Lo", 0), ("<NAME>-A", "Lo", 0), ("<NAME> YO-AE", "Lo", 0), ("<NAME> YO-EO", "Lo", 0), ("<NAME> U-YEO", "Lo", 0), ("<NAME> U-I-I", "Lo", 0), ("<NAME>U-AE", "Lo", 0), ("<NAME>-O", "Lo", 0), ("<NAME> EU-A", "Lo", 0), ("<NAME> EU-EO", "Lo", 0)...
https://github.com/pascalguttmann/typst-template-report-lab
https://raw.githubusercontent.com/pascalguttmann/typst-template-report-lab/main/template-report-lab.typ
typst
MIT License
#let date = datetime.today().display( "[day padding:space] [month repr:short] [year repr:full]" ) #let titlepage-lange( title: "titlepage(title: \"title\")", authors: ( ( name: "titlepage(authors: ((name: \"name\")))", affiliation: "titlepage(authors: ((affiliation: \"affiliation\")))", ...
https://github.com/japrozs/resume
https://raw.githubusercontent.com/japrozs/resume/master/resume.typ
typst
#import "template.typ": * // Load CV data from YAML #let cvdata = yaml("resume.yml") #let uservars = ( headingfont: "Linux Libertine", // Set font for headings bodyfont: "EB Garamond", // Set font for body fontsize: 10pt, // 10pt, 11pt, 12pt linespacing: 6pt, showAddress: true, // true/false Sho...
https://github.com/Research-Team-Fcode/NodeJS
https://raw.githubusercontent.com/Research-Team-Fcode/NodeJS/main/main.typ
typst
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #let title = [ NodeJS ] #set heading(numbering: "1.") #show par: set block(spacing: 0.65em) #set par(first-line-indent: 1em, justify: true) #align(center + horizon, text(size: 32pt, weight: 400)[ *#title* ]) #pagebreak() #ou...
https://github.com/tlsnotary/docs-mdbook
https://raw.githubusercontent.com/tlsnotary/docs-mdbook/main/research/ghash.typ
typst
#set page(paper: "a4") #set par(justify: true) #set text(size: 12pt) #show link: underline = GHASH We want to compute GHASH MAC in 2PC which is of the form $sum_(k=1)^l H^k dot b_k$, where $H^k, b_k in "GF"(2^128)$. $H$ is split into additive shares for parties $P_A$ and $P_B$, such that $P_A$ knows $H_1$ and $P_B$ ...
https://github.com/leesum1/brilliant-cv
https://raw.githubusercontent.com/leesum1/brilliant-cv/master/modules_en/education.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Education") #cvEntry( title: [Master of Computer Science], society: [Hangzhou Dianzi U...
https://github.com/soul667/typst_template
https://raw.githubusercontent.com/soul667/typst_template/main/基本模板/use.typ
typst
#set text(top-edge: 0.7em, bottom-edge: -0.3em) #set par(leading: 2em) #lorem(6) #lorem(7)
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/today.typ
typst
#let o = (0,0) #let p34 = (3, 4) #import "@preview/cetz:0.2.0" #cetz.canvas({ import cetz.draw: * let red-circle(pos) = { circle(pos, radius: 5pt, fill: red, stroke: none) } let grid-line(a, b) = { line(a, b, name: "holder", stroke: none) } let arrow(a, b) = { let arrow-attrs = ( mark: (...
https://github.com/jonatchoum/typst-thesis-template
https://raw.githubusercontent.com/jonatchoum/typst-thesis-template/main/README.md
markdown
# typst-thesis-template Template to write thesis based on the amazing work of eduardz1 [UniTO-typst-template](https://github.com/eduardz1/unito-typst-template) Add support for french, and my needs at CESI and TotalEnergies as an apprentice.
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/vita/src/skills.typ
typst
MIT License
#let skillslist = state("skillslist", ()) #let skill( name, notes, ) = { let title = [ #heading(level: 3, name) #notes ] skillslist.update(current => current + (title,)) } #let skills(header: "Technical Skills") = { locate( loc => { let skillslist = skillslist.final(loc) if skillslis...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/docs/limitations.md
markdown
Apache License 2.0
To keep source code valid, typstyle will give up formatting in certain cases. This is a list of what typstyle will not format. ## Overall ### Markup lines Typstyle only formats the code, it does not format the markup lines. It will keep the markup lines as is. Specifically, if a line contains text(`ast::Expr::Text`)...
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/content/SMHD.typ
typst
#import "@preview/drafting:0.2.0": * #import "@preview/glossarium:0.4.1": * = S-Metric Helper Data Method <chap:smhd> A metric based @hda generates helper data at PUF enrollment to provide more reliable results at the reconstruction stage. Each of these metrics correspond to a quantizer with different bounds to lowe...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/005_The%20Pursuit%2C%20Part%201.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Pursuit, Part 1", set_name: "Dragon's Maze", story_date: datetime(day: 01, month: 05, year: 2013), author: "<NAME>", doc ) Alayer of tension permeated the laboratory that made even the signature Izzet hiss of steam and the creaking of c...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/para/para_deleted.typ
typst
In this report, we will explore the various factors that influence structures. It is the responsibility of the author to obtain any required government or company reviews for their papers in advance of publication. Start early to determine if the reviews are required; this process can take several weeks.
https://github.com/vaucher-leo/template-tb-typst
https://raw.githubusercontent.com/vaucher-leo/template-tb-typst/main/main.typ
typst
MIT License
// Main File #import "template-HEIG-tb-FR.typ": * // Replace FR with EN for EN Language #import "fonctions.typ": * #import "config.typ": * #show: project.with( title: title, authors: author, professor: professor, departement: departement, filiere: filiere, orientation: orientation, field: field, date...
https://github.com/ntjess/typst-drafting
https://raw.githubusercontent.com/ntjess/typst-drafting/main/docs/manual.typ
typst
The Unlicense
#import "@preview/tidy:0.1.0" #import "utils.typ": * #import "../drafting.typ" #let module = tidy.parse-module(read("../drafting.typ"), scope: (drafting: drafting)) // Inspiration: https://github.com/typst/packages/blob/main/packages/preview/cetz/0.1.0/manual.typ // This is a wrapper around typst-doc show-module that ...
https://github.com/LucaCiucci/tesi-triennale
https://raw.githubusercontent.com/LucaCiucci/tesi-triennale/main/img/slide_3/image.typ
typst
Creative Commons Zero v1.0 Universal
#set page(paper: "a4", margin: 10pt) #import "@preview/cetz:0.2.2" #let fig(step) = cetz.canvas(length: 1mm, { import cetz: draw import cetz.draw: * line((0, 0), (40, 0), stroke: (thickness: 2pt, ), mark: (end: "stealth"),) line((0, 0), (0, 40), stroke: (thickness: 2pt, ), mark: (end: "stealth"),) line((0,...
https://github.com/zurgl/typst-resume
https://raw.githubusercontent.com/zurgl/typst-resume/main/metadata.typ
typst
/* Personal Information */ #let firstName = "Yacine" #let lastName = "<NAME>" #let personalInfo = ( phone: "+33 6 95 11 01 26", email: "<EMAIL>", linkedin: "yacine-elayar", homepage: "elayar.fr", ) /* Resume specific */ #let headerQuoteInternational = ( "en": [Experienced Data Analyst looking for a full time...
https://github.com/dankelley/typst_templates
https://raw.githubusercontent.com/dankelley/typst_templates/main/memo/0.0.1/memo.typ
typst
MIT License
#let conf( category: none, title: none, date: none, preface: none, font: "times", fontsize: 12pt, doc, ) = { set text(font: font, size: fontsize) set page("us-letter", header: [ *#category #h(1fr) #title #h(1fr) #date* ]) text(size: 0.9em)[#preface] // reduce size to 90% show heading.where(level: 1): ...
https://github.com/LDemetrios/Conspects-4sem
https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/sources/test.typ
typst
#import "header.typ": * #show : general-style aaa _bbb_ <x> #metadata((a: 1, b: 2))<y> bbb #setup-exec("test.typext", it => read(it)) = aaaaaa == b _b_ <x> bb // author: gaiajack #let labeled-box(lbl, body) = block(above: 2em, stroke: 0.5pt + foreground, width: 100%, inset: 14pt)[ #set text(font: "Noto Sans")...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/WS-03.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [陈梦], [CHN], [3478], [2], [丁宁], [CHN], [3388], [3], [朱雨玲], [MAC], [3353], [4], [王曼昱], [CHN], [3278], [5], [刘诗雯], [CHN], [3245], ...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/old-stuff/h-classical-pcp.typ
typst
#import "preamble.typ":* Historically, the construction of the first PCP, or *Probabilistically Checkable Proof*, was sort of an ancestor to the zkSNARK. There are a few nice ideas in here, but they're actually more complicated than the zkSNARK and hence included here mostly for historical reference. Pedagogically, w...
https://github.com/Nianyi-GSND-Projects/GSND-5110-GP2
https://raw.githubusercontent.com/Nianyi-GSND-Projects/GSND-5110-GP2/master/Rulebook/Rulebook.typ
typst
#set page( paper: "us-letter", flipped: true, margin: 0.5in, columns: 2, ) #set par(linebreaks: "optimized") #set heading(numbering: "1.1.1") #let placeholder(body, width: 100%, height: 1in) = { box(width: width, height: height, stroke: (black + 0.5pt))[#{ set align(horizon + center); body; }] } #let title =...
https://github.com/ljgago/typst-chords
https://raw.githubusercontent.com/ljgago/typst-chords/main/src/chart.typ
typst
MIT License
#import "./utils.typ": size-to-scale, parse-input-string, top-border-sharp, top-border-round, total-bounds, set-default-arguments // Draws a horizontal border that indicates the starting of the fretboard #let draw-nut(self) = { let size = ( width: self.grid.width, height: 1.2pt * self.scale ) let elemen...
https://github.com/remigerme/typst-polytechnique
https://raw.githubusercontent.com/remigerme/typst-polytechnique/main/guide.typ
typst
MIT License
#import "@preview/typographix-polytechnique-reports:0.1.4" as template #show: template.apply // Specific rules for the guide #show link: set text(blue) #let source = s => { block(width: 100%)[#{ set align(left) text(font: "New Computer Modern Sans", weight: "bold")[Source code :] v(-0.5em) pad(lef...
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/05-main-enhancements/non-html-content.typ
typst
#import "/utils/todo.typ": TODO #import "/utils/isabelle.typ": * == Non-HTML Content for Panels <enhance:non-html> The output and state panels in #vscode were previously always sent as HTML content by the language server. The server sends #box[`PIDE/dynamic_output`] and #box[`PIDE/state_output`] notifications with ou...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum-align_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set enum(number-align: center + horizon) 1. #box(fill: teal, inset: 10pt )[a] 8. #box(fill: teal, inset: 10pt )[b] 16. #box(fill: teal,inset: 10pt )[c]
https://github.com/giacomocavalieri/gleamy_slides
https://raw.githubusercontent.com/giacomocavalieri/gleamy_slides/main/README.md
markdown
Apache License 2.0
# Gleamy slides This is a slide template I use to make my Typst slides to present Gleam code. It also contains a Gleam sublime syntax and code highlighting theme to get nice-looking code snippets.
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/2pc-takeaways.typ
typst
#import "preamble.typ":* #takeaway[2PC takeaways][ 1. A _garbled circuit_ allows Alice and Bob to jointly compute some function over their respective secret inputs. We can think of this as your prototypical _2PC_ (two-party computation). 2. The main ingredient of a garbled circuit is _garbled gates_, which are g...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem03/utils.typ
typst
#let palette = array.range(8).map((i) => { color.hsv(i * 45deg + 240deg, 100%, 100%) }) #let cell-color(base-color) = { if base-color == none { base-color = blue } let background-color = color.mix((base-color, 20%), (white, 80%)) let stroke-color = color.mix((base-color, 50%), (black, 50%)) ( bas...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/lang/auto_arbre.typ
typst
#import "../lib.typ": * #show heading: heading_fct On note $Q^* = union.big_(n in NN) Q^n$. Un _alphabet_ $Sigma$ est un ensemble fini de symboles. On pose $\# : Sigma --> NN$ une fonction qui à un symbole associe son arité (son nombre d'arguments). On notera $f^(\#n)$ pour dénoter que le symbole $f$ est d'arité $\#(f...
https://github.com/topdeoo/NENU-Thesis-Typst
https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/pages/bachelor-declare.typ
typst
#import "../fonts/fonts.typ": font-family, font-size #import "../utils/format.typ": indent #import "../utils/datetime.typ": datetime-display-cn-declare #let bachelor-declare( // TODO 加入更多参数支持 two-side: false, fonts: (:), ) = { fonts = font-family + fonts //! 渲染 pagebreak( weak: true, to: if two-s...
https://github.com/janlauber/bachelor-thesis
https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/common/metadata.typ
typst
Creative Commons Zero v1.0 Universal
// Enter your thesis data here: #let titleEnglish = "One-Click Deployment" #let subTitleEnglish = "Simplifying Open-Source Software Deployment" #let degree = "Bachelor" #let program = "BsC Computer Science" #let advisor = "<NAME>" #let expert = "<NAME>" #let author = "<NAME>" #let submissionDate = "13.06.2024" #let pro...
https://github.com/zenor0/FZU-report-typst-template
https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/utils/to-string.typ
typst
MIT License
#let to-string(content) = { if content == none { none } else if type(content) == str { content } else if content.has("text") { content.text } else if content.has("children") { content.children.map(to-string).join("") } else if content.has("child") { to-string(content.child) } else if con...
https://github.com/wznmickey/typst_workshop
https://raw.githubusercontent.com/wznmickey/typst_workshop/main/2024Summer/a.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/codly:1.0.0": * #set page(paper: "presentation-16-9") #set text(size: 20pt) #set text(font: ("IBM Plex Serif", "Noto Sans CJK SC")) #let LaTeX = { set text(font: "New Computer Modern") box( width: 2.55em, { [L] place(top, dx: 0.3em, text(size...
https://github.com/butaneprotocol/specs
https://raw.githubusercontent.com/butaneprotocol/specs/main/gema.typ
typst
#import "@preview/algorithmic:0.1.0": * #let special_version = read("./version.txt") #align(center, [ #v(2em) #[#set par(justify: true) #image("img/logo-black.png", width: 120pt)] #set text(size:18pt) Oracle Specifications #align(center, text(12pt, weight: 400)[ v. #special_version ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/collections.typ
typst
#let base-math-collect(regex: "aaaa", create: none, collect: none) = { locate((loc) => { let mathEquations = query(selector(math.equation).before(loc), loc) let collection = mathEquations.filter(collect) let tableItems = collection.enumerate().map(((i, x) => create(x, i)) let table-attrs = ( a...
https://github.com/WinstonMDP/knowledge
https://raw.githubusercontent.com/WinstonMDP/knowledge/master/z.typ
typst
#import "cfg.typ": cfg #show: cfg = $ZZ$ $s$ - делитель $n := n$ - кратное $s := s divides n := n = t s, t in ZZ$. $n, m$ - ассоциированные $:= n = plus.minus m$. $n divides m -> m divides n -> n = plus.minus m$. $p$ простое $:= exists.not p' != plus.minus 1, plus.minus p space p' divides p$. Основная теорема ариф...
https://github.com/sabitov-kirill/comp-arch-conspect
https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/questions/1_phisical_base.typ
typst
#heading[Физические основы.] #emph[Физические основы. Реализация логических вентилей с помощью транзисторов.] == Электрические сигналы === Аналоговые сигналы #emph[Аналоговый сигнал] --- непрерывный сигнал, изменяющийся во времени. Принимающий всевозможные значения из заданного промежутка. Все реальные сигналы являютс...
https://github.com/paugarcia32/CV
https://raw.githubusercontent.com/paugarcia32/CV/main/modules/projects.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Projects") #cvProject( title: [It Odyssey], society: [Web Application], date: [2023 - Present], description: list( [Web Blog where I post articles related with my IT journey], ), url: "https://www.itodyssey.dev", tags: ("Web", "FrontEnd", "NextJS...
https://github.com/pku-typst/awesome-PKU-Typst
https://raw.githubusercontent.com/pku-typst/awesome-PKU-Typst/main/README-en.md
markdown
MIT License
# Awesome PKU Typst [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) > This is a list of awesome PKU Typst resources. Feel free to contribute. English | [简体中文](/README.md) ## Contents TBD
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231107/content.typ
typst
MIT License
#import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro #import "functions.typ": glossary, team #let participants = csv("participants.csv") = Partecipanti / Inizio incontro: #inizio_incontro / Fine incontro: #fine_incontro / Luogo incontro: #luogo_incontro #table( columns: (3fr, 1fr), [*Nome*], [*Durat...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/func-in-par.typ
typst
Apache License 2.0
如果你不能很好地阅读和理解#link("https://semver.org/")[SemVer]规范,仅记住合法的版本号#link("https://semver.org/")由三个递增的数字#link("https://semver.org/")组成,并用「点号」(`.`)分隔;版本号之间#link("https://semver.org/")可以相互比较,且比较版本#link("https://semver.org/")时按顺序比较数字。例如`0.0.0`、`0.10.0`、`1.5.11`、`1.24.1`是合法且递增的版本号。 如果你不能很好地阅读和理解 #link("https://semver.org/")[SemV...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/algo/subsetsum.typ
typst
#import "../lib.typ": * #show heading: heading_fct On considère le problème suivant : #problem([SUBSETSUM],[$n in NN$ et $a_1, a_2, ..., a_n, S in NN$],[ Est-ce qu'il existe $I subset.eq [n]$ tel que\ $ sum_(i in I) a_i = S $ ]) #question(0)[ Pour les suites suivante de $(a_n)$ et les valeurs de $N$ suivantes, ...
https://github.com/hakureiR-eimu/my-typst-documents
https://raw.githubusercontent.com/hakureiR-eimu/my-typst-documents/template/myTemplate.typ
typst
MIT License
#let heiti = ("Times New Roman", "Heiti SC", "Heiti TC", "SimHei") #let songti = ("Times New Roman", "Songti SC", "Songti TC", "SimSun") #let zhongsong = ("Times New Roman","STZhongsong", "SimSun") #let bib_cite(..names) = { for name in names.pos() { cite(name) } } #let indent() = { box(width: 2em) } #let ...
https://github.com/teshu0/CLIT-report-typst
https://raw.githubusercontent.com/teshu0/CLIT-report-typst/main/activity.typ
typst
Creative Commons Zero v1.0 Universal
#import "template/utils.typ": title, author, date #import "template/reset.typ": reset #show: reset #title("活動内容報告 #99") #author("2400123, 電通太郎") #date() // 中を空にすると自動的に今日の日付になる = 報告課題(時間中にやったこと) ( ここに授業時間中にやったことを簡単にまとめてください。 ) = アンケート == Q1: ( ここにQ1の回答を記入 ) == Q2: ( ここにQ2の回答を記入 ) == Q3: ( ここにQ3の回答を記入 )