repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/gianzamboni/cancionero
https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/el-tango-de-la-muerte.typ
typst
#import "../theme/project.typ": *; #cancion("El tango de la muerte","<NAME>")[ ¡Qué se haga ya la oscuridad! Deténgase la sucesión En una ausencia tan brutal Que es uno mismo el que no está Y no sentir ningún dolor Es lo que duele más Llegó el olvido, vencedor Y ya el saqueo comenzó En la memoria sin guardián Libros ...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/mathtools/create-fractions-from-ratios.typ
typst
#import "@local/typkit:0.1.0": * #let create-fractions-from-ratios(..sink) = { let args = sinks.pos() assert-is-color-value-object-array(args) let values = args.map((x) => x.value) let d = values.sum() let callback(o) = { return colored(frac(o.value, d), o.fill) } let fractions = ...
https://github.com/GES233/interview-trancript-template
https://raw.githubusercontent.com/GES233/interview-trancript-template/main/exmaple_transcript.typ
typst
#import "interview_template.typ": interview, record, follow #let A(content) = record("卧龙", content) #let B(content) = record("凤雏", content) #let C(content) = record("摄像头", content) #show: doc => interview( title: [意大利面与42号混凝土], interviewee: [延边刺客], interview_time: datetime(year: 2024, month: 10, day: 8), inte...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/functions/codeblock.typ
typst
MIT License
#let codeblock(raw, caption: none, outline: false) = { figure( if outline { rect(width: 100%)[ #set align(left) #raw ] } else { set align(left) raw }, caption: caption, kind: "code", supplement: "代码" ) }
https://github.com/quiode/CurriculumVitae
https://raw.githubusercontent.com/quiode/CurriculumVitae/main/CV.typ
typst
MIT License
// My actual CV #import "resume.typ": resume // resume template // general settings #set text(lang: "de") #set document(title: "Lebenslauf von <NAME>", author: "<NAME>") // resume import #show: doc => resume( doc, "<NAME>", headlines: ( ("10.03.2004, Bülach",), (link("mailto:<EMAIL>"),), (link("tel:+...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/rounding/round-mode/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": * #set page(width: auto, height: auto, margin: 1cm) = None #num(1.23456) #num(14.23) = Places #metro-setup(round-mode: "places", round-precision: 3) #num(1.23456) #num(14.23) = Figures #metro-setup(round-mode: "figures", round-precision: 3) #num(1.23456) #num(14.23)
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/5-implementation/external.typ
typst
In der Konzeption der Anwendung wurde bereits die Integration in das Shop-System von <NAME> berücksichtigt. Es wurde festgelegt, dass die Integration über eine interne Schnittstelle erfolgen soll. Hierbei wurde die Anwendung um das Menü "Einkaufen" erweitert. In der handleSelect-Funktion musste, wie bereits zuvor defin...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Exercices_09_11_2023.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: "Maths Exercices 09 11 2023", authors: ( "<NAME>", ), date: "31 Octobre, 2023", ) #set heading(numbering: "1.1.") == Exercice 48 <exer...
https://github.com/jhqiu21/Notes
https://raw.githubusercontent.com/jhqiu21/Notes/main/EC1101E%20Introduction%20to%20Economics%20Analysis/Typst/lecture%201.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: "Summary of Lecture 1", authors: ( "JINHANG",), date: "August 21, 2023", ) // We generated the example code below so you can see how // your ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/bugs/hover.typ
typst
Apache License 2.0
#let code(it, args: any, res: none, scope: (:));
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Exercices_25_03_2024.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: "Maths Exercices", authors: ( "<NAME>", ), date: "25 Mars, 2024", ) #set heading(numbering: "1.1.") == Exercice 61 p 263 === 1. $F$ ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-justify-01.typ
typst
Other
// Test that lines with hard breaks aren't justified. #set par(justify: true) A B C \ D
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.6/template/cv.typ
typst
Apache License 2.0
#import "@preview/grotesk-cv:0.1.6": cv #let metadata = toml("info.toml") #let import-sections( sections, ) = { for section in sections { include { "content/" + section + ".typ" } } } #let left-pane = ( "profile", "experience", "education", ) #let right-pane = ( "skills", "languages", ...
https://github.com/avonmoll/bamdone-rebuttal
https://raw.githubusercontent.com/avonmoll/bamdone-rebuttal/main/lib.typ
typst
MIT No Attribution
// heavily inspired by <NAME>, https://zenkelab.org/resources/latex-rebuttal-response-to-reviewers-template/ #let rc = counter("reviewer") #let pc = counter("point") #let reviewer() = { rc.step() pc.update(0) line(length: 100%) [= Reviewer #context rc.display()] } #let configure( point-color: blue.darken(3...
https://github.com/EricWay1024/Homological-Algebra-Notes
https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/libs/color.typ
typst
#import "@preview/ctheorems:1.1.2": * #let theorem = thmbox( "theorem", "Theorem", fill: rgb("#e8e8f8"), breakable: true, separator: [#h(0em).#h(0.2em)], ) #let lemma = thmbox( "theorem", "Lemma", fill: rgb("#e8e8f8"), breakable: true, separator: [#h(0em).#h(0.2em)], ) #let proposition = thmbox(...
https://github.com/JJ-IsShort/typst-math-paper
https://raw.githubusercontent.com/JJ-IsShort/typst-math-paper/main/site/equations.typ
typst
#import "template.typ": * #import "@preview/physica:0.9.3": * #show: project.with( title: "An Overview of Constraint Based Physics Solving", authors: ("<NAME>",) ) #heading("Introduction", bookmarked: true, depth: 1, outlined: true) In this paper, I will try and explain how constraint based physics solvers work...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/smartquotes_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 25-35 expected 2 quotes, found 4 quotes // #set smartquote(quotes: ("'",) * 4)
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-indent_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set par(hanging-indent: 1em) Welcome \ here. Does this work well?
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/edu/seminars/2024-09-11.typ
typst
= Введение Препод: <NAME> Email: `<EMAIL>` Нет четкой параллели между лекциями и семинарами Семинары о разработке занятий $ "Итог" = 0.5 dot "Задание" + 0.3 dot "Текущие" + 0.2 dot "Посещаемость" $ + Посещаемость + пунктуальность + Выполнение текущих заданий (их мало) - Работа с книгой - Работа с фильмами...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/tests/subslides.typ
typst
#import "../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 50pt) #polylux-slide[ == `alternatives-fn` #alternatives-fn(start: 1, end: 8, subslide => [#subslide]) #uncover(3)[only on 3] #uncover("10,11-")[from 10 on] ] #polylux-slide[ == `pause` a #pause a #pause a ] #po...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/linguify/0.4.1/lib/lib.typ
typst
Apache License 2.0
#import "linguify.typ" as lflib #import "linguify.typ": set-database, reset-database, linguify, #import "fluent.typ": load_ftl_data #import "utils.typ" #import "utils.typ": if-auto-then
https://github.com/benjamineeckh/kul-typst-template
https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/core/component/outline.typ
typst
MIT License
#let insert-outline(non-odd-page-headers, lang: "en") = { // Table of contents // Outline customization let outline-color = red.darken(10%) // let outline-color = black show outline.entry: it => { link(it.element.location(), text(outline-color)[#it.body]) [ ] box(width: 1fr, it.fill) [ ] ...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-cs/quantum-algorithms/chapters/amplitude-amplification.typ
typst
#import "/common.typ": * = Amplitude amplification Amplitude amplification is a technique used to distinguish a good state $ket(psi_G)$ from a bad state $ket(psi_B)$ by flipping the sign of $ket(psi_G)$, in order to find a state that has a large overlap with $ket(psi_G)$. == Grover's black-box search algorithm A sp...
https://github.com/Servostar/dhbw-abb-typst-template
https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/template/main.typ
typst
MIT License
#import "../src/lib.typ": * #import "abstract.typ": abstract, summary #show: dhbw-template.with(( lang: "de", region: "de", draft: false, author: ( name: "<NAME>", semester: 4, program: "Informationtechnology", course: "TINF19IT1", faculty: "Technik", university: "DHBW Mannheim", c...
https://github.com/fatihcatalkaya/java-typst
https://raw.githubusercontent.com/fatihcatalkaya/java-typst/master/README.md
markdown
Apache License 2.0
# Java Typst This library allows to render [Typst](https://typst.app/) templates using native Java functions. The intention, which lead to the development of this library was, to use Typst as a templating engine for PDF file generation. This library heavily relies on previous work from [<NAME>'s typst-as-a-library](h...
https://github.com/cu1ch3n/caidan
https://raw.githubusercontent.com/cu1ch3n/caidan/main/lib.typ
typst
MIT License
#import "nord.typ": * #let en_text(size, body, fill: nord3, style: "italic") = text( font: "Ysabeau Infant", size: size, style: style, fill: fill, weight: "light", )[#body] #let zh_text(size, body, fill: nord0) = text( font: "LXGW Wenkai", size: size, fill: fill, weight: "light", )[#body] #let cuis...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/012.%20taste.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) = Taste for Makers #v(10pt) _February 2002_ #quote(attribution: [<NAME>, The Copernican Revolution])["...Copernicus' aesthetic...
https://github.com/chengluyu/typst-template
https://raw.githubusercontent.com/chengluyu/typst-template/main/shorthands.typ
typst
#let kw = ( "let": $bold(sans("let"))$, "in": $bold(sans("in"))$, "if": $bold(sans("if"))$, "then": $bold(sans("then"))$, "and": $bold(sans("and"))$, "is": $bold(sans("is"))$, "else": $bold(sans("else"))$, "fun": $bold(sans("fun"))$, "data": $bold(sans("data"))$, "case": $bold(sans("case"))$, "of"...
https://github.com/knuesel/typst-minideck
https://raw.githubusercontent.com/knuesel/typst-minideck/main/example.typ
typst
MIT License
#import "@preview/minideck:0.2.1" #let (template, slide, title-slide, pause, uncover, only) = minideck.config() #show: template #title-slide[ = Slides with `minideck` == Some examples <NAME> #datetime.today().display() ] #slide[ = Subslides with `pause` #grid(columns: (1fr, 1fr))[ First part ...
https://github.com/BreakingLead/note
https://raw.githubusercontent.com/BreakingLead/note/main/Math/uncategorized/变分法.typ
typst
#import "../template-mathnote.typ": * #show: template = 变分法
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/link_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that the period is trimmed. #show link: underline https://a.b.?q=%10#. \ Wahttp://link \ Nohttps:\//link \ Nohttp\://comment
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/typstonomicon/extract_plain_text.md
markdown
MIT License
# Extracting plain text ```typ // original author: ntjess #let stringify-by-func(it) = { let func = it.func() return if func in (parbreak, pagebreak, linebreak) { "\n" } else if func == smartquote { if it.double { "\"" } else { "'" } // " } else if it.fields() == (:) { // a fieldless eleme...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_240308/meta.typ
typst
MIT License
#let data_incontro = "08-03-2024" #let inizio_incontro = "10:00" #let fine_incontro = "11:30" #let luogo_incontro = "Discord"
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Allemand_08_01_2023_p61.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: "Allemand 08 01 2023 p61", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") == Ex 4 <ex-4> #block[ ...
https://github.com/devraza/warehouse
https://raw.githubusercontent.com/devraza/warehouse/main/blog/nfc-misconceptions.typ
typst
MIT License
#import "template.typ": conf #show: doc => conf( title: [ Misconceptions about NFC ], doc, ) #align(left, text(10pt)[*I made a mistake while writing this blog post - somehow forgetting that security isn’t unambiguous. You can actually skim NFC chips from a certain distance \(having a limited distance is still an i...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/place-nested.typ
typst
Apache License 2.0
// Test vertical alignment with nested placement. --- #box( fill: aqua, width: 30pt, height: 30pt, place(bottom, place(line(start: (0pt, 0pt), end: (20pt, 0pt), stroke: red + 3pt)) ) ) --- #box( fill: aqua, width: 30pt, height: 30pt, { box(fill: yellow, { [Hello] place(horizon, l...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test the `colbreak` and `pagebreak` functions. #set page(height: 1cm, width: 7.05cm, columns: 2) A #colbreak() #colbreak() B #pagebreak() C #colbreak() D
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak_09.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test linebreak for East Asian languages ทีวีตรวจทานนอร์ทแฟรีเลคเชอร์โกลด์อัลบัมเชอร์รี่เย้วสโตร์กฤษณ์เคลมเยอบีร่าพ่อค้าบลูเบอร์รี่สหัสวรรษโฮปแคนูโยโย่จูนสตรอว์เบอร์รีซื่อบื้อเยนแบ็กโฮเป็นไงโดนัททอมสเตริโอแคนูวิทย์แดรี่โดนัทวิทย์แอปพริคอทเซอร์ไพร...
https://github.com/Scriptorgames/JIF-JUFO-Paper
https://raw.githubusercontent.com/Scriptorgames/JIF-JUFO-Paper/main/example.typ
typst
#import "template.typ": * #show: ams-article.with(title: [Jif], authors: ( (name: "<NAME>"), (name: "<NAME>"), (name: "<NAME>"), ), abstract: lorem(100), bibliography-file: "refs.bib") #sc[```java public class MyFunkyFlass { public static void main(String[] args) { System.out.println("Hello Illian") } ...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/conclusion.typ
typst
#import "defs.typ": * #import "links.typ": * = Conclusion Ce rapport fourni un aperçu des langages de programmation C, C++, #Ada, #Scade, #OCaml, #Rust et de leur écosystème du point de vue de la sûreté logicielle. Comme à chaque fois qu'on étudie plusieurs langages, il est difficile d'échapper à la question toute n...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/feebf7-2023_fall_TA/lectures/lecture_4.typ
typst
#import "../utils.typ": * = Lecture 4 ```plain Time: Week 2, 9.18 Mon ``` #statement[ $ a > 1 quad => quad a^n > (n^2) / 4 (a-1)^2 $ ] #proof[ $ a^n = ((a-1)+1)^n = sum_(i=0)^(n) binom(n, i) (a-1)^i = 1 + n(a-1) +n(n-1) / 2 (a-1)^2 > n(n-1) / 2 (a-1)^2 $ 对充分大的$n$, 容易说明: $ n-1>n / 2 quad => quad...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/page/cover.typ
typst
#import "../core/core.typ": * // Outter padding used in cover #let coverPaddings = paddings(1.5) // Renders cover page // Parameters: // - name: Name of the character, shown in the middle of cover // - author: Name of the author, shown in top-right corner // - title: Flavor title, shown above character name // - subt...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/themes/helpers.md
markdown
# Helpers for theme authors Let us have a look at some common use cases you run into as a theme author and what solutions are provided by the `helpers` and `logic` modules inside polylux. As a theme author, you have access to them due to the imports ```typ #import "../logic.typ" #import "../helpers.typ" ``` (see prev...
https://github.com/fabriceHategekimana/master
https://raw.githubusercontent.com/fabriceHategekimana/master/main/report.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/curryst:0.3.0": rule, proof-tree #import "src/module.typ": * #show: bubble.with( title: "Système de type", subtitle: "Pour les sciences des données", author: "<NAME>.", affiliation: "Université de Genève", date: datetime.today().display(), year: "2024", ...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/multiline-string.typ
typst
Apache License 2.0
#{assert(true, message: "Target qubit for multi qubit gate does not exist aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") } #{assert(true, message: "Target qubit for multi qubit gate does not exist aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa ...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/graph/contraintes.typ
typst
#import "../lib.typ" : * #show heading: heading_fct Dans cet exercices, on considère différents graphes avec différentes contraintes. === Graphes non orientés #question(2)[ Soit $m >=3$. Soit $G =(S,A)$ un graphe non orienté tel que pour tout $m$ personnes choisies, il existe un unique $s in S$ qui est reliées aux...
https://github.com/yongweiy/cv
https://raw.githubusercontent.com/yongweiy/cv/master/experience.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, setAccentColor, awesomeColors, regularColors #let metadata = toml("./metadata.toml") #let cvSection = cvSection.with(metadata: metadata, highlighted: false) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Experience") #{ let accentCo...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework4.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra Homework #4", authors: ( (name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"), ), date: "October 20, 2023", ) = P38 习题二 19 #ac #prob[证明 $bold(A)$ 为数域 $PP$ 上的 $n$ 阶方阵,证明:$r(bold(A))=n <==> |bold(A)|!=0$.] - $=>$ 反证法:若 $|...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0005.typ
typst
#import "../helpers.typ": * #import "../solutions/s0005.typ": * = Longest Palindromic Substring Given a string `s`, return the *longest palindromic substring* in `s`. #let longest-palindromic-substring(s) = { // Solve the problem here } #testcases( longest-palindromic-substring, longest-palindromic-substring-...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/acronyms.typ
typst
// Inspired by https://github.com/Ciolv/typst-template-bachelor-thesis/blob/main/acronyms.typ #let acronyms = ( AST: "Abstract Syntax Tree", API: "Application Programming Interface", FP: "Functional Programming", SA: "Studienarbeit", LSP: "Language Server Protocol", GHC: "Glasgow Haskell Compiler", PoC: ...
https://github.com/MRoiban/infofonda-learn
https://raw.githubusercontent.com/MRoiban/infofonda-learn/master/main.typ
typst
#import "@preview/equate:0.2.0": equate #import "@preview/showybox:2.0.1": showybox #import "@preview/lovelace:0.3.0": * #import "@preview/ilm:1.1.2": * #show: ilm.with( title: [Informatique Fondamentale], author: "<NAME>", date: datetime(year: 2024, month: 07, day: 22), abstract: [], preface: [], figure-i...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Personal%20Notes/HandsOnMl/CompiledNotes.typ
typst
#import "../../template.typ": * #show: template.with( title:[ Hands On Machine Learning Notes ], description: [ Notes based on the Book "Hands-On Machine Learning with Scikit-Learn & TensorFlow" by <NAME> ], authors: ( ( name: "<NAME>", link: "https:github.com/katamyra" ), ), ) ...
https://github.com/simon-epfl/notes-ba3-simon
https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/analyseiii/posts/notes.typ
typst
== Reminder: Euclidean spaces - We work in n-dimensional space $x = (x_1, x_2, ..., x_n) $. - 2D: $v = (x_1, x_2) = (x, y)$ - 3D: $v = (x_1, x_2, x_3) = (x, y, z)$ Calculer un produit vectoriel : $ det mat( "", "+", "-", "+"; "+", "axe1", "axe2", "axe3"; "-", "vect1x", "vect1y", "vect1z"; "+", "vect2x", ...
https://github.com/xdoardo/co-thesis
https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/appendices/proofs.typ
typst
#import "/includes.typ": * //typstfmt::off = Proofs<appendix-proofs> == The delay monad #refproof(label: <proof-weak-bisimilarity-equivalence>, thmref: <thm-weak-bisimilarity-equivalence>)[ #mycode("https://github.com/ecmma/co-thesis/blob/master/agda/lujon/Codata/Sized/Delay/WeakBisimilarity/Relation/Binary/Equival...
https://github.com/sxdl/MCM-Typst-template
https://raw.githubusercontent.com/sxdl/MCM-Typst-template/main/lib.typ
typst
Apache License 2.0
#let text-font = ("Times New Roman", "<NAME>") #let mcm( title: "A Typst Template for MCM/ICM", problem-chosen: "ABCDEF", team-control-number: "1111111", year: "2025", summary: [], keywords: [], magic-leading: 0.65em, body, ) = { set document(title: team-control-number) set text( font: text-...
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/compute/calc.typ
typst
MIT License
// Test math functions. // Ref: false --- // Test conversion to numbers. #test(int(false), 0) #test(int(true), 1) #test(int(10), 10) #test(int("150"), 150) #test(int(10 / 3), 3) #test(float(10), 10.0) #test(float("31.4e-1"), 3.14) #test(type(float(10)), "float") --- #test(calc.round(calc.e, digits: 2), 2.72) #test(ca...
https://github.com/RodolpheThienard/typst-template
https://raw.githubusercontent.com/RodolpheThienard/typst-template/main/beamer/example/example.typ
typst
MIT License
#import "../beamer.typ" : beamer #show: beamer.with( title: "Title page", author: "author", date: [#datetime.today().display(" [Month repr:numerical], [day] [year]")], end: "End Slide", ) = Title part == 1 slide #figure(image("../../.picture/logo.png", height: 50%)) == 2 slide
https://github.com/Complex2-Liu/macmo
https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-07.typ
typst
#import "../lib/math.typ": problem, proof, note, ans #problem[ 求最大的实数 $k$ 使得对于任意的正数 $a$ 和 $b$, 均有 $(a + b)(a b + 1)(b + 1) >= k a b^2$, 并给出证明. ] #proof[ 取 $a = 1, b = 2$ 便知 $k <= 27 / 4$. 然后我们这样来凑: $ a + b = a + b / 2 + b / 2 &>= 3 dot 4^(-1/3) dot a^(1/3)b^(2/3) \ a b + 1 = (a b) / 2 + (a b) / 2 + 1 &>= 3 ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10080.typ
typst
Apache License 2.0
#let data = ( ("LINEAR B IDEOGRAM B100 MAN", "Lo", 0), ("LINEAR B IDEOGRAM B102 WOMAN", "Lo", 0), ("LINEAR B IDEOGRAM B104 DEER", "Lo", 0), ("LINEAR B IDEOGRAM B105 EQUID", "Lo", 0), ("LINEAR B IDEOGRAM B105F MARE", "Lo", 0), ("LINEAR B IDEOGRAM B105M STALLION", "Lo", 0), ("LINEAR B IDEOGRAM B106F EWE", "...
https://github.com/PgBiel/typst-oxifmt
https://raw.githubusercontent.com/PgBiel/typst-oxifmt/main/README.md
markdown
Apache License 2.0
# typst-oxifmt (v0.2.1) A Typst library that brings convenient string formatting and interpolation through the `strfmt` function. Its syntax is taken directly from Rust's `format!` syntax, so feel free to read its page for more information (https://doc.rust-lang.org/std/fmt/); however, this README should have enough i...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Chapters/6-Fazit.typ
typst
#import "../abbreviations.typ": * #import "../Template/customFunctions.typ": * = Fazit<fazit> Das in @introduction aufgestellte Ziel, eine Webanwendung zu erstellen, welche die Bearbeitung und Veröffentlichung von Modulhandbüchern erleichtert, wurde durch eine klare Struktur angegangen. Nachdem in @anforderungsanaly...
https://github.com/benjft/CV
https://raw.githubusercontent.com/benjft/CV/master/bio.typ
typst
#align(center)[_ A full stack software developer working with Asp.Net Core, MSSQL Server, and React, with additional DevOps experience. Experienced working on projects of varying scales, from lightweight tools to complex systems. In my current role I work on adding new functionality to existing products, as well a...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/gradient-stroke.typ
typst
Apache License 2.0
// Test gradients on strokes. --- #align(center + top, square(size: 50pt, fill: black, stroke: 5pt + gradient.linear(red, blue))) --- #align( center + bottom, square( size: 50pt, fill: gradient.radial(red, blue, radius: 70.7%, focal-center: (10%, 10%)), stroke: 10pt + gradient.radial(red, blue, radius...
https://github.com/glambrechts/slydst
https://raw.githubusercontent.com/glambrechts/slydst/main/example.typ
typst
MIT License
#import "slydst.typ": * #set page(fill: white) #show: slides.with( title: "Slydst: Slides in Typst", authors: "<NAME>", ) #show raw: set block(fill: silver.lighten(65%), width: 100%, inset: 1em) == Outline #outline() = Usage == Setup To start, just use the following preamble. ```typst #import "@preview/sly...
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/7.typ
typst
#set text(font:("Times New Roman","Source Han Serif SC")) #show raw.where(block: false): box.with( fill: luma(240), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt, ) // Display block code in a larger block // with more padding. #show raw.where(block: true): block.with( fill: luma(240), inset: 10pt,...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-04.typ
typst
Other
// Test break outside of loop. #let f() = { // Error: 3-8 cannot break outside of loop break } #for i in range(1) { f() }
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/utils/theme.typ
typst
The Unlicense
/* This file contains all of the constructors for core theme related constructors. All of the constructors also perform checks to ensure that all of the types are correct. */ #let check-type(ctx, field, expected-type) = { let given-type = type( ctx.at(field), ) assert.eq( given-type, expected-type, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cheda-seu-thesis/0.2.1/README.md
markdown
Apache License 2.0
# 东南大学论文模板 使用 Typst 复刻东南大学「本科毕业设计(论文)报告」模板和「研究生学位论文」模板。 请在 [`init-files`](./init-files/) 目录内查看 Demo PDF。 > [!IMPORTANT] > > 此模板是民间模板,学校可能不会认可本模板。 > > 此模板内可能仍然存在诸多格式问题。 > > 如需使用此模板,请自行承担风险。 - [东南大学论文模板](#东南大学论文模板) - [使用方法](#使用方法) - [本地使用](#本地使用) - [Web App](#web-app) - [模板内容](#模板内容) - [研究生学位论文模板](#研究...
https://github.com/Dav1com/minerva-report-fcfm
https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/template/preamble.typ
typst
MIT No Attribution
// Este archivo es parte de la estructura de ejemplo para usar el template. // La idea es definir aquí tus comandos propios para fácilitar el proyecto. // Por ejemplo puedes importar el package lemmify y definir tus propios teoremas. // Es necesario importar este archivo en cada .typ que crees.
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/link-03.typ
typst
Other
// Check that unbalanced brackets are not included in links. #[https://example.com/] \ https://example.com/)
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/033_Rivals%20of%20Ixalan.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Rivals of Ixalan", doc) #include "./033 - Rivals of Ixalan/001_The Flood.typ" #include "./033 - Rivals of Ixalan/002_Glimpse the Far Side of the Sun.typ" #include "./033 - Rivals of Ixalan/003_The Arbiter of Law Left Chaos in His Wake.typ" #include "./033 - Rival...
https://github.com/pluttan/typst-bmstu
https://raw.githubusercontent.com/pluttan/typst-bmstu/main/bmstu/g7.32-2017/blocks.typ
typst
MIT License
// Составляет содержание работы. #let mk_table_of_contents() = { { set align(center) set text(16pt, weight: "bold") [Содержание] } set align(left) outline( title: [], indent: auto, ) } #let lst = counter("listing") #let imag = counter("image") #let tabl = counter("table") #let code(data,...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/themes/metropolis.typ
typst
// This theme is inspired by https://github.com/matze/mtheme // The origin code was written by https://github.com/Enivex // Consider using: // #set text(font: "Fira Sans", weight: "light", size: 20pt) // #show math.equation: set text(font: "Fira Math") // #set strong(delta: 100) // #set par(justify: true) #import ".....
https://github.com/Aadamandersson/typst-analyzer
https://raw.githubusercontent.com/Aadamandersson/typst-analyzer/main/components/syntax/test_data/parser/ok/let_binding_fn_pat.typ
typst
Apache License 2.0
#let add(x, y) = x + y #let two() = 1 + 1
https://github.com/j10ccc/algorithm-analysis-homework-template-typst
https://raw.githubusercontent.com/j10ccc/algorithm-analysis-homework-template-typst/main/layout/headers/title.typ
typst
#let title( body, homework_id: [0], deadline: [2023.9.11 : 6PM] ) = [ #align(center, [ = *习题 #homework_id* #v(16pt) ]) *提交截止时间 #deadline*。 #body ]
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-policy/code_of_conduct.typ
typst
#set enum(full: true, numbering: (..n) => { let format = if n.pos().len() > 1 {"a."} else {"1."} numbering(format, n.pos().last()) }) _These rules and policies are subject to change. Changes will become effective immediately upon a successful vote of adoption by the Board of Directors._ = Core Values Protohave...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/typstfmt/124-block-comment.typ
typst
Apache License 2.0
#let test(..args) = ( // do something ) #test( a: "test test test test test", b: "test test test test test", )[ /* test */ test test test test test test test test test test test test test test test test test test test test test test test test ][ /* test */ test test test test test test test test te...
https://github.com/alejandrgaspar/pub-analyzer
https://raw.githubusercontent.com/alejandrgaspar/pub-analyzer/main/docs/api/internal/render.md
markdown
MIT License
# Render Pub Analyzer provides the option to generate reports in PDF format, that summarizes all the available information. This process utilizes [typst](https://typst.app/){target=_blank}, the new markup-based typesetting system for the sciences. Let's see how to render a scientific production report for an author. ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/036%20-%20Guilds%20of%20Ravnica/007_The%20Gathering%20Storm%3A%20Chapter%201.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 1", set_name: "Guilds of Ravnica", story_date: datetime(day: 05, month: 06, year: 2019), author: "<NAME>", doc ) It was autumn in Ravnica, and so it rained, day after day. The sky was gray from horizon to horiz...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/grundpositionen/debatten_und_kontroversen.typ
typst
Other
#import "/src/template.typ": * == #ix("Debatten", "Debatte") und #ix("Kontroversen", "Kontroverse") #orange-list-with-body[*#ix("Lassahn-Deppe-Kontroverse", "Lassahn-Deppe-Kontroverse", "<NAME>", "<NAME>"):* #text(fill: black)[Sollten die Probleme und Fragen von SuS zu den Problemen der Philosophie werden oder umgeke...
https://github.com/lebinyu/typst-thesis-template
https://raw.githubusercontent.com/lebinyu/typst-thesis-template/main/template/global_style.typ
typst
Apache License 2.0
// DO WORK!!! #let styleheading(title,doc) = { show heading.where(level: 1): [ #block( inset: (top: 20pt, bottom: 10pt), block( block( stroke: (left: 12pt + blue), inset: (left: 24pt, top: 12pt, bottom: 6pt), outset: (left: -6pt), )[ #text(size: 28pt, fill...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/044%20-%20Innistrad%3A%20Crimson%20Vow/005_Episode%203%3A%20Forever%20Hold%20Your%20Peace.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 3: Forever Hold Your Peace", set_name: "Innistrad: Crimson Vow", story_date: datetime(day: 10, month: 11, year: 2021), author: "<NAME>", doc ) Stained-glass windows aren't made overnight. To make them, you must first decide what yo...
https://github.com/sa-concept-refactoring/doc
https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/chapters/abbreviateFunctionTemplate.typ
typst
#import "@preview/tablex:0.0.4": tablex, colspanx, rowspanx, cellx, hlinex #let refactoring_name = "Abbreviate Function Template" = Refactoring — #refactoring_name <abbreviate_function_template> For this refactoring, another subset of the first idea (@idea_requirement_transformation) is implemented. It replaces expli...
https://github.com/Astro36/Astro36
https://raw.githubusercontent.com/Astro36/Astro36/main/Resume_Park_KR.typ
typst
#let black100 = black #let black90 = white.darken(90%) #let black80 = white.darken(80%) #let black70 = white.darken(70%) #let accent_darken = rgb("#662549") #let accent_lighten = rgb("#AE445A") #let accent_underline = rgb("#FFF8E3") #set document(title: "박승재", author: "박승재") #set page(numbering: "1", number-align: cen...
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/build-drivetrain-fixes.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: "Build: Drivetrain Fixes", type: "build", date: datetime(year: 2023, month: 8, day: 5), author: "<NAME>", witness: "Violet Ridge", ) After testing our drivetrain and di...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cuti/0.1.0/README.md
markdown
Apache License 2.0
# Cuti Cuti is a package that simulates fake bold weight for fonts by utilizing the `stroke` attribute of `text`. This package is typically used on fonts that do not have a `bold` weight, such as "SimSun". ## Usage Please refer to the [English Demo & Doc](./demo-and-doc/demo-and-doc.pdf) located in the `demo-and-doc...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/pipeline/stages/validation.typ
typst
The Unlicense
#let validation( ) = { }
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/cloud/aws/cdk/recipe/iam.md
markdown
# CDK IAM Recipe ## Policy from json ```typescript import { PolicyDocument } from "aws-cdk-lib/aws-iam"; import * as lbcPolicy from "./lbc-v2.6.1-iam-policy.json"; export const awsLbcPolicyDocument = PolicyDocument.fromJson(lbcPolicy); ``` * jsonをimportしてそのままdocumentを作れる `tsconfig.json`の`resolveJsonModule: true`が必...
https://github.com/Arrata-TTRPG/Arrata-TTRPG
https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/sections/stats.typ
typst
Other
#import "../typst-boxes.typ": * = Stats Now that we've established the basic rules of dice, we can translate those into the mechanics, different parts of Characters, and the components that make them up. A stat is a composition of two elements: - *Quality*: The $C$ constant used for a conditional roll. - *Quantity*...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/proposals/2-retrieve-text-from-document.md
markdown
Apache License 2.0
### Retrieve Text from Document The text item can be retrieved from the document, which can replace the role of `page.getTextContent()`. From declaration of pdf.js, we can see that `page.getTextContent()` returns a `TextContent` object, which contains an array of `TextItem` objects. The `TextItem` object contains the...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/typstonomicon/multiple-show.md
markdown
MIT License
## Multiple show rules Sometimes there is a need to apply several rules that look very similar. Or generate them from code. One of the ways to deal with this, the most cursed one, is this: ```typ #let rules = (math.sum, math.product, math.root) #let apply-rules(rules, it) = { if rules.len() == 0 { return it ...
https://github.com/emanuel-kopp/Labelyst.jl
https://raw.githubusercontent.com/emanuel-kopp/Labelyst.jl/main/README.md
markdown
MIT License
# Labelyst [![Build Status](https://github.com/emanuel-kopp/Labelyst.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/emanuel-kopp/Labelyst.jl/actions/workflows/CI.yml?query=branch%3Amain) [![Stable](https://img.shields.io/badge/docs-dev-blue.svg)](https://emanuel-kopp.github.io/Labelyst.jl/dev/)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tidy/0.1.0/src/styles/minimal.typ
typst
Apache License 2.0
// Color to highlight function names in #let fn-color = rgb("#1f2a63") #let get-type-color(type) = rgb("#eff0f3") #let show-outline(module-doc) = { let prefix = module-doc.label-prefix let items = () for fn in module-doc.functions { items.push(link(label(prefix + fn.name + "()"), fn.name + "()")) } li...
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Quintessence.typ
typst
#import "../templates/interior_template.typ": * #show: chapter.with(chapter_name: "Quintessence") = Quintessence #show: columns.with(2, gutter: 1em) Quintessence is the raw material of reality. Technocrats refer to it as Primal Energy. It is what flows through the patterns of reality and what makes magic possible. T...
https://github.com/Nerixyz/icu-typ
https://raw.githubusercontent.com/Nerixyz/icu-typ/main/experimental.typ
typst
MIT License
#import "impl.typ": fmt-timezone, fmt-zoned-datetime
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/architecture.typ
typst
#import "../../../acronyms.typ": * = Architecture <poc-architecture> This chapter describes the architecture chosen for the #ac("PoC") application. == Client/Server Cut As described in @option-ui-decision, the #ac("PoC") uses Electron.js and Threepenny-GUI for its implementation. Using the client-server cut classi...
https://github.com/AlyamanMas/cv-and-related
https://raw.githubusercontent.com/AlyamanMas/cv-and-related/master/activites.typ
typst
#import "template.typ": * #import "@preview/codelst:2.0.1": sourcecode, sourcefile #import "@preview/tablex:0.0.6": * #show: project.with( title: "Summary of Activities", authors: ( (name: "<NAME>", email: "<EMAIL>" ), ), ) = Internships == Internship at Intelligile #text(weight: "regular")[\/ Core Enginee...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/deco-02.typ
typst
Other
// Test stroke folding. #set underline(stroke: 2pt, offset: 2pt) #underline(text(red, [DANGER!]))
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/13-tezka-hodina.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo, poezie #dilo("Těžká hodina", "hodina", "<NAME>", "", "1. p. 20. st; proletářská literatura", "Čechy", "1922", "lyricko-epické", "sbírka básní") #columns(2, gutter: 1em)[ *Téma*\ proměna autora z chlapce na muže *Motivy*\ obětování jedince pro potřeby společnosti, poukazování na...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/layout/multiline_detect.md
markdown
MIT License
# Multiline detection Detects if figure caption (may be any other element) _has more than one line_. If the caption is multiline, it makes it left-aligned. <div class="warning"> Breaks on manual linebreaks. </div> `````typ #show figure.caption: it => { layout(size => context [ #let text-size = measure( ...