repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/mem-courses/discrete-mathmatics
https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week11.typ
typst
MIT License
#import "../template.typ": * #import "../functions.typ": * #show: project.with( course: "Discrete Mathmatics", course_fullname: "Discrete Mathematics and Application", course_code: "211B0010", title: "Homework #11: Equivalence Relations", authors: ( ( name: "<NAME>", email: "<EMAIL>", i...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/经济学原理/hw/hw10.typ
typst
#import "../../template.typ": * #show: note.with( title: "作业8", author: "YHTQ ", date: none, logo: none, withOutlined: false, withTitle: true ) = == 令 $Q_1 = Q_2$,得: $ 1000 - 5 P = 4 P - 80 => P = 120, Q = 400 $ 总支出为: $ P Q = 48000 $ 生产者剩余为: $ integral_(Q = 0...
https://github.com/Zeng-WCh/SYSU-Typst-Internship-report-template
https://raw.githubusercontent.com/Zeng-WCh/SYSU-Typst-Internship-report-template/main/usage.typ
typst
MIT License
#import "template.typ": * #show: report.with( title: "本科生实习报告书", banner: "banner.png", school: "摸鱼学院摸鱼专业", grade: "xxxx 级 x 班", name: "张三", stu_id: "22223333", company: "某某公司", start_time: "2077 年 7 月 1 日", end_time: "2077 年 8 月 31 日", teacher: "李四", year: "2077", month: "12", day: "25", ) /...
https://github.com/MaxAtoms/T-705-ASDS
https://raw.githubusercontent.com/MaxAtoms/T-705-ASDS/main/content/week9.typ
typst
#import "../template.typ": example, exercise #import "../boxes.typ": colorbox, definition #import "../tags.typ": week, barron #line(length: 100%) #week("9") == Confidence interval for the ratio of two population variances #barron("9.5.5") $ [ (s_X^2) / (s_Y^2 dot.op F_(alpha / 2) (n-1, m-1)), (s_X^2) / (s_Y^2 dot.o...
https://github.com/monaqa/typst-easytable
https://raw.githubusercontent.com/monaqa/typst-easytable/master/manual.typ
typst
MIT License
#import "@preview/tidy:0.2.0" #import "src/lib.typ": easytable, elem #import elem: * #let example_result(body) = block(stroke: 0.5pt + luma(80%), inset: 10pt, breakable: false, body) #let example(code, result) = grid(columns: 2, column-gutter: 5pt, { set block(breakable: false) code }, example_result(result)) #s...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-16.typ
typst
Other
// Test the `slice` method. #test((1, 2, 3, 4).slice(2), (3, 4)) #test(range(10).slice(2, 6), (2, 3, 4, 5)) #test(range(10).slice(4, count: 3), (4, 5, 6)) #test(range(10).slice(-5, count: 2), (5, 6)) #test((1, 2, 3).slice(2, -2), ()) #test((1, 2, 3).slice(-2, 2), (2,)) #test((1, 2, 3).slice(-3, 2), (1, 2)) #test("ABCD"...
https://github.com/StefanieJaeger/sa-docu
https://raw.githubusercontent.com/StefanieJaeger/sa-docu/main/glossary.typ
typst
#import "@preview/glossarium:0.4.1": make-glossary, print-glossary, gls, glspl #show: make-glossary // https://typst.app/universe/package/glossarium/ #print-glossary( show-all: true, ( // School (key: "module", short: "Modul", desc: "foo"), (key: "category", short: "Kategorie", desc: "foo"), ...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/content-raw.typ
typst
Apache License 2.0
#align(center, table( [ ``` underbrace(x + y, |A|) ``` ], ))
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-20.typ
typst
Other
// Error: 3-10 cannot repeat this string -1 times #(-1 * "")
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/match_def/param.typ
typst
Apache License 2.0
#let f(a /* ident */) = a;
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-intake-upgrade/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Build: Intake Upgrade", type: "build", date: datetime(year: 2023, month: 9, day: 30), author: "<NAME>", witness: "Violet Ridge", ) #grid( columns: (1fr, 1fr), gutt...
https://github.com/yonatanmgr/summaries-template
https://raw.githubusercontent.com/yonatanmgr/summaries-template/main/template/template.typ
typst
#import "/template/ilm-custom.typ": * #import "/template/thm-custom.typ": * #import "/template/utils.typ": * #import "/template/functions.typ": * // Config file. #let cmeta = yaml("/config.yaml") // Environment definitions. #let question = newenv("global", "שאלה", olive, addon: "תשובה").with([]) #let ex = newenv("exe...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/物联网技术及应用/大论文/main.typ
typst
The Unlicense
#import "template.typ": * // 需要 typst 0.10.0 #show: project.with( title: "基于软件定义网络技术的物联网应用研究", authors: ("absolutex",), abstract_zh: [ 本文首先定义了物联网(IoT)的概念,并阐述了其关键特点,包括设备间的互联互通、数据的自动采集与处理等。随后,文章探讨了物联网在不同领域的应用,如智慧物流、健康医疗、智能环境等,并指出了物联网在数据安全、隐私保护、网络流量管理等方面面临的挑战。文章进一步介绍了软件定义网络(SDN)技术的发展历程、优势以及在物联网中的应用潜力。通过分析SDN的分层...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Multiline block splits paragraphs. Text ```rust fn code() {} ``` Text
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/test/questions/test-003-only-subquestion.typ
typst
MIT License
#import "../../src/lib.typ": * #show: g-exam.with() #g-subquestion(points: 1)[Sub question 1] #g-subquestion(points: 1)[Sub question 2] #g-subquestion(points: 1.5)[Sub question 3]
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/std.typ
typst
// Test 'std', a module with the standard library --- std-basic-access --- #test(std.grid, grid) #test(std.calc, calc) --- std-import --- #import std: grid as banana #test(grid, banana) --- std-of-shadowed --- #let my-grid = grid[a][b] #let grid = "oh no!" #test(my-grid.func(), std.grid) --- std-shadowing --- #let ...
https://github.com/jrihon/multi-bibs
https://raw.githubusercontent.com/jrihon/multi-bibs/main/chapters/02_chapter/mod.typ
typst
MIT License
#import "../../lib/multi-bib.typ": * #import "bib_02_chapter.typ": biblio #pagebreak() // pagebreak previous bibliography = Chapter 2 #include "introduction.typ" #include "methods.typ" #include "results.typ" #include "discussion.typ" #mbibliography(biblio, "ieee")
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/002_Teysa%20Karlov.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "<NAME>", set_name: "Dragon's Maze", story_date: datetime(day: 10, month: 04, year: 2013), author: "<NAME>", doc ) #emph[They've ruled for far too long.] Teysa sat in her favorite chair, made from Utvaran ebony, and let the blasphemous thou...
https://github.com/jijinbei/typst_template
https://raw.githubusercontent.com/jijinbei/typst_template/main/report/README.md
markdown
# レポートのテンプレート Typstのレポート用のテンプレート ## インストール方法 > git clone https://github.com/jijinbei/typst_template.git (dirname) でクローンする。 dirnameを好きなファイル名に ## 使い方 `date`や`titlepage`でテンプレートの設定を変える ## 注意 デフォルトのフォントはLatin Modern Roman, Harano Aji Mincho、数式のフォントはLatin Modern Mathを用いているので、これらをインストールしてください。
https://github.com/Quaternijkon/Typst_USTC_CS
https://raw.githubusercontent.com/Quaternijkon/Typst_USTC_CS/main/README.md
markdown
**www.中国科学技术大学.com** # 省流版 为了降低新手上路的代码分析成本以及降低项目的耦合性,特将项目拆分成多个typ文件,请按以下步骤了解: `main.typ`是渲染的入口,新手上路直接从这里开始。//第一步 `main.typ`中导入了`config.typ`,这是配置文件,封面的标题,副标题,作者等信息在这里修改,其他你无须烦恼。//第二步 `config.typ`中导入了`theme.typ`和`lib.typ`,新手上路可以暂时跳过。 - `theme.typ`相当于`CSS`,控制着模板长什么样,如果你对模板的样式不满意,包括字体,图片素材,跳转功能,或者改成其他学校的主题,在这里修改成你希望的...
https://github.com/AnsgarLichter/hka-thesis-template
https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/supplementary/abstract.typ
typst
#import "../common/todo.typ": * #heading(outlined: false, numbering: none, "Abstract") #todo("Abstract")
https://github.com/loicreynier/sandbox
https://raw.githubusercontent.com/loicreynier/sandbox/main/typst-demo/README.md
markdown
The Unlicense
# `typst-demo` Sandbox article written using [Typst](https://typst.app) to test its features. ## About Article body has been generated using ChatGPT with the following prompt: > Write a scientific article on isotropic turbulence > caused by a dragon's fire breath, > employing different formulas for the wyvern's fir...
https://github.com/alberto-lazari/cns-report
https://raw.githubusercontent.com/alberto-lazari/cns-report/main/conclusions.typ
typst
= Conclusions <conclusions> In our work, we showed how the process of fuzz testing mobile application using QR codes described in @carboni2023if can be improved. Our contribution is about the complete virtualization of the testing process, making it significantly more scalable and efficient. Previously, fuzz testing m...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/packages/physics.md
markdown
MIT License
# Physics ## `physica` > Physica (Latin for _natural sciences_) provides utilities that simplify > otherwise complex and repetitive mathematical expressions in natural sciences. > Its [manual](https://github.com/Leedehai/typst-physics/blob/master/physica-manual.pdf) > provides a full set of demonstrations of how the...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/gallery/test6.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw, vector #import "../src/lib.typ": * #set page(width: auto, height: auto, margin: .5cm) #circuit({ element.multiplexer( x: 10, y: 0, w: 1, h: 6, id: "ResMux", entries: ("000", "001", "010", "011", "101"), h-ratio: 90%, fill: util.colors.blue ) element.extender(...
https://github.com/kaarmu/splash
https://raw.githubusercontent.com/kaarmu/splash/main/src/palettes/typst-highlighting.typ
typst
MIT License
/* Typst Syntax Highlighting Colors * * Source: https://github.com/typst/typst, file: library/src/text/raw.rs * Accessed: 2023-03-31, 9414d56f97c5be71d9c37abb0fd1632a76bde995 */ // FIXME: These names are a bit weird #let typst-highlighting = ( comment : rgb("#8a8a8a"), escape-character : rgb("#1d6...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/numbering-02.typ
typst
Other
#set text(lang: "he") #for i in range(9, 21, step: 2) { numbering("א.", i) [ עבור #i \ ] }
https://github.com/paugarcia32/CV
https://raw.githubusercontent.com/paugarcia32/CV/main/modules/certificates.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Certificates") #cvHonor( date: [2022], title: [Google Cybersecurity Professional Certificate], issuer: [Coursera], )
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-28.typ
typst
Other
// Error: 3-7 cannot mutate a constant: rect #(rect = "hi")
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/examples/2024-gist-algorithm-masters-solutions.typ
typst
Other
#import "@preview/ucpc-solutions:0.1.0" as ucpc #import ucpc.presets: difficulties as lv // Definitions #let primary_color = rgb("#2c2e35") #let secondary-color = rgb("#de3624") #let gist_color = rgb("#ff3e29") #let name(_name, _super) = { _name + " " + super(_super) } #let KMG = name("<NAME>", "@JNU " + `jjkmk1013`...
https://github.com/rpitasky/typst-braid
https://raw.githubusercontent.com/rpitasky/typst-braid/main/README.md
markdown
The Unlicense
# typst-braid Braid Group Visualization in Typst. I wrote this in about an hour for a presentation; the output is not nearly as pretty as comparable tools using tikz, but the output is certainly workable. There are a number of configuration parameters available, their default values and concise explanations are given ...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/param.typ
typst
== Param The param functionality is an inner functionality of the proc and stream functionalities. It represents a data fed to a procedure or streamed by a downstream. The param functionality has following properties: *`range`*` range | [range] (None) {definitive}` #pad(left: 1em)[ The range property defines the ran...
https://github.com/WinstonMDP/knowledge
https://raw.githubusercontent.com/WinstonMDP/knowledge/master/residue_field.typ
typst
#import "cfg.typ": cfg #show: cfg = Поля вычетов Класс эквивалентности сравнимости по модулю $n$, содержащий целое число a, называется вычетом числа $a$ по модулю $n$ и обозначается $[a]_n$. Фактормножество множества $ZZ$ по отношению сравнимости по модулю $n$ обозначается через $ZZ_n$. $ZZ_n = {[0]_n, [1]_n, ..., [...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/gradient-sharp.typ
typst
Apache License 2.0
// Test sharp gradients. --- #square( size: 100pt, fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10), ) #square( size: 100pt, fill: gradient.radial(..color.map.rainbow, space: color.hsl).sharp(10), ) #square( size: 100pt, fill: gradient.conic(..color.map.rainbow, space: color.hsl).shar...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/study-2/mod.typ
typst
MIT License
#import "../../../lib/mod.typ": * == #study.H-2.full.n <s.m.study-2> This section covers the methodology for #study.H-2.prefix. The concept of internal and external iteration scheduling is described in @s.iteration-schedules. An experiment to test the effect of the introduced concept is presented and discussed in @...
https://github.com/jassielof/typst-templates
https://raw.githubusercontent.com/jassielof/typst-templates/main/apa7/README.md
markdown
MIT License
# APA 7th Edition Template for Typst
https://github.com/ToguyC/typst-packages
https://raw.githubusercontent.com/ToguyC/typst-packages/main/unige-simple-report/1.0.0/lib.typ
typst
#let config( title: none, authors: (), abstract: [], class: (), doc, ) = { set page( header: context { if counter(page).get().first() > 1 { authors.first().name h(1fr) title linebreak() v(-9pt) line(length: 100%, stroke: 0.5pt) } }, foo...
https://github.com/xhalo32/constructive-logic-course
https://raw.githubusercontent.com/xhalo32/constructive-logic-course/master/slides/math-camp.typ
typst
#import "@preview/touying:0.4.2": * #import "slidetheme.typ" #let palette = ( rgb("#7287fd"), // lavender rgb("#209fb5"), // sapphire rgb("#40a02b"), // green rgb("#df8e1d"), // yellow rgb("#fe640b"), // peach rgb("#e64553"), // maroon ) #let math-palette = palette.map(c => c.darken(20%)) #show raw: slide...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Set width and height. // Should result in one high and one wide page. #set page(width: 80pt, height: 80pt) #[#set page(width: 40pt);High] #[#set page(height: 40pt);Wide] // Flipped predefined paper. #[#set page(paper: "a11", flipped: true);Flip...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055%20-%20Murders%20at%20Karlov%20Manor/004_Episode%204%3A%20Justice%20Before%20Mercy.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 4: Justice Before Mercy", set_name: "Murders at Karlov Manor", story_date: datetime(day: 10, month: 01, year: 2024), author: "<NAME>", doc ) Teysa's body had yet to cool. When Kaya found the strength to move—when her frozen legs beg...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/features_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test number width. #text(number-width: "proportional")[0123456789] \ #text(number-width: "tabular")[3456789123] \ #text(number-width: "tabular")[0123456789]
https://github.com/DaAlbrecht/lecture-notes
https://raw.githubusercontent.com/DaAlbrecht/lecture-notes/main/computer_networks/ipv4.typ
typst
MIT License
#import "../template.typ": * #set table( fill: (x, y) => if x == 0 or y == 0 { gray.lighten(40%) }, align: right, ) #show table.cell.where(x: 0): strong #show table.cell.where(y: 0): strong = IPv4 (Internet Protocol version 4) An Internet Protocol address (IP address) is a numerical *32-bit* label ...
https://github.com/antonWetzel/prettypst
https://raw.githubusercontent.com/antonWetzel/prettypst/master/test/default/comments.typ
typst
MIT License
//test #import "headings.typ": *; //test //test #test( "some", // "args", )
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/bugs/grid-2-01.typ
typst
Other
#set page(height: 60pt) #lorem(5) - #lorem(5)
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/theorems/theorem.typ
typst
Apache License 2.0
#import "./new-theorem-template.typ": new-theorem-template #import "../colors.typ": color-schema #let theorem = new-theorem-template( "Theorem", fill: color-schema.orange.light, stroke: color-schema.orange.primary, )
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Sections/Section1.typ
typst
#set text( font: "New Computer Modern", size: 11pt ) #set par( justify: true, leading: 0.68em, ) #set heading(numbering: "1.a") = _Introduction_ My name is <NAME>. I am a CS major as an Info and Intel major and this is my second semester here. == Ethical Question _Suppose theres an AI model that can relative...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-12.typ
typst
Other
// Test successful assertions. #assert(5 > 3) #assert.eq(15, 15) #assert.ne(10, 12)
https://github.com/jeffa5/typstfmt
https://raw.githubusercontent.com/jeffa5/typstfmt/main/.github/ISSUE_TEMPLATE/erroneous-input-report.md
markdown
MIT License
--- name: Erroneous input report about: The input contained errors title: "[Input]" labels: input assignees: '' --- **To Reproduce** Code snippet: ```typst <your problematic snippet here, or upload the file> ``` **Version** `X.X.X` **Additional context**
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/class-wood_115-woodturning.typ
typst
#import "./environment/env-protohaven-class_handouts.typ": * #show: doc => class_handout( title: "Woodturning a Mallet", instructors: ("<NAME>",), category: "Wood", number: "115", clearances: ("Wood Lathe","Dust Collection"), authors: ("<NAME>", "<NAME>"), draft: true, doc ) = Welcome Welcome to the...
https://github.com/jamesrswift/chemicoms-paper
https://raw.githubusercontent.com/jamesrswift/chemicoms-paper/main/tests/example/test.typ
typst
#import "/src/lib.typ": template, elements; #import "credit.typ": * #set page(paper: "us-letter", margin: (left: 10mm, right: 10mm, top: 12mm, bottom: 15mm)) #show: template.with( title: [Effects of $#sym.beta$-Cyclodextrin, Triacetin, Propylene Glycol, and Ethanol on the Release of Aroma Compounds from Aqueous Sol...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/互联网原理与技术/作业/理论7.typ
typst
The Unlicense
#import "../../template.typ": * #import "@preview/tablem:0.1.0": tablem #show: project.with( title: "理论 7", authors: ( "absolutex", ) ) #set heading(numbering: none) // P3、P7 = 理论作业7 == P3 假设图7-6中的接收方希望接收由发送方2发送的数据。说明通过使用发送方2的代码,(经计算)接收方的确能够将发送方2的数据从聚合信道信号中恢复出来。 $d_1^2=(0+2+0+2+0+0+2+2)/8=1$ $d_2^2=(2+...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/eratosthenes.typ
typst
#import "/config.typ": theme #let sieve(d, n: 51) = table( columns: 10, align: center, "", ..range(2, n).map(i =>{ if d == 0 { return str(i) } if i == d { table.cell(fill: theme.secondary_light, str(i)) } else if range(2, d).any(j => calc.rem(i, j) == 0 and i != j) { table.cell...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types/tuple.typ
typst
Apache License 2.0
#import "../base-type.typ": base-type, assert-base-type-array #import "../context.typ": context /// Valkyrie schema generator for an array type with positional type reqruiements. If all entries have the same type, see @@array. /// - name (internal): /// - ..args (schema): Type requirments. Position of argument *MUST* ...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/tests/lt/test.typ
typst
MIT License
#import "../../src/schule.typ": lt #import lt: * #import "@preview/cetz:0.2.2" #show: lerntheke.with( /* @typstyle:off */ titel: "Base template test", reihe: "TYPST-TEST", datum: "15.06.2024", nummer: "1", fach: "Typst", kurs: "101", autor: ( name: "<NAME>", kuerz...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/117.%20determination.html.typ
typst
determination.html The Anatomy of Determination Want to start a startup? Get funded by Y Combinator. September 2009Like all investors, we spend a lot of time trying to learn how to predict which startups will succeed. We probably spend more time thinking about it than most, because we invest the earliest. Pre...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/must_know/spacing.md
markdown
MIT License
# Using spacing Most time you will pass spacing into functions. There are special function fields that take only _size_. They are usually called like `width, length, in(out)set, spacing` and so on. Like in CSS, one of the ways to set up spacing in Typst is setting margins and padding of elements. However, you can also...
https://github.com/TC-Fairplay/member-listing
https://raw.githubusercontent.com/TC-Fairplay/member-listing/main/members-list.typ
typst
MIT License
#let members-list(csv-file, juniors-letter, doc) = { let member-type = if juniors-letter == "" { "Aktive" } else { "JuniorInnen " + juniors-letter } let get-header() = { locate(loc => if loc.page() > 1 { [TC Fairplay #h(1fr) Mitgliederliste #member-type] }) }; set page( paper: "a4", margin: (x: 1.5...
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/moderncv.typst/moderncv.typ
typst
/* * Customizations on this template: * * - headings (h1..h4) * * - `datebox` function: provides content with stacked year above (big) and month below (tinier) * * - `daterange` function: two `datebox`es separated by an em dash * * - `xdot`: function, adds a trailing dot to a string only if it's not already pr...
https://github.com/topdeoo/Course-Slides
https://raw.githubusercontent.com/topdeoo/Course-Slides/master/Seminar/2024-03-07/main.typ
typst
#import "../../theme/iTalk.typ": * #import "@preview/algo:0.3.3": algo, i, d, comment, code #show: nenu-theme.with( short-title: "LNS", short-date: "2024-03-07", short-author: "Virgil" ) #let argmax = math.op("arg max", limits: true) #let argmin = math.op("arg min", limits: true) #title-slide( title: "(Adap...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md
markdown
--- sidebar_position: 1 --- # pdfpc [pdfpc](https://pdfpc.github.io/) 是一个 "对 PDF 文档具有多显示器支持的演示者控制台"。这意味着,您可以使用它以 PDF 页面的形式显示幻灯片,并且还具有一些已知的出色功能,就像 PowerPoint 一样。 pdfpc 有一个 JSON 格式的 `.pdfpc` 文件,它可以为 PDF slides 提供更多的信息。虽然您可以手动编写此它,但你也可以通过 Touying 来管理。 ## 加入 Metadata Touying 与 [Polylux](https://polylux.dev/book/exter...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/references/ref_label.typ
typst
Apache License 2.0
// compile: true #set heading(numbering: "1.") = Labeled <title_label> @title_label /* position after */ @title_label @title_label
https://github.com/SoraShu/HITsz-Lab-report-Template
https://raw.githubusercontent.com/SoraShu/HITsz-Lab-report-Template/main/template/main.typ
typst
// set PDF document metadata #set document(title: "摸鱼与摸鱼工程实验一", author: "张三") #import "@local/hitsz-lab-report-template:1.0.0": * #show: project.with( logopath: "./asset/hitsz_logo.jpg", subject: "摸鱼与摸鱼工程", labname: "实验一\n系统性摸鱼设计", kwargs: ( "学院": "计算机科学与技术学院", "姓名": "张三", "学号": "1145141919810", ...
https://github.com/OrangeX4/typst-sympy-calculator
https://raw.githubusercontent.com/OrangeX4/typst-sympy-calculator/main/tests/cal.typ
typst
MIT License
#let hidden(content) = {} #let cmat(..args) = { let mat = if (type(args.pos().at(0)) != "array") { (args.pos(),) } else { args.pos() } let mat_t = () for j in range(mat.at(0).len()) { mat_t.push(()) for i in range(mat.len()) { mat_t.at(j).push(mat.at(i).at(j)) } } math.mat(..mat_t) } // de...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/04-homomorphism.typ
typst
Other
#import "../../utils/core.typ": * #import "../../packages/commute.typ": * == Гомоморфизмы #ticket(step-fn: x => x - 4, post-step-fn: x => x + 4)[Гомоморфизм, образ и ядро] #def[ Пусть $G$, $G'$ --- группы. Отображение $phi: G --> G'$ называется _гомоморфизмом_, если для любых $g_1, g_2 in G$ выполнено $ phi...
https://github.com/chendaohan/bevy_tutorials_typ
https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/31_ime_input/ime_input.typ
typst
#set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3") #set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei") #set raw(theme: "themes/Material-Theme.tmTheme") = 1. IME 输入 Bevy 支持 IME(输入法编辑器),这是人们在使用中文等语言进行文本输入时所使用的方法,也是非键盘文本输入方法(如手写识别)工作的方式。然而,这需要你进行一些特殊处理。 如果你希望所有国际用户能够像在其操作系统...
https://github.com/extua/october
https://raw.githubusercontent.com/extua/october/main/calendar.typ
typst
MIT No Attribution
#let calendar(year: "", body) = { set document(title: str(year) + " calendar") for month in range(1, 13) [ #let month_date = datetime( year: year, month: month, day: 1, ) #let monthly_days = () #for day in range(0, 31) [ #let month_accumulator = (month_date + duration(da...
https://github.com/linhduongtuan/DTU-typst-presentation
https://raw.githubusercontent.com/linhduongtuan/DTU-typst-presentation/main/Readme.md
markdown
# DTU-typst-presentation - To continue the topic of using Typst as an alternative for typesetting, I created this repository for creating a template for presentation slides using Typst, which is somewhat similar to Beamer in LaTeX. - If you are interested in using Typst to compose your thesis, I can recommend my thes...
https://github.com/cloudsftp/zivi.typ
https://raw.githubusercontent.com/cloudsftp/zivi.typ/latest/example.typ
typst
Apache License 2.0
#import "zivi.typ": * #show: zivi.with( author: "Zivi", title: "A Typst Template", github: "cloudsftp", website: "https://cloudsftp.de", birthday: "2000 BC", email: "<EMAIL>", last_updated: "August 2023", ) = Education #cventry( start: (month: "April", year: 2100), end: (month: "October", year: 210...
https://github.com/Roger-luo/InvitationLetter.jl
https://raw.githubusercontent.com/Roger-luo/InvitationLetter.jl/main/assets/main.typ
typst
MIT License
#let letter( year: none, dates: none, venue: none, sender_name: none, sender_street: none, sender_city: none, sender_country: none, sender_postcode: none, sender_phone: none, sender_email: none, receiver_name: none, ) = [ #set page( paper: "a4", margin: (top: 8cm, bottom: 2.5cm, left: 2.5cm, ...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/must_know/project_struct.md
markdown
MIT License
# Project structure ## Large document Once the document becomes large enough, it becomes harder to navigate it. If you haven't reached that size yet, you can ignore that section. For managing that I would recommend splitting your document into _chapters_. It is just a way to work with this, but once you understand ho...
https://github.com/EpicEricEE/typst-droplet
https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/src/extract.typ
typst
MIT License
#import "util.typ": attach-label, space, splittable, to-string // Regex for valid characters in front of the dropped capital. #let regex-before = regex({ "[" "\"'" // Dumb quotes "\p{C}" // Control characters "\p{Pi}" // Initial punctuation "\p{Ps}" // Open...
https://github.com/danbalarin/typst-templates
https://raw.githubusercontent.com/danbalarin/typst-templates/main/README.md
markdown
# Typst templates This repository contains custom templates for [Typst](https://typst.app/). ## Usage To use a template, simply copy the template's content and paste it into the Typst editor. Note that some templates may contain more than one file.
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/DispositiviMedicali.typ
typst
#import "style.typ": apply_style #apply_style[ // DOCUMENT CONTENT STARTING POINT #align(center + horizon, text(30pt)[ *Dispositivi medicali itps* ]) #let date = datetime(year: 2024, month: 09, day: 13).display("[day] [month repr:long] [year]") #align(center, date) #pagebreak() #outline(indent: a...
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/appunti.typ
typst
// Titolo e indice #import "template.typ": * #show: project.with( title: "Informatica teorica" ) #pagebreak() // Introduzione #include "capitoli/00_introduzione.typ" #pagebreak() // Teoria della calcolabilità #parte("Teoria della calcolabilità") #pagebreak() // Capitoli di teoria della calcolabilità #include...
https://github.com/Seanwanq/Typst-Course-Report-Template
https://raw.githubusercontent.com/Seanwanq/Typst-Course-Report-Template/main/main.typ
typst
#import "@preview/tablex:0.0.8": * #import "template.typ": * #import "sourcerer.typ": * #show: MSTemplate.with( reportName: "Template homework", authorName: "<NAME>", courseName: "Modeling and Simulations", professor: "Prof. dr. it. <NAME> and Dr. <NAME>", date: "April 25th, 1974", IsComplexEquationNumbe...
https://github.com/ludwig-austermann/typst-timetable
https://raw.githubusercontent.com/ludwig-austermann/typst-timetable/main/timetable.typ
typst
MIT License
#import "@preview/tablex:0.0.5": tablex, rowspanx #import "lib/helper.typ" as lib #import "lib/default-blocks.typ" #let timetable( all-data, language: "en", date: datetime.today().display("[day].[month].[year]"), show-header: true, show-alternatives: true, show-description: true, tablex-args: (:), even...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/2.1.AutomatasCelulares.typ
typst
#import "../utilities/gridfunc.typ": * #import "../data/gridexamples.typ": * #import "../data/data.typ": * En este capítulo se hablará sobre el concepto de automátas celulares, su historia y su relevancia en la ciencia y matemáticas. Además, se presentarán algunos ejemplos de autómatas celulares relevantes en la inves...
https://github.com/Fabioni/Typst-TUM-Thesis-Template
https://raw.githubusercontent.com/Fabioni/Typst-TUM-Thesis-Template/main/template/utils.typ
typst
MIT No Attribution
#let inwriting = true #let draft = true #assert(not(inwriting and not(draft)), message: "If inwriting is true, draft should be true as well.") #let todo(it) = [ #if inwriting [ #text(size: 0.8em)[#emoji.pencil] #text(it, fill: red, weight: 600) ] ] #let silentheading(level, body) = [ #heading(outlined: fa...
https://github.com/deadManAlive/ui-thesis-typst-template
https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/main.typ
typst
#import "primer/primer.typ": main, primer #import "primer/pre.typ": pre #show: doc => primer(doc) #pre #main()[ #include "chapters/ch1.typ" #pagebreak(weak: true) #include "chapters/ch2.typ" #pagebreak(weak: true) #bibliography("sources.bib", style: "ieee", title: [Daftar Pustaka]) ]
https://github.com/layandreas/typst-resume
https://raw.githubusercontent.com/layandreas/typst-resume/main/cv_andreas_lay_en.typ
typst
#import "alta-typst.typ": alta, term, skill, styled-link #alta( name: "<NAME>", links: ( (name: "email", link: "mailto:<EMAIL>"), (name: "website", link: "https://layandreas.github.io/personal-blog/", display: "layandreas.github.io/personal-blog/"), (name: "github", link: "https://github.com/layandreas...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046%20-%20Streets%20of%20New%20Capenna/002_The%20Contract%20Breaker.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Contract Breaker", set_name: "Streets of New Capenna", story_date: datetime(day: 28, month: 03, year: 2022), author: "<NAME>", doc ) Most people take one look at someone like Perrie and think "head basher," but Perrie's rise through the...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/container-00.typ
typst
Other
// Test box in paragraph. A #box[B \ C] D. // Test box with height. Spaced \ #box(height: 0.5cm) \ Apart
https://github.com/mkhoatd/Typst-CV-Resume
https://raw.githubusercontent.com/mkhoatd/Typst-CV-Resume/main/CV/typstcv.typ
typst
MIT License
#let date_colour= rgb("#666666") #let primary_colour= rgb("#2b2b2b") #let headings_colour= rgb("#6A6A6A") #let subheadings_colour= rgb("#333333") // Set font type for all text #let fonttype = "macfont" #let font_head = { if fonttype == "macfont" { "Helvetica Neue" } else if fonttype == "openfont" { ...
https://github.com/ad-si/invoice-maker
https://raw.githubusercontent.com/ad-si/invoice-maker/master/readme.md
markdown
ISC License
# Invoice Maker Generate beautiful invoices from a simple data record. <a href="./fixtures/expected-en.pdf"> <img alt="Example invoice" src="./images/example-invoice.png" height="768" > </a> ## Features - **Simple, yet Powerful** - Write invoices as simple `.typ` or `.yaml` files - No need ...
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/README.md
markdown
MIT License
# 浙江大学 Typst 学位论文模板 `modern-zju-thesis` * **警告:** 本模板目前处于实验性阶段,请谨慎使用,对输出结果应进行检查和确认。在实验性阶段本模板可能会不加预告地对接口进行破坏性更改。 ## 使用方法 1. 本模板尚未发布至 Typst Universe,请先以 Git Submodule 等方式使用。一种可能的目录结构为: * `/` * `templates/` * `modern-zju-thesis/` * `fonts/` * `main.typ` * `ref.bib` 2. 安装所需字体:`FangSong` `Kaiti` `...
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-drivetrain-config.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: "Brainstorm: Drivetrain Configuration", type: "brainstorm", date: datetime(year: 2023, month: 6, day: 19), author: "<NAME>", witness: "Violet Ridge", ) = Gear Ratio, Wh...
https://github.com/dasayan05/typst-ai-conf-templates
https://raw.githubusercontent.com/dasayan05/typst-ai-conf-templates/master/README.md
markdown
MIT License
# AI conference templates in [Typst](https://typst.app/) <h3 align="center">🔨 <strong>Work-in-progress (WIP)</strong> 🔨</h3> <h4 align="center"> ✨ Contributions are welcome ✨ </h4> <br /> <center> <strong>Please note that Typst is in it's early stage and not yet as feature-rich as LaTeX, hence it may still take so...
https://github.com/haokee-git/CppGuide
https://raw.githubusercontent.com/haokee-git/CppGuide/main/main.typ
typst
#import "template.typ": * #show: project.with( title: "C++ 入门教程", authors: ( "好渴鹅", ), ) #let quote(body) = { rect(fill: luma(240), stroke: (left: 0.1em))[#body] } = 前言 这是好渴鹅完全独立自主编写的一本如何入门 C++ 的指南,采用 Typst 文档系统系统构建,仅供学习,请勿用于商业用途。 其实现在市面上不管是博客啊还是实体书等等等等,都有非常多专门教学 C++ 的,但它们各有优缺点:网上的教程虽然不乏有一些很好的文章,但是只是太过...
https://github.com/ralphmb/My-Dissertation
https://raw.githubusercontent.com/ralphmb/My-Dissertation/main/other/bradleyterry.typ
typst
Creative Commons Zero v1.0 Universal
#heading([Bradley-Terry models], numbering:none, outlined:false) /* CHECK OUT KUK 1995 @kuk1995 */ In this section we will take a new approach to the problem of modelling football match results. A paper by #cite(<koning>, form:"prose") uses an ordered probit model to assess team strengths and home advantage. Using $...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_155%20-%20Differential%20Analysis%201/Assignments/Assignment%203.typ
typst
#import "/Templates/generic.typ": latex, header #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #import "/Templates/assignment.typ": * #show: doc => header(title: "Assignment 3", name: "<NAME>", doc) #show: latex #show: NumberingAfter #show: thmrules #let col(x, clr) = text(fill: clr)[$#x$] #let ...
https://github.com/jonathan-iksjssen/jx-style
https://raw.githubusercontent.com/jonathan-iksjssen/jx-style/main/0.2.0/rp-example.typ
typst
#import "@jx/jx-style:0.2.0": * #show: docu.with( docutype: "paper", rp-authors: ( (lastname: "Icśsen", firstname: "<NAME>"), ), rp-title: "Applications of PINGAS in HoH SiS Foundation Repair", rp-header: "Icśsen (2025)", rp-subtitle: "They do doo in the foundation work.", rp-school: "University of ...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/utils/states.typ
typst
// touying slide counters #let slide-counter = counter("touying-slide-counter") #let last-slide-counter = counter("touying-last-slide-counter") #let last-slide-number = locate(loc => last-slide-counter.final(loc).first()) #let touying-progress(callback) = locate(loc => { let ratio = calc.min(1.0, slide-counter.at(lo...
https://github.com/zenor0/simple-neat-typst-cv
https://raw.githubusercontent.com/zenor0/simple-neat-typst-cv/master/cv/utils/packages.typ
typst
MIT License
// 统一在此文件导入包,方便后续更新 #import "@preview/a2c-nums:0.0.1": int-to-cn-num #import "@preview/cuti:0.2.1": show-cn-fakebold, fakebold #import "@preview/sourcerer:0.2.1": code #import "@preview/lovelace:0.2.0": * #import "@preview/gentle-clues:0.8.0": * #import "@preview/codly:0.2.0": *
https://github.com/AnsgarLichter/hka-thesis-template
https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/supplementary/statutoryDeclaration.typ
typst
#import "/metadata.typ": * #heading(outlined: false, numbering: none, "Declaration of Originality") I declare that I have composed the #lower(degree)'s thesis myself and without use of any other than the cited sources and aids. Sentences or parts of sentences quoted literally are marked as such; other references with...
https://github.com/nath-roset/suiviProjetHekzamGUI
https://raw.githubusercontent.com/nath-roset/suiviProjetHekzamGUI/master/typ%20sources/definitions.typ
typst
Apache License 2.0
= Definitions : (*HYPOTHÈSES DE DÉBUT DE PROJET*) - *cadrage* : en pourcentage, métrique qui mesure la qualité de la numérisation par page - *fichier source* : fichier texte suivant la #link("https://typst.app/docs/reference")[spécification] du langage Typst , ideally with a *.typ* extension - *projet* : Un projet dans...
https://github.com/mcanouil/generate-quarto-invoices
https://raw.githubusercontent.com/mcanouil/generate-quarto-invoices/main/README.md
markdown
MIT License
# Generate Quarto Invoices This is a simple script to generate biweekly invoices using Quarto/Typst. It first generates YAML files for each invoice, then generates the invoices from one single Quarto document. ## Usage ```bash generate-invoices.py \ --name="Consulting" \ --task="A very important job" \ --det...
https://github.com/Quaternijkon/notebook
https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.menu/.menu-数据结构/menu-哈希表.typ
typst
== 哈希表<哈希表> #import "../../../../lib.typ":* #xquotation( first: [ ], second: [ ] ) #pagebreak() #include "../../.chapter-数据结构/哈希表/同构字符串.typ" #pagebreak() #include "../../.chapter-数据结构/哈希表/两数之和.typ"
https://github.com/MLAkainu/Network-Comuter-Report
https://raw.githubusercontent.com/MLAkainu/Network-Comuter-Report/main/components/footer.typ
typst
Apache License 2.0
#import "../metadata.typ": meta #locate(loc => { set text(font: "Iosevka NF", size: 10pt) show: block.with( stroke: (top: 1pt), inset: (top: 1em) ) // skip first page footer if loc.page() == 1 { return } let current-page = counter(page).at(loc).at(0) let total-pages = counter(page).final(...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-03.typ
typst
Other
// Test spreading array and dictionary. #{ let more = (3, -3, 6, 10) test(calc.min(1, 2, ..more), -3) test(calc.max(..more, 9), 10) test(calc.max(..more, 11), 11) } #{ let more = (c: 3, d: 4) let tostr(..args) = repr(args) test(tostr(a: 1, ..more, b: 2), "(a: 1, c: 3, d: 4, b: 2)") }
https://github.com/monaqa/typscrap.nvim
https://raw.githubusercontent.com/monaqa/typscrap.nvim/master/class/layout.typ
typst
#import "component.typ": href, code, scrap, colors #import "states.typ" #import "layout/telomere.typ" #let document( show_toc: false, link_converters: href.default_link_converters, show_telomere: true, confidential: none, body ) = { // text & paragraph set text(font: "IBM Plex Sans JP", size: 10.5pt) ...