repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/bus.typ
typst
== Bus The bus functionality represents the bus structure. Every valid description must have at least one bus instantiated, as the bus is the entry point for the description used for the code generation. The bus functionality has following properties: *`masters`*` integer (1) {definitive}` #pad(left: 1em)[ The maste...
https://github.com/mvuorre/quarto-apaish
https://raw.githubusercontent.com/mvuorre/quarto-apaish/main/README.md
markdown
Creative Commons Zero v1.0 Universal
# APA7ish Quarto Typst PDF template **NOTE: I don't plan to develop this further, instead take a look at <https://github.com/mvuorre/quarto-preprint> for a more comprehensive & Quarto-compliant extension.** [Quarto](https://quarto.org) extension for creating APA7-ish (American Psychological Association style, 7th edi...
https://github.com/JCGoran/typst-cv-template
https://raw.githubusercontent.com/JCGoran/typst-cv-template/master/README.md
markdown
# typst CV template This is a (mostly ATS-friendly) typst CV template which was initially based on [this LaTeX template](https://github.com/muratcankaracabey/latex_cv). I wanted to learn a bit of typst, so I figured why not make a CV template. ## How to use See the [example `main.typ`](example.typ) file for usage ex...
https://github.com/zenor0/FZU-report-typst-template
https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/utils/bachelor-footnote.typ
typst
MIT License
// Usage: show footnote.entry: bachelor-footnote // 需要在文档开头使用 #import "fonts.typ": 字体, 字号 #import "numbering-tools.typ": number-with-circle #let bachelor-footnote(it) = { let loc = it.note.location() set par(leading: 14pt) h(2em) text(font: 字体.宋体, size: 字号.小五/2, weight: "regular", baseline: -0.5em, numbering(...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/docs/1.3%20center.typ
typst
== BÀI TOÁN 1-CENTER (chưa quyết định)
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-color.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.ref-page.with(title: [参考:颜色、色彩渐变与模式]) == RGB Create an RGB(A) color. #ref-bookmark[`color.rgb`] The color is specified in the sRGB color space. An RGB(A) color is represented internally by an array of four components: #code(```typ #square(fill: rgb("#b1f2eb")) #square(fill: rgb(87...
https://github.com/almarzn/portfolio
https://raw.githubusercontent.com/almarzn/portfolio/main/README.md
markdown
# Alma's portfolio This is a demo for a Typst + Github action setup to build a complete skill portfolio using a YAML data source. Head over to the [latest release](https://github.com/almarzn/portfolio/releases/latest) or the Actions tab to see the produced result.
https://github.com/OrangeX4/typst-pinit
https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/examples/example.typ
typst
MIT License
#import "../lib.typ": * #import "@preview/touying:0.5.3": * #import themes.default: * #set text(size: 20pt, font: "Calibri", ligatures: false) #show heading: set text(weight: "regular") #show heading: set block(above: 1.4em, below: 1em) #show heading.where(level: 1): set text(size: 1.5em) // Useful functions #let cri...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2005/MS-02.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [<NAME>], [CHN], [2777], [2], [<NAME>], [CHN], [2686], [3], [<NAME>min], [KOR], [2646], [4], [<NAME>], [CHN], [2599]...
https://github.com/antonWetzel/prettypst
https://raw.githubusercontent.com/antonWetzel/prettypst/master/test/default/term.typ
typst
MIT License
/ Test: Some long, irrelevant body. Spanning multiple lines. = Seperator / A: A / B: B / C: C / D: D = Seperator / A: A / A: A / A: A = Seperator / A: #test( [], )
https://github.com/storopoli/Bayesian-Statistics
https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/13-model_comparison.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "@preview/polylux:0.3.1": * #import themes.clean: * #import "utils.typ": * #new-section-slide("Model Comparison") #slide(title: "Recommended References")[ - #cite(<gelman2013bayesian>, form: "prose") - Chapter 7: Evaluating, comparing, and expanding models - #cite(<gelman2020regression>, form: "prose"...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Polinomi/Polinomi.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Sia dato un certo campo $K$. Prende il nome di *polinomio* a coefficienti in $K$ e incognita in $x$ qualunque espressione nella forma: $ p(x) = sum_(i = 0)^(n) a_(i) x^(i) = a_(n) x^(n) + a_(n − 1) x^(n − 1) + ... + a_(1) x + a_(0) space "con" space n in NN, a_(i) in K space forall...
https://github.com/dariakoz/Typst-Template
https://raw.githubusercontent.com/dariakoz/Typst-Template/main/Abschnitte/Thema%201.typ
typst
#import "@preview/sourcerer:0.2.1": code #import "@preview/acrostiche:0.3.1": * #import "../lib/todo.typ": todo, outline-todos #init-acronyms(( "ERP": ("Enterprise Resource Planning"), "B1": ("Business One"), )) = Einleitung == Vorstellung des Praxispartner [...] == Überblick [...] == Problemstellung #todo("...
https://github.com/antonWetzel/prettypst
https://raw.githubusercontent.com/antonWetzel/prettypst/master/test/otbs/term.typ
typst
MIT License
/ Test: Some long, irrelevant body. Spanning multiple lines. = Seperator / A: A / B: B / C: C / D: D = Seperator / A: A / A: A / A: A = Seperator / A: #test( [], )
https://github.com/sardorml/vantage-typst
https://raw.githubusercontent.com/sardorml/vantage-typst/main/example.typ
typst
MIT License
#import "vantage-typst.typ": vantage, term, skill, styled-link #let configuration = yaml("configuration.yaml") #vantage( name: configuration.contacts.name, position: configuration.position, links: ( (name: "email", link: "mailto:"+ configuration.contacts.email), (name: "website", link: configuration.cont...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/pages/fonts-display-page.typ
typst
MIT License
#import "../utils/style.typ": 字号, 字体 #import "../utils/hline.typ": hline // 字体显示测试页 #let fonts-display-page( twoside: false, fonts: (:), size: 字号.小四, lang: "zh", ) = { // 1. 默认参数 fonts = 字体 + fonts // 2. 辅助函数 let display-font(cjk-name, latin-name) = [ #set text(font: fonts.at(cjk-name)) #cjk-...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/062.%20marginal.html.typ
typst
marginal.html The Power of the Marginal Want to start a startup? Get funded by Y Combinator. June 2006(This essay is derived from talks at Usenix 2006 and Railsconf 2006.)A couple years ago my friend Trevor and I went to look at the Apple garage. As we stood there, he said that as a kid growing up in Saskatche...
https://github.com/ivaquero/book-control
https://raw.githubusercontent.com/ivaquero/book-control/main/B-复矩阵.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "附录B:复矩阵", author: ("ivaquero"), header-cap: "现代控制理论", footer-cap: "github@ivaquero", outline-on: false, doc, ) = 复数 <复数> == 基本运算 <基本运算> #definition[ 复数是一个有序对$(a, b)$,其中,$a, b ∈ R$,通常写作$a + b i$。复数集记作$ℂ$,实数集$ℝ$可看作是其子集。 ] 令横轴为实部,纵轴为虚部,复数$z = ...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/config.typ
typst
#let enable-ticket-references = true #let monochrome = false #let debug = true #let references = true #let strict-refs = false
https://github.com/0x1B05/english
https://raw.githubusercontent.com/0x1B05/english/main/nce3_trans/content/chapters.typ
typst
#import "../template.typ": * = A puma at large == 参考译文 美洲狮是一种体形似猫的大动物,产于美洲。当伦敦动物园接到报告说,在伦敦以南45英里处发现一只美洲狮时,这些报告并没有受到重视。可是,随着证据越来越多,动物园的专家们感到有必要进行一番调查,因为凡是声称见到过美洲狮的人们所描述的情况竟是出奇地相似。 搜寻美洲狮的工作是从一座小村庄开始的。那里的一位妇女在采摘黑莓时的看见“一只大猫”,离她仅5码远,她刚看见它,它就立刻逃走了。专家证实,美洲狮非被逼得走投无路,是决不会伤人的。事实上搜寻工作很困难,因为常常是早晨在甲地发现那只美洲狮,晚上却在20英里外的乙地发现它的踪迹。无...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/templates/compiler-node/README.md
markdown
Apache License 2.0
# Typst Template for Typescript+node.js ```shell yarn install # full example npx tsc && node ./dist/esm/main.js ```
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/ieee/_extensions/ieee/typst-show.typ
typst
Creative Commons Zero v1.0 Universal
#show: ieee.with( $if(title)$ title: "$title$", $endif$ $if(abstract)$ abstract: [$abstract$], $endif$ $if(by-author)$ authors: ( $for(by-author)$ ( name: "$it.name.literal$", $for(it.affiliations/first)$ department: [$it.department$], organization: [$it.name$], location: [$it.city$, $it.cou...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/weeks/week10.typ
typst
#import "../../utils.typ": * #section("Inheritance") #subsection("ancestor table") Here the idea is that checking the parent until you eventually land on the type you want, you can check specific levels of inheritance immediately as a list of inheritances. #align( center, [#image("../../Screenshots/2023_11_20_08...
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/init-files/sections/04_figure.typ
typst
MIT License
#import "../../paddling-tongji-thesis/tongjithesis.typ": * #let example-image = "../figures/example-image.svg" = 浮动体 <float> 在本节(@float)中,我们将介绍浮动体的概念、分类及其在论文中的使用。 浮动的意思是,最终排版的图形位置不一定与源文件中的位置对应,这也是新手在使用 #LaTeX 和Typst时可能会遇到的问题。 浮动体的正确使用可以提高论文的可读性和美观程度,但也需要注意不要过度使用或使其影响正文的连贯性。 在Typst中,浮动体以 #raw("#figure()", lang: "ty...
https://github.com/donRumata03/aim-report
https://raw.githubusercontent.com/donRumata03/aim-report/master/lib/pdfpc.typ
typst
// Remove when that typo in polylux will be fixed #let speaker-note(text) = { let text = if type(text) == "string" { text } else if type(text) == "content" and text.func() == raw { text.text.trim() } else { panic("A note must either be a string or a raw block") } [ #metadata((t: "Note", v: text))...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/.github/ISSUE_TEMPLATE/3-typst_packages.md
markdown
MIT License
--- name: Typst packages about: For issues related to Typst packages title: "[Typst packages]: " labels: typst packages assignees: '' ---
https://github.com/SillyFreak/typst-scrutinize
https://raw.githubusercontent.com/SillyFreak/typst-scrutinize/main/src/task-kinds/free-form.typ
typst
MIT License
#let _grid = grid /// An answer to a free form question. If the document is not in solution mode, the answer is hidden /// but the height of the element is preserved. /// /// Example: /// /// #task-example(lines: "2-", ```typ /// #import task-kinds: free-form /// Write an answer. /// #free-form.plain(placeholder: [......
https://github.com/SnO2WMaN/incompleteness.txt
https://raw.githubusercontent.com/SnO2WMaN/incompleteness.txt/main/template.typ
typst
Creative Commons Zero v1.0 Universal
#let project(title: "", authors: (), body) = { set document(author: authors, title: title) set page(numbering: "1", number-align: center) set heading(numbering: "1.1") set text(font: "Noto Serif CJK JP", lang: "ja") align(center)[ #block(text(weight: 700, 1.5em, title)) ] pad( top: 0.5em, b...
https://github.com/juicebox-systems/ceremony
https://raw.githubusercontent.com/juicebox-systems/ceremony/main/instructions/debug.typ
typst
MIT License
// Debug levels: // - 0: Used for the final PDF with no debugging output. // - 1: Shows estimated timestamps. // - 2: Shows the component demo appendix, the requirements of each step, and // the model variables at the start of each set of steps. // - 3: Shows the model variables after each step. #let debug_level =...
https://github.com/YouXam/soviet-matrix
https://raw.githubusercontent.com/YouXam/soviet-matrix/main/lib.typ
typst
MIT License
#import "@preview/suiji:0.3.0": gen-rng, choice #import "mino/tetris.typ": render-field #let parse-actions(body) = { let extract(it) = { "" if it == [ ] { " " } else if it.func() == text { it.text } else if it.func() == [].func() { it.children.map(extract).join() } } extract...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/023%20-%20Oath%20of%20the%20Gatewatch/007_Brink%20of%20Extinction.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Brink of Extinction", set_name: "Oath of the Gatewatch", story_date: datetime(day: 10, month: 02, year: 2016), author: "<NAME>", doc ) #emph[Two Eldrazi titans now roam Zendikar] #emph['s surface. The network of stone hedrons that briefly i...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/互联网原理与技术/作业/理论4.typ
typst
The Unlicense
#import "template.typ": * #import "@preview/tablem:0.1.0": tablem #show: project.with( title: "理论 4", authors: ( "absolutex", ) ) = P1 考虑下面的网络。 a.显示路由器A中的转发表,使得目的地为主机H3的所有流量都通过接口3转发。 #tablem[ |*匹配*|*操作*| |---|---| |Ingress Port = 1 or Ingress Port = 2|Forward(3)| ] b.你能否写出路由器A中的转发表,使得从H1发往主机H3的所有...
https://github.com/indicatelovelace/kinave
https://raw.githubusercontent.com/indicatelovelace/kinave/main/0.1.0/lib.typ
typst
/// Helper for matching Mails. This one matches every 'mailto:' link #let l-mailto() = regex("mailto:.*") /// Helper for matching Mails. This one is more strict and matches only, if a mail is an address that is structurally correct. #let l-mailto-strict() = regex("^mailto:.*@.*\..*") /// Helper to match phone numbers....
https://github.com/Bi0T1N/typst-iconic-salmon-svg
https://raw.githubusercontent.com/Bi0T1N/typst-iconic-salmon-svg/main/README.md
markdown
MIT License
# [Social Media References based on Scalable Vector Graphics (SVG) Icons for Typst](https://github.com/Bi0T1N/typst-iconic-salmon-svg) The `iconic-salmon-svg` package is designed to help you create your curriculum vitae (CV). It allows you to easily reference your social media profiles with the typical icon of the serv...
https://github.com/typst-community/harbinger
https://raw.githubusercontent.com/typst-community/harbinger/main/lib.typ
typst
MIT License
#import "src/shadow-box.typ": shadow-box #import "src/fast-shadow-box.typ": fast-shadow-box
https://github.com/TC-Fairplay/member-listing
https://raw.githubusercontent.com/TC-Fairplay/member-listing/main/junioren-b.typ
typst
MIT License
#import "members-list.typ": members-list #show: doc => members-list("junioren_b.csv", "B", doc)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.1/src/shapes.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.0" as cetz: draw, vector #let diamond(node, extrude, scale: 1.5) = { let (w, h) = node.size let φ = calc.atan2(w/1pt, h/1pt) let x = w/2*scale + extrude/calc.sin(φ) let y = h/2*scale + extrude/calc.cos(φ) draw.line( (-x, 0pt), (0pt, -y), (+x, 0pt), (0pt, +y), close: true, ) }...
https://github.com/MoserGitHub/qmd_ctutypst
https://raw.githubusercontent.com/MoserGitHub/qmd_ctutypst/main/_extensions/CTU-Bern/qmd_ctutypst/typst-show.typ
typst
#show: ctu_typst_template.with( $if(title)$ title: "$title$", $endif$ $if(subtitle)$ subtitle: "$subtitle$", $endif$ $if(projectno)$ projectno: "$projectno$", $endif$ $if(toc)$ toc: $toc$, $endif$ $if(paper-size)$ paper-size: "$paper-size$", $endif$ $if(logo)$ logo: "$logo$", $endif$ $if(logo_size)$ log...
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/lib/pages/declaration_of_independent_processing.typ
typst
MIT License
#import "../translations.typ": translations #let declaration_of_independent_processing() = { heading( outlined: true, numbering: none, bookmarked: true, translations.declaration-of-independent-processing, ) text(translations.declaration-of-independent-processing-content) v(40pt) grid( ...
https://github.com/university-makino/Microcomputer-control-and-exercises
https://raw.githubusercontent.com/university-makino/Microcomputer-control-and-exercises/master/report/プレレポート2/report.typ
typst
//フォント設定// #let gothic = "Hiragino Kaku Gothic Pro" //本文フォント// #set text(11pt, font: gothic, lang: "ja") //タイトル・見出しフォント// #set heading(numbering: "1.1") #let heading_font(body) = { show regex("[\p{scx: Han}\p{scx: Hira}\p{scx: Kana}]"): set text(font: gothic) body } #show heading: heading_font // ページ設定 // #set...
https://github.com/spewwerrier/hut
https://raw.githubusercontent.com/spewwerrier/hut/master/readme.md
markdown
Typst is comfy. This took way less work than I imagined. ![](./hut-1.png) ![](./hut-2.png) ``` typst compile hut.typ typst compile hut.typ --format png hut-{n}.png ```
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/networks/pset9.typ
typst
#import "template.typ": * #show: template.with( title: "14.15 PSET 9", subtitle: "<NAME>", pset: true, ) = Problem 1 == (a) *No*, it is not the case that the prices are not market-clearing. In order for this to be the case, it would have to be that the price each buyer receives is adequate enough for them to p...
https://github.com/remigerme/typst-polytechnique
https://raw.githubusercontent.com/remigerme/typst-polytechnique/main/cover.typ
typst
MIT License
/***********************/ /* TEMPLATE DEFINITION */ /***********************/ /* HANDLING DATE DISPLAY */ #let translate_month(month) = { // Construction mapping for months let t = (:) let fr-month-s = ("Janv.", "Févr.", "Mars", "Avr.", "Mai", "Juin", "Juill.", "Août", "Sept.", "Oct.", "Nov.", "Déc.") let...
https://github.com/0x1B05/algorithm-journey
https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/并查集.typ
typst
#import "../template.typ": * #pagebreak() = 并查集 并查集的使用是如下的场景 1)一开始每个元素都拥有自己的集合,在自己的集合里只有这个元素自己 2)`find(i)`:查找i所在集合的代表元素,代表元素来代表i所在的集合 3)`boolean isSameSet(a, b)`:判断a和b在不在一个集合里 4)`void union(a, b)`:a所在集合所有元素 与 b所在集合所有元素 合并成一个集合 5)各种操作单次调用的均摊时间复杂度为O(1) #tip( "Tip", )[ 并查集时间复杂度的理解: 作为如此简单、小巧的结构, 感性理解单次调用的均摊时间复杂度为O...
https://github.com/Heinenen/discourse-typst
https://raw.githubusercontent.com/Heinenen/discourse-typst/main/README.md
markdown
Other
# discourse-typst This theme component for [Discourse](https://discourse.org/) makes it possible to render Typst code anywhere in your posts! [Theme components](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) work entirely in the client are very easy to install. This project is closely r...
https://github.com/EunTilofy/NumComputationalMethods
https://raw.githubusercontent.com/EunTilofy/NumComputationalMethods/main/Chapter6/Chapter6-1.typ
typst
#import "../template.typ": * #show: project.with( course: "Computing Method", title: "Computing Method - Chapter6", date: "2024.4.30", authors: "<NAME>, 3210106357", has_cover: false ) *Problems:1,3,4,5* #HWProb(name: "1")[ 用 Gauss 消去法解方程组: $ bmatrix(2, 3, 4; 1, 1, 9; 1, 2, -6) bmatrix(x_1; x_2; x_3) = bm...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-radial_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #square( size: 50pt, fill: gradient.radial(..color.map.rainbow, space: color.hsl, radius: 10%), ) #square( size: 50pt, fill: gradient.radial(..color.map.rainbow, space: color.hsl, radius: 72%), )
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[4] Modelação Lógica/normalização.typ
typst
#let normalização = { [ == Normalização de Dados A normalização de uma base de dados é um processo crucial na execução de um sistema de gestão de base de dados relacional. O objetivo principal da normalização é organizar os dados de forma a minimizar a redundância, ambiguidade e inconsistência, garantindo, e...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PreventivoSprint/UndicesimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": prospettoOrario, prospettoEconomico, glossary ==== Undicesimo preventivo *Inizio*: Venerdì 01/03/2024 *Fine*: Giovedì 07/03/2024 #prospettoOrario(sprintNumber: "11") #prospettoEconomico(sprintNumber: "11"...
https://github.com/KINGFIOX/understand_doc_cn
https://raw.githubusercontent.com/KINGFIOX/understand_doc_cn/main/cn.typ
typst
#set text(lang: "cn") understand中文手册 #footnote[这是understand documents的中文简单翻译, 并且只有C/C++语言, 并且只有cmake的, 这是译者目前工作的环境] #set heading(numbering: "A.1.i") #outline() = 介绍 本章介绍了解软件。 本手册假定您对编写项目的编程语言有一定的了解。 == 什么是 understand Understand 是一款静态分析工具,侧重于源代码理解、度量和标准测试。它旨在帮助维护和理解大量遗留或新创建的源代码。它提供了一个跨平台、多语言、面向维护的集成开发环境(交互式开发环境)。...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/call-07.typ
typst
Other
// Error: 7 expected expression // Error: 8 expected expression #func(:) // Error: 10-12 unexpected end of block comment #func(a:1*/) // Error: 8 expected comma #func(1 2) // Error: 7-8 expected identifier, found integer // Error: 9 expected expression #func(1:) // Error: 7-8 expected identifier, found integer #fun...
https://github.com/AsiSkarp/grotesk-cv
https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/src/template/content/other_experience.typ
typst
The Unlicense
#let meta = toml("../info.toml") #import meta.import.path: experience-entry #import "@preview/fontawesome:0.4.0": * #let icon = meta.section.icon.other_experience #let language = meta.personal.language #let include-icon = meta.personal.include_icons = #if include-icon [#fa-icon(icon) #h(5pt)] #if language == "en" [O...
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/tournament-dulaney-royal-rumble/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator, codetastic, diagraph #import notebookinator: * #import codetastic: qrcode #import themes.radial.components: * #import "@preview/plotst:0.2.0": * #import "@preview/diagraph:0.1.0": * #import "@preview/codetastic:0.2.2": qrcode #show: create-body-entry.with( title: "Tournament...
https://github.com/crd2333/typst-admonition
https://raw.githubusercontent.com/crd2333/typst-admonition/master/lib.typ
typst
MIT License
/* typst-admonitions is a typst package that provides admonitions for typst. The icons are repainted based on those in [material](https://squidfunk.github.io/mkdocs-material/reference/admonitions/). And it's easy to modify and add new icons. author: crd2333 version: 0.1 add iconbox add admonitions(note, abs...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/flow-1.typ
typst
Apache License 2.0
// In this bug, the first line of the second paragraph was on its page alone an // the rest moved down. The reason was that the second block resulted in // overlarge frames because the region wasn't finished properly. --- #set page(height: 70pt) #block[This file tests a bug where an almost empty page occurs.] #block[ ...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/MS-10.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [马龙], [CHN], [3546], [2], [许昕], [CHN], [3436], [3], [樊振东], [CHN], [3399], [4], [林高远], [CHN], [3341], [5], [林昀儒], [TPE], [3293], ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-12.typ
typst
Other
// Error: 2-11 array is empty #().last()
https://github.com/LDemetrios/Conspects-4sem
https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/styles/themes/sepia.typ
typst
#let background = rgb("#ebd5b3") #let foreground = black #let red-ish = rgb("#770000") #let green-ish = rgb("#007700") #let blue-ish = rgb("#000077") #let yellow-ish = rgb("#777700") #let pagewidth = none #let pageheight = auto
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/algo/autoref.typ
typst
#import "../lib.typ": * #show heading: heading_fct On dit qu'un tableau $T$ d'entiers de longueur $n$ est _auto-référent_ si pour tout $i < n$, $T[i]$ représente le nombre d’occurrence de $i$ dans $T$. Les tableaux commence à l'indice 0. Par exemple, $[1,2,1,0]$ est un tableau autoréférent de longueur 4. #question(0...
https://github.com/icpmoles/politypst
https://raw.githubusercontent.com/icpmoles/politypst/main/aside/abstract_ita.typ
typst
#let abstract_ita = [ #heading(numbering: none)[Abstract in in lingua italiana] Qui va l’Abstract in lingua italiana della tesi seguito dalla lista di parole chiave. $ 1 = integral_1^2 1 d x $ ]
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/dim-2.typ
typst
Other
#import "/lib/draw.typ": * #import "/lib/glossary.typ": tr #import "dim-1.typ": start, end, base, lt, rb, line-color, graph as dim1 #let bbox-calc = (lt, rb, arg) => { let (l, t, r, b) = arg return ((lt.at(0) + l, lt.at(1) - t), (rb.at(0) - r, rb.at(1) + b)) } #let (bbox-lt, bbox-rb) = bbox-calc(lt, rb, (7, 11,...
https://github.com/Jollywatt/typst-wordometer
https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/tests/exclude/test.typ
typst
MIT License
#import "/src/lib.typ": * #set page(width: 15cm, height: auto) = Excluding elements by type #word-count(total => [ == Not me. One, two, three. #strike[Not me, either.] Four. #strike[Words: #total.words] ], exclude: (heading, strike)) #pagebreak() = Excluding elements by label #word-count(total => [ === One tw...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/graph/digraph.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.page.with(title: [拓扑图])
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/088.%20disagree.html.typ
typst
disagree.html How to Disagree March 2008The web is turning writing into a conversation. Twenty years ago, writers wrote and readers read. The web lets readers respond, and increasingly they do—in comment threads, on forums, and in their own blog posts.Many who respond to something disagree with it. That's to be exp...
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs
https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/categories/task4/4.1.typ
typst
Apache License 2.0
#pagebreak() = Implementation - Sprint 1 == Thiết lập kho lưu trữ trực tuyến Nhóm lựa chọn Github - dịch vụ cung cấp kho lưu trữ mã nguồn *Git* dựa trên nền tảng web để phát triển dự án lần này. Nhóm chia ra 2 nhánh riêng biệt: ssps-fe và ssps-be để các thành viên hoạt động trong 2 nhánh này có thể hoạt động và phát t...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/design/design_iteration_1_criteria.typ
typst
= Design Evaluation Criteria <design-evaluation-criteria> Since it is difficult to compare designs in a quantitative manner, the design evaluation process is based on selected code scenarios and a non-quantitative questionnaire. A survey will be conducted using the questionnaire and example visualizations for specifi...
https://github.com/dark-flames/apollo-typst
https://raw.githubusercontent.com/dark-flames/apollo-typst/main/content/posts/multi-version-full.md
markdown
Apache License 2.0
+++ title = "Ancestors: Multi Version(Full)" date = "2024-07-09" [taxonomies] tags=["documentation"] [extra] typst = "intro/full" +++
https://github.com/lublak/typst-echarm-package
https://raw.githubusercontent.com/lublak/typst-echarm-package/main/examples/pie.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: ( legend: ( top: "5%", left: "center" ), series: ( name: "Access Form", type: "pie", radius: ("40%", "70%"), avoidLabelOverlap: false, ite...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-07.typ
typst
Other
// Let + closure bindings. #{ let g = "hi" let f() = { let g() = "bye" g() } test(f(), "bye") }
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/align_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 8-30 cannot add a vertical and a 2D alignment // #align(top + (bottom + right), [A])
https://github.com/Walfisch115/thb-typst-template
https://raw.githubusercontent.com/Walfisch115/thb-typst-template/main/presentation/main.typ
typst
#import "conf.typ": * #show: conf // set global values #let presentationTitle = [Aufregender Präsentationstitel] #let supervisor = [Dr. rer. pol. <NAME>] #let date = [21.04.2014] #titleSlide( title: presentationTitle, supervisor: supervisor, date: date ) #slide( presentationTitle: presentationTitle, date:...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw_09.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Take last line into account when computing dedent. ``` A B ```
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/intro/about.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: [Notebook Workflow], date: [], content: [ #box_header( title: [Why Digital?], color: purple.lighten(60%) ) #entry_text() ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/014%20-%20Khans%20of%20Tarkir/012_Journey%20to%20the%20Nexus.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Journey to the Nexus", set_name: "Khans of Tarkir", story_date: datetime(day: 10, month: 12, year: 2014), author: "<NAME>", doc ) #emph[When last we saw him, Sarkhan Vol ] had just returned #emph[to his home world of Tarkir.] #emph[He fear...
https://github.com/ckunte/structural-dynamics
https://raw.githubusercontent.com/ckunte/structural-dynamics/master/structural-dynamics.typ
typst
// preamble #import "@preview/polylux:0.3.1": * #import themes.simple: * #set page(paper: "presentation-16-9") #show: simple-theme.with( footer: [STRUCTURAL DYNAMICS], ) #set text( font: "erewhon", top-edge: "cap-height", bottom-edge: "baseline", number-type: "old-style", size:21pt ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/examples/numberline.typ
typst
// implementing decimals would take some time. // not impossible ... just simply taking some time. #import "@preview/cetz:0.2.0" #cetz.canvas({ import cetz.draw: * // awesome! thank you. // :) let min = -3 let max = 4 let (a, b) = ((0,0), (7,0)) line((rel: (-1,0), to: a), (rel: (1,0), to: b),...
https://github.com/Nyovelt/Resume2024
https://raw.githubusercontent.com/Nyovelt/Resume2024/main/chicv.typ
typst
MIT License
#import "fontawesome.typ": * #let chiline() = { v(-3pt); line(length: 100%, stroke: gray); v(-10pt) } #let iconlink( uri, text: "", icon: link-icon) = { if text != "" { link(uri)[#fa[#icon] #text] } else { link(uri)[#fa[#icon]] } } #let cventry( tl: lorem(2), tr: "2333/23 - 2333/23", bl: ...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/SLAM.typ
typst
#import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "SLAM", lang: "zh", ) #let bx = $bold(x)$ #let bH = $bold(H)$ #let bg = $bold(g)$ #let bJ = $bold(J)$ #let bE = $bold(E)$ #let bF = $bold(F)$ #let bB = $bold(B)$ #let bC = $bold(C)$ = SLAM 中的 CV == SfM - 参考 #link("https://blog.csdn.n...
https://github.com/SillyFreak/typst-packages-old
https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/pre-plantuml/src/lib.typ
typst
MIT License
#import "@preview/prequery:0.1.0": prequery #let p = plugin("./plantuml_url.wasm") #let encode(source) = { let source = bytes(source) let result = p.encode(source) let (status, result) = (result.at(0), str(result.slice(1))) assert(status == 1, message: result) result } /// A prequery for PlantUML diagrams....
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ttt-exam/0.1.0/lib/template.typ
typst
Apache License 2.0
#import "@preview/ttt-utils:0.1.0": assignments, components, grading #import "i18n.typ": * #import components: * #import assignments: * #import grading: * #import "points.typ": * #import "headers.typ": * // The exam function defines how your document looks. #let exam( // metadata logo: none, title: "exam", //...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/gallery/example1.typ
typst
Apache License 2.0
#import "/src/lib.typ" as chronos #chronos.from-plantuml(```plantuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: Another authentication Response ```) #chronos.diagram({ import chronos: * _seq("Alice", "Bob", comment: "Au...
https://github.com/mrknorman/evolving_attention_thesis
https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/notation.typ
typst
#let vectorn(symbol) = { $bold(accent(symbol, arrow))$ } #let dvectorn(symbol) = { $bold(Delta accent(symbol, arrow))$ } #let uvectorn(symbol) = { $bold(accent(symbol, hat))$ } #let udvectorn(symbol) = { $bold(Delta accent(symbol, hat))$ } #let matrixn(symbol) = { //$bold(mat(symbol;))$ //$bold(accent(a...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/content/experience.typ
typst
Apache License 2.0
#import "../lib.typ": * #import "@preview/fontawesome:0.2.1": * == #fa-icon("briefcase") #h(5pt) #get-header-by-language("Relevant experience", "Experiencia relevante") #v(5pt) #if is-english() [ #experience-entry( title: [Lead AI Architect], date: [2015 - Present], company: [Cyberdyne Systems], l...
https://github.com/Robotechnic/diagraph
https://raw.githubusercontent.com/Robotechnic/diagraph/main/internals.typ
typst
MIT License
#import "graphviz_interface/protocol.typ": * #let plugin = plugin("graphviz_interface/diagraph.wasm") /// Converts a string containing escape sequences to content. #let parse-string(s) = { let result = [] let row = "" let is-escaped = false for cluster in s { if is-escaped { is-escaped = false ...
https://github.com/dyc3/senior-design
https://raw.githubusercontent.com/dyc3/senior-design/main/elicitation-validation.typ
typst
= Requirements Elicitation & Validation <Chapter::ElicitationValidation> == Elicitation The problem domain is very well known, so not much outside information is necessary. The following methods were used to elicit requirements. - Brainstorming - Research - User interviews to verify requirements - Project motivation...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/emphasis-03.typ
typst
Other
// Error: 13 expected underscore #box[_Scoped] to body.
https://github.com/AHaliq/DependentTypeTheoryReport
https://raw.githubusercontent.com/AHaliq/DependentTypeTheoryReport/main/chapters/chapter1/index.typ
typst
#import "../../preamble/dtt.typ": * #import "../../preamble/catt.typ": * #import "@preview/curryst:0.3.0": rule, proof-tree #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge = Extensional Type Theory (ETT) == Substitution Calculus We study the dependent type theory; *Substitution Calculus*, which ha...
https://github.com/Vortezz/fiches-mp2i-maths
https://raw.githubusercontent.com/Vortezz/fiches-mp2i-maths/main/chapter_3.typ
typst
#set page(header: box(width: 100%, grid( columns: (100%), rows: (20pt, 8pt), align(right, text("CHAPITRE 3. RELATIONS")), line(length: 100%), )), footer: box(width: 100%, grid( columns: (50%, 50%), rows: (8pt, 20pt), line(length: 100%), line(length: 100%), align(left, text("<NAME> - MP2I")), align(r...
https://github.com/Meisenheimer/Notes
https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/ODE.typ
typst
MIT License
#import "@local/math:1.0.0": * = Ordinary Differential Equation #env("Definition")[ Given a function $F$, an *explicit ordinary differential equation* of order $n$ takes the form $ mathbf(F)(mathbf(u)^((n-1)), dots, mathbf(u)^prime, mathbf(u), t) = mathbf(u)^((n)), $ an *implicit ordinary differential equatio...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11A00.typ
typst
Apache License 2.0
#let data = ( ("ZANABAZAR SQUARE LETTER A", "Lo", 0), ("ZANABAZAR SQUARE VOWEL SIGN I", "Mn", 0), ("ZANABAZAR SQUARE VOWEL SIGN UE", "Mn", 0), ("ZANABAZAR SQUARE VOWEL SIGN U", "Mn", 0), ("ZANABAZAR SQUARE VOWEL SIGN E", "Mn", 0), ("ZANABAZAR SQUARE VOWEL SIGN OE", "Mn", 0), ("ZANABAZAR SQUARE VOWEL SIGN ...
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/LSM.typ
typst
LSM tree(log-structured merge-tree)是一种对频繁写操作非常友好的数据结构,同时兼顾了查询效率。LSM tree 是许多 key-value 型或日志型数据库所依赖的核心数据结构,例如 BigTable、HBase、Cassandra、LevelDB、SQLite、TiDB、RocksDB 等。 LSM tree 之所以有效是基于以下事实:磁盘或内存的连续读写性能远高于随机读写性能,有时候这种差距可以达到三个数量级之高。这种现象不仅对传统的机械硬盘成立,对 SSD 硬盘也同样成立。 LSM tree 在工作中尽可能避免随机读写,充分发挥了磁盘连续读写的性能优势。 == SSTable...
https://github.com/SergeyGorchakov/russian-phd-thesis-template-typst
https://raw.githubusercontent.com/SergeyGorchakov/russian-phd-thesis-template-typst/main/lib.typ
typst
MIT License
#import "@preview/unify:0.5.0": * #import "@preview/codly:0.2.0": * #import "@preview/tablex:0.0.8": * #import "@preview/physica:0.9.3": * #import "@preview/indenta:0.0.3": fix-indent #import "./glossarium.typ": * // Счетчики #let part_count = counter("parts") #let total_part = context[#part_count.final().at(0)] #le...
https://github.com/0x1B05/algorithm-journey
https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/二叉树.typ
typst
#import "../template.typ": * #pagebreak() = 二叉树 二叉树结构: ```java public static class Node{ public int value; public Node left; public Node right; public Node(int data){ this.value = data; } } ``` == 二叉树的遍历 === 递归序遍历: ```java public static void f(Node head){ if(head == null){ r...
https://github.com/Personal-Data-Acquisition/PDA_paperwork
https://raw.githubusercontent.com/Personal-Data-Acquisition/PDA_paperwork/main/PRD/prd.typ
typst
= Product Requirements Document(PRD) #strong[Authors:] <NAME>, <NAME>, <NAME>, <NAME> #strong[DATE:] 2023-11-23 == Problem Description Existing personal data acquisition devices are either too expensive or too DIY for most potential users. Many are designed for aerospace, automotive or research purposes, and are too ...
https://github.com/typst/templates
https://raw.githubusercontent.com/typst/templates/main/README.md
markdown
MIT No Attribution
Here, you can find the templates that are directly maintained by the Typst team. If you want to submit your own template, go to https://github.com/typst/packages and submit them there.
https://github.com/grnin/Zusammenfassungen
https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/README.md
markdown
# Zusammenfassungen BSc Informatik an der OST ## Einrichtung Bitte versichere dich, dass du die nötigen Schriften installiert hast: - [JetBrains Mono](https://www.jetbrains.com/de-de/lp/mono/) - Calibri (Linux & MacOS-User können den Calibri-Klon [Carlito](https://fonts.google.com/specimen/Carlito) verwenden) Die Zus...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tgm-hit-thesis/0.1.1/template/lib.typ
typst
Apache License 2.0
#import "@preview/tgm-hit-thesis:0.1.1": * #import "assets.typ"
https://github.com/Trebor-Huang/HomotopyHistory
https://raw.githubusercontent.com/Trebor-Huang/HomotopyHistory/main/frontpage.typ
typst
#import "common.typ": * #[ #set text(36pt) *同伦论简史*\ #set text(18pt) // Avoid using more fonts $sans("A Brief History of Homotopy Theory")$ ] #place(bottom + center, dy: 1cm)[ #import cetz.draw: * #set text(18pt) #let ang(i) = 10deg - calc.cos(i*90deg) * 3deg #cetz.canvas(length: 0.9cm,{ circle((0,0), radius: 1.5, fi...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/src/crossprod.typ
typst
MIT License
#import "@local/evan:1.0.0":* = The cross product The cross product is the last major linear algebra tool we'll need to introduce (together with determinants and the dot product). Like the dot product, the cross product also has two definitions, one algebraic and one geometric. == [TEXT] The two definitions of the c...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/changelog/0.11.0.md
markdown
Apache License 2.0
--- title: 0.11.0 description: Changes in Typst 0.11.0 --- # Version 0.11.0 (March 15, 2024) ## Tables - Tables are now _much_ more flexible, read the new [table guide]($guides/table-guide) to get started - Added [`table.cell`] element for per-cell configuration - Cells can now span multiple [columns]($table.cell.c...