repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/037.%20start.html.typ
typst
start.html How to Start a Startup Want to start a startup? Get funded by Y Combinator. March 2005(This essay is derived from a talk at the Harvard Computer Society.)You need three things to create a successful startup: to start with good people, to make something customers actually want, and to spend as little ...
https://github.com/ClassicConor/UoKCSYear1ExamNotes2024
https://raw.githubusercontent.com/ClassicConor/UoKCSYear1ExamNotes2024/master/HCI%20(With%20Exam%20Answers)/HCI%202021%20Paper/HCI%202021%20Answers.typ
typst
= HCI Exam 2021 - Answers to the questions <hci-exam-2021---answers-to-the-questions> == Question 1 <question-1> Heuristic Evaluation (HE) is a useful method to evaluate a computer interface. It has a standard report format and 10 Heuristics rules. Suppose you want to develop a mobile app for online Burger ordering and...
https://github.com/dockage/typst
https://raw.githubusercontent.com/dockage/typst/main/README.md
markdown
Apache License 2.0
# typst Docker for Typst
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/104.%20hackernews.html.typ
typst
hackernews.html What I've Learned from Hacker News February 2009Hacker News was two years old last week. Initially it was supposed to be a side project—an application to sharpen Arc on, and a place for current and future Y Combinator founders to exchange news. It's grown bigger and taken up more time than I expected...
https://github.com/xdoardo/co-thesis
https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/delay/index.typ
typst
= The delay monad<chapter-partiality_monad> In this chapter we introduce the concept of monad and then describe a particular kind of monad, the _delay monad_, which will be used troughout the work. #include "./monads.typ" //#include "./implementation.typ"
https://github.com/adamDilger/resume
https://raw.githubusercontent.com/adamDilger/resume/master/README.md
markdown
# <NAME> Resume ### Building `typst compile resume.typ`
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/feebf7-2023_fall_TA/extension.typ
typst
#import "utils.typ": * = 扩展内容 #text(fill: blue)[标蓝]_的内容选读,无需掌握_ #include "extensions/peano.typ" #include "extensions/qq.countable.typ"
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/ea2724-ai_hw/hw6.typ
typst
#import "@preview/cetz:0.2.2": * == HW6 Due 2024.04.28 #let ans(it) = [ #pad(1em)[ #text(fill: blue)[ #it ] ] ] === Question 8.13 解释下面给出的 Wumpus 世界中相邻方格的定义存在什么问题: $ forall x,y "Adjacent"([x,y], [x+1,y]) and "Adjacent"([x,y], [x,y+1]) $ #ans[ 这个定义没有考虑到边界情况, 即当 $x = 4$ 或 $y = 4$ 时, $[x+1,y]$ 或 ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1DF00.typ
typst
Apache License 2.0
#let data = ( ("LATIN SMALL LETTER FENG DIGRAPH WITH TRILL", "Ll", 0), ("LATIN SMALL LETTER REVERSED SCRIPT G", "Ll", 0), ("LATIN LETTER SMALL CAPITAL TURNED G", "Ll", 0), ("LATIN SMALL LETTER REVERSED K", "Ll", 0), ("LATIN LETTER SMALL CAPITAL L WITH BELT", "Ll", 0), ("LATIN SMALL LETTER LEZH WITH RETROFLE...
https://github.com/JeyRunner/tuda-typst-templates
https://raw.githubusercontent.com/JeyRunner/tuda-typst-templates/main/templates/tudapub/common/format.typ
typst
MIT License
#let format-date(date, language) = { let date_cont = date.display("[month repr:long] [day], [year]") if (language == "ger") { date_cont = date.display("[day].[month repr:numerical].[year]") } return date_cont }
https://github.com/HernandoR/lz-brilliant-cv
https://raw.githubusercontent.com/HernandoR/lz-brilliant-cv/main/modules/certificates.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Honers and Certificates") #cvHonor(..languageSwitch(( "en":( date: [2023.03], title: [Problem Solving Certificate], issuer: [HackerRank] ), "zh":( date: [2023.03], title: [HackerRank Problem Solving 认证], issuer: [HackerRank] ) ))) ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p1_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test associativity and scaling. $ 1/(V^2^3^4^5), frac( attach( limits(V), br: attach(2, br: 3), b: attach(limits(2), b: 3)), attach( limits(V), tl: attach(2, tl: 3), t: attach(limits(2), t: 3))), attach(Omega, tl: att...
https://github.com/Quantco/pre-commit-mirrors-typstfmt
https://raw.githubusercontent.com/Quantco/pre-commit-mirrors-typstfmt/main/README.md
markdown
BSD 3-Clause "New" or "Revised" License
# typstfmt pre-commit hook pre-commit hook of typstfmt with conda as a `language` / package manager. For pre-commit: see [here](https://github.com/pre-commit/pre-commit) For typstfmt: see [here](https://github.com/astrale-sharp/typstfmt) ## Using typstfmt with pre-commit and conda: Add this to your `.pre-commit-co...
https://github.com/jamesrswift/dining-table
https://raw.githubusercontent.com/jamesrswift/dining-table/main/README.md
markdown
The Unlicense
# The `dining-table` Package <div align="center">Version 0.1.1</div> Implements a layer on top of table to allow the user to define a table by column rather than by row, to automatically handle headers and footers, to implement table footnotes, to handle nested column quirks for you, to handle rendering nested data st...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10350.typ
typst
Apache License 2.0
#let data = ( ("OLD PERMIC LETTER AN", "Lo", 0), ("OLD PERMIC LETTER BUR", "Lo", 0), ("OLD PERMIC LETTER GAI", "Lo", 0), ("OLD PERMIC LETTER DOI", "Lo", 0), ("OLD PERMIC LETTER E", "Lo", 0), ("OLD PERMIC LETTER ZHOI", "Lo", 0), ("OLD PERMIC LETTER DZHOI", "Lo", 0), ("OLD PERMIC LETTER ZATA", "Lo", 0), ...
https://github.com/3w36zj6/typst-template
https://raw.githubusercontent.com/3w36zj6/typst-template/main/README.md
markdown
# typst-template ## Requirements ### Typst https://github.com/typst/typst ```sh cargo install --git https://github.com/typst/typst --locked typst-cli --tag v0.11.0 ``` ### typstyle https://github.com/Enter-tainer/typstyle ```sh cargo install typstyle ``` ### Tinymist https://github.com/Myriad-Dreamin/tinymist ...
https://github.com/George-Miao/typst-common
https://raw.githubusercontent.com/George-Miao/typst-common/main/0.2.0/src/math.typ
typst
MIT License
/* Util Functions */ #let pmod(e) = [ $(mod #e)$ ] // (P)arenthesis (Mod)ulo #let con(l, r, p, inline: false) = { // Congruence if inline { $#l ident #r #pmod(p)$ } else { $#l ident #r #h(.5em) #pmod(p)$ } } // A tuple surrounded by angle brackets #let tup(..body) = { let b = body.pos().join([, #h(3p...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/codly/0.1.0/example/main.typ
typst
Apache License 2.0
#import "../codly.typ": * #show: codly-init.with() #let icon(codepoint) = { box( height: 0.8em, baseline: 0.05em, image(codepoint) ) h(0.1em) } #codly(languages: ( rust: (name: "Rust", icon: icon("brand-python.svg"), color: rgb("#CE412B")), python: (name: "Python", icon: icon("brand-rust.svg"),...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-14400.typ
typst
Apache License 2.0
#let data = ( ("ANATOLIAN HIEROGLYPH A001", "Lo", 0), ("ANATOLIAN HIEROGLYPH A002", "Lo", 0), ("ANATOLIAN HIEROGLYPH A003", "Lo", 0), ("ANATOLIAN HIEROGLYPH A004", "Lo", 0), ("ANATOLIAN HIEROGLYPH A005", "Lo", 0), ("ANATOLIAN HIEROGLYPH A006", "Lo", 0), ("ANATOLIAN HIEROGLYPH A007", "Lo", 0), ("ANATOLIA...
https://github.com/GuTaoZi/SUSTech-thesis-typst
https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/utils/datetime_display.typ
typst
MIT License
#let datetime_display_zh(date) = { date.display("[year] 年 [month] 月 [day] 日") } #let datetime_display_en(date) = { date.display("[month repr:short] [day], [year]") }
https://github.com/metamuffin/typst
https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/layout/clip.typ
typst
Apache License 2.0
// Test clipping with the `box` and `block` containers. --- // Test box clipping with a rectangle Hello #box(width: 1em, height: 1em, clip: false)[#rect(width: 3em, height: 3em, fill: red)] world 1 Space Hello #box(width: 1em, height: 1em, clip: true)[#rect(width: 3em, height: 3em, fill: red)] world 2 --- // Test ...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/cns/notes.typ
typst
#import "@local/unipd-doc:0.0.1": * #show: notes() #show: unipd-doc( title: [Advanced Topics in Computer Network and Security], subtitle: [Notes], author: [<NAME>], date: [I Semester A.Y. 2023-2024], ) = Presentation == Phases - Part 1: group presentation (3 people) on topic. Questions to other gro...
https://github.com/An-314/Notes-of-Fundamentals_of_Electronics
https://raw.githubusercontent.com/An-314/Notes-of-Fundamentals_of_Electronics/main/chap3.typ
typst
#import "@local/mytemplate:1.0.0": * #import "@preview/physica:0.9.2": * = 门电路 数字电路的元件: #grid( columns: (1fr, 1fr, 1fr), [*结构* - 分层设计 - 每个层次的复杂性有限 - 可重复使用的构件], [ *接口* - 系统工程的关键要素 - 隔离技术,允许演进 - 主要抽象机制 ], [ *什么是好的系统设计?* - 最小的机制,最大的功能 - 在各种环境下都可靠 - 适应未来的技术改进 ] ) *获得高、低电平的基本...
https://github.com/rose-pine/typst
https://raw.githubusercontent.com/rose-pine/typst/main/src/themes/rose-pine-dawn.typ
typst
MIT License
#let rose-pine-dawn = ( base : rgb("#faf4ed"), surface : rgb("#fffaf3"), overlay : rgb("#f2e9e1"), muted : rgb("#9893a5"), subtle : rgb("#797593"), text : rgb("#575279"), love : rgb("#b4637a"), gold : rgb("#ea9d34"), rose : rgb("#d7827e"), pine : rgb("#286983...
https://github.com/Mouwrice/thesis-typst
https://raw.githubusercontent.com/Mouwrice/thesis-typst/main/drum_application.typ
typst
#import "lib.typ": * = The Air Drumming Application (DrumPy) <drum-application> The Air Drumming application is a demo application that showcases the use of on-device body pose estimation. #footnote[ DrumPy is the official application name, referring to the main technology, Python, with which it is made. ] The app...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-04.typ
typst
Other
// Test set and show in code blocks. #show heading: it => { set text(red) show "ding": [🛎] it.body } = Heading
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/build-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: "Build: Scoring Triballs", type: "build", date: datetime(year: 2023, month: 9, day: 9), author: "<NAME>", witness: "Violet Ridge", ) #grid( columns: (1fr, 1fr), gut...
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/tests/test-koch-snowflake.typ
typst
MIT License
#set document(date: none) #import "/src/lib.typ": * #set page(margin: 1cm) = n = 1 #align(center)[ #koch-snowflake(1, step-size: 40) ] = n = 2 #align(center)[ #koch-snowflake(2, step-size: 20, fill-style: gray, stroke-style: none) ] = n = 3 #align(center)[ #koch-snowflake(3, step-...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z083.typ
typst
Aké milé sú tvoje príbytky, Pane zástupov; \* túži a zmiera moja duša po nádvoriach Pánových. Moje srdce i moje telo \* vznášajú sa k Bohu živému. Veď aj vrabec si nájde príbytok \* a lastovička hniezdo, kde vkladá svoje mláďatá: tvoje oltáre, Pane zástupov, \* môj kráľ a môj Boh. Blažení tí, čo bývajú v tvojom dom...
https://github.com/jneug/typst-typopts
https://raw.githubusercontent.com/jneug/typst-typopts/main/states.typ
typst
MIT License
/********************************\ | Some convenience functions | | for handling states | \********************************/ // identity function #let ident(e) = { return e } /** * Creates a new state with an initial value. * * The initial value can't be `none`. * * - name (str): name of the sta...
https://github.com/jultty/hello-typst
https://raw.githubusercontent.com/jultty/hello-typst/main/hello.typ
typst
#set document( title: "Hello Typst", author: "<NAME>", date: auto, keywords: ("typst", "typesetting"), ) #set page(paper: "a6", margin: (x: 0.8cm, y: 1cm), fill: rgb("#fffddf")) #set text(font: "", size: 10pt, lang: "en", fill: rgb("#222222")) #set heading(numbering: "1.") #set par(justify: true, leading: 0.7...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/src/quantum-circuit.typ
typst
MIT License
#import "utility.typ" #import "verifications.typ" #import "length-helpers.typ" #import "decorations.typ": * #let signum(x) = if x >= 0. { 1. } else { -1. } /// Create a quantum circuit diagram. Children may be /// - gates created by one of the many gate commands (@@gate(), /// @@mqgate(), @@meter(), ...), /// - ...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/algorithms/convex-hull.typ
typst
#let cross_product(o, a, b) = { return (a.at(0) - o.at(0)) * (b.at(1) - o.at(1)) - (a.at(1) - o.at(1)) * (b.at(0) - o.at(0)) } #let convex-hull(points) = { // Helper function to calculate cross product // Sort points lexicographically let sorted_points = points.sorted() let n = sorted_points.len() if n ...
https://github.com/ntjess/typst-nsf-templates
https://raw.githubusercontent.com/ntjess/typst-nsf-templates/main/main-nsf-pitch.typ
typst
MIT License
#import "nsf-proposal.typ": * #show: template #title[NSF SBIR Phase I Pitch] = Technology Innovation #instructions[ (Up to 500 words) Describe the technical innovation that would be the focus of a Phase I project, including a brief discussion of the origins of the innovation as well as explanation as to why it m...
https://github.com/UntimelyCreation/typst-neat-cv
https://raw.githubusercontent.com/UntimelyCreation/typst-neat-cv/main/src/metadata.typ
typst
MIT License
/* Personal information */ #let firstName = "John" #let lastName = "Doe" #let personalInfo = ( phone: "+33 1 23 45 67 89", email: "<EMAIL>", github: "JohnDoe42", homepage: "mywebsite.xyz", location: "France", //extraInfo: "", ) #let headerQuoteInternational = ( "": [Senior Software Enginee...
https://github.com/MultisampledNight/flow
https://raw.githubusercontent.com/MultisampledNight/flow/main/src/gfx/render.typ
typst
MIT License
// Actual implementations of individual rendered icons. #import "util.typ": * #import "draw.typ": * #let empty( // argument is simply ignored // since it is always just a shallow outline invert: true, ..args, ) = icon( invert: true, key: "empty", ..args, () => { rect((-0.125, -0.125), (1.125, 1.125), ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/bibliography-04.typ
typst
Other
#set page(width: 200pt) #set heading(numbering: "1.") #show bibliography: set heading(numbering: "1.") = Multiple Bibs Now we have multiple bibliographies containing #cite(<glacier-melt>)#cite(<keshav2007read>) #bibliography(("/works.bib", "/works_too.bib"))
https://github.com/mst2k/HSOS-PTP-Typst-Template
https://raw.githubusercontent.com/mst2k/HSOS-PTP-Typst-Template/main/templates/template.typ
typst
#import "acronyms.typ": print-index, init-acronyms #import "eidesstattliche_erklaerung.typ": * #let buildMainHeader(mainHeadingContent, authorName) = { [ #set block(above: 1em, below: 1em) #grid( columns: 3, gutter: 1fr, align(bottom, smallcaps(mainHeadingContent)), align(bottom, imag...
https://github.com/royfrancis/quarto-typst-certificate
https://raw.githubusercontent.com/royfrancis/quarto-typst-certificate/main/_extensions/nbis-certificate/typst-template.typ
typst
#set text(font: "Lato", fill: rgb("#444444")) #set par(leading: 0.7em) #set block(spacing: 1.4em) #let nbis-certificate( title: none, date: none, headnotes-1: none, headnotes-2: none, gap: 72pt, participant: none, bg-image: none, logo-image: none, sign-image: none, sign-height: 15mm, teacher: no...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that there are no unwanted line break opportunities on run change. This is partly emp#emph[has]ized.
https://github.com/chickbone/hypergraph
https://raw.githubusercontent.com/chickbone/hypergraph/master/hypergraph.typ
typst
#import "/functions.typ": * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.4.4" #import "@preview/gentle-clues:0.8.0": * #import "@preview/physica:0.9.3": * #set text(lang: "jp") #set text(font: "<NAME>",12pt) #show emph: set text(font: "<NAME>",weight: "bold") #show strong: set text(font: "<NAME>",weight:...
https://github.com/EpicEricEE/typst-equate
https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/tests/local/test.typ
typst
MIT License
#import "/src/lib.typ": equate #set page(width: 6cm, height: auto, margin: 1em) #set math.equation(numbering: "(1)") $ a + b \ c + d $ #equate($ d + e \ f + g #<lbl> $) @lbl (wrong) #equate(<lbl>) (correct) #[ #show ref: equate @lbl (correct) ] #[ #show: equate @lbl (correct) ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0E80.typ
typst
Apache License 2.0
#let data = ( (), ("LAO LETTER KO", "Lo", 0), ("LAO LETTER KHO SUNG", "Lo", 0), (), ("LAO LETTER KHO TAM", "Lo", 0), (), ("LAO LETTER PALI GHA", "Lo", 0), ("LAO LETTER NGO", "Lo", 0), ("LAO LETTER CO", "Lo", 0), ("LAO LETTER PALI CHA", "Lo", 0), ("LAO LETTER SO TAM", "Lo", 0), (), ("LAO LETTER...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/lib/glossary.typ
typst
Other
#let __GLOSSARY = ( "global scripts": ([全球文种], []), shaping: ([造型], []), layout: ([布局], []), type: ([字], []), punch: ([字冲], []), matrix: ([字模], []), sort: ([活字], []), "type case": ([字盘], []), "hot metal typesetting": ([热金属排印], []), bitmap: ([点阵], []), baseline: ([基线], []), typography: ([字体排印], [...
https://github.com/ivaquero/typst-fasvg
https://raw.githubusercontent.com/ivaquero/typst-fasvg/main/manual.typ
typst
MIT License
#import "fontawesome.typ": * #let title = "Typst-FontAwesome" #set page( paper: "a4", header: [ #set text(6pt) ], numbering: "1 / 1", ) #set heading( level: 2, numbering: "1.", ) #set par( justify: true, leading: 1em, linebreaks: "optimized", ) #set block(above: 1em, below: 0.5em) #align( cen...
https://github.com/EpicEricEE/typst-marge
https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/src/lib.typ
typst
MIT License
#import "sidenote.typ": sidenote, container
https://github.com/Manato1fg/My-Typst-Template
https://raw.githubusercontent.com/Manato1fg/My-Typst-Template/main/template.typ
typst
MIT License
#import "@preview/ctheorems:1.1.0": * #import "@preview/physica:0.9.2": * #let report(title: "", class: "", date: "", author: "", affiliation: "", no-header: false, bibliography-file: "", body) = { set text( font: ( "Times New Roman", "<NAME>" ), size: 12pt ) let textMargin(text, above: 8...
https://github.com/denizenging/site
https://raw.githubusercontent.com/denizenging/site/master/page/archive/index.tr.typ
typst
#import "@local/pub-page:0.0.0": * #show: template( title: "Eski Kayıtlar", layout: "archives", menu: (6, "archives"), )
https://github.com/jamesrswift/blog
https://raw.githubusercontent.com/jamesrswift/blog/main/assets/packages/sparklines/lib.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #let line(data, (x-min, x-max), (y-min, y-max)) = cetz.draw.line( ..data ) #let vline(x, ..style) = (data, (x-min, x-max), (y-min, y-max)) => { cetz.draw.line( (x, y-min), (x, y-max), ..style ) } #let make( data, height: 1em, width: 1em, style: (stroke: 0.4pt...
https://github.com/yanwenywan/typst-packages
https://raw.githubusercontent.com/yanwenywan/typst-packages/master/dndstatblock/0.1.0/README.md
markdown
Apache License 2.0
# dndstatblock A template for writing statblocks (and only statblocks), in a simple style that imitates the 5e theme. It is intended to be fairly barebones and provide only formatting options, not dictate too much content. It uses a two-column layout using open source versions of DnD fonts, as well as a traditional s...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/051.%20startupfunding.html.typ
typst
startupfunding.html How to Fund a Startup Want to start a startup? Get funded by Y Combinator. November 2005 Venture funding works like gears. A typical startup goes through several rounds of funding, and at each round you want to take just enough money to reach the speed where you can shift into the next gear...
https://github.com/DaAlbrecht/thesis-TEKO
https://raw.githubusercontent.com/DaAlbrecht/thesis-TEKO/main/content/Implementation.typ
typst
#import "@preview/tablex:0.0.5": tablex, cellx #import "@preview/codelst:1.0.0": sourcecode #show figure.where(kind: raw): set block(breakable: true) The entire project is available on #link("https://github.com/DaAlbrecht/rabbit-revival/tree/main")[GitHub] and licensed under the MIT license. For a clearer understandin...
https://github.com/Caslus/lucasphilippe
https://raw.githubusercontent.com/Caslus/lucasphilippe/main/src/templates/resume.typ
typst
#let name = "<NAME>" #set document( title: name + "'s Resume", author: name ) #set text(font: "libertinus serif", size: 10pt, lang: "en") #set page( footer: text(8pt, fill: gray)[ #grid( columns: (1fr, 1fr), { let fmt = "[month repr:short] [day], [year]" align(left)[ Las...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/quotes_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test escape sequences. The 5\'11\" 'quick\' brown fox jumps over the \"lazy" dog\'s ear.
https://github.com/JanEhehalt/typst-demo
https://raw.githubusercontent.com/JanEhehalt/typst-demo/main/KI-Verzeichnis.typ
typst
#set align(left) #table( stroke: none, columns: (25%, 50%, auto), [*System*], [*Prompt*], [*Verwendung*], [CHADGEPETE], [lol],[gar nicht] )
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0080.typ
typst
Apache License 2.0
#let data = ( ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc", 0), ("<control>", "Cc"...
https://github.com/kazewong/lecture-notes
https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/julia.typ
typst
#set page( paper: "us-letter", header: align(center, text(17pt)[ *Introduction to Julia* ]), numbering: "1", ) #import "./style.typ": style_template #show: doc => style_template(doc,) = Foreword `julia` is a language which I have a love-hate relationship with. If the first programming language you learne...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/networks/lec5.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 5", subtitle: "14.15" ) = Title #define( title: "Social Learning" )[ How do people learn from others, and what are the ultimate implications for society's beliefs, opinions, and behaviors? ] The basic idea behind the DeGroot learning model is th...
https://github.com/GYPpro/DS-Course-Report
https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/16.typ
typst
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx #import "@preview/codelst:2.0.1": sourcecode // Display inline code in a small box // that retains the correct baseline. #set text(font:("Times New Roman","Source Han Serif SC")) #show raw: set text( font: ("consolas", "Source Han Serif SC"...
https://github.com/edgarogh/f4f1eb
https://raw.githubusercontent.com/edgarogh/f4f1eb/main/demo_short.typ
typst
#import "template.typ": * #show: project.with( title: [Anakin \ Skywalker], from_details: [ Appt. x, \ Mos Espa, \ Tatooine \ <EMAIL> \ +999 xxxx xxx ], to_details: [ Sheev Palpatine \ 500 Republica, \ Ambassadorial Sector, Senate District, \ Galactic City, \ Coruscant ], ) D...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/paren.typ
typst
Apache License 2.0
#((((let x = 1)))); #(/* position after */ x);
https://github.com/HernandoR/lz-brilliant-cv
https://raw.githubusercontent.com/HernandoR/lz-brilliant-cv/main/brilliant-CV/template.typ
typst
Apache License 2.0
// brilliant-CV 2023-09-13 mintyfrankie // Github Repo: https://github.com/mintyfrankie/brilliant-CV // Typst version: 0.8.0 /* Packages */ #import "../metadata.typ": * #import "@preview/fontawesome:0.1.0": * /* font size */ #let TitleFontSize = 32pt #let LargeFontSize = 16pt // #let BigFontSize= 14pt #let RegularFo...
https://github.com/kdkasad/typst-homework-template
https://raw.githubusercontent.com/kdkasad/typst-homework-template/master/README.md
markdown
BSD 3-Clause "New" or "Revised" License
# Kian's Typst Homework Template ![Screenshot of example document](ss.png) A template & library for typesetting homework assignment submissions in Typst. ## Installation Simply download the `khw.typ` file and import it into your Typst document. ## Usage See the `examples` directory in this repository for some exa...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Exercices_11_09_2023.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Maths Exercices 11 09 2023", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") == Exercice 1 <exerc...
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/mathenv.typ
typst
#import "@preview/lemmify:0.1.5": * #import "/config.typ": env-lang, math-font #let thm-numbering-theorem(fig, max-heading-level: none) = { if fig.numbering != none { let heading-counter = display-heading-counter-at(fig.location(), max-heading-level) heading-counter.split(".").at(0) "." numbering(fig...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test multiline subscript. $ sum_(n in NN \ n <= 5) n = (5(5+1))/2 = 15 $
https://github.com/ntjess/showman
https://raw.githubusercontent.com/ntjess/showman/main/examples/simple.md
markdown
MIT License
Sticky notes are easy with `colorful-boxes`: ``` typst #import "@preview/colorful-boxes:1.2.0" as boxes #boxes.stickybox(width: 1in)[ Hello world! ] ``` ![Example 1](simple-assets/example-1.png) conchord makes it easy to add new chords, both for diagrams and lyrics. Unlike chordx, you don’t need to think about lay...
https://github.com/lescx/screenplay
https://raw.githubusercontent.com/lescx/screenplay/main/README.md
markdown
BSD 2-Clause "Simplified" License
# screenplay A Typst template for you screenwriter.
https://github.com/PhotonQuantum/UofTNotes
https://raw.githubusercontent.com/PhotonQuantum/UofTNotes/master/src/CSC2108H/LEC0101_SAT.typ
typst
#import "/sty.typ": * #show: template.with( title: [SAT (WIP)], short_title: [CSC2108H LEC0101], description: [ Notes based on lectures for CSC 2108H\ (Automated Reasoning with Machine Learning)\ at the University of Toronto by Professor <NAME>, Fall 2024 ], date: datetime(year: 2024, month: 09, day: 09)...
https://github.com/miliog/typst-penreport
https://raw.githubusercontent.com/miliog/typst-penreport/master/typst-penreport/helper/version.typ
typst
MIT No Attribution
#let VersionJump = ( MINOR: 0, MAJOR: 1, ) #let nextVersion(version, majorJump) = { let x = version.split(".") assert(x.len() == 2) let major = int(x.first()) let minor = int(x.last()) if majorJump { minor = 0 major += 1 } else { minor += 1 } return str(major) + "." + str(minor) }
https://github.com/herbhuang/utdallas-thesis-template-typst
https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/layout/transparency_ai_tools.typ
typst
MIT License
#let transparency_ai_tools(body) = { set page( margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm), numbering: none, number-align: center, ) let body-font = "New Computer Modern" let sans-font = "New Computer Modern Sans" set text( font: body-font, size: 12pt, lang: "en" )...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/glossary/glossary_functions.typ
typst
#let glossary_image(src) = { box( stroke: 0.5pt + gray, image(src) ) } #let glossary_entry(term: "term", category: "general", meaning: "meaning", image: "") = { v(0.5em) if image != "" { grid( columns: (8em, 1fr, auto), gutter: 1em, text(weight: "bold", term), ...
https://github.com/xdoardo/co-thesis
https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/introduction.typ
typst
#import "/includes.typ": * = Introduction<chapter-intro> Our objective is to define an _operational semantics_ for an _imperative language_ targeting an adequate _monad_ to model the desired _effects_ and operate _transformations_ on program sources, all in a _dependently typed_ _proof assistant_. This work, in a nuts...
https://github.com/jonsch318/rules_typst
https://raw.githubusercontent.com/jonsch318/rules_typst/main/e2e/smoke/README.md
markdown
Apache License 2.0
# smoke test This e2e exercises the repo from an end-users perpective. It catches mistakes in our install instructions, or usages that fail when called from an "external" repository to rules_typst. It is also used by the presubmit check for the Bazel Central Registry.
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum-align_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Enum number alignment should be 'end' by default 1. a 10. b 100. c #set enum(number-align: start) 1. a 8. b 16. c
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ascii-ipa/1.0.0/lib.typ
typst
Apache License 2.0
#import("util/xsampa.typ"): * #import("util/praat.typ"): * #import("util/branner.typ"): * #import("util/sil.typ"): * #let replacer = (val, rpl, reverse: false) => { let (a, b) = if reverse {( 1, 0 )} else {( 0, 1 )} for pair in rpl { val = val.replace(pair.at(a), pair.at(b)) } val } #let font-overrider ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/basic-resume/0.1.0/CHANGELOG.md
markdown
Apache License 2.0
# Basic Resume Changelog ## [v0.1.0](hhttps://github.com/stuxf/basic-typst-resume-template/releases/tags/v0.1.0) Initial Release
https://github.com/PgBiel/glypst
https://raw.githubusercontent.com/PgBiel/glypst/main/test/samples/ok.typ
typst
MIT License
= Hello world Hello world! *Hello!*
https://github.com/m-pluta/bias-in-ai-report
https://raw.githubusercontent.com/m-pluta/bias-in-ai-report/main/report/intro.typ
typst
= Introduction <S_Intro> // #highlight([ // - Description of the ML task // - Why Ethical impact assessments are useful/necessary // ]) The first impression a consumer forms upon encountering an advertisement (ad) plays a pivotal role in determining its success in engaging their interest @W_first_impression@P_emotion...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/features.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/heading.typ": chapter #import "/template/components.typ": note, cross-link #import "/lib/glossary.typ": tr #show: web-page-template #chapter( label: <chapter:opentype-features> )[ // Introduction to OpenType Features OpenType特性简介 ] // In t...
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/cpp.typ
typst
MIT License
#import "descriptions.typ": * #import "grouped-outline.typ" as _grouped-outline #import "palette.typ": get-palette /* Typeset the description of a subobject using the describe environment. */ #let _subobject_description(subobject, label-prefix: "") = { describe([ #raw(subobject.name + subobject.dimension + " (...
https://github.com/flavio20002/cyrcuits
https://raw.githubusercontent.com/flavio20002/cyrcuits/main/tests/sis_transitorio_c/test.typ
typst
Other
#import "../../lib.typ": * #set page(width: auto, height: auto, margin: 0.5cm) #show: doc => cyrcuits( scale: 1, doc, ) #align(center + horizon, ```circuitkz \begin{circuitikz} \draw (0,0) to[battery1=$E$] ++ (0,4) to[nos=$E$] ++ (2,0) to[R=$R$] ++ (2,0) to[C,l_=$C$,v^=$v_C$,f>_=$i_C$] ++...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/while-00.typ
typst
Other
// Should output `2 4 6 8 10`. #let i = 0 #while i < 10 [ #(i += 2) #i ] // Should output `Hi`. #let iter = true #while iter { iter = false "Hi." } #while false { dont-care }
https://github.com/NorfairKing/typst.nix
https://raw.githubusercontent.com/NorfairKing/typst.nix/master/example/example.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": *
https://github.com/elteammate/typst-compiler
https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/typesystem-lexer.typ
typst
#import "utils.typ": * #import "typesystem-def.typ": * #import "lexer.typ": * #let ts_token_kind = mk_enum( debug: true, "ident", "alias", "ty_none_", "ty_content", "ty_string", "ty_float", "ty_int", "ty_any", "ty_bool", "ty_arguments", "ty_dictionary", "ty_function", "ty_array", "ty_tupl...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/lemmify/0.1.1/src/translations.typ
typst
Apache License 2.0
#let translations = ( "en": ( "theorem": "Theorem", "lemma": "Lemma", "corollary": "Corollary", "remark": "Remark", "proposition": "Proposition", "example": "Example", "definition": "Definition", "proof": "Proof" ), "de": ( "theorem": "Satz", "lemma": "Lemma", "corollar...
https://github.com/Duolei-Wang/modern-sustech-thesis
https://raw.githubusercontent.com/Duolei-Wang/modern-sustech-thesis/main/template/configs/mathstyle.typ
typst
MIT License
#import "font.typ" as fonts #let mathstyle() = { show math: set text( font: fonts.SongTi, ) }
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/jurz/0.1.0/demo.typ
typst
Apache License 2.0
#import "jurz.typ": * #import "@preview/chic-hdr:0.4.0": * #show: chic.with( chic-footer( // left-side: strong( // link("mailto:<EMAIL>", "<EMAIL>") // ), center-side: chic-page-number() ), chic-header( // left-side: emph[jurz Demo], // right-side: counter("rz").at(here()) ), chic...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/utils/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/utils.typ": * // this test contains no visual output #show: none = Points in rect #assert(point-is-in-rect((1, 2), (center: (1, 2), size: (0,0)))) #assert(not point-is-in-rect((1, 11), (center: (0, 0), size: (1,10)))) #let points = ( (0pt,0pt), (-2pt...
https://github.com/han0126/MCM-test
https://raw.githubusercontent.com/han0126/MCM-test/main/2024校赛typst/chapter/chapter6.typ
typst
= 模型评价 == 模型优点 第一题模型采用秩和比评价方法进行模型建立,该方法适用性广泛,对指标的选择没有具体的需求,故适用于各类评价对象也包括该题;在计算过程中数据的秩次而非原始数据,这有助于消除异常值的影响,使得结果更为稳健;在排名时,依据数据大小的相对关系,而不是依赖于具体的数值大小,这使得评价更加客观,减少了量纲的影响。 第三题针对不同的问题建立不同的模型,如针对第一问,分别建立理论培训时间、实践培训时间、投入与参加人数的关系,而针对第二小问,则建立一个多元非线性回归函数进行问题分析,并考虑到现有求解非线性多元函数速度较慢,故提出用启发式算法针对该函数编程求解,使得其求解速度明显优化、加快收敛速度,增强全局搜索能力...
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/expt03/main.typ
typst
#set text(lang: "zh", cjk-latin-spacing: auto, font: "Noto Serif CJK SC") #set page(numbering: "1", margin: (left: 1.4cm, right: 1.9cm)) // #set par(leading: 1em) #show figure.caption: set text(font: "Zhuque Fangsong (technical preview)") #show "。": "." #show heading: set text(font: "Noto Sans CJK SC", size: 1.15em) #i...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/complex/complex-symbol-angle/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": * #set page(width: auto, height: auto, margin: 1cm) #complex(1, 1deg, complex-symbol-angle: math.upright("A"))
https://github.com/a-mhamdi/graduation-report
https://raw.githubusercontent.com/a-mhamdi/graduation-report/main/Typst/Guide.typ
typst
MIT License
// HOW TO WRITE IN TYPST #import "@preview/showybox:2.0.1": showybox #import "@preview/colorful-boxes:1.2.0": stickybox #let title = "Learn To Write In Typst" #let author = "<NAME>" #let theDate = auto #set document(title: title, author: author, keywords: "Typst, How-to", date: theDate) #showybox( frame: ( bo...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/blocks.typ
typst
// Test code blocks. --- code-block-basic-syntax --- // Evaluates to join of none, [My ] and the two loop bodies. #{ let parts = ("my fri", "end.") [Hello, ] for s in parts [#s] } // Evaluates to join of the content and strings. #{ [How] if true { " are" } [ ] if false [Nope] [you] + "?" } ---...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-container_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test duplicate footnotes. #let lang = footnote[Languages.] #let nums = footnote[Numbers.] / "Hello": A word #lang / "123": A number #nums - "Hello" #lang - "123" #nums + "Hello" #lang + "123" #nums #table( columns: 2, [Hello], [A word #l...
https://github.com/francescoo22/kt-uniqueness-system
https://raw.githubusercontent.com/francescoo22/kt-uniqueness-system/main/src/vars.typ
typst
#import "proof-tree.typ": * // *** NAMES *** #let CL = "CL" #let unique = "unique" #let shared = "shared" #let borrowed = $♭$ #let af = $alpha_f$ #let ret = "return" #let var = "var" #let null = "null" #let fi = "if" #let then = "then" #let els = "else" #let begin = "begin" #let args = "args" #let alias = "alias" #le...
https://github.com/dikkadev/typst-statastic
https://raw.githubusercontent.com/dikkadev/typst-statastic/main/docs.typ
typst
The Unlicense
#import "@preview/tidy:0.3.0" = Statastical `Statastic` is a Typst library designed to provide various statistical functions for numerical data. It offers functionalities like extracting specific columns from datasets, converting array elements to different data types, and computing various statistical measures such ...
https://github.com/yonatanmgr/summaries-template
https://raw.githubusercontent.com/yonatanmgr/summaries-template/main/template/ilm-custom.typ
typst
// Workaround for the lack of an `std` scope. #let std-bibliography = bibliography #let std-smallcaps = smallcaps #let std-upper = upper #import "/template/utils.typ": * #import "@preview/hydra:0.3.0": hydra #import "@preview/outrageous:0.1.0" #import "@preview/codly:0.2.0": * #import "@preview/lovelace:0.2.0": * // ...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/test/grade-table/test-001-question-point.typ
typst
MIT License
#import "../../src/lib.typ": * #show: g-exam.with( show-student-data: "first-page", show-grade-table: true, ) #g-question(points:2.1)[] #g-question(points:3)[] #g-question(points:2.3)[] #g-question(points:3)[] #g-question(points:2.1)[] #g-question(points:3.3)[]
https://github.com/Lancern/resume-template
https://raw.githubusercontent.com/Lancern/resume-template/master/main-cn.typ
typst
Creative Commons Zero v1.0 Universal
#import "resume.typ": * #show: resume.with( "惠计算", "139 1234 5678", "<EMAIL>", webpage: "https://huijisuan.me", github-id: "Huijisuan", lang: "cn", ) = 教育经历 #edu-item( "北京大学", "学士", "2016.08", end-date: "2020.07", major: "计算机科学与技术", body: [ 学分绩点位于前5%。 ] ) #edu-item( "清华大学", "硕士", "...