repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Metodi_defs.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/ctheorems:1.1.2": * #let example = thmbox("example", "Esempio", fill: rgb("#e9eef7")) #let theorem = thmbox("theorem", "Teorema", fill: rgb("#e7f7e6")) #let principle = thmbox("principle", "Principio", fill: rgb("#e7f7e6")) #let lemma = thmbox("lemma", "Lemma", fill: rgb("#f7ebf4")) #let corollary = ...
https://github.com/0x6e66/hbrs-typst
https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/modules_en/01_fundamentals.typ
typst
= Fundamentals #lorem(500) == Sub-Fundamentals #lorem(500)
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/feature/cli.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book-page.with(title: "Tinymist Command Line Interface (CLI)") == Starting a LSP Server To start a language server following the #link("https://microsoft.github.io/language-server-protocol/")[Language Server Protocol]. ``` tinymist lsp ``` == Starting a Preview Server To start a previe...
https://github.com/CreakZ/mirea-algorithms
https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/work_8/work_8.typ
typst
#import "../title_page_template.typ": title_page #import "../layouts.typ": * #set text(font: "New Computer Modern", size: 14pt) #set page(margin: 2cm, paper: "a4") #set heading(numbering: "1.") #set figure(supplement: [Рисунок]) #set figure.caption(separator: [ -- ]) #title_page(8, [Стек и очередь]) #un_h...
https://github.com/RemiSaurel/miage-rapide-tp
https://raw.githubusercontent.com/RemiSaurel/miage-rapide-tp/main/0.1.0/lib.typ
typst
#let conf( subtitle: none, authors: (), years: (2024, 2025), toc: true, lang: "fr", font: "Satoshi", date: none, image: "../assets/miage.png", title, doc, ) = { set text(lang: lang, font: font) v(32pt) figure( image(image, width: 50%), ) v(32pt) let count = authors.len() let ncols...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/036%20-%20Guilds%20of%20Ravnica/015_The%20Gathering%20Storm%3A%20Chapter%2010.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 10", set_name: "Guilds of Ravnica", story_date: datetime(day: 14, month: 08, year: 2019), author: "<NAME>", doc ) The rain came down as though it had a grudge against the city, rattling roof tiles and slamming a...
https://github.com/ludwig-austermann/modpattern
https://raw.githubusercontent.com/ludwig-austermann/modpattern/main/README.md
markdown
MIT License
# modpattern This package provides exactly one function: `modpattern` It's primary goal is to create make this: ![comparison table](examples/comparison.png) ## modpattern function The function with the signature `modpattern(size, body, dx: 0pt, dy: 0pt, background: none)` has the following parameters: - `size` is a...
https://github.com/pluttan/os
https://raw.githubusercontent.com/pluttan/os/main/lab1/dz1.typ
typst
#import "@docs/bmstu:1.0.0":* #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx #show: student_work.with( caf_name: "Компьютерные системы и сети", faculty_name: "Информатика и системы управления", work_type: "домашнему заданию", study_field: "09.03.01 Информатика и вычислительная техника", ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-11.typ
typst
Other
// Ref: false // Destructuring with an empty sink and empty array. #let (..a) = () #test(a, ())
https://github.com/Charging1948/quarto-typst-dhbw
https://raw.githubusercontent.com/Charging1948/quarto-typst-dhbw/main/README.md
markdown
# DHBW Mosbach Bachelor Thesis Format Initially based upon [Project-Report-Typst (by aurghya-0)](https://github.com/aurghya-0/Project-Report-Typst) ## Installing ```bash quarto use template Charging1948/quarto-dhbw-typst ``` This will install the format extension and create an example qmd file that you can use as a...
https://github.com/TheWebDev27/Calc-II-Honors-Project
https://raw.githubusercontent.com/TheWebDev27/Calc-II-Honors-Project/main/references.typ
typst
#set text( font: "New Computer Modern", size: 10pt ) #set align(center) = References \ <NAME>. (1976). _Foundations of Infinitesimal Calculus_, <NAME> & Schmidt. \ <NAME>. (1996). _Calculus With Analytic Geometry_ (2nd ed.), Mcgraw-Hill Education. \ <NAME>. (2012). _A Brief Introduction to Infinitesima...
https://github.com/naps62/presentation-rust
https://raw.githubusercontent.com/naps62/presentation-rust/main/main.typ
typst
#import "./theme.typ": * #set page(paper: "presentation-16-9") #set text(size: 25pt) #show: simple-theme.with( foreground: dark, background: light ) #title-slide[ = Rust === A brief intro #figure( image("assets/ferris.png", width: 10%) ) <NAME> (\@naps62) / Subvisual ] #slide[ #set align(cente...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/03-polynomials/01-polys-power-series.typ
typst
Other
#import "../../utils/core.typ": * == Многочлены и формальные степенные ряды #def[ Последовательность _финитная_ $<==> exists N: forall n >= N: a_n = 0$. ] #def[ Многочленом над $R$ (от одной переменной) называется финитная последовательность $(a_i), space a_i in RR, space i=0,1,2,...$. ] #def[ $R$ --- к...
https://github.com/Akida31/anki-typst
https://raw.githubusercontent.com/Akida31/anki-typst/main/typst/doc/doc.typ
typst
#import "@preview/tidy:0.3.0" #import "../src/lib.typ" as anki #set heading(numbering: (..num) => if num.pos().len() < 3 { numbering("1.1.", ..num) }) #show heading.where(level: 1, outlined: true): inner => [ #{ set text(size: 24pt) inner } // #set text(size: 13pt) // Items: ] #set document(title: ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/186.%20useful.html.typ
typst
useful.html How to Write Usefully February 2020What should an essay be? Many people would say persuasive. That's what a lot of us were taught essays should be. But I think we can aim for something more ambitious: that an essay should be useful.To start with, that means it should be correct. But it's not enough merely ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/gallery/readme/boilerplate.typ
typst
Apache License 2.0
#import "/src/lib.typ" as chronos #set page( width: auto, height: auto, margin: 0.5cm ) #chronos.diagram({ import chronos: * _par("Alice") _par("Bob") })
https://github.com/fsr/rust-lessons
https://raw.githubusercontent.com/fsr/rust-lessons/master/src/lesson8.typ
typst
#import "slides.typ": * #show: slides.with( authors: ("<NAME>", "<NAME>"), short-authors: "H&A", title: "Wer rastet, der rostet", short-title: "Rust-Kurs Lesson 7", subtitle: "Ein Rust-Kurs für Anfänger", date: "Sommersemester 2023", ) #show "theref": $arrow.double$ #show link: underline #new-se...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/codelst/1.0.0/codelst.typ
typst
Apache License 2.0
#let codelst-counter = counter("@codelst-line-numbers") #let codelst-count-blanks( line, char:"\t" ) = { let m = line.match(regex("^" + char + "+")) if m != none { return m.end } else { return 0 } } #let codelst-add-blanks( line, spaces:4, gobble:0 ) = { if gobble in (none, false) { gobble = 0 } ...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/chained-call.typ
typst
Apache License 2.0
#{ a.bbbbbbbbbbbbb().c().ddddddddddddddddddddddd } #{ a.bbbbbbbbbbbbbb()[c][d].eeeeeeeeee().f() } #{ a.bbbbbbbbbbbbbb()[c][d].eeeeeeeeee().f(123)[444][ccc] } #{ let (title, _) = query(heading.where(level: 1)).map(e => (e.body, e.location().page())).rev().find(((_, v)) => v <= page) } #a.b()[c][d].eeeeeeeeee...
https://github.com/mismorgano/UG-PartialDifferentialEquations-23
https://raw.githubusercontent.com/mismorgano/UG-PartialDifferentialEquations-23/main/tareas/tarea-01/tarea-01.typ
typst
#set text(font: "New Computer Modern", size: 12pt) #set enum(numbering: "(a)") #let inf = $infinity$ #let e = counter("exercise") #let exercise(label, body, number: none) = { if number != none { e.update(number) } else { e.step() } box(width: 100%,stroke: 1pt, inset: 5pt, [#text(size: 1.6em)[*Problema...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.1.1/src/all.typ
typst
Apache License 2.0
#import "@preview/cetz:0.1.2" as cetz #import "utils.typ": * #import "marks.typ": * #import "draw.typ": * #import "layout.typ": *
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10860.typ
typst
Apache License 2.0
#let data = ( ("PALMYRENE LETTER ALEPH", "Lo", 0), ("PALMYRENE LETTER BETH", "Lo", 0), ("PALMYRENE LETTER GIMEL", "Lo", 0), ("PALMYRENE LETTER DALETH", "Lo", 0), ("PALMYRENE LETTER HE", "Lo", 0), ("PALMYRENE LETTER WAW", "Lo", 0), ("PALMYRENE LETTER ZAYIN", "Lo", 0), ("PALMYRENE LETTER HETH", "Lo", 0), ...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Templates/question.typ
typst
#let question_heading(doc) = { show heading.where(level: 2) : set text(weight: "medium", style: "italic") show heading.where(level: 3) : set text(weight: "medium") doc }
https://github.com/InternetFreedomFoundation/ghost-typst
https://raw.githubusercontent.com/InternetFreedomFoundation/ghost-typst/main/main.typ
typst
#set page( numbering: "1", number-align: center, ) #set heading(numbering: "1.") #set par(justify: true) #set text( font: "Helvetica", ) #show "__GHOST_URL__": "https://internetfreedom.in" #show "GHOST_URL/": "https://internetfreedom.in" #align(center, text(18pt)[ *Internet Freedom Foundation* \ New Delh...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/09-basis.typ
typst
Other
#import "../../utils/core.typ": * == Базис и размерность #ticket[Равносильные определения базиса. Размерность] #def[ Набор векторов $sq(e) in V$ называется _базисом_, если $ forall v in V space.quad exists! alpha_1, ..., alpha_n in K: space.quad v = alpha_1 e_1 + ... + alpha_n e_n $ ] #pr(name: "Эквивалентные ...
https://github.com/ist199211-ist199311/continuous-ifc-devops
https://raw.githubusercontent.com/ist199211-ist199311/continuous-ifc-devops/master/go-theme.typ
typst
// This theme contains ideas from the former "bristol" theme, contributed by // https://github.com/MarkBlyth #import "@preview/polylux:0.3.1": * #let clean-footer = state("clean-footer", []) #let clean-short-title = state("clean-short-title", none) #let clean-color = state("clean-color", teal) #let clean-logo = state...
https://github.com/Blezz-tech/math-typst
https://raw.githubusercontent.com/Blezz-tech/math-typst/main/test/test.typ
typst
#outline(indent: 12pt) = 1. tikz #import "@preview/cetz:0.1.2" #show math.equation: block.with(fill: white, inset: 1pt) #cetz.canvas(length: 4cm, { import cetz.draw: * set-style( mark: (fill: black), stroke: (thickness: 0.4pt, cap: "round"), angle: ( radius: 0.3, label-radius: .22, ...
https://github.com/mitex-rs/mitex
https://raw.githubusercontent.com/mitex-rs/mitex/main/packages/mitex/specs/prelude.typ
typst
Apache License 2.0
/// Define a normal symbol, as no-argument commands like \alpha /// /// Arguments: /// - s (str): Alias command for typst handler. /// For example, alias `\prod` to typst's `product`. /// - sym (content): The specific content, as the value of alias in mitex-scope. /// For example, there is no direct alias for \negt...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/lib.typ
typst
MIT License
#import "harbin/bachelor/lib.typ" as harbin-bachelor #import "harbin/bachelor/lib.typ" as weihai-bachelor #import "harbin/bachelor/lib.typ" as shenzhen-bachelor #import "harbin/bachelor/lib.typ" as universal-bachelor
https://github.com/Cheng0Xin/typst-libs
https://raw.githubusercontent.com/Cheng0Xin/typst-libs/master/semantics/semantics.typ
typst
#let vspace-between-formula = 5pt #let hspace-between-formula = 20pt #let cons-obj(obj, styles) = if type(obj) == content { let c-content = align(start+bottom)[#obj] return ( text: c-content, length: measure(c-content, styles).width, ) } else if type(obj) == dictionary { let up-content = cons-obj(obj.u...
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/microecon/main.typ
typst
#import "quiz_bank.typ":* #show heading: set text(font: "<NAME>", fill: gradient.linear(..color.map.crest)) #set heading(numbering: "1.") #set page(numbering: "1") #set text(font: "<NAME>", lang:"ja") #set par(leading: 1em, first-line-indent: 1em) #show math.equation: set text(font: "TeX Gyre Pagella Math") #show stro...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/paddling-tongji-thesis/0.1.1/init-files/sections/acknowledgments.typ
typst
Apache License 2.0
#import "@preview/paddling-tongji-thesis:0.1.1": * #heading("谢辞", numbering: none) #empty-par() 本节通常用于感谢在研究过程中给予帮助和支持的人们,例如指导老师、实验室同学、朋友和家人等。 在谢辞中,需要真诚地表达感谢之情,回顾一下在研究过程中所受到的帮助和支持,并提到他们的具体贡献和重要性。同时,也可以简要说明一下自己在研究过程中的收获和体会,表达对他们的感激之情和祝福。 最后,需要注意不要出现太多的感情用词,语言简洁明了,表达真诚和诚恳即可。 谢谢支持本项目的所有朋友们。并且希望选用该模板的朋友们都能顺利通过查重与答辩。
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-18.typ
typst
Other
// Test the `trim` method. #let str = "Typst, LaTeX, Word, InDesign" #let array = ("Typst", "LaTeX", "Word", "InDesign") #test(str.split(",").map(s => s.trim()), array) #test("".trim(), "") #test(" abc ".trim(at: start), "abc ") #test(" abc ".trim(at: end, repeat: true), " abc") #test(" abc".trim(at: start, repeat: fa...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/complex.typ
typst
Apache License 2.0
// Real and imaginary part #let re(V) = V.at(0) #let im(V) = V.at(1) // Complex multiplication #let mul(V,W) = (re(V)*re(W) - im(V)*im(W),im(V)*re(W) + re(V)*im(W)) // Complex conjugate #let conj(V) = (re(V),-im(V)) // Dot product of V and W as vectors in R^2 #let dot(V,W) = re(mul(V,conj(W))) // Norm and norm-squa...
https://github.com/SavaGlavan/homework_template
https://raw.githubusercontent.com/SavaGlavan/homework_template/main/template.typ
typst
MIT License
#let apply-template(body, name: "", class: "", term: "", title: "") = { set page( paper: "us-letter", header: [ #text(class) #h(1fr) #text(term)\ #text(title) #h(1fr) #text(name) #line(length: 100%) ], margin: ( left: 1cm, right: 1cm, ), numbering: "1", ) set enum(full:...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/timing.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "common.typ": cetz, monotext, hex #let clock = (len, ..args) => (type: "C", len: len, ..args.named()) #let data = (len, label, ..args) => (type: "D", len: len, label: label, ..args.named()) #let either = (len, ..args) => (type: "E", len: len, ..args.named()) #let high = (len, ..args) => (type: "H", len: len, ....
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/single-elem-destruct.typ
typst
Apache License 2.0
#let (num,) = (1,) #num #let (((num,),),) = (((1,),),) #num #let (_,) = (((1,),),) #let ((num),) = (1,) #num
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/utils.typ
typst
#let section(name) = { align(center, [#heading(numbering: "1.1.1.", level: 1, name)]) line(length: 100%) } #let subsection(name) = { align(center, [#heading(numbering: "1.1.1.", level: 2, name)]) line(length: 100%) } #let subsubsection(name) = { align(center, [#heading(numbering: "1.1.1.", level: 3, name)])...
https://github.com/dark-flames/resume
https://raw.githubusercontent.com/dark-flames/resume/main/main-cv.typ
typst
MIT License
#import "resume.typ": * #resume(( x-lang: "en", x-version: "cv" ))
https://github.com/Lelidle/Q12-cs-scripts
https://raw.githubusercontent.com/Lelidle/Q12-cs-scripts/main/languages.typ
typst
#import "template.typ": * #show: setup #set enum(numbering: (..args) => strong(numbering("1.", ..args))) // in Aufzählungen Zahlen fett #set heading ( numbering: "1." ) #v(1fr) #align(center)[#text(32pt)[Formale Sprachen \ #align(center)[#image("images/chomsky.png", width: 80%)]]] #v(1fr) #pagebreak() #set p...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/labels/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ": * #let labels-everywhere = ( (content: "lt", pos: left + top), (content: "t", pos: top), (content: "rt", pos: right + top), (content: "l", pos: left), (content: "c", pos: center), (content: "r", pos: right), (conte...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/sinker.typ
typst
#let master = ( inline-canvas: ( length: 1in, ) ) #let get(key, sink) = { let ref = master.at(key) let kwargs = sink.named() return merge-fresh(ref, kwargs) } // #panic(arguments(1, foo: "a").named()) // #get("aa", arguments()) // this is the sink object // on the one hand, need to stay...
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/metadata.typ
typst
MIT License
/* We keep document metadata in a stateful dict so that the we (and the user) can query these values at arbitrary locations in the document. */ /* The global metadata state. */ #let metadata = state("metadata", ( title: none, subtitle: none, document-name: none, author: none, classification: none, revis...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/15-linear-operators.typ
typst
Other
#import "../../utils/core.typ": * == Линейные операторы #ticket[Линейные операторы, условия обратимости] #th(name: "<NAME> для линейных отображений")[ Пусть $Aa in Hom(V, W)$, $dim V = dim W < oo$. Тогда инъективность $Aa$ равносильна тому, что $Aa$ сюръективно. ] #proof[ Инъективность $Aa$ равносильна $Ker...
https://github.com/EpicEricEE/typst-marge
https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/parameter/gap/test.typ
typst
MIT License
#import "/src/lib.typ": sidenote #set par(justify: true) #set page(width: 8cm, height: auto, margin: (outside: 4cm, rest: 5mm)) #let sidenote = sidenote.with(numbering: "1") #lorem(3) #sidenote[Normal gap.] #lorem(3) #sidenote[Normal gap.] #lorem(3) #sidenote(gap: 0pt)[Small gap.] #lorem(3) #sidenote(g...
https://github.com/emsquid/projet-chiffres
https://raw.githubusercontent.com/emsquid/projet-chiffres/main/enonce.typ
typst
#let project(title: "", authors: (), body) = { set document(author: authors, title: title) set page(numbering: "1", number-align: center) set text(font: "New Computer Modern", lang: "fr") set par(justify: true) show list: set block(below: 1%) show math.equation: set text(weight: 400) show raw.where(block...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/机器视觉实践/报告/3/3.typ
typst
The Unlicense
#import "../template.typ": * #show: project.with( title: "3", authors: ("absolutex",), ) = 机器视觉实践 三 == 实验目的 人脸图像祛痣 + 去除人脸上的痣,使其恢复正常皮肤 + 要求图像祛痣算法具有实时性 + 要求实现图像局部祛痣,即在祛痣的同时保持无痣区域的颜色和对比度不变 + 具体祛痣方法不限 + 编程语言不限,可通过C++,Python或Matlab 实现 == 实验内容 一般祛痣广泛使用的有两种方法,一个是用 inpaint 计算出来,另一个是直接拿另一片区域的皮肤填补有痣区域的皮肤。这里把两个方法都实现了一遍。...
https://github.com/Caellian/UNIRI_voxels_doc
https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/main.typ
typst
#import "template.typ": config, figure-list #show "TODO": box(fill: red, outset: 2pt, text(fill: white, weight: "black", "NEDOSTAJE SADRŽAJ")) #show: config( [Završni rad], [Metode prikaza volumetrijskih struktura u računalnoj grafici], [Tin Švagelj], attributions: [ *Mentor:* doc. dr. sc., <NAME> ], ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/vec.typ
typst
// Test vectors. --- math-vec-gap --- #set math.vec(gap: 1em) $ vec(1, 2) $ --- math-vec-align --- $ vec(-1, 1, -1, align: #left) vec(-1, 1, -1, align: #center) vec(-1, 1, -1, align: #right) $ --- math-vec-align-explicit-alternating --- // Test alternating alignment in a vector. $ vec( "a" & "a a a" & "a a", ...
https://github.com/mitinarseny/invoice
https://raw.githubusercontent.com/mitinarseny/invoice/main/src/parties.typ
typst
#import "./utils.typ": mailto, tel #let address(addr) = [ #if "street" in addr [ #addr.street, \ ] #if "city" in addr [ #addr.city, ] #if "country" in addr [ #addr.country \ ] #if "postal_code" in addr [ #addr.postal_code ] ] #let party(details) = align(horizon, table( columns: 1, ...
https://github.com/txtxj/Formal-Methods-Typst
https://raw.githubusercontent.com/txtxj/Formal-Methods-Typst/main/sample.typ
typst
#import "template.typ": * #import "formal_method_template.typ": proof (1) #proof( $(p and q) and r$, [p], $s and t$, [p], $p and q$, [$and e_1$ 1], $q$, [$and e_2$ 3], $s$, [$and e_1$ 2], $q and s$, [$and i$ 4,5] ) #line(length: 100%) (2) #proof( $q->r$, [p], [+], 5, $p->q$, [a], [+], 3, $p$, [...
https://github.com/malramsay64/resume
https://raw.githubusercontent.com/malramsay64/resume/main/utils.typ
typst
// Helper Functions #let monthname(n, display: "short") = { n = int(n) let month = "" if n == 1 { month = "January" } else if n == 3 { month = "March" } else if n == 2 { month = "February" } else if n == 4 { month = "April" } else if n == 5 { month = "May" } else if n == 6 { month = "Ju...
https://github.com/Servostar/dhbw-abb-typst-template
https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/src/conf.typ
typst
MIT License
// .--------------------------------------------------------------------------. // | Configuration | // '--------------------------------------------------------------------------' // Author: <NAME> // Edited: 27.06.2024 // License: MIT #import "branding.typ...
https://github.com/El-Naizin/cv
https://raw.githubusercontent.com/El-Naizin/cv/main/modules_en/projects.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Personnal Projects") #cvEntry( title: [Development of a rust profiler], society: [Personnal UTC project], //todo: reformluler date: [2023 - Present], location: [], description: list( [Develeppoment in rust, of a *multi-architecture*, *multi-platform*...
https://github.com/mkhoatd/Typst-CV-Resume
https://raw.githubusercontent.com/mkhoatd/Typst-CV-Resume/main/CV/typstcv_single.typ
typst
MIT License
#let date_colour= rgb("#666666") #let primary_colour= rgb("#2b2b2b") #let headings_colour= rgb("#6A6A6A") #let subheadings_colour= rgb("#333333") #let recepient(date, department, university,address, postcode) = { align(left,{ text(10pt,font: "Helvetica", fill: subheadings_colour,weight: "bold", )[#departme...
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch09-client-side-scripting.typ
typst
Other
#import "lib/definitions.typ": * #import "lib/snippets.typ": fielding-rest-thesis == Client Side Scripting #blockquote( attribution: fielding-rest-thesis, )[ REST allows client functionality to be extended by downloading and executing code in the form of applets or scripts. This simplifies clients by reducing t...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/docs/presets.md
markdown
Other
--- title: ucpc.presets supports: ["0.1.0"] --- This is a module that predefines expressions mainly used in algorithm competitions. ## difficulties **General** ```typst difficulties.easy difficulties.normal difficulties.hard difficulties.challenging ``` **solved.ac Difficulty Tiers** ```typst difficulties.bronze di...
https://github.com/ofurtumi/formleg
https://raw.githubusercontent.com/ofurtumi/formleg/main/h02/h2.typ
typst
#set heading(numbering: "1.a") = Are the statements correct == This is false $A != A^*$ we can proof this by counterexample, let $A = {1}$ then $A^*$ equals the regular expression $1^*$, which corresponds to every possible combination of $1$ including $epsilon$, and it is obvious that $1 != 111...$ == This is true S...
https://github.com/imatpot/typst-ascii-ipa
https://raw.githubusercontent.com/imatpot/typst-ascii-ipa/main/src/lib/converters.typ
typst
MIT License
#import "utils.typ": sanitize #import "converters/branner.typ": convert-branner #import "converters/praat.typ": convert-praat #import "converters/sil.typ": convert-sil #import "converters/xsampa.typ": convert-xsampa #let branner(text, reverse: false) = convert-branner( sanitize(text), reverse: reverse, ) #let pra...
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs
https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/categories/task3/3.conclude.typ
typst
Apache License 2.0
#{include "./3.1.typ"} #{include "./3.2.typ"}
https://github.com/OrangeX4/typst-sympy-calculator
https://raw.githubusercontent.com/OrangeX4/typst-sympy-calculator/main/tests/debug.typ
typst
MIT License
#let null = math.op("N") ```typst-sympy-calculator @func_mat() def convert_null(mat): return sympy.Matrix(mat).nullspace() ```
https://github.com/pluttan/typst-bmstu
https://raw.githubusercontent.com/pluttan/typst-bmstu/main/bmstu/g7.32-2017.typ
typst
MIT License
#import "g7.32-2017/decoration.typ": * #import "g7.32-2017/blocks.typ": *
https://github.com/jujimeizuo/ZJSU-typst-template
https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/template/template.typ
typst
Apache License 2.0
#import "font.typ": * #let Thesis( // 参考文献bib文件路径 ) = { set page(paper: "a4", margin: ( top: 2.54cm, bottom: 2.54cm, left: 2.5cm, right: 2cm), footer: [ #set align(center) #set text(size: 10pt, baseline: -3p...
https://github.com/andreasKroepelin/typst-notebook
https://raw.githubusercontent.com/andreasKroepelin/typst-notebook/main/examples/example-notes.typ
typst
MIT License
#import "../template-notebook.typ": notebook #set text(font: ("Inria Sans", "OpenMoji")) #show: notebook.with( title: [My cool notebook], author: [<NAME>], tags: ( work: orange, family: aqua, ) ) = My first entry This is a very important note about @work. You can find more details in @fermat-s-1st-th...
https://github.com/yongweiy/cv
https://raw.githubusercontent.com/yongweiy/cv/master/education.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar #let metadata = toml("./metadata.toml") #let cvSection = cvSection.with(metadata: metadata, highlighted: false) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Education") #cvEntry( title: [Ph.D. in Computer Science], soci...
https://github.com/mrcinv/nummat-typst
https://raw.githubusercontent.com/mrcinv/nummat-typst/master/06_fizikalna_graf.typ
typst
= Fizikalna metoda za vložitev grafov == Naloga - Izpelji sistem enačb za koordinate vozlišč grafa, tako da so v ravnovesju. - Pokaži, da je matrika sistema diagonalno dominantna in negativno definitna. - Napiši funkcijo, ki za dani graf in koordinate fiksiranih vozlišč, poišče koordinate vseh vozlišč, tako da reši s...
https://github.com/imatpot/typst-ascii-ipa
https://raw.githubusercontent.com/imatpot/typst-ascii-ipa/main/src/lib/utils.typ
typst
MIT License
#let sanitize(value) = { if (type(value) == str) { return value } if (type(value) == content and value.func() == raw) { return value.text } panic("Cannot convert value " + repr(value) + ". Please make sure the value is wrapped in \" or `") }
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/external/pdfpc.md
markdown
--- sidebar_position: 1 --- # Pdfpc [pdfpc](https://pdfpc.github.io/) is a "Presenter Console with multi-monitor support for PDF files." This means you can use it to display slides in the form of PDF pages and it comes with some known excellent features, much like PowerPoint. pdfpc has a JSON-formatted `.pdfpc` file...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/linear/pset5.typ
typst
#import "template.typ": * #show: template.with( title: "PSET 5", subtitle: "18.06", pset: true, toc: false, ) #set math.mat(delim: "[") #set math.vec(delim: "[") Collaborators: <NAME> = 4.3.1 Let us do some calculations on the left side of the equation $A^T A hat(x) = A^T b$ $ A &= mat(1, 0; 1, 1; 1, 3; 1,...
https://github.com/taooceros/MATH-542-HW
https://raw.githubusercontent.com/taooceros/MATH-542-HW/main/HW6/HW6.typ
typst
#import "@local/homework-template:0.1.0": * = 12.1 == 11 #let div = $\/$ We can see that $p^(k-1)M$ and $p^k M$ is a $R$-module. Consider the ideal $I = (p^(k-1), a)$ and $J = (p^k, a)$. Consider the homomorhism of $I->p^(k-1)M$ which is the restriction to $I$ of the homomorphism $R-> R/(a) = M$. Thus, we have ...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/README.md
markdown
MIT License
<h1 align="center"> <img src="https://raw.githubusercontent.com/loqusion/typix/main/.github/assets/logo_1544x1544.png" alt="Typix Logo" width="150" /><br /> Typix </h1> <p align="center"> <a href="https://flakehub.com/flake/loqusion/typix"> <img src="https://img.shields.io/endpoint?style=for-th...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/061.%20america.html.typ
typst
america.html Why Startups Condense in America May 2006(This essay is derived from a keynote at Xtech.)Startups happen in clusters. There are a lot of them in Silicon Valley and Boston, and few in Chicago or Miami. A country that wants startups will probably also have to reproduce whatever makes these clusters form.I...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/007.%20langdes.html.typ
typst
#set page( paper: "a5", margin: (x: 1.8cm, y: 1.5cm), ) #set text( font: "Liberation Serif", size: 10pt, hyphenate: false ) #set par(justify: true) #set quote(block: true) #v(10pt) = Five Questions about Language Design #v(10pt) _May 2001_ _(These are some notes I made for a panel discussion on programming...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/a2c-nums/0.0.1/demo.typ
typst
Apache License 2.0
#import "@preview/a2c-nums:0.0.1": int-to-cn-num, int-to-cn-ancient-num, int-to-cn-simple-num, num-to-cn-currency #set heading(numbering: "1.1") = a2c-nums 示例 == int-to-cn-simple-num #int-to-cn-simple-num(2024) == int-to-cn-num 0-999 #{ let i = 0; while i < 1000 { int-to-cn-num(i) + " " i += 1 } } ...
https://github.com/gaoachao/uniquecv-typst
https://raw.githubusercontent.com/gaoachao/uniquecv-typst/main/main.typ
typst
#import "template.typ": * // 让标题变成cv-blue #show heading: set text(cv-blue) // 项目具体描述的item设定 #set list( indent: 1em, body-indent: 0.5em, ) // 个人信息 #show: project.with(name: "姓名") #info( phone: [(+86) 155-5555-5555], email: link("<EMAIL>"), github: link("github.com/username"), ) = 教育背景 #education( school: ...
https://github.com/Daillusorisch/HYSeminarAssignment
https://raw.githubusercontent.com/Daillusorisch/HYSeminarAssignment/main/template/components/abstract.typ
typst
#import "../utils/style.typ": * #let abstract( keywords: (), display_name: "", title_name: "", keyword_name: "", keyword_sep: "", title_font: (), content_font: (), content ) = { set heading(level: 1, numbering: none) show <_abstract_>: { align(center)[ #v(5pt) #text( font: t...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/label.typ
typst
Apache License 2.0
// Test labels. --- // Test labelled headings. #show heading: set text(10pt) #show heading.where(label: <intro>): underline = Introduction <intro> The beginning. = Conclusion The end. --- // Test label after expression. #show strong.where(label: <v>): set text(red) #let a = [*A*] #let b = [*B*] #a <v> #b --- // T...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20esterna/Verbali/24-03-07/24-03-07.typ
typst
#import "/template.typ": * #show: project.with( date: "07/03/24", subTitle: "Aggiornamento sullo stato dei lavori", docType: "verbale", authors: ( "<NAME>", ), externalParticipants : ( (name: "<NAME>", role: "Referente aziendale"), ), timeStart: "16:00", timeEnd: "16:40", location: "Zoom", ...
https://github.com/usertam/curriculum-vitae
https://raw.githubusercontent.com/usertam/curriculum-vitae/resume/template.typ
typst
Other
#let project( title: "", author: (name: "", email: "", email-alt: "", bio: ""), bio: "", links: (), body, ) = { // Set the document's basic properties. set document(title: title, author: author.name) set page(paper: "a4", margin: 1in) set par(justify: true, leading: .55em) set text(10pt, font: "Corm...
https://github.com/WindowDump/typst-ttrpg
https://raw.githubusercontent.com/WindowDump/typst-ttrpg/main/wodu-remix-sheet-halfletter.typ
typst
The Unlicense
// World of Dungeons Remix (WoDu Remix) // character sheet by Window Dump // https://github.com/WindowDump/typst-ttrpg // wodu remix - https://katamoiran.itch.io/remix // wodu - https://johnharper.itch.io/world-of-dungeons // titles: Fraunces - https://github.com/undercasetype/Fraunces // headings: Jost - https://inde...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week7.typ
typst
#import "../../utils.typ": * #subsection([Reflection]) #set text(size: 14pt) Problem | How do you load code during runtime, e.g. without recompiling?\ Context | Plugin system\ #set text(size: 11pt) // images There is two aspects to reflection: - *introspection*\ The ability for a program to observe and therefore re...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/footnote-container.typ
typst
Apache License 2.0
// Test footnotes in containers. --- // Test footnote in caption. Read the docs #footnote[https://typst.app/docs]! #figure( image("/files/graph.png", width: 70%), caption: [ A graph #footnote[A _graph_ is a structure with nodes and edges.] ] ) More #footnote[just for ...] footnotes #footnote[... testing. :)]...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2D00.typ
typst
Apache License 2.0
#let data = ( ("GEORGIAN SMALL LETTER AN", "Ll", 0), ("GEORGIAN SMALL LETTER BAN", "Ll", 0), ("GEORGIAN SMALL LETTER GAN", "Ll", 0), ("GEORGIAN SMALL LETTER DON", "Ll", 0), ("GEORGIAN SMALL LETTER EN", "Ll", 0), ("GEORGIAN SMALL LETTER VIN", "Ll", 0), ("GEORGIAN SMALL LETTER ZEN", "Ll", 0), ("GEORGIAN S...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/curryst/0.1.0/README.md
markdown
Apache License 2.0
# Curryst A Typst package for typesetting proof trees. You can import this package with : ```typst #import "@preview/curryst:0.1.0" ``` ## Examples Here is a basic usage example: ```typst #let r = curryst.rule(name: "Rule name", "Conclusion", "Premise 1", "Premise 2", "Premise 3") #curryst.proof-tree(r) ``` Resul...
https://github.com/m-pluta/bias-in-ai-report
https://raw.githubusercontent.com/m-pluta/bias-in-ai-report/main/report/main.typ
typst
#import "template.typ": * #show highlight: it => { it // Remove to get rid of highlighted notes } #ieee( title: [ Assessing the use of Facial Emotion Recognition (FER) for consumer sentiment analysis ], abstract: [ In this paper, we discuss the ethical considerations necessary for an emotion recognition sys...
https://github.com/Shuenhoy/citext
https://raw.githubusercontent.com/Shuenhoy/citext/master/package/lib.typ
typst
MIT License
#import "@preview/jogs:0.2.3": compile-js, call-js-function, list-global-property #import "@preview/mitex:0.2.4": mi #let cite-src = read("./dist/index.iife.js") #let cite-bytecode = compile-js(cite-src) #let gb-t-7714-2015-numeric-bilingual = read("gb-t-7714-2015-numeric-bilingual.csl") #let locales-zh-CN = read("...
https://github.com/Daillusorisch/HYSeminarAssignment
https://raw.githubusercontent.com/Daillusorisch/HYSeminarAssignment/main/template/components/abstract-en.typ
typst
#import "abstract.typ": abstract #import "../utils/style.typ": * #let abstract-en( keywords: (), content ) = { abstract( keywords: keywords, display_name: "ABSTRACT", title_name: "ABSTRACT", keyword_name: "Keywords: ", keyword_sep: "; ", title_font: 字体.宋体, content_font: 字体.宋体, con...
https://github.com/buxx/cv
https://raw.githubusercontent.com/buxx/cv/master/modules/professional.typ
typst
#import "../brilliant-CV/template.typ": * #cvSection("Expérience Professionnelle", highlighted: true, letters: 3) #cvEntry( title: [Algoo], society: [], date: [2015 - Aujourd'hui], location: [Moirans (Grenoble), Isère], vdiff: -6pt, description: list( [Conception et développement d'un lo...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-04-14/24-04-14.typ
typst
#import "/template.typ": * #show: project.with( date: "14/04/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), missingMembers: ( "<NAME>", "<NAME>", ), timeStart: "15:00", timeEnd: "15:30", ); = Ordine del giorno - Valutazione del p...
https://github.com/WalrusGumboot/Typst-documents
https://raw.githubusercontent.com/WalrusGumboot/Typst-documents/main/aca/template.typ
typst
#let cursussen = csv("cursussen.csv") #let marginLeft = 14mm #let header(author, year, course, sem) = { let code = none for (course_name, course_code, study_points) in cursussen { if course_name == course { code = course_code } } locate(loc => if loc.page() == 1 { [ #set text(8pt) ...
https://github.com/dogezen/badgery
https://raw.githubusercontent.com/dogezen/badgery/main/example/main.typ
typst
MIT License
#import "../badgery.typ": ui-action, menu, badge-gray, badge-red, badge-yellow, badge-green, badge-blue, badge-purple = Badgery This package defines some colourful badges and boxes around text that represent user interface actions such as a click or following a menu. == Badges ```typ #badge-gray("Gray badge"), #b...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20esterna/Verbali/23-11-23/23-11-23.typ
typst
#import "/template.typ": * #show: project.with( date: "23/11/23", subTitle: "Analisi dei Requisiti, approfondimento dominio applicativo", docType: "verbale", externalParticipants : ( (name: "<NAME>", role: "Referente aziendale"), ), authors: ( "<NAME>", ), timeStart: "14:00", timeEnd: "14:45"...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/inside_import.typ
typst
Apache License 2.0
// path: base.typ #let f() = 1; ----- . #import "base.typ": /* ident after */ f;
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/spacing_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Linebreak and leading-sized weak spacing are equivalent. #box[A \ B] #box[A #v(0.65em, weak: true) B] // Eating up soft spacing. Inv#h(0pt)isible // Multiple spacings in a row. Add #h(10pt) #h(10pt) up // Relative to area. #let x = 25% - 4pt ...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/unpairs.typ
typst
MIT License
// 将 pairs 数组转成 dict 字典 #let unpairs(pairs) = { let dict = (:) for pair in pairs { dict.insert(..pair) } dict }
https://github.com/ysthakur/PHYS121-Notes
https://raw.githubusercontent.com/ysthakur/PHYS121-Notes/main/Notes/Ch02.typ
typst
MIT License
= Chapter 2 == Uniform Motion *Uniform motion* (aka constant-velocity motion) is straight-line motion with equal displacements during anys uccessive equal-time intervals An object's motion is uniform iff *the position vs time graph is a straight line.* Some equations: $ v_x = (Delta x)/(Delta t) = (x_f - x_i)/(t_f...
https://github.com/spherinder/ethz-infk-thesis
https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/src/main.typ
typst
#import "../template.typ": template // #import "@preview/eth-zurich-infk-thesis:0.1.0": template #import "dependencies.typ": * #show: template.with( title: "Assembly Code Generation for Black-Box Hardware Fuzzing", author: "<NAME>", author-email: "<EMAIL>", document-type: "Bachelor's thesis", semester: "6", ...
https://github.com/Airsequel/interpreted-languages-benchmark
https://raw.githubusercontent.com/Airsequel/interpreted-languages-benchmark/main/bucket-calc/main.typ
typst
#{ // Constants let start = 1 let end = 100000 let num_bins = 20 // Calculating the base of the logarithm let log_base = calc.pow((end / start), (1 / num_bins)) // Calculating the bin edges let bin_edges = for i in range(num_bins + 1) { (start * calc.pow(log_base, i),) } // Uncomment below line to get bin_edges be...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/internals.md
markdown
# Internals Here, topics regarding the internal implementation of dynamic content in polylux is discussed. Usually, you can completely ignore this section. ## Internal number of repetitions **TL;DR:** For slides with more than ten subslides, you need to set the `max-repetitions` argument of the `#polylux-slide` functi...
https://github.com/An-314/Notes-of-Fundamentals_of_Electronics
https://raw.githubusercontent.com/An-314/Notes-of-Fundamentals_of_Electronics/main/chap1.typ
typst
#import "@local/mytemplate:1.0.0": * #import "@preview/physica:0.9.2": * = 半导体基础知识 == 半导体二极管和晶体管 semiconductor materials === 本征半导体 导电性介于导体与绝缘体之间的物质称为半导体。硅(Si)、锗(Ge),均为四价元素,它们原子的最外层电子受原子核的束缚力介于导体与绝缘体之间。 本征半导体是*纯净的晶体结构*的半导体。 #figure( image("pic/2024-02-29-08-08-35.png", width: 80%), caption: [ 本...