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-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/README.md
markdown
Apache License 2.0
# Tutorial Typst 中文教程 [![下载最新版本](https://custom-icon-badges.demolab.com/badge/-Download-blue?style=for-the-badge&logo=download&logoColor=white "下载最新版本")](https://nightly.link/typst-doc-cn/tutorial/workflows/build/main/ebook.zip) **(latest 版本)** [![下载最新版本](https://custom-icon-badges.demolab.com/badge/-Download-blue?s...
https://github.com/topdeoo/NENU-Thesis-Typst
https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/utils/color.typ
typst
#let colorize(svg, color) = { let blk = black.to-hex() // You might improve this prototypical detection. if svg.contains(blk) { // Just replace svg.replace(blk, color.to-hex()) } else { // Explicitly state color svg.replace("<svg ", "<svg fill=\"" + color.to-hex() + "\" ") } }
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/circuit.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": canvas #import "@preview/tidy:0.3.0" /// Draws a block circuit diagram /// /// This function is also available at the package root /// /// - body (none, array, element): A code block in which draw functions have been called /// - length (length, ratio): Optional base unit /// -> none #le...
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/README.md
markdown
Creative Commons Zero v1.0 Universal
# offizielle Dokumente des swablab e.V. ## Installation typst 1. Download der ausführbaren Datei https://github.com/typst/typst/releases ## Installation der benötigten Schriften - [Noto](https://fonts.google.com/specimen/Noto) - [Ubuntu](https://fonts.google.com/specimen/Ubuntu) ## Generieren der PDFs ### Linux ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/font-01.typ
typst
Other
// Test string body. #text("Text") \ #text(red, "Text") \ #text(font: "Ubuntu", blue, "Text") \ #text([Text], teal, font: "IBM Plex Serif") \ #text(red, font: "New Computer Modern", [Text]) \
https://github.com/lphoogenboom/typstThesisDCSC
https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/chapters/someBasics.typ
typst
#import "../typFiles/chapter.typ": * #show: chapter.with(chapterTitle: "Some Basics", content: [ dasdasdasfgdfgfg ])
https://github.com/AnsgarLichter/cv-typst
https://raw.githubusercontent.com/AnsgarLichter/cv-typst/main/settings/styles.typ
typst
// General Settings #let pageStyle = ( paper: "a4", margin: ( left: 1cm, right: 1cm, top: 0.8cm, bottom: 0.4cm, ) ) #let colors = ( accent: rgb("#007fad") ) #let bodyStyle = ( fonts: ("Source Sans Pro", "Font Awesome 6 Brands", "Font Awesome 6 Free"), size: 10pt, weight: "regular" ) #let l...
https://github.com/RomainPierre7/ENSEIRB-report-template
https://raw.githubusercontent.com/RomainPierre7/ENSEIRB-report-template/main/lib.typ
typst
MIT License
#let report( ) = { align(center, [ RAPPORT ]) }
https://github.com/N3M0-dev/Notes
https://raw.githubusercontent.com/N3M0-dev/Notes/main/CS/CS%3AAPP/note.typ
typst
#import "@local/note_template:0.0.1": * #set heading(numbering: "1.1") #outline(indent: true) = Cache Part == Generit Cache Memory Organization For a computre system where each memeory address has $m$ bits, the cache memory is organized as follows: 1. The cache memory is divided into $S=2^s$ sets, each containing $...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/其它/index.typ
typst
#import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: none, lang: "zh", ) - 存储一些杂项笔记,如 + makefile + VSCode + Linux 和 CLI(zsh, powershell, terminal) + git
https://github.com/liuzhuan/reading-list
https://raw.githubusercontent.com/liuzhuan/reading-list/master/books/typescript-handbook/README.md
markdown
# TypeScript Handbook 目录 - [基本类型](#基本类型) - [变量声明](#变量声明) - [接口](#接口) - [类](#类) - [函数](#函数) - [泛型](#泛型) - [类型推断](#类型推断) - [Symbols](#Symbols) - [迭代器和生成器](#迭代器和生成器) - [模块](#模块) - [Namespaces](./namespaces.md) ## [基本类型][1] ```ts // Boolean let isDone: boolean = true; // Number let decimal: number = 6; let hex: number...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/template.typ
typst
MIT License
#let execption_chapter=( "RÉSUMÉ.", "INTRODUCTION GÉNÉRALE.", "RÉFÉRENCES BIBLIOGRAPHIQUES.", // "CONCLUSION.", "CONCLUSION GÉNÉRALE.", "ANNEXE.", "ANNEXE 1.", "ANNEXE 2.", ) #let execption_outline=( "REMERCIEMENTS.", "TABLE DES MATIÈRES.", ) // #let intorduction_outline=( // [Définitions.], //...
https://github.com/darioglasl/Arbeiten-Vorlage-Typst
https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/06_Ergebnisse/00_index.typ
typst
Dieses Kapitel umfasst die Resultate dieser Arbeit und es wird darauf eingegangen, ob die Ziele erfüllt sind. Weiter werden die noch offenen Bugs und Empfehlungen zu Erweiterungen der ... Implementation aufgezeigt. Abschliessend werden allgemeine Verbesserungsmöglichkeiten der Web-Applikation beschrieben. #include "01...
https://github.com/yasemitee/Teoria-Informazione-Trasmissione
https://raw.githubusercontent.com/yasemitee/Teoria-Informazione-Trasmissione/main/2023-10-13.typ
typst
#import emoji: square = Codice di Shannon == Definizione Abbiamo trovato un modo per verificare se un codice è istantaneo (osservare i prefissi) e un modo per verificare se una serie di $n$ lunghezze positive possono essere usate come lunghezze di un codice istantaneo (disuguaglianza di Kraft), ma quale di questi co...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/ziele_und_aufgaben/anforderungsbereiche.typ
typst
Other
#import "/src/template.typ": * == #ix("Anforderungsbereiche", "Anforderungsbereich") Die Anforderungsbereiche sind durch die EPA festgelegt und erklären, in welchen Dimensionen die Aufgaben des Philosophieunterrichts stattfinden sollen:#en[@KMK2006_EPAPhil] #orange-list-with-body[*Anforderungsbereich I -- Problemerfa...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week3.typ
typst
#import "../../utils.typ": * #section("JWT Token") #columns( 2, [ #align( center, [#image("../../Screenshots/2023_10_02_10_55_11.png", width: 100%)], ) #colbreak() A jwt token is created with a header, the payload and a secret key, which together combines into a hash that will be st...
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/satzung.typ
typst
Creative Commons Zero v1.0 Universal
#import "templates/tmpl_doc.typ": tmpl_doc #show: doc => tmpl_doc( title: "Satzung", changes: ( [v1.0], [19.10.2020], [erste Fassung], ), doc, ) #let title_group(title) = { show heading: it => [ #set text(font: "Ubuntu", 24pt) #strong[#it.body] #v(1.25em, weak: true) ] heading(title, num...
https://github.com/kazewong/lecture-notes
https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/backend.typ
typst
#set page( paper: "us-letter", header: align(center, text(17pt)[ *Building an API server* ]), numbering: "1", ) #import "./style.typ": style_template #show: doc => style_template(doc,) = Foreword In my experience, collecting and interfacing with data are usually by far the most difficult part of a projec...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-12.typ
typst
Other
// Error: 3-6 cannot mutate a constant: box #(box = 1)
https://github.com/maucejo/presentation_polylux
https://raw.githubusercontent.com/maucejo/presentation_polylux/main/src/presentation-template.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import "_boxes.typ": * #import "_slides.typ": * #let presentation( aspect-ratio: "16-9", title: [Title], short-title: "", author: none, laboratory: "", lang: "fr", logo: image("resources/assets/logo_cnam_lmssc.png"), footer-logo: image("resources/assets/lecnam.png")...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-18.typ
typst
Other
// Error: 10-15 expected identifier, found string #let foo("key": b) = key
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/templates/competition.typ
typst
Creative Commons Attribution Share Alike 4.0 International
// FROM NOTEBOOKINATOR /// A Series of tables displaying match data from a tournament. Useful for tournament analysis entries. /// /// - match (string): The name of the match /// - red_alliance (dictionary): The red alliance /// - blue_alliance (dictionary): The blue alliance /// - won (boolean): Whether you won the m...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/01-number-theory/05-gcd.typ
typst
Other
#import "../../utils/core.typ": * == Наибольший общий делитель #def[ $R$ --- коммутативное кольцо, $a, b in R$. Элемент $d$ называется наибольшим общим делителем, если: + $d divides a, space d divides b$ + $d' divides a, space d' divides b ==> d' divides d$ ] #pr[ + $d_1, space d_2$ --- н...
https://github.com/MasterTemple/typst-bible-plugin
https://raw.githubusercontent.com/MasterTemple/typst-bible-plugin/main/README.typ
typst
#import "bible.typ": bible_footnote, bible_quote, bible_quote_fmt #import "conf.typ": conf #show: doc => conf(doc) #show link: underline // create short-hands #let ul = underline #let fn = footnote #let string(content) = { let content = "\"" + content + "\"" raw(lang: "js", content) } = Typst Bible [insert scre...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/link-09.typ
typst
Other
// Test link to label. Text <hey> #link(<hey>)[Go to text.]
https://github.com/PA055/5839B-Notebook
https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/drivetrain/drive-train-types.typ
typst
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Drive Train Types", type: "brainstorm", date: datetime(year: 2024, month: 3, day: 17), author: "<NAME>", witness: "<NAME>" ) = New Drive Models There exists a variety...
https://github.com/01mf02/jq-lang-spec
https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/json.typ
typst
#import "common.typ": * = JSON values <json> In this section, we will define JSON values. Furthermore, we will define several functions and operations on values. A JSON value $v$ has the shape $ v := "null" #or_ "false" #or_ "true" #or_ n #or_ s #or_ [v_0, ..., v_n] #or_ {k_0 |-> v_0, ..., k_n |-> v_n}, $ where $n...
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/4.typ
typst
#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), radius: 2pt, ) // Display block code in a larger block // with more padding. #show raw.where(block: true): block.with( fill: luma(240), inset: 10pt,...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/rahmenplaene/kompetenzen.typ
typst
Other
#import "/src/template.typ": * == #ix("Kompetenzen", "Kompetenz", "Kompetenz in den Rahmenplänen") Der Unterricht in Mecklenburg-Vorpommern ist kompetenzorientiert. Die Ausbildung von Komptenzen steht daher im Vordergrund. Für die Orientierungsstufe und weiterführende Stufe werden andere Kompetenzen angelegt als für ...
https://github.com/JamesWrigley/euxfel-polylux-theme
https://raw.githubusercontent.com/JamesWrigley/euxfel-polylux-theme/master/theme.typ
typst
#import "@preview/polylux:0.3.1": * #let xDarkBlue = rgb(11, 21, 70) #let xOrange = rgb(243, 146, 0) #let xLightBlue = rgb(85, 157, 187) #let euxfel-theme(aspect-ratio: "16-9", title: "Title", author: "Author", title-page-header: true, font: "New Computer Modern ...
https://github.com/PhilChodrow/cv
https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/awards.typ
typst
#import "../template.typ": * #cvSection("Honors and Awards") #cvEntry( title: [Liggett Instructor Distinguished Faculty Teaching Award], organisation: [Department of Mathematics, UCLA], logo: "", date: [2022], location: [Los Angeles, CA], description: emph("\"Recognizing excellence in con...
https://github.com/SundaeSwap-finance/sundae-specs
https://raw.githubusercontent.com/SundaeSwap-finance/sundae-specs/main/permissioned-pool/spec.typ
typst
#import "@preview/ssrn-scribe:0.5.0": * #import "@preview/note-me:0.2.1": note #import "@preview/chronos:0.1.0" #import "@preview/glossarium:0.4.1": * #show link: set text(blue) #show link: underline; #show: make-glossary #show: paper.with( font: "PT Serif", maketitle: true, title: [Sundae Protocol - Permissio...
https://github.com/metamuffin/typst
https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/compute/data.typ
typst
Apache License 2.0
// Test reading structured data and files. // Ref: false --- // Test reading plain text files #let data = read("/hello.txt") #test(data, "Hello, world!") --- // Error: 18-32 file not found (searched at /missing.txt) #let data = read("/missing.txt") --- // Error: 18-28 file is not valid utf-8 #let data = read("/bad.t...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/decimal.typ
typst
--- decimal-constructor --- #test(decimal(10), decimal("10.0")) #test(decimal("-7654.321"), decimal("-7654.321")) #test(decimal("\u{2212}7654.321"), decimal("-7654.321")) #test(decimal({ 3.141592653 }), decimal("3.141592653000000012752934707")) #test(decimal({ -3.141592653 }), decimal("-3.141592653000000012752934707"))...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/image-06.typ
typst
Other
// Error: 8-29 file not found (searched at typ/visualize/path/does/not/exist) #image("path/does/not/exist")
https://github.com/Sckathach/ieee-typst-template
https://raw.githubusercontent.com/Sckathach/ieee-typst-template/main/main.typ
typst
MIT License
#import "template.typ": * #show: ieee_conference.with( title: "IEEE with Typst", header: "JOURNAL OF TYPST CLASS FILES, VOL. 18, NO. 9, SEPTEMBER 2020", footer: "979-8-3503-2934-6/23/\$31.00 ©2023 IEEE", abstract: [ This document describes the most common article elements and how to use the TYPST to produce...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/op-03.typ
typst
Other
// Test custom operator. $ op("myop", limits: #false)_(x:=1) x \ op("myop", limits: #true)_(x:=1) x $
https://github.com/tedaco1/typst-example
https://raw.githubusercontent.com/tedaco1/typst-example/main/document-files/science-template.typ
typst
MIT License
#let template( title: none, authors: (), abstract: [], doc, ) = { set align(center) text(17pt, title) let count = authors.len() let ncols = calc.min(count, 3) grid( columns: (1fr,) * ncols, row-gutter: 24pt, ..authors.map(author => [ #author.name \ #author.affiliation \ ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Extrema%20Multivariable%20function.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: "Extrema Multivariable function", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") = Extrema Multiv...
https://github.com/Fr4nk1inCs/typreset
https://raw.githubusercontent.com/Fr4nk1inCs/typreset/master/src/bundles/font.typ
typst
MIT License
#import "../utils/font.typ": set-font
https://github.com/rice8y/cetzuron
https://raw.githubusercontent.com/rice8y/cetzuron/main/docs/ae/sample_ae.typ
typst
#import "@local/cetzuron:0.1.0": * #set page(width: auto, height: auto) #set text(lang: "ja", font: "TeX Gyre Termes", size: 10pt) #show regex("[\p{scx:Han}\p{scx:Hira}\p{scx:Kana}]"): set text(lang: "ja", font: "<NAME>", size: 10pt) #figure( ae(5, 3), caption: [ラベル表示 Ver. (short)] ) #figure( ae(5, 3, style: "fu...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-square_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test relative-sized child. #square(fill: eastern)[ #rect(width: 10pt, height: 5pt, fill: conifer) #rect(width: 40%, height: 5pt, stroke: conifer) ]
https://github.com/DashieTM/nix-introduction
https://raw.githubusercontent.com/DashieTM/nix-introduction/main/utils.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/codelst:2.0.1": sourcecode #let regular_page_design() = [ #align( right + top, [ #v(10pt) #rotate( 0deg, [#pad( right: 10pt, image("./figures/nix.png", width: 50pt, height: 50pt), )], ) ], ) ]; #let defau...
https://github.com/topdeoo/NENU-Thesis-Typst
https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/pages/bachelor-cover.typ
typst
#import "../fonts/fonts.typ": font-family, font-size #import "../utils/color.typ": colorize #import "../utils/datetime.typ": datetime-display-cn-cover #import "../utils/format.typ": fakebold #let bachelor-cover( //! 从 `thesis` 中传入的参数 two-side: false, fonts: (:), info: (:), //! 封面的其余参数 stoke-width: 0.5pt, ...
https://github.com/ToguyC/typst-packages
https://raw.githubusercontent.com/ToguyC/typst-packages/main/unige-notes/1.0.0/lib.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #let globalConfig(doc) = [ #set heading(numbering: "1.1") #set text(font: "New Computer Modern", size: 10pt) #show heading: it => { text(size: 14pt)[#it] v(1em) } #par(justify: true)[#doc]...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/logical/test.typ
typst
Other
#import "/src/lib.typ" as z #import "/tests/utility.typ": * #show: show-rule.with(); = logical/either == Input types #{ let schema = z.either(z.email(), z.ip()) let input-types = ( "ip (1.1.1.1)": "1.1.1.1", "email": "<EMAIL>", ) for (name, value) in input-types { utility-expect-eq( test: v...
https://github.com/npikall/typst-templates
https://raw.githubusercontent.com/npikall/typst-templates/main/templates/thesis-bui.typ
typst
// Thesis Template for Civil- und Environmentalengineers at TU Wien #let conf( title:none, language:"en", doc ) = { // set the Pagelayout set page( paper:"a4", margin: ( left: 2.5cm, right: 2.5cm, top: 2.5cm, bottom: 2.5cm ), numbering: "1", header: ...
https://github.com/luiswirth/bsc-thesis
https://raw.githubusercontent.com/luiswirth/bsc-thesis/main/src/abstract.typ
typst
#page[ = Abstract Finite Element Exterior Calculus (FEEC) is a mathematical framework for formulating the theory of the Finite Element Method in a more elegant and a more general way. This thesis aims to develop an implementation of FEEC in Rust. So far there exists only one general library for FEEC on the ...
https://github.com/Lypsilonx/Game-of-Intrigue
https://raw.githubusercontent.com/Lypsilonx/Game-of-Intrigue/main/cards.typ
typst
#import "data.typ": * #import "render.typ": * #let render_card(type, value: none, illegal: false, color: none, supertitle: none) = { let has_supertitle = supertitle != none and display_supertitle let is_role = supertitle == "Role" set text(font: "Inter Tight", weight: "medium") box( width: card_width, ...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2018/MS-03.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [马龙], [CHN], [3652], [2], [樊振东], [CHN], [3485], [3], [迪米特里 奥恰洛夫], [GER], [3306], [4], [许昕], [CHN], [3298], [5], [蒂姆 波尔], [GER], [32...
https://github.com/mgoulao/IST-MSc-Thesis-Typst-Template
https://raw.githubusercontent.com/mgoulao/IST-MSc-Thesis-Typst-Template/main/README.md
markdown
# IST-MSc-Thesis-Typst-Template
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-10.typ
typst
Other
// Test the `contains` method. #test("abc".contains("b"), true) #test("b" in "abc", true) #test("1234f".contains(regex("\d")), true) #test(regex("\d") in "1234f", true) #test("abc".contains("d"), false) #test("1234g" in "1234f", false) #test("abc".contains(regex("^[abc]$")), false) #test("abc".contains(regex("^[abc]+$"...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/columns-1_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 70pt) Hallo #columns(2)[ = A Text = B Text ]
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/typst-opts-example.md
markdown
MIT License
<!-- markdownlint-disable-file first-line-h1 --> <!-- ANCHOR: head --> ```nix { format = "png"; ppi = 300; } ``` ...will result in a command like: <!-- ANCHOR_END: head --> <!-- ANCHOR: typstcompile --> ```sh typst compile --format png --ppi 300 <source> <output> ``` <!-- ANCHOR_END: typstcompile --> <!-- A...
https://github.com/nathanielknight/tsot
https://raw.githubusercontent.com/nathanielknight/tsot/main/src/phase_prelude.typ
typst
#import("utils_phase.typst") #import("util.typst") #import "theme.typst" #show: theme.common #show: theme.phase #utils_phase.title("The Prelude") = Instructions In this phase you'll introduce the characters, their mission, and the setting. - Make moves from your playbook or from this sheet - Once you've made a mov...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/resources/typst/ch3-table-conclusion.typ
typst
Other
#set text( size: .80em, hyphenate: true, ) #set par(justify: true) #set text() #table( columns: 6, stroke: none, align: (right,) + (left,) * 2 + (center,) * 4, table.header( table.cell(rowspan: 2, align: horizon + center)[], table.vline(stroke: .5pt), table.cell(rowspan: 2, align: horizon + cen...
https://github.com/Omar-Majdoub/lab3
https://raw.githubusercontent.com/Omar-Majdoub/lab3/main/lab3/LAB3.typ
typst
#import "@preview/charged-ieee:0.1.0": ieee #set page(footer: context [ ISET BIZERTE #h(1fr) #counter(page).display( "1/1", both: true, ) ]) #show: ieee.with( title: [#text(smallcaps("Lab #3: Web Application with Genie"))], authors: ( ( name: "<NAME>", department: [...
https://github.com/lphoogenboom/typstThesisDCSC
https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/typFiles/chapter.typ
typst
// !!!! // STUDENTS, DO NOT EDIT THIS FILE! // !!!! #import "../projectInfo.typ": student, report #let chapter( content: "Add a content argument to function call", chapterTitle: "Chapter Title", body ) = { let topMargin = 2.5cm+1.35cm show heading.where(depth: 1): it => block(it.body); set page( numbering...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/README.md
markdown
# TypstDiff ### <NAME>, <NAME>, <NAME> ## Introduction Tool created with Pandoc to compare two typst files. It marks things deleted from first file and marks differently things added to the second file. ## Run documentation All information about tool, its working process and how to use it is located in documentation ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2440.typ
typst
Apache License 2.0
#let data = ( ("OCR HOOK", "So", 0), ("OCR CHAIR", "So", 0), ("OCR FORK", "So", 0), ("OCR INVERTED FORK", "So", 0), ("OCR BELT BUCKLE", "So", 0), ("OCR BOW TIE", "So", 0), ("OCR BRANCH BANK IDENTIFICATION", "So", 0), ("OCR AMOUNT OF CHECK", "So", 0), ("OCR DASH", "So", 0), ("OCR CUSTOMER ACCOUNT NUM...
https://github.com/rxt1077/it610
https://raw.githubusercontent.com/rxt1077/it610/master/markup/slides/buzz.typ
typst
#import "/templates/slides.typ": * #show: university-theme.with( short-title: [Buzzwords], ) #title-slide( title: [DevOps, SRE, and other Buzzwords], ) #focus-slide()[ What does a sysadmin do? ] #matrix-slide()[ Configure #licensed-image( file: "/images/configure-icon.svg", license: "CC0", tit...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/place-spacing_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #show place: set block(spacing: 4em) Paragraph before place. #place(rect()) Paragraph after place.
https://github.com/SillyFreak/typst-prequery
https://raw.githubusercontent.com/SillyFreak/typst-prequery/main/CHANGELOG.md
markdown
MIT License
# [unreleased](https://github.com/SillyFreak/typst-prequery/releases/tag/) ## Added ## Removed ## Changed ## Migration Guide from v0.1.X --- # [v0.1.0](https://github.com/SillyFreak/typst-prequery/releases/tag/v0.1.0) Initial Release
https://github.com/SillyFreak/typst-prequery
https://raw.githubusercontent.com/SillyFreak/typst-prequery/main/src/utils.typ
typst
MIT License
#let boolean-input(name) = { let bools = ("true": true, "false": false) let value = sys.inputs.at(name, default: "false") assert(value in bools, message: "--input " + name + "=... must be set to true or false if present") bools.at(value) }
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/functions/helpers.typ
typst
MIT License
#let zip(..lists) = { let lists = lists.pos() if lists == () { () } else { let ret = () let len = lists.fold( lists.first().len(), (a, b) => if a > b.len() { b.len() } else { a } ) for i in range(0, len) { let curr = () for list in lists { curr.push(list.at(i)...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-05.typ
typst
Other
// Double block creates a scope. #{{ import "module.typ": b test(b, 1) }} // Error: 2-3 unknown variable: b #b
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/game-theoryst/0.1.0/doc/gallery/full-example.typ
typst
Apache License 2.0
#import "../../src/lib.typ": * #set page( width: auto, height: auto, margin: 0.25em ) #nfg( players: ([A\ Joe], [Bas Pro]), s1: ([$x$], [a]), s2: ("x", "aaaa", [$a$]), pad: ("x": 12pt, "y": 10pt), eliminations: ("s11", "s21", "s22"), ejust: ( s11: (x: (0pt, 36pt), y: (-3pt, -3.5pt)), s22: (x...
https://github.com/i-am-wololo/cours
https://raw.githubusercontent.com/i-am-wololo/cours/master/TP/i21/1/templates.typ
typst
#let project(title: "", body) = { set document(date: datetime.today(), author: "<NAME>") set page(numbering: "1/1", header: [ #smallcaps(title ) #smallcaps(text(datetime.today().display())) #h(1fr) Ecrit par Mehdi #line(length: 100%) ] ) set list(indent:3pt) set text(font: "Robot...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap3/9_safe_meter_usage.typ
typst
Other
#import "../../core/core.typ" === Safe meter usage Using an electrical meter safely and efficiently is perhaps the most valuable skill an electronics technician can master, both for the sake of their own personal safety and for proficiency at their trade. It can be daunting at first to use a meter, knowing that you a...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/5-implementation/interaction.typ
typst
Nachdem die Implementierung der Interfaces vorgestellt wurde, wird nun auf die Interaktion mit diesen eingegangen. Zuvor wurde bereits die Implementierung des 3D-Cursors über die Hit-Test-API erläutert. Zur Interaktion mit diesem Cursor, basierend auf der Kameraposition und -rotation, wird die entsprechende Funktion in...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/outline_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page("a7", margin: 20pt, numbering: "1") #set heading(numbering: "(1/a)") #show heading.where(level: 1): set text(12pt) #show heading.where(level: 2): set text(10pt) #set math.equation(numbering: "1") #outline() #outline(title: [Figures], targ...
https://github.com/malramsay64/resume
https://raw.githubusercontent.com/malramsay64/resume/main/resume.typ
typst
#import "template.typ": * #let cvdata = toml("resume.toml") #let uservars = ( headingfont: "Roboto", bodyfont: "Open Sans", fontsize: 10pt, // 10pt, 11pt, 12pt awesomeColor: "concrete", linespacing: 6pt, showAddress: false, // true/false show address in contact info showNumber: true, // t...
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/src/utils.typ
typst
#import "pdfpc.typ" #let _typst-builtin-numbering = numbering /// Add a dictionary to another dictionary recursively /// /// Example: `add-dicts((a: (b: 1), (a: (c: 2))` returns `(a: (b: 1, c: 2)` #let add-dicts(dict-a, dict-b) = { let res = dict-a for key in dict-b.keys() { if key in res and type(res.at(key)...
https://github.com/DeveloperPaul123/modern-cv
https://raw.githubusercontent.com/DeveloperPaul123/modern-cv/main/tests/utilities/test.typ
typst
Other
#import "@local/modern-cv:0.7.0": * // setup the document like we do for the resume #let font = ("Source Sans Pro", "Source Sans 3") #set text( font: font, size: 11pt, fill: color-darkgray, fallback: true, ) #set page( paper: "a4", margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm), footer: [], ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/043.%20submarine.html.typ
typst
submarine.html The Submarine April 2005"Suits make a corporate comeback," says the New York Times. Why does this sound familiar? Maybe because the suit was also back in February, September 2004, June 2004, March 2004, September 2003, November 2002, April 2002, and February 2002. Why do the media keep running st...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/docs/no_comment.typ
typst
Apache License 2.0
#let x /* some comment */ = 1; #let x /* ident */ = 1;
https://github.com/connachermurphy/typst-cv
https://raw.githubusercontent.com/connachermurphy/typst-cv/main/cv.typ
typst
MIT License
#let heading_size = 16pt #let heading_font = "Futura" #let body_font = "Lora" // #let body_font = "Linux Libertine" #let cv( name: "Name", email: "Email", date: "", body, ) = { set document(author: name, title: "CV Title Placeholder") set page(paper: "us-letter", numbering: "1", number-align: c...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/07-localisation/lang-spec.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note, cross-link, title-ref, cross-ref #import "/lib/glossary.typ": tr #show: web-page-template // ## Language-specific substitutes == 特定语言专属#tr[substitution] // We've already mentioned the Serbian form of the letter be (б), whi...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0017.typ
typst
#import "../helpers.typ": * #import "../solutions/s0017.typ": * = Letter Combinations of a Phone Number Given a string containing digits from `2-9` inclusive, return all possible letter combinations that the number could represent. Return the answer in *any order*. A mapping of digits to letters (just like on the te...
https://github.com/freundTech/typst-matryoshka
https://raw.githubusercontent.com/freundTech/typst-matryoshka/main/tests/features/dont-fail/test.typ
typst
MIT License
#import "/lib.typ": compile #set page(fill: gray) #compile("#panic(\"Failed\")", dont-fail: true)
https://github.com/akrantz01/resume
https://raw.githubusercontent.com/akrantz01/resume/main/README.md
markdown
MIT License
# Resume My overengineered [resume] pipeline built using [Typst][typst] and [Cloudflare R2][r2]. Content is pulled from [`data.yml`](data.yml) and displayed based on the layouts in the [`layouts/`](layouts/) directory. Upon a push to the default branch, all the layouts are automatically rendered and uploaded to [R2][r...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/140.%20word.html.typ
typst
word.html A Word to the Resourceful Want to start a startup? Get funded by Y Combinator. January 2012A year ago I noticed a pattern in the least successful startups we'd funded: they all seemed hard to talk to. It felt as if there was some kind of wall between us. I could never quite tell if they understood w...
https://github.com/liuxu89/Principles
https://raw.githubusercontent.com/liuxu89/Principles/main/src/chap-1/sec-1.typ
typst
#import "@preview/physica:0.9.2": * #import "/book.typ": book-page #show: book-page.with(title: "Hello, typst") // = The Principle of Superposition = The need for a quantum theory #smallcaps[Classical] Mechanics has been developed continuously from the time of Newton and applied to an ever-widening range of dynamic...
https://github.com/tfachada/thesist
https://raw.githubusercontent.com/tfachada/thesist/main/src/layout.typ
typst
MIT License
#import "figure-numbering.typ": * #import "utils.typ": * #let thesis( lang: none, cover-image: none, title: none, subtitle: none, author: none, degree: none, supervisor: none, co-supervisor: none, chairperson: none, committee-members: (), date: none, hide-figure-list: none, hide-table-list: n...
https://github.com/TechnoElf/mqt-qcec-diff-thesis
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/content/implementation.typ
typst
= Implementation This section discusses the solutions developed in this work. First, Djikstra's algorithm, Myers' algorithm and the patience algorithm are elaborated. A pseudocode representation of the chosen diff algorithms is presented for this purpose. Next, the development of a visualisation tool for edit scripts o...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/raw-code-00.typ
typst
Other
#set page(width: 180pt) #set text(6pt) ```typ = Chapter 1 #lorem(100) #let hi = "<NAME>" #show heading: emph ```
https://github.com/KVM-Explorer/AssignmentTemplate
https://raw.githubusercontent.com/KVM-Explorer/AssignmentTemplate/main/README.md
markdown
# AssignmentTemplate A template for assigenment or report Typst 作业报告模板 ![alt text](show.png) 引入template模板配置基础信息,其余正常使用 ```typst import template #import "template.typ": * #show: template.with( title: [Full Title], short_title: "Short Title", description: [ ], date: datetime(year: 2024, month: 07, day: 15),...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/ConsuntivoSprint/TerzoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": rendicontazioneOreAPosteriori, rendicontazioneCostiAPosteriori, glossary == Terzo #glossary[sprint] *Inizio*: Venerdì 08/12/2023 *Fine*: Giovedì 14/12/2023 #rendicontazioneOreAPosteriori(sprintNumber: "0...
https://github.com/505000677/2024SpringNote
https://raw.githubusercontent.com/505000677/2024SpringNote/main/tizart.typ
typst
#import "theorems.typ": * #import "@preview/statastic:0.1.0" #let project(title: "", subtitle: "", authors: (), size: 12pt, date: datetime.today(), body) = { // Set the document's basic properties. set document(author: authors.map(a => a.name), title: title) set page(numbering: "1", number-align: center) ...
https://github.com/KaiserY/mdbook-typst-pdf
https://raw.githubusercontent.com/KaiserY/mdbook-typst-pdf/main/src/assets/template.typ
typst
Apache License 2.0
#set text( lang: "zh", font: ( "Noto Sans", "Noto Sans SC", "Noto Sans KR", "Noto Sans Thai", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Devanagari", "Noto Emoji", ), ) #show link: underline #show raw.where(block: true): block.with( width: 100%, fill: luma(240), ins...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2024/MS-04.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [王楚钦], [CHN], [3559], [2], [樊振东], [CHN], [3411], [3], [梁靖崑], [CHN], [3353], [4], [马龙], [CHN], [3286], [5], [菲利克斯 勒布伦], [FRA], [3258...
https://github.com/danfunc/UseTYPST.cmake
https://raw.githubusercontent.com/danfunc/UseTYPST.cmake/main/subdir/subdir_example.typ
typst
#emph[Hello Subdir!] \ #emoji.face \ #"hello".len()
https://github.com/mrknorman/evolving_attention_thesis
https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/05_parameters/05_the_problem_with_parameters.typ
typst
#set page(numbering: "1", number-align: center) #set math.equation(numbering: it => {[5.#it]}) #counter(math.equation).update(0) #import "../notation.typ": matrixn = Dragonn: Exploring Deep Gravitational-Wave Classifier Hyperparameter Space with Genetic Algorithms <dragonn-sec> == The Problem with Parameters <hyper...
https://github.com/0x546974616e/typst-resume
https://raw.githubusercontent.com/0x546974616e/typst-resume/main/README.md
markdown
# Typst Resume A simple and modern resume template written in [Typst][]. [Typst]: https://github.com/typst/typst ## To build ```sh make make all make watch make all CONFIG=<path/to/file.yaml> LANGCC=<lang> make watch CONFIG=<path/to/file.yaml> LANGCC=<lang> ``` If no `CONFIG` is provided, [`example.yaml`](config...
https://github.com/mrtz-j/typst-thesis-template
https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/template/chapters/basic-usage.typ
typst
MIT License
#import "global.typ": * #import "../utils/symbols.typ": * #import "../utils/todo.typ": * This chapter will go over the template structure and its basic usage. Users should note that the file structure discussed here is merely a recommended starting point and not required for using the template package. == Template st...
https://github.com/Alignof/Juggernaut_typst
https://raw.githubusercontent.com/Alignof/Juggernaut_typst/master/README.md
markdown
MIT License
# Juggernaut_typst Document for Juggernaut in typst.
https://github.com/Owl-Boy/Model-Repair-Of-Time-Aware-Models-Report
https://raw.githubusercontent.com/Owl-Boy/Model-Repair-Of-Time-Aware-Models-Report/main/greedy.typ
typst
#import "lapreprint.typ": template #import "@preview/lovelace:0.2.0": * #import "@preview/showybox:2.0.1": showybox #import "@preview/algo:0.3.3": algo, i, d, comment, code #import "@preview/colorful-boxes:1.2.0": * #import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge #show: setup-lovelace // #show figu...
https://github.com/touying-typ/touying-exporter
https://raw.githubusercontent.com/touying-typ/touying-exporter/main/README.md
markdown
MIT License
# Touying Exporter Export presentation slides in various formats for Touying. ## HTML Export We generate SVG image files and package them with impress.js into an HTML file. This way, you can open and present it using a browser, and it supports GIF animations and speaker notes. ![image](https://github.com/touying-t...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/context.typ
typst
Apache License 2.0
#let context-proto = ( strict: false, soft-error: false, coerce: false, // TO DO ) /// Appends setting to context. Used for setting the context of child parses. /// /// - ctx (context, none): Current context (if present, or undefined if not), to which contextual flags passed in variadic arguments are appended. ...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/helper.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#let hrule() = [#line(length: 100%, stroke: (paint: luma(60%)))] #let poezie(doc) = [ #set align(center) #set footnote.entry( separator: align(left)[#line(length: 30%, stroke: 0.5pt)] ) #show footnote.entry: it => [ #set align(left) #it ] #doc ] #let dilo(nazev, tag, autor, preklad, obdobi,...