repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/Dherse/typst-glossary
https://raw.githubusercontent.com/Dherse/typst-glossary/main/README.md
markdown
# Typst glossary A simple, easily customizable typst glossary. You can see an example showing the different features in [`example.typ`](example/example.typ). ![Screenshot](example/example.png)
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/lang/dangling.typ
typst
#import "../lib.typ": * #show heading: heading_fct Dans un langage de programmation comme `C` ou `OCaml`, on se heurte ร  un problรจme connu sous le nom de _dangling else_. On considรจre la grammaire suivante : $ S -> "if b then" S | "if b then" S "else" S | "a" $ #question(0)[Montrer que cette grammaire est ambigu...
https://github.com/mumblingdrunkard/mscs-thesis
https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/computer-architecture-fundamentals/abstractions-and-implementations.typ
typst
== Abstractions and Implementations #quote(block: true, [ If you wish to makke an apple pie from scratch, you must first invent the universe. ], attribution: "<NAME>", ) We take the above quote as a reflection on how easy it often is to forget the complexities we deal with. This is true for hardware developme...
https://github.com/matthiasGmayer/structural-independence-typst
https://raw.githubusercontent.com/matthiasGmayer/structural-independence-typst/Typst/presentation.typ
typst
#import "symbols.typ": * #import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge #import "@preview/ctheorems:1.1.2": * #import "@preview/numbly:0.1.0": numbly #let disintegrates = "disintegrates" #let generates = "genera...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/link_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Styled with underline and color. #show link: it => underline(text(fill: rgb("283663"), it)) You could also make the #link("https://html5zombo.com/")[link look way more typical.]
https://github.com/Fr4nk1inCs/typreset
https://raw.githubusercontent.com/Fr4nk1inCs/typreset/master/src/bundles/homework.typ
typst
MIT License
#import "../styles/homework.typ": style #import "../utils/question.typ": simple_question, complex_question
https://github.com/i-am-wololo/cours
https://raw.githubusercontent.com/i-am-wololo/cours/master/TP/i22/tp3.typ
typst
#import "templates.typ": * #show: project.with(title: "TP 3: circuits combinatoire") ce document est cense documenter toute les etapes de ma procedure, mais il peut aussi etre utilise comme guide = Inverseur commande Un composant qui prend 2 entrees, une entree de donnee et une entree pour le parametre, et selon le p...
https://github.com/LeoJuguet/report-internship2024
https://raw.githubusercontent.com/LeoJuguet/report-internship2024/main/report.typ
typst
// Setup #import "@preview/ansi-render:0.6.1": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2" #import fletcher.shapes: diamond #set page(numbering: "1") #let head(title, authors, date) = align(center)[ #text(17pt)[*#title*]\ #authors \ #date \ ] #set heading(n...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/figures/template.typ
typst
MIT License
#set page(width: auto, height: auto) #import "@preview/cetz:0.2.2" #import "@preview/funarray:0.4.0": windows #import "../lib/vec2.typ" #import "../lib/catppuccin.typ": catppuccin #let theme = catppuccin.theme // #import "common.typ": * #let coordinate-grid(x, y) = { import cetz.draw: * let x-max = x let y-ma...
https://github.com/refparo/24xx-typst
https://raw.githubusercontent.com/refparo/24xx-typst/master/README.md
markdown
Creative Commons Attribution 4.0 International
# 24XX in Typst This is [24XX SRD](https://jasontocci.itch.io/24xx) by <NAME> recreated using the [Typst](https://typst.app/) typesetting engine. You can use this as a template to create your own game if you are like me who feel more comfortable composing a document with code than using desktop publishing software. T...
https://github.com/alex-touza/fractal-explorer
https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/paper/planning/videos.typ
typst
- *Hausdorff Measure Through Example*, Young Measures https://www.youtube.com/watch?v=YbuzXemwwlY&t=0s - *Fractals are typically not self-similar*, 3Blue1Brown https://www.youtube.com/watch?v=gB9n2gHsHN4&t=322s - *What is the distance between two sets of points? | Hausdorff Distance*, CHALK https://www.youtube.com/wa...
https://github.com/liuxu89/Principles
https://raw.githubusercontent.com/liuxu89/Principles/main/src/chap-1/sec-2.typ
typst
#import "@preview/physica:0.9.2": * #import "/book.typ": book-page #show: book-page.with(title: "Hello, typst") = The Polarization of photons The discussion in the preceding section about the limit to the gentleness with which observations can be made and the consequent indeterminacy in the results of those observat...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/040%20-%20Zendikar%20Rising/003_Episode%202%3A%20Race%20to%20the%20Murasa%20Skyclave.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 2: Race to the Murasa Skyclave", set_name: "Zendikar Rising", story_date: datetime(day: 09, month: 09, year: 2020), author: "<NAME>", doc ) Nahiri was pleased, and also infuriated. Pleased because the ancient key was snug in her poc...
https://github.com/bradmartin333/TypstNotes
https://raw.githubusercontent.com/bradmartin333/TypstNotes/main/sections/test1.typ
typst
= Test1 A triumphant success!
https://github.com/shiki-01/typst
https://raw.githubusercontent.com/shiki-01/typst/main/sample/sample1/main.typ
typst
#import "../../lib/conf.typ": conf #import "../../lib/component/comment.typ": come #import "@preview/codelst:2.0.1": sourcecode #show: doc => conf( title: [ๆƒ…ๅ ฑใ‚ทใ‚นใƒ†ใƒ ], date: [2024ๅนด4ๆœˆ11ๆ—ฅ], doc, ) #let dummy = [ ็งใฏไปŠๅบฆใจใซใ‹ใใใฎ็›ธ้•ๅ…ใจใ„ใ†ใฎใฎไปฅไธŠใง้€ฃใ‚Œใชใงใ—ใ€‚ใฆใ‚“ใง่ฟ‘้ ƒใ‚’ๅ‚่€ƒใ‚‰ใฏใ„ใฃใŸใ„ใ“ใฎ่กฐๅผฑใŸใชใพใงใŒไบ‘ใ„ใงใ„ใ‚‹ใงใ™ใ‚’ใฏๆ”ปๆ’ƒใ‹ใ‹ใ‚‹ใชใ„ใ‚“ใฆใ€ๅฐ‘ใ€…ใซใฏๆ‰•ใฃใงใงใชใ‘ใ‚ŒใŸใ€‚็คพไผšใงใ„ใ†ใชใ„ใ“ใจใ‚‚ใ‚‚ใ—ไปŠใŒใพใ‚ใŸใŸใŸใ€‚ ...
https://github.com/Alkon-2024-contest-editorial/hello-alkon
https://raw.githubusercontent.com/Alkon-2024-contest-editorial/hello-alkon/main/problems.typ
typst
#let raw_problems = ( // Div.2 Number, Div.1 Number, Title, Difficulty, ์˜ˆ์ƒ ํ‹ฐ์–ด "bsgpdr" ์ค‘ ํ•˜๋‚˜ ("A","", "์ˆ˜ํ•™์€ ์ฒด์œก๊ณผ๋ชฉ ์ž…๋‹ˆ๋‹ค", "B3", "b"), ("B","", "๋‚˜๋จธ์ง€", "B2", "b"), ("C","", "๋‹จ์–ด ๊ณต๋ถ€", "B1", "b"), ("D","", "์ข‹์€ ๊ตฌ๊ฐ„", "S4", "s"), ("E","A", "ํŒจ์…˜์™• ์‹ ํ˜œ๋นˆ", "S3", "s"), ("","B", "์ˆจ๋ฐ”๊ผญ์งˆ", "S1", "s"), ("","C", "ํ•˜...
https://github.com/RY997/Thesis
https://raw.githubusercontent.com/RY997/Thesis/main/proposal.typ
typst
MIT License
#import "proposal_template.typ": * #import "common/titlepage.typ": * #import "common/metadata.typ": * #titlepage( title: titleEnglish, titleGerman: titleGerman, degree: degree, program: program, supervisor: supervisor, advisors: advisors, author: author, startDate: startDate, submissionDate: submiss...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051_March%20of%20the%20Machine.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("March of the Machine", doc) #include "./051 - March of the Machine/001_Episode 1: Triumph of the Fleshless.typ" #include "./051 - March of the Machine/002_Episode 2: Holding Your Breath.typ" #include "./051 - March of the Machine/003_Episode 3: Mother, Son, and S...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/typst-orange.typ
typst
#import("my-outline.typ"): * #import("my-index.typ"): * #import("theorems.typ"): * #let mathcal = (it) => { set text(size: 1.3em, font: "OPTIOriginal", fallback: false) it h(0.1em) } #let normalText = 1em #let largeText = 3em #let hugeText = 16em #let title_main_1 = 2.5em #let title_main_2 = 1.8em #let title_ma...
https://github.com/SkiFire13/master-thesis
https://raw.githubusercontent.com/SkiFire13/master-thesis/master/chapters/3-algorithm.typ
typst
#import "../config/common.typ": * #import "@preview/cetz:0.2.2": canvas, draw = Symbolic local algorithm <section-algorithm> == Adapting the algorithm Our goal will be to adapt and improve the local strategy iteration algorithm to solve systems of fixpoint equations expressed as parity games using the symbolic formu...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/tauthesis.typ
typst
Apache License 2.0
/** tauthesis.typ * * This module defines the Tampere University thesis template structure. You * should not need to touch this file. Define your own commands in preamble.typ * instead. * ***/ #import "template/meta.typ" #import "template/content/abstract.typ" #import "template/content/tiivistelmรค.typ" //// Coun...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231208/meta.typ
typst
MIT License
#let data_incontro = "08-12-2023" #let inizio_incontro = "10:30" #let fine_incontro = "12:00" #let luogo_incontro = "Discord"
https://github.com/alperari/cyber-physical-systems
https://raw.githubusercontent.com/alperari/cyber-physical-systems/main/week12/solution.typ
typst
#import "@preview/diagraph:0.1.2": * #set text( size: 15pt, ) #set page( paper: "a4", margin: (x: 1.8cm, y: 1.5cm), ) #align(center, text(21pt)[ *Cyber Physical Systems - Discrete Models \ Exercise Sheet 12 Solution* ]) #grid( columns: (1fr, 1fr), align(center)[ <NAME> \ <EMAIL> ], align(c...
https://github.com/EunTilofy/Compiler2024
https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/hw/็ผ–่ฏ‘ๅŽŸ็†-Chapter3.typ
typst
#import "../template.typ": * #show: project.with( course: "็ผ–่ฏ‘ๅŽŸ็†", title: "Compilers Principals - Chapter3", date: "2024.3.07", authors: "<NAME>, 3210106357", has_cover: false ) // #show: rest => columns(2, rest) *Problems๏ผš3.6๏ผŒ3.9๏ผŒ3.13๏ผŒ3.14.* = Problem 3.6 #HWProb[ a. Calculate nullable, FIRST, and FOLLOW for...
https://github.com/EpicEricEE/typst-equate
https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/tests/number-mode/test.typ
typst
MIT License
#import "../../src/lib.typ": equate #set page(width: 6cm, height: auto, margin: 1em) #show: equate.with(number-mode: "label") // Test correct counter incrementation with number-mode "label". #set math.equation(numbering: "(1.1)") $ a + b #<label> $ $ c + d \ e + f #<label> \ g + h \ i + j #<label> $ $ k + l...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/.VSCodeCounter/2024-10-17_10-15-14/details.md
markdown
# Details Date : 2024-10-17 10:15:14 Directory /home/yhtq/ๅญฆไน /่ฏพ็จ‹ Total : 104 files, 39765 codes, 706 comments, 1463 blanks, all 41934 lines [Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) ## Files | filename | language | code | comment | blank | total | | :--- | :--- | -...
https://github.com/topdeoo/NENU-Thesis-Typst
https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/pages/toc-page.typ
typst
#import "@preview/outrageous:0.2.0" #import "../utils/format.typ": invisible-heading #import "../fonts/fonts.typ": font-family, font-size // ็›ฎๅฝ•็”Ÿๆˆ #let toc( two-side: false, fonts: (:), //! ๅ…ถไป–ๅ‚ๆ•ฐ depth: 3, title: "็›ฎ ๅฝ•", outlined: true, title-vspace: 0pt, title-text-args: auto, reference-font: auto, ...
https://github.com/songguokunsgg/HUNNU-Typst-Master-Thesis
https://raw.githubusercontent.com/songguokunsgg/HUNNU-Typst-Master-Thesis/master/hnu-thesis/utils/theorem.typ
typst
MIT License
#import "@preview/ctheorems:1.1.1": * #show: thmrules // ๆทปๅŠ ๅฎš็†็Žฏๅขƒ #set heading(numbering: "1.1.") #let theorem = thmbox("theorem", "ๅฎš็†", inset: (x: 1.2em, top: 1em)) #let corollary = thmplain( "corollary", "ๆŽจ่ฎบ", base: "theorem", titlefmt: strong ) #let definition = thmbox("definition", "ๅฎšไน‰", inset: (x...
https://github.com/jujimeizuo/ZJSU-typst-template
https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/contents/info.typ
typst
Apache License 2.0
// ไธญๆ–‡้ข˜็›ฎ #let zh_title = "ๆต™ๆฑŸๅทฅๅ•†ๅคงๅญฆๆฏ•ไธš่ฎพ่ฎก Typst ๆจกๆฟ" // ่‹ฑๆ–‡้ข˜็›ฎ #let en_title = "ZJGSU graduating thesis Typst Template" // ๅญฆ้™ข #let college = "่ฎก็ฎ—ๆœบ็ง‘ๅญฆไธŽๆŠ€ๆœฏๅญฆ้™ข" // ไธ“ไธš #let major = "่ฎก็ฎ—ๆœบ็ง‘ๅญฆไธŽๆŠ€ๆœฏ" // ๅญฆๅท #let student_id = "1912190000" // ๅญฆ็”Ÿๅง“ๅ #let student_name = "ๅผ ไธ‰" // ๆŒ‡ๅฏผ่€ๅธˆ #let college_advisor = "ๆŽๅ››" // ไผไธšๅฏผๅธˆ #let company_advisor = "็Ž‹ไบ”" // ...
https://github.com/aarneng/Outline-Summaryst
https://raw.githubusercontent.com/aarneng/Outline-Summaryst/main/examples/example.typ
typst
MIT License
#import "../src/outline-summaryst.typ": style-outline, make-heading #show outline: style-outline.with(outline-title: "Table of Contents") #outline() #make-heading("Part One", "This is the summary for part one") #lorem(500) #make-heading("Chapter One", "Summary for chapter one in part one", level: 2) #lorem(300) ...
https://github.com/linhduongtuan/BKHN-Thesis_template_typst
https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/template/body.typ
typst
Apache License 2.0
#import "font.typ": * #import "utils.typ": * #pagebreak() #counter(page).update(1) // Chapter counter, record formula hierarchy #let counter_chapter = counter("chapter") #let counter_equation = counter(math.equation) #let counter_image = counter(figure.where(kind: image)) #let counter_table = counter(figur...
https://github.com/Dav1com/minerva-report-fcfm
https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/docs/meta.typ
typst
MIT No Attribution
#import "../meta.typ": * #import "../minerva-report-fcfm.typ" as minerva #let titulo = "Informe Minerva" #let subtitulo = "Informes rรกpidos y fรกciles." #let tema = "v" + package-version #let url = "https://github.com/Dav1com/minerva-report-fcfm" #let departamento = minerva.departamentos.dcc #let curso = "" #let fech...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/draw/styling.typ
typst
Apache License 2.0
#import "/src/util.typ" /// Set current style /// /// - ..style (style): Style key-value pairs #let set-style(..style) = { assert.eq( style.pos().len(), 0, message: "set-style takes no positional arguments", ) (ctx => { ctx.style = util.merge-dictionary(ctx.style, style.named()) retur...
https://github.com/OverflowCat/astro-typst
https://raw.githubusercontent.com/OverflowCat/astro-typst/master/src/pages/simp.typ
typst
#set page(height: auto, margin: 1em, width: auto) haha 123 $oo RR$
https://github.com/Raunak12775/aloecius-aip
https://raw.githubusercontent.com/Raunak12775/aloecius-aip/main/template/main.typ
typst
#import "@preview/aloecius-aip:0.0.1": * #show: article.with( title: "Typst Template for Journal of Chemical Physics (Draft)", authors: ( "Author 1": author-meta( "GU", email: "<EMAIL>", ), "Author 2": author-meta( "GU", cofirst: false ), "Author 3": author-meta( "...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/type-compatibility.typ
typst
Apache License 2.0
// Test compatibility between types and strings. // Ref: false --- #test(type(10), int) #test(type(10), "integer") #test("is " + type(10), "is integer") #test(int in ("integer", "string"), true) #test(int in "integers or strings", true) #test(str in "integers or strings", true)
https://github.com/jomaway/typst-teacher-templates
https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-exam/lib/i18n.typ
typst
MIT License
#import "@preview/linguify:0.4.0": * // load linguify database file #let ling_db = toml("assets/lang.toml") #let ling(key) = linguify(key, from: ling_db)
https://github.com/choglost/LessElegantNote
https://raw.githubusercontent.com/choglost/LessElegantNote/main/layouts/preface.typ
typst
MIT License
// ๅ‰่จ€ #let preface( // documentclass ไผ ๅ…ฅ็š„ๅ‚ๆ•ฐ twoside: false, // ๅ…ถไป–ๅ‚ๆ•ฐ ..args, it, ) = { // ๅˆ†้กต // if (twoside) { // pagebreak() //+ " " // } set heading(numbering: "A.") it }
https://github.com/AugustinWinther/structured-uib
https://raw.githubusercontent.com/AugustinWinther/structured-uib/main/template/main.typ
typst
MIT License
// IMPORTS #import "@preview/structured-uib:0.1.0": * // TEMPLATE SETTINGS #show: report.with( task-no: "1", task-name: "Mรฅling og behandling av mรฅledata", authors: ( "<NAME>", "<NAME>", "<NAME>" ), mails: ( "<EMAIL>", "<EMAIL>", "<EMAIL>" ), group: "1-1", date: "29. Apr. 202...
https://github.com/SillyFreak/typst-stack-pointer
https://raw.githubusercontent.com/SillyFreak/typst-stack-pointer/main/tests/unit/test.typ
typst
MIT License
#import "/src/lib.typ" as stack-pointer // the output is not relevant for this test #set page(width: 0pt, height: 0pt) #let execution = { import stack-pointer: * // 1: int main() { // 2: int x = foo(); // 3: return 0; // 4: } // 5 // 6: int foo() { // 7: return 0; // 8: } execute({ let...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/ordered_list/ordered_list_mix_result.typ
typst
+ The climate - Precipitation - Temperature#underline[ ];#underline[factors] + degree - hot - cold - #strike[warm] + #strike[sun] + #strike[The];#underline[Something] #strike[geology];#underline[new] + #underline[Monkey]
https://github.com/An-314/Notes_of_Electrodynamics
https://raw.githubusercontent.com/An-314/Notes_of_Electrodynamics/master/chap1.typ
typst
#import"@preview/physica:0.9.2":* #import "template.typ": * #counter(heading).update(0) = ๆฆ‚่ฟฐ ็”ตๅŠจๅŠ›ๅญฆๆ˜ฏๅ…ณไบŽ็”ต็ฃๅœบ็š„ๅŸบๆœฌ็‰นๆ€งใ€่ฟๅŠจ่ง„ๅพ‹ไปฅๅŠ็”ต็ฃๅœบไธŽๅธฆ็”ต็‰ฉ่ดจไน‹้—ด็›ธไบ’ไฝœ็”จ็š„็†่ฎบใ€‚ #grid(columns: 2, rows: 20pt)[ๅœบ(feild)][ๅœบ่ฎบ][ๅŠฟ(potential)][่ง„่Œƒๅœบ] *็ปๅ…ธ็”ตๅŠจๅŠ›ๅญฆ็ฎ€ไป‹* 1. ็”ต็ฃๅญฆๅ’Œ็”ตๅŠจๅŠ›ๅญฆ็ฎ€ๅฒ 2. Maxwellไน‹ๅ‰็š„ๅฎšๅพ‹ 3. Maxwellๆ–น็จ‹ๅ’Œ่พน็•Œๆกไปถ 4. ๅฎ่ง‚ไป‹่ดจไธญ็š„Maxwellๆ–น็จ‹ 5. Helmholtzๆณขๆ–น็จ‹ๅ’Œ่‰ฒๆ•ฃ 6. ๅผ ้‡็ฌฆ...
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/pages/graduate-title-en.typ
typst
MIT License
#import "../utils/fonts.typ": ๅญ—ๅท, ๅญ—ไฝ“ #import "../utils/datetime-display.typ": datetime-display #import "../utils/twoside.typ": * #let graduate-title-en( info: (:), // ๅ…ถไป–ๅ‚ๆ•ฐ stroke-width: 0.5pt, row-gutter: 11.5pt, degree: "็ก•ๅฃซ", ) = { if type(info.submit-date) == datetime { info.submit-date = datetime-d...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/methods-01.typ
typst
Other
// Test mutating indexed value. #{ let matrix = (((1,), (2,)), ((3,), (4,))) matrix.at(1).at(0).push(5) test(matrix, (((1,), (2,)), ((3, 5), (4,)))) }
https://github.com/nicolasfara/plenaria-2024-06-commonwears
https://raw.githubusercontent.com/nicolasfara/plenaria-2024-06-commonwears/master/plenaria-2024-06-commonwears.typ
typst
Apache License 2.0
#import "@preview/polylux:0.3.1": * #import "@preview/fontawesome:0.1.0": * #import themes.metropolis: * #show: metropolis-theme.with( aspect-ratio: "16-9", footer: [Plenaria Commonwears 2024], ) #set text(font: "Inter", weight: "light", size: 20pt) #show math.equation: set text(font: "Fira Math") #set strong(de...
https://github.com/WalrusGumboot/Typst-documents
https://raw.githubusercontent.com/WalrusGumboot/Typst-documents/main/aca/subdir/lie-algebras.typ
typst
#import "../template.typ": * #show: doc.with( title: "Lie-algebra's", course: "Algebraรฏsche structuren" ) = Definitie Def. Zij $F$ een veld. Een _Lie-algebra_ $L$ is een vectorruimte samen met een bilineaire afbeelding, het Lie-haakje genaamd; $[dot, dot]: L times L -> L$, zodat de volgende uitspraken gelden:...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/container_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test box in paragraph. A #box[B \ C] D. // Test box with height. Spaced \ #box(height: 0.5cm) \ Apart
https://github.com/qujihan/toydb-book
https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter4/engine.typ
typst
#import "../../typst-book-template/book.typ": * #let path-prefix = figure-root-path + "src/pics/" == Engine === SQLๅผ•ๆ“Ž็š„EngineๆŽฅๅฃ #code("", "")[ ```rust ``` ] === ๆœฌๅœฐๅญ˜ๅ‚จ็š„SQLๅผ•ๆ“Ž #code("", "")[ ```rust ``` ] === ๅŸบไบŽRaft็š„ๅˆ†ๅธƒๅผSQLๅผ•ๆ“Ž #code("", "")[ ```rust ``` ] === Session #code("", "")[ ```rust ``` ] === ๆ€ป็ป“
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/045%20-%20Kamigawa%3A%20Neon%20Dynasty/003_Episode%202%3A%20Lies%2C%20Promises%2C%20and%20Neon%20Flames.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 2: Lies, Promises, and Neon Flames", set_name: "Kamigawa: Neon Dynasty", story_date: datetime(day: 24, month: 01, year: 2022), author: "<NAME>", doc ) Ten years had passed since Kaito left the walls of Eiganjo, but some habits were ...
https://github.com/PmaFynn/cv
https://raw.githubusercontent.com/PmaFynn/cv/master/src/content/en/skills.typ
typst
The Unlicense
#import "../../template.typ": * #cvSection("Technical Skills") /* #cvSkill( type: [Languages], tags: ("Python", "TypeScript", "React", "HTML + CSS") ) #divider() #cvSkill( type: [Technologies], tags: ("Unix", "Git", "PostgreSQL") ) */ #skill("SQL (PostgreSQL, Oracle)", 4) #skill("Rust, Python, Java, R", 3)...
https://github.com/Alignof/typst_template
https://raw.githubusercontent.com/Alignof/typst_template/master/style/article.typ
typst
MIT License
// This function gets your whole document as its `body` and formats // it as an article in the style of the IEEE. #let quote_block(body) = { block( width: 100%, fill: silver, inset: 8pt, body ) } #let terminal(body) = { block( width: 100%, fill: black, inset: 8pt, text(white, bod...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/multiline-05.typ
typst
Other
// Test multiline subscript. $ sum_(n in NN \ n <= 5) n = (5(5+1))/2 = 15 $
https://github.com/GermanHeim/Informe-Typst-Template
https://raw.githubusercontent.com/GermanHeim/Informe-Typst-Template/main/main.typ
typst
#import "template.typ": * #show: project.with( title: "Informe del Trabajo Practico Nยฐ 1", authors: ( "Frayssinet, <NAME>", "<NAME>", "Heim, <NAME>", ), // Insert your abstract after the colon, wrapped in brackets. // Example: `abstract: [This is my abstract...]` abstract: lorem(59), date: "Ag...
https://github.com/ChHecker/unify
https://raw.githubusercontent.com/ChHecker/unify/main/examples/example.typ
typst
MIT License
#import "../lib.typ": * #set text(lang:"en") Working with english characters: $ num("-1.32865+-0.50273e-6") $ $ qty("1.3+1.2-0.3e3", "erg/cm^2/s", space: "#h(2mm)") $ $ numrange("1,1238e-2", "3,0868e5", thousandsep: "'") $ $ qtyrange("1e3", "2e3", "meter per second squared", per: "/", delimiter: "\"to\"") $ #set tex...
https://github.com/Ttajika/auto-ref-numbery
https://raw.githubusercontent.com/Ttajika/auto-ref-numbery/main/readme.md
markdown
MIT License
# auto-ref-numbery A package for numbering equations only when they are referred to. ## Usage _This is not an official package._ 1. Download the package: Download and store folder "0.0.1" in {data-dir}/typst/packages/local/auto-ref-numbery {data-dir} is * $XDG_DATA_HOME or ~/.local/share on Linux ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/te-inscribed-triangle.typ
typst
// #let generate-key(name) = { let dirs = directions.map((alias, dir) => (alias, name + "." + dir)) let dirs = l2d(dirs) return ( label: name, dirs: dirs ) } #let foo(name, k-factor: 2) = { let key = generate-key(name) circle((0,0), name: key.label, radius: k-factor, fill: yellow.li...
https://github.com/flavio20002/typst-orange-template
https://raw.githubusercontent.com/flavio20002/typst-orange-template/main/lib.typ
typst
MIT No Attribution
#import("my-outline.typ"): * #import("my-index.typ"): * #import("theorems.typ"): * #let mathcal = (it) => { set text(size: 1.3em, font: "OPTIOriginal", fallback: false) it h(0.1em) } #let normal-text = 1em #let large-text = 3em #let huge-text = 16em #let title-main-1 = 2.5em #let title-main-2 = 1.8em #let title...
https://github.com/barrel111/readings
https://raw.githubusercontent.com/barrel111/readings/main/problems/external/1910SU/week5.typ
typst
#import "@local/preamble:0.1.0": * #import "@preview/cetz:0.2.2": canvas, plot, draw #show: project.with( course: "1910SU", sem: "Summer", title: "Group Discussion: L'Hรดpital's Rule", subtitle: "Solutions", contents: false, ) = Limits with Exponents. \ == Compute the limit $lim_(x -> oo) (1 + 2/x)^x $ Fi...
https://github.com/dyc3/senior-design
https://raw.githubusercontent.com/dyc3/senior-design/main/lib/requirements.typ
typst
#let necessity_box(necessity, bgcolor: rgb("#cecfcf")) = { box( fill: bgcolor, inset: (x: 2pt, y: 2pt), outset: (x: 2pt, y: 2pt), necessity ) } #let mustHave = necessity_box("Must Have", bgcolor: rgb("#ff6365")) #let shouldHave = necessity_box("Should Have", bgcolor: rgb("#ecff09")) #let couldHave = necessi...
https://github.com/desid-ms/desid_report
https://raw.githubusercontent.com/desid-ms/desid_report/main/_extensions/desid_report/definitions.typ
typst
MIT License
// Some definitions presupposed by pandoc's typst output. #let blockquote(body) = [ #set text( size: 0.8em ) #align(right, block(inset: (right: 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: 3...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DIP/chapters/5ๅ›พๅƒๅคๅŽŸ.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 Restoration #defi...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/paddling-tongji-thesis/0.1.1/init-files/sections/05_conclusion.typ
typst
Apache License 2.0
#import "@preview/paddling-tongji-thesis:0.1.1": * = ๆ€ป็ป“ไธŽๆœชๆฅๅทฅไฝœๅฑ•ๆœ› ๆœฌ่Š‚้€šๅธธ็”จไบŽๅฏน่ฎบๆ–‡่ฟ›่กŒๆ€ป็ป“ๅ’Œๅฝ’็บณ๏ผŒๅนถๆๅ‡บๆœชๆฅๅทฅไฝœ็š„ๅฑ•ๆœ›ๅ’Œๅปบ่ฎฎใ€‚ ๅœจๆ€ป็ป“้ƒจๅˆ†๏ผŒ้œ€่ฆๅ›ž้กพ็ ”็ฉถๅ†…ๅฎนๅ’Œๆ–นๆณ•๏ผŒๅฏน็ ”็ฉถ็ป“ๆžœ่ฟ›่กŒๅˆ†ๆžๅ’Œๅฝ’็บณ๏ผŒๅนถ้˜่ฟฐ็ ”็ฉถๅทฅไฝœ็š„่ดก็Œฎใ€‚ๅŒๆ—ถ๏ผŒไนŸ่ฆๅฏน็ ”็ฉถ่ฟ‡็จ‹ไธญๅญ˜ๅœจ็š„้—ฎ้ข˜ๅ’Œไธ่ถณ่ฟ›่กŒๅๆ€ๅ’Œๆ€ป็ป“๏ผŒไธบๆœชๆฅ็š„็ ”็ฉถๆไพ›ๅ‚่€ƒๅ’Œๅฏ็คบใ€‚ ๅœจๆœชๆฅๅทฅไฝœๅฑ•ๆœ›้ƒจๅˆ†๏ผŒ้œ€่ฆๅ…ทไฝ“ๆๅ‡บ็ ”็ฉถ่ฎกๅˆ’ๅ’Œๅปบ่ฎฎ๏ผŒไธบๅŽ็ปญ็ ”็ฉถๆไพ›ๆ–นๅ‘ๅ’ŒๆŒ‡ๅฏผใ€‚ๅŒๆ—ถ๏ผŒไนŸ่ฆๅฏนๆœฌๆ–‡ๆๅ‡บ็š„ๆ–นๆณ•ๅ’ŒๆŠ€ๆœฏ่ฟ›่กŒๅฑ•ๆœ›๏ผŒๆŽข็ดขๅ…ถๅœจๆœชๆฅ็ ”็ฉถไธญ็š„ๅบ”็”จๅ‰ๆ™ฏๅ’Œๅ‘ๅฑ•ๆ–นๅ‘ใ€‚ๆญคๅค–๏ผŒ่ฟ˜ๅฏไปฅๆŒ‡ๅ‡บๅฝ“ๅ‰้ข†ๅŸŸไธญๅญ˜ๅœจ็š„ๆœช่งฃๅ†ณ้—ฎ้ข˜๏ผŒไธบๆœชๆฅ็ ”็ฉถๆไพ›ๆ–ฐ็š„็ ”็ฉถๆ€่ทฏๅ’Œๆ–นๅ‘ใ€‚ ๆญคๅค–๏ผŒๆœชๆฅๅทฅไฝœๅฑ•ๆœ›ไธญ่ฟ˜ๅฏไปฅๅฏนๆœฌๆ–‡็ ”็ฉถ...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-02-22/24-02-22.typ
typst
#import "/template.typ": * #show: project.with( date: "22/02/24", subTitle: "Meeting post colloquio con Proponente", docType: "verbale", authors: ( "<NAME>", ), timeStart: "16:10", timeEnd: "16:25", ); = Ordine del giorno A seguito dell'incontro con il Proponente, il gruppo ha svolto un meeting int...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/context.typ
typst
Apache License 2.0
#context 1{} #context 1;{} #context {}{} #context [][] #context { here().page() }{} #context [Citation @distress on page #here().page()]{}
https://github.com/heinwol/master-thesis
https://raw.githubusercontent.com/heinwol/master-thesis/main/typst/template_to_export.typ
typst
#let theorem(cnt) = [*ะขะตะพั€ะตะผะฐ:* #cnt] #let proposition(cnt) = [*ะŸั€ะตะดะปะพะถะตะฝะธะต:* #cnt] #let proof(cnt) = [*ะ”ะพะบะฐะทะฐั‚ะตะปัŒัั‚ะฒะพ:* #cnt] #let definition(cnt) = [*ะžะฟั€ะตะดะตะปะตะฝะธะต:* #cnt] #let lemma(cnt) = [*ะ›ะตะผะผะฐ:* #cnt] #let corollary(cnt) = [*ะกะปะตะดัั‚ะฒะธะต:* #cnt] #let remark(cnt) = [*ะ—ะฐะผะตั‡ะฐะฝะธะต:* #cnt] #let thmrules(it) = it #let cod...
https://github.com/Zuttergutao/Typstdocs-Zh-CN-
https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/Classified/main.typ
typst
#import "format.typ":* // ่ฎพ็ฝฎ้กต้ข #set page( paper:"a4", margin: ( top:27.5mm, bottom:25.4mm, left:35.7mm, right:27.7mm ), header:[ #set text(10pt) #h(1fr) #emph("Typst ไธญๆ–‡ๆ–‡ๆกฃ translated by Casea") #v(-0.8em) #line(lengt...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/tuple_map.typ
typst
Apache License 2.0
#let a = (1,); #let f = x => str(x); #let b = a.map(f);
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/thesist/0.1.0/template/Chapters/Appendix-A.typ
typst
Apache License 2.0
#import "@preview/thesist:0.1.0": flex-caption, subfigure-grid #import "@preview/glossarium:0.4.1": gls, glspl = An appendix #lorem(500)
https://github.com/ufodauge/master_thesis
https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/common/page.typ
typst
MIT License
#let pbWithOutFirst = state("first-page-rendered", none) #let Page( body ) = [ #pbWithOutFirst.display() #pbWithOutFirst.update(x => pagebreak()) #body ]
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Interi/Basi.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * #theorem("Esistenza ed unicitรก della rappresentazione dei numeri interi in una certa base")[ Sia $b$ un intero maggiore o uguale a 2. Ogni numero intero $n$ non negativo puรฒ essere scritto in uno ed un solo modo nella forma: $ n = d_(k) b^(k) + d_(k โˆ’ 1) b^(k โˆ’ 1) + ... + d_(1) b + ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum-align_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Alignment shouldn't affect number #set align(horizon) + ABCDEF\ GHIJKL\ MNOPQR + INNER\ INNER\ INNER + BACK\ HERE
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/src/dragon.typ
typst
MIT License
//============================================================================== // The dragon curve // // Public functions: // dragon-curve //============================================================================== #import "util.typ": gen-svg //-------------------------------------------------...
https://github.com/Amelia-Mowers/typst-tabut
https://raw.githubusercontent.com/Amelia-Mowers/typst-tabut/main/doc/example-snippets/combine.typ
typst
MIT License
#import "@preview/tabut:<<VERSION>>": tabut #let employees = ( (id: 3251, first: "Alice", last: "Smith", middle: "Jane"), (id: 4872, first: "Carlos", last: "Garcia", middle: "Luis"), (id: 5639, first: "Evelyn", last: "Chen", middle: "Ming") ); #tabut( employees, ( (header: [*ID*], func: r => r.id...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.8.0/lib/clues.typ
typst
Apache License 2.0
// gentle-clues #import "@preview/linguify:0.4.0": * // Helper #let if-auto-then(val,ret) = { if (val == auto){ ret } else { val } } // Global states #let __gc_clues_breakable = state("breakable", false) #let __gc_clues_headless = state("headless", false) #let __gc_clue_width = state("clue-width", aut...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types/number.typ
typst
Apache License 2.0
#import "../base-type.typ": base-type, assert-base-type #import "../context.typ": context /// Valkyrie schema generator for integer- and floating-point numbers /// /// - name (internal): /// - default (integer, float, none): Default value to set if none is provided. *MUST* respect all other validation requirements. //...
https://github.com/elteammate/typst-shell-escape
https://raw.githubusercontent.com/elteammate/typst-shell-escape/main/shell-escape.typ
typst
#let hex-digits = "0123456789abcdef" #let hex(x) = { hex-digits.at(int(x / 16)) hex-digits.at(calc.rem(x, 16)) } #let ascii-table = { let result = (:) for (i, c) in range(128) .map(c => eval("[\u{" + hex(c) + "}]").text) .enumerate() { result.insert(c, i) } result } #let encode-int(x) =...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/027.%20gap.html.typ
typst
gap.html Mind the Gap May 2004When people care enough about something to do it well, those who do it best tend to be far better than everyone else. There's a huge gap between Leonardo and second-rate contemporaries like Borgognone. You see the same gap between <NAME> and the average writer of detective novels. A to...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/diy/quiz.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9", fill: teal.lighten(90%)) #set text(size: 25pt, font: "Blogger Sans") #polylux-slide[ #set align(horizon + center) = My fabulous talk <NAME> Conference on Advances in Slide Making ] #polylux-slide[ == My slide title Hello, world! ] ...
https://github.com/jneug/typst-codelst
https://raw.githubusercontent.com/jneug/typst-codelst/main/docs/manual.typ
typst
MIT License
#import "@local/mantys:0.1.1": * #import "../src/codelst.typ" #show: mantys.with( name: "codelst", title: "The codelst Package", subtitle: [A *Typst* package to render source code], authors: "<NAME>", url: "https://github.com/jneug/typst-codelst", version: "2.0.2", date: "2023-07-19", abstract: [ ...
https://github.com/astrale-sharp/typstfmt
https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/CHANGELOG.md
markdown
Apache License 2.0
# Latest # Release 0.2.7 - String literal preserved in math mode @monaqa - fix indent problems with raw code (hacky) - global config: renamed `default-config` to `typstfmt` @Andrew Voynov - improves max_len checking (first line of node still doesn't respect it) - Implement Math Block Align @taooceros # Release 0.2.6...
https://github.com/AHaliq/CategoryTheoryReport
https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/preamble/catt.typ
typst
#import "@preview/xarrow:0.3.0": xarrow #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #let Ob(category) = $attach(br: category, upright(bold("Ob")))$ #let Hom(category, s: none, t: none) = ( $attach(br: category, upright(bold("Hom")))#if s != none and t != none { $(#s,#t)$ }$ ) #let arr(f, a, b)...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/drill_press_wood.typ
typst
#import "../environment/env-protohaven-class_handouts.typ": * = Drill Press (Wood) == Usage Notes === Safety - Keep hands three inches from the moving drill bit - Always clamp to table - Long stock should be braced securely === Care - Do not use excessive force - Never leave the chuck key in the chuck - Submit ...
https://github.com/SergeyGorchakov/russian-phd-thesis-template-typst
https://raw.githubusercontent.com/SergeyGorchakov/russian-phd-thesis-template-typst/main/common/glossary.typ
typst
MIT License
#let glossary-entries = {( ( key: "typst", short: "Typst", desc: "ะะพะฒะฐั ัะธัั‚ะตะผะฐ ะฝะฐะฑะพั€ะฐ ั‚ะตะบัั‚ะฐ ะฝะฐ ะพัะฝะพะฒะต ั€ะฐะทะผะตั‚ะบะธ ะดะปั ะฝะฐัƒะบะธ.", ), )}
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/complessitร /23_situazione_finale.typ
typst
#import "../alias.typ": * = Situazione finale Dopo tutto ciรฒ che รจ stato visto in queste dispense, ecco un'illustrazione che mostra qual รจ la situazione attuale per quanto riguarda la classificazione di problemi. #v(12pt) #figure( image("assets/situazione-finale.svg", width: 100%) ) #v(12pt) _NC_ รจ la classe d...
https://github.com/denizenging/site
https://raw.githubusercontent.com/denizenging/site/master/page/works/index.en.typ
typst
#import "@local/pub-page:0.0.0": * #show: template( title: "Works", description: "My publications, given speechs, and more!", menu: (3, "certificate"), ) You can find my ORCID iD under my profile picture on the left if you're on a comptuer or at the top if you're on mobile. Alternatively, you can visit #link("/pag...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/r11.typ
typst
MIT License
#import "@local/evan:1.0.0":* #show: evan.with( title: [Notes for 18.02 Recitation 11], subtitle: [18.02 Recitation MW9], author: "<NAME>", date: [9 October 2024], ) #quote(attribution: [Randall Munroe in XKCD 1073: Weekend])[ We all hate Mondays. We're all working for the weekend. But our chains exis...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-30.typ
typst
Other
// Error: 2-22 cannot join boolean with boolean #(true, false).join()
https://github.com/smorad/um_cisc_7026
https://raw.githubusercontent.com/smorad/um_cisc_7026/main/conv_renders.typ
typst
#import "@preview/cetz:0.2.2" #import "@preview/cetz:0.2.2": canvas, draw, plot #let stonks = { set text(size: 25pt) canvas(length: 1cm, { plot.plot(size: (8, 6), x-tick-step: 2, y-tick-step: 20, y-min: 0, y-max: 100, x-label: $ t $, y-label: $ x(t) $, { plot.add( d...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/call.typ
typst
// Test math function call edge cases. // Note: 2d argument calls are tested for matrices in `mat.typ` --- math-call-non-func --- $ pi(a) $ $ pi(a,) $ $ pi(a,b) $ $ pi(a,b,) $ --- math-call-repr --- #let args(..body) = body #let check(it, r) = test-repr(it.body.text, r) #check($args(a)$, "([a])") #check($args(a,)$, ...
https://github.com/Otto-AA/dashy-todo
https://raw.githubusercontent.com/Otto-AA/dashy-todo/main/lib/side-margin.typ
typst
MIT No Attribution
#let rel-to-abs = (rel, size) => rel.length + rel.ratio * size // must run within a context #let calc-side-margin(side) = { // https://typst.app/docs/reference/layout/page/#parameters-margin let auto-margin = calc.min(page.width, page.height) * 2.5 / 21 if page.margin == auto { auto-margin } else if type(...
https://github.com/deadManAlive/ui-thesis-typst-template
https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/primer/publ.typ
typst
#import "../config.typ": cfg #let publ = [ = Halaman Pernyataan Persetujuan Publikasi Tugas Akhir Untuk Kepentingan Akademis Sebagai sivitas akademika Universitas Indonesia, saya yang bertanda tangan di bawah ini: #table( columns: 3, stroke: none, [Nama], [:], [#cfg.name], [NPM], [:], [#cfg.npm...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Math/mat.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("34.png") = ๅ‚ๆ•ฐ #image("35.png") = ๅˆ†้š”็ฌฆ ่ฆไฝฟ็”จ็š„ๅˆ†้š”็ฌฆใ€‚ #image("36.p...
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/Mage%20Conversion.typ
typst
#import "templates/cover.typ": front_cover, temp_cover, back_cover #import "templates/interior_template.typ": * #set document(title: "Mage: the Ascension Cortex", author: "Rhinemann"); #front_cover #include "chapters/Credits.typ" #include "chapters/Outline.typ" #include "chapters/Intro.typ" #include "chapters/Game...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/components/thmbox.typ
typst
#import "@preview/ctheorems:1.1.2": * // simil tail box with custom title #let custom-box = thmbox( "id", // identifier - same as that of theorem "Title", // head inset: (x: 1.2em, top: 1em, bottom: 1em), fill: rgb("#87c1c8"), ).with(numbering:none) // quite red box with custom title #let alert-box = thmbox( ...
https://github.com/akagiyuu/math-document
https://raw.githubusercontent.com/akagiyuu/math-document/main/integral/\frac{1}{1+sin(x)^4}.typ
typst
$ integral_0^(pi/2) 1/(1 + sin(x)^4) dif x &= integral_0^(pi/2) (1/cos(x)^4)/(1/cos(x)^4 + tan(x)^4) dif x \ &arrow.long^(t=tan(x)) integral_0^(+infinity) (t^2 + 1)/((t^2 + 1)^2+ t^4) dif t \ &= integral_0^(+infinity) (t^2 + 1)/(2t^4 + 2t^2 + 1) dif t \ &= integral_0^(+infinity) (1 + t^(-2))/(2t^2 + 2...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/math/equation-flavor.typ
typst
Apache License 2.0
$ F(x) = integral_0^x f(t) dif t $ $ F(x) = integral_0^x f(t) dif t $
https://github.com/Mc-Zen/zero
https://raw.githubusercontent.com/Mc-Zen/zero/main/README.md
markdown
MIT License
# $Z\cdot e^{ro}$ _Advanced scientific number formatting._ [![Typst Package](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FMc-Zen%2Fzero%2Fmain%2Ftypst.toml&query=%24.package.version&prefix=v&logo=typst&label=package&color=239DAD)](https://typst.app/universe/package/zero) [...
https://github.com/ivaquero/lang-romanic
https://raw.githubusercontent.com/ivaquero/lang-romanic/main/fr-4-time+verb.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "ๆ—ถ้—ดไธŽๅŠจ่ฏ", author: ("github@ivaquero"), footer-cap: "github@ivaquero", header-cap: "้Ÿณ้€Ÿๆณ•่ฏญ", outline-on: false, doc, ) = ๆ—ถ้—ด == ไธ€ๅคฉ #let data = csv("fr/fr-date-day.csv") #figure( ktable(data, 2), caption: "", supplement: [่กจ], kind: table, ) ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/delimited_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test automatic matching. #set page(width:122pt) $ (a) + {b/2} + abs(a)/2 + (b) $ $f(x/2) < zeta(c^2 + abs(a + b/2))$
https://github.com/FkHiroki/ex-E5
https://raw.githubusercontent.com/FkHiroki/ex-E5/main/sections/preparation.typ
typst
MIT No Attribution
// ใ‚ฟใ‚คใƒˆใƒซ #align(center, text(18pt, "E5 ใƒขใƒณใƒ†ใ‚ซใƒซใƒญใ‚ทใƒŸใƒฅใƒฌใƒผใ‚ทใƒงใƒณ ไบˆ็ฟ’่ชฒ้กŒ")) \ #align(right, text(12pt, "62217149 ็ฆๅŽŸๅšๆจน")) = 1. result.txt ใฎๅ†…ๅฎน \ #import "@preview/codelst:2.0.0": sourcecode #sourcecode( frame: block.with( stroke: 1pt + gray, inset: (x: 10pt, y: 5pt), radius: 5pt, fill: luma(96%) ) )[ #raw(read(...