repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/posit-dev/bcorp-report
https://raw.githubusercontent.com/posit-dev/bcorp-report/main/typst-template.typ
typst
#let posit_colors = ( blue: rgb("#447099"), grey: rgb("#404041"), dark_blue_3: rgb("#17212B"), light_blue_1: rgb("#D1DBE5"), light_blue_2: rgb("#A2B8CB") ) #let hex_background={ image("assets/images/hexes-8.5x11-#17212B.png", height: 100%, fit: "cover") } // Pages with a blue background #let page_blue(c...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/038%20-%20War%20of%20the%20Spark/005_Operation%20Desperation.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Operation Desperation", set_name: "War of the Spark", story_date: datetime(day: 05, month: 06, year: 2019), author: "<NAME>", doc ) #align(center)[#strong[I.]] Teyo, Mistress Kaya, Master Zarek, Queen Vraska, and I took Golgari tunnels as ...
https://github.com/RiccardoTonioloDev/Bachelor-Thesis
https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/config/functions.typ
typst
Other
#let eval_table(benchmarks,n_reference_rows,caption,n_better_lower: 4) = { let best_scores = () let i = 0 while i < n_better_lower { let mins = 99999 let j=0 while j < benchmarks.len() { mins = calc.min(mins,benchmarks.at(j).vals.at(i)) j = j + 1 } best_scores.push(mins) i = i ...
https://github.com/derwind/mathlog-docs
https://raw.githubusercontent.com/derwind/mathlog-docs/main/style/mathlog_style.typ
typst
#let strong_color = red #let def_color = rgb("11508e") #let thm_color = rgb("17b0c4") #let ex_color = rgb("d4bd77") #let exc_color = black #let rem_color = rgb("ffebee") #let prf_color = black #let fml_color = rgb("1e90ff") #let bl_color = rgb("262626") #let conj_color = rgb("343a40") // #show strong: set text(fill...
https://github.com/Quaternijkon/QUAD
https://raw.githubusercontent.com/Quaternijkon/QUAD/main/content.typ
typst
#import "config.typ": * #import "lib.typ": * // #outline(title: none, indent: 2em) // #touying-outline() #outline-slide() = First Section == First Slide #slide[ A slide with a title #alert[and] an *important* #_error[information]. ] == Second Slide #slide[ A slide with a title and an *important* information....
https://github.com/waseemR02/waseemr02-cv
https://raw.githubusercontent.com/waseemR02/waseemr02-cv/typst/resume.typ
typst
MIT License
#import "template/cv.typ": * #let cvdata = yaml("resume.yml") #let uservars = ( headingfont: "Linux Libertine", bodyfont: "Linux Libertine", fontsize: 11pt, // 10pt, 11pt, 12pt linespacing: 6pt, showAddress: true, // true/false show address in contact info showNumber: true, // true/false show...
https://github.com/julius2718/tempura
https://raw.githubusercontent.com/julius2718/tempura/main/0.0.1/example/prez_example.typ
typst
MIT License
#import "@local/tempura:0.0.1": * #import "@preview/polylux:0.3.1": * #import "@local/wareki:1.0.0": * #show: doc => jpprez(doc) #polylux-slide[ #align(horizon + center)[ = tempura: 日本語のTypst テンプレート julius2718 #wareki_today ] ] #polylux-slide[ == 日本国憲法 - 国民の義務 + 勤労の義務 + 納税の義務 + 教育を...
https://github.com/DanielOaks/tme
https://raw.githubusercontent.com/DanielOaks/tme/main/dual-character-sheet.typ
typst
#import "elements.typ": sheet, characterSheetTop, emptyLines, #let title = "Talking Magic Equines 1e Character Sheet" #sheet( title: title, paper: "a4", [ #characterSheetTop() #emptyLines(3) #v(15pt) #characterSheetTop() #emptyLines(3) ] )
https://github.com/Mouwrice/thesis-typst
https://raw.githubusercontent.com/Mouwrice/thesis-typst/main/measurements/measurement_results.typ
typst
#import "../lib.typ": * == Results In this section all the measurement results are listed and discussed. The results go over the effect of the different MediaPipe Pose models (`LITE`, `FULL`, and `HEAVY`) and the accuracy and frame rate that was achieved. All measurements are performed with `GL version: 3.2 (OpenGL E...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/meeting_minutes/week_04.typ
typst
#import "../../../acronyms.typ": * = Project Meeting 10.10.2023 08:15 - 09:00 (MS Teams) == Participants - Prof. Dr. <NAME> - <NAME> - <NAME> == Agenda - Discussion of function visualization drafts - Input from Advisor: - Include a code scenario with currying - Maybe VisualFP should go in the direction of a v...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ARO/docs/6-Reels/reels.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Réels ], lesson: "ARO", chapter: "6 - Réels", definition: "TBD", col: 1, doc, ) = Codage binaire Le codage crée par <NAME> en 1985 est un standard IEEE 754 qui permet de représenter les nombres réels en virgule flottante....
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20esterna/Verbali/24-03-26/24-03-26.typ
typst
#import "/template.typ": * #show: project.with( date: "26/03/24", subTitle: "Dimostrazione e convalida MVP", docType: "verbale", authors: ( "<NAME>", ), externalParticipants : ( (name: "<NAME>", role: "Referente aziendale"), ), timeStart: "15:00", timeEnd: "15:30", location: "Zoom", ); =...
https://github.com/hyskr/touying-bjtu
https://raw.githubusercontent.com/hyskr/touying-bjtu/main/README.md
markdown
MIT License
# Touying Slide Theme for Beijing Jiaotong University 基于 [Touying Slide Theme for Beihang University](https://github.com/Coekjan/touying-buaa) 的修改。 ## 作为 Typst 模板包使用 ```console > cd touying-bjtu > typst watch main.typ ``` ## Examples See [examples](examples) for more details. You can compile the examples by yours...
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/conformal_prediction/slides.typ
typst
#let NO_STEPS = false #let slide_counter = state("slide_counter", 1) #let slide_inner(n_steps, content) = { if n_steps >= 20 [ // for some bizzare reason we need this in order to not enter an infinite loop ] else [ #slide_counter.update(n_steps) #box(width: 100%, height: 100%)[#content...
https://github.com/herbertskyper/HITsz_Proposal_report_Template
https://raw.githubusercontent.com/herbertskyper/HITsz_Proposal_report_Template/main/utils/utils.typ
typst
MIT License
#import "../theme/type.typ":* //用于生成报告的标题提示 #let title_tips(content:"",spacing_h:2.4cm) =[ #set text( font: "New Computer Modern", size: 字号.四号, ) #v(-1.05cm) #h(spacing_h) (#content) ] //用于生成报告的标题 #let report_title(title_content: "",title_tips: "")={ set text(font:字体.宋体,size:字号.四号) " " ...
https://github.com/Vanille-N/kefir
https://raw.githubusercontent.com/Vanille-N/kefir/master/label/draw.typ
typst
The Unlicense
#import "@preview/cetz:0.2.2": * #import draw: * #let stroke = 0.5pt #let dp(to, ..attrs) = { let as_arr = attrs.pos() let as_dic = attrs.named() let chosen = { if as_arr.len() > 0 { if as_dic.len() > 0 { panic("Can't handle poth positional and named arguments") } else { as_arr ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test in case distinction. $ f := cases( 1 + 2 &"iff" &x, 3 &"if" &y, ) $
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-07.typ
typst
Other
// Error: 2-10 cannot continue outside of loop #continue
https://github.com/antonWetzel/prettypst
https://raw.githubusercontent.com/antonWetzel/prettypst/master/test/default/label.typ
typst
MIT License
#figure([]) <a> #figure([]) <b> #ref(<a>) #ref( <a>, )
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/013%20-%20Magic%202015/004_The%20Bard%20and%20the%20Biologist.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Bard and the Biologist", set_name: "Magic 2015", story_date: datetime(day: 09, month: 07, year: 2014), author: "<NAME>", doc ) On the plane of Shandalar, in the city of Lesh, a man walked the streets, rambling about evil horrors. That, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/pavemat/0.1.0/README.md
markdown
Apache License 2.0
# Pavemat ![pavement + matrix](./examples/logo.svg) repo: <https://github.com/QuadnucYard/pavemat> ## Introduction The *pavemat* is a tool for creating styled matrices with custom paths, strokes, and fills. It allows users to define how paths should be drawn through the matrix, apply different strokes to these path...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/frac_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test dif. $ (dif y)/(dif x), dif/x, x/dif, dif/dif \ frac(dif y, dif x), frac(dif, x), frac(x, dif), frac(dif, dif) $
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/for-loop-line-break.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2" #let 六面体 = { import cetz.draw: * import cetz: * let neg(u) = if u == 0 { 1 } else { -1 } for (p, c) in ( ((0, 0, 0), black), ((1, 1, 0), red), ((1, 0, 1), blue), ((0, 1, 1), green), ) { line(vector.add(p, (0, 0, neg(p.at(2)))), p, stroke: c) line(vecto...
https://github.com/LaurenzV/simplecv
https://raw.githubusercontent.com/LaurenzV/simplecv/main/README.md
markdown
MIT License
# SimpleCV SimpleCV is a simple and elegant CV template written in [Typst](https://typst.app/) aimed at (but not limited to!) people with an engineering background. The template was inspired by two Latex CV templates ([[1]](https://www.overleaf.com/latex/templates/autocv/scfvqfpxncwb), [[2]](https://www.overleaf.com/l...
https://github.com/Wh4rp/Typst-PUC
https://raw.githubusercontent.com/Wh4rp/Typst-PUC/master/example.typ
typst
#import "modules/template.typ": * #show: doc => project( curso: ( sigla: "IIC1000", nombre: "Introucción a los computadores y a la programación", departamento: "Departamento de Ciencia de la Computación", ), autor: ( nombre: "Fulano", apellido: "<NAME>", email...
https://github.com/NOOBDY/formal-language
https://raw.githubusercontent.com/NOOBDY/formal-language/main/q1.typ
typst
The Unlicense
#import "@preview/finite:0.3.0": automaton, layout #let q1 = [ 1. (Fun with `DFA`) For each of the following languages, construct a `DFA` that accepts the language. In all cases, the alphabet is {0, 1}. 1. ${w | |w| equiv 0 mod 3}$. #automaton( ( q0: (q1:"0,1"), q1: (q2:"0,1"), q2: (q0:"0,1"...
https://github.com/HarryLuoo/sp24
https://raw.githubusercontent.com/HarryLuoo/sp24/main/431/hw/1/hw2.typ
typst
= Math 431 hw2 = <NAME> #set math.equation(numbering: "(1)") == - ex 1.15// *(a)* Following the definition of events $W,G,R$, we describe the event of "not all three colors are present" as $W sect G sect R$. Then, according to inclusion-exclusion principle, we have $ P("did not see all three colors") = & P(W sect G...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-21.typ
typst
Other
// Error: 2:1 expected quote #"hello\"
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-2/homework1.typ
typst
#import "../template.typ": * #show: project.with( course: "Calculus II", course_fullname: "Calculus (A) II", course_code: "821T0160", title: "Homework #1", authors: (( name: "<NAME>", email: "<EMAIL>", id: "#198" ),), semester: "Spring-Summer 2024", date: "January 24, 2024", ) #let ss = [$display(attach...
https://github.com/duskmoon314/THU_AMA
https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch1/1-背景.typ
typst
Creative Commons Attribution 4.0 International
#import "/book.typ": * #show: thmrules #show: book-page.with(title: "背景") = 背景 万物皆数 #sym.arrow.r.double 抽象化 事物 #sym.arrow.r.double 数字 #sym.arrow.r.double $NN, ZZ, QQ, RR, CC$ #theorem("代数 (Algebra)")[ 以字母、未定符代替数字 ] #remark[ 1859年,李善兰翻译为“代数学” ] $ "工程问题" arrow.r.l.double.long_"具体化抽象化"^"抽象化模型化" "数学理论" $
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/evaluation/technology.typ
typst
#import "/components/glossary.typ": gls == Evaluation Technology === Bun Test To comprehensively evaluate the Ungrammar Language Ecosystem, we've strategically employed Bun (@sec-bun) Test as our primary testing framework. Bun Test, a versatile testing tool, not only streamlines the testing process but also aligns s...
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst
https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/template/cover.typ
typst
// 封面 #import "font.typ" : * #import "../body/info.typ" : * #align(center)[ #v(20pt) #table( columns: (140pt, auto, auto), align: horizon, stroke: none, [], [#image("../assets/schoolname.png", width: 120%, height: 9%)], [#image("../assets/logo.png", width: 40%)] ) #table( ...
https://github.com/yan-aint-nickname/uni
https://raw.githubusercontent.com/yan-aint-nickname/uni/main/oop-matrix-cli/diagrams/main.typ
typst
MIT License
// https://xkcd.com/1195/ #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import fletcher.shapes: diamond, parallelogram #set text(font: "Comic Neue", weight: 600) #let chart_main = diagram( node-stroke: 1pt, edge-stroke: 1pt, node((0,0), [Начало], corner-radius: 10pt), edge("-|>"), node...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pagebreak-00.typ
typst
Other
// Just a pagebreak. // Should result in two pages. #pagebreak()
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/program-driver-control/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: "Program: Driver Control", type: "program", date: datetime(year: 2023, month: 8, day: 20), author: "<NAME>", witness: "Al<NAME>", ) With the control scheme and curve st...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/microtype_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that lone punctuation doesn't overhang into the margin. #set page(margin: 0pt) #set align(end) #set text(dir: rtl) :
https://github.com/refparo/24xs-zh
https://raw.githubusercontent.com/refparo/24xs-zh/master/common.typ
typst
#let gutter = (90mm - 1em * 17 * 2) / 3 #let typ-24xs = doc => { set text( 7pt, top-edge: 7pt, font: ("<NAME>", "Noto Sans CJK SC"), lang: "zh", baseline: -0.11em, ) show regex("[·“”‘’…]"): set text(font: "Noto Sans CJK SC") set block(spacing: 0pt) set par(leading: 0.25em) show par: it =...
https://github.com/GeorgeDong32/GD-Typst-Templates
https://raw.githubusercontent.com/GeorgeDong32/GD-Typst-Templates/main/functions/style.typ
typst
Apache License 2.0
#let line_height = 1em #let fonts = ( text: ("CMU Serif", "Source Han Serif SC", "Source Han Serif"), sans: ("Source Han Sans SC", "Source Han Sans"), code: ("Cascadia Code", "Consolas"), ) #let textbf(it) = block( text( font: fonts.sans, weight: "semibold", it ) ) #let textit(it) = block(text(...
https://github.com/fenjalien/cirCeTZ
https://raw.githubusercontent.com/fenjalien/cirCeTZ/main/examples/exclusive-or.typ
typst
Apache License 2.0
#import "../../typst-canvas/canvas.typ": canvas #lorem(30) #figure( canvas({ import "../../typst-canvas/draw.typ": * import "../circuitypst.typ": node node("nand gate", (0,1), name: "g1") content("g1.out", [#h(0.5em) Q], anchor: "left") line("g1.in 1", (rel: (0, 0.5)), name: "l1") line("g...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/line_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Test errors. // // // Error: 12-19 point array must contain exactly two entries // #line(end: (50pt,))
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/nouns.typ
typst
MIT License
#let gbpplanner = [GBP Planner]
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/crane.typ
typst
= Offshore crane API Spec 2C@api_spec_2c and EN 13852-1@en_13852_1 are two well known standards that offer guidance in developing minimum offshore pedestal-mounted crane requirements. They represent Gulf of Mexico and the North Sea respectively. API specification considers Gulf of Mexico to be of "very mild sea and w...
https://github.com/levinion/typst-dlut-templates
https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/thesis/changelog.typ
typst
MIT License
#import "../util/style.typ":font_size,font_family,vspacer #import "../util/functions.typ":invisible_heading #let changelog(content)={ if content != none { set align(center) set text(font: font_family.heiti, size: font_size.xiao_san) [修改记录] invisible_heading()[修改记录] v(-8pt) set align(left) ...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2017/MS-11.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [马龙], [CHN], [3649], [2], [樊振东], [CHN], [3454], [3], [许昕], [CHN], [3311], [4], [迪米特里 奥恰洛夫], [GER], [3255], [5], [林高远], [CHN], [3237...
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/early_season/intro_meta.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: [Introduction to the Meta], date: [September 9th, 2023], content: [ #box_header( title: [Watching Mall of America], color: purple.lighten(60%) ) \ ...
https://github.com/dark-flames/apollo-typst
https://raw.githubusercontent.com/dark-flames/apollo-typst/main/README.md
markdown
Apache License 2.0
# apollo-typst Typst static site template based on [Zola](https://getzola.org), [typst.ts](https://github.com/Myriad-Dreamin/typst.ts), and [apollo](https://github.com/not-matthias/apollo). See a live preview [here](https://dark-flames.com). ## Features - Full functionality of [Zola](https://getzola.org) and [apollo...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-23.typ
typst
Other
// Error: 11-13 value must be strictly positive #calc.log(-1)
https://github.com/m-pluta/bias-in-ai-report
https://raw.githubusercontent.com/m-pluta/bias-in-ai-report/main/report/images/emotion_dist.typ
typst
#import "@preview/cetz:0.2.1": canvas, chart, draw #let data = ( ([`'neutral'`], 0.13), ([`'happy'`], 0.76), ([`'angry'`], 0.03), ([`'sad'`], 0.01), ([`'fear'`], 0.0), ([`'surprise'`], 0.02), ([`'disgust'`], 0.01), ([`'contempt'`], 0.04), ) #canvas({ chart.barchart( mode: "basic", size: (7, ...
https://github.com/taylorh140/tySheetSu
https://raw.githubusercontent.com/taylorh140/tySheetSu/main/README.md
markdown
# tySheetSu Typst Sheet Super Interface for xlsx files.
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/typ/templates/term.typ
typst
Apache License 2.0
#let term-state = state("term", (:)) #let reset-term-state = term-state.update(it => (:)) #let _term(term-list, term, postfix: none, en: none) = locate(loc => { let s = term-state.at(loc) if term in s { [「#term-list.at(term)#("」"+postfix)] } else { let en-term = term if en != none { en-term = ...
https://github.com/ARKye03/MathSummary
https://raw.githubusercontent.com/ARKye03/MathSummary/main/readme.md
markdown
# Mini Summary Formulas, report, and notes for making my life easier. (I hope, it depends if I keep working on it or not.) ## Contents The pdf file is like a math treasure trove, full of formulas and tricks for calculus and trigonometry. Here's what you'll find inside: 1. **Integrals**: These are formulas for findi...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/049%20-%20The%20Brothers'%20War/002_Episode%202%3A%20The%20Beginning.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 2: The Beginning", set_name: "The Brothers' War", story_date: datetime(day: 20, month: 10, year: 2022), author: "<NAME>", doc ) #strong[69 AR] Tawnos's civil factory was a clamor of human and machine, a cacophony at all hours. Arti...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/test/sugar/test-001-sugar-queston.typ
typst
MIT License
#import "../../src/lib.typ": * #show: g-exam.with( // question-points-position: right, // decimal-separator: "." // show-grade-table: false, // show-solution: false // question-text-parameters: (size: 18pt, font:"OpenDyslexic") ) =? =2.35? =2.5? Question 1 ? What ? ==? ==? Subquestion...
https://github.com/david-davies/typst-prooftree
https://raw.githubusercontent.com/david-davies/typst-prooftree/main/src/prooftrees.typ
typst
MIT License
#import "internal.typ" /// An inference with `num_premises` many premises. /// /// - num_premises (int): The number of premises of the inference. /// - conclusion (content): The conclusion of the inference; the part that goes under the line. /// - right_spacing (length): When this tree is itself a premise, how much ...
https://github.com/jbirnick/typst-great-theorems
https://raw.githubusercontent.com/jbirnick/typst-great-theorems/master/lib.typ
typst
MIT License
#let mathblock(blocktitle: none, counter: none, numbering: "1.1", prefix: auto, titlix: title => [(#title)], suffix: none, bodyfmt: body => body, ..global_block_args) = { // check if blocktitle was provided if blocktitle == none { panic("You have created a `mathblock` without a `blocktitle`. Please provide a `b...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/07-localisation/takri.typ
typst
Other
#import "/lib/draw.typ": * #import "/template/lang.typ": takri #let start = (0, 0) #let end = (500, 420) #let example = "\u{1168A}\u{116AE}\u{116AB}" #let correct = with-unit((ux, uy) => { // mesh(start, end, (100, 100)) txt([#takri[#example]], (0, 80), size: 400 * ux, anchor: "lb") }) #let broken = with-unit((u...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/FormularioDispositivi.typ
typst
#import "style.typ": apply_style #import "custom_functions.typ": def #let title = align(center)[ #text( "Formulario di Dispositivi itps", 30pt) ] #let def(formula, unit) = { //set text(rgb("#000000"), 1em, weight: "bold") text(strong("· "), 1.4em, weight: "bold") + formula + $med med arrow med med$ ...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/vec2.typ
typst
MIT License
#let add(a, b) = (a.at(0) + b.at(0), a.at(1) + b.at(1)) #let sub(a, b) = (a.at(0) - b.at(0), a.at(1) - b.at(1)) #let scale(k, a) = (a.at(0) * k, a.at(1) * k) #let dot(a, b) = a.at(0) * b.at(0) + a.at(1) * b.at(1) #let distance(a, b) = calc.sqrt(calc.pow(a.at(0) - b.at(0), 2) + calc.pow(a.at(1) - b.at(1), 2)) #let dis...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/util.typ
typst
Apache License 2.0
#import "deps.typ" #import deps.oxifmt: strfmt #import "matrix.typ" #import "vector.typ" #import "bezier.typ" /// Constant to be used as float rounding error #let float-epsilon = 0.000001 #let typst-measure = measure #let typst-length = length /// Multiplies vectors by a transformation matrix. If multiple vectors...
https://github.com/xichen1/typst-resume
https://raw.githubusercontent.com/xichen1/typst-resume/main/README.md
markdown
# typst-resume My resume built by typst An online version can be found in [typst](https://typst.app/project/rJLyb2qMKsxnQrRzXv8sNx). ## Preview ![resume preview](resume.png)
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/dialogue.header.typ
typst
#import "base-utils.typ": * #import "classroom.typ" #import "designer.typ" // functions.typ #let header(student-group: none, title: none, subtitle: none, topic: none) = { let leftContent = { if title != none { text(weight: "bold", fill: blue.darken(50%), size: 16pt, title) // v...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas6/0_Nedela.typ
typst
#let M = ( "HV": ( ("","","Pobídu imíja Christé júže na áda, na krest vozšél jesí: da vo ťmí smérti seďáščya voskresíši s sobóju, íže v mértvych svobóď: istočájaj živót ot svojehó svíta, vsesíľne Spáse, pomíluj nás."), ("","","Pobídu imíja Christé júže na áda, na krest vozšél jesí: da vo ťmí smérti seďáščya v...
https://github.com/FlorenceGhestem/My-Resume
https://raw.githubusercontent.com/FlorenceGhestem/My-Resume/main/assets/typst/typst-show.typ
typst
MIT License
#show: doc => resume( $if(name)$ name: [$name$], $endif$ $if(contact)$ contact: ( $for(contact)$ ( text: [$it.text$], link: [$it.link$] ), $endfor$ ), $endif$ $if(summary)$ summary: [$summary$], $endif$ $if(skills)$ skills: ( $for(skills)$ ( name: [$it.name$], items: ( $for...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/lcd/project-presentation/sections/implementation.typ
typst
#import "/common.typ": * #new-section-slide[Implementation] #slide(title: [Abstract syntax tree])[ #set align(center) #grid( columns: (1fr, 2fr), [Store syntax elements], ```ocaml type act = | Tau | Input of string * string | Output of string * expr type proc = | Nil ...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/default/components.typ
typst
The Unlicense
#import "/utils.typ" /// Prints the table of contents. /// /// *Example Usage* /// /// ```typ /// #create-frontmatter-entry(title: "Table Of Contents")[ /// #components.toc() /// ] /// ``` /// -> content #let toc = utils.make-toc((_, body, appendix) => { heading[Contents] stack( spacing: 0.5em, ..for ent...
https://github.com/swaits/typst-collection
https://raw.githubusercontent.com/swaits/typst-collection/main/finely-crafted-cv/0.1.0/src/helpers.typ
typst
MIT License
#import "constants.typ":* #let icon_and_contact(icon, content) = { grid( columns: 2, align: center+horizon, gutter: COMPANY_ICON_SPACING, box( height: HEADER_ICON_HEIGHT, width: auto, image(icon) ), content ) } #let hrule(stroke: 1pt + black) = { block( above: HRUL...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/docs/1.2%20median.typ
typst
// == #text(orange)[1.2 Bài toán 1-median] // == Bài toán 1-median #include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #import "../typst-orange.typ": theorem, proof, lemma, proposition, corollary, example #import ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/inline/text.typ
typst
// Test OpenType features. --- text-kerning --- // Test turning kerning off. #text(kerning: true)[Tq] \ #text(kerning: false)[Tq] --- text-alternates-and-stylistic-sets --- // Test alternates and stylistic sets. #set text(font: "IBM Plex Serif") a vs #text(alternates: true)[a] \ ß vs #text(stylistic-set: 5)[ß] \ 10 y...
https://github.com/TechnoElf/mqt-qcec-diff-presentation
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-presentation/main/content/background.typ
typst
#import "@preview/fletcher:0.5.1": diagram, node, edge #import "@preview/quill:0.3.0": quantum-circuit, lstick, rstick, ctrl, targ, mqgate, meter #import "../template/conf.typ": slide #slide(title: "")[ #box(width: 100%, height: 80%, align(center + horizon)[ #text(size: 60pt)[*Background*] ]) ] #slide(title:...
https://github.com/EunTilofy/NumComputationalMethods
https://raw.githubusercontent.com/EunTilofy/NumComputationalMethods/main/Chapter6/Chapter6-2.typ
typst
#import "../template.typ": * #show: project.with( course: "Computing Method", title: "Computing Method - Chapter6-2", date: "2024.5.2", authors: "<NAME>, 3210106357", has_cover: false ) *Problems:9, 10, 11, 13, 14* #HWProb(name: "9")[ 画出 $bb("R")^2$ 中满足下列不等式的集合: #set enum(numbering: "(1)") + $norm(x)_1 le...
https://github.com/SillyFreak/typst-crudo
https://raw.githubusercontent.com/SillyFreak/typst-crudo/main/src/lib.typ
typst
MIT License
#let _read = read /// _raw-to-lines_: extract lines and properties from a `raw` element. /// /// #example(ratio: 1.1, scale-preview: 100%, ```` /// crudo.r2l(```txt /// first line /// second line /// ```) /// ````) /// /// Note that even though you will usually want to use this on raw _blocks_, this is not a /// neces...
https://github.com/Mc-Zen/zero
https://raw.githubusercontent.com/Mc-Zen/zero/main/tests/tables/test.typ
typst
MIT License
#import "/src/zero.typ" #set page(width: auto, height: auto, margin: .5em) #set table(stroke: none) #zero.ztable( columns: 3, align: center, format: (none, auto, auto), $n$, $α$, $β$, table.hline(), [1], "2.3", [10000], [2], "2.33", [1.0], [3], "12.3", [1993], [4], ".001", [1.2], [10], "17", [0...
https://github.com/pku-typst/ichigo
https://raw.githubusercontent.com/pku-typst/ichigo/main/src/themes/sketch/lib.typ
typst
MIT License
#let logo_path = "./res/PKU.svg" #let logo_str = read(logo_path).replace("920f14", "cccccc") #let theme(meta) = { return ( title: ( whole-page: () => { return [ #set page(margin: 0pt, header: none, footer: none) // Logo #place( center + top, dx...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cheda-seu-thesis/0.2.0/seu-thesis/templates/degree.typ
typst
Apache License 2.0
#import "../pages/cover-degree-fn.typ": degree-cover-conf #import "../pages/title-page-degree-cn-fn.typ": title-cn-conf #import "../pages/title-page-degree-en-fn.typ": title-en-conf #import "../pages/statement-degree-fn.typ": degree-statement-conf #import "../parts/abstract-degree-fn.typ": abstract-conf #import "../par...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Insiemi/Relazioni.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Dati due insiemi $A$ e $B$, viene detta *corrispondenza* fra $A$ e $B$ un sottoinsieme $cal(R)$ del loro prodotto cartesiano; nel caso particolare in cui $A = B$, viene detta *relazione* su $A$. Dato un insieme $A$ ed una relazione $cal(R)$ su $A$, per indicare che una coppia $(a, b) i...
https://github.com/ddorn/cv
https://raw.githubusercontent.com/ddorn/cv/master/resume.typ
typst
#set page(margin: (x: 0.5cm, top: 0.0cm, bottom: 0.5cm)) #let accent = rgb("#f8f3ec") // For headers background #let accent-strong = rgb("#CDA56D") // for bold text #let accent-weak = rgb("d0bab0") // for links #let side = 3cm #let entry-sep = -0.0cm // to make things fit in one page #let use-stars = false #let us...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/数理逻辑/main.typ
typst
#import "../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark #import "../template.typ": * #show: note.with( title: "数理逻辑", author: "YHTQ", date: datetime.today().display(), logo: none, withChapterNewPage: true ) #let not1 = math.tilde #let True = $T$ #let False = $F$ #let inf...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DIP/chapters/2数字图像处理基础.typ
typst
#import "../template.typ": * #import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge #import fletcher.shapes: house, hexagon, ellipse #import "@preview/pinit:0.1.4": * #import "@preview/cetz:0.2.2" #import "/book.typ": book-page #show: book-page.with(title: "数字图像处理基础 | DIP") = 数字图像处理基础 Digital Image Fundam...
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/admonitions.typ
typst
MIT License
#import "common.typ": get-text-color #import "palette.typ": get-palette /* TODO: Avoid inheriting indentation w/ https://stackoverflow.com/a/78185552 */ #let admonition( header-color, body-color, header: none, symbol: none, gutter: 0pt, breakable: false, body ) = { let inset = 0.5em let cells = ( ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/barcharts.typ
typst
/* import cetz.chart // Left - Basic let data = (("A", 10), ("B", 20), ("C", 13)) group(name: "a", { chart.columnchart(size: (4, 3), data) }) // Center - Clustered let data = (("A", 10, 12, 22), ("B", 20, 1, 7), ("C", 13, 8, 9)) group(name: "b", anchor: "south-west", { anchor("default", "a.south-east") chart.columnchar...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/recourses-2/quiz-2-2023-web.typ
typst
#import "../template.typ": * #import "./exam-template.typ": * #show: project.with( course: "Calculus II", course_fullname: "Calculus (A) II", course_code: "821T0160", title: "Quiz #2 (Spring-Summer 2024, Wednesday)", authors: ( ( name: "memset0", email: "https://mem.ac/", id: [_<EMAIL>_...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/069.%20foundersatwork.html.typ
typst
foundersatwork.html Learning from Founders January 2007(Foreword to <NAME>'s Founders at Work.)Apparently sprinters reach their highest speed right out of the blocks, and spend the rest of the race slowing down. The winners slow down the least. It's that way with most startups too. The earliest phase is usually th...
https://github.com/enseignantePC/2023-24
https://raw.githubusercontent.com/enseignantePC/2023-24/master/programme.typ
typst
#set page(paper: "a4") #set align(center) #set par(justify: true, linebreaks: "optimized") #import "@preview/tablex:0.0.4": * #let titre(x) = x #titre[Physique chimie en seconde] = Programme officiel #tablex( columns: 2, align: center + horizon, colspanx( 2, fill: blue.lighten(80%), inset: 0pt, ...
https://github.com/a-kkiri/HEU-Report-Typst
https://raw.githubusercontent.com/a-kkiri/HEU-Report-Typst/main/main.typ
typst
Apache License 2.0
#import "template.typ": * #show: project.with( title: "课程设计", author: "<NAME>", infos: ( (key: [课程名称:], value: "XXXX"), (key: [班#h(2em)级:], value: "xxxxxxxx"), (key: [学#h(2em)号:], value: "xxxxxxxxxx"), (key: [姓#h(2em)名:], value: "X X X"), (key: [任课教师:], value: "X X X"), ), coverTabl...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap8/3_voltmeter_impact_on_measured_circuit.typ
typst
Other
#import "../../core/core.typ" === Voltmeter impact on measured circuit Every meter impacts the circuit it is measuring to some extent, just as any tire-pressure gauge changes the measured tire pressure slightly as some air is let out to operate the gauge. While some impact is inevitable, it can be minimized through g...
https://github.com/leiserfg/fervojo
https://raw.githubusercontent.com/leiserfg/fervojo/master/typst-package/lib.typ
typst
MIT License
#let rr-wasm = plugin("./typst_railroad.wasm") #let _as_bytes(input) = { let t = type(input) if t == "bytes" { return input } if t == "string"{ return bytes(input) } if input.has("text") { return _as_bytes(input.text) } assert(true, message: "The input is not st...
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/cli_net_work.typ
typst
= Network #label("network") - A computer network is a digital telecommunications network which allows nodes to share resources. In computer networks, computing devices exchange data with each other using connections (data links) between nodes. == Commands #label("commands") ```sh ping domainname hostname cat /etc/hos...
https://github.com/jamesrswift/chemicoms-paper
https://raw.githubusercontent.com/jamesrswift/chemicoms-paper/main/src/elements/footer.typ
typst
#import "@preview/chic-hdr:0.4.0": * #let footer-render(parity: false, args) = { let footer-internal-content = ( counter(page).display(), h(0.75em),[|],h(1em), text( size: 8pt, args.citation ), ) if not parity {footer-internal-content = footer-internal-content.rev()} align(if parity {left} else {ri...
https://github.com/Tiggax/famnit_typst_template
https://raw.githubusercontent.com/Tiggax/famnit_typst_template/main/examples/example.typ
typst
MIT No Attribution
#import "@preview/sunny-famnit:0.2.0": project #import "attachments.typ" as pr #let input = ( izvleček: [ To je krako delo spisano za pomoč pri uporabi Typsta za delo zaključnega dela. V izvlečku se uporabi največ 250 besed. Tu se izpiše probleme, metode, rezultate, ključne ugotovitve in njihov pomen. ], abs...
https://github.com/hargoniX/bachelor
https://raw.githubusercontent.com/hargoniX/bachelor/main/thesis/thesis.typ
typst
#import "template.typ": thesis, bfield, bit, bits, bytes, flagtext, theorem, definition, proof #import "@preview/codelst:1.0.0": sourcecode #show: thesis.with( title: "VeRix: A Verified Rust ix(4) driver", name: "<NAME>", email: "<EMAIL>", matriculation: "XXX", abstract: [ This thesis addres...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-19E0.typ
typst
Apache License 2.0
#let data = ( ("KHMER SYMBOL PATHAMASAT", "So", 0), ("KHMER SYMBOL MUOY KOET", "So", 0), ("KHMER SYMBOL PII KOET", "So", 0), ("KHMER SYMBOL BEI KOET", "So", 0), ("KHMER SYMBOL BUON KOET", "So", 0), ("KHMER SYMBOL PRAM KOET", "So", 0), ("KHMER SYMBOL PRAM-MUOY KOET", "So", 0), ("KHMER SYMBOL PRAM-PII KOE...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/机器视觉实践/报告/8/8.typ
typst
The Unlicense
#import "../template.typ": * #show: project.with( title: "8", authors: ("absolutex",), ) = 机器视觉实践 八 == 实验目的 SIFT 特征检测与匹配 + 可视化匹配结果 == 实验代码 使用 opencv 库的 SIFT class。具体操作:先从同一张图上切成左右两半(有一定重合区域),然后使用 SIFT 算法进行特征点检测与可视化,最后合并为一张图片。 #include_code("../src/merge/__init__.py") == 实验结果与心得 #figure( image("src.jpg", ...
https://github.com/jujimeizuo/ZJSU-typst-template
https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/template/acknowledgement.typ
typst
Apache License 2.0
#import "font.typ" : * #pagebreak() #show heading : it => { set align(center) set text(font:heiti, size: font_size.sanhao) v(12pt) it v(12pt) par(leading: 1.5em)[#text(size:0.0em)[#h(0.0em)]] } #heading(level: 1)[致 谢] #v(1em) // 设置段落格式 #set text(font: songti, size: font_size.xiaosi) #set par(justify: fa...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/lib.typ
typst
Other
#import "./colors.typ": color #import "./ucpc.typ": ucpc #import "./i18n.typ" #import "./presets/presets.typ" #import "./utils/utils.typ"
https://github.com/pavelzw/moderner-cv
https://raw.githubusercontent.com/pavelzw/moderner-cv/main/template/example.typ
typst
MIT License
#import "@preview/moderner-cv:0.1.0": * #show: moderner-cv.with( name: "<NAME>", lang: "en", social: ( email: "<EMAIL>", github: "jane-doe", linkedin: "jane-doe", ), ) = Education #cv-entry( date: [2021 -- 2024], title: [M.Sc. Ophiology], employer: [Cobra Creek College], )[3.9/4.0] #cv-entr...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/src/types/tuple.typ
typst
Other
#import "../base-type.typ": base-type #import "../assertions-util.typ": assert-base-type-array #import "../ctx.typ": z-ctx #import "../assertions-util.typ": * /// Valkyrie schema generator for an array type with positional type reqruiements. If all entries /// have the same type, see @@array. /// exact (bool): Require...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/comment.typ
typst
Apache License 2.0
// Test // Test: http://www.google.com /* Test */ /* /* Test */ */ /* // */ // /* */
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/ref-00.typ
typst
Other
#set heading(numbering: "1.") = Introduction <intro> See @setup. == Setup <setup> As seen in @intro, we proceed.
https://github.com/ojas-chaturvedi/NLP-Gun-Legislation
https://raw.githubusercontent.com/ojas-chaturvedi/NLP-Gun-Legislation/master/paper/main.typ
typst
MIT License
#import "@preview/charged-ieee:0.1.0": ieee #show: ieee.with( title: [ Legislative Narratives on Gun Control in the United States: A Sentiment Analysis Approach ], abstract: [ This paper explores the emotions and sentiments of congressional gun legislation in the United States through sentiment analysis,...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-4_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that fr columns use the correct base. #grid( columns: (1fr,) * 4, rows: (1cm,), rect(width: 50%, fill: conifer), rect(width: 50%, fill: forest), rect(width: 50%, fill: conifer), rect(width: 50%, fill: forest), )