repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/note/1.线性方程组与矩阵.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra #1", authors: ( (name: "<NAME>", email: "<EMAIL>", phone: "3230104585"), ), date: "October 28, 2023", ) #let def(x) = { text("【" + x + "】", weight: "bold") } #let deft(x) = { text("【" + x + "】", weight: "bold", fill: rgb("#FFFFFF")) } ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/gallery/test4.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw #import "../src/lib.typ": * #set page(width: auto, height: auto, margin: .5cm) #circuit({ element.group(id: "toplvl", name: "Toplevel", { element.group( id: "proc", name: "Processor", padding: 1.5em, stroke: (dash: "dashed"), { element.bloc...
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/cvpr/cvpr2025.typ
typst
MIT License
/** * cvpr2025.typ * * CVPR 2025 template. */ #import "/cvpr2022.typ": cvpr2022 #let conf-year = [2025] /** * cvpr2025 - Template for Computer Vision and Pattern Recognition Conference * (CVPR) 2025. * * Args: * title: Paper title. * authors: Tuple of author objects and affilation dictionary. * keyw...
https://github.com/jomaway/typst-teacher-templates
https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-utils/lib/lib.typ
typst
MIT License
#import "components.typ" #import "assignments.typ" #import "grading.typ" #import "helpers.typ" #import "layout.typ" #import "random.typ"
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F680.typ
typst
Apache License 2.0
#let data = ( ("ROCKET", "So", 0), ("HELICOPTER", "So", 0), ("STEAM LOCOMOTIVE", "So", 0), ("RAILWAY CAR", "So", 0), ("HIGH-SPEED TRAIN", "So", 0), ("HIGH-SPEED TRAIN WITH BULLET NOSE", "So", 0), ("TRAIN", "So", 0), ("METRO", "So", 0), ("LIGHT RAIL", "So", 0), ("STATION", "So", 0), ("TRAM", "So", ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-circle-00.typ
typst
Other
// Default circle. #box(circle()) #box(circle[Hey])
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/packages/boxes.md
markdown
MIT License
# Custom boxes ## Showbox ```typ #import "@preview/showybox:2.0.1": showybox #showybox( [Hello world!] ) ``` ```typ #import "@preview/showybox:2.0.1": showybox // First showybox #showybox( frame: ( border-color: red.darken(50%), title-color: red.lighten(60%), body-color: red.lighten(80%) ), tit...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/numbering-05.typ
typst
Other
// Error: 17-19 number must be at least zero #numbering("1", -1)
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/045%20-%20Kamigawa%3A%20Neon%20Dynasty/002_Episode%201%3A%20A%20Stranger%20in%20Eiganjo.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: A Stranger in Eiganjo", set_name: "Kamigawa: Neon Dynasty", story_date: datetime(day: 24, month: 01, year: 2022), author: "<NAME>", doc ) Of all the rooms in the Imperial Palace, the kitchen was Kaito's favorite. The fragrant sm...
https://github.com/fabriceHategekimana/master
https://raw.githubusercontent.com/fabriceHategekimana/master/main/2_Etat_de_l_art/Lambda_calculus.typ
typst
#import "@preview/simplebnf:0.1.0": * #import "../src/module.typ" : * == Sémantique des langages Établir une sémantique claire et précise pour un langage de programmation prototype revêt une importance capitale lorsqu'il s'agit de tester des hypothèses fondamentales sur sa conception. La sémantique d'un langage défin...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2018/WS-06.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [丁宁], [CHN], [3439], [2], [朱雨玲], [MAC], [3412], [3], [刘诗雯], [CHN], [3347], [4], [陈梦], [CHN], [3307], [5], [王曼昱], [CHN], [3248], ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_240104/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/SillyFreak/typst-packages-old
https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/crudo/README.md
markdown
MIT License
# Crudo Crudo allows conveniently working with `raw` blocks in terms of individual lines. It allows you to e.g. - filter lines by content - filter lines by range (slicing) - transform lines - join multiple raw blocks While transforming the content, the original [parameters](https://typst.app/docs/reference/text/raw/...
https://github.com/donabe8898/typst-thesis-template
https://raw.githubusercontent.com/donabe8898/typst-thesis-template/main/lib/meta.typ
typst
Apache License 2.0
#let meta( pdftitle: none, title: none, author: none, size: "a4", doc, ) = { set document(title: pdftitle, author: author) set page(paper: size) doc }
https://github.com/DrakeAxelrod/cvss.typ
https://raw.githubusercontent.com/DrakeAxelrod/cvss.typ/main/bak/src/cvss30.typ
typst
MIT License
// None 0.0 // Low 0.1 - 3.9 // Medium 4.0 - 6.9 // High 7.0 - 8.9 // Critical 9.0 - 10.0
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/jmlr/README.md
markdown
MIT License
# Journal of Machine Learning Research(JMLR) ## Overview This is a Typst template for Journal of Machine Learning Research (JMLR). It is based on official [author guide][1], [formatting instructions][2], and [formatting error checklist][3] as well as the official [example paper][4]. ## Usage You can use this templa...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/single-arg-closure.typ
typst
Apache License 2.0
#{ let row_len = 10 let hlines = ((h: 1, y: 1), (h: 2, y: 2)) let new_hlines = range(0, row_len + 1).filter(y => hlines.filter(h => h.y == y) .len() == 0 ) new_hlines }
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/Deep%20Learning/DL%20basics.typ
typst
#import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "Deep Learning Basics", lang: "zh", ) #info(caption: "深度学习领域大致划分")[ + 深度学习基础 + 卷积神经网络(CNN) + 循环神经网络(RNN) + 注意力机制(Attention) + 生成式模型(Generative Model) + 对比学习与自监督学习(Contrastive & Self-supervised Learning) + 图神经网络(GNN) + 其...
https://github.com/j-mueller/typst-vegalite
https://raw.githubusercontent.com/j-mueller/typst-vegalite/main/test/test.typ
typst
MIT License
#set page(width: 200mm, height: 150mm, margin: 10mm) #import "../typst-package/lib.typ" as vegalite #vegalite.render( width: 100%, height: 100%, zoom: 1, json("spec.json") )
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Text/smallcaps.typ
typst
#set text( size:10pt, ) #set page( paper:"a5", margin:(x:1.8cm,y:1.5cm), ) #set par( justify: true, leading: 0.52em, ) = 显示为小写 将文本显示为小写形式。 注:这将为字体启用OpenType smcp功能。并非所有字体都支持此功能。 有时小写字母是专用字体的一部分,有时根本不可用。将来,此函数将支持选择专用小写字体以及从普通字母合成小写字母,但尚未实现。 = 例子 #image("14.png") = 参数 #image("15.png") = 正文 显示为小写形式的文本。
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_08.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test multiple trailing line breaks. $ "abc" &= c \ \ \ $ Multiple trailing line breaks.
https://github.com/KarPhoon/VSCode-hsnip-for-Typst
https://raw.githubusercontent.com/KarPhoon/VSCode-hsnip-for-Typst/main/README.md
markdown
# Typst snippets for [HyperSnips](<https://marketplace.visualstudio.com/items?itemName=draivin.hsnips>) extension of VSCode Useful snippets for [Typst](<https://typst.app>) in math typing, and using additional regex bypass some unresolved issue of HyperSnips.
https://github.com/max-niederman/CS250
https://raw.githubusercontent.com/max-niederman/CS250/main/hw/1.typ
typst
#import "../lib.typ": * #import "@preview/diagraph:0.1.0" #show: homework.with(title: "CS 250 Homework #1") = Logarithms == 1 + $ x = 2 $ + $ x = 0 $ + $ x = (log_2 4) / (log_2 16) = 2 / 4 = 1 / 2 $ + $ x = - log_2 8 = -3 $ + $ log_5 x &= 5 \ x &= 5^5 \ &= #calc.pow(5, 5) $ + $ x = 3 $ + $ x = -1...
https://github.com/Simgnt/report-typst-template
https://raw.githubusercontent.com/Simgnt/report-typst-template/main/_extensions/report/typst-template.typ
typst
// This is an example typst template (based on the default template that ships // with Quarto). It defines a typst function named 'article' which provides // various customization options. This function is called from the // 'typst-show.typ' file (which maps Pandoc metadata function arguments) // // If you are creati...
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/identify-scoring/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: "Identify: Scoring Triballs", type: "identify", date: datetime(year: 2023, month: 9, day: 1), author: "<NAME>", witness: "Violet Ridge", ) Getting the triballs into the...
https://github.com/colinstfni/ba1-heig
https://raw.githubusercontent.com/colinstfni/ba1-heig/main/mad1/notes/main.typ
typst
#import "../../typst/config.typ": * #import "@preview/cetz:0.2.2" #import "@preview/cetz-venn:0.1.1" #set text(lang: "fr") #let main_color = color.lighten(color.yellow, 30%) #show: doc => conf( title: [= MAD1 Ensembles - 2024 S1], title_color: main_color, authors: [<NAME>], header: ( [_Septembre 2024_], ...
https://github.com/imkochelorov/ITMO
https://raw.githubusercontent.com/imkochelorov/ITMO/main/src/algorithms/s2/l2/main.typ
typst
#import "template.typ": * #set page(margin: 0.4in) #set par(leading: 0.55em, first-line-indent: 0em) #set text(font: "New Computer Modern") #show par: set block(spacing: 0.55em) #show heading: set block(above: 1.4em, below: 1em) #show heading.where(level: 1): set align(center) #show heading.where(level: 1): set text(1...
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[1] Definição do sistema/viabilidade.typ
typst
#let viabilidade = { [ == Análise da Viabilidade do processo Antes de se decidir implementar um sistema de gestão de base de dados, é necessário fazer uma análise da sua viabilidade, de modo a perceber as vantagens que esta implementação traria para a Lusium. A implementação deste sistema traria à ...
https://github.com/Chwiggy/thesis_bachelor
https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/thesis.typ
typst
#import "thesis_temp.typ": * #show: project.with( title: "Simple Open Data Measures of Public Transit Service Availability", subtitle: "Planning and Temporal Variability", authors: ( (name: "<NAME>",matr: "Matrikel_Nr: 3652850", email: "<EMAIL>", affiliation: "Geographisches Institut, Ruprecht-Karls-Universi...
https://github.com/Vortezz/fiches-mp2i-maths
https://raw.githubusercontent.com/Vortezz/fiches-mp2i-maths/main/chapter_1.typ
typst
#set page(header: box(width: 100%, grid( columns: (100%), rows: (20pt, 8pt), align(right, text("CHAPITRE 1. LOGIQUE ET RAISONNEMENTS")), line(length: 100%), )), footer: box(width: 100%, grid( columns: (50%, 50%), rows: (8pt, 20pt), line(length: 100%), line(length: 100%), align(left, text("<NAME> - MP2...
https://github.com/jonaspleyer/peace-of-posters
https://raw.githubusercontent.com/jonaspleyer/peace-of-posters/main/docs/content/examples/customize_boxes/main.typ
typst
MIT License
// We begin by importing the `peace-of-posters` package #import "../../../../lib.typ": * // Next, we specify some general settings formatting settings. // #set page("a0", margin: 1cm) // #set-layout(layout-a0) #show: poster-layout.with( layout: layout-a4, ) = My Heading
https://github.com/ldq3/summary_of_OS_camp
https://raw.githubusercontent.com/ldq3/summary_of_OS_camp/master/src/content.typ
typst
#import "/global.typ": * = Rust 异步编程 == 同步和异步 同步:多个操作之间相互关联,所以必须有明确的顺序。 异步:多个操作之间并不直接相关,故不必有明确顺序。 并发执行异步任务可以提高计算资源的使用效率,并行执行异步任务可以缩短任务的执行时间。 #pagebreak() 如何实现程序的异步执行?一个程序包含代码和数据两个部分,所以关键在于如何取舍代码和数据的切换: - 进程:切换代码和数据; - 线程:切换代码,不切换数据; - 协程:不切换代码,不切换数据。 一些协程的实现方式:回调、Go Coroutines、actor、async/.await。 形成的文档:#link("ht...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/positioning/cursive.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note, cross-link #import "/lib/glossary.typ": tr #show: web-page-template // ### Cursive attachment === #tr[cursive attachment] // One theme of this book so far has been the fact that digital font technology is based on the "Gut...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DIP/chapters/9图像分割.typ
typst
#import "../template.typ": * #import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge #import fletcher.shapes: house, hexagon, ellipse #import "@preview/pinit:0.1.4": * #import "@preview/cetz:0.2.2" #import "/book.typ": book-page #show: book-page.with(title: "数字图像处理基础 | DIP") = 图像分割 Image Segmentation == ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/minitoc/0.1.0/lib.typ
typst
Apache License 2.0
#let minitoc( title: none, target: heading.where(outlined: true), depth: none, indent: none, fill: repeat([.]) ) = { if depth == none { depth = calc.inf } locate(loc => { let pre = query(selector(heading.where(outlined: true)).before(loc), loc) if pre == () { return outline(target: target, title: title, fill: f...
https://github.com/sinchang/typst-react
https://raw.githubusercontent.com/sinchang/typst-react/master/README.md
markdown
# typst-react ## Allow `fonts` permission ![image](https://user-images.githubusercontent.com/3297859/236397796-4adac95d-2621-434c-8816-6b14db30def8.png) ![image](https://user-images.githubusercontent.com/3297859/236398002-3acae40d-3650-4e13-b161-ea94f5f35d99.png)
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/modules/chap1.typ
typst
// SKIP #let name = "Klaus" == Chapter 1 #name stood in a field of wheat.
https://github.com/m4cey/mace-typst
https://raw.githubusercontent.com/m4cey/mace-typst/main/templates/exercices.typ
typst
#let template(doc) = [ #set page( paper: "a4", margin: (x: 1.8cm, y: 1.5cm), numbering: "1" ) #set text( font: "Noto Sans", size: 12pt, ) #show math.equation: set text( font: "Noto Sans Math", size: 1em, ) #set par( justify:true, leading: 0.6em, ) #show heading: it => [ #set align(start) #counter(...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/présentation/OCamlPro_PPAQSE-COTS_présentation.typ
typst
#import "../base.typ": * #import "../étude/links.typ": * #show: presentation #title-slide( title: [ Écosystèmes COTS de développement et de vérification des logiciels critiques et temps réel ], subtitle: "", authors: [<NAME> (julien.blond\@ocaml.pro)], ) #slide[ = OCamlPro - PME française créé...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Sections/Section2.typ
typst
#set text( font: "New Computer Modern", size: 11pt ) #set par( justify: true, leading: 0.68em, ) #set page( header: align(right)[ <NAME> ] ) #set heading(numbering: "1.a") = Question Should we as a society adhered to a specific type of ethical frameworks or should we mix different frameworks based on...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-recursive-03.typ
typst
Other
// Test multi-recursion with nested lists. #set rect(inset: 3pt) #show list: rect.with(stroke: blue) #show list: rect.with(stroke: red) #show list: block - List - Nested - List - Recursive!
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/bugs/comment-in-string.typ
typst
Apache License 2.0
#link("https://myriad-dreamin.github.io/typst.ts/cookery/guide/compiler/ts-cli.html")[Form1]: Render to SVG and then embed it as a high-quality vectored image directly.
https://github.com/francescoo22/LCD-exercises
https://raw.githubusercontent.com/francescoo22/LCD-exercises/main/src/common.typ
typst
#import "../typst-prooftree/prooftree.typ": * #let Fix = "Fix" #let fix = "fix" #let Proc = "Proc" #let Act = "Act" #let Even = "Even" #let compq = $"comp"_Q$ #let CCS = "CCS" #let fi = "if" #let then = "then" #let def = $=^"def"$ #let ended = $arrow.not$ #let tab = h(2em) #let seq = "seq" #let wnu = $without {nu}$ #l...
https://github.com/rickysixx/unimore-informatica
https://raw.githubusercontent.com/rickysixx/unimore-informatica/main/protocolli-e-architetture-di-rete/riassunto_par.typ
typst
#set par(leading: 0.55em, justify: true, linebreaks: "optimized") #set text(font: "New Computer Modern", lang: "en") #set heading(numbering: "1. ") #show par: set block(spacing: 1em) #show raw: set text(font: "Courier New", size: 11pt) #show raw.where(block: false): box.with( fill: luma(240), inset: (x: 3pt, y:...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS2340/SoftwareArchitecture.typ
typst
#import "../../template.typ": * #let so = [Software Architecture] = Software Architecture #definition()[ *Software Architecture* is the fundamental organization of a system, embodied in its components, their relationships to each other and the environment, and the principles governing its design and evolution. ] In...
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/tests/template.typ
typst
#import "/src/lib.typ" as ctf // #import ctf: report, thesis, bachelors-thesis, masters-thesis #import ctf.prelude: * #show: doc()
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/signature/user_with.typ
typst
Apache License 2.0
#let f(u, v) = u + v; #let g = f.with(1) #(/* ident after */ g);
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/algo/lectures/2024-09-17.typ
typst
= Информация Коллок предварительно в начале второго модуля (2 ноября, 1--4 пары) Все задачи в контесте стоят одинокого = А<NAME> Алгоритм перемножения двух многочленов (или чисел) $ A(x) = a_0 + a_1 x + ... + a_(n-1) x^(n-1) $ $ B(x) = b_0 + b_1 x + ... + b_(n-1) x^(m-1) $ // Будем считать $deg A = deg B = n$, не...
https://github.com/Cheng0Xin/typst-libs
https://raw.githubusercontent.com/Cheng0Xin/typst-libs/master/semantics/README.md
markdown
```typst #semantics-rule(( above: (array: ((text: $(lambda X . M_1)$), (above: (text: $M_1 diamond.small ...$), below: (text: $beta$)))), below: (array: ((text: $(lambda X . M_1) diamond.small ...$), (text: $zeta$))), )) ```
https://github.com/EpicEricEE/typst-droplet
https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/tests/customize/test.typ
typst
MIT License
#import "/src/lib.typ": dropcap #set page(width: 6cm, height: auto, margin: 1em) #set par(justify: true) // Test arguments for customization. #dropcap(height: 3, lorem(14)) #dropcap(height: 1.1cm, lorem(14)) #dropcap(depth: 2, lorem(23)) #dropcap(height: 5mm, depth: 5mm, lorem(16)) #dropcap(overhang: 1em, lorem(7)) ...
https://github.com/Ttajika/typst_slide
https://raw.githubusercontent.com/Ttajika/typst_slide/main/library/functions.typ
typst
#import "@preview/cetz:0.2.2" #import "parameter.typ":* //カラーとフォントの設定. #let default_color = eastern.lighten(30%) #let emph_color = white #let strong_color = rgb("3cb371") #let textcolor = black //フォントはarrayで設定すれば,英字は英字用の,日本語は日本語用のフォントで設定してくれる #let body-font = ("M PLUS 2") #let sans-font = ("M PLUS 2") #let slide_co...
https://github.com/rayfiyo/myTypst
https://raw.githubusercontent.com/rayfiyo/myTypst/main/mystyle_report/template.typ
typst
BSD 3-Clause "New" or "Revised" License
// Store theorem environment numbering // Set font sizes #let font_sizes = (h1: 18pt, h2: 16pt, h3: 14pt, under_h4: 12pt, normal: 11pt, math: 12pt) // Store theorem environment numbering #let thmcounters = state("thm", ("counters": ("heading": ()), "latest": ())) // Setting theorem environment #let thmenv(identifier...
https://github.com/Arrata-TTRPG/Arrata-TTRPG
https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/sections/foreword.typ
typst
Other
= Foreword Arrata is a project I've been working on for a few years now, and it's the successor to some other custom TTRPGs I've worked on with friends. There's a lot here that is currently under development, so take much of what you read with a grain of salt; it's all subject to change until a v1.0 release is made. ...
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/lib/code-callouts.typ
typst
Other
#import "./definitions.typ": * #let default-callout(number /*: int */) /*: content*/ = { text( font: secondary-font, number-type: "old-style", size: 1em, weight: "bold", fill: luma(120), "[" + str(number) + "]", ) } #let unicode-circle-callout(number /*: int */) /*: content*/ = { str.fro...
https://github.com/01mf02/jq-lang-spec
https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/README.md
markdown
# A formal specification of the jq language This is an ongoing effort to create a formal specification of the programming language provided by [`jq`]. A rendered version is available [here](https://github.com/01mf02/jq-lang-spec/releases/latest/download/spec.pdf). Run `typst compile spec.typ` to generate a PDF versi...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/control-flow-while.typ
typst
Apache License 2.0
#while #while i #while i {} #while i [] #while i {}1 #while i []a #while i {} 1 #while i [] a #while i {};1 #while i [];a #while i {} {} #while i [] [] #while i [] {} #while i {} 1 #while i [] 1
https://github.com/vimkat/typst-ohm
https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/templates/event-sign.typ
typst
MIT License
#import "../lib/vars.typ" #import "../lib/utils.typ" #import "../lib/elements.typ" as elems #let _arrow-v = polygon( fill: vars.red, stroke: none, (70pt, 0%), (70pt, 80%), (0pt, 80%), (50pt, 100%), (100pt, 80%), (30pt, 80%), (30pt, 0%), ) #let _arrow-h = polygon( fill: vars.red, stroke: none,...
https://github.com/Dherse/codly
https://raw.githubusercontent.com/Dherse/codly/main/README.md
markdown
MIT License
# Codly: simple and powerful code blocks <p align="center"> <a href="https://github.com/Dherse/codly/blob/main/docs.pdf"> <img alt="Documentation" src="https://img.shields.io/website?down_message=offline&label=manual&up_color=007aff&up_message=online&url=https%3A%2F%2Fgithub.com%2FDherse%2Fcodly%2Fblob%2Fmain%2F...
https://github.com/linhduongtuan/VNUHCM-typst-poster
https://raw.githubusercontent.com/linhduongtuan/VNUHCM-typst-poster/main/examples/example.typ
typst
MIT License
#import "../poster.typ": * #show link: underline #show: poster.with( size: "36x24", title: "A typesetting system to untangle the scientific writing process", authors: "<NAME>", departments: "Department of Computer Science", univ_logo_1: "images/bgd.png", univ_logo_2: "images/bk.png", header_text: "HO CHI ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/prime.typ
typst
Apache License 2.0
// Test prime symbols after code mode. #let g = $f$ #let gg = $f$ $ #(g)' #g' #g ' \ #g''''''''''''''''' \ gg' $
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/config.typ
typst
== Config The config functionality represents configuration data. The configuration data is data that is automatically read by the provider from its registers. As the config is automatically read by the provider, there is no need for an additional signal associated with the config, indicating the config write by the r...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/036_Guilds%20of%20Ravnica.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Guilds of Ravnica", doc) #include "./036 - Guilds of Ravnica/001_Under the Cover of Fog.typ" #include "./036 - Guilds of Ravnica/002_Testing the Dark Waters.typ" #include "./036 - Guilds of Ravnica/003_Clans & Legions.typ" #include "./036 - Guilds of Ravnica/004_...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw-align_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Text inside raw block should follow the specified alignment. #set page(width: 180pt) #set text(6pt) #lorem(20) #align(center, raw( lang: "typ", block: true, align: right, "#let f(x) = x\n#align(center, line(length: 1em))", )) #lorem(20)...
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/united/src/lib.typ
typst
#import "united.typ": num, qty, unit, numrange, qtyrange // Set default parameters for all functions in this module. // // This is a convenience function that allows you to set the parameters for all // functions in this module at once. It is equivalent to calling `with` on each // function individually. // // Paramet...
https://github.com/masaori/diffusion-model-quantum-annealing
https://raw.githubusercontent.com/masaori/diffusion-model-quantum-annealing/main/test.typ
typst
#import "theorem.typ" : theorem, claim = A == B #theorem("aaa")[ phi = 1 "AAAAA" $1234$ @hoge2 $ "AAAAA" $ ]<fuga> #claim(none)[ $ 1 * 3 - 1 = 2 $ @fuga ]<hoge2>
https://github.com/Enter-tainer/mino
https://raw.githubusercontent.com/Enter-tainer/mino/master/mino.typ
typst
MIT License
#import "typst-package/lib.typ": decode-fumen, render-field #set page(margin: 1cm, height: auto, fill: white) #set text(lang: "zh", region: "cn", font: ("New Computer Modern", "Source Han Sans SC")) #align(center)[ #text(size: 25pt)[ `@preview/mino:0.1.1` ] ] = Render Field #let custom-field = ` ___ZSS L__ZZSS...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/seq.typ
typst
MIT License
#let fib(n) = { let a = 0 let b = 1 for _ in range(1, n) { (a,) let temp = b b = a + b a = temp } }
https://github.com/pluttan/typst-bmstu
https://raw.githubusercontent.com/pluttan/typst-bmstu/main/bmstu/report_tituls.typ
typst
MIT License
#import "g7.32-2017.typ": гост732-2017 #let титул( факультет: "", кафедра: "", код_направления: "", направление: "", дисциплина: "", тип_работы: "", номер_работы: "", название_работы: "", название_работы_кол2:"", автор: (), руководитель: (), город: "", дата: false, год: datetime.today().dis...
https://github.com/HenkKalkwater/aoc-2023
https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/parts/day-4-2.typ
typst
#import "day-4-1.typ": parse, count-sorted #let solve = (input) => { let winning-numbers-count = parse(input).map(pair => count-sorted(pair.first(), pair.last()).len()) let card-count = range(winning-numbers-count.len()).map(_ => 1) for (i, win-count) in winning-numbers-count.enumerate() { card-count = card...
https://github.com/enseignantePC/2023-24
https://raw.githubusercontent.com/enseignantePC/2023-24/master/Chapitre1/ex/ex1.typ
typst
#import "../../act_template.typ": * #show : it => activité( kind: [Exercice], chapter_name: [Identification des espèces chimiques.], // number: 1, it, ) #set text(size: 12pt) #let minititle = minititle.with(size:15pt) #let c = counter("ex") #c.step() #let c = [#c.display()) #c.step()] #let csv_unwrap(x, d: "\...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/math/grouping.md
markdown
MIT License
# Grouping Every grouping can be (currently) done by parenthesis. So the parenthesis may be both "real" parenthesis and grouping ones. For example, these parentheses specify nominator of the fraction: ```typ $ (a^2 + b^2)/2 $ ``` ## Left-right > See [official documentation](https://typst.app/docs/reference/math/lr)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/down/0.1.0/sample.typ
typst
Apache License 2.0
#import "./lib.typ": * Examples in README: $ Lim(x, +0) x ln(sin x) = cLim ln(sin x) / x^(-1) = cLim x / (sin x) cos x = 0 $ $ Sum(n, 0, oo) 1 / sqrt(n + 1) = Sum(#none, 0, #none) 1 / sqrt(n) = cSum 1 / n^(1 / 2) $ $ Integral(0, pi / 3, sqrt(1 + tan^2 x)) = cIntegral(1 / (cos x)) = cIntegrated(ln (co...
https://github.com/desid-ms/desid_report
https://raw.githubusercontent.com/desid-ms/desid_report/main/_extensions/desid_report/template.typ
typst
MIT License
$definitions.typ()$ $typst-template.typ()$ $typst-show.typ()$ $for(header-includes)$ $header-includes$ $endfor$ $for(include-before)$ $include-before$ $endfor$ $body$ $notes.typ()$ $biblio.typ()$ $for(include-after)$ $include-after$ $endfor$
https://github.com/Dav1com/minerva-report-fcfm
https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/lib/rules.typ
typst
MIT No Attribution
/// Show rule que cambia el formato de los números para usar coma decimal. /// /// #example(``` /// #show: minerva.rules.formato-numeros-es /// $1.2 + 4.8$ /// ```, mode: "markup") /// /// - doc (content): documento a aplicar reglas /// -> content #let formato-numeros-es(doc) = { // https://github.com/typst/typst...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/cjk-punctuation-adjustment_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 15em) // In the following example, the space between 》! and ? should be squeezed. // because zh-CN follows GB style #set text(lang: "zh", region: "CN", font: "Noto Serif CJK SC") 原来,你也玩《原神》!? // However, in the following example, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10FE0.typ
typst
Apache License 2.0
#let data = ( ("ELYMAIC LETTER ALEPH", "Lo", 0), ("ELYMAIC LETTER BETH", "Lo", 0), ("ELYMAIC LETTER GIMEL", "Lo", 0), ("ELYMAIC LETTER DALETH", "Lo", 0), ("ELYMAIC LETTER HE", "Lo", 0), ("ELYMAIC LETTER WAW", "Lo", 0), ("ELYMAIC LETTER ZAYIN", "Lo", 0), ("ELYMAIC LETTER HETH", "Lo", 0), ("ELYMAIC LETT...
https://github.com/max-niederman/MTH311
https://raw.githubusercontent.com/max-niederman/MTH311/main/hw/1.typ
typst
#import "../lib.typ": * #show: homework.with(title: "Math 311 Homework #1") = 1.3.1 (a) _Proposition:_ For all $n in NN$, $ 1^2 + 2^2 + ... + n^2 = (n(n+1)(2n+1))/6 "." $ _Proof:_ If $n = 1$, then $ 1^2 + 2^2 + ... + n^2 &= 1^2 \ &= 1 \ &= 6/6 \ &= (1(2)(3))/6 \ &= (n(n + 1)(2n + 1))/6 "." $ So the proposition is...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10D00.typ
typst
Apache License 2.0
#let data = ( ("HANIFI ROHINGYA LETTER A", "Lo", 0), ("HANIFI ROHINGYA LETTER BA", "Lo", 0), ("HANIFI ROHINGYA LETTER PA", "Lo", 0), ("HANIFI ROHINGYA LETTER TA", "Lo", 0), ("HANIFI ROHINGYA LETTER TTA", "Lo", 0), ("HANIFI ROHINGYA LETTER JA", "Lo", 0), ("HANIFI ROHINGYA LETTER CA", "Lo", 0), ("HANIFI R...
https://github.com/bsp0109/ieee-typst-template
https://raw.githubusercontent.com/bsp0109/ieee-typst-template/main/README.md
markdown
# IEEE [Typst](https://typst.app) template This template is my edition of the template provided by [Typst](https://typst.app) to match my requirements, the only edit to the actual [template](template.typ) is just the font and the size of the title's font. The rest is just boilerplate code that I'll write anyway. ##...
https://github.com/coco33920/agh-public
https://raw.githubusercontent.com/coco33920/agh-public/gh-pages/pdfs/agh.typ
typst
#import "@preview/glossarium:0.2.5": make-glossary, print-glossary, gls, glspl #set page(numbering: "1/1") #v(1fr) #set text(size:24pt) #set align(center) *A Galactic HRT*\ by <NAME>,\ _Last updated: December 5th, 2023_\ #set text(size:12pt) #set align(left) #v(1fr) #pagebreak(weak: true) #set align(center) #quote(...
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch11-hyperview-a-mobile-hypermedia.typ
typst
Other
#import "lib/definitions.typ": * == Hyperview: A Mobile Hypermedia You may be forgiven for thinking the hypermedia architecture is synonymous with the web, web browsers, and HTML. No doubt, the web is the largest hypermedia system, and web browsers are the most popular hypermedia client. The dominance of the web in d...
https://github.com/ericthomasca/resume
https://raw.githubusercontent.com/ericthomasca/resume/main/README.md
markdown
# <NAME>' Resume This resume is generated using [typst](https://github.com/mintyfrankie/brilliant-CV), a TypeScript-based resume generator inspired by the brilliant-CV template created by [mintyfrankie](https://github.com/mintyfrankie/brilliant-CV). For customization instructions and more details about the template, p...
https://github.com/C-Block-Language/specifications
https://raw.githubusercontent.com/C-Block-Language/specifications/main/src/template.typ
typst
MIT License
#let Document( title: [Paper Title], authors: (), abstract: none, index-terms: (), paper-size: "us-letter", bibliography-file: none, body ) = { set document(title: title, author: authors.map(author => author.name)) set text(font: "STIX Two Text", size: 10pt) set page( paper: paper-size, marg...
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/fiction/template.typ
typst
// This function gets your whole document as its `body` and formats // it as a simple fiction book. #let book( // The book's title. title: "Book title", // The book's author. author: "Author", // The paper size to use. paper: "iso-b5", // A dedication to display on the third page. dedication: none, ...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/02-general/06-generating-functions.typ
typst
#import "../../utils/core.typ": * == Производящие функции #def[ Пусть $xi$ --- случайная величина, принимающая неотрицательные целые значения. Вероятность $P(xi = k)$ полностью определяет распределение. _Производящей функцией случайной величины $xi$_ называется $ G_xi (t) := sum_(k = 0)^oo P(xi = k) t^k. $ ...
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/program-program-structure/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: "Program: Program Structure", type: "program", date: datetime(year: 2023, month: 8, day: 12), author: "<NAME>", witness: "Violet Ridge", ) During Spin Up we had to have...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying-aqua/0.3.3/README.md
markdown
Apache License 2.0
# [Touying](https://github.com/touying-typ/touying) ![logo](https://github.com/touying-typ/touying/assets/34951714/2aa394d3-2319-4572-aef7-ed3c14b09846) [Touying](https://github.com/touying-typ/touying) (投影 in chinese, /tóuyǐng/, meaning projection) is a powerful and efficient package for creating presentation slides ...
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/conf.typ
typst
#import "@preview/ctheorems:1.1.2": * #import "@preview/polytonoi:0.1.0": * #import "@preview/ouset:0.2.0": * #let gk = ptgk #let theorem = thmbox("theorem", "Теорема", fill: rgb("#eeffee")) #let proposition = thmbox("proposition", "Утверждение", fill: rgb("#eeffee")) #let lemma = thmbox("lemma", "Лемма", fill: rgb("...
https://github.com/cspr-rad/kairos-spec
https://raw.githubusercontent.com/cspr-rad/kairos-spec/main/README.md
markdown
# Spec A first draft of the spec can be found in [spec](./src/spec.typ). The sequence diagram that we created at the workshop in Zug can be found in the diagrams subdirectory [here](./src/diagrams/simple_transfer_diagram.mmd). Additional sequence diagrams can be found [here](./src/diagrams). # Typst Generate the s...
https://github.com/matetamasi/Medve-Automata-9
https://raw.githubusercontent.com/matetamasi/Medve-Automata-9/master/feladat.typ
typst
#import "@preview/finite:0.3.0": automaton, layout #let aut = ( ..it) => { show "Start":"" automaton(..it) } #let maut = (..it, style: (:), radius: 0.45, curve: 0) => { show "Start":"" if not style.keys().contains("transition") { style.insert("transition", (curve: curve, label: (dist: 0.25))) } if not ...
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/exers/8.typ
typst
#import "../cfg.typ": * #show: cfg $ "Prove that" -log_x a = log_x 1/a $ $log_x a - log_x a = 0$ $ex(c): log_x c = - log_x a$ $log_x a - log_x a = log_x a c = log_x 1$ $a c = 1$
https://github.com/vimkat/typst-ohm
https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/components/logo.typ
typst
MIT License
#import "../../src/lib/vars.typ" #let logo( body, height: 1cm, text-only: false, department-below: false, safety-zone: true, fill: vars.red, ) = { layout(container-size => { // Height is a ratio, use wrapping container let _height = height if type(height) == "ratio" { _height = container-size...
https://github.com/PraneethJain/Science-1
https://raw.githubusercontent.com/PraneethJain/Science-1/main/Assignment-5/2022101093_Assignment_5.typ
typst
#align(center, text(17pt)[*Science-1*]) #align(center, text(16pt)[Assignment-5]) #align(center, text(13pt)[<NAME>, 2022010193]) #let ket(x) = $lr(|#x angle.r)$ = Question 1 $ sigma_1 = mat(0, 1; 1, 0), sigma_2 = mat(0, -i; i, 0), sigma_3 = mat(1, 0; 0, -1) $ == (a) $ [sigma_1, sigma_2] = sigma_1 sigma_2 - sigma_2 s...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/common.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "@preview/cetz:0.3.0" #let monotext(..args) = text(font: "Anonymous Pro", fallback: false, ..args) #let awesome-brands(..args) = text(font: "Font Awesome 6 Brands", fallback: false, ..args) #let awesome(..args) = text(font: "Font Awesome 6 Free Solid", fallback: false, ..args) #let color-box(icon: none, tit...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/modernpro-coverletter/0.0.1/README.md
markdown
Apache License 2.0
# Typst-ModernPro-Coverletter This is a cover letter template for Typst with Sans font. It is a modern and professional cover letter template. It is easy to use and customize. This cover letter template is suitable for any job application or general purpose. ## How to use ### Use from the Typst Universe It is simpl...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/inlay_hints/one_line_content.typ
typst
Apache License 2.0
#let add(x, y) = x + y #add[][] #add[ ][ ]
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/subelement-panic_07.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Outline entry (pre-emptive, improved error) // // Error: 2-55 heading must have a location // // Hint: 2-55 try using a query or a show rule to customize the outline.entry instead // #outline.entry(1, heading[Hello], [World!], none, [1])
https://github.com/Chi-Kai/cv
https://raw.githubusercontent.com/Chi-Kai/cv/main/cv.typ
typst
#let fonts = ("Times New Roman","LXGW WenKai Mono") #show heading: set text(font: fonts) #show link: underline // Uncomment the following lines to adjust the size of text // The recommend resume text size is from `10pt` to `12pt` // #set text( // size: 12pt, // ) // Feel free to change the margin below to best fit...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md
markdown
--- sidebar_position: 1 --- # Simple 主题 ![image](https://github.com/touying-typ/touying/assets/34951714/83d5295e-f961-4ffd-bc56-a7049848d408) 这个主题来源于 [Polylux](https://polylux.dev/book/themes/gallery/simple.html),作者是 <NAME>。 这个主题被认为是一个相对简单的主题,你可以用它来创建一个简单 slides,并且可以随意加入你喜欢的功能。 ## 初始化 你可以通过下面的代码来初始化: ```typst #...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/acknowledgement.typ
typst
Other
#import "theme/acknowledgement.typ": * #acknowledgement[ First and foremost, I would like to express my deepest gratitude to Professor <NAME>. I am incredibly thankful for his availability and guidance throughout my studies. It was a great honour to receive his proposal to supervise my research in my final yea...