repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/Namacha411/shogi-board
https://raw.githubusercontent.com/Namacha411/shogi-board/main/manual.typ
typst
MIT License
#import "@preview/tidy:0.2.0" #import "shogi-board.typ": shogi-board-from-sfen = 概要 SFEN形式の入力から将棋盤を簡単に作成するtypstのモジュールです。 = 例 ```typ #shogi-board-from-sfen("lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL b -") ``` #shogi-board-from-sfen("lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL b -") ```...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-00.typ
typst
Other
// Test basic syntax and semantics. // Ref: true // Test that this will be overwritten. #let value = [foo] // Import multiple things. #import "module.typ": fn, value #fn[Like and Subscribe!] #value // Should output `bye`. // Stop at semicolon. #import "module.typ": a, c;bye
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/gallery/platypus.typ
typst
Apache License 2.0
#import "../src/lib.typ": * #set page(width: auto, height: auto, margin: .5cm) #let teal = rgb(37, 155, 166) #let orange = rgb(254, 160, 93) #let brown = rgb(97, 54, 60) #circuit({ element.group(id: "platypus", name: "A platypus", { element.block( x: 0, y: 0, w: 2, h: 3, id: "body", fill: teal, ...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/pages/outline.typ
typst
MIT License
#import "../config/constants.typ": special-chapter-titles #import "../../../common/theme/type.typ": 字体 #let outline-page() = [ #set par(first-line-indent: 0em) #[ #show heading: none #heading(special-chapter-titles.目录, level: 1, outlined: false) ] #show outline.entry: (entry, label: <outline-page-mod...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-12-23/23-12-23.typ
typst
#import "/template.typ": * #show: project.with( date: "23/12/23", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), missingMembers: ( "<NAME>", ), timeStart: "15:00", timeEnd: "16:45", ); = Ordine del giorno: + Valutazione dell'avanzamento; + ...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/Reinforce%20Learning/MARL.typ
typst
--- order: 4 --- #import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "AI 笔记之强化学习", lang: "zh", ) #let ba = $bold(a)$ #let bw = $bold(w)$ = MARL - 从这一讲开始引入多智能体。之前的单智能体并不意味着场上只有一个智能体(比如围棋双方都是智能体,但认为是单智能体,也有多智能体的实现),它更多强调只有单个智能体受己方控制;而多智能体则是多个智能体相互作用,我们简单分为三类 + 多智能体合作:最大化全队分享奖励;多智能体协调问...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/ops-assoc.typ
typst
Apache License 2.0
// Test operator associativity. // Ref: false --- // Math operators are left-associative. #test(10 / 2 / 2 == (10 / 2) / 2, true) #test(10 / 2 / 2 == 10 / (2 / 2), false) #test(1 / 2 * 3, 1.5) --- // Assignment is right-associative. { let x = 1 let y = 2 x = y = "ok" test(x, none) test(y, "ok") }
https://github.com/Fr4nk1inCs/typreset
https://raw.githubusercontent.com/Fr4nk1inCs/typreset/master/src/bundles/utils.typ
typst
MIT License
#import "../utils/title.typ": make-title #import "../utils/header.typ": make-header
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-15.typ
typst
Other
// Error: 7-12 expected identifier #eval("let")
https://github.com/chaosarium/typst-templates
https://raw.githubusercontent.com/chaosarium/typst-templates/main/notebook/components/blocks.typ
typst
/* Blocks */ // Pls add or remove elements in this array first, // if you want to add or remove the class of blocks #let classes = ( "Definition", "Lemma", "Theorem", "Corollary", "Ponder", "Example", "Fact", "Note", "Strategy", "Algorithm" ) #let h1_marker = counter("h1") #let h2_marker = ...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas6/2_Utorok.typ
typst
#let V = ( "HV": ( ("","Otčájannaja žitijá rádi","Któ mené ne pláčetsja, prestupívšaho zápoviď výšňaho, nevozderžánija rádi? Vo ád vselíchsja, vmísto rajá, sňídi sládkija viďínijem, smérť ischodátajstvujuščija, i stránen jejá rádi Bóžija slávy i žízni javíchsja: no prijimí mja kájuščasja Hóspodi, jáko mílostiv i ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Analyse_Chapitre_2024.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/05-modular-monolith.typ
typst
#import "@preview/acrostiche:0.3.1": * #import "/helpers.typ": * = Modular monolith architecture <modularmonolith> In this chapter, we discuss the modular monolith architecture. We start by defining the architectural style, and then continue by discussing the advantages and drawbacks of the architecture. We answer t...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/lang-script.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/template/lang.typ": russian #import "/lib/glossary.typ": tr #show: web-page-template // ## Scripts and languages == 语言和#tr[script] // Lookups apply to particular combinations of *language* and *script*. You can, f...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_040323/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/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/content.typ
typst
Apache License 2.0
// Test arbitrary content in math. --- // Test images and font fallback. #let monkey = move(dy: 0.2em, image("/files/monkey.svg", height: 1em)) $ sum_(i=#emoji.apple)^#emoji.apple.red i + monkey/2 $ --- // Test tables. $ x := #table(columns: 2)[x][y]/mat(1, 2, 3) = #table[A][B][C] $ --- // Test non-equation math...
https://github.com/anesthetice/typst-templates
https://raw.githubusercontent.com/anesthetice/typst-templates/main/main.typ
typst
The Unlicense
// heavily inspired by : https://github.com/dogeystamp/typst-templates/ // thank you dogeystamp #let header-size = 22pt #let regular-size = 12pt #let font = "IBM Plex Serif" #let template( title: "", subtitle: none, author: "", doc, ) = { set document( title: title, author: author, ) set page( ...
https://github.com/Zarox28/TypstTemplate
https://raw.githubusercontent.com/Zarox28/TypstTemplate/main/Base.typ
typst
// ----- PACKAGES IMPORT ----- #import "@preview/gentle-clues:0.9.0": * #import "@preview/outrageous:0.1.0" #import "@preview/sourcerer:0.2.1": code #import "@preview/splash:0.4.0": xcolor #import "term.typ": term // ----- MAIN CONFIGURATION ----- #let conf(body) = { // Numbering set page(numbering: "1", number-al...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/typst-project-source.md
markdown
MIT License
<!-- markdownlint-disable-file first-line-h1 --> Typst input file to compile.
https://github.com/Dr00gy/Typst-thesis-template-for-VSB
https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/thesis_template/outlines.typ
typst
#let listChapters = { show outline.entry.where(level: 1): it => { v(1em) text(size: 1.25em, weight: "bold")[#it] } // Contents outline(indent: 1.2em, fill: repeat[#h(.6em).]) } #let listImages = { show outline: set heading(outlined: true) outline( title: context(if text.lang == "en" [List o...
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661111-%5BLinear%20Algebra%201A%5D/src/lectures/03661111_lecture_7.typ
typst
#import "/template.typ": * #import "@preview/colorful-boxes:1.2.0": * #show: project.with( title: "אלגברה לינארית 1א׳ - שיעור 7", authors: ("<NAME>",), date: "26 בינואר, 2024", ) // #include "/utils/toc.typ" // #pagebreak() #set enum(numbering: "(1.א)") = תזכורת == צירוף לינארי (צ״ל) אם $V$ הוא מ״ו מעל שדה $F...
https://github.com/techtheriac/resume
https://raw.githubusercontent.com/techtheriac/resume/master/README.md
markdown
# References [Typst Docs](https://typst.app/docs)
https://github.com/jneug/typst-tools4typst
https://raw.githubusercontent.com/jneug/typst-tools4typst/main/math.typ
typst
MIT License
#import "is.typ": same-type // ================================= // Math // ================================= /// Returns an array with the minimum of `a` and `b` as the first element and the maximum as the second: /// #codesnippet[```typ /// #let (min, max) = math.minmax(a, b) /// ```] /// Works with any comparable...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/test/grade-table/test-002-subquestion-point.typ
typst
MIT License
#import "../../src/lib.typ": * #show: g-exam.with( show-student-data: "first-page", show-grade-table: true, ) #g-question()[] #g-subquestion(points:1)[] #g-subquestion(points:1)[] #g-question(points:3)[] #g-subquestion(points:1.2)[] #g-subquestion(points:1.3)[]
https://github.com/FinleyGe/typst-profile
https://raw.githubusercontent.com/FinleyGe/typst-profile/main/README.md
markdown
# Typst-Profile 使用 Typst 编写的个人简历模板。 样例: [样例](/example.pdf) PRs are welcome!
https://github.com/bpkleer/typst-academicons
https://raw.githubusercontent.com/bpkleer/typst-academicons/main/gallery.typ
typst
MIT License
#import "lib.typ": * #table(columns: (2fr, 1fr, 1fr), stroke: none, table.header([typst code], [default], [`fa-icon` with text]), ```typst #ai-academia()```, ai-academia(), ai-icon("academia"), ```typst #ai-academia-square()```, ai-academia-square(), ai-icon("academia-square"), ```typst #ai-acclaim()```, ai-acclaim(),...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit1/NullSafety.typ
typst
== Null-Safety === El Problema de los Punteros Nulos Los punteros o referencias nulas han sido denominados "el error de mil millones de dólares" por <NAME>, quien introdujo el concepto de valores nulos. Este problema ocurre cuando una variable que se espera que contenga una referencia a un objeto en realidad contien...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/quill/0.2.0/src/utility.typ
typst
Apache License 2.0
#let if-none(a, b) = { if a != none { a } else { b } } #let is-gate(item) = { type(item) == "dictionary" and "gate-type" in item } #let is-circuit-drawable(item) = { is-gate(item) or type(item) in ("string", "content") } #let is-circuit-meta-instruction(item) = { type(item) == "dictionary" and "qc-instr" in item } ...
https://github.com/taooceros/typst-sync-packages
https://raw.githubusercontent.com/taooceros/typst-sync-packages/main/packages/local/apa/0.1.0/lib.typ
typst
Apache License 2.0
#let apa(title: [], authors: (), institution: [], course: none, professor: [], body, title-abbr: [], section: none) = { set document(author: authors, title: title) set page(numbering: "1", number-align: center, margin: 1in, paper: "us-letter", header: align(left, text(gray.darken(50%), title-abbr))) set text(font...
https://github.com/rikhuijzer/phd-thesis
https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/functions.typ
typst
The Unlicense
#let only(values) = { assert(values.len() == 1, message: "Expected an array of length 1") values.first() } #let title() = "Predicting Dropout in Special Forces Selection" #let textcite( label, supplement: none, ) = { cite( label, supplement: supplement, form: "prose", ) } // Parenthetic...
https://github.com/MALossov/YunMo_Doc
https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/template/utils.typ
typst
Apache License 2.0
#import "font.typ": * // ----------------- // zhnumbers 工具函数 // @param: num, level 1 的章节数字 // @return: zhnum, num 对应的汉语数字 // ----------------- // 2023/4/11 update log: // - 使用 `at` 进行索引,抛弃了恐怖的语法 // - 扩展了支持的数字范围,更新到[0, 10] #let zhnumbers(num) = { ("零", "一", "二", "三", "四", "五", "六", "七", "八", "九", "十").at(int(num)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/game-theoryst/0.1.0/src/utils/styling_utils.typ
typst
Apache License 2.0
#import table: cell #import "table_utils.typ": blank-cells #import "programming_utils.typ": if-else // Helper function to format player 1's name // Default color is red // Default rspn (`row-span`) is for a 3x3 game #let p1(name, color: red, rspn: 3) = { cell( inset: (right: 1em), rowspan: rspn, te...
https://github.com/uben0/tree-sitter-typst
https://raw.githubusercontent.com/uben0/tree-sitter-typst/master/DOC.md
markdown
MIT License
# Implementation documentation ## Tricky Typst List of tests exposing particular behaviors from Typst - Test `positive/320`: indent takes in account comments, but redent is done at item, term or heading token. - Tests `positive/328` and `positive/329`: math function don't work with symbol. - Test `positive/330`: Com...
https://github.com/morrisfeist/cvgen
https://raw.githubusercontent.com/morrisfeist/cvgen/master/README.md
markdown
MIT License
A PDF generator for CVs using typst <img src="docs/cv.png" alt="Example generated pdf"/> ## Usage ```bash # Download JSON file into working directory curl https://raw.githubusercontent.com/morrisfeist/cvgen/master/docs/cv.json --output cv.json # Edit JSON file with your editor of choice nano/vim/emacs/code/… cv.jso...
https://github.com/kurk070ff/typst-flake-template
https://raw.githubusercontent.com/kurk070ff/typst-flake-template/master/README.md
markdown
# Typst template This is a template for creating documents written in typst for the nix package manager Usage: ```sh $> nix flake init -t github:kurk070ff/typst-flake-template # To init in an already existing directory $> nix flake new -t github:kurk070ff/typst-flake-template <folder-name> # To create a new directory...
https://github.com/isaacholt100/isaacholt
https://raw.githubusercontent.com/isaacholt100/isaacholt/main/public/maths-notes/4-cambridge%3A-part-III/combinatorics/combinatorics.typ
typst
MIT License
#import "../../template.typ": * #show: doc => template(doc, hidden: (), slides: false) = Set systems == Chains and antichains #note[ The ideas in combinatorics often occur in the proofs, so it is advisable to learn the techniques used in proofs, rather than just learning the results and not their proofs. ] #defi...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch04-art.typ
typst
MIT License
#import "../functions.typ": heading_center, images, italic,linkb #let finchapiter = text(size: 24pt, fill:rgb("#1E045B"),[■]) /* * * ARTICLE 04 * */ = DETECTING LUNG CANCER NODULES. == Introduction and Related Work CT Scan ... Automatic brain tumor segmentation directly from CT scan represent a challenging task i...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/themes/dewdrop.typ
typst
// This theme is inspired by https://github.com/zbowang/BeamerTheme // The typst version was written by https://github.com/OrangeX4 #import "../utils/utils.typ" #import "../utils/states.typ" #let slide( self: none, subsection: none, title: none, footer: auto, ..args, ) = { self.page-args = self.page-args ...
https://github.com/EstebanMunoz/typst-template-informe
https://raw.githubusercontent.com/EstebanMunoz/typst-template-informe/main/conf.typ
typst
MIT No Attribution
#import "title-page.typ": title-page #import "custom-outline.typ": custom-outline #import "@preview/codly:1.0.0": * #import "@preview/subpar:0.1.1" #let conf( include-title-page: true, title: none, subject: none, students: (), teachers: (), auxiliaries: (), assistants: (), lab-assistants: (), semest...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/互联网原理与技术/作业/template.typ
typst
The Unlicense
#let 字号 = ( 初号: 42pt, 小初: 36pt, 一号: 26pt, 小一: 24pt, 二号: 22pt, 小二: 18pt, 三号: 16pt, 小三: 15pt, 四号: 14pt, 中四: 13pt, 小四: 12pt, 五号: 10.5pt, 小五: 9pt, 六号: 7.5pt, 小六: 6.5pt, 七号: 5.5pt, 小七: 5pt, ) #let 字体 = ( 仿宋: ("Times New Roman", "FangSong"), 宋体: ("Times New Roman", "SimSun"), 黑体: ("Ti...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/signature/user.typ
typst
Apache License 2.0
#let f(u, v) = u + v; #(/* ident after */ f);
https://github.com/timon-schelling/abi-research-paper-rewrite-with-typst
https://raw.githubusercontent.com/timon-schelling/abi-research-paper-rewrite-with-typst/main/src/template.typ
typst
#let project( title: "", authors: (), date: none, bib: none, bib-title: none, numbering-skip-outline: true, body, ) = { set document(author: authors, title: title) set page(numbering: if numbering-skip-outline { none } else { "1" }) set text(font: "Linux Libertine", lang: "de") set heading(numberi...
https://github.com/atareao/fondos-productivos
https://raw.githubusercontent.com/atareao/fondos-productivos/master/src/paquetes-linux.typ
typst
MIT License
#set page( "presentation-16-9", fill: black, margin: 0.5cm) #set text(size: 12pt, fill: white) = Gestión de paquetes en Linux #columns(3, gutter: 12pt)[ == Instalar desde repositorio - `snap install <paquete>` - `flatpak install [remote] <paquete>` - `apt install <paquete>` - `yum install <p...
https://github.com/GYPpro/ACM_res
https://raw.githubusercontent.com/GYPpro/ACM_res/main/C_printDoc.typ
typst
#import "@preview/codelst:2.0.1": sourcecode // Display inline code in a box #set text(font:("Times New Roman","Source Han Serif SC")) #show raw.where(block: false): box.with( fill: luma(230), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt, ) #show raw.where(block: true): block.with( fill: luma(240), ...
https://github.com/dadn-dream-home/documents
https://raw.githubusercontent.com/dadn-dream-home/documents/main/README.md
markdown
# Documents Source code for the final report. ## Requirement - Deno =~ 1.34.2 - Draw.io CLI =~ 21.3.7 - Inkscape =~ 1.0.1 - Typst =~ 0.5.0 ## Build After modifying `*.drawio` files, run ```sh $ deno task generate-svg ``` To watch and build the `main.pdf`: ```sh $ deno task typst ```
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/calcolabilità/11_problemi_decisione.typ
typst
#import "../alias.typ": * #import "@preview/lemmify:0.1.5": * #let (theorem, lemma, corollary, remark, proposition, example, proof, rules: thm-rules) = default-theorems( "thm-group", lang: "it", ) #show: thm-rules #show thm-selector("thm-group", subgroup: "theorem"): it => block( it, stroke: red + 1pt, in...
https://github.com/jamesrswift/musicaux
https://raw.githubusercontent.com/jamesrswift/musicaux/main/src/symbols.typ
typst
#let symbols = symbol( ("stave", "𝄚"), ("stave.single", "𝄖"), ("bar", "𝄀"), ("bar.double", "𝄁"), ("bar.double.bold", "𝄂"), ("bar.double.bold.reverse", "𝄃"), ("bar.dotted", "𝄄"), ("clef", "𝄞"), ("clef.treble", "𝄞"), ("clef.treble.upper-octave", "𝄟"), ("clef.treble.lower-octave", "𝄠"), ...
https://github.com/Dylan-Padilla/typst-examples
https://raw.githubusercontent.com/Dylan-Padilla/typst-examples/main/main-text.typ
typst
#align(center, text(17pt)[ *Beyond Microsoft* ]) #align(center)[ <NAME> \ Arizona State University \ #link("<EMAIL>") ] #set par( justify: true, ) = Introduction "Free Software" means software that respects users' freedom and community. Roughly, it means that the users have the freedom to run, copy, distribute, s...
https://github.com/Origami404/kaoyan-shuxueyi
https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/微积分/08-空间解析几何.typ
typst
#import "../template.typ": sectionline, gray_table, colored #let vi = $bold(i)$ #let vj = $bold(j)$ #let vk = $bold(k)$ #let vx = $bold(x)$ #let vp = $bold(p)$ #let prl = $\/\/$ #let cross = $times$ #let clr(exp) = text(fill: red)[$#exp$] = 空间解析几何 == 基本元素 === 向量运算 - 注意叉积的反交换和自乘零 - 注意混合积的轮换不变性, 反交换性和自乘零 - 叉积的计算可以用...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PreventivoSprint/DodicesimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": prospettoOrario, prospettoEconomico, glossary ==== Dodicesimo preventivo *Inizio*: Venerdì 08/03/2024 *Fine*: Giovedì 14/03/2024 #prospettoOrario(sprintNumber: "12") #prospettoEconomico(sprintNumber: "12"...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/chart/barcol-common.typ
typst
Apache License 2.0
// Valid bar- and columnchart modes #let barchart-modes = ( "basic", "clustered", "stacked", "stacked100" ) // Functions for max value calculation #let barchart-max-value-fn = ( basic: (data, value-key) => { calc.max(0, ..data.map(t => t.at(value-key))) }, clustered: (data, value-key) => { calc.max(0, ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-square_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Default square. #box(square()) #box(square[hey!])
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/themes/31.typ
typst
#import "../conf.typ": * = Простейшая задача вариационного исчисления. Необходимые условия локального экстремума. #note[ Вспомнин $C$-нормы: #eq[ $forall k in NN union {0} : space norm(f)_(C^k [a, b]) = sum_(i = 0)^k max_(x in [a, b]) abs(f^((i)) (x))$ ] ] #definition[ Пусть $(X, rho)$ -- метрическое прос...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page - Top-level indent - is fine.
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-08.typ
typst
Other
// Test absolute path in layout phase. #show "GRAPH": image("test/assets/files/graph.png") The GRAPH has nodes.
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/048%20-%20Dominaria%20United/009_Shards%20of%20Nightmares.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Shards of Nightmares", set_name: "Dominaria United", story_date: datetime(day: 17, month: 08, year: 2022), author: "<NAME>", doc ) <NAME> pressed her hand against the wall of her cabin and felt the #emph[Weatherlight] 's soft warmth pulsing...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/cetz-manual.typ
typst
Apache License 2.0
#import "doc/util.typ": * #import "doc/example.typ": example #import "doc/style.typ" as doc-style #import "src/lib.typ": * #import "src/styles.typ" #import "src/anchor.typ" as anchor_ #import "@preview/tidy:0.2.0" // Usage: // ```example // /* canvas drawing code */ // ``` #show raw.where(lang: "example"): exa...
https://github.com/pluttan/typst-g7.32-2017
https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/styles/heading.typ
typst
MIT License
#import "../g7.32-2017.config.typ":config #let style_heading(content) = { set heading(numbering: config.heading.numbering) show heading.where(level:1): it => { if (config.heading.l1.pagebreak){pagebreak()} set text(config.heading.l1.size, hyphenate: false) if (config.heading.l1.upper){ ...
https://github.com/Arsenii324/matap-p2
https://raw.githubusercontent.com/Arsenii324/matap-p2/main/t-repo/lecture4.typ
typst
#import "macros.typ" : * = Лекция == Функциональные ряды и последовательности === Определение функционального ряда Пусть есть функции $f_n (x) = sumin u_i (x), u_i : EE -> RR, EE subset.eq RR $ Если $forall x in EE " " exists limits(lim)_(n -> infinity) f_n (x) = f(x),$ тогда $limits(lim)_(n -> infinity) f_n (x) =...
https://github.com/jamesrswift/dining-table
https://raw.githubusercontent.com/jamesrswift/dining-table/main/src/validation.typ
typst
The Unlicense
#import "deps.typ": * #let columns-schema = z.array( z.dictionary((: key: z.any(), header: z.content(optional: true), display: z.function(optional: true), fill: z.color(optional: true), align: z.alignment(default: start), gutter: z.length(optional: true), width: z.any(optional: true), )...
https://github.com/almarzn/portfolio
https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/main.typ
typst
// @font-face(url=https://fonts.google.com/download?family=Lexend) // @font-face(dir=.template/fonts/) #import "@preview/fontawesome:0.1.0": * #import ".template/title.typ": title #import ".template/competencies.typ": competencies #import ".template/about.typ": about-section #import ".template/education.typ": educatio...
https://github.com/JacentyI1/Interpersonal-Communication
https://raw.githubusercontent.com/JacentyI1/Interpersonal-Communication/main/README.md
markdown
The Unlicense
### [Presentation](https://1drv.ms/p/s!ApPlUecbgSQIyTGZdQ94JTFu_qO9) # Subject: IC Interpersonal Communication ## Presentation date & topic 10.04 - Trends and challenges for interpersonal communication in the next decade. ## Script [script.md](assets/script.md) ## Grade - attendance - commitment (+ attendance) ...
https://github.com/genericusername3/structogrammer
https://raw.githubusercontent.com/genericusername3/structogrammer/master/example.typ
typst
MIT License
#import "structogrammer/main.typ": structogram #set page(width: auto, height: auto, margin: 4pt, fill: rgb("0000")) #set text(lang: "de") // #set text(font: "IBM Plex Mono") #structogram( title: "method_title()", ( // Regular chaining ( "do this first", "then this", ), // Conditionals...
https://github.com/freefrancisco/typst-resume
https://raw.githubusercontent.com/freefrancisco/typst-resume/main/resumetemplate.typ
typst
#let cv(author: "", contacts: (), body) = { set document(author: author, title: author) set text(font: "Linux Libertine", lang: "en") show heading: it => [ #pad(bottom: -10pt, [#smallcaps(it.body)]) #line(length: 100%, stroke: 1pt) ] // Author align(center)[ #block(text(weight: 700, 1.75em, ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/layout.typ
typst
#import "base-utils.typ": * #let flex(..sink) = { let opts = sink.named() let padding = opts.at("padding", default: none) // pads the arg inside of fn:prepare let debug = opts.at("debug", default: none) // draws a red rectangle around the arg // uses a block wrapper around the final payload ...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/proposal/template.typ
typst
#let template( // Document title title: "", // Document subtitle subtitle: "", // List of authors authors: (), // Date of publication date: none, // Institution logo (SVG) logo-file: none, // Bibliography bibliography-file: none, // Abstract abstract: [], // Document contents body...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/experiment/weeks/week10.typ
typst
#import "../../utils.typ": * #section("From distribution to reality") The idea is, if we do one specific experiment multiple times, then we get multiple results, aka multiple medians and multiple variances. #align( center, [#image("../../Screenshots/2023_11_24_07_06_13.png", width: 100%)], ) #subsection("Law1") #...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2007/MS-02.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [WANG Hao], [CHN], [3006], [2], [MA Lin], [CHN], [2878], [3], [BOLL Timo], [GER], [2855], [4], [WANG Liqin], [CHN], ...
https://github.com/BreakingLead/note
https://raw.githubusercontent.com/BreakingLead/note/main/School/古诗文.typ
typst
#set text(font: "LXGW WenKai Mono", size: 1.05em) #show heading.where(level: 1): it => { set align(center) set text(font:"LXGW Fasmart Gothic", size: 1.7em) it } #show heading.where(level: 2): it => { set text(1.2em) set align(center) block() it } #show enum: it => { set text(font: "SimSun",size:0.75e...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/styleMenlive.typ
typst
#import "/style.typ": * #import "/utilsMenlive.typ": * #let hlasVecieren(day, dayidx, h_st, s_st, t) = { let c = counter("day") let n = 10 if dayidx == 100 { n = 4 } else if dayidx != 0 { n = 6 } if "HV" in day { [==== #t("HOSPODI_VOZVACH") <X>] let (..verse, last) = day.at("HV") ...
https://github.com/hesampakdaman/resume
https://raw.githubusercontent.com/hesampakdaman/resume/main/resume.typ
typst
MIT License
#import "class.typ": template, skill_entry, experience_entry #let contact_data = ( ( "service": "github", "display": "hesampakdaman", "link": "https://github.com/hesampakdaman" ), ) #show: doc => template("<NAME>", contact_data, black, doc) #align(center)[ #skill_entry("Programmi...
https://github.com/WannesMalfait/vub-huisstijl-typst
https://raw.githubusercontent.com/WannesMalfait/vub-huisstijl-typst/main/template/main.typ
typst
MIT License
#import "@preview/stv-vub-huisstijl:0.1.0": vub-titlepage // Adapt the default arguments to your needs. #vub-titlepage( title: "Title of the thesis", subtitle: "An optional subtitle", pretitle: "Graduation thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in Mathemat...
https://github.com/MilanR312/ugent_typst_template
https://raw.githubusercontent.com/MilanR312/ugent_typst_template/main/template/methods/header.typ
typst
MIT License
#import "globals.typ": * #let default_header(title, short_title) = context{ let titles_before = query( heading.where(level: 1).before(here()) ).rev().filter(x => state("body").at(x.location()) or state("appendix").at(x.location())) let all_headings = query( heading.where(level: 1) ).filter(x => sta...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/os/lectures/2024-09-02.typ
typst
= Обзор. Введение <NAME> `<EMAIL>` Оценка: $ О_"теор" (О_"кр" + О_"экз") / 2 $ $ О_"итог" (2 * О_"практ" * О_"теор") / (О_"практ" + O_"теор") $ 0 за $O_"теор"$ или $O_"практ"$ обнулит $O_"итог"$ == Структура вычислительной системы - Пользователь (человек или устройство) - Программное обеспечение - Прикладн...
https://github.com/Thumuss/utpm
https://raw.githubusercontent.com/Thumuss/utpm/dev/README.md
markdown
MIT License
<div align="center"> ![UTPM logo](./assets/logo.svg) > _Unofficial typst package manager_ **UTPM** is a _package manager_ for **[local](https://github.com/typst/packages#local-packages)** and **remote** packages. Create quickly new _projects_ and _templates_ from a **singular tool**, and then **publish** it _directl...
https://github.com/dantevi-other/kththesis-typst
https://raw.githubusercontent.com/dantevi-other/kththesis-typst/main/parts/4-outline.typ
typst
MIT License
//-- Configurations #set page( numbering: "i" ) //-- Content #outline( indent: true )
https://github.com/minijackson/2024-04-hepix-nix
https://raw.githubusercontent.com/minijackson/2024-04-hepix-nix/master/README.md
markdown
# 2024-04 HEPiX Nix Slides and demos of my HEPiX Spring 2024 presentation about Nix/NixOS. ## Demos They're in the `demos` directory. You will need Nix to run them. To install Nix, follow the [official instructions]. You will also need to [enable the flakes feature]. [official instructions]: https://nixos.org/d...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Math/op.typ
typst
#set text( size:10pt, ) #set page( paper:"a5", margin:(x:1.8cm,y:1.5cm), ) #set par( justify: true, leading: 0.52em, ) = 文本运算符 等式中的文本运算符。 = 例 #image("49.png") = 预定义运算符 Typst预定义运算符有arccos, arcsin, arctan, arg, cos, cosh, cot, coth, csc, csch, ctg, deg, det, dim, exp, gcd, hom, id, im, inf, ker, lg, lim, lim...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/065.%20investors.html.typ
typst
investors.html How to Present to Investors Want to start a startup? Get funded by Y Combinator. August 2006, rev. April 2007, September 2010In a few days it will be Demo Day, when the startups we funded this summer present to investors. Y Combinator funds startups twice a year, in January and June. Ten weeks ...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/src/auxiliary.typ
typst
MIT License
#import "./global.typ" : * #let __g-student-data( page: [], // first, odd, pair. show-student-data: "first-page", // show-student-data: ( // given-name: first-page, // family-name: first-page, // group: first-page, // date: first-page // ), ) = { ...
https://github.com/kotatsuyaki/canonical-nthu-thesis
https://raw.githubusercontent.com/kotatsuyaki/canonical-nthu-thesis/main/layouts/body.typ
typst
MIT License
#let body-impl( margin: (:), it, ) = { // Returns whether the current page has a chapter (top-level) heading. let is-chapter-start-page() = { // Find chapter headings on the current page. let all-chapter-headings = query(heading.where(level: 1)) let current = counter(page).get() ...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/可视化/模式/moshi.typ
typst
= 模式 重复图案填充。 Typst 支持最常见的平铺图案类型的图案,其中图案以网格状方式重复,覆盖填充或描边元素的整个区域。该模式由图块大小和定义每个单元格内容的主体定义。您还可以在 patterng 的单元格之间添加水平或垂直间距。 #image("1.png") 文本上也支持模式,但前提是将相对性设置为(默认值)或 。若要创建逐字或逐字形模式,可以手动或通过显示规则将文本的字词或字符换行到框中。auto"parent" #image("2.png") 您还可以使用图案的间距特征将元素间隔得更远或更近。如果间距小于图案的大小,则图案将重叠。如果较高,则图案将具有与图案背景颜色相同的间隙。 #image("3.png") = 相...
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/themes/15.typ
typst
#import "../conf.typ": * = Дифференциальные формы на открытых подмножествах евклидова пространства, оператор внешнего дифференцирования $dif$ и его независимость от криволинейной замены координат == Дифференциальные формы, оператор внешнего дифференцирования В этом и других билетов, связанных с дифференциальными форм...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/text/smartquote.typ
typst
--- smartquote --- #set text(lang: "en") "The horse eats no cucumber salad" was the first sentence ever uttered on the 'telephone.' --- smartquote-de --- #set text(lang: "de") "Das Pferd frisst keinen Gurkensalat" war der erste jemals am 'Fernsprecher' gesagte Satz. --- smartquote-de-ch --- #set text(lang: "de", regi...
https://github.com/kiwiyou/algorithm-lecture
https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/advanced/02-shortest-path.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/TGM-HIT/typst-thesis-workshop
https://raw.githubusercontent.com/TGM-HIT/typst-thesis-workshop/main/slides/utils.typ
typst
#import "@preview/codly:1.0.0": * #let multi-lang(..translations) = { assert(translations.pos().len() == 0, message: "only named arguments allowed") let translations = translations.named() context translations.at(text.lang) } #let de-en(de, en) = multi-lang(de: de, en: en) #let _pro_con_list_options = ( spac...
https://github.com/jamesrswift/springer-spaniel
https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/package/ctheorems.typ
typst
The Unlicense
#import "@preview/ctheorems:1.1.2": * #let thmrules = thmrules.with(qed-symbol: $square.stroked$) #let thmbox = thmbox.with( padding: (y: 0.25em), inset: 0pt, radius: 0pt, breakable: true, base_level: 0, ) #let thmplain = thmbox.with( padding: (y: 0em), breakable: true, namefmt: name => emph([(#name)...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/Conclusions.typ
typst
The Lua implementation turns out to be very versatile given its performance and ease of use considering a technical profile. For use in video games this option can be viable with a little more work to simulate only groups of active particles and not all the particles in memory. The web simulation is suitable for small...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/align_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 100pt) #stack(dir: ltr, align(left, square(size: 15pt, fill: eastern)), align(center, square(size: 20pt, fill: eastern)), align(right, square(size: 15pt, fill: eastern)), ) #align(center + horizon, rect(fill: eastern, height...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/academic/multiple-choice-question.typ
typst
#import "@local/typkit:0.1.0": * #let markup = markup-factory(marks.math) #let annotate(question, annotations) = { let annotation = { // boxy(italic(annotations.src, size: 0.7em, fill: blue), stroke: strokes.soft) italic(annotations.src, size: 0.7em, fill: black, weight: "bold") } let...
https://github.com/matthiasGmayer/typst-math-template
https://raw.githubusercontent.com/matthiasGmayer/typst-math-template/main/introduction.typ
typst
#import "template.typ": * #show: sub_project This is a citation #ccite[pearl] #definition[MyDefinition][ $X=1$ ] #labeled[mydef] #remark[ $X!=2$ ] #proof[ see #tref[mydef] ]
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/pseudocode/bach_1.typ
typst
#import "@preview/lovelace:0.3.0": * #pseudocode-list(booktabs: true, numbered-title: [Center Point Approximation])[ + *input*: $bold(cal(o))_"first", bold(x), t, M$ + *lists*: optimal weights $bold(h)_"opt"$ + $bold(cal(o)) arrow.l bold(cal(o))_"first"$ + #line-label(<alg:bach_1_1>) *repeat* t times: + ...
https://github.com/OrangeX4/typst-talk
https://raw.githubusercontent.com/OrangeX4/typst-talk/main/utils.typ
typst
#import "@preview/octique:0.1.0": * // Logos #let typst-color = rgb("#239DAD") #let Typst = text(fill: typst-color, weight: "bold", "Typst") #let Touying = text(fill: rgb("#425066"), weight: "bold", "Touying") #let Markdown = text(fill: rgb(purple), weight: "bold", "Markdown") #let TeX = { set text(font: "New Co...
https://github.com/Meisenheimer/Notes
https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/Probability.typ
typst
MIT License
#import "@local/math:1.0.0": * = Probability Theory == Probability #env("Definition")[ A *probability space* is a triple $(Omega, cal(F), P)$ consisting of - the sample space $Omega$: an arbitrary non-empty set; - the $sigma$-algebra $cal(F) subset.eq 2^Omega$: a set of subsets of $Omega$, called events, such...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-20.typ
typst
Other
// Test the `filter` method. #test(().filter(calc.even), ()) #test((1, 2, 3, 4).filter(calc.even), (2, 4)) #test((7, 3, 2, 5, 1).filter(x => x < 5), (3, 2, 1))
https://github.com/RanolP/resume
https://raw.githubusercontent.com/RanolP/resume/main/metadata.typ
typst
#let metadata = ( name: (nickname: "RanolP", real-korean: "임상원", real-english: "Im Sang-won"), bio: ( ko: ( title: text(weight: 300)[사람과 컴퓨터 사이를 #text(weight: 900)[이어주는] 소프트웨어를 만듭니다], body: text[ *더 쓰고 싶고, 더 쓰기 쉬운 소프트웨어*를 만들어 나갑니다. *누구나 쉽게 접근*할 수 있는 *웹을 가장 선호*하고, \ 가장 잘 알고 있지만, CI 파이...
https://github.com/pku-typst/unilab
https://raw.githubusercontent.com/pku-typst/unilab/main/titlepage.typ
typst
MIT License
/// Generate a title page /// /// - `title`: The title of the document /// - `subtitle`: The subtitle of the document /// - `author`: The author of the document /// - `bottom-text`: The text at the bottom of the page #let title-page(title: none, subtitle: none, author: none, bottom-text: none, logos: (none, none)) = pa...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/examples/3d-cetz-attempt-1.typ
typst
// status: working // #import "@preview/cetz:0.2.2" #import cetz.draw: * #cetz.canvas({ let origin = (0, 0) set-style( grid: ( stroke: ( thickness: 0.25pt, dash: "densely-dotted" ) ), circle: ( radius: 3pt, fill: black, ) ) on-yz({ grid(origin, (4, ...
https://github.com/ShadowMitia/typst-babble-bubbles
https://raw.githubusercontent.com/ShadowMitia/typst-babble-bubbles/main/README.md
markdown
MIT License
# typst-babble-bubbles A package to create callouts in typst, inspired by the [Obsidan](https://obsidian.md/) callouts. Use preset callouts, or create your own! ![callouts_example](examples/callouts.png) ## Usage Import the package ```typst #import "@preview/babble-bubbles:0.1.0": * ``` Or grab it locally and us...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/lib/plot-stub.typ
typst
Apache License 2.0
// DEPRECATED TODO: Remove this after 0.3.0 #let plot(..args) = panic("cetz plotting library has been moved to its own package, cetz-plot")