repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/029%20-%20Aether%20Revolt/005_Burn.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Burn", set_name: "<NAME>", story_date: datetime(day: 04, month: 01, year: 2017), author: "<NAME>", doc ) #strong[This story contains references to suicidal thoughts.] #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) #...
https://github.com/dipamsen/notebook
https://raw.githubusercontent.com/dipamsen/notebook/main/src/collisions.typ
typst
// // #set text(font: "Arial")//white) #set enum(tight: false) #set text(1.2em, hyphenate: false, region: "uk") #set par(justify: true) #set page( footer: context [ #set text(1.2em) #h(1fr)#counter(page).get().first()#h(1fr) ] ) #import "@preview/cetz:0.2.0" #let title(body) = { align(center, text(body...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test mixing lines with and some without alignment points. $ "abc" &= c \ &= d + 1 \ = x $
https://github.com/Clamentos/FabRISC
https://raw.githubusercontent.com/Clamentos/FabRISC/main/src/spec/Section8.typ
typst
Creative Commons Attribution Share Alike 4.0 International
/// #import "Macros.typ": * /// #section( [License], [ Attribution-ShareAlike 4.0 International #line(length: 100%, stroke: 0.5pt) //======================================================================= Creative Commons Corporation ("Creative Commons") is not a law firm an...
https://github.com/taylorh140/pikchr-wasm-typst
https://raw.githubusercontent.com/taylorh140/pikchr-wasm-typst/main/Readme.md
markdown
The Unlicense
= Purpose Draw Pikchr diagrams in typst. = Usage make sure pikchr.wasm is somewhere accessable, and you can use the following: ```typst #let pikchr-module = plugin("pikchr.wasm") #let Pikchr(body)={ image.decode( str(pikchr-module.PikchrRender(bytes(body))) ) } #Pikchr(` box "Hello World!" `...
https://github.com/mitsuyukiLab/grad_thesis_typst
https://raw.githubusercontent.com/mitsuyukiLab/grad_thesis_typst/main/contents/case_study.typ
typst
= ケーススタディ <case_study> == ケース1 <case_1> === 問題設定 <problem_setting_in_case_1> 問題問題 === 結果 <result_in_case_1> 結果結果 == ケース2 <case_2> === 問題設定 <problem_setting_in_case_2> 問題問題 === 結果 <result_in_case_2> 結果結果
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/bytefield/0.0.3/example.typ
typst
Apache License 2.0
#import "@local/bytefield:0.0.2": * = Bytefield == Colored Example #bytefield( bytes(3, fill: red.lighten(30%))[Test], bytes(2)[Break], bits(24, fill: green.lighten(30%))[Fill], bytes(12)[Addr], padding(fill: purple.lighten(40%))[Padding], ) == Show all bits in the bitheader Show all bit headers with `bit...
https://github.com/maantjemol/Aantekeningen-Jaar-2
https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/IBIA/samenvatting.typ
typst
// Update this import to where you put the `lapreprint.typ` file // It should probably be in the same folder #import "../template/lapreprint.typ": template #import "../template/frontmatter.typ": loadFrontmatter #import "@preview/drafting:0.2.0": * #let defaultColor = rgb("#f2542d") #show: template.with( title: "IBI...
https://github.com/giacomocavalieri/curriculum-vitae
https://raw.githubusercontent.com/giacomocavalieri/curriculum-vitae/main/resume.typ
typst
// --- CONSTANTS --------------------------------------------------------------- #let font-color = color.rgb("192427") #let main-color = color.rgb("cceac3") #let accent-color = color.rgb("e8f3e5") // --- DEFAULT STYLING --------------------------------------------------------- #set text(font: "Mona Sans", fill: font...
https://github.com/HenkKalkwater/aoc-2023
https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/index.typ
typst
#import "aoc.typ" #show: aoc.template.with( title: "Advent of Code 2023" ) The first puzzles will unlock on December 1st at midnight EST (UTC-5). https://adventofcode.com/ #outline(depth: 3) #aoc.day(1, solved-parts: 2) #aoc.day(2, solved-parts: 2) #aoc.day(3, solved-parts: 2)
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/hover/builtin_var.typ
typst
Apache License 2.0
#(/* ident after */ red);
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/themes/33.typ
typst
#import "../conf.typ": * = Неравенство Чебышева и закон больших чисел == Неравенство Чебышева #lemma("Неравенство Маркова")[ Пусть $xi >= 0$ -- случайная величина, $a in RR^(++)$. Тогда #eq[ $P(xi >= a) <= (EE xi) / a$ ] ] #proof[ Распишем цепочку очевидных неравенств: #eq[ $\ EE xi = EE (xi II(...
https://github.com/sora0116/unix_seminar
https://raw.githubusercontent.com/sora0116/unix_seminar/master/handout/gdb/main.typ
typst
#import "@preview/big-todo:0.2.0": * #set text(font: "<NAME>") #set heading(numbering: "1.1") #set page(numbering: "1") #show raw: it => { if (it.lang == "shell") { block(fill: rgb("#1d2433"), width: 100%, inset: 10pt, radius: 10pt)[ #text(fill: rgb("#f6f6f6"))[#it] ] } else { it } } #let gdb...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/personal_reports.typ
typst
#import "../../style.typ": include_section = Personal Reports #include_section("project_documentation/content/personal_report_lukas.typ", heading_increase: 1) #include_section("project_documentation/content/personal_report_jann.typ", heading_increase: 1)
https://github.com/PuntitOwO/template-informe-practica-fcfm
https://raw.githubusercontent.com/PuntitOwO/template-informe-practica-fcfm/main/conf.typ
typst
MIT License
#let logos = ( escudo: "imagenes/institucion/escudoU2014.svg", fcfm: "imagenes/institucion/fcfm.svg", dcc: "imagenes/institucion/dcc.svg", ) #let pronombre = ( el: (titulo: "O", guia: ""), ella: (titulo: "A", guia: "a"), elle: (titulo: "E", guia: "e"), ) #let guia(visible: true, body) = if visible [ #...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/belt_disc_sander.typ
typst
#import "../environment/env-protohaven-class_handouts.typ": * = Belt/Disc Sander The belt/disc sander is useful for refining outside edges of a workpiece. The abrasive surfaces can bring an edge down to a desired profile, as well as round over corners. == Notes === Safety - Keep fingers a minimum of three inches ...
https://github.com/jneug/typst-mantys
https://raw.githubusercontent.com/jneug/typst-mantys/main/docs/mantys-manual.typ
typst
MIT License
#import "../src/mantys.typ": * // Some fancy logos // credits go to discord user @adriandelgado #let TeX = style(styles => { set text(font: "New Computer Modern") let e = measure("E", styles) let T = "T" let E = text(1em, baseline: e.height * 0.31, "E") let X = "X" box(T + h(-0.15em) + E + h(-0.125em) + X)...
https://github.com/cu1ch3n/caidan
https://raw.githubusercontent.com/cu1ch3n/caidan/main/README.md
markdown
MIT License
# Caidan Caidan (菜单 in Chinese, /cài dān/, meaning food menu) is a clean and minimal food menu template. See the [example.pdf] file to see how it looks. Additionally, [cu1ch3n/menu] serves as a practical example project utilizing this template. ## Usage Ensure that [WebOMints GD], [LXGW WenKai], and [Ysabeau Infant...
https://github.com/SillyFreak/typst-stack-pointer
https://raw.githubusercontent.com/SillyFreak/typst-stack-pointer/main/gallery/sum.typ
typst
MIT License
// make the PDF reproducible to ease version control #set document(date: none) // #import "../src/lib.typ" as stack-pointer #import "@preview/stack-pointer:0.1.0" #import "@preview/polylux:0.3.1": * #import themes.simple: * #show: simple-theme #{ import stack-pointer: * let code = ```java void main(String[...
https://github.com/FkHiroki/ex-D2
https://raw.githubusercontent.com/FkHiroki/ex-D2/main/sections/section2.typ
typst
MIT No Attribution
= 問2 重力と回転運動 == (1) 海抜$0$ mで体重$m$の人が感じる重力は、地球の質量$M$、地球の半径$R$、万有引力定数$G$を用いると、 $ m g_0 = G M m / R^2 $ で表される。次に、上空$100$ kmで感じる重力は、 $ m g_(100) = G M m / (R + 100)^2 $ で表される。このとき、$g_0$と$g_(100)$の相対誤差は、 $ (g_(100) - g_0) / g_0 &= (1/(R + 100)^2 - 1/R^2) / (1/R^2) \ &= (R^2 - (R + 100)^2) / (R + 1...
https://github.com/ay-learn/typst-plan
https://raw.githubusercontent.com/ay-learn/typst-plan/master/README.md
markdown
MIT License
# Typst Plan Suggestions A simple Plan (list) for [typst.app](https://typst.app). ## Showcases ### PDF [plan.pdf](plan.pdf) ### Plan ![Preview](plan.jpg)
https://github.com/cadojo/vita
https://raw.githubusercontent.com/cadojo/vita/main/README.md
markdown
MIT License
# 📝 `vita` _Professional résumé templates with Typst!_ ## Usage <details> <summary>Template</summary> ```typst #import "@preview/vita:0.1.0": * // // Assuming an icons directory exists, filled with SVG files, // you can use the `decorated` function like so! // // email: decorated("icons/mail.svg", link("mailto:<...
https://github.com/lucafluri/typst-templates
https://raw.githubusercontent.com/lucafluri/typst-templates/master/Project_Report_FHNW_MSE/main.typ
typst
#import "template.typ": * #import "soa.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: "Title", authors: ( (name: "XXX", email: "<EMAIL>", affiliation: "MSE Student, FHNW", role: "Author"), (name: "YYY...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/print-zero-integer/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": num, metro-setup #set page(width: auto, height: auto) #num(0.123) #num(0.123, print-zero-integer: false)
https://github.com/jcbhmr/typst-docs
https://raw.githubusercontent.com/jcbhmr/typst-docs/main/index.md
markdown
MIT License
--- # https://vitepress.dev/reference/default-theme-home-page layout: home pageClass: my-index-page features: - title: English link: https://typst.app/docs target: _self - title: español link: /es/ - title: 简体中文 link: /zh/ --- <style> .my-index-page .VPContent { display: flex; align-it...
https://github.com/figarofuga/Typst-template
https://raw.githubusercontent.com/figarofuga/Typst-template/main/amyloidosis/amyloidosis.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #import fletcher.shapes: diamond // Make the paper dimensions fit for a presentation and the text larger #set page(paper: "presentation-16-9") #set text(font: "Noto...
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/init-files/sections/03_reference.typ
typst
MIT License
#import "../../paddling-tongji-thesis/tongjithesis.typ": * = 引用 <reference> 在本节(@reference)中,我们将探讨如何在 Typst 中进行参考文献引用和交叉引用,以便于读者查阅文献和方便地引用文档中的其他部分。 == 参考文献的引用 在学术论文或科技报告中,通常需要引用相关文献以支持观点或论证。为了方便读者查阅,我们需要在论文中标注参考文献。在 Typst 中,可使用 ```typ @``` 命令引用参考文献。参考文献的外观应符合国标 GB/T 7714-2015 的要求。请注意,Typst对国标的支持仍处于实验阶段,存在不兼容的情况(如专利...
https://github.com/piepert/logik-tutorium-wise2024-2025
https://raw.githubusercontent.com/piepert/logik-tutorium-wise2024-2025/main/src/pool/prädikatenlogik/s-problem-quantorenformalisierung.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/grape-suite:1.0.0": slides, seminar-paper #import seminar-paper: blockquote #import slides: slide #show: slides.slides.with() #slide[ = Sokrates wird angeklagt #set text(size: 0.9em) #blockquote[ #set par(hanging-indent: 1.5em) S: [S]age uns doch, Meletos, auf welche Wei...
https://github.com/cetz-package/cetz-venn
https://raw.githubusercontent.com/cetz-package/cetz-venn/master/manual.typ
typst
Apache License 2.0
#import "@preview/tidy:0.2.0" #import "/doc/example.typ": example #import "/doc/style.typ" as doc-style #import "/src/lib.typ" as cetz-venn // Usage: // ```example // /* canvas drawing code */ // ``` #show raw.where(lang: "example"): example #show raw.where(lang: "example-vertical"): example.with(vertical: true)...
https://github.com/dhmemi/resume
https://raw.githubusercontent.com/dhmemi/resume/main/resume.typ
typst
MIT License
#import "chicv.typ": * #show: chicv = 邓辉 #fa[#envelope] <EMAIL> | #fa[#phone] \(+86\) 176-1148-0488 | #fa[#github] #link("https://github.com/dhmemi")[github.com/dhmemi] == 教育经历 #cventry( tl: [*西北工业大学*,西安,陕西], tr: "2014/09 - 2018/07", bl: "计算机科学与技术专业,本科", )[] == 工作经历 #cventry( tl: [*北京阿丘机器人科技有限公司*, 北京, ...
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/Set-0/build.typ
typst
#{ import "/config.typ": * import "/mathenv.typ": * show: mathenv-init project( "夸父:集合论基础", "0.1", "Set-0", ( "intro.typ", "set.typ", ) ) }
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Analyse_1_1.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/TechnoElf/mqt-qcec-diff-thesis
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/glossary.typ
typst
#import "@preview/glossarium:0.4.1": print-glossary #counter(heading).update(0) #heading(numbering: none)[Glossary] #print-glossary(( (key: "bdd", short: "BDD", plural: "BDDs", long: "binary decision diagram", longplural: "binary decision diagrams"), (key: "dag", short: "DAG", long: "directed acyclic graph"), (...
https://github.com/J3m3/poolc-fp
https://raw.githubusercontent.com/J3m3/poolc-fp/main/lib/index.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import "style.typ": * #let footer_descent_ratio = .9 #let footer_descent_amount = 1em * footer_descent_ratio #let conf(doc) = { show heading.where(level: 1): set text(weight: "semibold") show heading.where(level: 2): set text(weight: "medium") show emph: it => text(fill: col...
https://github.com/donabe8898/typst-slide
https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/RustProgramming/01.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import themes.metropolis: * #import emoji: crab #import emoji: magnify #show: metropolis-theme.with( aspect-ratio: "16-9", footer: "The Rust programming." // short-title: "The Rust programming.", // short-author: "donabe8898", // short-date: none, // color-a: rgb("#2...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Math/styles.typ
typst
#set text( size:10pt, ) #set page( paper:"a5", margin:(x:1.8cm,y:1.5cm), ) #set par( justify: true, leading: 0.52em, ) = 风格 公式中的替代字母形式。 这些函数与文本函数不同,因为数学字体包含每个字母的多个变体。 = 功能 = 直立 数学中的直立(非斜体)字体样式。 #image("46.png") = 内容 要设置样式的内容。 = 斜体 数学中的斜体字体样式。 对于罗马字母和希腊小写字母,这已经是默认值。 #image("47.png") = 内容 要设置样式的内容。 = 粗体 数学...
https://github.com/CreakZ/mirea-algorithms
https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/work_3/work_3.typ
typst
#import "../title_page_template.typ": title_page #import "../layouts.typ": indent #set text(size: 14pt, font: "New Computer Modern") #set heading(numbering: "1.1.1.") #set page( paper: "a4", margin: (left: 2cm, right: 2cm, top: 2cm, bottom: 2cm) ) #title_page(3, [Абстрактный тип данных и его реализация н...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.2.0/examples/example.typ
typst
Apache License 2.0
#import "../lib.typ": s, pause, meanwhile, touying-equation, utils, states, pdfpc, themes // You can comment out the theme registration below and it can still work normally #let s = themes.metropolis.register(s, aspect-ratio: "16-9", footer: self => self.info.institution) #let s = (s.methods.info)( self: s, ...
https://github.com/Complex2-Liu/macmo
https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-08.typ
typst
#import "../lib/math.typ": problem, proof, note, ans #problem[ 设 $S$ 为全体形如 $a^3 + b^3 + c^3 - 3a b c$ 的整数所组成的集合, 其中 $a, b, c$ 为任意的整数. 求证: 若 $x, y in S$, 则 $x y in S$. ] #proof[ 因为 $a^3 + b^3 + c^3 - 3a b c$ 是矩阵 $mat(a, b, c; c, a, b; b, c, a)$ 的行列式. 容易验证形如这样的矩阵关于乘法封闭, 最后再利用 $det(A B) = det(A) det(B)$. ] #not...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/04-discrete-random-processes/01-conditional-expected-values.typ
typst
#import "../../utils/core.typ": * == Условные математические ожидания #def[ Пусть $(Omega, Ff, P)$ --- вероятностное пространство, $A in Ff$ --- случайное событие, $xi$ --- случайная величина. _Условным математическим ожиданием случайной величины $xi$ при условии $A$_ называется $ E(xi | A) := E(xi bb(1)_A)/P...
https://github.com/XcantloadX/TypstMomoTalk
https://raw.githubusercontent.com/XcantloadX/TypstMomoTalk/main/docs/tutorial-for-dev.md
markdown
# 教程(开发者) ## 环境搭建 ### Web App 参见[教程(小白)](tutorial-for-dummies.md)。 ### 本地 [安装 Typst](https://github.com/typst/typst?tab=readme-ov-file#installation) 并加入 `PATH` 环境变量。 然后你需要一个编辑器,**建议使用 VSCode,并安装“Typst LSP”和“”扩展。** ## Typst 光速入门 一个 Typst 文件由两种部分组成:“内容部分”和“脚本部分”。 ```typst { } ```
https://github.com/heychhavi/resume-template
https://raw.githubusercontent.com/heychhavi/resume-template/main/sample-resume.typ
typst
#import "template.typ": * #show: resume.with( author: ( name: "<NAME>", email: "<EMAIL>", phone: "(123) 456-7890", linkedin: "granthamtaylor", )) #section("Education") #organization("Fancy University, Some School of Business") #role("Master of Science in Quantitative Management", "2010 - 2014")...
https://github.com/CCNU-CSIT883-Group2/Documents
https://raw.githubusercontent.com/CCNU-CSIT883-Group2/Documents/master/Proposal/main.typ
typst
#import "../Templates/template.typ": * #show: group_work.with("Proposal") // Group Members #let Lzt = "<NAME>" #let Cyx = "<NAME>" #let Cxy = "<NAME>" #let Wtl = "<NAME>" #let Cx = "<NAME>" #let Zzh = "<NAME>" #let Ybj = "<NAME>" #let Hs = "<NAME>" // Content = Introduction Our team is developing an intelligent que...
https://github.com/storopoli/invoice
https://raw.githubusercontent.com/storopoli/invoice/main/README.md
markdown
MIT License
# Automated Invoice System This is a simple script to generate invoices and send them via email. All you need to do is change the `invoice.toml` file to suit your needs. ## Technical Notes Dependencies: - `typst` or `docker` - `sendmail` - `sendmail-cf` Follow the steps [here](https://web.archive.org/web/202402060...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Exercices.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Maths Exercices", authors: ( "<NAME>", ), date: "10 Août, 2024", ) #set heading(numbering: "1.1.") #link("Maths.pdf") #link("Maths_Ex...
https://github.com/FrightenedFoxCN/typst-langpack
https://raw.githubusercontent.com/FrightenedFoxCN/typst-langpack/main/test-bilin.typ
typst
#import "bilingural.typ": * #show: doc => bilingural(doc) This is a test for a bilingural document. First we write English in {the first} paragraph, {and then} we write Chinese in {the second} paragraph. In this way we can have referenced reading material. 这 是 一个 测试 为了 一个 双语 文档。 首先 我们 写 英文 在 第一 段, 然后 我们 写 中文 在 第二 段。 ...
https://github.com/Joelius300/hslu-typst-template
https://raw.githubusercontent.com/Joelius300/hslu-typst-template/main/chapters/99_appendix.typ
typst
MIT License
= Appendix eins #lorem(50) == reeeeeee #lorem(20) = Appendix due #lorem(1)
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/004_Expectations.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Expectations", set_name: "Dragon's Maze", story_date: datetime(day: 24, month: 04, year: 2013), author: "<NAME>", doc ) Oana clutched an armful of scrolls as she sprinted down the echoing halls of New Prahv. She was late. That was almost a ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/align.typ
typst
Apache License 2.0
// Test alignment. --- #set page(height: 100pt) #stack(dir: ltr, align(left, square(size: 15pt, fill: eastern)), align(center, square(size: 20pt, fill: eastern)), align(right, square(size: 15pt, fill: eastern)), ) #align(center + horizon, rect(fill: eastern, height: 10pt)) #align(bottom, stack( align(center, r...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/designer.typ
typst
#import "base-utils.typ": * #import "styles.typ" #let line(stroke: "hard", margin: none, length: 100%) = { let line-attrs = ( stroke: resolve-dict(styles.strokes, stroke), length: length, ) if margin != none { v(margin) } typst-line(..line-attrs) if margin != none { ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/028%20-%20Kaladesh/007_Release.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Release", set_name: "Kaladesh", story_date: datetime(day: 05, month: 10, year: 2016), author: "<NAME>", doc ) #emph[Twelve years after she watched her parents die, <NAME> returned home to Kaladesh. She found her mother had survived...but <N...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/op_contains_str.typ
typst
Apache License 2.0
#let f(x) = { assert(x in "abc") };
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/call_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page $ pi(a) $ $ pi(a,) $ $ pi(a,b) $ $ pi(a,b,) $
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/190.%20wtax.html.typ
typst
wtax.html Modeling a Wealth Tax August 2020Some politicians are proposing to introduce wealth taxes in addition to income and capital gains taxes. Let's try modeling the effects of various levels of wealth tax to see what they would mean in practice for a startup founder.Suppose you start a successful startup in your ...
https://github.com/Qi-Zhan/abstract_algebra
https://raw.githubusercontent.com/Qi-Zhan/abstract_algebra/main/theorems.typ
typst
// Store theorem environment numbering #let thm-counters = state("thm-counters", ( "counters": ("heading": ()), "latest": () ) ) /// State containing theorem environment data, as an array of `thm` dictionaries. /// See @@thm-display() for details on the structure of each `thm`. #let thm-stored = state("thm...
https://github.com/lublak/typst-echarm-package
https://raw.githubusercontent.com/lublak/typst-echarm-package/main/examples/candlestick.typ
typst
MIT License
#set page(width: 200mm, height: 150mm, margin: 0mm) #import "../typst-package/lib.typ" as echarm #echarm.render(width: 100%, height: 100%, options: ( xAxis: ( data: ("2017-10-24", "2017-10-25", "2017-10-26", "2017-10-27") ), yAxis: (:), series: ( ( type: "candlestick", data: ( (20, 3...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-12-03/23-12-03.typ
typst
#import "/template.typ":* #show: project.with( date: "03/12/23", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), reviewers: ( "<NAME>", ), missingMembers: ( "<NAME>", "<NAME>", ), timeStart: "15:00", timeEnd: "17:00", ); = Ordine del...
https://github.com/TechnoElf/mqt-qcec-diff-thesis
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/content/conclusion.typ
typst
= Conclusion In this thesis, a novel approach to @dd\-based quantum circuit equivalence checking was developed. This approach uses the fact that a system matrix multiplied by its inverse produces the identity. Gates from either circuit are sequentially applied to the @dd, which is reduced to the identity if the circuit...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/state_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Try same key with different initial value. #state("key", 2).display() #state("key").update(x => x + 1) #state("key", 2).display() #state("key", 3).display() #state("key").update(x => x + 1) #state("key", 2).display()
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Modules/Kantianism.typ
typst
#import "../../../template.typ": * = Kantianism / Deontology Unlike utilitarianism, Kantianism is not concerned with outcomes. Instead, the motive for why you did certain actions is more important. == Duties #definition[ *Perfect duties* are duties we are obligated to fulfill in every instance. *Imperfect dutie...
https://github.com/leesum1/brilliant-cv
https://raw.githubusercontent.com/leesum1/brilliant-cv/master/modules_en/professional.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar #import "@preview/fontawesome:0.4.0": * #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Professional Experience") #cvEntry( title: [One ...
https://github.com/MDLC01/board-n-pieces
https://raw.githubusercontent.com/MDLC01/board-n-pieces/main/src/lib.typ
typst
MIT License
/// Chess pieces symbols. #import "chess-sym.typ" /// The starting position of a standard chess game. #let starting-position = ( type: "board-n-pieces:position", fen: "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1", board: ( ("R", "N", "B", "Q", "K", "B", "N", "R"), ("P", ) * 8, (none, ) ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Algebre_Lineaire_Chapitre_2024.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Crittografia/RSA.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * *RSA* é un esempio di sistema crittografico asimmetrico. Siano Alice e Bob due entitá che hanno intenzione di comunicare scambiandosi messaggi senza che terze parti possano conoscerne il contenuto (ovvero, anche ammesso che possano intercettare il messaggio, non possano decifrarlo). Si ...
https://github.com/zurgl/typst-resume
https://raw.githubusercontent.com/zurgl/typst-resume/main/templates/resume/skills.typ
typst
#import "../../metadata.typ": * #import "../commun.typ": * #import "@preview/fontawesome:0.1.0": * /* resumse skills */ #let skillTypeStyle(str) = { align(right, text(size: 10pt, weight: "bold", str)) } #let skillInfoStyle(str) = { text(str) } #let cvSkill(type: "Type", info: "Info") = { table( columns: (16...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/src/gates.typ
typst
MIT License
#import "layout.typ" #import "process-args.typ" #import "draw-functions.typ" /// This is the basic command for creating gates. Use this to create a simple gate, e.g., `gate($X$)`. /// For special gates, many other dedicated gate commands exist. /// /// Note, that most of the parameters listed here are mostly used ...
https://github.com/memset0/ZJU-Project-Report-Template
https://raw.githubusercontent.com/memset0/ZJU-Project-Report-Template/master/template.typ
typst
MIT License
#import "@preview/tablex:0.0.8": tablex, colspanx, rowspanx, hlinex, vlinex, cellx #import "@preview/showybox:2.0.1": showybox #let state_course = state("course", none) #let state_author = state("author", none) #let state_school_id = state("school_id", none) #let state_date = state("date", none) #let state_theme = sta...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw-line_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 200pt) #show raw: it => stack(dir: ttb, ..it.lines) #show raw.line: it => { box( width: 100%, height: 1.75em, inset: 0.25em, fill: if calc.rem(it.number, 2) == 0 { luma(90%) } else { white }, ...
https://github.com/krestenlaust/AAU-Typst-Template
https://raw.githubusercontent.com/krestenlaust/AAU-Typst-Template/main/report-template/main.typ
typst
MIT License
#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( meta: ( title: "A demonstration of the features of Typst", theme: "Marvelous Theme", project_period: "Fall Semester 2023", project_group:...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/table_saw.typ
typst
#import "../environment/env-protohaven-class_handouts.typ": * = Table Saw Table saws are... (Overview paragraph(s)) Protohaven has two table saws in the wood shop. == Notes === Safety === Common Hazards === Care === Use === Consumables There are several shop blades available for member use with the table sa...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem-template/main.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/cetz:0.2.2" #import "../theme/theme.typ": * #show: theme #title-slide[ #align(horizon + center)[ = Заголовок АКОС, МФТИ XX сентября, 20XX ] ] #show: enable-handout #slide[ // ... ] #title-slide[ #place(horizon + center)[ = Спасибо за ...
https://github.com/TJ-CSCCG/tongji-slides-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-slides-typst/main/theme/logic.typ
typst
MIT License
#let subslide = counter("subslide") #let pause-counter = counter("pause-counter") #let logical-slide = counter("logical-slide") #let repetitions = counter("repetitions") #let handout-mode = state("handout-mode", false) #let enable-handout-mode(flag) = handout-mode.update(flag) #let _slides-cover(mode, body) = { if ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-prec-02.typ
typst
Other
// Precedence doesn't matter for chained unary operators. // Error: 3-12 cannot apply '-' to boolean #(-not true)
https://github.com/qujihan/typst-beamer
https://raw.githubusercontent.com/qujihan/typst-beamer/main/readme.md
markdown
MIT License
# Beamer in [Typst](https://typst.app/) [中文](https://github.com/qujihan/typst-beamer/blob/main/readme_zh.md) | [English](github.com/qujihan/typst-beamer) [Bilibili](https://www.bilibili.com/video/BV1Nk4y157fu/) ## What does it look like? ![pic_1](./example/example_pic_1.png) ![pic_2](./example/example_pic_2.png) or ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/cite-form_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 200pt) Nothing: #cite(<arrgh>, form: none) #cite(<netwok>, form: "prose") say stuff. #bibliography("/assets/files/works.bib", style: "apa")
https://github.com/mcanouil/generate-quarto-invoices
https://raw.githubusercontent.com/mcanouil/generate-quarto-invoices/main/_extensions/mcanouil/invoice/template.typ
typst
MIT License
$typst-template.typ()$ $typst-show.typ()$ $body$
https://github.com/jorenchik/db2-cheatsheet
https://raw.githubusercontent.com/jorenchik/db2-cheatsheet/main/main.typ
typst
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx #set page(margin: 0.6cm, columns: 3) #set par(justify: true) #set text(6pt) #show heading: it => { if it.level == 1 { text(1em, upper(it)) } else { text(1em, smallcaps(it)) } } #set enum(numbering: "1aiA.") = Indices == Bitmap Each bit in a bi...
https://github.com/Cyclone-Robosub/ocean-report-crs
https://raw.githubusercontent.com/Cyclone-Robosub/ocean-report-crs/main/0.1.0/src/format.typ
typst
#let report( title: "", subtitle: "", date: none, org: "Cyclone RoboSub @ UC Davis", logo: "Cyclone Propeller Logo CWRK.svg", body ) = { if date == none {date = datetime.today().display("[month]/[day]/[year]")} set document( author: org, title: title, keywords: if org == "Cyclone R...
https://github.com/DaAlbrecht/lecture-notes
https://raw.githubusercontent.com/DaAlbrecht/lecture-notes/main/computer_networks/routing.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 #show raw: set text(font: "Berkeley Mono", size: 9pt, spacing: 100%) = Routing Routing is the process of sele...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/077.%20stuff.html.typ
typst
stuff.html Stuff July 2007I have too much stuff. Most people in America do. In fact, the poorer people are, the more stuff they seem to have. Hardly anyone is so poor that they can't afford a front yard full of old cars.It wasn't always this way. Stuff used to be rare and valuable. You can still see evidence of th...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/packages/commute.typ
typst
Other
#import "@preview/commute:0.1.0": node, arr, commutative-diagram
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/vita/src/presentations.typ
typst
MIT License
#let presentationlist = state("presentationlist", ()) #let presentation( organization, source, date: none, notes ) = { let content = [ #grid( columns: (1fr, 1fr), heading(level: 3, organization), align(right)[ #set text(rgb(90,90,90)) #date ] ) #if source ...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z033.typ
typst
Pána chcem velebiť v každom čase, \* moje ústa budú ho vždy chváliť. V Pánovi sa bude chváliť moja duša; \* nechže to počujú pokorní a nech sa tešia. Velebte so mnou Pána \* a oslavujme jeho meno spoločne. Hľadal som Pána a on ma vyslyšal, \* a vytrhol ma zo všetkej hrôzy. Na neho hľaďte a budete ži...
https://github.com/mismorgano/UG-PartialDifferentialEquations-23
https://raw.githubusercontent.com/mismorgano/UG-PartialDifferentialEquations-23/main/tareas/tarea-04/tarea-04.typ
typst
#set text(font: "New Computer Modern", size: 12pt) #let e = counter("exercise") #let exercise(label, body, number: none) = { if number != none { e.update(number) } else { e.step() } box(width: 100%,stroke: 1pt, inset: 5pt, [#text(size: 1.6em)[*Problema #e.display() #label*] \ #body],) } #let infy = ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/054%20-%20Lost%20Caverns%20of%20Ixalan/004_Episode%204.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 4", set_name: "Lost Caverns of Ixalan", story_date: datetime(day: 20, month: 10, year: 2023), author: "<NAME>", doc ) == Quint The Sun Empire explorers waited for Great Shaper Pashona in a room large enough to accommodate them and ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/numty/0.0.2/test.typ
typst
Apache License 2.0
#import "main.typ" as nt #let u = (1,2,3) #let v = (3,2,1) #let a = 1 #let b = 2 // logic // eq // arr arr #assert(nt.eq(u,v) == (false, true, false)) #assert(nt.eq(u,u) == (true, true, true)) // arr float #assert(nt.eq(u,a) == (true, false, false)) #assert(nt.eq(a,u) == (true, false, f...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/themes/digi.typ
typst
MIT License
/********************************\ * Variables and some functions * * for setting a common theme * \********************************/ #let typst-text = text // General colors #let primary = rgb("#0096ff") #let secondary = rgb("#ff2f93") #let muted = luma(174) // General backgrounds #let bg = ( primary: primary...
https://github.com/kiwiyou/algorithm-lecture
https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/basic/07-graph.typ
typst
#import "@preview/cetz:0.1.2" #import "@preview/algorithmic:0.1.0" #import "../slide.typ" #show: slide.style #show link: slide.link #show footnote.entry: slide.footnote #let algorithm(..args) = text(font: ("linux libertine", "Pretendard"), size: 17pt)[#algorithmic.algorithm(..args)] #let func(body) = text(font: ("linu...
https://github.com/frederiksemmel/linicrypt_typst
https://raw.githubusercontent.com/frederiksemmel/linicrypt_typst/main/lib/linicrypt.typ
typst
// style #set math.mat(delim: "[", ) #set math.equation(numbering: "(1)") // operations #let exec(x) = $sans("exec")(#x)$ #let sol = $sans("sol")$ #let solH = $sans("sol")_H$ #let solE = $sans("sol")_E$ #let ker(x) = $sans("ker")(#x)$ #let im(x) = $sans("im")(#x)$ #let rows(x) = $sans("rows")(#x)$ #let rowsp = $sans("...
https://github.com/adamijak/typst-template
https://raw.githubusercontent.com/adamijak/typst-template/main/README.md
markdown
MIT License
# typst-template To use typst open devcontainer in vscode and run `typst -w file.typ`.
https://github.com/francescoo22/masters-thesis
https://raw.githubusercontent.com/francescoo22/masters-thesis/main/appendix/bibliography/bibliography.typ
typst
#pagebreak(to: "odd") #bibliography("bibliography.bib", style: "association-for-computing-machinery")
https://github.com/An-314/Notes-of-DSA
https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/priority_queue.typ
typst
= 优先级队列Priority Queue *循优先级访问:*对存入的数据约定一定的优先级,每次访问是严格按照优先级的。 + 在应用中会出现需要循优先级访问的例子: - 离散事件模拟 - 操作系统:任务调度/中断处理/MRU/... - 输入法:词频调整 + 希望能够: - 快速找到极值元素:须反复地、快速地定位 - 集合组成:可动态变化 - 元素优先级:可动态变化 + 作为底层数据结构所支持的高效操作是很多高效算法的基础 - 内部、外部、在线排序 - 贪心算法: Huffman编码、 Kruskal - 平面扫描算法中的事件队列 ```cpp template <typename T> s...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/043%20-%20Innistrad%3A%20Midnight%20Hunt/010_The%20Dusk%20Reborn.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Dusk Reborn", set_name: "Innistrad: Midnight Hunt", story_date: datetime(day: 01, month: 10, year: 2021), author: "<NAME>", doc ) The forests of Innistrad were not a welcoming place: thick, shadowed, the twisted trees' reaching branches...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/lang.typ
typst
Apache License 2.0
// Test setting the document language. --- // Ensure that setting the language does have effects. #set text(hyphenate: true) #grid( columns: 2 * (20pt,), gutter: 1fr, text(lang: "en")["Eingabeaufforderung"], text(lang: "de")["Eingabeaufforderung"], ) --- // Test that the language passed to the shaper has an e...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_compiler_custom.typ
typst
#import "../../../acronyms.typ": * = Custom Compiler Platform <custom-compiler-platform> Given that the #ac("PoC") is simple and limited in its features, it might be an option to skip the use of a compiler platform as a library altogether: - It is not necessary for the compiler platform to parse Haskell code. For th...
https://github.com/colinstfni/ba1-heig
https://raw.githubusercontent.com/colinstfni/ba1-heig/main/typst/utils.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot, palette, draw #let transpose_list(list) = { let transposed = () if list.len() > 0 { let row_length = list.at(0).len() for i in range(row_length) { let new_row = () for tuple in list { new_row.push(tuple.at(i)) } transposed.pus...
https://github.com/mrtz-j/typst-thesis-template
https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/README.md
markdown
MIT License
# Modern UiT Thesis Template Port of the [uit-thesis](https://github.com/egraff/uit-thesis)-latex template to Typst. `thesis.typ` contains a full usage example, see `thesis.pdf` for a rendered pdf. ## Usage Using the Typst Universe package/template: ```console typst init @preview/modern-uit-thesis:0.1.2 ``` ### F...
https://github.com/GeorgeHoneywood/alta-typst
https://raw.githubusercontent.com/GeorgeHoneywood/alta-typst/master/README.md
markdown
MIT License
# Alta Typst A simple Typst CV template, inspired by [AltaCV by <NAME>](https://github.com/liantze/AltaCV). [LaurenzV's simplecv](https://github.com/LaurenzV/simplecv) was used as a Typst code reference. See [`example.pdf`](example.pdf) for the rendered PDF output. <img src="screenshot.png" width="500"></img> The la...
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis
https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/docs/example-de-thesis.typ
typst
MIT License
#import "../src/lib.typ": * // md in .typ umwandeln: pandoc README.md -o README.typ #show: project.with( lang: "de", authors: ( ( name: "<NAME>", id: "12 34 567", email: "<EMAIL>" ), ), title: "Beispiel Thesis", subtitle: "Deutsch", date: "29.07.2024", version: none, thesis-c...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0018.typ
typst
#import "../helpers.typ": * #let _4sum-ref(nums, target) = { let nums = nums.sorted() let n = nums.len() let ans = () for i in range(n) { if i > 0 and nums.at(i) == nums.at(i - 1) { continue } for j in range(i + 1, n) { if j > i + 1 and nums.at(j) == nums.at(j - 1) { continue ...