repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.2.0/themes/themes.typ
typst
Apache License 2.0
#import "simple.typ" #import "metropolis.typ" #import "dewdrop.typ"
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unify/0.4.3/examples/example.typ
typst
Apache License 2.0
#import "@local/unify:0.4.1": * $ num("-1.32865+-0.50273e-6") $ $ qty("1.3+1.2-0.3e3", "erg/cm^2/s", space: "#h(2mm)") $ $ numrange("1,1238e-2", "3,0868e5", thousandsep: "'") $ $ qtyrange("1e3", "2e3", "meter per second squared", per: "/", delimiter: "\"to\"") $
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/array/num-list/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": unit, metro-setup, num, qty, num-list #set page(width: auto, height: auto, margin: 1cm) #num-list(10, 30, 50, 70) #num-list(0.1, 0.2, 0.3) #num-list(0.1, 0.2, 0.3, list-separator: "; ") #num-list(0.1, 0.2, 0.3, list-final-separator: ", ") #num-list(0.1, 0.2, 0.3, list-separator: " and ", li...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chordx/0.1.0/lib.typ
typst
Apache License 2.0
#import "chordx.typ": * #import "chordx-native.typ": *
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/lwe.typ
typst
#import "preamble.typ":* = A hard problem: learning with errors <lwe> As we've seen (@ec), a lot of cryptography relies on hard math problems. RSA is based on the difficulty of integer factorization; elliptic curve cryptography depends on the discrete log assumption. Our protocol for levelled FHE relies on a differe...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/content_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test boxes without a baseline act as if the baseline is at the base #{ box(stroke: 0.2pt, $a #box(stroke: 0.2pt, $a$)$) h(12pt) box(stroke: 0.2pt, $a #box(stroke: 0.2pt, $g$)$) h(12pt) box(stroke: 0.2pt, $g #box(stroke: 0.2pt, $g$)$) }...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/table.typ
typst
Apache License 2.0
// Test tables. --- #set page(height: 70pt) #set table(fill: (x, y) => if calc.even(x + y) { rgb("aaa") }) #table( columns: (1fr,) * 3, stroke: 2pt + rgb("333"), [A], [B], [C], [], [], [D \ E \ F \ \ \ G], [H], ) --- #table(columns: 3, stroke: none, fill: green, [A], [B], [C]) --- // Test alignment with array...
https://github.com/jrihon/cv
https://raw.githubusercontent.com/jrihon/cv/main/sections/projects.typ
typst
// import template here as well, to get all the functions #import "../brilliant-template/template.typ": * #cvSection("Projects") - *Ducque : the Mechanical Nucleic Acid Architect.* #graytext("Build virtual 3D models of synthetic and natural nucleic acids. Used to design and predict duplex structures through a rigor...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/025.typ
typst
#metadata(( title: "A angular binding for lexical", subtitle: [lexical,angular], author: "dashuai009", description: "Create a lexical's decorate node using angular custom element. We can build a text editor for angular based on lexical.", pubDate: "'Jul 08 2022'", ))<frontmatter> #import "../__template/style...
https://github.com/GYPpro/DS-Course-Report
https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Templete/reportTemp.typ
typst
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx // Display inline code in a small box // that retains the correct baseline. #set text(font:("Times New Roman","Source Han Serif SC")) #show raw.where(block: false): box.with( fill: luma(240), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), ...
https://github.com/Dherse/masterproef
https://raw.githubusercontent.com/Dherse/masterproef/main/masterproef/parts/hexagonal.typ
typst
#let atomic-tangerine = rgb(222, 143, 110) #let hexagonal_interconnect(side: 100pt, hex-side: 10pt, nx, ny) = [#block( radius: 0.01 * side, height: side, width: side, stroke: 0.5pt + luma(5), clip: true, { let place = place.with(top + left) let node-r = 0.05 * hex-side let nod...
https://github.com/Yzx7/public_study_files
https://raw.githubusercontent.com/Yzx7/public_study_files/main/Monografía FIEE/chapters/procedimiento.typ
typst
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx #import "@preview/cetz:0.2.2": canvas, plot #import "@preview/cetz:0.2.2" = Procedimiento == Medición de ángulos de incidencia y reflexión + *Colocación del espejo plano*: Se ubica el espejo plano sobre un *disco óptico*, definiendo la normal a la supe...
https://github.com/alkeryn/cv
https://raw.githubusercontent.com/alkeryn/cv/master/lib.typ
typst
#let template(doc) = { set text( size: 10pt, // font: "Liberation Serif" font: "DejaVu Sans" ) set page( paper: "a4", margin: (x: 1.5cm, y: 1cm), // footer: [ // #h(1fr) // #counter(page).display( // "1/1...
https://github.com/jamesrswift/blog
https://raw.githubusercontent.com/jamesrswift/blog/main/assets/packages/booktabs/lib.typ
typst
MIT License
#import "footnotes.typ" as footnotes: state, display, clear, make #import "style.typ": * #import "rigor.typ" as rigor: make #import "impl.typ": make
https://github.com/carreter/problemst
https://raw.githubusercontent.com/carreter/problemst/main/template/main.typ
typst
MIT License
#import "@preview/problemst:0.1.0": pset #show: pset.with( class: "6.100", student: "<NAME>", title: "PSET 0", date: datetime.today(), collaborators: ("<NAME>", "<NAME>") ) #let deriv(num, dnm)=[$ (d num) / (d dnm) $] = Definition of the derivative Something something infinitesimals something something. We...
https://github.com/alexanderjophus/typstcv
https://raw.githubusercontent.com/alexanderjophus/typstcv/main/cv.typ
typst
#import "template.typ": template, summary, skills, links, interests, education, experience, experience_list #let summary = summary(lorem(50)) #let skills = skills( ("Go", "Rust", "Python"), ("GraphQL", "gRPC", "REST"), ) #let links = links(( (domain: "blog", display: "myBlog", url: "https://someblog.com"), (...
https://github.com/Languisher/touying-sjtu
https://raw.githubusercontent.com/Languisher/touying-sjtu/main/example/file/main.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.4.5" as fletcher: node, edge #import "@preview/touying:0.4.2": * #import "../lib.typ" as buaa-theme // cetz and fletcher bindings for touying #let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true)) #let fletcher-d...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/summer-notes-evan/src/0801-symposium.typ
typst
#import "@local/evan:1.0.0":* #let DB = math.sans("DB") #let DS = math.sans("DS") #let mem = math.sans("mem") #let cpustate = math.sans("cpu") #let Enc = math.op("Enc") #let addr = math.sans("addr") #let fetched = math.sans("fetched") #let wdata = math.sans("wdata") #let NI = math.op("NextInstruct") = Symposium on A...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/gallery/example2.typ
typst
Apache License 2.0
#import "/src/lib.typ" as chronos #chronos.diagram({ import chronos: * _seq("User", "A", comment: "DoWork", enable-dst: true) _seq("A", "B", comment: [#sym.quote.angle.l createRequest #sym.quote.angle.r], enable-dst: true) _seq("B", "C", comment: "DoWork", enable-dst: true) _seq("C", "B", comment: "WorkDone...
https://github.com/kdog3682/typkit
https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/footers/index.typ
typst
// #import "standard.typ": standard
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/README.md
markdown
Apache License 2.0
# Typst Clone Origin repo: https://github.com/typst/typst (Apache License 2.0) This is a clone of that repo with tweaks inside `crates/typst-cli` to embed the cli as a library.
https://github.com/GolemT/BA-Template
https://raw.githubusercontent.com/GolemT/BA-Template/main/glossar.typ
typst
#let Glossar = ( "API": "Application Programming Interface", "Typst": "Eine Markup-Sprache für die Dokumentenerstellung" )
https://github.com/saurabtharu/CV
https://raw.githubusercontent.com/saurabtharu/CV/main/resume.typ
typst
#import "template.typ": resume, header, resume_heading, edu_item, exp_item, project_item, skill_item, achievement_item, certificate_item, paper_item #show: resume #header( name: "<NAME>", phone: "+977-9868960361", email: "<EMAIL>", linkedin: "LinkedIn", github: "Github", gitlab: "Gitlab", portfolio: "P...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_ui_threepenny.typ
typst
#import "../../../acronyms.typ": ac = Threepenny-GUI The Threepenny-GUI framework was written in Haskell to create desktop applications that run in a web browser. The framework can be combined with Electron for a tighter integration with the desktop environment. Threepenny starts a local web server written in Haskel...
https://github.com/hemmrich/CV_typst
https://raw.githubusercontent.com/hemmrich/CV_typst/master/modules/education.typ
typst
// Imports #import "../template/template.typ": cvSection, cvEntry, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Education") #cvEntry( title: [Resident Physician, Otolaryngology-Head&Neck Surgery], soc...
https://github.com/danilasar/conspectuses-3sem
https://raw.githubusercontent.com/danilasar/conspectuses-3sem/master/Основы_теории_изучаемого_языка/240918_члены_2.typ
typst
== Обстоятельства + Обстоятельство метста, времени и цели: #quote[He went down _sometimes_ _to work_ in his _garden_.] + Обстоятельство образа действия: #quote[He ate _greedily_]. + Обстоятельство условия: #quote[_But for your help_ I should have failed.] + Обстоятельство меры и степени и обстоятельство следствия: #quo...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/styling/show-text.typ
typst
// Test text replacement show rules. --- show-text-basic --- // Test classic example. #set text(font: "Roboto") #show "Der Spiegel": smallcaps Die Zeitung Der Spiegel existiert. --- show-text-regex --- // Another classic example. #show "TeX": [T#h(-0.145em)#box(move(dy: 0.233em)[E])#h(-0.135em)X] #show regex("(Lua)?(...
https://github.com/YDX-2147483647/stretching-cat
https://raw.githubusercontent.com/YDX-2147483647/stretching-cat/main/main.typ
typst
// https://www.unicode.org/emoji/proposals.html #let project(emoji-name: none, submitter: none, date: datetime.today(), body) = { let title = "Proposal for Emoji: " + emoji-name set document(title: title, author: submitter) set text(lang: "en", font: ("New Computer Modern", "Source Han Serif")) align(center)...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/num/parse.typ
typst
Apache License 2.0
#import "/src/utils.typ": content-to-string // full: (sign, integer, decimal, exponent, power) // (sign, integer, decimal) #let parse(options, number, full: false) = { let typ = type(number) let result = if typ == content { content-to-string(number) } else if typ in (int, float) { str(number) } else if...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/106.%20convergence.html.typ
typst
convergence.html Why TV Lost March 2009About twenty years ago people noticed computers and TV were on a collision course and started to speculate about what they'd produce when they converged. We now know the answer: computers. It's clear now that even by using the word "convergence" we were giving TV too much credi...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/spacing_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Missing spacing. // // Error: 11-13 missing argument: amount // Totally #h() ignored
https://github.com/thanhdxuan/dacn-report
https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/report-week-6/contents/02-introduce.typ
typst
= Tổng quan Báo cáo tuần 6 của nhóm tập trung vào giải quyết những vấn đề theo sự hướng dẫn của GVHD (Thầy Quang), bao gồm: - Xây dựng UI cho bộ công cụ - Xử lý trường hợp bị khuyết dữ liệu
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/multicore/pset3.typ
typst
#import "template.typ": * #show: template.with( title: "6.5081 PSET 3", subtitle: "<NAME>", pset: true ) = Problem 1 #define( title: "Sequential Consistency" )[ Recall that sequential consistency means that we can change the order of events between threads, but not within a thread. Thus, linearizability is ...
https://github.com/SkytAsul/trombinoscope
https://raw.githubusercontent.com/SkytAsul/trombinoscope/main/trombi-full.typ
typst
MIT License
#import "data/trombi.typ" : add-images #set page("a5", margin: (top: 1cm, left: 0.5cm, right: 0.5cm, bottom: 0.5cm), footer: context [ #if calc.even(counter(page).get().at(0)) { align(left, counter(page).display()) } else { align(right, counter(page).display()) } ], footer-descent: -10%) #page(backgroun...
https://github.com/DanielMeiborg/university_exercises
https://raw.githubusercontent.com/DanielMeiborg/university_exercises/main/modules/Grundbegriffe_der_Informatik/Blatt_0/main.typ
typst
#import "@preview/unequivocal-ams:0.1.1": ams-article, theorem, proof #show: ams-article.with( title: [GBI WS 24/25 – Übungsblatt 0], authors: ( ( name: "<NAME> 2599041", ), )) #set heading(numbering: none) = Aufgabe 2 == a $A = {1, 2}$ $B = {2, 3}$ $ (A union B) \\ B = {1} != A union (B \\ B...
https://github.com/Caellian/UNIRI_voxels_doc
https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/summary.typ
typst
#import "@preview/wordometer:0.1.1": * #text(size: 14pt, weight: "bold")[Sažetak] #v(5pt) Treba biti 100-300 riječi: #word-count(total => [ Cilj završnog rada je proči kroz različite metode rasterizacije volumetrijskih podataka u području računalne znanosti. Rad započinje s uvođenjem različitih podatkovnih strukt...
https://github.com/dankelley/typst_templates
https://raw.githubusercontent.com/dankelley/typst_templates/main/ex/README.md
markdown
MIT License
# Instructions ## Installing typst On a macOS machine, type ```sh brew install typst ``` to install typst. This assumes that you have 'homebrew' installed. If not, please consult the typst webpage for other ways to install typst. ## Setting up the qe template Do as follows (for version 0.0.2; change that sequenc...
https://github.com/luiswirth/numpde-slides
https://raw.githubusercontent.com/luiswirth/numpde-slides/main/src/math.typ
typst
#let avec(a) = math.upright(math.bold(a)) #let amat(a) = math.upright(math.bold(a)) #let vvec(a) = math.accent(math.bold(a), math.arrow) #let nvec(a) = math.accent(avec(a), math.hat) #let xv = $avec(x)$ #let ii = $dotless.i$ #let linf(a) = math.sans(a) #let bilf(a) = math.sans(a) #let grad = $avec("grad")$ #let in...
https://github.com/Servostar/dhbw-abb-typst-template
https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/README.md
markdown
MIT License
<div align="center"> <h1>DHBW-ABB template for Typst</h1> <img src="https://img.shields.io/gitea/last-commit/dhbw/dhbw-abb-typst-template?gitea_url=https%3A%2F%2Fgit.montehaselino.de"> <img src="https://img.shields.io/github/actions/workflow/status/Servostar/dhbw-abb-typst-template/ci.yml?label=build"> ...
https://github.com/k0tran/bsbd_labs_s2
https://raw.githubusercontent.com/k0tran/bsbd_labs_s2/master/reports/lab2.typ
typst
#import "template.typ": * #show: lab.with(n: 2) = Read commited Для начала выберем две роли, подходящие для выполнения данной операции. Пусть это будет sales_role для совершения операции (INSERT в sales.sales) и staff_role для наблюдения за операцией. #pic(img: "lab2/rc_1.png")[READ COMMITED транзакция] При этом пр...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/styles.typ
typst
#let mmgg-title = ( size: 18pt, weight: "bold" ) #let chess-piece-size = ( width: 10pt, height: 10pt ) #let dash-stroke = (thickness: 0.5pt, dash: "dotted") #let finale = ( stroke: (thickness: 0.5pt, dash: "dotted"), inset: 3pt, ) #let strokes = ( soft: (dash: "loosely-dotted", thickness: 0.5pt, paint: b...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/107.%20angelinvesting.html.typ
typst
angelinvesting.html How to Be an Angel Investor March 2009(This essay is derived from a talk at AngelConf.)When we sold our startup in 1998 I thought one day I'd do some angel investing. Seven years later I still hadn't started. I put it off because it seemed mysterious and complicated. It turns out to be easier ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/mat.typ
typst
// Test matrices. --- math-mat-semicolon --- // Test semicolon syntax. #set align(center) $mat() dot mat(;) dot mat(1, 2) dot mat(1, 2;) \ mat(1; 2) dot mat(1, 2; 3, 4) dot mat(1 + &2, 1/2; &3, 4)$ --- math-mat-sparse --- // Test sparse matrix. $ mat( 1, 2, ..., 10; 2, 2, ..., 10; dots.v, dots.v, dots.dow...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/book_notes/main.typ
typst
#import "template.typ": * #show: template.with( title: [OSTEP], short_title: "operating system - three easy pieces", description: [ OSTEP笔记。 ], date: datetime(year: 2023, month: 10, day: 30), authors: ( ( name: "0x1B05", github: "https://github.com/0x1B05", homepage: "https://gith...
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/Analysis/real.typ
typst
#import "/mathenv.typ": * = The Real Numbers The construction of real numbers does not like the operation we have done before. What we need is a new system, which is said to be _continuous_. We say a system to be continuous, when putting all these numbers into a line with some order (suppose we can), given any two nu...
https://github.com/coljac/swinburne-phd-typst
https://raw.githubusercontent.com/coljac/swinburne-phd-typst/main/README.md
markdown
# Swinburne PhD thesis template A Typst template for Swinburne University PhD theses. See `thesis.typ` for an example/skeleton template. For convenience I have defined `citep` and `citet` functions in the template to aid in transitioning from LaTeX. Some examples on usage are included in the `thesis.typ` document. ...
https://github.com/m-pluta/bias-in-ai-report
https://raw.githubusercontent.com/m-pluta/bias-in-ai-report/main/report/table.typ
typst
= Ethical Impact Assessment <S_EIA> #show table.cell.where(y: 0): strong #let term-spacing = 0.5em; #let stakeholder-spacing = 1em; #figure( table( columns: (100pt, 220pt, 1fr), inset: ( x: 6pt, y: 8pt ), fill: (_,y) => if y == 0 {luma(230)}, align: (x, y) => if y == 0 {center + hor...
https://github.com/Ttajika/typst_slide
https://raw.githubusercontent.com/Ttajika/typst_slide/main/library/parameter.typ
typst
//mode tのときの透明率 #let trans = 75%
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/doc/chapters/2-features.typ
typst
MIT License
#import "/doc/util.typ": load-examples, show-examples, issue == Contextual Hydra will take contextual information into account to provide good defaults, such as inferring the reading direction and binding from the page and text styles to offer correct handling of books as seen in @book-mode. == Custom Elements <custo...
https://github.com/donabe8898/typst-thesis-template
https://raw.githubusercontent.com/donabe8898/typst-thesis-template/main/resume/resume.typ
typst
Apache License 2.0
#import "../lib/meta.typ": meta #let resume( pdftitle: none, title: none, author: none, profile: [], date: none, size: "a4", header: none, doc, ) = { // metadata show: doc => meta( pdftitle: pdftitle, title: title, author: author, size: size, doc, ) set text(lang: "ja", re...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/start.md
markdown
--- sidebar_position: 2 --- # 开始 在开始之前,请确保您已经安装了 Typst 环境,如果没有,可以使用 [Web App](https://typst.app/) 或 VS Code 的 [Typst LSP](https://marketplace.visualstudio.com/items?itemName=nvarner.typst-lsp) 和 [Typst Preview](https://marketplace.visualstudio.com/items?itemName=mgt19937.typst-preview) 插件。 要使用 Touying,您只需要在文档里加入 ``...
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/content1.typ
typst
#import "src/exports.typ": * #import "theme.typ": * = #smallcaps("Introduction") == Problem 给定一个包含 $m$ 个查询 ${q_1, q_2, ..., q_m}$ 的集合和一个包含 $n$ 个数据向量 ${v_1, v_2, ..., v_n}$ 的集合,如何快速为每个查询 $q_i$ 找到其最相似的前 $k$ 个向量? #line(length: 100%) #side-by-side()[ *最相似的向量* 可以通过欧几里得距离或者余弦角来量化相似程度。 ][ #figure( image("img/qv.svg...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page Hard #linebreak() break.
https://github.com/danilasar/conspectuses-3sem
https://raw.githubusercontent.com/danilasar/conspectuses-3sem/master/Операционки/240912_архитектура_вычислительной_системы.typ
typst
= Архитектура вычислительной системы / Архитектура вычислительной системы: компоновка компонентов и связи между ними. Это состав, компоненты, принципы их взаимодействия и структура. Северный мост соединяет процессор, кеш, тактовый генератор и ОЗУ через шину данных. Кроме неё есть шина адреса и шина управления. Такая с...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/repeat_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test dots with RTL. #set text(lang: "ar") مقدمة #box(width: 1fr, repeat[.]) 15
https://github.com/FrightenedFoxCN/typst-langpack
https://raw.githubusercontent.com/FrightenedFoxCN/typst-langpack/main/annotation.typ
typst
#let annot(annot: none, body) = context { if annot != none {[ #metadata((body, annot)) <__annot> ]} underline(body) } #let place-annot(hide-annot) = context { box(width: 100%)[ #for i in query(<__annot>) { text(weight: "bold", i.value.first()) linebreak() ...
https://github.com/freundTech/typst-matryoshka
https://raw.githubusercontent.com/freundTech/typst-matryoshka/main/lib.typ
typst
MIT License
#let _matryoshka-plugin = plugin("/matryoshka.wasm") /// Takes typst source and returns the compiled document as an array of pages. /// /// #example(```typ /// grid( /// columns: 2, /// gutter: 1em, /// ..matryoshka.compile-pages(" /// #set page(paper: \"a7\", flipped: true, fill: silver) /// ...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/lcd/project-presentation/sections/syntax.typ
typst
#import "/common.typ": * #new-section-slide[Syntax] #slide(title: [Syntax to define])[ - vCCS, for the parser - CCS, for encoding and output printing #pause Inspired from CAAL's syntax ] #new-section-slide[Value-passing CCS syntax] #slide(title: [Constants])[ - $n in NN$ - $k in K$ - $x in "Var"$ - $...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2023/MS-10.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], [3562], [2], [<NAME>], [CHN], [3421], [3], [<NAME>], [CHN], [3405], [4], [<NAME>], [CHN], [3319], ...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/docs/chapters/package.typ
typst
The Unlicense
= Package Description == Subsection Heading === Subsubsection Heading ==== Paragraph Heading ===== Subparagraph Heading
https://github.com/QuadnucYard/pavemat
https://raw.githubusercontent.com/QuadnucYard/pavemat/main/examples/examples.typ
typst
MIT License
#import "../src/lib.typ": pavemat #import "logo.typ": logo #{ show: align.with(center) logo } #let a = $ mat(1, 2, 3; 4, 5, 6; 7, 8, 9; 10, 11, 12) $ This is the original matrix: $ display(#a) $ Let's add some dashed lines and fillings! #let e1 = pavemat( a, pave: "dSDSDSLLAAWASSDD", fills: ( "1-1"...
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/CR/template.typ
typst
#let template( title: none, presents: (), signature: "", sfont: "Monaspace Xenon", body ) = { set text(weight: "bold", font: sfont, size: 16pt, lang: "fr") set align(center) if title != none { title } set text(weight: "regular", size: 12pt) set align(left) if presents != none { [ ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/shorthand-01.typ
typst
Other
// Make sure non-breaking and normal space always // have the same width. Even if the font decided // differently. #set text(font: "New Computer Modern") a b \ a~b
https://github.com/teamdailypractice/pdf-tools
https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/examples/example-12.typ
typst
#set page("a4") #set text( font: "TSCu_SaiIndira", size: 13pt ) #set align(center) = 1 கடவுள் வாழ்த்து \ #set align(left) அகரம் முதல, எழுத்து எல்லாம்; ஆதி- \ பகவன் முதற்றே, உலகு. \ \ கற்றதனால் ஆய பயன் என்கொல்-வால்-அறிவன் \ நல் தாள் தொழாஅர் எனின்?. \ \ மலர்மிசை ஏகினான் மாண் அடி சேர்ந்தார் \ நிலமிசை நீடு வாழ்வார்....
https://github.com/zyf722/typst-tabler-icons
https://raw.githubusercontent.com/zyf722/typst-tabler-icons/main/src/lib-gen.typ
typst
MIT License
// Generated based on Tabler Icons v3.20.0 #import "lib-impl.typ": tabler-icon #let tabler-icon-map = ( "a-b": "\u{ec36}", "a-b-2": "\u{f25f}", "a-b-off": "\u{f0a6}", "abacus": "\u{f05c}", "abacus-off": "\u{f3b6}", "abc": "\u{f567}", "access-point": "\u{ed1b}", "access-point-off": "\u{ed1a}", "acces...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/arg-flavor.typ
typst
Apache License 2.0
#let my-f(arg1, arg2, args: none) = { arg1 + arg2 } #let my-f(arg1, arg2, args: none) = { arg1 + arg2 }
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/haftungsausschluss.typ
typst
Creative Commons Zero v1.0 Universal
#import "templates/tmpl_page.typ": tmpl_page #import "templates/form.typ": form, form_field, form_inline #show: doc => tmpl_page( title: "Haftungsausschluss", version: "v1.1", change_date: "16.10.2024", doc, ) #text(10pt, style: "italic")[ Bitte leserlich in Druckbuchstaben ausfüllen. Alle Felder sind Pflic...
https://github.com/CodeHex16/documentazione
https://raw.githubusercontent.com/CodeHex16/documentazione/main/verbali/interni/source/2024-10-21_Incontro-Iniziale.typ
typst
#import "../../../template/verbale.typ": * #show : doc => verbale( titolo: "Incontro conoscitivo iniziale", ordine-del-giorno: ("Nome del gruppo", "Logo del gruppo", "Stesura del template per documenti", "Scelta dei canali di comunicazione","Prima discussione sui capitolati"), data: [21/10/2024], ora: ...
https://github.com/AHaliq/DependentTypeTheoryReport
https://raw.githubusercontent.com/AHaliq/DependentTypeTheoryReport/main/README.md
markdown
# User Guide This report is written using `typst`. Find installation steps [here](https://github.com/typst/typst#installation). Use VSCode with `Tinymist Typst` extension for better experience viewing the source code. You can compile to pdf with it as well. Otherwise use the following command: ```bash typst compile...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/feebf7-2023_fall_TA/lectures/lecture_0.typ
typst
#align( center, text(17pt)[ 2023 秋季学期 数学分析 B1 ], ) = 课程信息 == 授课教师 屠彩凤老师 - *地址*:管科楼1309 - *邮箱*:`<EMAIL>` == 推荐教材 - 《数学分析讲义》 程艺 陈卿 李平 - 《数学分析教程》 常庚哲 史济怀 - 《数学分析》 卓里奇 == 助教 - *马天开* `<EMAIL>` - *杨锴闻* `<EMAIL>` - *曲司成* `<EMAIL>` == 成绩评定 待定. == 作业要求 - 每周一交上周作业 - ddl每周五3,4节课之间(即每周五上午10:35之前). - 正常时间内提交的作...
https://github.com/DoeringChristian/CV
https://raw.githubusercontent.com/DoeringChristian/CV/main/main.typ
typst
#import "moderncv.typ": * #show: project.with( title: "Curriculum Vitae", firstname: "Christian", familyname: "Döring", github: "doeringchristian", phone: "", email: "<EMAIL>", ) = Education #cventry( start: (month: "April", year: 2023), end: (month: "", year: "present"), role: "M.Sc. Electrical and Computer Eng...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/135.%20airbnb.html.typ
typst
airbnb.html Subject: Airbnb March 2011Yesterday <NAME> published a remarkable post about missing Airbnb. VCs miss good startups all the time, but it's extraordinarily rare for one to talk about it publicly till long afterward. So that post is further evidence what a rare bird Fred is. He's probably the nicest VC I...
https://github.com/Lambdaris/typst-auto-render
https://raw.githubusercontent.com/Lambdaris/typst-auto-render/main/README.md
markdown
MIT License
This script acts like [auto-render for KaTeX](https://github.com/KaTeX/KaTeX/tree/main/contrib/auto-render) and render mathmatical text in [Typst](https://typst.app/) form based on [wypst](https://github.com/0xpapercut/wypst). ### Build ```shell git clone https://github.com/Lambdaris/typst-auto-render.git cd typst-au...
https://github.com/f7ed0/typst-template
https://raw.githubusercontent.com/f7ed0/typst-template/master/template_simple.typ
typst
#import "lib/blocks.typ": * #let init(type : [], title : [], authors:[], info : [], decoration: [],desc : [], allowance : 175pt, outline_depth : 3, preamble : [], doc) = { set text(size:10pt, font:"Montserrat", weight: 500, lang:"fr",hyphenate: false) show raw: set text(font: "Fira Code",size: 9pt,ligatures: true)...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/tests/first-slide.typ
typst
#import "../polylux.typ": * #set page(paper: "presentation-16-9", height: auto) #set text(size: 25pt) #let slide = polylux-slide #slide[ == First slide This is supposed to appear on the first PDF page. ] #slide[ == Second slide #lorem(10) ]
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/image_10.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 14-168 failed to parse SVG (missing root node) // #image.decode(`<svg height="140" width="500"><ellipse cx="200" cy="80" rx="100" ry="50" style="fill:yellow;stroke:purple;stroke-width:2" /></svg>`.text, format: "svg")
https://github.com/Area-53-Robotics/Unofficial-Old-53E-NB
https://raw.githubusercontent.com/Area-53-Robotics/Unofficial-Old-53E-NB/main/entries/post_reveal_entry.typ
typst
#import "/packages.typ": * #import components: * // The show rule passes all content in this file into the `create-body-entry` function. // This just means that we don't need an extra level of indentation when writing this entry. #show: create-body-entry.with( title: "Post Reveal Thoughts", type: "brainstorm", d...
https://github.com/gyarab/2023-4e-ruzicka-jako_pavouk
https://raw.githubusercontent.com/gyarab/2023-4e-ruzicka-jako_pavouk/main/src-docs/obsah.typ
typst
#set page(numbering: none) #show outline.entry: it => par(first-line-indent: 0em, // krejzy úprava obsahu https://stackoverflow.com/questions/77031078/how-to-remove-numbers-from-outline if it.at("label", default: none) == <modified-entry> { it // prevent infinite recursion } else if it.level == 1 { v(8pt...
https://github.com/fabriceHategekimana/master
https://raw.githubusercontent.com/fabriceHategekimana/master/main/6_Conclusion/Synthèse.typ
typst
#pagebreak() = Conclusion == Synthèse Dans ce projet, j'ai tenté de construir un système de type qui pourrait aider à la construction de module et librairies pour les sciences de données plus facile. Il s'est trouvé que le projet est s'est révélé plus efficace que prévu dans certains cas mais inéfficace dans d'autre...
https://github.com/monaqa/typscrap.nvim
https://raw.githubusercontent.com/monaqa/typscrap.nvim/master/class/component.typ
typst
#import "component/code.typ" #import "component/href.typ" #import "states.typ" #import "colors.typ" #let todos(body) = { let checkbox(done: false) = context { let clr = text.fill set align(center) box( stroke: 0.5pt + if done { gray } else { clr }, width: 0.7em, height: 0.7em, if ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/057.%20softwarepatents.html.typ
typst
softwarepatents.html Are Software Patents Evil? March 2006(This essay is derived from a talk at Google.)A few weeks ago I found to my surprise that I'd been granted four patents. This was all the more surprising because I'd only applied for three. The patents aren't mine, of course. They were assigned to Viaweb, ...
https://github.com/donRumata03/aim-report
https://raw.githubusercontent.com/donRumata03/aim-report/master/pres/GOLEM%20overview.typ
typst
#import "../lib/presentation-template.typ": * #show: template.with(name: "Обзор GOLEM", time: 35, bad-projector: false, authors: "V") #show list: it => { show list.item: set list(marker: text(sym.arrow.curve, font: "New Computer Modern Math")) it } #slide[ Дисклеймер: презентация больше адаптирована для рассказ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/user_external_ever.typ
typst
Apache License 2.0
// path: base.typ #let tmpl(content, authors: (), font: none, class: "article") = { if class != "article" and class != "letter" { panic("") } set document(author: authors) set text(font: font) set page(paper: "a4") if class == "article" set page(paper: "us-letter") if class == "letter" content } --...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/043.typ
typst
#let date = datetime( year: 2023, month: 5, day: 24, ) #metadata(( title: "cpp maya plugin example", subtitle: [MayaPlugin], author: "dashuai009", description: "the examples of cpp maya plugin ", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf #link("http...
https://github.com/teamdailypractice/pdf-tools
https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/examples/example-13.typ
typst
#table( columns: 2, [*Amount*], [*Ingredient*], [360g], [Baking flour], [250g], [Butter (room temp.)], [150g], [Brown sugar], [100g], [Cane sugar], [100g], [70% cocoa chocolate], [100g], [35-40% cocoa chocolate], [2], [Eggs], [Pinch], [Salt], [Drizzle], [Vanilla extract], )
https://github.com/ut-khanlab/master_thesis_template_for_typst
https://raw.githubusercontent.com/ut-khanlab/master_thesis_template_for_typst/main/main.typ
typst
#import "./template.typ": * #show: master_thesis.with( title: "Typstで書く修論のテンプレ", author: "右往 左往", university: "東京大学大学院", school: "工学系研究科", department: "航空宇宙工学専攻", id: "12-345678", mentor: "魚 竿", mentor-post: "准教授", class: "修士", abstract_ja: [ 近年の宇宙ってほんますごい. 近年の宇宙ってほんますごい. 近年の宇宙ってほんますごい. 近年の宇宙っ...
https://github.com/erictapen/typst-invoice
https://raw.githubusercontent.com/erictapen/typst-invoice/main/template/main.typ
typst
MIT No Attribution
#import "@preview/classy-german-invoice:0.3.0": invoice #show: invoice( // Invoice number "2023-001", // Invoice date datetime(year: 2024, month: 09, day: 03), // Items ( ( description: "The first service provided. The first service provided. The first service provided", price: 200, ), ...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/system-implementation/index.typ
typst
= System Implementation #include "./technology.typ" == Implementation Details To establish a fully functional Language Server Protocol (LSP) ecosystem, we've meticulously implemented each module outlined in @sec-sys-arch. The following subsections detail the specific steps and considerations involved in crea...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/graph/morph.typ
typst
#import "../lib.typ": * #show heading: heading_fct Soient $G_1 = (S_1, E_1)$ et $G_2 = (S_2, E_2)$ deux graphes, on dit que $f : S_1 -> S_2$ est un _morphisme_ si pour tout $(x,y) in E_1$ on a $(f(x),f(y)) in E_2$. On dit que $f$ est un _isomorphisme_ si $f$ est bijective et que la bijection réciproque est aussi un m...
https://github.com/AHaliq/CategoryTheoryReport
https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter1/index.typ
typst
= Categories == Notes #include "notes.typ" == Mandatory Exercises #include "mandatory.typ" == Relevant Exercises #include "optional.typ"
https://github.com/maxlambertini/scravellerchargen
https://raw.githubusercontent.com/maxlambertini/scravellerchargen/main/characters.typ
typst
#set text(size: 10pt, font: "Chivo") #set page(paper:"a4",margin: 1cm, flipped: true) #show heading.where(level: 1) : it => [ #text( font: "Tomorrow", weight: 800, size: 16pt, it.body ) #v(6pt) ] #let character(ch) = block(inset:3mm, stroke: 1pt + gray, height: 100%)[ #set align(left) = #ch.name ...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/06-field-theory/03-field-extension.typ
typst
Other
#import "../../utils/core.typ": * == Расширение полей #ticket[Степень расширения. Мультипликативность степени] #def[ $K$ --- подполе $L$, то говорят, что $L$ --- _расширение_ $K$. Обозначают $L fg K$. ] #examples[ + $RR fg QQ$ + $CC fg RR$ + $K(x) fg K$ + $K fg K$ ] #notice[ Если $L fg ...
https://github.com/chaosarium/typst-templates
https://raw.githubusercontent.com/chaosarium/typst-templates/main/homework/lib.typ
typst
#let total_pages = locate(loc=>counter(page).final(loc).at(0)) #let homework_layout(doc, title, font: "auto", font_size: 11pt, leading: .6em, default_lang: "sml", ) = { set page( margin: ( y: 1in, x: 1in, ), paper: "us-letter", header: [ #grid(columns: (2fr, 1fr), gutter:...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/requirements-analysis/monaco.typ
typst
=== Ungrammar Monaco ==== List of Usecase - Use LSP Features ==== Usecase Diagram #figure( image("/diagrams/generated/usecase/uc-ungram-monaco.svg", width: 80%), caption: [Usecase Diagram of Ungrammar Monaco] ) ==== Usecase Specifications #[ #set raw(lang: "gherkin", block: true) #figure(...
https://github.com/HynDuf/typst-cv
https://raw.githubusercontent.com/HynDuf/typst-cv/master/template/modules_en/skills.typ
typst
Apache License 2.0
// Imports #import "../../lib.typ": cvSection, cvSkill, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #cvSection("Skills") #cvSkill( type: [Languages], info: [Vietnamese #hBar() English #hBar() Japanese (Learning)], ) #cvSkill( type: [Tech Stack], info: [C...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/networks/lec3.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 3", subtitle: "14.15" ) = Eigenvector Centrality In addition to the definitions of importance we got in the previous lectures for nodes in a graph, we will not introduce the new notion of *eigenvector centrality*. #define( title: "Eigenvector Cent...
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/templates/abstract.typ
typst
#heading("Abstract", outlined: false) #v(0.5em) This study explores the feasibility and impact of adopting micro frontend architecture for the Deutsche Klassenlotterie Berlin project, an online lottery platform operated by LOTTO Berlin. The platform's existing monolithic architecture, developed in 2014, has become out...
https://github.com/swaits/typst-collection
https://raw.githubusercontent.com/swaits/typst-collection/main/finely-crafted-cv/0.1.0/src/constants.typ
typst
MIT License
// Constants #let SIZE_HUGE = 1.3em #let SIZE_LARGE = 1.1em #let SIZE_NORMAL = 1em #let SIZE_SMALL = 0.9em #let SIZE_TINY = 0.7em #let BODY_FONT = "Libertinus Serif" #let BODY_SIZE = 11pt #let BODY_WEIGHT = "light" #let HEADING_FONT = "Libertinus Serif" #let PAGE_MARGIN = 0.5in #let HEADER_SIZE = SIZE_SMALL #let HEA...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/repr-01.typ
typst
Other
// Numerical values. #1 \ #1.0e-4 \ #3.15 \ #1e-10 \ #50.368% \ #0.0000012345pt \ #4.5cm \ #12e1pt \ #2.5rad \ #45deg \ #1.7em \ #(1cm + 0em) \ #(2em + 10pt) \ #2.3fr
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Empty raw block. Empty raw block:``.