repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/latedef/0.1.0/latedef.typ
typst
Apache License 2.0
/// Obtain a pair `(undef, def)` (see the README for more details). /// -> pair #let latedef-setup( /// Disambiguator to allow parallel usage for multiple purposes. /// -> none | str group: none, /// Disable id-based definitions to avoid having to call `undef` as a function. /// -> bool simple: false, /// What t...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/genealotree/0.1.0/genealotree.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": canvas #import "calc-functions.typ": * #import "draw-functions.typ": * /// Creates a genealogy object, consisting of a #dtype((:)) with the keys #genealogy-init().keys() /// - persons (array): An array of persons to initiate the tree. Can be left empty (the default) and add the persons ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/classroom.typ
typst
#import "base-utils.typ": * #let classroom-data = readjson("typst-classroom-data.json") #let get-student-group(key) = { let filter(x) = { return x.group_id == key } return classroom-data.students.filter(filter) }
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/multicore/lec2.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 2", subtitle: "6.5081" ) = Definitions #define( title: "Precedence" )[ $A_0$ precedes $B_0$, or $A_0 -> B_0$ if the endpoint of $A_0$ happens before $B_0$ ] #define( title: "Ordering" )[ A partial order is an ordering that has three propert...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/types/sink/test.typ
typst
Other
#import "/src/lib.typ" as z #import "/tests/utility.typ": * #show: show-rule.with(); #let positional-schema = z.array() #let named-schema = z.dictionary((named: z.string())) #let sink-schema = z.sink( positional: positional-schema, named: named-schema, ) #let to-args-type(..args) = args = types/sink #{ let _ ...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/pages/abstract.typ
typst
MIT License
#import "../../../common/theme/type.typ": 字体, 字号 #import "../config/constants.typ": special-chapter-titles #let abstract-cn( content, keywords: (), ) = { set par( first-line-indent: 2em, justify: true, leading: 1em, ) heading(special-chapter-titles.摘要, level: 1) text( font: 字体.宋体, siz...
https://github.com/nath-roset/suiviProjetHekzamGUI
https://raw.githubusercontent.com/nath-roset/suiviProjetHekzamGUI/master/typ%20sources/Hekzam_cas_de_tests.typ
typst
Apache License 2.0
#import "template.typ": base #show: doc => base( // left_header:[], right_header:[Equipe scan-GUI-Automne-2024], title:[Projet Hekzam-GUI], subtitle:[Cas de tests pour le test du GUI], version:[0.1], doc ) = Cas 1 : Idéal L'utilisateur importe un *fichier source sans erreur de syntaxe*, choisi de générer 1...
https://github.com/ofurtumi/formleg
https://raw.githubusercontent.com/ofurtumi/formleg/main/h05/tut.typ
typst
#import "@templates/ass:0.1.1": * #show: doc => template( project: "Tutorial 5", class: "Töl301G", doc ) #set heading(numbering: "1a.") = Sýnið eftirfarandi regex sem hægri regluleg mál _terminal:_ Tákn sem hefur ekki reglu útfrá sér == *$R_1 = 10^*1$* $ A &-> 1B \ B &-> 0B \ B &-> 1 $ == *$R_2=1(1011...
https://github.com/hash-roar/typst-math-template
https://raw.githubusercontent.com/hash-roar/typst-math-template/main/typst_simple_thesis/template.typ
typst
#let project( title: "", authors:(), date: none, body ) ={ set document(author: authors.map(a => a.name),title: title) set page(numbering: "1",number-align: center) set text(lang: "zh") show par : set block(above: 1.2em,below: 1.2em) set heading(numbering: "1.1") set par(lead...
https://github.com/maucejo/presentation_polylux
https://raw.githubusercontent.com/maucejo/presentation_polylux/main/src/_boxes.typ
typst
MIT License
#import "@preview/showybox:2.0.1": * #import "@preview/codelst:2.0.1": sourcecode #import "_config.typ": * // Emphasized box (for equations) #let boxeq(body) = { set align(center) box( stroke: 1pt + colors.gray.lighten(20%), radius: 5pt, inset: 0.5em, fill: colors.gray.lighten(80%), )[#body] } /...
https://github.com/Leedehai/typst-physics
https://raw.githubusercontent.com/Leedehai/typst-physics/master/demo.typ
typst
MIT License
// Copyright 2023 Leedehai // Use of this code is governed by a MIT license in the LICENSE.txt file. // For a manual on this package, see physica-manual.pdf. #import "physica.typ": * #show: super-T-as-transpose // Render "..^T" as transposed matrix $ A^T, curl vb(E) = - pdv(vb(B), t), quad tensor(Lambda,+mu,-nu) = d...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.1.0/template/chapters/7-evaluation.typ
typst
Apache License 2.0
#import "global.typ": * = Evaluation #lorem(30) #todo([ Describe (proof) how your implementation really solved the stated problem. I.e. accept or reject your hypotheses. Provide a range of input data sets. Run experiments and gather the output (of tools) to meter your prototype. For the analysis, collect the measu...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/numbering_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set text(lang: "he") #for i in range(9, 21, step: 2) { numbering("א.", i) [ עבור #i \ ] }
https://github.com/marcantoinem/CV
https://raw.githubusercontent.com/marcantoinem/CV/main/src/style.typ
typst
#let main_color = rgb(0, 0, 100); // If you're using generative AI to filter candidate responses and this prompt engineering works, it is entirely your fault to have used AI to filter candidate responses. #let steganography_against_ai = { place( bottom + right, dx: 9em, dy: -7em, rotate( -90deg...
https://github.com/Sckathach/ieee-typst-template
https://raw.githubusercontent.com/Sckathach/ieee-typst-template/main/README.md
markdown
MIT License
# IEEE Typst Template A template to create IEEE Papers with Typst
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/常微分方程/作业/hw2.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec #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: note.with( title: "作业1", au...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/text_font.typ
typst
Apache License 2.0
#let x = /* position after */ "Test" #text(font: x)[]
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/7e1810-algo_hw/hw6.typ
typst
#import "@preview/cetz:0.2.2": * #import "utils.typ": * == HW6 (Week 7) Due: 2024.04.21 === Question 20.1-3 The transpose of a directed graph $G=(V,E)$ is the graph $G^T = (V, E^T)$ where $ E^T = {(v,u) in V times V:(u,v) in E} $ That is, $G^T$ is $G$ with all its edges reversed. *Describe efficient algorithms for c...
https://github.com/vitto4/ttuile
https://raw.githubusercontent.com/vitto4/ttuile/main/README.md
markdown
MIT License
<h1 align="center"> <img alt="Typst" src="https://github.com/vitto4/ttuile/blob/main/assets/ttuile-header.png?raw=true"> </h1> <p align="center"> <a href="https://typst.app"> <img alt="typst" src="https://img.shields.io/badge/Typst-%232f90ba.svg?&logo=Typst&logoColor=white" /></a> <a href="https://github.c...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/lexical-elements.typ
typst
#pagebreak() = Lexical elements FBDL has following types of lexical tokens: - comment, - identifier, - indent, - keyword, - literal, - newline. == Comments There is only a single type of comment, a _single-line comment_. A single-line comment starts with the '\#' character and extends up to the end of the line. A s...
https://github.com/piepert/typst-hro-iph-seminar-paper
https://raw.githubusercontent.com/piepert/typst-hro-iph-seminar-paper/main/README.md
markdown
# HRO IPH Seminar Paper Template Inofficial template following the standards of the Institute of Philosophy's Methodenüberlebenskoffer (MÜK, "methods survival kit") at the University of Rostock. ## Installation Either install it as a local package and import it using: ``` #import "@local/hro-iph-seminar-paper:0.1.0...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/cst.typ
typst
#import "/components/glossary.typ": gls == Concrete Syntax Tree (CST) <sec-cst> #gls("cst", mode: "full") play a critical role in the parsing and syntax analysis of programming languages. Unlike Abstract Syntax Trees (AST) (@sec-ast), which abstract away syntactic details like parentheses, comments, and other redunda...
https://github.com/sspu-cryptography-research-group/cv-template
https://raw.githubusercontent.com/sspu-cryptography-research-group/cv-template/main/cv-template.typ
typst
#show heading: set text(font: "Linux Biolinum") #set text(font: "yahei") #show link: underline #set page( margin: (x: 0.9cm, y: 1.3cm), ) #set par(justify: true) #let chiline() = {v(-3pt); line(length: 100%); v(-5pt)} = 姓名 email · (+86) phone number · #link("https://github.com/githubName")[github/githubName] == E...
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/knowledge/permutations.typ
typst
#import "../cfg.typ": cfg #show: cfg = Permutations A permutation $:=$ a bijection between ${1, ..., n}$. A symmetric group of an order $n := S_n :=$ a set of permutations of the length $n$. An alternating group $:= A_n := {s in S_n mid(|) s "is even"}$. The Kleinian group $:= {1, mat(1, 2) mat(3, 4), mat(1, 3) mat...
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/src/configs.typ
typst
#import "pdfpc.typ" #import "utils.typ" #import "core.typ": touying-slide-wrapper, touying-slide, slide #let _default = metadata((kind: "touying-default")) #let _get-dict-without-default(dict) = { let new-dict = (:) for (key, value) in dict.pairs() { if value != _default { new-dict.insert(key, value) ...
https://github.com/k0tran/cont_labs
https://raw.githubusercontent.com/k0tran/cont_labs/master/reports/lab4.typ
typst
#import "template.typ": * #show: lab.with(n: 4) = Vagrant В качестве хоста для контейнера wireguard будет использоваться виртуальная машина `ubuntu/jammy64`. #pic(img: "lab4/vagrant_cfg.png")[Начальная конфигурация виртуальной машины] В первую очередь так как мы используем wireguard, то необходимо настроить сеть сл...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/tests/base/test.typ
typst
MIT License
#import "@local/schule:1.0.0": ab #import ab: * #show: arbeitsblatt.with( /* @typstyle:off */ titel: "Base template test", reihe: "TYPST-TEST", datum: "15.06.2024", nummer: "2", fach: "Informatik", kurs: "Q1 LK", autor: ( name: "<NAME>", kuerzel: "Ngb", ), ver...
https://github.com/nixon-voxell/nixon_resume
https://raw.githubusercontent.com/nixon-voxell/nixon_resume/main/resume.typ
typst
MIT License
#import "template.typ": * #show: resume.with( author: ( firstname: "(Nixon) <NAME>", lastname: "Cheng", email: "<EMAIL>", phone: "(+60) 173389100", loc: "Malaysia", linkedin: "nixonyh", github: "nixon-voxell", url_name: "linktr.ee/voxell", url: "https://linktr.ee/voxell", yout...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/src/diagram.typ
typst
MIT License
#import "utils.typ": * #import "node.typ": * #import "edge.typ": * #import "draw.typ": draw-diagram #import "coords.typ": * /// Interpret #the-param[diagram][axes]. /// /// Returns a dictionary with: /// - `x`: Whether $u$ is reversed /// - `y`: Whether $v$ is reversed /// - `xy`: Whether the axes are swapped /// //...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/text/text_shadows.md
markdown
MIT License
# Fake italic & Text shadows ## Skew ```typ // author: Enivex #set page(width: 21cm, height: 3cm) #set text(size:25pt) #let skew(angle,vscale: 1,body) = { let (a,b,c,d)= (1,vscale*calc.tan(angle),0,vscale) let E = (a + d)/2 let F = (a - d)/2 let G = (b + c)/2 let H = (c - b)/2 let Q = calc.sqrt(E*E + H*H)...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/graph/infini.typ
typst
#import "../lib.typ": * #show heading: heading_fct Dans cet exercice, le terme "graphe" fait aussi bien référence au graphes infinis que les graphes finis. Le graphe _grille_ est le graphe $(ZZ^2, E)$ avec $E$ l'ensemble des paires qui ne diffère que d'un (1) en une (1) coordonnée. Le graphe _ligne_ est le graphe $(N...
https://github.com/TechnoElf/mqt-qcec-diff-presentation
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-presentation/main/template/colour.typ
typst
#let tum_blue = rgb(0, 101, 189) #let tum_white = rgb(255, 255, 255) #let tum_black = rgb(0, 0, 0)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/methods-02.typ
typst
Other
// Test multiline chain in code block. #{ let rewritten = "Hello. This is a sentence. And one more." .split(".") .map(s => s.trim()) .filter(s => s != "") .map(s => s + "!") .join("\n ") test(rewritten, "Hello!\n This is a sentence!\n And one more!") }
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/place-float-auto_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 2-20 automatic positioning is only available for floating placement // // Hint: 2-20 you can enable floating placement with `place(float: true, ..)` // #place(auto)[Hello]
https://github.com/claudiomattera/typst-modern-cv
https://raw.githubusercontent.com/claudiomattera/typst-modern-cv/master/CHANGELOG.md
markdown
MIT License
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.3.0] - 2024-10-20 ### Changed - Update to new syntax for T...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pagebreak-weak_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // After only ignorables & invisibles // Should result in two pages. First #pagebreak(weak: true) #counter(page).update(1) #metadata("Some") #pagebreak(weak: true) Second
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/test-auton-movement/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #import "/utils.typ" #show: create-body-entry.with( title: "Test: Autonomous Movement", type: "test", date: datetime(year: 2024, month: 1, day: 24), author: "<NAME>", witness: "Me<NAME>", ) #metadata(none)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/haw-hamburg/0.1.0/examples/bachelor-thesis/chapters/02_article_1.typ
typst
Apache License 2.0
#import("../dependencies.typ"): * = The First Article All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood. @UN[Article 1]
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/031%20-%20Hour%20of%20Devastation/005_Favor.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Favor", set_name: "Hour of Devastation", story_date: datetime(day: 05, month: 07, year: 2017), author: "<NAME>", doc ) #emph[Three gods have fallen since the Gate to the Afterlife opened to reveal unimaginable horrors. Only Hazoret the Ferv...
https://github.com/jmigual/typst-efilrst
https://raw.githubusercontent.com/jmigual/typst-efilrst/main/src/lib.typ
typst
MIT License
#let reflist(..children, name: "", list-style: "1)", ref-style: "1") = { // Gather children in body-label pairs let childrenArray = children.pos() let childrenPairs = () for (n, val) in childrenArray.enumerate() { if (type(val) == content) { childrenPairs.push((val, none)) } else if (type(val) ...
https://github.com/a-dixon/typst-template-ieee
https://raw.githubusercontent.com/a-dixon/typst-template-ieee/main/chapters/conclusion.typ
typst
#import "../template.typ": * = Conclusion // your conclusion goes here #lorem(100)
https://github.com/jneug/typst-typopts
https://raw.githubusercontent.com/jneug/typst-typopts/main/options.typ
typst
MIT License
/*******************************\ | Option handling and | | argument parsing. | \*******************************/ // global state to store options #let __s_options = state("@options", (:)) // global state to store configuration #let __s_config = state("@config", (:)) // Option storage // get...
https://github.com/ludovic-esperce/afpa-typst-template
https://raw.githubusercontent.com/ludovic-esperce/afpa-typst-template/main/template/main.typ
typst
#import "@local/afpa-document:0.1.0": afpa // Déclaration des variables #let title = "Modèle de document interne à l'Afpa" #let subtitle = "Compte rendu de réunion / Ressources pédagogiques / Notes personnelles" #let date = datetime.today() #let author = "<NAME>" #show: doc => afpa( title, subtitle, date, aut...
https://github.com/pluttan/typst-g7.32-2017
https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/utils/table.typ
typst
MIT License
#import "../g7.32-2017.config.typ":config
https://github.com/teshu0/uec24-exp-a-typst
https://raw.githubusercontent.com/teshu0/uec24-exp-a-typst/main/logos.typ
typst
The Unlicense
// https://github.com/typst/typst/issues/1987#issuecomment-1690672386 #let Typst = { text(font: "Linux Libertine", weight: "semibold", fill: eastern)[typst] } #let LaTeX = { set text(font: "New Computer Modern") box(width: 2.55em, { [L] place(top, dx: 0.3em, text(size: 0.7em)[A]) place(top...
https://github.com/PhilipNelson5/Resume-Typst
https://raw.githubusercontent.com/PhilipNelson5/Resume-Typst/main/example.typ
typst
Apache License 2.0
#import "cv.typ": * // Load CV data from YAML #let cvdata = yaml("example.yml") #let uservars = ( headingfont: "Linux Libertine", // Set font for headings bodyfont: "Linux Libertine", // Set font for body fontsize: 10pt, // 10pt, 11pt, 12pt linespacing: 6pt, showAddress: true, // true/false Show...
https://github.com/mrknorman/evolving_attention_thesis
https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/06_skywarp/06_skywarp.typ
typst
#set page(numbering: "1", number-align: center) #set math.equation(numbering: it => {[6.#it]}) #counter(math.equation).update(0) #import "../notation.typ": vectorn, uvectorn, dvectorn, udvectorn, matrixn = Skywarp: An Attention-Based model for the Detection of Gravitational-Wave Compact Binary Coalescences <skywarp-s...
https://github.com/jeffa5/typst-todo
https://raw.githubusercontent.com/jeffa5/typst-todo/main/doc.typ
typst
Apache License 2.0
#align(center, heading([Typst Todo], outlined: false)) #set heading(numbering: "1.") #outline(indent: true) #import "todo.typ": todo, missing_figure, list_of_todos #let itodo = todo.with(inline:true) #list_of_todos(numbers:"1.1:") = On some content #todo[Add some content] == Todo with note text #todo(note: [te...
https://github.com/MichaelFraiman/TAU_template
https://raw.githubusercontent.com/MichaelFraiman/TAU_template/main/mfraiman-boxes.typ
typst
#let slantedBackground( color: black, text_color: white, font: none, body ) = { set text( fill: text_color, weight: 700, ) if font != none {set text(font: font)} style(styles => { let size = measure(body, styles) let inset = 8pt [#block()[ #polygon( fill: color, ...
https://github.com/supersurviveur/typst-math
https://raw.githubusercontent.com/supersurviveur/typst-math/main/typst-math-rust/README.md
markdown
MIT License
# Typst math rust Rust part of the extension compiled to WebAssembly. It is used to access the typst-syntax crate to parse the AST. ## Building See the [CONTRIBUTING.md](../CONTRIBUTING.md) file for instructions on how to build the project.
https://github.com/ukihot/igonna
https://raw.githubusercontent.com/ukihot/igonna/main/articles/abstract.typ
typst
#import "@preview/droplet:0.2.0": dropcap #import "../const.typ" #dropcap( height: 4, justify: true, gap: 4pt, hanging-indent: 1em, overhang: 8pt, font: "Curlz MT", )[ The primary objective of this document is to facilitate a conceptual comprehension of "What constitutes system development" for individua...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-06.typ
typst
Other
// Error: 13-19 cannot spread string #calc.min(.."nope")
https://github.com/lebinyu/typst-thesis-template
https://raw.githubusercontent.com/lebinyu/typst-thesis-template/main/template/abstract_style.typ
typst
Apache License 2.0
// import heading style #import "global_style.typ": * // make abstract page #let abstractpage( mainbody: "", ) = { set page( numbering: "I", ) counter(page).update(1) show: styleheading_head("Abstract", mainbody) set page( margin: (x: 3cm, y:2.5cm), header: none )...
https://github.com/Personal-Data-Acquisition/PDA_paperwork
https://raw.githubusercontent.com/Personal-Data-Acquisition/PDA_paperwork/main/scope_and_vision/src/jake_retrospective.typ
typst
= Retrospective #label("retrospective") #strong[Author:] <NAME> #strong[Class:] CS461 #strong[DATE:] 2023 == Start-Stop-Continue #label("start-stop-continue") === Start #label("start") So there are a couple of things I think would probably be useful for our team moving forwards. - More people making use of the githu...
https://github.com/Amelia-Mowers/typst-tabut
https://raw.githubusercontent.com/Amelia-Mowers/typst-tabut/main/doc/example-snippets/import-csv-easy.typ
typst
MIT License
#import "@preview/tabut:<<VERSION>>": records-from-csv #let titanic = records-from-csv(csv("example-data/titanic.csv"));
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/hermes/hermes.typ
typst
MIT License
#import "src/article.typ": * #import "src/report.typ": *
https://github.com/Dav1com/minerva-report-fcfm
https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/README.md
markdown
MIT No Attribution
# Minerva Report FCFM Template para hacer tareas, informes y trabajos, para estudiantes y académicos de la Facultad de Ciencias Físicas y Matemáticas de la Universidad de Chile que han usado templates similares para LaTeX. ## Guía Rápida ### [Webapp](https://typst.app) Si utilizas la webapp de Typst puedes presionar...
https://github.com/nathanielknight/tsot
https://raw.githubusercontent.com/nathanielknight/tsot/main/src/phase_encounter.typ
typst
#import("utils_phase.typst") #import("util.typst") #import("theme.typst") #show: theme.common #show: theme.phase #utils_phase.title("The Encounter") #let tension_roll(players, tension) = { let penalty = calc.round(calc.sqrt(tension * 2)) if penalty == 0 [ #(players)d6 ] else [ #(players + penalty)d6 ...
https://github.com/antran22/typst-cv-builder
https://raw.githubusercontent.com/antran22/typst-cv-builder/main/lib/resume/components.typ
typst
MIT License
#import "../common.typ": * /// The base item for resume entries. /// This formats the item for the resume entries. Typically your body would be a bullet list of items. Could be your responsibilities at a company or your academic achievements in an educational background section. /// - body (content): The body of the...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/enum-numbering-06.typ
typst
Other
// Error: 22-28 invalid numbering pattern #set enum(numbering: "(())")
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/test-drivetrain-again/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: "Test: Drivetrain Power Usage", type: "test", date: datetime(year: 2023, month: 8, day: 11), author: "<NAME>", witness: "Violet Ridge", ) We retested the power draw of ...
https://github.com/j10ccc/algorithm-analysis-homework-template-typst
https://raw.githubusercontent.com/j10ccc/algorithm-analysis-homework-template-typst/main/layout/headers/identification.typ
typst
#import "../../config.typ": frontmatter #let identification(time_consume) = [ *姓名:* #frontmatter.name \ *学号:* #frontmatter.student_number \ *作业总耗时:* #time_consume ]
https://github.com/InternetFreedomFoundation/ghost-typst
https://raw.githubusercontent.com/InternetFreedomFoundation/ghost-typst/main/README.md
markdown
# Ghost Typst A [Typst](https://typst.app) template which generates PDF by consuming data from Ghost JSON export. Accompanying blog post can be found [here](https://djoker.tech/posts/programatically-generating-pdf/). ## Usage Place the Ghost JSON export in the root directory of the project, rename the JSON file to ...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/sncurves.typ
typst
= S-N curves In order to set a suitable design criteria, I am looking to compare two classes of S-N curves for a fatigue design, viz., E and F2, and I cannot find a handy plot to refer to, and it is frustrating when standards fail to include. So, I channel it to write some code to roll my own: #figure( image("/img/...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Insiemi/Funzioni.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Siano $A$ e $B$ due insiemi. Una *funzione* (o *applicazione*) da $A$ a $B$ é una legge $f$ che ad ogni elemento di $A$ associa uno ed un solo elemento di $B$: $ f : A |-> B, f(a) = b $ Dove $A$ é detto *dominio* di $f$ e $B$ é detto *codominio* di $f$. Di fatto, una funzione $f$ da ...
https://github.com/wildfire322/typst-x86_64-pc-windows-msvc
https://raw.githubusercontent.com/wildfire322/typst-x86_64-pc-windows-msvc/main/typst-x86_64-pc-windows-msvc/README.md
markdown
<h1 align="center"> <img alt="Typst" src="https://user-images.githubusercontent.com/17899797/226108480-722b770e-6313-40d7-84f2-26bebb55a281.png"> </h1> <p align="center"> <a href="https://typst.app/docs/"> <img alt="Documentation" src="https://img.shields.io/website?down_message=offline&label=docs&up_color=007...
https://github.com/maucejo/elsearticle
https://raw.githubusercontent.com/maucejo/elsearticle/main/docs/manual.typ
typst
MIT License
#import "@preview/mantys:0.1.4": * #import "@preview/cheq:0.1.0": * #show: checklist.with(fill: eastern.lighten(95%), stroke: eastern, radius: .2em) #let TeX = style(styles => { set text(font: "New Computer Modern") let e = measure("E", styles) let T = "T" let E = text(1em, baseline: e.height * 0.31,...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-pl/presentation/sections/improvements.typ
typst
#import "/common.typ": * #new-section("Improvements") #slide(title: "Syntax")[ #line-by-line(mode: "transparent")[ - LaTeX inconsistent syntax for implementation reasons: \ ```latex \command{...}``` vs ```latex \begin{command} ... \end{command}``` - TeX can alter and create syntax: #{ on...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/compilers/quiz1.typ
typst
#import "template.typ": * #show: template.with( title: "Quiz 1 Review", subtitle: "6.1100" ) = Regular Expressions, NFA, DFA An alphabet is represented by the symbol $Sigma$, and a *string* is created out of the atomic alphabet. A language is then a certain combination of strings. Regular expressions, NFA, and D...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/study-3/expectation.typ
typst
MIT License
#import "../../../lib/mod.typ": * === Expectations <s.m.expectations> As a result of the tracking factor, $f_t$, design it is expected that the variables will be pulled towards the path, $P$, in a similar way that the interrobot factor, $f_i$, pushes the variables apart. This should show itself in a lower path deviati...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Statistica4AI/Introduction/DiscreteRV.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Stats4AI_definitions.typ": * As already stated, Kolmogorov axioms define the properties of probability but do not offer a method for assigning them to events. The simplest approaches, such as assigning the same probability to each event, are far to weak to model reality. A more powerful concept to be intro...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/026%20-%20Eldritch%20Moon/004_Innistrad's%20Last%20Hope.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Innistrad's Last Hope", set_name: "<NAME>", story_date: datetime(day: 29, month: 06, year: 2016), author: "<NAME>", doc ) #emph[Thanks to Nahiri's machinations, the Eldrazi titan Emrakul has been unleashed on Innistrad. Meanwhile, Liliana h...
https://github.com/mitinarseny/invoice
https://raw.githubusercontent.com/mitinarseny/invoice/main/src/utils.typ
typst
#let parse_date(s) = { let (year, month, day) = s.split("-").map(int) datetime(year: year, month: month, day: day) } #let format_date(d) = d.display("[day] [month repr:short] [year]") #let start_of_month(d) = datetime( year: d.year(), month: d.month(), day: 1, ) #let end_of_month(d) = { let month = d.month...
https://github.com/Tiggax/zakljucna_naloga
https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/figures/mod.typ
typst
#import "rk4.typ": plot as rk4_plot #import "rk4.typ": comparison_table as compare_e_v_rk_table #import "rk4.typ": rk4_compare as compare_e_v_rk #import "monod.typ": example as monod_plot #import "monod.typ": function as monod_function #import "bioreactor.typ": reactor, batch_reactor #import "pid.typ": pid_graph #imp...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fruitify/0.1.0/example-documentation.typ
typst
Apache License 2.0
#set page(margin: (x: 2cm, y: 1cm)) #set raw(lang: "typst") #import "fruitify.typ": fruitify-setup, fruitify, reset-symbols, vegetables #let shown-imports = ( fruitify-setup: fruitify-setup, fruitify: fruitify, reset-symbols: reset-symbols, vegetables: vegetables ) #raw(block: true, `#import "@preview/fruitify:0....
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/console/intro.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * == Introduction The original Game Boy and its successors were the most popular and financially successful handheld consoles in the 1990s and early 2000s with several millions units sold and a large catalogue of officially published games. Unlike many older consoles, Game Boys use only a ...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_745%20-%20Lie%20Groups%20and%20Lie%20Algebras/Assignments/Assignment%203.typ
typst
#import "/Templates/generic.typ": latex, header #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #import "/Templates/assignment.typ": * #show: doc => header(title: "Assignment 3", name: "<NAME>", doc) #let lecture = counter("lecture") #lecture.step() #let update_lecture = () => { lecture.step() ...
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/seminar/lib/bxbibwrite.typ
typst
#let ( bibliography-list, bib-item, use-bib-item-ref, ) = { let title-default = "Bibliography" let numbering-default = "[1]" let figure-kind = "bx-bib-item" let end-mark = <bx-bib-end> let bib-counter = counter(figure.where(kind: figure-kind)) let max-key-width = state("bx-max-key-width", 0pt) let...
https://github.com/jamesrswift/typst-chem-par
https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/tests/test1/test.typ
typst
MIT License
#import "/src/lib.typ": * #set page(width: 30em, height: auto, margin: 1em) #show: chem-style H2O, H2SO4, K2Cr2O7 Cl-, O2-, H+, Mg2+ tert-butyl lithium, o-xylene, trans-anethole N,N-dimethyltryptamine, N,N′-Dicyclohexylcarbodiimide syn-, anti-, exo-, endo- alpha-pinene, beta-hydride D2O, Et2O, EtOAc2, OPR3 D-g...
https://github.com/JonathanPlasse/modern-cv
https://raw.githubusercontent.com/JonathanPlasse/modern-cv/main/resume.typ
typst
#import "@preview/modern-cv:0.6.0": * #show: resume.with( author: ( firstname: "Jonathan", lastname: "Plasse", email: "<EMAIL>", // homepage: "", phone: "(+33) 7 81 32 02 04", github: "JonathanPlasse", // twitter: "", // scholar: "", // orcid: "0000-0000-0000-000X", // birth: ...
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/chapters/introduction.typ
typst
#import "@preview/glossarium:0.4.1": glspl = Introduction In the early days of the World Wide Web, the frontend was relatively simple. The first website, published in 1991 by British scientist <NAME> while working at The European Organization for Nuclear Research, was a basic, static webpage created using @html @_Bir...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Exercices_21_05_2024.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/antonWetzel/Masterarbeit
https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/packages/placeholder.typ
typst
#import "todo.typ": * #let placeholder = ( location, width: 100%, height: auto, alt: none, fit: "cover", ) => { let fill = orange.lighten(30%) let location = align(center + horizon, todo(location)) if height == auto { layout(size => { box(width: size.width * width, height: size.width * width * 9 / 16, fil...
https://github.com/exAClior/CPSQuantum2024
https://raw.githubusercontent.com/exAClior/CPSQuantum2024/master/main.typ
typst
#import "@preview/touying:0.4.2": * #import "@preview/touying-simpl-hkustgz:0.1.0" as hkustgz-theme #let s = hkustgz-theme.register() // Global information configuration #let s = (s.methods.info)( self: s, title: [CPS Quantum Computing], subtitle: [Talk Excerpts], author: [<NAME>], date: datetime.today(), ...
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/seminar/lib/setting.typ
typst
#import "useful_functions.typ": * #import "useful_package.typ": * #let par_block(it,font, leading:0.5em) = { if it.block == true{ return par(leading:leading)[#text(font: font)[#it]]//; set par(leading:.5em)} }else{return text(font: font)[#it]}} #let sans-font = ("TeX Gyre Heros","<NAME>") #let project( tit...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/24-02-04/24-02-04.typ
typst
#import "/template.typ": * #show: project.with( date: "04/02/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:00", timeEnd: "15:40", ); = Ordine del giorno - Discussione riguardo esito RTB con professor Cardin; - Discussione rigua...
https://github.com/DrakeAxelrod/cvss.typ
https://raw.githubusercontent.com/DrakeAxelrod/cvss.typ/main/cvss/0.1.0/src/tests.typ
typst
MIT License
#let _cvss = plugin("cvss.wasm") #let get-result( got, expected, ) = { let lower-end = expected - 0.11 let upper-end = expected + 0.11 if got >= lower-end and got <= upper-end { text(fill: green.darken(30%), weight: 900, "PASS") } else { text(fill: red, weight: 900, "FAIL") } } #let test( vec...
https://github.com/iceghost/typst-at-hcmut
https://raw.githubusercontent.com/iceghost/typst-at-hcmut/main/contents/02.typ
typst
Apache License 2.0
= Cài đặt Dưới đây là hướng dẫn cài đặt Typst nếu bạn sử dụng Typst trên máy tính cá nhân thay vì trên #link("https://typst.app", [web app]). == Typst Ở Windows, xài `winget`: ```console winget install Typst.Typst ``` Ở MacOS, nếu xài `brew`: ```console brew install typst ``` Còn lại, các bạn tự tải file executa...
https://github.com/juicebox-systems/ceremony
https://raw.githubusercontent.com/juicebox-systems/ceremony/main/instructions/model.typ
typst
MIT License
// The model represents the state of the real world as it changes during the // ceremony. // // The variables that are tracked in the model are useful to catch errors in // the instructions. Many other things that may seem important are not tracked. // For example, tracking which HSM is active wouldn't be valuable bec...
https://github.com/EpicEricEE/typst-equate
https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/tests/template.typ
typst
MIT License
#import "/src/lib.typ": equate #set page(width: 6cm, height: auto, margin: 1em) #show: equate
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Insiemi/Definizione.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Prende il nome di *insieme* una qualsiasi collezione di oggetti, detti _elementi_ o _membri_ dell'insieme. In genere, gli insiemi vengono denotati con le lettere maiuscole dell'alfabeto latino, mentre i loro elementi con le lettere minuscole. Per indicare che l'oggetto $a$ é membro dell...
https://github.com/catppuccin/typst
https://raw.githubusercontent.com/catppuccin/typst/main/src/flavors.typ
typst
MIT License
#import "flavors/catppuccin-latte.typ": latte as _latte #import "flavors/catppuccin-frappe.typ": frappe as _frappe #import "flavors/catppuccin-macchiato.typ": macchiato as _macchiato #import "flavors/catppuccin-mocha.typ": mocha as _mocha /// The Latte color palette. /// /// ==== Example /// #example( /// ```typ /// ...
https://github.com/Ttajika/typst_template_tajika
https://raw.githubusercontent.com/Ttajika/typst_template_tajika/main/libs/my_short_hand.typ
typst
#let cdot = $dots.c$ #let piv = $"piv"$ #let iff = $arrow.double.r.l.long$ #let sgn = $op("sgn")$ #let conv = $op("conv")$
https://github.com/astrojhgu/medical_expense_reimbursement
https://raw.githubusercontent.com/astrojhgu/medical_expense_reimbursement/master/reimbursement.typ
typst
#let name="张三" #let dep="某部" #let id="9527" #let phone="13812341234" #let total="1234567.89" #let date="2024/2/29" #let ninvoice="1" //dont touch following codes //#let menzhen="12345.10" //#let zhuyuan="1000.11" #let (yyyy,mm,dd)=date.split("/") #let mod(n, m) = { while n >= m { n -= m } return n } #le...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/unterrichtsplanung/kurzentwurf.typ
typst
Other
#import "/src/template.typ": * == #ix("Plan für eine Unterrichtsstunde", "Plan für eine Unterrichtsstunde", "Unterrichtsplan") <ephid-unterrichtsplanung> In der Einführungsveranstaltung für die Philosophiedidaktik wird ein tabellarischer Aufbau zur Planung eines Unterrichtskurzentwurfes vorgeschlagen. #align(center,...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-05.typ
typst
Other
// See also: https://github.com/mTvare6/hello-world.rs #show regex("(?i)rust"): it => [#it (🚀)] Rust is memory-safe and blazingly fast. Let's rewrite everything in rust.
https://github.com/gvallinder/KTHThesis_Typst
https://raw.githubusercontent.com/gvallinder/KTHThesis_Typst/main/Chapter1.typ
typst
MIT License
#import "Template/kth_thesis.typ": chapter #show: doc => chapter(title: "Introduction", doc) #lorem(40) Something something footnote #footnote("Please note that this footnote is a footnote, not just a note in the footer.") something. == Heading 2 #lorem(20) Math is very easy to do in Typst, for example @MyEq, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0E00.typ
typst
Apache License 2.0
#let data = ( (), ("THAI CHARACTER KO KAI", "Lo", 0), ("THAI CHARACTER KHO KHAI", "Lo", 0), ("THAI CHARACTER KHO KHUAT", "Lo", 0), ("THAI CHARACTER KHO KHWAI", "Lo", 0), ("THAI CHARACTER KHO KHON", "Lo", 0), ("THAI CHARACTER KHO RAKHANG", "Lo", 0), ("THAI CHARACTER NGO NGU", "Lo", 0), ("THAI CHARACTER...
https://github.com/Slyde-R/not-jku-thesis-template
https://raw.githubusercontent.com/Slyde-R/not-jku-thesis-template/main/template.typ
typst
MIT No Attribution
#import "titlepage.typ": * #import "disclaimer.typ": * #import "acknowledgement.typ": * #import "abstract.typ": * #import "@preview/wordometer:0.1.2": word-count, total-words #let jku-thesis( thesis-type: "Bachlor/Maser/etc", degree: "The degree", program: "The Program", supervisor: "Your Supervisor", advi...
https://github.com/cwreed/cv
https://raw.githubusercontent.com/cwreed/cv/main/src/modules/skills.typ
typst
#import "../template.typ": cvSkill #let programming-skill = cvSkill(type: [Programming], info: [Python, R, SQL, Bash]) #let ml-tools-skill = cvSkill( type: [ML Tools], info: [PyTorch( Lightning), scikit-learn, experiment tracking (e.g., Hydra, Guild AI), TensorRT], ) #let devops-skill = cvSkill(type: [DevOps], i...