repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/diy/diy.md
markdown
# Do it yourself Let's start with the absolute minimal effort. What characterises a set of slides? Well, each slide (or PDF page, as we already established) has specific dimensions. Some time ago, a 4:3 format was common, nowadays 16:9 is used more often. Typst has those built in: ```typ #set page(paper: "presentation...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/__test__/index.spec.ts.md
markdown
Apache License 2.0
# Snapshot report for `__test__/index.spec.ts` The actual snapshot is saved in `index.spec.ts.snap`. Generated by [AVA](https://avajs.dev). ## it queries label in `Hello, Typst! <my-label>` > Snapshot 1 [ { costs: { hyphenation: '100%', orphan: '100%', runt: '100%', ...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/feature-store.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note, cross-ref #import "/lib/glossary.typ": tr #show: web-page-template // ## How features are stored == 特性如何储存 #note[ // > You probably want to skip this section the first time you read this book. Come to think of it, you ma...
https://github.com/eliapasquali/typst-thesis-template
https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/config/thesis-config.typ
typst
Other
#import "../config/constants.typ": chapter #let config( myAuthor: "<NAME>", myTitle: "Titolo", myLang: "it", myNumbering: "1.", body ) = { // Set the document's basic properties. set document(author: myAuthor, title: myTitle) show math.equation: set text(weight: 400) // LaTeX look (se...
https://github.com/CarlColglazier/northwestern-thesis-quarto
https://raw.githubusercontent.com/CarlColglazier/northwestern-thesis-quarto/master/_extensions/northwestern-thesis/typst/typst-show.typ
typst
MIT License
#show: nuthesis.with( $if(title)$ title: "$title$", $endif$ $if(abstract)$ abstract: [$abstract$], $endif$ $if(author)$ author: "$author$", $endif$ $if(date)$ date: "$date$", $endif$ $if(toc)$ toc: $toc$, ...
https://github.com/lcharleux/LCharleux_Teaching_Typst
https://raw.githubusercontent.com/lcharleux/LCharleux_Teaching_Typst/main/src/sandbox/test.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import cetz.draw: * #let fonc = { circle((0,0), name: "circle2") // Draw a smaller red circle at "circle"'s east anchor fill(red) stroke(black) circle("circle2.east", radius: 0.3) circle((name:"circle2", anchor:30deg), radius: 0.3, stroke: black, fill: red) } #cetz.canvas({ fonc }) #...
https://github.com/khicken/CSDS310
https://raw.githubusercontent.com/khicken/CSDS310/main/SI%20Midterm/Assignment%202.typ
typst
#import "@preview/lovelace:0.3.0": pseudocode-list #set enum(numbering: "ai)") #set align(right) <NAME> \ 10/11/24 #set align(center) = CSDS 310 SI Midterm Session #set align(left) _Note: Arrays are zero-indexed._ == Problem 6 _Pseudocode:_ #pseudocode-list[ + *procedure* MATCH(nuts, bolts, low, high): + *if* low...
https://github.com/brainworkup/neurotyp-pediatric
https://raw.githubusercontent.com/brainworkup/neurotyp-pediatric/main/README.md
markdown
MIT License
# Pediatric Neurotyp Format for Typst using Quarto ## Use report template ```bash quarto use template brainworkup/neurotyp-pediatric ``` This will install the format extension and create an example .qmd file that you can use as a starting place for your patient report. ## Update report template ```bash quarto upda...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/习题课.typ
typst
#import "../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec #import "../template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: note.with( title: "代数学二习题课", auth...
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/exers/n.typ
typst
#import "../cfg.typ": * #show: cfg $ "Prove that" all("divergent series with positive members" sum_(n = 1)^oo a_n): \ A_n = sqrt(sum_(k = 1)^n a_k) - sqrt(sum_(k = 1)^(n - 1) a_k) -> sum_(n = 2)^oo A_n "diverges" and A_n =_(n -> oo) o(a_n) $ $A_2 + A_3 + A_4 + ... + A_n = sqrt(sum_(k = 1)^2 a_k) - sqrt(sum_(k = 1)^1...
https://github.com/alex-touza/fractal-explorer
https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/paper/src/style/page.typ
typst
/*#let header = context () => { let get_header = () => { let selector = selector(heading.where(level: 1)).before(here()); let elements = query(selector); let current_page = here().page() if elements.len() > 0 { let el = elements.last(); let heading_page = counter(page).at(el.locat...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week6.typ
typst
#import "../../utils.typ": * #subsection([Mutable Companion]) #set text(size: 14pt) Problem | We need a way to mutate immutable variables later on, but that's impossible. However, we can make a wrapper class around the immutable object and just mutate that instead, e.g. creating a new instance of the immutable object...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/place-float-columns_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 200pt, width: 300pt) #show: columns.with(2) = Introduction #figure( placement: bottom, caption: [A glacier], image("/assets/files/glacier.jpg", width: 50%), ) #lorem(45) #figure( placement: top, caption: [A rectangle], ...
https://github.com/tingerrr/typst-test
https://raw.githubusercontent.com/tingerrr/typst-test/main/.github/ISSUE_TEMPLATE/feature_request.md
markdown
MIT License
--- name: Feature request about: Request a feature or change in behavior title: 'FR: ' labels: 'C-feature' assignees: '' --- <!-- Thank you for your feature request! Please describe your request here. For questions, use the Typst community discord: https://discord.gg/2uDybryKPe. Feel free to remove any of the s...
https://github.com/Ayomided/Dissertation-report
https://raw.githubusercontent.com/Ayomided/Dissertation-report/main/Draft_Project_Report_6_Sep.typ
typst
#import "@preview/pintorita:0.1.1" #set page( paper: "us-letter", margin: (top:2.5cm, right:2cm, bottom:2cm, left:2.5cm) ) // Heading Styling #show heading.where(level: 1): set text(22pt) #show heading.where(level: 2): set text(18pt) #show heading.where(level: 3): set text(16pt) #show heading.where(level: 4): ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/repeat_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 2:2-2:13 repeat with no size restrictions // #set page(width: auto) // #repeat(".")
https://github.com/Coyenn/thesis-template
https://raw.githubusercontent.com/Coyenn/thesis-template/main/document/main.typ
typst
#import "template.typ": * #show: project.with( title: "My Topic", authors: ( (name: "<NAME>", email: "<EMAIL>"), ), ) = Thesis #lorem(30) @my_source #figure( image("../dist/chart.svg", width: 50%), caption: [ A caption ], ) ```js const test = "Hello World" console.log(test); ``` #pagebreak() ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/gradient-conic.typ
typst
Apache License 2.0
// Test conic gradients --- #square( size: 50pt, fill: gradient.conic(..color.map.rainbow, space: color.hsv), ) --- #square( size: 50pt, fill: gradient.conic(..color.map.rainbow, space: color.hsv, center: (10%, 10%)), ) --- #square( size: 50pt, fill: gradient.conic(..color.map.rainbow, space: color.hsv, ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/008_The%20Gathering%20Storm%3A%20Chapter%2014.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 14", set_name: "Ravnica Allegiance", story_date: datetime(day: 11, month: 09, year: 2019), author: "<NAME>", doc ) The city of Grek’ospen was old, as places in the Undercity went. The domains of the Golgari were...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2150.typ
typst
Apache License 2.0
#let data = ( ("VULGAR FRACTION ONE SEVENTH", "No", 0), ("VULGAR FRACTION ONE NINTH", "No", 0), ("VULGAR FRACTION ONE TENTH", "No", 0), ("VULGAR FRACTION ONE THIRD", "No", 0), ("VULGAR FRACTION TWO THIRDS", "No", 0), ("VULGAR FRACTION ONE FIFTH", "No", 0), ("VULGAR FRACTION TWO FIFTHS", "No", 0), ("VULG...
https://github.com/CodingThrust/Templates
https://raw.githubusercontent.com/CodingThrust/Templates/main/workflows/README.md
markdown
## Get started You need a modern workflow (Linux, Git and VSCode) to get started. - [How to get a Linux terminal](https://book.jinguo-group.science/stable/chap1/terminal/) - [How to use Git for version control](https://book.jinguo-group.science/stable/chap1/git/) - To install code/document editor VSCode, please refer ...
https://github.com/kokkonisd/typst-cross
https://raw.githubusercontent.com/kokkonisd/typst-cross/main/examples/simple/crossword.typ
typst
The Unlicense
#import "@local/cross:0.0.2" as cross #set page(margin: 1cm) #let crossword-data = toml("data.toml") #align(center)[ = #crossword-data.title \ by #crossword-data.author #grid( columns: (1fr, 1fr, 1fr), gutter: 20pt, align: center + bottom, // Show the board. [ ...
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst
https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/body/info.typ
typst
#let title = "基于copy&paste的毕业论文撰写" #let college = "研讨与报告学院" #let major = "寄算鸡咳血与寄术" #let id = "114514" #let name = "上大人" #let teacher = "孔乙己" #let data = "00000000 - ffffffff"
https://github.com/wangwhh/AETG-algorithm
https://raw.githubusercontent.com/wangwhh/AETG-algorithm/master/report/report.typ
typst
#import "assets/report-template.typ": * #show: project.with( title: "AETG算法实现", course: "软件质量保证与测试", author: "王俊怡", id: "3210106016", advisor: "赵晓琼", college: "计算机科学与技术学院", major: "软件工程", year: 2023, month: 12, day: 17, ) #align(center, text(size: 17pt)[ *AETG Algorithm Implementation Experime...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chordx/0.2.0/src/piano.typ
typst
Apache License 2.0
#import "./utils.typ": parse-input-string, top-border-normal, top-border-round // A dictionary with the key names for the white-keys and their indices #let white-keys-dict = ( "C1": 0, "D1": 1, "E1": 2, "F1": 3, "G1": 4, "A1": 5, "B1": 6, "C2b": 6, "C2": 7, "B1#": 7, "D2": 8, "E2": 9, "F2b": 9, ...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/02-complex-numbers/02-trig-form.typ
typst
Other
#import "../../utils/core.typ": * == Тригонометрическая форма комплексного числа #def[ $a + b i = r(cos phi + i sin phi)$ $a = r cos phi$ $b = r sin phi$ ] #def[ Модулем комплексного числа $z = a + b i in CC$ назовем: $abs(z) = sqrt(a^2 + b^2)$ ] #pr[ + $abs(z) >= 0, spac...
https://github.com/DarrenKwonDev/resume
https://raw.githubusercontent.com/DarrenKwonDev/resume/master/README.md
markdown
# resume ~~written in latex and exported to pdf.~~ written in typst, better and easier than latex. ## clean up your git log ```bash git checkout master git reset $(git commit-tree HEAD^{tree} -m ".") git push origin master --force ```
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-data-process.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.ref-page.with(title: [参考:数据读写与数据处理]) #let table-lnk(name, ref, it, scope: (:), res: none, ..args) = ( align(center + horizon, link("todo", name)), it, align(horizon, { set heading(bookmarked: false, outlined: false) eval(it.text, mode: "markup", scope: scope) }), ) =...
https://github.com/taooceros/MATH-542-HW
https://raw.githubusercontent.com/taooceros/MATH-542-HW/main/HW3/HW3.typ
typst
#import "@local/homework-template:0.1.0": * // 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: "Math 542 HW2", authors: ("<NAME>",), ) #let ( theorem, lemma, corollary, remark, proposition, example, proof )...
https://github.com/GYPpro/DS-Course-Report
https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/06.typ
typst
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx #import "@preview/codelst:2.0.1": sourcecode // Display inline code in a small box // that retains the correct baseline. #set text(font:("Times New Roman","Source Han Serif SC")) #show raw.where(block: false): box.with( fill: luma(230), ins...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/prefaces/mod.typ
typst
Apache License 2.0
#import "/src/book.typ" #import "../mod.typ": code, exec-code
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/layout.md
markdown
--- sidebar_position: 3 --- # 排篇布局 为了更好地掌管 slides 里的每一处细节,并得到更好的渲染结果,就像 Beamer 一样,Touying 不得不引入了一些 Touying 特有的概念。这能帮助您更好地维护全局信息,以及让您可以在不同的主题之间方便地切换。 ## 全局信息 你可以通过 ```typst #let s = (s.methods.info)( self: s, title: [Title], subtitle: [Subtitle], author: [Authors], date: datetime.today(), institution: [...
https://github.com/darioglasl/Arbeiten-Vorlage-Typst
https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/01_Einleitung/01_industrial_partner.typ
typst
== Industrie Partner <headingIndustrialPartner>
https://github.com/taooceros/CV
https://raw.githubusercontent.com/taooceros/CV/main/cv.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cv #let metadata = toml("./metadata.toml") #let importModules(modules, lang: metadata.language) = { for module in modules { include { "modules_" + lang + "/" + module + ".typ" } } } #show: cv.with( metadata, profilePhoto: image("./src/signature.p...
https://github.com/jpssrocha/templates
https://raw.githubusercontent.com/jpssrocha/templates/main/typst/lncc_report/README.md
markdown
MIT License
# Typst template - Simple report This will generate the layout for a simple report with the common title pages required on Brazil's universities, summary and bibliography sessions. ## How to use To use this template just copy this entire folder to your computer and start editing the `report.typ` file, compile it us...
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/brainstorm-subsystems.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/template/entries.typ": create_entry #import "/template/widgets.typ": * #create_entry( title: "Brainstorm: Subsystems", type: "brainstorm", start_date: datetime(year: 2023, month: 7, day: 29), )[ #heading(([Possible Subsystems], level: 1) #heading(([Picking Up Triballs], level: 2) - claw - int...
https://github.com/antonWetzel/Masterarbeit
https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/auswertung.typ
typst
#import "setup.typ": * = Auswertung <auswertung> == Testdaten Der benutze Datensatz#footnote[Terrestrial, UAV-borne, and airborne laser scanning point clouds of central European forest plots, Germany, with extracted individual trees and manual forest inventory measurements] beinhaltet zwölf Hektar Waldfläche in De...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/README.md
markdown
# [Touying](https://github.com/touying-typ/touying) ![logo](https://github.com/touying-typ/touying/assets/34951714/2aa394d3-2319-4572-aef7-ed3c14b09846) [Touying](https://github.com/touying-typ/touying) (投影 in chinese, /tóuyǐng/, meaning projection) is an powerful and efficient package for creating presentation slides...
https://github.com/LEXUGE/typzk
https://raw.githubusercontent.com/LEXUGE/typzk/main/manual.typ
typst
MIT License
#import "@typzk/zkgraph:0.1.0": * #import "@preview/physica:0.9.2": * #let ii = sym.dotless.i #let to = sym.arrow.r #let vb(body) = $bold(upright(body))$ #let cdot = sym.dot.c #let inv(body) = $body^(-1)$ #let conj(body) = $overline(body)$ #show: set math.equation(numbering: "(1.1)") = Simple Examples #figure(rende...
https://github.com/Hamoudasfaxi/Lab-3
https://raw.githubusercontent.com/Hamoudasfaxi/Lab-3/main/Lab-3.typ
typst
#import "Class.typ": * #show: ieee.with( title: [#text(smallcaps("Lab #3: Web Application with Genie"))], abstract: [ #lorem(10). ], authors: ( ( name: "<NAME>", department: [Senior-lecturer, Dept. of EE], organization: [ISET Bizerte --- Tunisia], profile: "a-mhamdi", ...
https://github.com/appare45/Typst-template
https://raw.githubusercontent.com/appare45/Typst-template/main/default.typ
typst
#let template(doc, title, author) = [ #set text(font: "Hiragino Mincho ProN") #set heading() #show heading: set text(font: "Hiragino Kaku Gothic ProN") #set document(title: title, author: author) #set text(lang: "ja") #doc ]
https://github.com/piepert/grape-suite
https://raw.githubusercontent.com/piepert/grape-suite/main/src/slides.typ
typst
MIT License
#import "@preview/polylux:0.3.1" #import "german-dates.typ": semester, weekday #import "colors.typ": * #import "todo.typ": todo, list-todos, todo-state, hide-todos #import "elements.typ": * #let uncover = polylux.uncover #let only = polylux.uncover #let pause = polylux.pause #let slide(..args) = polylux.polylux-slide...
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/prelude/subpar.typ
typst
#let (super, grid) = { import "/src/packages.typ" as _pkg import "/src/utils.typ" as _utils let subpar-args = ( numbering: n => _utils.chapter-relative-numbering("1-1", n), numbering-sub-ref: (n, m) => _utils.chapter-relative-numbering("1-1a", n, m), show-sub-caption: (n, it) => grid( columns: ...
https://github.com/linhduongtuan/DTU-typst-presentation
https://raw.githubusercontent.com/linhduongtuan/DTU-typst-presentation/main/Beispiele/MatheDeltaEpsilon/edk_typst.typ
typst
#set page(margin: 0.5cm, width: 22cm, height: 5.5cm) #set text(size: 14pt, font: "New Computer Modern") #set par(justify: true) *#smallcaps([Definition 1.])* _Sei $D subset.eq RR$ und sei $f: D -> RR$ eine Funktion. f ist stetig in $x_0 in D$ genau dann, wenn die folgende Aussage gilt:_ _Für alle $epsilon > 0$ existi...
https://github.com/jamesrswift/blog
https://raw.githubusercontent.com/jamesrswift/blog/main/assets/packages/booktabs/rigor.typ
typst
MIT License
#import "style.typ": * #import "footnotes.typ" as footnotes // Query is an array of key, value, and inherit #let recurse-columns(columns, queries) = { for column in columns { let queries = queries for (key, query) in queries { let default = query.at("default", default: none) let value = query.at(...
https://github.com/dead-summer/math-notes
https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/ScientificComputing/ch1-intro-to-scicomp/stability.typ
typst
#import "/book.typ": book-page #import "../../../templates/conf.typ": * #import "@preview/mitex:0.2.4": * #show: book-page.with(title: "Efficiency") #show: codly-init.with() #show: thmrules.with(qed-symbol: $square$) #codly_init() = 6 Stability Stability means sensitivity of solution to external perturbation. We say...
https://github.com/sebastos1/light-report-uia
https://raw.githubusercontent.com/sebastos1/light-report-uia/main/lib.typ
typst
MIT License
// This is just a latex copy of a LaTeX template. Originally made by these guys: <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> // english and norwegian support #let translations = ( en: ( contents: "Contents", figure: "Figure", table: "Table", listing: "Listing", list_of_figures: "Figures", ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/AnalisiDeiRequisiti/meta.typ
typst
MIT License
#let title = "Analisi dei Requisiti"
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week12.typ
typst
#import "../../utils.typ": * #section("ASP NET") - .not framework - server side rendering -> expressjs, go server stuff, ruby on rails #subsection("C worse") #subsubsection("HTML Tags") Csharp obviously doesn't know about HTML tags or its properties, this can be fixed with ASP.NET tags: ```cs [Required] [StringLeng...
https://github.com/MikoBie/typst_template
https://raw.githubusercontent.com/MikoBie/typst_template/main/themes/iss.typ
typst
// This theme contains ideas from the former "bristol" theme, contributed by // https://github.com/MarkBlyth #import "@preview/polylux:0.3.1": * #import "@preview/cetz:0.2.2" #let iss-left-footer = state("iss-left-footer", []) #let iss-short-title = state("iss-short-title", none) #let iss-color = state("iss-color", bl...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/stateful/q0.typ
typst
Apache License 2.0
#let curr-heading = state("curr-heading", ()) #set text(size: 8pt) #let set-heading(content) = { show heading.where(level: 3): it => { show regex("[\p{hani}\s]+"): underline it } show heading: it => { show regex("KiraKira"): box("★", baseline: -20%) show regex("FuwaFuwa"): box("✎", baseline: -2...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/old-stuff/h-fhe.typ
typst
#import "preamble.typ":* *WARNING*: THESE ARE NOT POLISHED AT ALL AND MAY BE NONSENSE. = FHE intro raw notes (April 16 raw notes from lecture) #todo[raw notes based on Aard's lecture] *Fully homomorphic encryption* (FHE) refers to the idea that one can have some encrypted data and do circuit operations on this encr...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types/logical.typ
typst
Apache License 2.0
#import "../base-type.typ": base-type, assert-base-type #import "../context.typ": context /// Valkyrie schema generator for objects that can be any of multiple types. /// /// - ..options (schema): Variadic position arguments for possible types. *MUST* have at least `1` positional argument. Schemas *SHOULD* be given in...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/line.typ
typst
Apache License 2.0
#import "/src/cetz.typ": draw #import "util.typ" #import "sample.typ" // Transform points // // - data (array): Data points // - line (str,dictionary): Line line #let transform-lines(data, line) = { let hvh-data(t) = { if type(t) == ratio { t = t / 1% } t = calc.max(0, calc.min(t, 1)) let pts...
https://github.com/Tengs-Fan/Tengs-Penkwe
https://raw.githubusercontent.com/Tengs-Fan/Tengs-Penkwe/master/letter.typ
typst
#import "./template.typ": * #show: layout #set text(size: 12pt) //set global font size #letterHeader( myAddress: [1690 Western Parkway \ V6T 1V3, Vancouver, British Columbia], recipientName: [Safe Software], recipientAddress: [Vancouver, BC], date: [#datetime.today().display()], subject: "Subject: Job Applic...
https://github.com/Dr00gy/Typst-thesis-template-for-VSB
https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/thesis_template/misc.typ
typst
// Heading for the assignment #let assignmentHeading = context( heading( level: 1, outlined: false, if text.lang == "cs" [Zadání kvalifikační práce] else [Thesis assignment] ) ) #let headerChapters(body, headerHeadingPage: true) = { let headerHeading(text) = { align(center)[ #block( ...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-quiz3.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra Quiz #3", authors: ( (name: "memset0", email: "<EMAIL>", phone: ""), ), date: "December 18, 2023", ) #note[2023-2024 学年秋冬学期周一第九节小测(汤数元班)试题回忆版.] #let alpha = math.bold(math.alpha) #let beta = math.bold(math.beta) = T1 #prob[求基 $alpha...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11080.typ
typst
Apache License 2.0
#let data = ( ("KAITHI SIGN CANDRABINDU", "Mn", 0), ("KAITHI SIGN ANUSVARA", "Mn", 0), ("KAITHI SIGN VISARGA", "Mc", 0), ("KAITHI LETTER A", "Lo", 0), ("KAITHI LETTER AA", "Lo", 0), ("KAITHI LETTER I", "Lo", 0), ("KAITHI LETTER II", "Lo", 0), ("KAITHI LETTER U", "Lo", 0), ("KAITHI LETTER UU", "Lo", 0)...
https://github.com/cwreed/cv
https://raw.githubusercontent.com/cwreed/cv/main/src/template.typ
typst
/* Packages */ #import "metadata.typ": * #import "utils.typ": * #import "@preview/fontawesome:0.2.0": * #let accentColor = { if type(choiceColor) == color { colorName } else { colors.at(choiceColor) } } #let cvHeader(align: left, hasPhoto: true, quote: str) = { let makeHeaderInfo() = { let persona...
https://github.com/lyzynec/orr-go-brr
https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/12/main.typ
typst
#import "../lib.typ": * #knowledge[ #question(name: [Explain how the peak in the sensitivity and complementary sensitivity functions relate to gain and phase margins.])[ $ alpha_min = 1 / norm(S(s))_oo $ $ "GM" &= 1/(1-alpha_1), &"PM" &= 2 arcsin(alpha_2/2)\ "GM...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/facultyPrisma.typ
typst
```prisma model Faculty { id Int @id @default(autoincrement()) name TranslationKey? @relation(fields: [nameId], references: [id]) nameId Int? ... ```
https://github.com/Isaac-Duan/ousr_typst_templates
https://raw.githubusercontent.com/Isaac-Duan/ousr_typst_templates/main/README.md
markdown
MIT License
# ousr_typst_templates 各种常用文档排版模板
https://github.com/Mufanc/hnuslides-typst
https://raw.githubusercontent.com/Mufanc/hnuslides-typst/master/utils/background.typ
typst
#import "/configs.typ" #let bg(content) = context { let (x, y) = here().position() place( center, pad(top: -y, box(width: configs.slide.width, height: configs.slide.height, content)) ) } #let bgimage(src) = context { bg(image(width: configs.slide.width, height: configs.slide.height, sr...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/pipeline.typ
typst
Other
#import "/lib/draw.typ": * #import "/template/theme.typ": theme, choose #import "/lib/glossary.typ": tr #let start = (0, 0) #let end = (1000, 1100) #let graph = with-unit((ux, uy) => { // mesh(start, end, (100, 100), stroke: 1 * ux + gray) let bubble-stroke = 3 * ux + theme.main let bubble-stroke-dashed = stro...
https://github.com/pank-su/report_3
https://raw.githubusercontent.com/pank-su/report_3/master/templates/toc.typ
typst
#import "escd.typ": outlineFrame #let toc() = { show heading: set text(size: 14pt) show heading: set align(center) //counter(page).update(3) set page(background: outlineFrame(), margin: (left: 30mm, right: 15mm, top: 20mm, bottom: 25mm), paper: "a4" ) set text(size: 14pt, font: "Times New ...
https://github.com/SillyFreak/typst-prequery
https://raw.githubusercontent.com/SillyFreak/typst-prequery/main/docs/template.typ
typst
MIT License
// adapted from https://github.com/Mc-Zen/tidy/blob/98612b847da41ffb0d1dc26fa250df5c17d50054/docs/template.typ // licensed under the MIT license #import "@preview/tidy:0.3.0" #import "@preview/codly:1.0.0" #import "@preview/crudo:0.1.1" #import "man-style.typ" // The manual function defines how your document looks. ...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/scripting/tips.md
markdown
MIT License
# Tips There are lots of elements in Typst scripting that are not obvious, but important. All the book is designated to show them, but some of them ## Equality Equality doesn't mean objects are really the same, like in many other objects: ```typ #let a = 7 #let b = 7.0 #(a == b) #(type(a) == type(b)) ``` That may ...
https://github.com/ivaquero/cetz-control
https://raw.githubusercontent.com/ivaquero/cetz-control/main/README.md
markdown
# CeTZ-Control Draw Control Block using [fletcher](https://github.com/Jollywatt/typst-fletcher) and [CeTZ](https://github.com/cetz-package/cetz). ## Usage ### Clone Official Repository To compile, please refer to the guide on [typst-packages](https://github.com/typst/packages) and clone this repository in the follo...
https://github.com/SnO2WMaN/incompleteness.txt
https://raw.githubusercontent.com/SnO2WMaN/incompleteness.txt/main/README.md
markdown
Creative Commons Zero v1.0 Universal
# [Incompleteness.txt](https://sno2wman.github.io/incompleteness.txt/main.pdf) ## Description 不完全性定理についての様々な話題についてのメモ書きです. ### Sections 現在企んでいる章としては以下のものがあります. - 可証性述語の構成まで正確に記述したGödelの不完全性定理の証明 - Löbの定理 - Robinson算術についての第2不完全性定理 - Boolosの不完全性定理 - 証明可能性論理 - Chaitinの不完全性定理 - 抜き打ちテストのパラドクスの形式化 - Grzegorczykの連結の理論 ...
https://github.com/0x6e66/hbrs-typst
https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/ads/acronyms.typ
typst
// Dictionary with acronyms #let acronyms = ( API: "Application programmable interface", DLR: "Deutsches Zentrum für Luft- und Raumfahrt", IOCCC: [#[*I*]nternational #[*O*]bfuscated #[*C*] #[*C*]ode #[*C*]ontest], )
https://github.com/orkhasnat/resume
https://raw.githubusercontent.com/orkhasnat/resume/master/modern-big/resume.typ
typst
#import "resume-lib.typ": * #show: resume.with( author: ( firstname: "Tasnimul", lastname: "Hasnat", email: "<EMAIL>", phone: "+880-1731969827", github: "orkhasnat", linkedin: "tasnimul-hasnat-37515025a", ), ) = About Me //I'm a final semester undergraduate student with a kee...
https://github.com/mst2k/HSOS-PTP-Typst-Template
https://raw.githubusercontent.com/mst2k/HSOS-PTP-Typst-Template/main/templates/acronyms.typ
typst
// Acrostiche package for Typst // Author: Grizzly #let acros = state("acronyms",none) #let init-acronyms(acronyms) = { acros.update(acronyms) } #let reset-acronym(term) = { // Reset a specific acronym. It will be expanded on next use. state("acronym-state-" + term, false).update(false) } #let reset-all-acr...
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/touying-themes/touying.typ
typst
#import "@preview/touying:0.5.3": *
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10FB0.typ
typst
Apache License 2.0
#let data = ( ("CHORASMIAN LETTER ALEPH", "Lo", 0), ("CHORASMIAN LETTER SMALL ALEPH", "Lo", 0), ("CHORASMIAN LETTER BETH", "Lo", 0), ("CHORASMIAN LETTER GIMEL", "Lo", 0), ("CHORASMIAN LETTER DALETH", "Lo", 0), ("CHORASMIAN LETTER HE", "Lo", 0), ("CHORASMIAN LETTER WAW", "Lo", 0), ("CHORASMIAN LETTER CUR...
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Rust/impl-trait.typ
typst
== `impl Trait` in type aliases ```rs type Odd = impl Iterator<Item = u32>; fn odd(start: u32, stop: u32) -> Odd { (start..=stop).filter(|i| i % 2 == 0) } ``` `impl Trait` provides ways to specify unnamed but concrete types that implement a specific trait.It can appear in two sorts of places: argument position(wh...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/ec.typ
typst
#import "preamble.typ":* Before we talk about SNARKs (specifically, PLONK), it helps to separate out an ingredient that underlies much of programmable cryptography, which is the idea of a _polynomial commitment_. Specifically, we will talk about the KZG polynomial commitment, which plays an important role in PLONK (an...
https://github.com/smorad/um_cisc_7026
https://raw.githubusercontent.com/smorad/um_cisc_7026/main/lecture_4_backpropagation.typ
typst
#import "@preview/polylux:0.3.1": * #import themes.university: * #import "@preview/cetz:0.2.2": canvas, draw, plot #import "common.typ": * #import "@preview/algorithmic:0.1.0" #import algorithmic: algorithm // TODO: Should talk more about forward/backward pass // TODO: Add break // TODO: Use different brackets for gra...
https://github.com/jneug/typst-ccicons
https://raw.githubusercontent.com/jneug/typst-ccicons/main/src/utils.typ
typst
MIT License
#let _typst-link = link #let _ccicon-formats = ( icon: ( "by", "cc", "logo", "nc", "nceu", "ncjp", "nd", "pd", "remix", "sa", "sampling", "sampling.plus", "share", "zero", ), shield: ( "cc-by-nc-nd", "cc-by-nc-sa", "cc-by-nc", "cc-by-nd", ...
https://github.com/N4tus/types-for-typst
https://raw.githubusercontent.com/N4tus/types-for-typst/main/README.md
markdown
MIT License
# types-for-typst A small library for building and checking types in typst. # Documention ## Check function - `t_assert(type, value)` panics if the given value is not of the specified type. Returns nothing. - `t_check(type, value)` checks if the given value if of the specified type and returns `true` if it is - `t_re...
https://github.com/pride7/Typst-callout
https://raw.githubusercontent.com/pride7/Typst-callout/main/callout.typ
typst
#import "configure.typ": configure #let callout( type: "note", title: none, icon: true, width: 100%, height: auto, body ) = { let (logo, box-color, title-color) = ( configure.at(type).logo, configure.at(type).box-color, configure.at(type).title-color ) block( width: width, ...
https://github.com/Chwiggy/thesis_bachelor
https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/appendices/01_aknowledgements.typ
typst
#import "../preamble.typ": * = Aknowledgements Thanks to the people at HeiGIT gGmbh for supporting this thesis, specifically <NAME> and <NAME> for guiding me through this project and asking valuable questions. This thanks also extends to the provison of computing resources. Thanks as well to my life partners Aada and ...
https://github.com/EunTilofy/NumComputationalMethods
https://raw.githubusercontent.com/EunTilofy/NumComputationalMethods/main/Chapter8/Chapter8-1.typ
typst
#import "../template.typ": * #show: project.with( course: "Computing Method", title: "Computing Method - Chapter8-1", date: "2024.5.13", authors: "<NAME>, 3210106357", has_cover: false ) *Problems:1,2,4,5* #HWProb(name: "1")[ 用 Jacobi 迭代法,Gauss-Seidel 迭代法和取 $omega = 1.46$ 的超松弛迭代法解方程组(误差为 $0.5 times 10^(-4)$) ...
https://github.com/devraza/warehouse
https://raw.githubusercontent.com/devraza/warehouse/main/blog/setting-up-zola-nixos.typ
typst
MIT License
#import "template.typ": conf #show: doc => conf( title: [ Setting up Zola on NixOS ], doc, ) = Introduction #link("https://getzola.org")[Zola] is a static site generator \(similarly to the infamous #link("https://gohugo.io")[Hugo];, which you may have already heard of) and is written in Rust. It also happens to be...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/router_table.typ
typst
#import "/meta-environments/env-features.typ": * = Router Table The router table can be used to profile an edge of a workpiece, or cut a channel in the face of a board. == Notes === Safety Always pass the workpiece across the bit from the right to the left. #safety_hazard_box([DO NOT let the workpiece pass betwee...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/03-characteristic-functions/02-convergence-in-distribution.typ
typst
#import "../../utils/core.typ": * == Сходимость по распределению #remind[ $xi_1$, $xi_2$, ... --- сходится по распеределению к $xi$, если $ lim F_(xi_n) (x) = F_xi (x) $ во всех точках непрерывности $F_xi$. ] #notice[ Если $xi$ и $eta$ назависимы, $eta$ непрерывна, то $xi + eta$ --- непрерывная случайн...
https://github.com/PgBiel/typst-tablex
https://raw.githubusercontent.com/PgBiel/typst-tablex/main/README.md
markdown
MIT License
# typst-tablex (v0.0.8) **More powerful and customizable tables in Typst.** **NOTE: Please open an issue if you find a bug with tablex** and I'll get to it as soon as I can. **(PRs are also welcome!)** ## Sponsors ❤️ If you'd like to appear here, [consider sponsoring the project!](https://github.com/sponsors/PgBiel)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/commute/0.1.0/README.md
markdown
Apache License 2.0
# Commute Proof-of-concept commutative diagrams library for [typst](https://typst.app/home) # Example ``` #import "@preview/commute:0.1.0": node, arr, commutative-diagram #align(center)[#commutative-diagram( node((0, 0), [$X$]), node((0, 1), [$Y$]), node((1, 0), [$X \/ "ker"(f)$]), arr((0, 0), (0, 1), [$f$]),...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas5/4_Stvrtok.typ
typst
#let V = ( "HV": ( ("","Rádujsja póstnikom","Vsjú prošédše zémľu, vsíjaste božéstvennaja učénija, slóvo tóčiju jáko svíščnik i bohátstvo vsé, učenicý Hospódni nosjášče, ímže carí že i mučíteli posramíste, i ľubomudrecém i vitíjam ľútosť jáko paučínnaja razdráste pleténija, vsích k rázumu prizyvájušče ziždíteľa, i...
https://github.com/DarrenKwonDev/resume
https://raw.githubusercontent.com/DarrenKwonDev/resume/master/권수훈_cv_kor.typ
typst
//////////////////////////// // global settings //////////////////////////// #let default_font_size = 10pt #let name_size = 12pt #let personal_info_size = 10pt // https://typst.app/docs/reference/layout/page/ #set page( paper: "a4", margin: 1cm, numbering: "1 / 1", ) // english version #set text( font: "Ti...
https://github.com/Mouwrice/thesis-typst
https://raw.githubusercontent.com/Mouwrice/thesis-typst/main/preface.typ
typst
I would like to thank prof. <NAME> for his enthusiasm for the drum application and his guidance during the project. I would also like to thank my parents for their support during my studies. Finally, I would like to thank my friends for their encouragement and support. #v(16pt) _The author gives permission to make ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/space-05.typ
typst
Other
// Test that space at start of non-backslash-linebreak line isn't trimmed. A#"\n" B
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/summer/cad.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/templates/entries.typ": * #import "/templates/headers.typ": * #import "/templates/text.typ": * #create_footerless_page( title: [Computer Aided Design], date: [Summer Break], content: [ #box_header( title: [Introduction], color: purple.lighten(60%) ) \ ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/001%20-%20Magic%202013/003_Chronomaton.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Chronomaton", set_name: "Magic 2013", story_date: datetime(day: 11, month: 07, year: 2012), author: "<NAME>", doc ) #figure(image("003_Chronomaton/01.jpg", height: 40%), caption: [], supplement: none, numbering: none) Bazzle woke with a st...
https://github.com/SkiFire13/fmcps-assignment2
https://raw.githubusercontent.com/SkiFire13/fmcps-assignment2/master/report.typ
typst
#import "automata.typ" #import "defs.typ": * #set par(justify: true) #set text(size: 12pt, font: "New Computer Modern") #set page(numbering: "1") #align(center)[ #heading(outlined: false)[ Formal Methods for Cyberphysical Systems \ Assignment 2 ] #v(1em) #text(size: 15pt, "<NAME>") #text(size: 15...
https://github.com/tolstovr/typst-code-template
https://raw.githubusercontent.com/tolstovr/typst-code-template/main/example.typ
typst
#import "conf.typ": conf #show: conf.with( meta: ( title: "Пример использования шаблона", author: "<NAME>", group: 251, city: "Саратов", year: 2024, ) ) = Типографика Всё как в обычном Typst. Используется шрифт Cambria Math = Работа с кодом А вот это уже интереснее. Есть inline-код, например:...
https://github.com/0x546974616e/typst-resume
https://raw.githubusercontent.com/0x546974616e/typst-resume/main/template/section.typ
typst
#import "./globals.typ": colors, spacing, get-lang #import "./heading.typ": h3, h4 #let make-picture(picture) = { block( inset: spacing.medium, // inset: spacing.large, block( clip: true, radius: 100%, stroke: none, // stroke: 6pt + colors.bg2, // stroke: 4pt + colors.bg3, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/canvas.typ
typst
Apache License 2.0
// Aliases for typst types/functions // because we override them. #let typst-length = length #import "matrix.typ" #import "vector.typ" #import "util.typ" #import "path-util.typ" #import "aabb.typ" #import "styles.typ" #import "process.typ" /// Sets up a canvas for drawing on. /// /// - length (length,ratio): Used to...
https://github.com/benjamineeckh/kul-typst-template
https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/packages.typ
typst
MIT License
#import "@preview/hydra:0.5.1": hydra
https://github.com/wagaaa/HZAU_Typst
https://raw.githubusercontent.com/wagaaa/HZAU_Typst/main/dependents/figures.typ
typst
MIT License
#import "@preview/tablem:0.1.0": tablem #import "@preview/tablex:0.0.6": tablex, hlinex //设定编号为章节-序号 #let equation_num(_) = { locate(loc => { let chapt = counter(heading).at(loc).at(0) let c = counter("equation-chapter" + str(chapt)) let n = c.at(loc).at(0) "(" + str(chapt) + "-" + str(n + 1) + ")" ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Partial%20Derivative.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: "Partial Derivative", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") = Partial Derivative <partia...