repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/RanolP/resume
https://raw.githubusercontent.com/RanolP/resume/main/modules/util.typ
typst
#let belonging(role, organization) = [#role #text(weight: 400)[\@] #organization] #let enumerate(entries) = grid( columns: entries.len(), rows: (auto, auto), column-gutter: 10pt, row-gutter: 3pt, ..( for (first, _) in entries { (align(center)[#first],) } ), ..( for (_, second) in entrie...
https://github.com/jomaway/typst-teacher-templates
https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-exam/lib/lib.typ
typst
MIT License
#import "template.typ": * #import "points.typ": *
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying-aqua/0.5.0/template/main.typ
typst
Apache License 2.0
#import "@preview/touying:0.5.0": * #import themes.aqua: * #show: aqua-theme.with( aspect-ratio: "16-9", config-info( title: [Start Your Writing in Touying], subtitle: [Subtitle], author: [Author], date: datetime.today(), institution: [Institution], ), ) #title-slide() #outline-slide() = T...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/polylux.typ
typst
#import "themes/themes.typ" #import "logic.typ" #import "logic.typ": polylux-slide, uncover, only, alternatives, alternatives-match, alternatives-fn, alternatives-cases, one-by-one, line-by-line, list-one-by-one, enum-one-by-one, terms-one-by-one, pause, enable-handout-mode #import "utils/utils.typ" #import "utils/util...
https://github.com/kdog3682/typkit
https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/math.typ
typst
#let slope((x1, y1), (x2, y2)) = { return (x2 - x1) / (y2 - y1) } #let magnitude(s) = { if s > 0 { 1 } else if s == 0 { 0 } else { -1 } }
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/team-organization.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: "Team Organization", type: "management", date: datetime(year: 2023, month: 5, day: 12), author: "<NAME>", witness: "<NAME>", ) = Design Process As stated in the pre re...
https://github.com/KrisjanisP/lu-icpc-notebook
https://raw.githubusercontent.com/KrisjanisP/lu-icpc-notebook/main/6-strings.typ
typst
#block(breakable: false,[ = String Processing == Knuth-Morris-Pratt (KMP) ```cpp char s[N], p[N]; int b[N], n, m; // n = strlen(s), m = strlen(p); void kmppre() { b[0] = -1; for (int i = 0, j = -1; i < m; b[++i] = ++j) while (j >= 0 and p[i] != p[j]) j = b[j]; } void kmp() { for (int i = 0, j = 0; i < n;) { ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/text_stroke.typ
typst
Apache License 2.0
#let tmpl2(stroke: ()) = text(stroke: stroke) #tmpl2(stroke: (/* position after */))
https://github.com/RubixDev/typst-i-figured
https://raw.githubusercontent.com/RubixDev/typst-i-figured/main/i-figured.typ
typst
MIT License
#let _prefix = "i-figured-" #let reset-counters(it, level: 1, extra-kinds: (), equations: true, return-orig-heading: true) = { if it.level <= level { for kind in (image, table, raw) + extra-kinds { counter(figure.where(kind: _prefix + repr(kind))).update(0) } if equations { counter(math.equat...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/editors/vscode/e2e-workspaces/print-state/effect.typ
typst
Apache License 2.0
#let print-state = state("print-effect", ()) #let print(k, end: none) = print-state.update(it => it + (k, end)) #let println = print.with(end: "\n") #let main = content => { context [ #let prints = print-state.final() #metadata(prints.join()) <print-effect> ] content }
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/152.%20convince.html.typ
typst
convince.html How to Convince Investors Want to start a startup? Get funded by Y Combinator. August 2013When people hurt themselves lifting heavy things, it's usually because they try to lift with their back. The right way to lift heavy things is to let your legs do the work. Inexperienced founders make the s...
https://github.com/davawen/Cours
https://raw.githubusercontent.com/davawen/Cours/main/typst/physique/0.1.0/utils.typ
typst
#import "@preview/xarrow:0.3.0" #import "@preview/cetz:0.2.2" #import cetz: draw, canvas, vector, plot #let figcan(body, caption: none) = { figure(caption: caption, canvas(body)) } #let point(pos, value: [], anchor: "south", color: black, padding: 5pt, name: none) = { import draw: circle, content circle(pos, ra...
https://github.com/bpkleer/typst-academicons
https://raw.githubusercontent.com/bpkleer/typst-academicons/main/example.typ
typst
MIT License
#import "lib.typ": * = typst-academicons bpkleer https://github.com/bpkleer/typst-academicons A Typst library for Academicons v1.9.4 icons through the desktop fonts. This is based on the code from `duskmoon314` and the package for #link("https://github.com/duskmoon314/typst-fontawesome")[#text("typst-fontawesome",...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055%20-%20Murders%20at%20Karlov%20Manor/001_Episode%201%3A%20Ghosts%20of%20Our%20Past.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: Ghosts of Our Past", set_name: "Murders at Karlov Manor", story_date: datetime(day: 05, month: 12, year: 2023), author: "<NAME>", doc ) The sky over Karlov Manor danced with a dizzying array of colors, brought to life by shimmeri...
https://github.com/Dherse/typst-glossary
https://raw.githubusercontent.com/Dherse/typst-glossary/main/glossary.typ
typst
#let glossary_entries = state("glossary_entries", (:)) #let gloss(key, suffix: none, short: auto, long: auto) = { locate(loc => { let entries = glossary_entries.at(loc) if entries.keys().contains(key) { let entry = entries.at(key) let long = if (entry.locations.len() <= 0 a...
https://github.com/saffronner/matrix-alg-notes
https://raw.githubusercontent.com/saffronner/matrix-alg-notes/main/notes.typ
typst
#show: set image(width: 50%); // - $arrow(v)$ #set math.vec(delim: "[") #set math.mat(delim: "[") // #set text(font: "Garamond-Math.otf") #let span = math.op("span") #let col = math.op("col") = Linalg - scalars: real numbers and stuff, $RR$ - vectors: a list of scalars. - we use column vectors: $vec(1,pi) in RR^2...
https://github.com/chendaohan/bevy_tutorials_typ
https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/21_local_resources/local_resources.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") = 1. 本地资源 本地资源允许你拥有每个系统独立的数据。这些数据不存储在 ECS 世界中,而是与系统一起存储。系统外部无法访问这些数据。该值将在系统的后续运行中保持。 `Local<T>` 是一个系统参数,类似于 `ResMut<T>`...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/m1.typ
typst
#import "/inc/_template.typ": * #show: book.with( title: [m-one], author: "<NAME>", dedication: [_for my daughters_], publishing-info: [ #include("/inc/_pub.typ") ], ) // preface #include "/inc/_preface.typ" #outline( indent: 1em, depth: 1 ) // #outline( // title: [List of Figures], // target:...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/colors.typ
typst
Apache License 2.0
#let color-schema = ( white: rgb(255, 255, 255), gray: (primary: rgb(125, 124, 124)), orange: (primary: rgb(255, 123, 84), light: rgb(255, 178, 107, 10%)), blue: ( primary: rgb(0, 169, 255), light: rgb(137, 207, 240, 10%), dark: rgb(16, 74, 183), ), green: ( primary: rgb(121, 172, 120), ...
https://github.com/donabe8898/typst-slide
https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/並行prog/03/03.typ
typst
MIT License
// typst compile 02.typ /home/yugo/git/donabe8898/typst-slide/opc/並行prog/02/第2回/{n}.png --format png #import "@preview/polylux:0.3.1": * #import themes.clean: * #show: clean-theme.with( aspect-ratio: "16-9", footer: "Goであそぼう", // short-title: "", logo: image("03素材/gopher.svg"), color: teal ) #show link: se...
https://github.com/SillyFreak/typst-scrutinize
https://raw.githubusercontent.com/SillyFreak/typst-scrutinize/main/docs/manual.typ
typst
MIT License
#import "template.typ" as template: * #import "/src/lib.typ": grading, task, solution, task-kinds #let package-meta = toml("/typst.toml").package #let date = datetime(year: 2024, month: 10, day: 12) #show: manual( title: "Scrutinize", // subtitle: "...", authors: package-meta.authors.map(a => a.split("<").at(0)...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/mergesort/merge_input.typ
typst
#import "/components/num_row.typ": single_num_row, arrowed, braced_b #let nums = (12, 23, 34, 34, 45, 7, 17, 18, 38, 43) #let n = nums.len() #let m = calc.div-euclid(n, 2) #single_num_row( nums, labels: ( (0, 1, arrowed[`f`]), (m, m + 1, arrowed[`m`]), (n - 1, n, arrowed(`l`)), ), labels_b: ( ...
https://github.com/BackThePortal/typst-plugin-jetbrains
https://raw.githubusercontent.com/BackThePortal/typst-plugin-jetbrains/main/CHANGELOG.md
markdown
<!-- Keep a Changelog guide -> https://keepachangelog.com --> # typst-plugin-jetbrains Changelog ## [Unreleased] ### Added - Initial scaffold created from [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template)
https://github.com/tingerrr/masters-thesis
https://raw.githubusercontent.com/tingerrr/masters-thesis/main/src/de/thesis.typ
typst
#import "@local/chiral-thesis-fhe:0.1.0" as ctf #import ctf.prelude: * #import "/src/util.typ" #show "C++": util.cpp // convenient smallcaps for simple author names #show regex("![A-Za-z]{2,}\b"): it => smallcaps(it.text.slice(1)) #show: doc( kind: masters-thesis( id: [AI-2024-MA-005], title: [Dynamische ...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/declaration.typ
typst
#let m = yaml("/metadata.yml") = Declaration The group declares that all content presented in this #m.doc_type, as well as the source code, is our original work - with the exception of referenced knowledge and sample source code provided by the manufacturer. We have not copied from any other source. If this dec...
https://github.com/QuadnucYard/cpp-coursework-template
https://raw.githubusercontent.com/QuadnucYard/cpp-coursework-template/main/docs/cody-doc.typ
typst
#{ import "@preview/tidy:0.2.0" import "../cody.typ" let my-module = tidy.parse-module(read("../cody.typ"), name: "cody", scope: (cody: cody)) tidy.show-module(my-module, sort-functions: none) }
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/convert-svg-slot-before-body.typ
typst
// #{ set page( width: /* slot: page-width */, height: auto, margin: (left: 0pt, right: 0pt, top: 5pt, bottom: 5pt), numbering: none, header: { }, footer: { }, ) // }
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/folding_range/heading-in-multiple-content.typ
typst
Apache License 2.0
#let slides(..args) = args #slides()[ = Heading ][ ]
https://github.com/flavio20002/cyrcuits
https://raw.githubusercontent.com/flavio20002/cyrcuits/main/tests/rc4/test.typ
typst
Other
#import "../../lib.typ": * #set page(width: auto, height: auto, margin: 0.5cm) #show: doc => cyrcuits( scale: 1, doc, ) ```circuitkz \begin{circuitikz} \draw (0,0) to[battery1,l=$E_"Th"$] ++ (0,3) to[R=$R_"Th"$] ++ (3,0) to[C,l_=$C$,v^=$v_C$,f>_=$i_C$] ++ (0,-3) to[short] ++ (-3,0); \end{circu...
https://github.com/mitex-rs/mitex
https://raw.githubusercontent.com/mitex-rs/mitex/main/packages/mitex/examples/example.typ
typst
Apache License 2.0
#import "../lib.typ": * #set page(width: 500pt, height: auto, margin: 1em) #assert.eq(mitex-convert("\alpha x"), "alpha x ") Write inline equations like #mi("x") or #mi[y]. Also block equations (this case is from #text(blue.lighten(20%), link("https://katex.org/")[katex.org])): #mitex(```latex \newcommand{\f}[2...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-bidi-03.typ
typst
Other
// Test embedding up to level 4 with isolates. #set text(dir: rtl) א\u{2066}A\u{2067}Bב\u{2069}?
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/templates/drpm/lib.typ
typst
#import "../../common/currency.typ": * #import "../../common/dates.typ": * #let outline-entry-fn(prefix-count, start-level: 1) = ( it => { let loc = it.element.location() let num = numbering(loc.page-numbering(), ..counter(page).at(loc)) let prefixed = it.body.at("children", default: ()).len() > 1 le...
https://github.com/Mufanc/hnuthss-template
https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/pages/license.typ
typst
#import "/configs.typ": font, fontsize #import "/components.typ": anchor #let headline(content) = [ #set text(font: font.sans, size: fontsize.L2s) #set align(center) #content ] #let sign(role) = [ #text(role)签名:#h(11em)日期:20#h(1.5em) 年 #h(1.5em) 月 #h(1.5em) 日 ] #let checkbox = [ #box(baseline: 15...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/023%20-%20Oath%20of%20the%20Gatewatch/002_Retaliation%20of%20Ob%20Nixilis.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Retaliation of Ob Nixilis", set_name: "Oath of the Gatewatch", story_date: datetime(day: 30, month: 12, year: 2015), author: "<NAME> & <NAME>", doc ) #emph[The plan had worked. Together, Nissa, Jace, Gideon, and the army of Zendikari had su...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/dict-09.typ
typst
Other
// Error: 3-15 cannot mutate a temporary value #((key: "val").other = "some")
https://github.com/extua/nth
https://raw.githubusercontent.com/extua/nth/main/README.md
markdown
MIT No Attribution
# Nth Provides functions `#nth()` and `#nths()` which take a number and return it suffixed by an english ordinal. This package is named after the nth [LaTeX macro](https://ctan.org/pkg/nth) by <NAME>. ## Usage Include this line in your document to import the package. ```typst #import "@preview/nth:1.0.1": * ``` T...
https://github.com/DaavidT/CV-2023
https://raw.githubusercontent.com/DaavidT/CV-2023/main/modules/certificates.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Certificaciones") #cvHonor( date: [2023], title: [Associate Oracle Cloud Infrastructure Foundations], issuer: [Oracle], ) #cvHonor( date: [2017], title: [CCNAv7: Enterprise Networking, Security, and Automation], issuer: [Cisco] ) #cvHonor( date: [2...
https://github.com/TheOnlyMrCat/tree-sitter-typst
https://raw.githubusercontent.com/TheOnlyMrCat/tree-sitter-typst/master/test.typ
typst
Apache License 2.0
#include "script.typ" #import "script.typ": * #set page( header: block( stroke: (bottom: black), inset: (top: 32pt, bottom: 0.35em), [#grid(columns: (1fr, 1fr, 1fr))[*Three*][#align(center)[*column*]][#align(right)[*header*]]] ), margin: (x: 48pt, y: 56pt) ) #let custom_block = block.with( fill: r...
https://github.com/Pablo-Gonzalez-Calderon/chic-header-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/chic-header-package/main/lib/functions.typ
typst
MIT License
/* * Chic-header - A package for Typst * <NAME> (c) 2023 * * functions.typ -- The package's file containing all the * public functions that the user can access. * * This file is under the MIT license. For more * information see LICENSE on the package's main folder. */ #import "layout.typ": * /* * chic-heade...
https://github.com/Coekjan/parallel-programming-learning
https://raw.githubusercontent.com/Coekjan/parallel-programming-learning/master/ex-2/report.typ
typst
#import "../template.typ": * #import "@preview/cetz:0.2.2" as cetz #import "@preview/codelst:2.0.1" as codelst #show: project.with( title: "并行程序设计第 2 次作业(POSIX Thread 编程)", authors: ( (name: "叶焯仁", email: "<EMAIL>", affiliation: "ACT, SCSE"), ), ) #let data = toml("data.toml") #let lineref = codelst.lineref...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/09-layout/layout.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/heading.typ": chapter #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template #chapter[ // Layout Challenges in Global Type #tr[global scripts]#tr[layout]中的挑战 ] // The previous chapters have been mai...
https://github.com/An-314/Notes-of-DSA
https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/BST.typ
typst
= 更多BST == 区间树Interval Tree 看这样一个问题: _*Stabbing Query:*给定集合_ $ S = {s_i=[x_i,x'_i] | 1<=i<=n} $ _以及一个待查询的点$q_x$,目标是寻找所有的$s_i$,使得$q_x$在$s_i$的区间内,即_ $ {s_i | q_x in s_i} $ 为解决这个问题,我们引入*区间树*。 为了方便查询,我们需要进行预处理: 先找出区间端点构成的集合$P=diff S$,有$|P|=2n$。令$x_mid$为$P$中的中位数。 #figure( image("fig\BST\11.png" ,width: 70%), c...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Strutture/Normale.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Siano $(G, *)$ un gruppo e $(H, *)$ un suo sottogruppo. Siano poi $g_(1)$ e $g_(2)$ due elementi di $G$. Su $G$ é possibile definire due relazioni, $cal(R)_(H)$ e $cal(L)_(H)$, come segue: #grid( columns: (0.5fr, 0.5fr), [$ g_(1) cal(R)_(H) g_(2) space "se e soltanto se" space ...
https://github.com/onomou/typst-examit
https://raw.githubusercontent.com/onomou/typst-examit/main/questionit.typ
typst
MIT License
#import "utilities.typ": * #let pointscounter = counter("totalpoints") #let answerlinelength = 4cm #let showquestion( pointsplacement: "right", number: "", dropboxes: none, question: none, points: none, unnumbered: false, bonus: false, spacing: 1em, answerbox: none, graph: none, numberline: none...
https://github.com/coljac/typst-mnras
https://raw.githubusercontent.com/coljac/typst-mnras/main/mnras.typ
typst
MIT License
/* MNRAS template v0.1 By <NAME>, <EMAIL> (Not affiliated with MNRAS!) */ #let affiliations(s) = { let affils = () let auth_to_affils = (:) let affil_to_num = (:) let affils_postal = (:) let names = () for author in s { names.push(author.name.at(0) + ". " + author.name.split( ).at(1)) auth...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/mesures.typ
typst
#import "defs.typ": * #import "links.typ": * = Mesures statiques == WCET Le calcul du WCET est important sur les systèmes temps réel pour garantir que les tâches critiques se terminent dans un temps donné. Le WCET est le temps maximal que peut prendre une tâche pour se terminer. Il est calculé en fonction des temps ...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/system-design/user-interface-design.typ
typst
== Online Demonstration Playground User Interface Design This section will delve into the detailed user interface designs for the online demonstration playground, showcasing the visual elements, layout, and interaction patterns that will guide user's interactions with the system. #figure( rect(image("/diagrams/gene...
https://github.com/tingerrr/typst-test
https://raw.githubusercontent.com/tingerrr/typst-test/main/docs/book/src/quickstart/usage.md
markdown
MIT License
# Usage `typst-test` is a command line program, it can be run by simply invoking it in your favorite shell and passing the appropriate arguments. If you open a shell in the folder `project` and `typst-test` is at `project/bin/typst-test`, then you can run it using `./project/bin/typst-test`. Placing it directly in you...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/C++/Introduzione/Tipi.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/showybox:2.0.1": showybox Nel C++ si distinguono i seguenti tipi di dato primitivi: - *booleani*, `bool`; - *caratteri*, `char`; - *numeri interi*, `int`; - *numeri decimali*, `float` (singola precisione) `double` (doppia precisione); - *puntatori*; - *reference*; Possono essere poi aggiunti dei _m...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/utility-components.typ
typst
#import "base-utils.typ": * #let answer-box(x, label: none) = { let math-content = resolve-math-content(x) let expr = [*#label #xequal() #math-content*] let box-attrs = ( inset: 5pt, baseline: 25%, radius: 3pt, stroke: black + 0.5pt, ) h(2pt) box(..box-attrs,...
https://github.com/liuguangxi/erdos
https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p224.typ
typst
#import "@preview/cetz:0.2.1" #cetz.canvas(length: 1.5cm, { import cetz.draw: * for x in range(-4, 25) { if calc.rem(x, 5) != 0 { line((x/5, -1.2), (x/5, 5.4), stroke: 0.5pt+luma(220)) } } for y in range(-5, 27) { if calc.rem(y, 5) != 0 { line((-0.9, y/5), (4.9, y/5), str...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/entries.typ
typst
The Unlicense
#import "./colors.typ": * #import "./icons/icons.typ" #import "./components/components.typ" #import "./components/title.typ": * #import "/utils.typ" #import "./metadata.typ": entry-type-metadata // TODO: make an actual cover #let cover = utils.make-cover(ctx =>{ import components: label let label = label.with(...
https://github.com/LEXUGE/poincare
https://raw.githubusercontent.com/LEXUGE/poincare/main/src/notes/math_essentials/main.typ
typst
MIT License
#import "@preview/physica:0.9.2": * #import "@preview/gentle-clues:0.4.0": * #import "@lexuge/templates:0.1.0": * #import shorthands: * #import pf3: * #show: simple.with( title: "Essential Mathematics", authors: ((name: "<NAME>", email: "<EMAIL>"),), ) #let unproven = text(red)[This is not proven yet.] #let unfinis...
https://github.com/OkazakiYumemi/nju-ps-typst-template
https://raw.githubusercontent.com/OkazakiYumemi/nju-ps-typst-template/master/README.md
markdown
# NJU ps typst template for assignment Typst template for the NJU (Nanjing University) specialized course "Problem Solving" Mainly modified from gRox167/typst-assignment-template ## Usage RTFSC ## Todo Many. A list is needed but have no time
https://github.com/TGM-HIT/typst-thesis-workshop
https://raw.githubusercontent.com/TGM-HIT/typst-thesis-workshop/main/slides/assets/mod.typ
typst
#let thesis-thumbnail = image.with("thumbnail.png")
https://github.com/Flower101010/Typst_template
https://raw.githubusercontent.com/Flower101010/Typst_template/main/example.typ
typst
#import "template.typ": * #show: doc => conf( institute: [University of Mars \ Institute of Intergalactic Travel], auther: [Flower], title: [Linear Maps], class: [Linear Algebar], doc, ) #let L(iTem) = $cal(L)(iT em)$ #let F = $bb(F)$ = The Vector Space of Linear Maps #problem(index:"1")[ 假设 $T in cal(L)(...
https://github.com/donabe8898/typst-slide
https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/並行prog/01/syakyo01.typ
typst
MIT License
#show link: set text(blue) #set text(font: "Noto Sans CJK JP",size:13pt) #show heading: set text(font: "Noto Sans CJK JP") #show raw: set text(font: "0xProto Nerd Font") #show raw.where(block: true): block.with( fill: luma(240), inset: 10pt, radius: 4pt ) #align(center)[ ```go // AtCoder Beginner Contest 267: P...
https://github.com/alimitedgroup/alimitedgroup.github.io
https://raw.githubusercontent.com/alimitedgroup/alimitedgroup.github.io/main/lib.typ
typst
/// Crea un verbale /// /// Parametri: /// - odg: ordine del giorno /// - data: la data della riunione, nella forma YYYY-MM-DD /// - tipo: tipologia di verbale: "interno" o "esterno" /// - presenze: array di nomi e cognomi dei presenti /// - versione: attuale versione del documento /// - stato: attuale stato del docume...
https://github.com/derekchai/k-mapper
https://raw.githubusercontent.com/derekchai/k-mapper/main/utils.typ
typst
MIT License
// Converts the zero-indexed nth position of the Karnaugh map to its Gray code // coordinate. #let position-to-gray(n, grid-size) = { assert(grid-size == 4 or grid-size == 8 or grid-size == 16, message: "Please enter a grid size of 4, 8, or 16!") let grid-size-4 = (0, 1, 2, 3) let grid-size-8 = (0, 1, 2, 3, 6,...
https://github.com/Origami404/kaoyan-shuxueyi
https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/README.md
markdown
# 考研数学笔记 如题, 这是一份应试用考研数学一笔记, 面向经历了一定数学训练, 但没有很擅长背诵和考试的人. 更详细地说, 我希望您: - 曾接受过实分析和正经代数课程, 了解诸如戴得金分割等分析基础以及线性代数的直观本质 - 能接受面向试题的, 不完备的数学操作和论断, 明白该资料的应试性 本笔记的使用方式是背诵, 它包含了必背公式和大部分常见情况的应对方法. 它不会尝试给您搭建任何的数学知识体系, 它只会构建一个 考点-方法 体系. 如果把准备考研当作荒野求生, 那么您需要自带一个成熟的本科入门级别的分析和代数方向的数学知识体系作为地图来指导自己的方向, 而该笔记会成为您的瑞士军刀, 帮您解决实际的每一个步骤. #...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/utils/numbering.typ
typst
MIT License
#let heading-numbering(..nums) = { let nums-vec = nums.pos() if nums-vec.len() == 1 [ #numbering("第 1 章", ..nums-vec) #h(0.75em) ] else [ #numbering("1.1", ..nums-vec) #h(0.75em) ] }
https://github.com/KNnut/neoplot
https://raw.githubusercontent.com/KNnut/neoplot/main/README.md
markdown
BSD 3-Clause "New" or "Revised" License
# Neoplot A Typst package to use [gnuplot](http://www.gnuplot.info/) in Typst. ```typ #import "@preview/neoplot:0.0.2" as gp ``` Execute gnuplot commands: ````typ #gp.exec( kind: "command", ```gnuplot reset; set samples 1000; plot sin(x), cos(x) ``` ) ```` Execute a gnuplot script: ...
https://github.com/touying-typ/touying-poster
https://raw.githubusercontent.com/touying-typ/touying-poster/main/poster.typ
typst
#import "@preview/octique:0.1.0": octique-inline #set page("a5", margin: 40pt, height: auto) #set text(font: "Fira Sans") #set par(justify: true) #box(text(font: "PangMenZhengDao-XiXian", size: 85pt)[投], baseline: -4pt) #text(fill: blue, size: 60pt)[*Touy*]#text( fill: rgb("#143345"), size: 60pt, )[*ing*] #v(-4p...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/capitoli_applicazioni/vad.typ
typst
= Vad *V* entricular *A* ssist *D* evice == HearthWare Dispositivo caratterizzato da pompa di tipo centrifugo e levitazione magnetica del rotore combinata con propulsione delle palette (lifting) per il mantenimento della posizione flottante. === Shear Stress $tau$ $ tau = mu dot gamma $ - $mu$ : viscosità dinamica ...
https://github.com/elteammate/typst-compiler
https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/pprint.typ
typst
#import "reflection-ast.typ": is_ast_node #import "typesystem.typ": type_to_string #let pprint(node) = { let ty = if is_ast_node(node) { "ast" } else if type(node) == "dictionary" and "instr" in node { "ir_instr" } else if type(node) == "dictionary" and "code" in node and "labels" in node { "ir" } ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-1_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 3cm, margin: 0pt) #grid( columns: (1fr,), rows: (1fr, auto, 2fr), [], align(center)[A bit more to the top], [], )
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-16.typ
typst
Other
// Error: 13-14 duplicate parameter: a #let f(a, ..a) = none
https://github.com/eduardz1/Bachelor-Thesis
https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/chapters/introduction.typ
typst
#import "../utils/common.typ": * = Introduction The following project was realized as an internship project during my Erasmus semester abroad in Oslo, Norway in collaboration with the #link("https://www.uio.no/")[University of Oslo] and the #link("https://sirius-labs.no/")[Sirius Research Center]. The central focus ...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem07/bubbles.typ
typst
#import "@preview/cetz:0.2.2" #import "@preview/suiji:0.3.0": * #let get-circle-intersections(x1, y1, r1, x2, y2, r2) = { let d = calc.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)) let a = (r1 * r1 - r2 * r2 + d * d) / (2 * d) let determinant = r1 * r1 - a * a if determinant < 0 { return () } ...
https://github.com/RoyalRoppers/stadgar
https://raw.githubusercontent.com/RoyalRoppers/stadgar/master/README.md
markdown
# Statutes of RoyalRoppers The latest version of the statutes are available through a release [here](https://github.com/RoyalRoppers/stadgar/releases/download/latest/royalroppers-statutes.pdf)! ## Changes Whenever a change is approved on one yearly meeting, a pull request with the change should be opened. After the ...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/docs/stability%20radius.typ
typst
= BÁN KÍNH ỔN ĐỊNH CỦA ĐIỂM 1-MEDIAN Giả sử $w in RR_+^n$ là một vecto trọng số thỏa mãn điều kiện (1) và $v_1$ là một trung vị tương ứng với $w$. Trong thực tế, vecto trọng số $w$ có thể bị nhiễu thành vecto $tilde(w) in RR_+^n$. Ta giả sử rằng sự khác biệt giữ $w$ và $tilde(w)$ là nhỏ, tức là $norm(tilde(w)-w)_infi...
https://github.com/donabe8898/typst-slide
https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/並行prog/01/01.typ
typst
MIT License
// typst compile 01.typ /home/yugo/git/donabe8898/typst-slide/opc/並行prog/01/第1回/{n}.png --format png #import "@preview/polylux:0.3.1": * #import themes.clean: * #show: clean-theme.with( aspect-ratio: "16-9", footer: "Goであそぼう", // short-title: "", logo: image("01素材/gopher.svg"), color: teal ) #show link: se...
https://github.com/wj461/operating-system-personal
https://raw.githubusercontent.com/wj461/operating-system-personal/main/HW1/hw1.typ
typst
#import emoji: arrow #align(center, text(17pt)[ *Operating-system homework\#1* ]) #(text(14pt)[ = Written exercises ]) = • Chap.1 - 1.16: Direct memory access is used for high-speed I/O devices in order to avoid increasing the CPU's execution load. - (a) How does the CPU interface with the device to coordinate t...
https://github.com/SillyFreak/typst-crudo
https://raw.githubusercontent.com/SillyFreak/typst-crudo/main/README.md
markdown
MIT License
# Crudo Crudo allows conveniently working with `raw` blocks in terms of individual lines. It allows you to e.g. - filter lines by content - filter lines by range (slicing) - transform lines - join multiple raw blocks While transforming the content, the original [parameters](https://typst.app/docs/reference/text/raw/...
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/decide-wedges/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: "Decide: Pushing Robots", type: "decide", date: datetime(year: 2023, month: 9, day: 8), author: "<NAME>", witness: "<NAME>", ) We rated the choices by the following cri...
https://github.com/mitex-rs/mitex
https://raw.githubusercontent.com/mitex-rs/mitex/main/packages/mitex/examples/bench.typ
typst
Apache License 2.0
#import "../lib.typ": * #set page(width: 500pt) #assert.eq(mitex-convert("\alpha x"), "alpha x ") Write inline equations like #mi("x") or #mi[y]. Also block equations: #mitex("\alpha x" * 8000) /* last^1 17000 Benchmark 1: typst compile --root . packages\mitex\examples\bench.typ Time (mean ± σ): 323.1 ms ±...
https://github.com/teamdailypractice/pdf-tools
https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/examples/example-03.typ
typst
= Introduction In this report, we will explore the various factors that influence _fluid dynamics_ in glaciers and how they contribute to the formation and behaviour of these natural structures. = கடவுள் வாழ்த்து
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-07.typ
typst
Other
// Error: 11-22 expected integer, float, length, angle, ratio, or fraction, found string #calc.abs("no number")
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/features_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test ligatures. fi vs. #text(ligatures: false)[No fi]
https://github.com/msakuta/latypst
https://raw.githubusercontent.com/msakuta/latypst/master/README.md
markdown
# latypst An experimental tool to convert LaTeX math to Typst math Try it now on your browser! https://msakuta.github.io/latypst/ ## Overview [Typst](https://typst.app/) is a great typesetting software, but they decided to make the math markup not compatible with LaTeX's. It is fine as a brand new typesetting progr...
https://github.com/tingerrr/masters-thesis
https://raw.githubusercontent.com/tingerrr/masters-thesis/main/src/de/chapters/2-t4gl.typ
typst
#import "/src/util.typ": * #import "/src/figures.typ" T4gl (_engl._ #strong[T]esting #strong[4]th #strong[G]eneration #strong[L]anguage) ist ein proprietäres Softwareprodukt zur Entwicklung von Testsoftware für Industrieprüfanlagen wie die LUB (#strong[L]ow Speed #strong[U]niformity and #strong[B]alance), HSU (#strong...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/book/main.typ
typst
#import "@preview/diagraph:0.3.0": * #import "@preview/minitoc:0.1.0": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge, shapes #import "./components/code-blocks.typ": code-block, window-titlebar #import "./components/utils.typ": n_pagebreak #set heading(numbering: "1.") #set page(numbering: "1") #...
https://github.com/azduha/typst-templates
https://raw.githubusercontent.com/azduha/typst-templates/main/template.typ
typst
MIT License
#let lineThickness = 0.7pt #let fillColor = rgb(50,50,150) #let fillSize = 0.9em #let duha( title: "", subtitle: "", author: "", body, ) = { // Set the document's basic properties. set document(author: author, title: title) // Set body font family. set text(lang: "cs", 12pt) show heading: it => { ...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0003.typ
typst
#import "../helpers.typ": * #let longest-substring-without-repeating-charaters-ref(s) = { let s = s.clusters() let n = s.len() let ans = 1 let l = 0 let d = (:) for r in range(n) { let c = s.at(r) while c in d { let cl = s.at(l) let _ = d.remove(cl) l += 1 } d.insert(c, 1)...
https://github.com/NorfairKing/typst.nix
https://raw.githubusercontent.com/NorfairKing/typst.nix/master/README.md
markdown
# Building Typst documents with Nix ## Using this repository ``` nix let typstNixRepo = builtins.fetchGit { url = "https://github.com/NorfairKing/typst.nix"; rev = "0000000000000000000000000000000000000000"; # Use a recent typst.nix commit }; makeTypstDocument = pkgs.callPackage (typstNixRepo ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/dialogue.problemset.typ
typst
#let problemset(..sink) = { [hiowdy] }
https://github.com/curvenote/tex-to-typst
https://raw.githubusercontent.com/curvenote/tex-to-typst/main/README.md
markdown
MIT License
# tex-to-typst [![tex-to-typst on npm](https://img.shields.io/npm/v/tex-to-typst.svg)](https://www.npmjs.com/package/tex-to-typst) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/curvenote/tex-to-typst/blob/main/LICENSE) ![CI](https://github.com/curvenote/tex-to-typst/workflows/C...
https://github.com/TideDra/seu-thesis-typst
https://raw.githubusercontent.com/TideDra/seu-thesis-typst/main/bachelor_thesis.typ
typst
#import "template.typ": acknowledgment, appendix, bachelor_conf, seu_bibliography #import "utils.typ": paragraph, set_doc_footnote, subfigure #import "@preview/funarray:0.3.0": cycle #import "@preview/tablex:0.0.8": tablex, vlinex, hlinex, colspanx, rowspanx // 由于Typst目前的缺陷,footnote必须在开头设置。未来可能会改进 #show: doc => set_do...
https://github.com/Namacha411/typst-template
https://raw.githubusercontent.com/Namacha411/typst-template/master/README.md
markdown
Apache License 2.0
# Typst-template [Typst](https://github.com/typst/typst)で日本語のレポートを書く時用のテンプレート。フォント設定は游明朝。 [template.typ](template.typ)をインポートし、 ```typ #import "template.typ": * #show: project.with( title: "タイトル", authors: ( "<NAME>", ), date: "2024/01/06" ) ``` のように使う このフォルダをダウンロードして`main.typ`を書き換えて使うのが楽 ## 例 - [サンプルコ...
https://github.com/ludwig-austermann/typst-idwtet
https://raw.githubusercontent.com/ludwig-austermann/typst-idwtet/main/idwtet.typ
typst
MIT License
#let init( body, bcolor: luma(210), inset: 5pt, border: 2pt, radius: 2pt, content-font: "linux libertine", code-font-size: 9pt, content-font-size: 11pt, code-return-box: true, wrap-code: false, eval-scope: (:), escape-bracket: "%" ) = { let eval-scope-values = (:) let eval-scope-codes = (:...
https://github.com/heloineto/utfpr-tcc-template
https://raw.githubusercontent.com/heloineto/utfpr-tcc-template/main/template/template.typ
typst
#import "cover-page.typ": cover-page #import "title-page.typ": title-page #import "approval-page.typ": approval-page #import "abstract-page.typ": abstract-page #import "acknowledgment-page.typ": acknowledgment-page #let base( weight: "regular", style: "normal", body ) = { text( 12pt, weig...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.1/template/images/README.md
markdown
Apache License 2.0
# images/ Place the images related to your project here. You can then include the images into your thesis with the [`image`][image] function: ```typst #image("path/to/images/filename.svg", width:100%) ``` If you place the `image` call into a [`figure`][figure], you will get a numbered picture that you can reference. ...
https://github.com/RakuJa/Formula_SAE_Report
https://raw.githubusercontent.com/RakuJa/Formula_SAE_Report/main/main.typ
typst
MIT License
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Formula SAE report", subtitle: "", subject: "Project report", guide: ( name: "<NAME>", designation: "Professor & Chair of the M.Sc...
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/plots/errorrates_temp_enroll.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot #let data25 = csv("../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_25.csv") #let ndata25 = data25.map(value => value.map(v => float(v)))// fucking hell is that cursed #let data5 = csv("../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_5.csv...
https://github.com/JarKz/math_analysis_with_typst
https://raw.githubusercontent.com/JarKz/math_analysis_with_typst/main/groups/first.typ
typst
MIT License
= Первая группа вопросов 1. *Понятие множества, отношения включения, основные операции над множествами, их свойства.* *Определение 1*. _Множеством_ называется произвольный набор (совокупность, класс, семейство) каких-либо объектов. Объекты, входящие во множество, называются его _элементами_. Если объект $x$ является ...
https://github.com/Raunak12775/aloecius-aip
https://raw.githubusercontent.com/Raunak12775/aloecius-aip/main/README.md
markdown
# aloecius-aip This is a typst template for reproducing papers of American Institute of Physics (AIP) publishing house, mainly draft version of Journal of Chemical Physics. This is inspired by the overleaf $\LaTeX$ template of AIP journals. ## Usage You can use this template with typst web app by simply clicking on ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Lecture%203%20Special%20Relativity%20(2).typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Lecture 3 Special Relativity (2)", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") = Invariance o...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/angle/angle-symbol/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": * #set page(width: auto, height: auto, margin: 1cm) #ang(6, 7, 6.5) #metro-setup( angle-symbol-degree: math.upright("d"), angle-symbol-minute: math.upright("m"), angle-symbol-second: math.upright("s"), ) #ang(6, 7, 6.5)
https://github.com/daniel-eder/typst-template-jku
https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/README.md
markdown
<!-- SPDX-FileCopyrightText: 2023 <NAME> SPDX-License-Identifier: CC0-1.0 --> # Typst Template: JKU Dissertation A typst template conforming with the [requirements of the Johannes Kepler University Linz for a dissertation](https://www.jku.at/studium/studierende/abschlussarbeiten/dissertation/). The template is bas...
https://github.com/jamesrswift/springer-spaniel
https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/tests/drafting/test.typ
typst
The Unlicense
#import "/tests/preamble.typ": * #import springer-spaniel.drafting: * #show: springer-spaniel.template( title: [Towards Swifter Interstellar Mail Delivery] + margin-note(text(size:9pt, weight: 450,[We need a better title than this])), authors: ( ( name: [<NAME>] + margin-note(side: left)[Do we like ...