repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/piepert/logik-tutorium-wise2024-2025
https://raw.githubusercontent.com/piepert/logik-tutorium-wise2024-2025/main/src/templates/slides.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/grape-suite:1.0.0": slides #import slides: * #import "/src/packages/inference.typ": * #let slides = slides.with( series: "Logik-Tutorium", author: [<NAME>], outline-title-text: [Ablauf], box-example-title: [Beispiel], box-hint-title: [Hinweis], box-notice-title: [Achtung], ...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/章节/下半学期.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. = 赋值环|Valuation ring == 全序阿贝尔群 #definition[][ 称一个阿贝尔群全序,如果其上有全序且满足: $ r <= r' => a r <= a r' $ 两个全序阿贝尔群之间的同态是保持序关系的群同态 ] #examp...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/examples/wiggly-doc.typ
typst
MIT License
#import "/src/tidy.typ": * #import "wiggly.typ" #let docs = parse-module( read("/examples/wiggly.typ"), name: "wiggly", scope: (wiggly: wiggly), preamble: "import wiggly: *;" ) #show-module(docs, style: styles.minimal)
https://github.com/isaacholt100/isaacholt100.github.io
https://raw.githubusercontent.com/isaacholt100/isaacholt100.github.io/master/maths-notes/2-durham%3A-year-2/dssc/dssc.typ
typst
#import "../../template.typ": template #show: template = Introduction - $29$ - By Central Limit Theorem, if sample $(x_1, ..., x_n)$ with each $X_i tilde.op D(mu, sigma^2)$ ($D$ is some distribution) then as $n -> oo$, $ overline(X) tilde.op N(mu, sigma^2 / n) $ So distribution of sample mean always tends to normal d...
https://github.com/OverflowCat/astro-typst
https://raw.githubusercontent.com/OverflowCat/astro-typst/master/README.md
markdown
# `astro-typst` An Astro Integration that lets you render Typst within Astro. <img src="https://github.com/user-attachments/assets/613eaf8e-53da-4cf0-bbaa-f32592d7f742" alt="Demo" width="400" /> ## Features - [x] Import packages in [Typst Universe](https://typst.app/universe/) - [x] `import` / `include` / `read` fi...
https://github.com/KrisjanisP/lu-icpc-notebook
https://raw.githubusercontent.com/KrisjanisP/lu-icpc-notebook/main/8-other.typ
typst
= I'm running out of time == Simulated annealing ```cpp const ld T = (ld)2000; const ld alpha = 0.999999; // (new_score - old_score) / (temperature_final) ~ 10 works well const ld L = (ld)1e6; ld small_rand(){ return ((ld)gen(L))/L; } ld P(ld old, ld nw, ld temp){ if(nw > old) return 1.0; return exp((nw-old)/t...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/math/vector.typ
typst
The Unlicense
/// Returns a new vector of dimension `dim` with all fields set to `init` (defaults to 0). /// /// - dim (int): Vector dimension /// - init (float): Initial value of all fields /// -> vector #let new(dim, init: 0) = { return range(0, dim).map(x => init) } /// Returns the dimension of a vector. /// /// - v (vector):...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/name-it/0.1.0/example.typ
typst
Apache License 2.0
#import "./name-it.typ": name-it #set page(width: auto, height: auto, margin: 1cm) - #name-it(-5) - #name-it(-5, negative-prefix: "minus") - #name-it(0) - #name-it(1) - #name-it(10) - #name-it(11) - #name-it(42) - #name-it(100) - #name-it(110) - #name-it(1104) - #name-it(11040) - #name-it(11000) - #name-it(110000) - ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-bidi_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that consecutive, embedded RTL runs stay RTL. // Here, we have three runs: "גֶ", bold "שֶׁ", and "ם". #let content = par[Aגֶ#strong[שֶׁ]םB] #set text(font: ("Linux Libertine", "Noto Serif Hebrew")) #text(lang: "he", content) #text(lang: "de...
https://github.com/rlpundit/typst
https://raw.githubusercontent.com/rlpundit/typst/main/Typst/fr-Rapport/Rapport-PFE.typ
typst
MIT License
// RAPPORT PFE #import "Class.typ": * #import "common/metadata.typ": * #import "Title-page.typ": * #import "@preview/colorful-boxes:1.2.0": outlinebox #set document(author: author, title: title, keywords: motscles, date: auto) #show: report.with( title: title, diploma: diploma, program: program, supervisor:...
https://github.com/jackjohn7/xlsx_typst
https://raw.githubusercontent.com/jackjohn7/xlsx_typst/main/README.md
markdown
# XLSX to Typst Figure This is a tool I'm personally using for writing my lab reports. It needs to be cleaned up and is missing some features, but it's working for my basic needs. ## How to use 1. Copy your cells that you want to bring into Typst 2. Execute `python3 main.py` 3. Copy the output 4. Paste into Typst do...
https://github.com/Miunn/Typst-Template
https://raw.githubusercontent.com/Miunn/Typst-Template/master/template/template.typ
typst
#let cover( title: [Title], subTitle: [Subtitle], authors: (), imagePath: "no-image.png", professor: none, semester: none, ) = { let curr_month = datetime.today().month() let curr_year = datetime.today().year() set page( header: align( end, grid( columns: (auto, a...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/4.PluginsYScriptingV2.typ
typst
#import "@preview/sourcerer:0.2.1": code A la hora de crear un videojuego, existen varias estrategias a la hora de diseñar la arquitectura de software. Existe la posibilidad de programar el comportamiento del juego de forma directa, sin embargo esto resulta en un sistema difícil de modificar y reutilizar. Debido a est...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/infer_stroke_dict.typ
typst
Apache License 2.0
#text(stroke: ( paint: black, thickness: 1pt, ))[]
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/scripting/braces.md
markdown
MIT License
# Braces, brackets and default ## Square brackets You may remember that square brackets convert everything inside to *content*. ```typ #let v = [Some text, _markup_ and other #strong[functions]] #v ``` We may use same for functions bodies: ```typ #let f(name) = [Hello, #name] #f[World] // also don't forget we can use ...
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/early_season/trouble_shoot_drive.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/templates/entries.typ": * #import "/templates/headers.typ": * #import "/templates/text.typ": * #create_default_entry( title: [Drive Train Issues], date: [September 29th, 2023], witness: [Gabe], design: [Deb], content: [ #box_header( title: [Omni Wheels], co...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/g-exam/0.3.0/README.md
markdown
Apache License 2.0
# g-exam This template provides a way to generate exams. You can create questions and sub-questions, header with information about the academic center, score box, subject, exam, header with student information, clarifications, solutions, watermark with information about the exam model and teacher. #### Features - ...
https://github.com/FriendlyUser/IntroductionToTypst
https://raw.githubusercontent.com/FriendlyUser/IntroductionToTypst/main/main.typ
typst
Apache License 2.0
#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: resume.with( title: "New Grad Resume", location: "Vancouver, BC", postalCode: "V5Y 1V4", phoneNumber: "(604) 873-7000", email: "<EMAIL>", experiences: ( ...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/src/sol-bravo.typ
typst
MIT License
#import "@local/evan:1.0.0":* = Solutions to Part Bravo == Solution to @exer-basis-birthday Neither vector is zero, and for almost everyone the two vectors won't be a multiple of each other. So for most people the answer is that the span is *all of $RR^2$*. In order to find a K-pop idol whose two vectors are linear...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/covers/oktoich/H12_GR.typ
typst
#set text(font: "<NAME>", weight: "semibold", lang: "gr", fill: black) #set page(header: "", footer: "") #import "/style.typ": * #align(center)[#text(80pt)[#primText[☦]]] #align(center)[#primText[ #text(60pt)[ΟΚΤΩΗΧΟΣ]\ \ \ \ \ \ ]] #align(center)[#secText[ #text(50pt)[Ήχος α'‑β']\ ]]\ #align(cente...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/bibliography.typ
typst
// Test citations and bibliographies. --- bibliography-basic --- #set page(width: 200pt) = Details See also @arrgh #cite(<distress>, supplement: [p.~22]), @arrgh[p.~4], and @distress[p.~5]. #bibliography("/assets/bib/works.bib") --- bibliography-before-content --- // Test unconventional order. #set page(width: 200pt...
https://github.com/chendaohan/bevy_tutorials_typ
https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/17_window_properties/window_properties.typ
typst
#set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3") #set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei") #set raw(theme: "themes/Material-Theme.tmTheme")
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/经济学原理/hw/hw4.typ
typst
#import "../../template.typ": * #show: note.with( title: "作业3", author: "YHTQ ", date: none, logo: none, withOutlined: false ) #set heading(numbering: none) = 一、 1. D $ E_p = elasticity(P, Q) = elasticity(P, 10 / P) \ = -(10 / P^2) / (10 / P^2) = - 1 $ 2. B 偏好与收入无关 3. A #align(c...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/docs/src/introduction.md
markdown
The Unlicense
# Introduction Welcome to the documentation for the notebookinator, a Typst package meant to simplify the notebooking process for the Vex Robotics Competition. Its theming capabilities handle all of the styling for you, letting you jump right into writing documentation. While it was designed with VRC in mind, it coul...
https://github.com/Cheng0Xin/typst-libs
https://raw.githubusercontent.com/Cheng0Xin/typst-libs/master/semantics/test.typ
typst
#import "@local/note:1.0.0": * #import "semantics.typ": * #let pr = sym.tack.r // For debuging #let printit(x) = style(s => { let res = cons-obj(x, s) res }) #let x = ( label: tt[contract], up: ( up: ( label: tt[$->$-E], up: ( ( label: tt[Id], up: [], ...
https://github.com/andymeneely/examify.typst
https://raw.githubusercontent.com/andymeneely/examify.typst/master/lib.typ
typst
MIT License
#let showing_solutions(loc) = { query(<show_solutions>, loc).len() > 0 } #let cover_sheet(content) = { show heading: content => { set align(center) set text(weight: "bold") content } v(5cm) align(content) } #let points(num) = { let total = state("totalpoints", 0.0) total.update(total => total + num) ...
https://github.com/cunhapaulo/typst_styles
https://raw.githubusercontent.com/cunhapaulo/typst_styles/main/toolbox/toolbox.typ
typst
MIT License
/* ----------------------------------------------------------------------------------------- Toolbox for the writing of academic documents in ABNT fomat. Version: 20231103 Author(s): <NAME> (<EMAIL>) Copyright: Copyright (c) 2023 <NAME> Permission is hereby gr...
https://github.com/RY997/Thesis
https://raw.githubusercontent.com/RY997/Thesis/main/thesis_typ/acknowledgement.typ
typst
MIT License
#let acknowledgement() = { 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" ) set pa...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2017/WS-10.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [DING Ning], [CHN], [3524], [2], [ZHU Yuling], [MAC], [3342], [3], [LIU Shiwen], [CHN], [3338], [4], [CHEN Meng], ...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap6/1_voltage_divider_circuits.typ
typst
Other
#import "../../core/core.typ" === Voltage divider circuits Let\'s analyze a simple series circuit, determining the voltage drops across individual resistors: #image("static/00106.png") #image("static/10096.png") From the given values of individual resistances, we can determine a total circuit resistance, knowing t...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/0-base/5-figures.typ
typst
#set heading(numbering: none, supplement: [Abschnitt]) = Abbildungsverzeichnis #outline( title: none, target: figure.where(kind: image), ) #pagebreak()
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/lectures/2024-09-20.typ
typst
#import "/utils/math.typ": * = Независимость в совокупности #def[ События $A_1, ..., A_n$ #defitem[независимы в совокупности], если $ forall 1 <= i_1 < i_2 < ... < i_k <= n: P(A_1 A_2 ...) = P(A_(i_1)) P(A_(i_2)) ... $ ] - Независимы в совокупности $->$ независимы попарно - Независимы все подмножества $->$ н...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/copy-paste_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page The after fira 🏳️‍🌈! #set text(lang: "ar", font: "Noto Sans Arabic") مرحبًا
https://github.com/Akida31/anki-typst
https://raw.githubusercontent.com/Akida31/anki-typst/main/typst/tests/examples/more/test.typ
typst
#import "/src/lib.typ" as anki #import anki.theorems: item #show: anki.setup.with( enable_theorems: true, prefix_deck_names_with_numbers: true, title: "TITLE", ) #set heading(numbering: "1.") #let theorem = item("Theorem", proof_name: "Precious Proof", initial_tags: ("proof",)) #let example = item("Example", in...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/utils/misc.typ
typst
The Unlicense
/// Returns the raw image data, not image content /// You'll still need to run image.decode on the result /// /// - raw-icon (string): The raw data for the image. Must be svg data. /// - fill (color): The new icon color /// -> string #let change-icon-color( raw-icon: "", fill: red, ) = { return raw-icon.replace( ...
https://github.com/TechnoElf/mqt-qcec-diff-thesis
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/content/background.typ
typst
= Background This section presents an overview of the technologies and concepts used throughout this work. Specifically, to understand the methods developed in this thesis, it is necessary to understand quantum computation in general as well as the methods for representing and manipulating quantum functionality. Additi...
https://github.com/saurabtharu/Internship-repo
https://raw.githubusercontent.com/saurabtharu/Internship-repo/main/Internship%20Report%20-%20typst/chapters/chapter-1-intro.typ
typst
/* While I was an intern at F1Soft International, one of the leading fintech companies, I got deeply involved in DevOps. F1Soft International is famous for its creative financial products that serve various clients like banks, financial institutions and big businesses. They use modern technology so as to make financial...
https://github.com/neeruuppalapati/MATH-Notes
https://raw.githubusercontent.com/neeruuppalapati/MATH-Notes/main/template.typ
typst
// Imports ============================================================= #import "@preview/whalogen:0.1.0": ce #import "@preview/codelst:1.0.0": sourcecode, codelst #import "@preview/showybox:2.0.1": showybox #import "@preview/ctheorems:1.0.0": * // Template ===========================================================...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/046.typ
typst
#let date = datetime( year: 2023, month: 6, day: 17, ) #metadata(( title: "使用c++扩展python", subtitle: [cpython,c++], author: "dashuai009", description: "", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf = 简介 c++可以编写python的扩展库。 1. Extending Python with C ...
https://github.com/mattfbacon/armv7-refcard
https://raw.githubusercontent.com/mattfbacon/armv7-refcard/main/template.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/tablex:0.0.5": tablex, colspanx, hlinex, vlinex #let serif = "Inter" #let serif-italic = "Inter Italic" #let monospace = "Fira Code" #let text-size = 6pt #let gray = luma #let left-pad(length, pad, input) = pad * calc.max(0, length - input.len()) + input // A thin space to use as a thousands separato...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/017%20-%20Dragons%20of%20Tarkir/004_The%20Guardian.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Guardian", set_name: "Dragons of Tarkir", story_date: datetime(day: 02, month: 04, year: 2015), author: "<NAME>", doc ) #emph[In the original timeline of ] Khans of Tarkir#emph[, Anafenza ] was khan of the Abzan#emph[, the stalwart rule...
https://github.com/typst-community/glossarium
https://raw.githubusercontent.com/typst-community/glossarium/master/advanced-docs/main.typ
typst
MIT License
#import "../themes/default.typ": * #show: make-glossary #set page(paper: "a4") #set heading(numbering: "1.") #show link: set text(fill: red) #let typc(body) = raw(body, lang: "typc") #let typc-block(body) = rect( width: 100%, fill: gray.lighten(80%), )[#set text(size: 9pt);#body] #let entry-list = ( ( key: "...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/dnd.typ
typst
#import "core/core.typ" #import "page/page.typ" #import "game/game.typ"
https://github.com/EstebanMunoz/typst-template-evaluacion
https://raw.githubusercontent.com/EstebanMunoz/typst-template-evaluacion/main/README.md
markdown
MIT No Attribution
# typst-template-evaluacion Template para la creación de evaluaciones usando Typst.
https://github.com/BrainTmp/MetaNote
https://raw.githubusercontent.com/BrainTmp/MetaNote/main/demo_typst.typ
typst
#import "Typst/metanote.typ": * // If you have created the local package, change this to // #import "@local/MetaNote:0.0.1": * #show: doc => MetaNote( title: [ An Introduction to Elementology (A) ], authors: ( ( name: "Impact", affiliation: "University of Genshin", email: "<EMAIL>",...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // While we're at it, test the larger block spacing wins. #set block(spacing: 0pt) #show raw: set block(spacing: 15pt) #show list: set block(spacing: 2.5pt) ```rust fn main() {} ``` - List Paragraph
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/shaping/selection.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ### Rule selection === 规则选取 // Next then processes substitution rules from the GSUB table, and finally the positioning rules from the GPOS table. (This makes sense...
https://github.com/Meisenheimer/Notes
https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/PDE.typ
typst
MIT License
#import "@local/math:1.0.0": * = Partial Differential Equation #env("Definition")[ A $mathbf(2)$*th order* *partial differential equation* in $RR^n$ takes the form $ sum_(i=0)^n sum_(j=0)^n a_(i j) (mathbf(x)) u_(x_i x_j) + sum_(i=0)^n b_(i) (mathbf(x)) u_(x_i) + c(mathbf(x)) u(mathbf(x)) = f(mathbf(x)), $ wh...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/linux-arm64-musl/README.md
markdown
Apache License 2.0
# `@myriaddreamin/typst-ts-node-compiler-linux-arm64-musl` This is the **aarch64-unknown-linux-musl** binary for `@myriaddreamin/typst-ts-node-compiler`
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas4/0_Nedela.typ
typst
#let M = ( "HV": ( ("", "", "Životvorjáščemu tvojemú krestú, neprestánno kláňajuščesja <NAME>, tridnévnoje voskresénije tvojé slávim: ťím vo obnovíl jesí istľívšeje čelovíčeskoje jestestvó Vsesíľne, i íže na nebesá voschód obnovíl jesí nám, jáko jedín bláh, i čelovikoľúbec."), ("", "", "Životvorjáščemu tvojem...
https://github.com/typst-community/mantodea
https://raw.githubusercontent.com/typst-community/mantodea/main/src/component/title-page.typ
typst
MIT License
#import "/src/_pkg.typ" #import "/src/_valid.typ" #import "/src/theme.typ" as _theme #let _version = version /// Generate the default title page. /// /// - title (str, content): The title for of this document. /// - subtitle (str, content, none): A subtitle shown below the title. /// - authors (str, content, array): ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-31C0.typ
typst
Apache License 2.0
#let data = ( ("CJK STROKE T", "So", 0), ("CJK STROKE WG", "So", 0), ("CJK STROKE XG", "So", 0), ("CJK STROKE BXG", "So", 0), ("CJK STROKE SW", "So", 0), ("CJK STROKE HZZ", "So", 0), ("CJK STROKE HZG", "So", 0), ("CJK STROKE HP", "So", 0), ("CJK STROKE HZWG", "So", 0), ("CJK STROKE SZWG", "So", 0), ...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/meta-environments/env-templates.typ
typst
#import "@preview/hydra:0.5.1": hydra, anchor #import "/meta-environments/env-features.typ": * #import "/meta-environments/env-branding.typ": * /* * TEXT STYLES * * Renders `content` with the module's text styling. This is useful for content * that is outside of the `template` container but which should be vi...
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/dept-news/_extensions/dept-news/typst-show.typ
typst
Creative Commons Zero v1.0 Universal
#show: dept-news.with( $if(title)$ title: "$title$", $endif$ $if(edition)$ edition: [$edition$], $endif$ $if(hero-image)$ hero-image: ( path: "$hero-image.path$", caption: [$hero-image.caption$] ), $endif$ $if(dedication)$ dedication: [$dedication$], $endif$ $if(publication-info)$ publication-info:...
https://github.com/awsomearvinder/resume
https://raw.githubusercontent.com/awsomearvinder/resume/master/resume.typ
typst
#import "moderncv.typ": * #show: project.with( author: "<NAME>", github: "awsomearvinder", phone: "+01 651 367 9347", email: "<EMAIL>", website: "www.arvinderd.com" ) #show link: underline #show link: set text(blue) = Description #cvcol[ A Software Developer with a passion for Systems tooling, operating syste...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/code-printer.typ
typst
#set page(margin: 1in, paper: "us-letter", columns: 2) #set text(font: "IBM Plex Mono") #let heading-function(it) = { text(size: 12pt, it) v(-12pt) line(length: 100%) } #let create(o) = { show heading: heading-function let title = o.title let body = o.body heading(title) raw(body) } ...
https://github.com/astrale-sharp/typst-assignement-template
https://raw.githubusercontent.com/astrale-sharp/typst-assignement-template/main/libs/withlabels.typ
typst
MIT License
#import "expression.typ" : node,expression #let oldnode = node #let oldexpr = expression #let state = state("expr",("type":"exprstate")) #let node(x,data) = { state.update( i => { i.insert(x,oldnode(x,data)) i } ) } #let expression(x,..y) = { locate(loc => { oldexpr(x,..y, nodes : state...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week6.typ
typst
#import "../../utils.typ": * #section("Angular") #align( center, [#image("../../Screenshots/2023_10_26_02_01_15.png", width: 70%)], ) - typescript based - reduces boilerplate code - Comes with *dependency injection* mechanism - increases testability and maintainability - framework templating etc. #subsection("CLI...
https://github.com/pku-typst/ichigo
https://raw.githubusercontent.com/pku-typst/ichigo/main/src/title.typ
typst
MIT License
#import "@preview/valkyrie:0.2.1" as z /// Title content denerator, the result will be inserted into the document. /// /// - meta (dict): document meta information /// - theme (dict): theme obj /// - title-style (str | none): expected to be `"whole-page"`, `none` or `"simple"`, default to `"whole-page"` /// -> content...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10900.typ
typst
Apache License 2.0
#let data = ( ("PHOENICIAN LETTER ALF", "Lo", 0), ("PHOENICIAN LETTER BET", "Lo", 0), ("PHOENICIAN LETTER GAML", "Lo", 0), ("PHOENICIAN LETTER DELT", "Lo", 0), ("PHOENICIAN LETTER HE", "Lo", 0), ("PHOENICIAN LETTER WAU", "Lo", 0), ("PHOENICIAN LETTER ZAI", "Lo", 0), ("PHOENICIAN LETTER HET", "Lo", 0), ...
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/competitions/dulaney.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/templates/entries.typ": * #import "/templates/headers.typ": * #import "/templates/text.typ": * #import "/templates/competition.typ": * #create_default_entry( title: [Dulaney Royal Rumble], date: [November 4th, 2023], witness: [Jin], design: [Deb], content: [ #entry_text() #tournament(match...
https://github.com/sdsc-ordes/modos-poster
https://raw.githubusercontent.com/sdsc-ordes/modos-poster/main/src/utils/scripts.typ
typst
Creative Commons Attribution 4.0 International
/* MIT License Copyright (c) 2024 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/vscode.typ
typst
#import "/components/glossary.typ": gls == Visual Studio Code <sec-vscode> #gls("vscode", mode: "full"), an open-source code editor developed by Microsoft, has rapidly gained traction within the developer community due to its robust feature set, cross-platform compatibility, and extensive customization option...
https://github.com/AHaliq/DependentTypeTheoryReport
https://raw.githubusercontent.com/AHaliq/DependentTypeTheoryReport/main/preamble/catt.typ
typst
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #let Ob(category) = $attach(br: category, upright(bold("Ob")))$ #let Hom(category,s:none,t:none) = $attach(br: category, upright(bold("Hom")))#if s != none and t != none { $(#s,#t)$ }$ #let arr(f,a,b) = $#f: #a -> #b$ #let comp = $compose$ #let iso = $...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/common/components/table.typ
typst
MIT License
/* 旧版三线表已弃用,推荐使用新版原生写法 #table( columns: (1fr, 1fr, 1fr, 1fr), stroke: none, table.hline(), [t], [1], [2], [3], table.hline(stroke: .5pt), [y], [0.3s], [0.4s], [0.8s], table.hline(), ) */ #let three-line-table(..args) = { let values = args.pos() let header-values = if values.len() > 0 { values.at...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/hobby.typ
typst
Apache License 2.0
#import "/src/vector.typ" #import "/src/complex.typ" // Implementation by @Enivex // // Notation comes from https://tug.org/TUGboat/tb34-2/tb107jackowski.pdf // // points = (P_0, P_1, ... , P_n) // // ta = (tau_(a,0),tau_(a,1), ... , tau_(a,n-1)) // ta(i) = tau_(a,i) is the outgoing tension at P_i on the curve from P_...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/layers/lib.typ
typst
The Unlicense
#import "debug.typ": layer as debug #import "drawing/lib.typ" as drawing
https://github.com/TomVer99/FHICT-typst-template
https://raw.githubusercontent.com/TomVer99/FHICT-typst-template/main/template/fhict-template.typ
typst
MIT License
#import "@preview/codly:1.0.0": * #import "@preview/glossarium:0.4.1": make-glossary, print-glossary, gls, glspl #import "@preview/in-dexter:0.4.2": * #import "@preview/hydra:0.5.1": hydra #let fontys-purple-1 = rgb("663366") #let fontys-purple-2 = rgb("B59DB5") #let fontys-pink-1 = rgb("E5007D") #let fontys-blue-1 = ...
https://github.com/kaarmu/typst-kth-exam
https://raw.githubusercontent.com/kaarmu/typst-kth-exam/main/main.typ
typst
#import "lib/typst-palette/src/palette.typ": xcolor // Functions #let red(body) = text(fill: xcolor.red, body) #let hrule(length) = line(start: ((100% - length)/2, 0pt), length: length) #let question(points, body) = { body h(1fr) if points > 1 [ \[#points pts\] ] else [ \[#points pt\] ] } #let ma...
https://github.com/luiswirth/numpde-slides
https://raw.githubusercontent.com/luiswirth/numpde-slides/main/src/setup.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/cetz:0.2.1" #import "math.typ": * #import "layout.typ": * #let titleslide(nweek) = page( background: image("res/numpde-art0.jpg", width: 100%) )[ #set text(black) #box(fill: rgb(255, 255, 255, 200), radius: 0pt, outset: 40pt)[ #align(center)[ #te...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/suiji/0.2.1/src/lib.typ
typst
Apache License 2.0
#import "random.typ": gen-rng, integers, random, uniform, normal, discrete-preproc, discrete, shuffle, choice
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/show-module.typ
typst
MIT License
#import "styles.typ" #import "utilities.typ" #import "testing.typ" /// Show given module in the given style. /// This displays all (documented) functions in the module. /// /// - module-doc (dictionary): Module documentation information as returned by /// @@parse-module(). /// - first-heading-level (int)...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework11.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra Homework #11", authors: ( (name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"), ), date: "December 16, 2023", ) #let AA = math.bold("A") #let BB = math.bold("B") #let EE = math.bold("E") #let TT = math.upright("T") #let alpha ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.3.0/src/util.typ
typst
Apache License 2.0
#import "/src/util/assert.typ" #import "/src/util/core.typ" #import "/src/util/core.typ": fmt #import "/src/util/page-sizes.typ": page-sizes #import "/src/util/queryable-functions.typ": queryable-functions
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/pipeline/middleware.typ
typst
The Unlicense
#let apply(input, output, layers) = { if layers.len() == 0 {return output} (layers.first())(input, output, (input, output) => apply(input, output, layers.slice(1)) ) } #let stack(layers, key) = { layers.map(layer=>layer.at(key, default: none)) .filter(it=>it!=none) } #let through-layers(layers, k...
https://github.com/francescoo22/masters-thesis
https://raw.githubusercontent.com/francescoo22/masters-thesis/main/chapters/3-Related-Work.typ
typst
#pagebreak(to:"odd") = Related Work<cap:related-work> This chapter first outlines the foundational principles established in _the Geneva Convention on the Treatment of Object Aliasing_ @GenevaConvention, which serves as a fundamental reference for any work addressing aliasing issues. Then, it provides an overview of e...
https://github.com/OrangeX4/typst-cheq
https://raw.githubusercontent.com/OrangeX4/typst-cheq/main/lib.typ
typst
MIT License
/// `unchecked-sym` function. /// /// - `fill`: [`string`] - The fill color for the unchecked symbol. /// - `stroke`: [`string`] - The stroke color for the unchecked symbol. /// - `radius`: [`string`] - The radius of the unchecked symbol. #let unchecked-sym(fill: white, stroke: rgb("#616161"), radius: .1em) = move( d...
https://github.com/jordanqt327/Typst-Pruebas
https://raw.githubusercontent.com/jordanqt327/Typst-Pruebas/main/Typst/prueba2.typ
typst
= Writing the right set rules #set page( paper: "us-letter", header: align(right)[ A fluid dynamic model for glacier flow ], numbering: "1", ) #set par(justify: true) #set text( font: "Linux Libertine", size: 11pt, ) #lorem(200) = Creating a title and abstract #align(cente...
https://github.com/robertjndw/typst-tum-presentation
https://raw.githubusercontent.com/robertjndw/typst-tum-presentation/main/theme.typ
typst
#import "@preview/polylux:0.3.1": * #import "colors.typ": * // State definitions #let title-state = state("title-state", none) #let date-state = state("date-state", none) #let location-state = state("location-state", none) #let author-state = state("author-state", none) #let university-state = state("university-state...
https://github.com/7sDream/typst-easy-pinyin
https://raw.githubusercontent.com/7sDream/typst-easy-pinyin/master/README.md
markdown
MIT License
# Easy Pinyin Write Chinese pinyin easily. ## Usage Import the package: ```typst #import "@preview/easy-pinyin:0.1.0": pinyin, zhuyin ``` With the `pinyin` function, you can use `a2` to write an `ɑ́`, `o3` to write an `ǒ`, `v4` to represent `ǜ`, etc. With `zhuyin` function,you can put pinyin above the text easily...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test the `columns` function. #set page(width: auto) #rect(width: 180pt, height: 100pt, inset: 8pt, columns(2, [ A special plight has befallen our document. Columns in text boxes reigned down unto the soil to waste a year's crop of r...
https://github.com/suspenss/Undergraduate-mathematics
https://raw.githubusercontent.com/suspenss/Undergraduate-mathematics/main/Calculus/main.typ
typst
#import "./../setup/templates.typ": * #import "./../setup/theorem.typ": * #show: thmrules // #show math.equation: set text(font: "New Computer Modern Math") // #show math.equation: set text(font: "Libertinus Math") #show math.ast: math.thin #let obey = math.tilde #show: project.with( title: "Note on Calculus", a...
https://github.com/Pegacraft/typst-plotting
https://raw.githubusercontent.com/Pegacraft/typst-plotting/master/example/main.typ
typst
MIT License
#import "/lib.typ": * // For local testing //#import "@preview/plotst:0.1.0": * #let print(desc: "", content) = { desc repr(content) [ \ ] } #let scatter_plot_test() = { let gender_data = ( ("w", 1), ("w", 3), ("w", 5), ("w", 4), ("m", 2), ("m", 2), ("m", 4), ("m", 6), ("d", 1), ("d", 9), ("d", 5), ("d", ...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/计算方法B/code/hw4/hw4.typ
typst
#import "../../../template.typ": * #show: note.with( title: "作业4", author: "YHTQ", date: datetime.today().display(), logo: none, withOutlined : false, withTitle : false, withHeadingNumbering: false ) = 1. Jacobi 迭代的迭代矩阵分别为: $ M_1 = - diag{1/2, 1, -1/2} mat(0, -1, 1;1, 0, 1;1, 1, 0) = mat(0, -1/2, ...
https://github.com/justinvulz/typst_packages
https://raw.githubusercontent.com/justinvulz/typst_packages/main/poster.typ
typst
#import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.4.5" as fletcher: diagram,node,edge #import fletcher.shapes:circle #let margin_size = 2cm #let body_font_size = 30pt #let conf( title, author, advisor: none, logo: none, main_color: rgb(35,80,120), doc ) = { set page( paper: "a0", marg...
https://github.com/Tiggax/zakljucna_naloga
https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/additional.typ
typst
#let todo(body) = text( fill: navy, weight: "black", //lang: "sl", body ) #let zahvala = [ I would like to thank my work mentor <NAME>, PhD, for offering me the opportunity to delve into the field of mathematical modeling of bioreactors. His guidance, insights, and encouragement have been instrum...
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/README.md
markdown
MIT License
# Fractusist Create a variety of wonderful fractals in Typst. ## Examples The example below creates a dragon curve of the 12th iteration with the `dragon-curve` function. ![The rendered dragon curve](./examples/dragon-curve-n12.png) <details> <summary>Show code</summary> ```typ #set page(wid...
https://github.com/crd2333/template-report
https://raw.githubusercontent.com/crd2333/template-report/master/lib.typ
typst
MIT License
#import "fonts.typ": * #import "utils.typ": * #import "covers.typ": show_cover #import "figures.typ": * #import "math.typ": * #let project( title: "Title1", title_2: "Title2", title_3: "Title3", author: ("author1", "author2"), date: (2023, 5, 14), cover_style: "normal", class: "your class", major: "you...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11680.typ
typst
Apache License 2.0
#let data = ( ("TAKRI LETTER A", "Lo", 0), ("TAKRI LETTER AA", "Lo", 0), ("TAKRI LETTER I", "Lo", 0), ("TAKRI LETTER II", "Lo", 0), ("TAKRI LETTER U", "Lo", 0), ("TAKRI LETTER UU", "Lo", 0), ("TAKRI LETTER E", "Lo", 0), ("TAKRI LETTER AI", "Lo", 0), ("TAKRI LETTER O", "Lo", 0), ("TAKRI LETTER AU", "...
https://github.com/NOOBDY/formal-language
https://raw.githubusercontent.com/NOOBDY/formal-language/main/q10.typ
typst
The Unlicense
#import "@preview/finite:0.3.0": automaton, layout #let q10 = [ 10. Given two `DFA`s $M_i = (Q_i, Sigma, delta_i, q_(0i), F_i)$, $i = 1, 2$, a _morphism_ $h : M_1 -> M_2$ of `DFA`s is a function $h : Q_1 -> Q_2$ satisfying the following: - $h(delta_1(p, a)) = delta_2(h(p), a), "for all" p in Q_1 "and all" a in Si...
https://github.com/Hobr/njust_thesis_typst_template
https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/util/package.typ
typst
MIT License
// ---------- 基本 // 定理 #import "@preview/ctheorems:1.1.2": * // 表格 #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx // 注释 #import "@preview/drafting:0.2.0" // 术语表 #import "@preview/glossarium:0.4.0": make-glossary, print-glossary, gls, glspl // 提示框 #import "@preview/gentle-clues:0.8.0": * // 正文伪粗体 #import "@...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/08-case-study/contributors.typ
typst
#import "@preview/cetz:0.2.2": canvas, chart, draw #let data = ( ([Developer A], 139), ([Developer B], 83), ([Developer C], 15), ([Developer D], 14), ([Developer E], 8), ([Developer F], 7), ([Developer G], 6), ([Developer H], 5), ([Developer I], 1), ([Developer J], 1), ) #let total = data.map(p =>...
https://github.com/zyxdenny/my-cv
https://raw.githubusercontent.com/zyxdenny/my-cv/master/cv.typ
typst
#set page ( paper: "us-letter", margin: (x: 35pt, y: 35pt), ) #set text( size: 12pt, font: ( "linux libertine", "TW-Kai", "Symbols Nerd Font" ) ) #show heading.where(level: 1): it => [ #set text( fill: eastern, weight: "bold", size: 26pt, ) ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/conchord/0.1.1/examples/tabs.typ
typst
Apache License 2.0
#set page(height: auto, width: auto, margin: 1em) #import "../lib.typ": tabs, new-chordgen #let chord = new-chordgen(scale-length: 0.6pt) #let ending(n) = { rect(stroke: (left: black, top: black), inset: 0.2em, n + h(3em)) v(0.5em) } #tabs.new(eval-scope: (chord: chord, ending: ending), tabs.gen[``` 2/4 2/...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_11.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test colbreak after only out-of-flow elements. #set page(width: 7.05cm, columns: 2) #place[OOF] #colbreak() In flow.
https://github.com/jdupak/lang-talk-borrow-checker
https://raw.githubusercontent.com/jdupak/lang-talk-borrow-checker/master/main.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/fletcher:0.3.0" as fletcher: node, edge #import "theme/ctu.typ": * #show: ctu-theme.with() #title-slide[ #set text(size: 1.3em) #v(6em) = Inside the Rust Borrow Checker <NAME> #v(2em) #text(size: 0.7em)[ \#lang-talk meet...
https://github.com/Zarox28/TypstTemplate
https://raw.githubusercontent.com/Zarox28/TypstTemplate/main/README.md
markdown
<div align="center"> <h1>Typst Template</h1> </div> <br /> --- ## Table of Contents - [About](#about) - [Usage](#usage) - [Features](#features) - [Todo](#todo) - [Changelog](#changelog) - [Authors](#authors) ## About This is my custom template for [typst](www.github.com/typst/typst). It is designed to be used f...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/link_10.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 2-20 label `<hey>` does not exist in the document // #link(<hey>)[Nope.]
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/pages/bibliography.typ
typst
MIT License
#import "../config/constants.typ": special-chapter-titles #import "../utils/states.typ": bibliography-state #import "../utils/bilingual-bibliography.typ": bilingual-bibliography #let bibliography-page() = context [ #let bibliography = bibliography-state.get() #assert(bibliography != none, message: "请在 doc.with 调用处...
https://github.com/drupol/ipc2023
https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/reproducibility.typ
typst
#import "imports/preamble.typ": * #focus-slide[ #set align(center + horizon) #text(font: "Virgil 3 YOFF")[A few words about reproducibility] ] #focus-slide[ #set align(left + horizon) #set text(fill: white, size: .6em) #set par(justify: true) A software is reproducible if given the same source code, bu...