repo
stringlengths
27
90
file
stringlengths
57
176
language
stringclasses
2 values
license
stringclasses
13 values
content
stringlengths
25
180k
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/AnalisiDeiRequisiti/content.typ
typst
MIT License
#import "meta.typ" : title #import "functions.typ" : glossary, team, modulo, requirements_table, generate_requirements_array #set list(marker: ([•], [--])) #set enum(numbering: "1.a.") = Introduzione == Scopo del documento Il presente documento ha lo scopo di fornire una descrizione dettagliata dei casi d'uso e dei ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.2/README.md
markdown
Apache License 2.0
# Fletcher [![Manual](https://img.shields.io/badge/latest-manual.pdf-green)](https://github.com/Jollywatt/typst-fletcher/raw/latest/docs/manual.pdf) ![Version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fgithub.com%2FJollywatt%2Farrow-diagrams%2Fraw%2Flatest%2Ftypst.toml&query=package.version&label=lat...
https://github.com/drupol/ipc2023
https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/references.typ
typst
#import "imports/preamble.typ": * #slide(title:"Links", new-section:"References")[ #set text(size: .75em) - #link("https://www.youtube.com/watch?v=H0A2cSejlZ4")[ #text(font: "Inconsolata Nerd Font")[\u{f167}] <NAME> - On the Importance and Challenges of Reproducible Builds for Software Supply Chain Security ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/flow-4.typ
typst
Apache License 2.0
// In this bug, a frame intended for the second region ended up in the first. --- #set page(height: 105pt) #block(lorem(20))
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/docs/knapsack.typ
typst
//knapsack book #include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #import "../typst-orange.typ": theorem, proof, lemma, proposition, corollary, example #import "@preview/cetz:0.1.2": canvas, plot #import "@previ...
https://github.com/ntjess/showman
https://raw.githubusercontent.com/ntjess/showman/main/lib.typ
typst
MIT License
#import "src/formatter.typ" #import "src/runner.typ"
https://github.com/tingerrr/masters-thesis
https://raw.githubusercontent.com/tingerrr/masters-thesis/main/README.md
markdown
# Masters Thesis: Dynamic data structures under real time constraints This repository hosts the thesis and supplementary poster for my masters thesis in applied computer science at the [University of Applied Sciences Erfurt (FHE)][FHE]. The title of this thesis is **Dynamische Datenstrukturen unter Echtzeitbedingungen*...
https://github.com/SnO2WMaN/typst-tarski-undefinability-report
https://raw.githubusercontent.com/SnO2WMaN/typst-tarski-undefinability-report/main/README.md
markdown
Creative Commons Zero v1.0 Universal
# Tarskiの真理定義不可能性定理に関してのレポート [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![Deploying](https://github.com/SnO2WMaN/typst-tarski-undefinability-report/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/SnO2WMaN/typst-tarski-undefinability-report/actions/workflows/gh-pag...
https://github.com/AnsgarLichter/hka-thesis-template
https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/metadata.typ
typst
#let degree = "Master" //Bachelor or Master #let program = "Computer Science" #let titleEnglish = "Title English" #let subtitleEnglish = "Subtitle English" #let titleGerman = "Title German" #let subtitleGerman = "Subtitle German" #let author = "<NAME>" #let matriculationNumber = "12345" #let placeOfWork = "ABC" #let su...
https://github.com/zurgl/typst-resume
https://raw.githubusercontent.com/zurgl/typst-resume/main/templates/resume/header.typ
typst
/* Resume Header */ #import "../../metadata.typ": * #import "../commun.typ": * #import "@preview/fontawesome:0.1.0": * #let headerFont = ("Roboto") #let headerFirstNameStyle(str) = { text( font: headerFont, size: 32pt, weight: "light", fill: regularColors.darkgray, str, ) } #let headerLastNam...
https://github.com/Mufanc/hnuthss-template
https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/components.typ
typst
// 页眉 #let header = [ #set text(size: 9pt) #align(center, "湖南大学本科生毕业论文(设计)") #pad(top: -6pt, line(length: 100%, stroke: 1.5pt)) #pad(top: -8.5pt, line(length: 100%, stroke: 0.6pt)) ] // 锚点,生成一个不可见的标题以供目录定位 #let anchor(content, level: 1) = [ #text(size: 0em, heading(level: 1, content)) ] // 假段落,处理...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/3.ProgramacionParalela.typ
typst
En esta sección se hablará sobre qué es la programación paralela, su funcionamiento y usos tanto en CPU como en GPU. La programación paralela es una técnica de programación que consiste en dividir un problema en tareas más pequeñas y ejecutarlas simultáneamente en múltiples procesadores o núcleos de procesamiento. Est...
https://github.com/khicken/CSDS310
https://raw.githubusercontent.com/khicken/CSDS310/main/Assignment%201/Assignment%201.typ
typst
#import "@preview/lovelace:0.3.0": pseudocode-list #set align(right) <NAME> \ 9/20/24 #set align(center) = CSDS 310 Assignment 1 #set align(left) _Note: Arrays are zero-indexed._ == Problem 1 a) *Loop Invariant*: At the start of each iteration, the greatest common divisor (GCD) of $x$ and $y$ is the same as the GCD...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion-pkgs/touying-utils-fit-to-height.typ
typst
Apache License 2.0
// path: lib.typ // - level (auto, ): The level #let fit-to-height( width: none, prescale-width: none, grow: true, shrink: true, height, body, ) = { [ #show before-label: none #show after-label: none #v(1em) hidden#before-label #v(height) hidden#after-label ] } ----- // contains:...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/sumcheck.typ
typst
#import "preamble.typ":* = The sum-check protocol <sumcheck> == Pitch: Sum-check lets you prove a calculation without having the verifier redo it Let's imagine we have a _single_ equation $ Z_1 + Z_2 + dots.c + Z_"big" = H $ for some variables $Z_i$ and constant $H in FF_q$, all over $FF_q$, and assume further that ...
https://github.com/AsiSkarp/grotesk-cv
https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/README.md
markdown
The Unlicense
<h1 align="center"> grotesk-cv </h1> <div align="center">Version 1.0.1</div> <span></span> grotesk-cv provides a pair of elegant and simple, one-page CV and cover letter templates, inspired by the [Brilliant-cv](https://typst.app/universe/package/brilliant-cv/) and [fireside](https://typst.app/universe/package/fires...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/07-free-groups.typ
typst
Other
#import "../../utils/core.typ": * == Свободные группы #ticket[Свободная группа: определение и проверка единственности] #def[ Пусть $F$ --- группа, $f_1, f_2, ..., f_k in F$. Говорят, что $F$ --- _свободная группа_ со свободным образом $f_1, ..., f_k$, если для всякой группы $G$ и $g_1, ..., g_k in G$ $ ...
https://github.com/dainbow/FunctionalAnalysis2
https://raw.githubusercontent.com/dainbow/FunctionalAnalysis2/main/themes/5.typ
typst
#import "../conf.typ": * = Самосопряжённые операторы == Свойства квадратичной формы $(A x, x)$ и собственных значений самосопряжённого оператора $A$. #definition[ Пусть $E_1 = E_2 = H$ -- гильбертово пространство. Тогда, если $A in cal(L)(H)$ и $A^* = A$, то оператор $A$ называется *самосопряжённым*: #eq[ $f...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-bare-06.typ
typst
Other
// Error: 6 expected colon #show it
https://github.com/mrcinv/nummat-typst
https://raw.githubusercontent.com/mrcinv/nummat-typst/master/03_tridiag.typ
typst
#import "admonitions.typ": opomba #import "julia.typ": jlfb, jl, pkg, code_box, repl, out = Tridiagonalni sistemi <tridiagonalni-sistemi> == Naloga <naloga> - Ustvari podatkovni tip za tri diagonalno matriko in implementiraj operacije množenja `*` z vektorjem in reševanja sistema $A x=b$ `\`. - Za slučajni spreh...
https://github.com/gdg-cnu/thumbnail-renderer
https://raw.githubusercontent.com/gdg-cnu/thumbnail-renderer/main/README.md
markdown
MIT License
# Thumbnail Renderer [`gdg-cnu/slide-typst`](https://github.com/gdg-cnu/slide-typst) 라이브러리를 이용해 썸네일을 생성하는 방법을 설명합니다. 1. 방법 1. [로컬 런타임을 이용해 렌더링](./using-local-runtime-with-jupyter/note.ipynb) 2. 방법 2. [Typst 앱을 이용해 렌더링](./using-typst-app/)
https://github.com/typst/templates
https://raw.githubusercontent.com/typst/templates/main/unequivocal-ams/README.md
markdown
MIT No Attribution
# unequivocal-ams A single-column paper for the American Mathematical Society. The template comes with functions for theorems and proofs. It also is a nice starting point for a classy tech report or thesis. ## Usage You can use this template in the Typst web app by clicking "Start from template" on the dashboard and s...
https://github.com/SeniorMars/coc-typst
https://raw.githubusercontent.com/SeniorMars/coc-typst/main/README.md
markdown
MIT License
# coc-typst Typst support for coc ## Install `:CocInstall coc-typst` ## Keymaps `nmap <silent> <C-l> <Plug>(coc-coc-typst-keymap)` ## Lists `:CocList demo_list` ## License MIT --- > This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
https://github.com/Vanille-N/kefir
https://raw.githubusercontent.com/Vanille-N/kefir/master/label/v1.typ
typst
The Unlicense
#set page(margin: ( top: 1cm, bottom: 1cm, x: 1cm, )) #import "@preview/cetz:0.2.2" #let object(orig) = { import "draw.typ" as cz let body = (height: 7cm, width: 3cm) let band = (height: 6cm, width: 1.5cm, overlap: 2cm) let inset = (depth: band.width / 3) let cut = (width: band.width / 2, height: body....
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/lib.typ
typst
yes! it works! #let llltable(titles:(),caption:[],align:left,kind:"table",supplement:[表],..items)={ let items=items.pos()//在函数定义中,..bodies 表示接收任意数量的参数,这些参数被收集到一个特殊的 参数对象(arguments object) 中.bodies.pos() 方法从参数对象中提取所有的 位置参数,并返回一个 序列(sequence),即一个有序的参数列表。 figure( kind:kind, supplement:supplement, caption: ...
https://github.com/imkochelorov/ITMO
https://raw.githubusercontent.com/imkochelorov/ITMO/main/src/calculus/s2/main.typ
typst
#import "..\..\..\template.typ": * #set page(margin: 0.55in) #set par(leading: 0.55em, first-line-indent: 0em, justify: false) #set text(font: "New Computer Modern") #set heading(numbering: "1.1.") #show raw: set text(font: "New Computer Modern Mono") #show par: set block(spacing: 0.55em) #show heading: set block(abov...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/pagebreak-bibliography_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #pagebreak(weak: true) #bibliography("/assets/files/works.bib")
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/raw-07.typ
typst
Other
// Text show rule #show raw: set text(font: "Roboto") `Roboto`
https://github.com/donabe8898/typst-slide
https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/linux01/main.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import themes.university: * #show: university-theme.with( aspect-ratio: "16-9", short-title: "ディストロはデスクトップ環境で選べばいいと思う", short-author: "donabe8898", short-date: none, color-a: rgb("#0C6291"), color-b:rgb("#A63446"), color-c:rgb("#FBFEF9"), progress-bar: true ) #s...
https://github.com/syrkis/esch
https://raw.githubusercontent.com/syrkis/esch/main/README.md
markdown
MIT License
# esch Create beautiful presentations and visualizations inspired by Escher. ## Components 1. Typst presentation template 2. CLI tool for generating presentations from Typst files 3. Python package for Escher-inspired numpy array visualizations ## Installation ```bash npm install -g esch pip install esch ``` ## U...
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/hash/src/hash.typ
typst
#let lib = plugin("hash.wasm") /// Hashes the given data with the given digest. /// /// Arguments: /// - digest: The digest to use for hashing. Must be one of /// "blake2", "blake2s", "md5", "sha1", "sha224", /// "sha256", "sha384", "sha512", or "sha3". /// - data: The data to hash. Must be of type...
https://github.com/Tran-Thu-Le/typst-collection
https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/multi-files-reference/file2.typ
typst
#include "multi-ref.typ" In the second file, the second reference is @vaswani2017attention
https://github.com/SSSayon/analytical-mechanics
https://raw.githubusercontent.com/SSSayon/analytical-mechanics/main/conf/conf.typ
typst
#let conf(doc) = { set page( paper: "a4", numbering: "1", ) set heading(numbering: "1.1. ") // font set text(font: ("linux libertine", "STSong")) show emph: text.with(font: ("linux libertine", "STKaiti")) show strong: text.with(font: ("linux libertine", "STHeiti")) // code show raw.where...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/book/organization.typ
typst
#let wgc = "Working group coordinator" #let gl = "Group leader" #let gm = "GitHub maintainer" = Organization L'organizzazione è un'account condiviso@gh-orgs da più utenti dove è possibile collaborare su uno o più progetti, definendo ruoli e funzioni. Utilizzando le organizzazioni è possibile creare una suddivisione c...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Reading/跟李沐学AI(论文)/Swin%20Transformer.typ
typst
// --- // order: 14 // --- #import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "d2l_paper", lang: "zh", ) = Swin Transformer: Hierarchical Vision Transformer using Shifted Windows - 时间:2021.5 - Swin Transformer 为 ICCV21 最佳论文,是 ViT 之后,第二个证明 Transformer 在 CV 领域强大表现的工作 #hline() - [ ] Tod...
https://github.com/cronokirby/typst-templates
https://raw.githubusercontent.com/cronokirby/typst-templates/main/example-paper.typ
typst
#import "paper.typ" #let abstract = lorem(40) #show: doc => paper.template( title: "On The Nature of Examples", author: (name: "<NAME>", email: "<EMAIL>"), abstract: abstract, doc, ) = Introduction Systems and the partition table, while unproven in theory, have not until recently been considered unfortunate...
https://github.com/noriHanda/my-resume
https://raw.githubusercontent.com/noriHanda/my-resume/main/icons.typ
typst
The Unlicense
#let icon( name, color: white, baseline: 0.125em, height: 1.0em, width: 1.25em) = { let originalImage = read("icons/" + name + ".svg") let colorizedImage = originalImage.replace( "#ffffff", color.to-hex(), ) box( baseline: baseline, height: height, width: width, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/big-todo/0.2.0/lib.typ
typst
Apache License 2.0
//Function to insert TODO #let todo(body, inline: false, big_text: 40pt, small_text: 15pt, gap: 2mm) = { if inline { set text(fill: red, size: small_text, weight: "bold") box([TODO: #body #place()[ #set text(size: 0pt) #figure(kind: "todo", supplement: "", caption: body, []) ]]) } ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-08.typ
typst
Other
// Error: 26-31 expected integer or none, found boolean #set text(stylistic-set: false)
https://github.com/TGM-HIT/typst-diploma-thesis
https://raw.githubusercontent.com/TGM-HIT/typst-diploma-thesis/main/template/chapters/vorwort.typ
typst
MIT License
#import "../lib.typ": * #let highlighted-link(..args) = { set text(fill: blue.darken(20%)) link(..args) } = Vorwort <preface> Die Diplomarbeit ist kein Aufsatz! Auch wenn sie interessant gestaltet werden sollte, ist sie unpersönlich und im passiv zu schreiben. Besonders sind die Quellenangaben, welche entspreche...
https://github.com/PgBiel/typst-diagbox
https://raw.githubusercontent.com/PgBiel/typst-diagbox/main/diagbox.typ
typst
Apache License 2.0
/** * A diagonal box going from top left to bottom right. (The right-most position determines the prefix.) * Note: If using this outside of a table, setting inset to '0pt' is recommended. * * 'text_left' is the text that appears at the bottom left; * 'text_right', at the top right; * 'width' is the total width th...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/quill/0.2.0/src/quill.typ
typst
Apache License 2.0
#import "utility.typ" #import "length-helpers.typ" #import "decorations.typ": * /// Create a quantum circuit diagram. Children may be /// - gates created by one of the many gate commands (@@gate, /// @@mqgate, @@meter, ...), /// - `[\ ]` for creating a new wire/row, /// - commands like @@setwire, @@slice or @@g...
https://github.com/ufodauge/master_thesis
https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/common/empty.typ
typst
MIT License
#let Empty = par[#text(size:0.5em)[#h(0.0em)]]
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/020%20-%20Prologue%20to%20Battle%20for%20Zendikar/005_Unkindness%20of%20Ravens.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Unkindness of Ravens", set_name: "Prologue to Battle for Zendikar", story_date: datetime(day: 29, month: 07, year: 2015), author: "<NAME>", doc ) #emph[<NAME> is perhaps the most powerful necromancer in the Multiverse, but her life has been...
https://github.com/HPDell/touying-brandred-uobristol
https://raw.githubusercontent.com/HPDell/touying-brandred-uobristol/main/README.md
markdown
MIT License
# Touying slide template for University of Bristol Inspired by the brand guidelines of University of Bristol and modified from the Metropolis theme. ## Use as Typst Template Package Use the following command to create a new project with this theme. ```bash typst init @preview/touying-uobristol ``` ## Examples See...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/NormeDiProgetto/content.typ
typst
MIT License
#import "functions.typ": glossary, team /*************************************/ /* INSERIRE SOTTO IL CONTENUTO */ /*************************************/ #show link: underline = Introduzione == Scopo del documento Il presente documento ha l'obiettivo di definire le #glossary[best practices] e il #glossary[w...
https://github.com/davystrong/umbra
https://raw.githubusercontent.com/davystrong/umbra/main/src/shadow-path.typ
typst
MIT License
// Gets the length of an arbitrary vector #let _norm(p) = calc.sqrt(p.map(x => calc.pow(x.pt(), 2)).sum()) * 1pt // Adds any number of arbitrary vectors #let _add(..ps) = ps.pos().fold( none, (acc, x) => if acc == none { x } else { acc.zip(x).map(((y, z)) => y + z) }, ) // Takes the first vector and subtracts all s...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/op_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test scripts vs limits. #set page(width: auto) #set text(font: "New Computer Modern") Discuss $lim_(n->oo) 1/n$ now. $ lim_(n->infinity) 1/n = 0 $
https://github.com/dantevi-other/kththesis-typst
https://raw.githubusercontent.com/dantevi-other/kththesis-typst/main/utils/values.typ
typst
MIT License
//-- Font sizes #let font-size-0 = 24pt #let font-size-1 = 18pt #let font-size-2 = 16pt #let font-size-3 = 14pt #let font-size-base = 12pt
https://github.com/jbirnick/typst-rich-counters
https://raw.githubusercontent.com/jbirnick/typst-rich-counters/main/lib.typ
typst
MIT License
#let rich-counter(identifier: none, inherited_levels: 0, inherited_from: heading) = { // this can equip `headings` and similar objects with the rich-counter functions // that are needed for recursive evaluation let rich-wrapper(key) = { let at(loc) = { let cntr = counter(key) if (loc == none) { cn...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Research/Summer%202024/Geometry%20School/Ancient%20Mean%20Curvature%20Flow.typ
typst
#import "/Templates/generic.typ": latex #import "/Templates/notes.typ": chapter_heading #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #show: latex #show: chapter_heading #show: thmrules #show: symbol_replacing #show: equation_references #set pagebreak(weak: true) #set page(margin: (x: 2cm, top:...
https://github.com/jonatchoum/quarto-jon-thesis-template
https://raw.githubusercontent.com/jonatchoum/quarto-jon-thesis-template/main/_extensions/jon_thesis/typst-show.typ
typst
#import "typst-template.typ": template // Your acknowledgments (Ringraziamenti) go here #let acknowledgments = [ I would like to thank you for using my template and the team of typst for the great work they have done and the awesome tool they developed. Remember that it's best practice to thank the people you worke...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.1.0/src/default.typ
typst
Apache License 2.0
// get the adjacent headings #let get-adjacent(is-footer: false, sel, loc) = { import "/src/util.typ": into-sel-filter-pair let (sel, filter) = into-sel-filter-pair(sel) if is-footer { loc = query(selector(<hydra>).before(loc), loc).last().location() } let prev = query(sel.before(loc), loc).filter(x => ...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/edge-bend/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #diagram( cell-size: 3cm, node((0,0), "from"), node((1,0), "to"), for θ in (0deg, 20deg, -50deg) { edge((0,0), (1,0), $#θ$, bend: θ, marks: (none, "head"), label-side: center) } ) #pagebreak() #for (i...
https://github.com/francescoo22/masters-thesis
https://raw.githubusercontent.com/francescoo22/masters-thesis/main/chapters/2-Background.typ
typst
#import "../config/utils.typ": * #pagebreak(to:"odd") = Background<cap:background> This chapter outlines the background information necessary to understand the concepts discussed in the rest of this work. Specifically, it covers relevant aspects about Kotlin, aliasing, separation logic, and Viper, providing a foundati...
https://github.com/duskmoon314/THU_AMA
https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch2/2-内部结构.typ
typst
Creative Commons Attribution 4.0 International
#import "/book.typ": * #show: thmrules #show: book-page.with(title: "内部结构") = 内部结构 == 子群与子群判则 #definition()[ 设$G$是群,$H subset.eq G$为非空子集,若$H$在$G$的运算下也构成群,则称$H$是$G$的一个#strong[子群],记为$H lt.eq G$ $H < G$:当$H$为$G$的真子群,即$H eq.not G$ ] #corollary()[ $e lt.eq G$、 $G lt.eq G$, 称为平凡子群 ] #theorem("子群判则")[ 设$H sub...
https://github.com/michel-steuwer/typst-acmart
https://raw.githubusercontent.com/michel-steuwer/typst-acmart/main/sample-typst-acmsmall.typ
typst
MIT License
#import "template.typ": * #show: acmart.with( format: "acmsmall", title: "The Name of the Title is Hope", authors: { let clarityInstitute = ( institution: "Institute for Clarity in Documentation", streetaddress: "P.O. Box 1212", city: "Dublin", state: "Ohio", country: "USA", ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11A50.typ
typst
Apache License 2.0
#let data = ( ("SOYOMBO LETTER A", "Lo", 0), ("SOYOMBO VOWEL SIGN I", "Mn", 0), ("SOYOMBO VOWEL SIGN UE", "Mn", 0), ("SOYOMBO VOWEL SIGN U", "Mn", 0), ("SOYOMBO VOWEL SIGN E", "Mn", 0), ("SOYOMBO VOWEL SIGN O", "Mn", 0), ("SOYOMBO VOWEL SIGN OE", "Mn", 0), ("SOYOMBO VOWEL SIGN AI", "Mc", 0), ("SOYOMBO...
https://github.com/sicheng1806/typst-book-for-sicheng
https://raw.githubusercontent.com/sicheng1806/typst-book-for-sicheng/main/scr/basic_pkg/par.typ
typst
// 增加了摘要段落 #let abstact(title:[#text(14pt)[摘要]],fontsize:12pt,doc) = { set text(fontsize) set align(center) par(title) par[#h(2em)#doc] }
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/block.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw #import "element.typ" #let draw-shape(id, tl, tr, br, bl, fill, stroke) = { let f = draw.rect( radius: 0.5em, inset: 0.5em, fill: fill, stroke: stroke, name: id, bl, tr ) return (f, tl, tr, br, bl) } /// Draws a block element /// /// #examples.block //...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/dashy-todo/0.0.1/lib/place-in-page-margin.typ
typst
Apache License 2.0
#import "side-margin.typ": calc-side-margin #let place-in-page-margin(body, cur-pos: none, position: auto) = ( box({ let side = position if position == auto { if cur-pos.x > page.width / 2 { side = right } else { side = left } } // caclulation based on https://typst...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/003%20-%20Gatecrash/007_The%20Guild%20of%20Deals.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Guild of Deals", set_name: "Gatecrash", story_date: datetime(day: 12, month: 02, year: 2013), author: "<NAME>", doc ) #figure(image("007_The Guild of Deals/02.jpg", width: 100%), caption: [Orzhov Guildgate | Art by John Avon], supplemen...
https://github.com/juanppalacios/typst-gvsu-egr
https://raw.githubusercontent.com/juanppalacios/typst-gvsu-egr/main/template.typ
typst
#let thesis( title: none, authors: (), acknowledgements: [], abstract: [], bibliography-file: none, doc, ) = { // Set and show rules from before. set text( font: "Times New Roman", size: 12pt, ) // todo: fix typst's ieee imports // Configure equation numbering and spacing. set math.e...
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/neurips/neurips.typ
typst
MIT License
/** * neurips.typ * * Template for The n-th Annual Conference on Neural Information Processing * Systems (NeurIPS). * * [1]: https://neurips.cc/Conferences/2023 * [2]: https://neurips.cc/Conferences/2024 */ // Re-export `neurips2023` rule as a general one. #import "/neurips2023.typ": neurips2023 as neurips #i...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/.github/ISSUE_TEMPLATE/new-snippet.md
markdown
MIT License
--- name: New snippet about: Add new snippet to the book title: "[Snippet(s) name here]" labels: new snippet assignees: sitandr --- **Location**: [where in the book should be snippet located] **Importance**: [why should it be in the book] **Snippet**: ```typ [The code there] ``` <!-- If possible, attach rendered i...
https://github.com/tilman151/pypst
https://raw.githubusercontent.com/tilman151/pypst/main/docs/pandas.md
markdown
MIT License
# Create a Typst Table from a Pandas Data Frame Pypst can create Typst tables from Pandas data frames. This allows you to use the full power of Pandas for data wrangling and then render the results in a Typst document. Multiple levels for columns and indexes are supported. ## Basics Create a data frame and do any da...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/mts3.typ
typst
#import "/config.typ": theme #show table.cell: set text(size: 8pt) #show table.cell.where(y: 0): set text(size: 11pt) #let nums = (-13, 25, 34, 12, -3, 7, -87, 28, -77, 11) #let rows(nums) = { let result = () let start = 0 let end = 0 let sum = -1 for n in nums { if sum + n <= n { start = end ...
https://github.com/thanhdxuan/dacn-report
https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/datn-week-1/contents/02-introduce.typ
typst
= Tổng quan Báo cáo tuần 1 của nhóm tập trung vào lên kế hoạch cho giai đoạn đồ án tốt nghiệp và sửa đổi đồ án theo những góp ý của hội đồng báo cáo đồ án chuyên ngành.
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/02-general/05-random-sequence-convergence.typ
typst
#import "../../utils/core.typ": * == Сходимость последовательности случайных величин #th[ $xi_1$, $xi_2$, ... --- последовательность независимых случайных величин. Пусть $f_i: RR^(n_i) --> RR$ измеримы относительно борелевской $sigma$-алгебры. Тогда случайные величины $f_1(xi_1, xi_2, ... xi_(n_1))$, $f_2(xi_...
https://github.com/agarmu/typst-templates
https://raw.githubusercontent.com/agarmu/typst-templates/main/homework/template.typ
typst
MIT License
#let problem_counter = counter("problem") #let prob(question: none, body) = { // let current_problem = problem_counter.step() problem_counter.step() pagebreak(weak: true) [= Problem #problem_counter.display()] if question != none { v(0.25em) [ #question #line(length: 100%, stro...
https://github.com/KiranWells/hackable-typst-resume
https://raw.githubusercontent.com/KiranWells/hackable-typst-resume/main/template.typ
typst
#import "resume.typ": resume, experience, chip, linked_block, skills #show: doc => resume( name: "<NAME>", contacts: ( email: "<EMAIL>", linkedin: "john-smith-fake", github: "JohnSmith", website: "<EMAIL>", ), // These are embedded into the document metadata keywords: ("pdf", "typesetting", "...
https://github.com/DawnEver/mcm-icm-typst-template
https://raw.githubusercontent.com/DawnEver/mcm-icm-typst-template/main/main.typ
typst
MIT License
#import "template.typ": project #import "appendices.typ" : appendices #show: appendices.with() #show: project.with( title: "Enjoy a Cozy and Green Bath", abstract: [ A traditional bathtub cannot be reheated by itself, so users have to add hot water from time to time. Our goal is to establish a model of the tempera...
https://github.com/schang412/typst-whalogen
https://raw.githubusercontent.com/schang412/typst-whalogen/master/manual.typ
typst
Apache License 2.0
#import "@local/whalogen:0.2.0": ce #let pkg_name = "whalogen" #let pkg_version = "v0.2.0" #let author = ( name: "<NAME>", email: "<EMAIL>", ) #set document(author: author.name, title: pkg_name + " " + pkg_version) #set page(numbering: "1", number-align: center) #show raw.where(block: true): rect.with( fill: lu...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/text-case.typ
typst
MIT License
#let stringify(text) = { let string = if type(text) == "string" { text } else if type(text) == "content" { repr(text).slice(1, -1) // remove square brackets } else { panic("Invalid type for text. Valid types are 'string' | 'content'") } return string } #let tokenize(string) = { stringify(strin...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/radial.typ
typst
The Unlicense
#import "./rules.typ": rules #import "./entries.typ": cover, frontmatter-entry, body-entry, appendix-entry #import "./components/components.typ" #import "./colors.typ" #let radial-theme = ( // Global show and set rules rules: rules, cover: cover, // Entry pages frontmatter-entry: frontmatter-entry, body-en...
https://github.com/andreasKroepelin/lovelace
https://raw.githubusercontent.com/andreasKroepelin/lovelace/main/examples/roman.typ
typst
MIT License
#import "../lib.typ": * #set page(width: auto, height: auto, margin: 1em) #set text(font: "Cinzel") #pseudocode-list(line-numbering: "I:")[ + explore European tribes + *while* not all tribes conquered + *for each* tribe *in* unconquered tribes + try to conquer tribe + *end* + *end* ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/template/content/tiivistelmä.typ
typst
Apache License 2.0
/** tiivistelmä.typ * * Fill in the Finnish abstract of your thesis in this file. The * preamble is imported, in case you wish to use commands defined * there. * ***/ #import "../preamble.typ": * Tiivistelmä on suppea, yhden sivun mittainen itsenäinen esitys työstä: mikä oli ongelma, mitä tehtiin ja mitä ...
https://github.com/loreanvictor/master-thesis
https://raw.githubusercontent.com/loreanvictor/master-thesis/main/common/titlepage.typ
typst
MIT License
#let titlepage( title: "", titleGerman: "", degree: "", program: "", supervisor: "", advisors: (), author: "", startDate: none, submissionDate: none, ) = { // set document(title: title, author: author) set page( margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm), numbering: none, ...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/class-welding_101-basic_welding_skills.typ
typst
#import "/meta-environment/env-protohaven-class_handouts.typ": * #import "./glossary/glossary_terms.typ": * #show: doc => class_handout( title: "Basic Welding Skills", category: "Welding", number: "101", clearances: ("MIG Welder", "Plasma Cutter"), instructors: ("Someone",), authors: ("<NAME> <<EMAIL>>")...
https://github.com/thehydrogen/typst-gh-action
https://raw.githubusercontent.com/thehydrogen/typst-gh-action/main/README.md
markdown
# typst-gh-action Example for a GitHub workflow to automatically build your [Typst](https://github.com/typst/typst) files. Fetches the latest stable version from GitHub releases automatically!
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Reading/跟李沐学AI(论文)/对比学习串讲.typ
typst
// --- // order: 12 // --- #import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "d2l_paper", lang: "zh", ) = 对比学习串讲 #info(caption: "大致阶段划分")[ + 百花齐放(18 年到 19 年中):在这个阶段中,方法、模型、目标函数、代理任务都还没有统一 - InstDisc(instance discrimination) - CPC - CMC + CV 双雄(19 年到 20 年中):这个阶段发展非常迅速,...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/examples/exam-points-position.typ
typst
MIT License
#import "../src/lib.typ": * #import "@preview/cetz:0.2.1" #show: g-exam.with() #g-question(points: 2, points-position: right)[Question 1] #v(5cm) #g-question[ Given the graphs of the following systems of linear equations, Determines by the position of the lines the type of system according to the number of solu...
https://github.com/eneoli/kit-thesis-template
https://raw.githubusercontent.com/eneoli/kit-thesis-template/main/abstract.typ
typst
= Abstract English version. #pagebreak(to: "odd") = Zusammenfassung Deutsche Version.
https://github.com/SnowManKeepsOnForgeting/NoteofModernControlTheory
https://raw.githubusercontent.com/SnowManKeepsOnForgeting/NoteofModernControlTheory/main/Homework/Homework_3.typ
typst
#import "@preview/physica:0.9.3":* #import "@preview/i-figured:0.2.4" + Given representation of state equations and initial condition of a system. $ accent(bold(x),dot) = mat(delim: "[",1,0,0;0,1,0;0,1,2)bold(x) , bold(x)(0) = mat(delim: "[",1;0;1) $ (1)Try to find its state transition matrix by using Lapl...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/reference.typ
typst
Apache License 2.0
#import "counters.typ": theorem-counter, definition-counter, example-counter, exercise-counter, equation-counter #let reference(body) = { show ref: it => { // let eq = math.equation let numbering-style = "1.1" let element = it.element if element == none { return it } if element.func()...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-style_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Empty with multiple page styles. // Should result in a small white page. #set page("a4") #set page("a5") #set page(width: 1cm, height: 1cm)
https://github.com/SkiFire13/master-thesis
https://raw.githubusercontent.com/SkiFire13/master-thesis/master/chapters/background/5-parity-games.typ
typst
#import "../../config/common.typ": * #import "@preview/cetz:0.2.2": canvas, draw == Parity games Parity games @pg_ermeson @pg_zielonka are games with two players, typically denoted by 0 and 1 and referred as the existential and universal players, performed on directed graphs. A token is placed in a position, represen...
https://github.com/LugsoIn2/typst-htwg-thesis-template
https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/abstract/abstract.typ
typst
MIT License
#import "../lib/utils.typ": todo Abstract here! #lorem(100)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/content-02.typ
typst
Other
// Test non-equation math directly in content. #math.attach($a$, t: [b])
https://github.com/xkevio/parcio-typst
https://raw.githubusercontent.com/xkevio/parcio-typst/main/parcio-report/template/template.typ
typst
MIT License
#import "tablex.typ": * #let ovgu-blue = rgb("#0068B4") #let ovgu-darkgray = rgb("#606060") #let ovgu-lightgray = rgb("#C0C0C0") #let ovgu-orange = rgb("#F39100") #let ovgu-purple = rgb("#7A003F") #let ovgu-red = rgb("#D13F58") #let large = 14.4pt #let Large = 17.28pt #let LARGE = 20.74pt #let huge = 24.88pt // Typ...
https://github.com/francescoo22/masters-thesis
https://raw.githubusercontent.com/francescoo22/masters-thesis/main/config/variables.typ
typst
// All reusable variables here #let myLang = "en" #let myName = "<NAME>" #let myMatricola = "2079466" #let myTitle = "Verifying Kotlin Code with Viper\nby Controlling Aliasing" #let myDegree = "Master's Thesis" #let myUni = "Università degli studi di Padova" #let myDepartment = "Department of Mathematics “Tullio Levi-C...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-2/homework14.typ
typst
#import "../template.typ": * #show: project.with( course: "Calculus II", course_fullname: "Calculus (A) II", course_code: "821T0160", title: "Homework #14: 高斯公式 & Stocks 公式", authors: ( ( name: "<NAME>", email: "<EMAIL>", id: "#198", ), ), semester: "Spring-Summer 2024", date:...
https://github.com/cwreed/cv
https://raw.githubusercontent.com/cwreed/cv/main/src/modules/professional.typ
typst
#import "../template.typ": cvEntry #let aquabyte-resume = cvEntry( title: [Machine Learning Engineer], institution: [Aquabyte], date: [June 2022 -- present], location: [New York, NY], description: list( [Developed, optimized, and deployed custom small-object detector model to detect sea lice on sal...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/crossregex/0.1.0/src/crossregex.typ
typst
Apache License 2.0
#import "regex.typ": regex-match #let r3 = calc.sqrt(3) #let hexagon = rotate(30deg, polygon.regular(size: 2em, vertices: 6, stroke: 0.5pt)) #let char-box(ch) = box( width: r3 * 1em, height: 1.5em, align(center + horizon)[ #set text( size: 1.2em, fill: if ch.match(regex("[A-Z]")) != none { ...
https://github.com/a-dixon/typst-template-ieee
https://raw.githubusercontent.com/a-dixon/typst-template-ieee/main/chapters/approach.typ
typst
#import "../template.typ": * = Approach // explain your approach here
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/README.template.md
markdown
MIT License
# fletcher [![Manual](https://img.shields.io/badge/docs-manual.pdf-green)](docs/manual.pdf?raw=true) ```python f"![Version](https://img.shields.io/badge/version-{get_version()}-green)" ``` [![Development version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fgithub.com%2FJollywatt%2Ftypst-fletcher%2Fraw%...
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/packages.typ
typst
#import "@preview/lovelace:0.3.0" #import "@preview/oxifmt:0.2.1" #import "@preview/subpar:0.1.1" #import "@preview/glossarium:0.4.1"
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/draw/brace.typ
typst
#import "@preview/cetz:0.2.2" #import "@local/typkit:0.1.0": * #import "../utils.typ": * // these are not drawing utils #import "shapes.typ" #let segment-decoration( p1, p2, c, fill: none, side: "outside" ) = { let (x1, y1) = p1 let (x2, y2) = p2 let k = 0.1 let stroke = 0.5pt let end1 = sh...
https://github.com/TeddyHuang-00/typpuccino
https://raw.githubusercontent.com/TeddyHuang-00/typpuccino/main/src/mocha.typ
typst
MIT License
#let rosewater = rgb(245, 224, 220) #let flamingo = rgb(242, 205, 205) #let pink = rgb(245, 194, 231) #let mauve = rgb(203, 166, 247) #let red = rgb(243, 139, 168) #let maroon = rgb(235, 160, 172) #let peach = rgb(250, 179, 135) #let yellow = rgb(249, 226, 175) #let green = rgb(166, 227, 161) #let teal = rgb(148, 226, ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/path-01.typ
typst
Other
// Error: 7-9 path vertex must have 1, 2, or 3 points #path(())