repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/daniel-eder/typst-template-jku
https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/pages/title.typ
typst
// SPDX-FileCopyrightText: 2023 <NAME> // // SPDX-License-Identifier: Apache-2.0 #let title( title, subtitle, author, department, first_supervisor, second_supervisor, assistant_supervisor, submission_date, copyright_year, thesis_type, degree, programme_type, programme, ) = { v(0.15fr) ...
https://github.com/sitandr/conchord
https://raw.githubusercontent.com/sitandr/conchord/main/examples/tabs.typ
typst
MIT License
#set page(height: auto, width: 60em, margin: 1em) #import "../lib.typ": tabs, new-chordgen #let chord = new-chordgen(scale-length: 0.6pt) #let ending(n) = { rect(stroke: (left: black, top: black), inset: 0.2em, n + h(3em)) v(0.5em) } *This thing doesn't follow musical notation rules, it is used just for demo...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/ScalettaFisicaTecnica.typ
typst
#import "style.typ": apply_style #import "custom_functions.typ": def #let title = align(center)[ #text( "Formulario di Fisica Tecnica itps", 30pt) ] #title #apply_style[ #outline(indent: true) #pagebreak() = Trasformazione politropica: Gas perfetto == Equazione di Stato == Calore (Q-q) == Lavoro ...
https://github.com/tingerrr/subpar
https://raw.githubusercontent.com/tingerrr/subpar/main/test/template.typ
typst
MIT License
// Synopsis: // #import "/test/util.typ": * #import "/src/lib.typ" as subpar #subpar.grid( figure(fake-image, caption: [Inner Caption]), <1a>, figure(fake-image, caption: [Inner Caption]), <1b>, columns: (1fr, 1fr), caption: [Super], label: <1>, )
https://github.com/Lelidle/Q12-cs-scripts
https://raw.githubusercontent.com/Lelidle/Q12-cs-scripts/main/communication.typ
typst
#import "template.typ": * #import "@preview/tablex:0.0.6": tablex, cellx, rowspanx, colspanx #import "@preview/bytefield:0.0.2": * #show: setup #set enum(numbering: (..args) => strong(numbering("1.", ..args))) // in Aufzählungen Zahlen fett #set heading ( numbering: "1." ) #let hm = h(1mm) #v(1fr) #align(center)...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/互联网原理与技术/作业/实践5/main.typ
typst
The Unlicense
#import "../../../template.typ": * #show: project.with( title: "实践 5", authors: ( "absolutex", ) ) = 内容 == 编程实现ICMPping #include_code("互联网原理与技术/作业/实践5/ICMPping.py") 输出: ``` Ping baidu.com: 0.030469417572021484 ms ping 'baidu.com' ... 29ms ping 'baidu.com' ... 29ms ping 'baidu.com' ... 28ms ping 'baidu.co...
https://github.com/han0126/MCM-test
https://raw.githubusercontent.com/han0126/MCM-test/main/2024亚太杯typst/chapter/chapter3.typ
typst
#import "../template/template.typ": * = 符号说明 #table( columns: (1fr,)*3, align: center+horizon, stroke: none, table.hline(stroke: 1.5pt), table.header()[序号][变量名][所示含义], table.hline(stroke: 0.8pt), [1],[$x_i$],[指标], [2],[$Y$],[洪水发生概率], [3],[$X$],[训练集中的数据集], [4],[$G$],[$3$个不同风险等级簇], [5]...
https://github.com/SkytAsul/INSA-Typst-Template
https://raw.githubusercontent.com/SkytAsul/INSA-Typst-Template/main/exemples/exemple-document-colored.typ
typst
MIT License
#import "../insa-template/document-template.typ" : * #show: doc => insa-document( "colored", cover-top-left: [*Document important* de type très important], page-header: none, // va utiliser par défaut le logo INSA doc ) Template avec la page de garde mais pas de formattage précis pour l'écriture (pas de règles...
https://github.com/JWangL5/CAU-ThesisTemplate-Typst
https://raw.githubusercontent.com/JWangL5/CAU-ThesisTemplate-Typst/master/template/sample.typ
typst
MIT License
#import "../ref/template.typ": * // #import "@preview/universal-cau-thesis:0.1.0": * // 根据README文件填写论文配置项 // 为保障效果,请手动安装仓库中提供的字体文件 #show: project.with( kind: "硕士", title-zh: [Typst论文模板 \ 论文标题], title-en: [The template of CAU thesis template], authors: [张三], teacher: [李四教授], // co-teacher: [], college: [生...
https://github.com/mattfbacon/armv7-refcard
https://raw.githubusercontent.com/mattfbacon/armv7-refcard/main/doc.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/tablex:0.0.5": tablex, colspanx, hlinex, vlinex #import "template.typ": * #set document(title: "ARMv7 Quick Reference Guide", author: ("<NAME>", "<NAME>")) #show: ref-card #heading-group[ = ARMv7 Quick Reference Guide == West Valley College == Saratoga, California, 2023 ] #info-table("General Reg...
https://github.com/0xpapercut/obsidian-wypst
https://raw.githubusercontent.com/0xpapercut/obsidian-wypst/master/README.md
markdown
MIT License
# Wypst High quality rendering of [Typst](https://github.com/typst/typst) in Obsidian, powered by [wypst](https://github.com/0xpapercut/wypst). ## Usage This plugin overrides regular math blocks (`$<...>$` and `$$<...>$$`), so that they're rendered as Typst math. ![Example](media/example.png) If this plugin doesn't ...
https://github.com/hewliyang/fyp-typst
https://raw.githubusercontent.com/hewliyang/fyp-typst/main/preliminaries.typ
typst
#import "@preview/showybox:2.0.1": showybox #set heading(numbering: "1.") = Preliminaries This section includes the fundamental concepts and techniques essential for understanding TTS systems and how they can be evaluated, providing a rigorous foundation for subsequent discussions. == Audio Signals Audio signals ar...
https://github.com/derwind/mathlog-docs
https://raw.githubusercontent.com/derwind/mathlog-docs/main/articles/measure-curve-length.typ
typst
#import "../style/mathlog_style.typ": * = 曲線の長さはどこで測られているか? == 概要 普通の Euclid 空間で曲線の長さを測る時、特に深く意識はしないことだが、もうちょっと高尚に多様体目線で見た時には、どこで長さが測られていると思えるのか気になったので少しまとめてみたい。 == 簡単な例 1 平面の中の原点 $(0, 0) in RR^2$ から点 $(x, y) in RR^2$ への距離を測りたい時、いわゆるピタゴラスの定理により、長さは $sqrt(x^2 + y^2)$ となるであろう。この $(x, y)$ が原点に限りなく近い時、これを $(Delta x, D...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework2.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra Homework #2", authors: ( (name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"), ), date: "September 25, 2023", ) = P35 习题二 2 #ac #prob[ 设 $n-$ 排列 $i_1 i_2 dots.c i_(n-1) i_n$ 的逆序对数为 $k$,求排列 $i_n i_(n-1) dots.c i_2 i_1$ 的逆序对数 ...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/demos/proportion-table.typ
typst
#import "@local/typkit:0.1.0": * #let proportion-table(a, b, count: auto, headers: none) = { let get(x, n) = { if is-number(x) { return $#{x * n}$ } else { let (c, d) = x.split("/").map(int) return [$#{n * c}/#d$] } } let callback(n) = { ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/linux-arm64-gnu/README.md
markdown
Apache License 2.0
# `@myriaddreamin/typst-ts-node-compiler-linux-arm64-gnu` This is the **aarch64-unknown-linux-gnu** binary for `@myriaddreamin/typst-ts-node-compiler`
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/quill/0.2.0/src/decorations.typ
typst
Apache License 2.0
#import "gates.typ": * // align: "left" (for rstick) or "right" (for lstick) // brace: auto, none, "{", "}", "|", "[", ... #let lrstick(content, n, align, brace, label) = gate( content, draw-function: draw-functions.draw-lrstick.with(align: align), size-hint: layout.lrstick-size-hint, box: false, floatin...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/math/complex.typ
typst
The Unlicense
/// Returns the real part of a complex number. /// - V (complex): A complex number. /// -> float #let re(V) = V.at(0) /// Returns the imaginary part of a complex number. /// - V (complex): A complex number. /// -> float #let im(V) = V.at(1) /// Multiplies two complex numbers together and returns the result $V W$. //...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/biology/lec8.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 8", subtitle: "7.016" ) = Repair Mechanisms Deamination of 5-methylcytosine leads to a replication error because now it has the properties of thymine, meaning it will be incorrectly paired with guanine. Thus when this bad half becomes a template for...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.7.0/README.md
markdown
Apache License 2.0
# gentle-clues Simple admonitions for typst. Add predefined or define your own. Inspired from [mdbook-admonish](https://tommilligan.github.io/mdbook-admonish/). ## Usage Import the package ```typst #import "@preview/gentle-clues:0.7.0": * ``` if needed you can change the default settings. [See the docs.pdf for al...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/android/lectures/2024-09-14.typ
typst
= Введение Сайт: `https://makse.site/GA/` Препод: <NAME> Экзамен --- 7 более сложный задач Способы разработки под Андроид: - Нативный (мы) - Гибридный - Веб приложение Дедлайн --- конец третьего модуля (до "экзамена") Сдача заданий в Zoom-е Первая пара --- лекция Вторая пара --- сдача заданий За четкое следован...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/book.typ
typst
Apache License 2.0
// #import "@preview/book:0.2.2": * #show: book #book-meta( title: "typst-book", description: "typst-book Documentation", repository: "https://github.com/Myriad-Dreamin/typst-book", repository-edit: "https://github.com/Myriad-Dreamin/typst-book/edit/main/github-pages/docs/{path}", authors: ("Myriad-Dreamin...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/template/util.typ
typst
Other
#import "@preview/book:0.2.5": target #let is-pdf-target = () => "realpdf" in sys.inputs #let is-web-target = () => not is-pdf-target() #let __build-selector(elem, start, end) = { let select = selector(elem) if start != none { select = select.after(start, inclusive: false) } if end != none { ...
https://github.com/jneug/typst-ccicons
https://raw.githubusercontent.com/jneug/typst-ccicons/main/src/ccicons.typ
typst
MIT License
#import "utils.typ": ccicon, cc-url, cc-is-valid, _cc-colorize // Logos #let ccLogo = ccicon("logo") #let cc = ccicon("cc") // Icons #let ccAttribution = ccicon("by") #let ccShareAlike = ccicon("sa") #let ccNoDerivatives = ccicon("nd") #let ccNonCommercial = ccicon("nc") #let ccNonCommercialEU = ccicon("nceu") #let c...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/summer-notes-evan/src/0813-evan-talk.typ
typst
#import "@local/evan:1.0.0":* = Evan's talk (delivered August 19) == Overview Brian asked me to give a math-for-engineers talk on why polynomials keep on reappearing over and over in cryptography. I'm going to try my best, but this is going to be really a math philosophy talk. I don't know if I'm able to give _the_...
https://github.com/thuvasooriya/thuvasooriya
https://raw.githubusercontent.com/thuvasooriya/thuvasooriya/main/cv-readme.md
markdown
# setup guide to use the cv template if you have just command runner and typst cli installed all you have to do is, ```bash just cv ```
https://github.com/1216892614/learn-category
https://raw.githubusercontent.com/1216892614/learn-category/main/lib.typ
typst
#import "@preview/commute:0.2.0": node, arr, commutative-diagram #import "@preview/bob-draw:0.1.0": render // 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: "", authors: (), date: n...
https://github.com/Krsnik/typst-nix
https://raw.githubusercontent.com/Krsnik/typst-nix/main/templates/example/src/example2/main.typ
typst
#import "@example/test1:0.1.0": test as test1 #import "@example/test2:0.1.0": test as test2 #import "@preview/polylux:0.3.1": * #test1 #test2 #polylux-slide[ #align(horizon + center)[ = Very minimalist slides A lazy author July 23, 2023 ] ]
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/abstract.typ
typst
Other
#import "common/metadata.typ": * #let abstract(title: "Abstract", body) = { pagebreak(weak: true) heading(level: 1, title, outlined: false) body }
https://github.com/Yzx7/public_study_files
https://raw.githubusercontent.com/Yzx7/public_study_files/main/Monografía FIEE/readme.md
markdown
Plantilla para crear monografías estilo cybertesis.unmsm.edu.pe, hecha en typst <img src="https://raw.githubusercontent.com/Yzx7/public_study_files/refs/heads/main/Monograf%C3%ADa%20FIEE/Captura%20de%20pantalla%202024-09-28%20220009.png" alt="preview" />
https://github.com/AsiSkarp/grotesk-cv
https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/src/template/cv.typ
typst
The Unlicense
#let metadata = toml("info.toml") #import metadata.import.path: cv #let photo = image("./img/" + metadata.personal.profile_image) #let import-sections( sections, ) = { for section in sections { include { "content/" + section + ".typ" } } } #let left-pane = ( "profile", "experience", "educat...
https://github.com/elenev/elenev.github.io
https://raw.githubusercontent.com/elenev/elenev.github.io/main/cv/main.typ
typst
#let cvdata = yaml("cv.yml") #let personal = cvdata.identity #set page( "us-letter", margin: (left: 1in, right: 1in, top: 1in, bottom: 1in), header: context if here().page() == 1 { } else { grid( columns: (2fr, 2fr), rows: auto, align: (left, right), [#personal.name], ...
https://github.com/nathanielknight/tsot
https://raw.githubusercontent.com/nathanielknight/tsot/main/src/utils_playbook.typ
typst
#import("util.typst") #set text(font: "Fantasque Sans Mono") #let inset = 9pt #let text_np = t => text(font: "National Park", t) #let inline_header = hdr => text(font: "National Park", weight: "bold", hdr) #let name(nm) = { block( above: 0%, below: 8mm, smallcaps(text(font: "National Park", size: 8mm,...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/math/operations.md
markdown
MIT License
# Operations ## Fractions ```typ $ p/q, p slash q, p\/q $ ``` ### Slightly moved: ```typ #let mfrac(a, b) = move(a, dy: -0.2em) + "/" + move(b, dy: 0.2em, dx: -0.1em) $A\/B, #mfrac($A$, $B$)$, ``` ### Large fractions ```typ #let dfrac(a, b) = $display(frac(#a, #b))$ $(x + y)/(1/x + 1/y) quad (x + y)/(dfrac(1,x) + df...
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/lib.typ
typst
#import "prelude.typ" #import "core.typ" #import "utils.typ"
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/united/src/number.typ
typst
// Regex pattern for a number with plus/minus uncertainty. // // Returns the following captures: // - 0: The value. // - 1: The upper error. // - 2: The lower error. // - 3: The combined error. // - 4: The exponent. #let number-pattern-plusminus = regex({ "^" // Start of string "([\+-]...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-05.typ
typst
Other
// Ref: false // Destructuring with multiple placeholders. #let (a, _, c, _) = (1, 2, 3, 4) #test(a, 1) #test(c, 3)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.2/lib/chart.typ
typst
Apache License 2.0
// CeTZ Library for drawing charts #import "axes.typ" #import "palette.typ" #import "../draw.typ" // Styles #let barchart-default-style = ( axes: (tick: (length: 0)) ) #let columnchart-default-style = ( axes: (tick: (length: 0)) ) #let radarchart-default-style = ( grid: (stroke: (paint: gray, dash: "dashed")), ...
https://github.com/Luv-Ray/Resume-template
https://raw.githubusercontent.com/Luv-Ray/Resume-template/main/README.md
markdown
# Resume template A resume template written in typst, designed for zh_CN. ## How to use Create a project on [typst.app](https://typst.app/), then copy and paste everything in `main.typ` and `template.typ`, and all done! Online [preview](https://typst.app/project/rOKiFS0kMTLBWEmtIVLckq). (The first compilation may be ...
https://github.com/DaavidT/CV-2023
https://raw.githubusercontent.com/DaavidT/CV-2023/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Educación") #cvEntry( title: [Ing. en Sistemas Computacionales], society: [Universidad Tecnológica de México], date: [2020 - 2023], location: [MX], logo: "../src/logos/unitec.jpg", description: list( [Seminario de Titulación: Analític...
https://github.com/Isaac-Fate/math
https://raw.githubusercontent.com/Isaac-Fate/math/main/complex-analysis/complex-analysis.typ
typst
#import "@local/booxtyp:0.0.1": * #show: book #cover( [Complex Analysis], image("figures/forest.jpg"), authors: ("<NAME>",), bar-color: rgb(67, 118, 108), ) #preface( )[ This is a notebook for self-studying complex analysis. I mainly follow the structure of the book _Complex Analysis_ by Stein and Shak...
https://github.com/zomvie-break/cv-typst
https://raw.githubusercontent.com/zomvie-break/cv-typst/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Bachelors of Science in Engineering], society: [Technical University of Denmark, DTU], date: [2017 - 2019], location: [Denmark], logo: "../src/logos/dtu.png", description: list( [Thesis: Alternatives in c...
https://github.com/MuShann/typst-graph
https://raw.githubusercontent.com/MuShann/typst-graph/main/calculate.typ
typst
// Set number precision #let precise(data, prec: 5) = { if type(data) == "angle" {return data/180deg*calc.pi} let prec = calc.pow(10, prec) data = calc.round(data*prec)/prec if data < calc.round(1.63312395319537*prec)/prec*calc.pow(10, 16) {return data} else {return calc.inf} } // Calculate function dictiona...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-repeat_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #rect( height: 40pt, width: 100%, fill: gradient.linear(..color.map.inferno).repeat(2, mirror: true) )
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/kerns-2.typ
typst
Other
#import "/lib/draw.typ": * #import "/lib/glossary.typ": tr #import "/template/lang.typ": armenian #import "kerns-1.typ": start, end, base, lt, rb, bbox1-lt, bbox1-rb, bbox-calc, line-color, down #let lt2 = (rb.at(0) - 40, lt.at(1)) #let rb2 = (rb.at(0) + 330, rb.at(1)) #let (bbox2-lt, bbox2-rb) = bbox-calc(lt2, rb2, (...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/comment/comment-in-func-call.typ
typst
Apache License 2.0
#let f(a, b, c: none) = { [#a] } #f(1, 2, c: 3) #f[a][b] #f(1, /* actually, b is ignored*/ 0, c: /* actually, c is ignored */ 0) #set text( size: 10pt, fallback: false, // lang: "de", )
https://github.com/raygo0312/Typst_template
https://raw.githubusercontent.com/raygo0312/Typst_template/main/template-document.typ
typst
#import "template-common.typ": * #let font-size = 11pt #let jarticle( titlepage: false, // make a title page title: "", // document title office: "", // author's office author: "", // author's name date: false, // insert today's date column: false, it, ) = { set document( title: title, author:...
https://github.com/esafwan/typst_doc
https://raw.githubusercontent.com/esafwan/typst_doc/main/README.md
markdown
MIT License
## Typst Doc Create better PDFs with Typst, a markup-based typesetting system as powerful as LaTeX but easier. #### License mit
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/README.md
markdown
# MTG Stories This is an archive of MTG stories publicly available on Wizard of the Coast website and compiled into PDF version. Images are also available either in PDF or as a separate files. Stories are sorted into folder `stories` by set name and in published order. Stories from Magic 2013 to Modern Masters 2015 ...
https://github.com/cwreed/cv
https://raw.githubusercontent.com/cwreed/cv/main/src/utils.typ
typst
#import "metadata.typ": choiceColor #let hBar() = [ #h(5pt) | #h(5pt) ] #let autoImport(file) = { include { "modules/" + file + ".typ" } } #let to-string(content) = { if content.has("text") { content.text } else if content.has("children") { content.children.map(to-string).join("") } else if content...
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/equate/README.md
markdown
# equate A package for improved layout of equations and mathematical expressions. > [!WARNING] > This repository has been archived. The package has been moved to the [EpicEricEE/typst-equate](https://github.com/EpicEricEE/typst-equate) repository. When applied, this package will split up multi-line block equations in...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/matrix-alignment.typ
typst
Apache License 2.0
// Test matrix alignment math. --- // Test alternating alignment in a vector. $ vec( "a" & "a a a" & "a a", "a a" & "a a" & "a", "a a a" & "a" & "a a a", ) $ --- // Test alternating explicit alignment in a matrix. $ mat( "a" & "a a a" & "a a"; "a a" & "a a" & "a"; "a a a" & "a" & "a a a"; ) $ --- // Test...
https://github.com/sses7757/sustech-graduated-thesis
https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/utils/state-notations.typ
typst
Apache License 2.0
#import "style.typ": 字体 #let print-notations(abbr, name-en, name-cn) = { if abbr == none { none } else { ([#abbr], [#name-cn(#name-en)]) } } #let smart-abbr(name-en, name-cn, abbr) = { if abbr == none or abbr != auto { abbr } else { let words = name-en.split(regex("[ \-]")) let uppercase-count = words....
https://github.com/mattyoung101/uqthesis_eecs_hons
https://raw.githubusercontent.com/mattyoung101/uqthesis_eecs_hons/master/pages/bibliography.typ
typst
ISC License
= Bibliography #bibliography("../thesis.bib", title: none, style: "institute-of-electrical-and-electronics-engineers")
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/tests/test-sierpinski-square-curve.typ
typst
MIT License
#set document(date: none) #import "/src/lib.typ": * #set page(margin: 1cm) = n = 1 #align(center)[ #sierpinski-square-curve(1, step-size: 40) ] = n = 2 #align(center)[ #sierpinski-square-curve(2, step-size: 15, fill-style: gray, stroke-style: none) ] = n = 3 #align(center)[ #sierp...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/tracking-spacing-00.typ
typst
Other
// Test tracking. #set text(tracking: -0.01em) I saw Zoe yӛsterday, on the tram.
https://github.com/oliver-ni/resume
https://raw.githubusercontent.com/oliver-ni/resume/main/main.typ
typst
MIT License
#import "template.typ": * #show: project #let title_items = ( sys.inputs.at("phone", default: none), link("mailto:<EMAIL>"), link("https://linkedin.com/in/oliverni")[#fab("linkedin") oliverni], link("https://github.com/oliver-ni")[#fab("github") oliver-ni], ) // Title row. #align(center)[ #block(text(weight...
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/management-road-to-states/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: "Management: Road to States", type: "management", date: datetime(year: 2024, month: 2, day: 11), author: "<NAME>", witness: "Violet Ridge", ) We have a limited amount o...
https://github.com/Bit-Part-Young/report-template-MMMS-typst
https://raw.githubusercontent.com/Bit-Part-Young/report-template-MMMS-typst/main/template.typ
typst
#import "@preview/codly:0.2.1": * #import "@preview/tablex:0.0.8": tablex, hlinex #import "@preview/tablem:0.1.0": tablem #import "@preview/outrageous:0.1.0" #import "@preview/cuti:0.2.1": show-cn-fakebold // reference: https://github.com/lucifer1004/pkuthss-typst/blob/main/template.typ #let 字号 = ( 初号: 42pt, 小初: ...
https://github.com/Besthope-Official/backend
https://raw.githubusercontent.com/Besthope-Official/backend/master/camp/qa/slim.typ
typst
#import "@preview/cuti:0.2.1": show-cn-fakebold #show: show-cn-fakebold #let title = [2024奇点后端部面试] #set text(font: ("Source Han Serif SC")) #set page( header: align(right + horizon, title), background: image("backend_logo_opacity_0.25.png", fit: "cover", width: 30%), numbering: "1", number-align: right, ) #al...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/docs/src/installation.md
markdown
The Unlicense
# Installation ```admonish warning This installation process is temporary, as we wait for Typst to overhaul its process for packaging templates and packages. ``` ## Devcontainer / Codespaces The easiest way to use the Notebookinator is to use our devcontainer/codespace. This will automatically install all of the nee...
https://github.com/TypstApp-team/TypstApp
https://raw.githubusercontent.com/TypstApp-team/TypstApp/main/README.md
markdown
# Typst App iOS app for editing & viewing typst docs. ## Development ### Setup * xcode tools: `xcode-select --install` * rust toolchains: `curl https://sh.rustup.rs -sSf | sh` * targets: `rustup target add aarch64-apple-ios aarch64-apple-ios-sim` * cargo-lipo: `cargo install cargo-lipo` > credit: https://mozilla.g...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/output-decimal-marker/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": num, metro-setup #set page(width: auto, height: auto) #num[1.23] #num(output-decimal-marker: ",")[1.23]
https://github.com/a-mhamdi/graduation-report
https://raw.githubusercontent.com/a-mhamdi/graduation-report/main/Typst/fr-Rapport/chaps/chpt3.typ
typst
MIT License
/* --------------------------------- DO NOT EDIT -------------------------------- */ #import "../Class.typ": * #show: report.with(isAbstract: false) #set page(header: none) #figure(chap(chap3, numbering: "1."), kind: "chapter", supplement: "Chapitre") <chp:chap3> // Chapter 3 #set page(header: smallcaps(title) + h(1fr)...
https://github.com/zenor0/FZU-report-typst-template
https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/examples/example.typ
typst
MIT License
#import "@local/fzu-report:0.1.0": report-conf, thanks, appendix #import "@preview/sourcerer:0.2.1": code #import "@preview/lovelace:0.2.0": * #import "@preview/gentle-clues:0.8.0": * #show: doc => report-conf( studentID: "xxxxxx", author: "xxxxxx", school: "xxxxxx", major: "xxxxxx", advisor: "xxxx...
https://github.com/schmidma/typst-workshop
https://raw.githubusercontent.com/schmidma/typst-workshop/main/examples/04-newlines.typ
typst
Creative Commons Zero v1.0 Universal
You can break \ line anywhere you \ want using the \\ symbol.
https://github.com/Complex2-Liu/macmo
https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-03.typ
typst
#import "../lib/math.typ": problem, solution, note, ans #import "../lib/utils.typ": hphantom #problem[ 若 $x, y, z$ 为正实数满足 $tan^(-1)(x) + tan^(-1)(y) + tan^(-1)(z) = pi$, 则 $ 1 / (x y) + 1 / (y z) + 1 / (z x) = underline(hphantom("ANSWER")). $ ] #solution[ $tan$ 的和角公式告诉我们 $tan^(-1)(x) + tan^(-1)(y) = tan^(-1)((x...
https://github.com/kiwiyou/algorithm-lecture
https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/advanced/03-graph-dp.typ
typst
#import "@preview/cetz:0.1.2" #import "@preview/algorithmic:0.1.0" #import "../slide.typ" #show: slide.style #show link: slide.link #show footnote.entry: slide.footnote #let algorithm(..args) = text( font: ("linux libertine", "Pretendard"), size: 17pt, )[#algorithmic.algorithm(..args)] #let func(body) = text(font:...
https://github.com/MaxAtoms/T-705-ASDS
https://raw.githubusercontent.com/MaxAtoms/T-705-ASDS/main/content/week5.typ
typst
#import "../template.typ": example, exercise #import "../boxes.typ": definition #import "../tags.typ": week, barron == Continous Distributions #exercise("4.1")[ Lifetime in years has density $ f(x) = lr("{", size: #350%) #stack($k/x^4, x gt.eq 1$, 1em, $0, x < 1$) $ Find $k$, the cdf and $P(X>2)$ a) As f...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/numbers_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test the `repr` function with integers. #repr(12) \ #repr(1234567890) \ #repr(0123456789) \ #repr(0) \ #repr(-0) \ #repr(-1) \ #repr(-9876543210) \ #repr(-0987654321) \ #repr(4 - 8)
https://github.com/posit-dev/bcorp-report
https://raw.githubusercontent.com/posit-dev/bcorp-report/main/pbc-report.typ
typst
// Some definitions presupposed by pandoc's typst output. #let blockquote(body) = [ #set text( size: 0.92em ) #block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body] ] #let horizontalrule = [ #line(start: (25%,0%), end: (75%,0%)) ] #let endnote(num, contents) = [ #stack(dir: ltr, spacing: 3pt, super[#n...
https://github.com/tomeichlersmith/zen-zine
https://raw.githubusercontent.com/tomeichlersmith/zen-zine/main/README.md
markdown
MIT License
# zen-zine Excellently type-set a cute little zine about your favorite topic! Providing your eight pages in order will produce a US-Letter page with the content in a layout ready to be folded into a zine! The content is wrapped before movement so that padding and alignment are respected. Here is the template and its ...
https://github.com/Le-foucheur/Typst-VarTable
https://raw.githubusercontent.com/Le-foucheur/Typst-VarTable/main/examples/hyperbolicFuntion.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 5pt) #import "../tabvar.typ": tabvar #tabvar( init: ( variable: $x$, label: ( ([sign of $f’$], "Sign"), ([variation of $f$], "Variation"), ), ), domain: ($ -oo $, $ 0 $, $ +oo $), content: ( ($+$, ("||", $+$)), ( (center, $0$),...
https://github.com/duskmoon314/typst-fontawesome
https://raw.githubusercontent.com/duskmoon314/typst-fontawesome/main/lib-gen.typ
typst
MIT License
#import "lib-impl.typ": fa-icon // Generated icon list of Font Aewsome 6.6.0 #let fa-icon-map = ( "0": "\u{30}", "00": "\u{e467}", "1": "\u{31}", "2": "\u{32}", "3": "\u{33}", "360-degrees": "\u{e2dc}", "4": "\u{34}", "42-group": "\u{e080}", "innosoft": "\u{e080}", "5": "\u{35}", "500px": "\u{f2...
https://github.com/duskmoon314/THU_AMA
https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/book.typ
typst
Creative Commons Attribution 4.0 International
#import "@preview/book:0.2.5": * #show: book #book-meta( title: "应用近世代数:笔记", description: "暮月上清华大学「应用近世代数」课程时记下的笔记", authors: ("暮月",), language: "zh", repository: "https://github.com/duskmoon314/THU_AMA", summary: [ - #chapter("docs/ch1/0-序论与背景知识.typ", section: "1")[序论与背景知识] - #chapter("docs/c...
https://github.com/piggsoft/mdbook-typst-piggsoft
https://raw.githubusercontent.com/piggsoft/mdbook-typst-piggsoft/master/src/assets/template.typ
typst
#set text(lang: "zh", region: "cn") #set document(title: document_title, author: document_authors, keywords: document_keywords, date: auto) #set page( numbering: "1 / 1", number-align: right, ) // [ // #set align(right) // #set text(13pt) // #counter(page).display( // "1 / 1", // both: true,...
https://github.com/Brndan/formalettre
https://raw.githubusercontent.com/Brndan/formalettre/main/README.md
markdown
BSD 3-Clause "New" or "Revised" License
# Formalettre : writing french letters with typst Un template destiné à écrire des lettres selon une typographie francophone, et inspiré du package LaTeX [lettre](https://ctan.org/pkg/lettre). Pour utiliser le template, il est possible de recopier le fichier exemple. ## Documentation des variables ### Expédit...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/inline/baseline.typ
typst
// Test baseline handling. --- baseline-text --- Hi #text(1.5em)[You], #text(0.75em)[how are you?] Our cockatoo was one of the #text(baseline: -0.2em)[#box(circle(radius: 2pt)) first] #text(baseline: 0.2em)[birds #box(circle(radius: 2pt))] that ever learned to mimic a human voice. --- baseline-box --- Hey #box(basel...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/escape.typ
typst
Apache License 2.0
I got an ice cream for \$1.50! \u{1f600}
https://github.com/jomaway/typst-teacher-templates
https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-utils/lib/components.typ
typst
MIT License
/// Helper and utility functions /// Create a block of lines like in a lined notebook. /// /// - rows (int): number of rows to /// -> content #let lines(rows) = { for _ in range(rows) { block(above: 0.9cm, line(length:100%, stroke: 0.3pt + black.lighten(20%)) ) } } /// Create a checked grid like in a ...
https://github.com/KrisjanisP/lu-icpc-notebook
https://raw.githubusercontent.com/KrisjanisP/lu-icpc-notebook/main/7-dynamic.typ
typst
= Dynamic programming == Convex hull trick ```cpp // Convex Hull Trick // ATTENTION: This is the maximum convex hull. If you need the minimum // CHT use {-b, -m} and modify the query function. // In case of floating point parameters swap long long with long double typedef long long type; struct line { type b, m; };...
https://github.com/xhalo32/constructive-logic-course
https://raw.githubusercontent.com/xhalo32/constructive-logic-course/master/slides/03-aritmetiikka.typ
typst
#import "@preview/touying:0.4.2": * #import "slidetheme.typ" #import "@preview/note-me:0.2.1": * #import "@preview/prooftrees:0.1.0": * #let palette = ( rgb("#7287fd"), // lavender rgb("#209fb5"), // sapphire rgb("#40a02b"), // green rgb("#df8e1d"), // yellow rgb("#fe640b"), // peach rgb("#e64553"), // mar...
https://github.com/teshu0/CLIT-report-typst
https://raw.githubusercontent.com/teshu0/CLIT-report-typst/main/class/12/assignment.typ
typst
Creative Commons Zero v1.0 Universal
#import "../../template/utils.typ": title, author, date #import "../../template/reset.typ": reset #show: reset #title("コンピュータリテラシレポート#12") #author("2400123, 電通太郎") #date() // 中を空にすると自動的に今日の日付になる = 課題の再掲 ( ここに課題の要約を記入 ) = レポートの本文 ( ここにレポートの本文を記入(適宜章立てを設定すると良い) ) // (ここに作成したWebページの図を入れる) // (読み手が確認できるようURLも載せる。\ur...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/常微分方程/作业/2100012990 郭子荀 常微分方程 3.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec #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: note.with( title: "作业1", au...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/text_formats/text_formats_deleted_result.typ
typst
= Heading1 Paragraph with quotes#strike[ ];#strike[“This];#strike[ ];#strike[is];#strike[ ];#strike[in];#strike[ ];#strike[quotes.”] #strike[#strong[Date:];];#strike[ ];#strike[26.12.2022];#strike[ \ ];Date used in paragraph #strong[Date:] 26.12.2022#strike[ \ ];#strike[#strong[Topic:];];#strike[ ];#strike[Infrastruct...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/typst_packages/mtgset/0.1.0/mtgset.typ
typst
#let conf(set_name, doc) = { set document(title: set_name) [ #set text(size: 24pt) #set align(center + horizon) #heading(level: 1)[#set_name] ] doc }
https://github.com/YDX-2147483647/herglotz
https://raw.githubusercontent.com/YDX-2147483647/herglotz/main/template.typ
typst
#import "@preview/ctheorems:1.1.2": thmrules, thmbox #let _thmbox_fmt = ( // 开头的负空白用于抵消 head、name 之间的空格。 namefmt: (name) => text(weight: "bold", [#h(-1em/4)(#name] + box(width: 1em)[)#h(-1em/4).]), separator: h(0.5em), breakable: true, ) #let remark = thmbox( "remark", "注", titlefmt: text.with(fill: pur...
https://github.com/L-N1988/typst-snippets
https://raw.githubusercontent.com/L-N1988/typst-snippets/main/README.md
markdown
# Introduction Snippets for typst using ultisnip. Most contents come from [Gilles Castel](https://castel.dev/)'s talented [latex-snippets](https://github.com/gillescastel/latex-snippets). # Prerequisite Install [ultisnips](https://github.com/SirVer/ultisnips) first. # Usage Put `typst.snippets` to `~/.vim/Ultisnips/` f...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/infer.typ
typst
Apache License 2.0
#image("test.jpg"); #read("test.jpg"); #json("test.json"); #yaml("test.yaml"); #xml("test.xml"); #toml("test.toml");
https://github.com/wcshds/manual-of-chinese-phonology
https://raw.githubusercontent.com/wcshds/manual-of-chinese-phonology/main/tools/prelude.typ
typst
#import "xsampa.typ": xsampa #let xs(it) = box[ #set text(font: ("Doulos SIL")); #h(0.1em) #block(spacing: 0em, above: 0em, below: 0em)[#xsampa(it)] #h(0.1em) ] #let sup-xs(it) = { if it.match(regex("^(a|e|i|o|u|g|n|d|l|M|N)$")) != none { box(move(dx: 0em, dy: 0.1em, super(xs(it)))) } else { it ...
https://github.com/catppuccin/typst
https://raw.githubusercontent.com/catppuccin/typst/main/src/tidy/show-module.typ
typst
MIT License
#import "../catppuccin.typ": themes, get-palette #import "styles.typ" as styles #import "@preview/tidy:0.3.0" #let show-module(docs, theme: themes.mocha, ..args) = { let palette = get-palette(theme) let tidy-colors = styles.get-tidy-colors(theme: theme) tidy.show-module( docs, colors: tidy-colors, st...
https://github.com/CarlColglazier/northwestern-thesis-quarto
https://raw.githubusercontent.com/CarlColglazier/northwestern-thesis-quarto/master/_extensions/northwestern-thesis/typst/biblio.typ
typst
MIT License
$if(citations)$ $if(csl)$ #set bibliography(style: "$csl$") $elseif(bibliographystyle)$ #set bibliography(style: "$bibliographystyle$") $endif$ $if(bibliography)$ ////#set text(top-edge: 0.7em, bottom-edge: -0.3em) #set text(top-edge: "cap-height", bottom-edge: "baseline") #set par( first-line-indent: 0em, ...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/chapters/outlines.md
markdown
MIT License
# Outlines # Outlines > Lots of outlines examples are already available in [official reference](https://typst.app/docs/reference/meta/outline/) ## Table of contents ```typ #outline() = Introduction #lorem(5) = Prior work #lorem(10) ``` ## Outline of figures ```typ #outline( title: [List of Figures], target:...
https://github.com/eduardz1/Bachelor-Thesis
https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/chapters/tools-and-technologies.typ
typst
#import "../utils/common.typ": * = Tools and Technologies <tools-and-technologies> In this chapter, we will explore the tools and technologies used in the project. In particular, in @influxdb-section we will introduce InfluxDB and after that, we will touch on the three main programming languages that we had to work w...
https://github.com/lyzynec/orr-go-brr
https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/07/main.typ
typst
#import "../lib.typ": * #knowledge[ #question(name: [Discuss what kind of changes to the necessary conditions of optimality in the form of Euler--Lagrange equations must be made if the final time is relaxed. Consider, in addition, that the final state must be on some (hyper)surface.])[ In addi...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/introduction/introduction.typ
typst
#import "../../../style.typ": * #part("Introduction") This part discusses the motivation behind VisualFP, what it aims to achieve, and the research that was done on existing alternatives. @motivation Motivation and @goals Goals are based on this project's task description, which can be found in full in @appendix_tas...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/作业/hw9.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec, AModule, lemmaLinear, tensorProduct, directSum, directLimit #import "../../template.typ": * #import "@preview/commute:0.2.0": node, arr, commutative-diagram #show: note.with( title: "...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/hoi-nghi-Nha-Trang/eqref.typ
typst
#let ieeeEqfmt = (nums) => [(#numbering("1.1", ..nums))] #let eqref( label, fmt: ieeeEqfmt, //fmt: nums => [(#numbering("1.1", ..nums))], style: x => x, makelink: true, ) = { locate(loc => { let elements = query(label, loc) let locationreps = elements.map(x => repr(x.location().position())...
https://github.com/404Wolf/stainless-technical-breifing-natug
https://raw.githubusercontent.com/404Wolf/stainless-technical-breifing-natug/main/document.typ
typst
#let title = "Nucleic Acid Nanotube Grapher" #let author = "<NAME>" #set document(author: author, title: title) #set cite(form: "author") #show cite : it => [ (#emph(it)) ] #set page("us-letter", margin: 1in, header: [ #set text(12pt) #author #h(1fr) NATuG Technical Brief ], footer: [ #counter(page).displ...
https://github.com/YabusameHoulen/Statistics
https://raw.githubusercontent.com/YabusameHoulen/Statistics/main/Bayes_Inference/GWBayes.typ
typst
#import "../Template/pset.typ": pset #import "@preview/cuti:0.2.1": show-cn-fakebold #show: show-cn-fakebold #set text(12pt, font: ("Times New Roman", "寒蟬錦書宋")) #set math.equation(numbering: "(1)", supplement: [ 公式: ]) #show: pset.with( class: "Statistics", student: "Yabusame", title: "Bayesian Inference", date...