repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/tedaco1/typst-example
https://raw.githubusercontent.com/tedaco1/typst-example/main/document-files/example.typ
typst
MIT License
// Comments are styled like this /* * You can comment like this as well, but the language server doesn't always * pick them up. */ // Document directives //#import "science-template.typ": template //#show: doc => template( // title: [ // Practicing templates // ], // authors: ( // ( // name: "<NAME>",...
https://github.com/sdsc-ordes/modos-poster
https://raw.githubusercontent.com/sdsc-ordes/modos-poster/main/src/themes/themes.typ
typst
Creative Commons Attribution 4.0 International
#import "/src/themes/boxes.typ"
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/024%20-%20Shadows%20over%20Innistrad/010_The%20Lunarch%20Inquisition.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Lunarch Inquisition", set_name: "Shadows Over Innistrad", story_date: datetime(day: 04, month: 05, year: 2016), author: "<NAME>", doc ) #emph[Thalia, the Guardian of Thraben, was instrumental in defending Thraben from the siege of zombi...
https://github.com/davawen/Cours
https://raw.githubusercontent.com/davawen/Cours/main/typst/physique/0.1.0/optique.typ
typst
#import "utils.typ": * #let axe-optique() = { import cetz: draw import draw: * line((-5, 0), (5, 0), mark: (end: "straight")) } #let lentil(openess, height: 1, fill: none, name: none) = { import draw: translate, bezier, group, anchor group(name: name, { translate((-openess, 0)) bezier((0, height), ...
https://github.com/liuxu89/Principles
https://raw.githubusercontent.com/liuxu89/Principles/main/book.typ
typst
#import "@preview/shiroa:0.1.1": * #show: book #book-meta( title: "The Principles of Quantum Mechanics", summary: [ // #prefix-chapter("sample-page.typ")[Hello, typst] = The Principles of Quantum Mechanics // = 1. The Principle of Superposition - #chapter(none)[The Principle of Superposition] ...
https://github.com/Caellian/UNIRI_voxels_doc
https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/problem.typ
typst
#text(weight: "bold")[ (Iza naslovne stranice, na ovome mjestu, prilikom uvezivanja umetnite original zadatka završnog rada kojeg ste preuzeli od mentora) ] #pagebreak()
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fontawesome/0.1.0/README.md
markdown
Apache License 2.0
# typst-fontawesome A Typst library for Font Awesome icons through the desktop fonts. ## Usage ### Install the fonts You can download the fonts from the official website: https://fontawesome.com/download Or you can use the helper script to download the fonts and metadata: `python helper.py -dd -v {version}` Here...
https://github.com/rinmyo/titech-thm
https://raw.githubusercontent.com/rinmyo/titech-thm/main/template.typ
typst
Other
#import "typst-slides/slides.typ": * #let color = ( primary: rgb(0, 91, 148), primary_c: rgb(148, 57, 0), secondary: rgb(152, 125, 28), secondary_c: rgb(28,55,152), text: rgb(32, 56, 100), text_c: rgb(100, 76, 32), ) #let titech-theme(lang) = data => { let scriptsize = 8pt let flag = image.with("asset...
https://github.com/monlie/WeeklyRCBI
https://raw.githubusercontent.com/monlie/WeeklyRCBI/main/demo.typ
typst
MIT License
#import "weekly.typ": weekly #show: doc => weekly( doc, author: "朱自清", // 汇报人 plan: "在清华园里继续写作。", // 一周工作计划 problem: "没什么问题。", // 可能存在问题 writting-date: datetime(year: 1927, month: 7, d...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/Interfaces.typ
typst
== Interfaces Una interfaz define un contrato que debe ser cumplido por las clases que la implementan. Las interfaces especifican qué métodos y propiedades debe implementar una clase, sin proporcionar una implementación completa. === Características de las Interfaces - *No instanciables:* No se pueden crear instan...
https://github.com/Dherse/boxaroo
https://raw.githubusercontent.com/Dherse/boxaroo/main/boxaroo.typ
typst
MIT License
#let true-blue = rgb(30, 100, 200) #let caribbean-current = rgb(30, 100, 101) #let proper-purple = rgb("#6f006f") #let federal-blue = rgb(31, 28, 92) #let earth-yellow = rgb(224, 164, 88) #let atomic-tangerine = rgb(222, 143, 110) #let __formats = state("boxaroo__formats", ( info: state("boxaroo_info"), definition...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/RT/styleAkatist.typ
typst
#import "/style.typ": * #import "./textsTmp.typ": * #let kondak(index, txt, zvolanie, velkost: none) = [ #align(center)[#primText[#index. KONDÁK]] #par(first-line-indent: 1em, text(if (velkost == none) {11pt} else {velkost}, txt)) #if zvolanie == none { pad(left: 30pt)[Aleluja, aleluja, aleluja.] } els...
https://github.com/Lelidle/Q12-cs-scripts
https://raw.githubusercontent.com/Lelidle/Q12-cs-scripts/main/template.typ
typst
#import "@preview/showybox:1.1.0": showybox #let xAchse = [$x-$Achse] #let yAchse = [$y-$Achse] #let setup(doc) = [ #set par( justify: true ) #set text( font: "Times New Roman" ) #show link: underline #show link: set text(blue) #set text(lang: "de") #set raw(theme: "halcyo...
https://github.com/Dideldumm/realistic-polygons
https://raw.githubusercontent.com/Dideldumm/realistic-polygons/main/parcio-typst/bachelor-thesis/chapters/merge_closest_objects/merge_closest_objects.typ
typst
= Merge Closest Chains Algorithm The main idea of this algorithm is that vertices that are far apart from each other should less likely be part of the same edge. During the process, the algorithm builds up long polygonal chains. In each iteration, the polygonal chains that are closest to each other are merged. A sing...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/MS-11.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], [3385], [4], [王楚钦], [CHN], [3313], [5], [林高远], [CHN], [3300], ...
https://github.com/schmidma/typst-workshop
https://raw.githubusercontent.com/schmidma/typst-workshop/main/examples/05-lists.typ
typst
Creative Commons Zero v1.0 Universal
+ First + Second + Third - First - First indented - Second - Third - Third indented - even more
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/init-files/sections/acknowledgments.typ
typst
MIT License
#import "../../paddling-tongji-thesis/tongjithesis.typ": * #heading("谢辞", numbering: none) #empty-par() 本节通常用于感谢在研究过程中给予帮助和支持的人们,例如指导老师、实验室同学、朋友和家人等。 在谢辞中,需要真诚地表达感谢之情,回顾一下在研究过程中所受到的帮助和支持,并提到他们的具体贡献和重要性。同时,也可以简要说明一下自己在研究过程中的收获和体会,表达对他们的感激之情和祝福。 最后,需要注意不要出现太多的感情用词,语言简洁明了,表达真诚和诚恳即可。 谢谢支持本项目的所有朋友们。并且希望选用该模板的朋友们都能顺利通过查...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/syntax/embedded.typ
typst
// Test embedded expressions. --- markup-expr-incomplete --- // Error: 2-2 expected expression # --- markup-expr-incomplete-followed-by-text --- // Error: 2-2 expected expression # hello
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/neurips/checklist.typ
typst
MIT License
#import "/neurips.typ": url #let TODO = text(fill: red, [*[TODO]*]) #let answerNA = text(fill: gray, "[NA]") #let answerNo = text(fill: red, "[NO]") #let answerYes = text(fill: blue, "[YES]") #pagebreak(weak: true) #set heading(numbering: none) = NeurIPS Paper Checklist // BEGIN INSTRUCTIONS The checklist is desi...
https://github.com/kokkonisd/typst-cross
https://raw.githubusercontent.com/kokkonisd/typst-cross/main/examples/full/crossword.typ
typst
The Unlicense
#import "@local/cross:0.0.2" as cross #let crossword-data = toml("data.toml") #cross.single-page( crossword-data, show-solution: false, show-cell-coordinates: false, cell-size: 23pt, letter-size: 7pt, number-size: 5pt, margin: 0.2cm, clue-columns: 3, )
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/insertion_sort/induction_0.typ
typst
#import "/components/num_row.typ": single_num_row, arrowed, braced #let nums = (4, 5, 3, 2, 1) #single_num_row( nums, hl_success: range(2), labels: ( (0, 1, arrowed(`j-1`)), (1, 2, arrowed(`j`)) ), arrow: ( from: 0, to: 1, direction: "bidirectional" ) )
https://github.com/jcvar/resume
https://raw.githubusercontent.com/jcvar/resume/main/template.typ
typst
#let template(footer: none, c) = { set page( "us-letter", margin: 25.4mm, footer: align(center, text(0.5em, footer)), ) let sz = 10pt; set text(font: "Spectral", size: sz); set block(spacing: 0.5em) set par(leading: 0.5em) show heading.where(level: 1): h => { block(spacing: 0.5em, text(w...
https://github.com/glennib/terraform-workshop
https://raw.githubusercontent.com/glennib/terraform-workshop/main/main.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": * #import "@preview/cetz:0.2.2" #import themes.simple: title-slide, centered-slide, focus-slide, slide, simple-theme #import pdfpc : speaker-note // Make the paper dimensions fit for a presentation and the text larger #set page(paper...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Expertes_Ex_12_12_2023.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Maths Expertes Ex 12 12 2023", authors: ( "<NAME>", ), date: "11 Décembre, 2023", ) #set heading(numbering: "1.1.") === Exercice 37p1...
https://github.com/Zateros/analizis-1
https://raw.githubusercontent.com/Zateros/analizis-1/main/elso.typ
typst
#let colorS = color.rgb("#B4D3B4") #set page( paper: "a4", numbering: "1.", margin: (x: 40pt, y: 40pt) ) #set document( author: "<NAME> & <NAME>", title: "Első Analízis I. ZH kérdései" ) #set text( size: 15pt, font: "Times New Roman" ) #set par(justify: true) #set enum(numbering: "i.)") #show headin...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056%20-%20Outlaws%20of%20Thunder%20Junction/001_Episode%201%3A%20An%20Offer%20of%20Revenge.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: An Offer of Revenge", set_name: "Outlaws of Thunder Junction", story_date: datetime(day: 11, month: 03, year: 2024), author: "<NAME>", doc ) The sun set over Omenport. Bursts of amber light slipped past the triangular rooftops, c...
https://github.com/fathonix/praktikum_alpro
https://raw.githubusercontent.com/fathonix/praktikum_alpro/master/prakalpro.typ
typst
MIT License
// Laporan Praktikum Algoritme Pemrograman ITK // Template and build script are licensed under MIT. // Contents are under proprietary license. // Initial page setup #import "@preview/codly:1.0.0": * #show: codly-init.with() #let def-margin = 2.54cm #let border-color = rgb("#1eaaf1") #let heading-color = rgb("#039be5"...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/subjects/math-fractions.typ
typst
MIT License
#import "../util/util.typ" #let field( a, b, num, size: 1cm, blank: white, fill: gray, flip: false, draw-node: (size, fill) => square( size: size, fill: fill, stroke: util.clamp(size / 10, .2pt, 2pt) + black, ), ) = box( width: a * size, height: b * size, baseline: (b * size) * 0.5...
https://github.com/EpicEricEE/typst-equate
https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/tests/share-align/test.typ
typst
MIT License
#import "/src/lib.typ": equate, share-align #set page(width: 6cm, height: auto, margin: 1em) #show: equate // Test correct behavior of shared alignment blocks. #share-align[ $ a + b &= c $ leads to $ c &= b - a $ ] #set math.equation(numbering: "(1.1)") #share-align[ $ x + y + z &= w \ ...
https://github.com/university-makino/Microcomputer-control-and-exercises
https://raw.githubusercontent.com/university-makino/Microcomputer-control-and-exercises/master/report/プレレポート4/report.typ
typst
// ライブラリの実装 // #import "@preview/codelst:2.0.1": sourcecode #import "@preview/i-figured:0.2.4" //フォント設定// #let gothic = "YuMincho" //本文フォント// #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}]"...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-aspect_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test different ways of sizing. #set page(width: 120pt, height: 40pt) #stack( dir: ltr, spacing: 2pt, circle(radius: 5pt), circle(width: 10%), circle(height: 50%), )
https://github.com/jgpr-code/typst_intro
https://raw.githubusercontent.com/jgpr-code/typst_intro/main/slides.typ
typst
#import "@preview/polylux:0.3.1": * #import themes.clean: * // ------------------------------------------------------------------------------------------------ #let ul_red = rgb("#ca0123") #let typst_turquoise = rgb("#239dae") #set text(font: "Arial") // changing font size won't affect slides... #let myslide(title,...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/CHANGELOG/CHANGELOG-0.1.md
markdown
Apache License 2.0
# v0.1.5 ## Changelog since v0.1.5 - Fixed documentation about building by @duskmoon314 in https://github.com/Myriad-Dreamin/typst-book/pull/67 - Updated typst.ts to v0.5.0-rc4 (with canvas improvements) in https://github.com/Myriad-Dreamin/typst-book/pull/70 - Supported basic theming in https://github.com/Myriad-Dre...
https://github.com/ntjess/typst-tada
https://raw.githubusercontent.com/ntjess/typst-tada/main/src/ops.typ
typst
The Unlicense
#import "./tabledata.typ": TableData, add-expressions, subset, update-fields, stack #import "./helpers.typ" as H /// Performs an aggregation across entire data columns. /// /// ```example /// #let td = TableData(data: (a: (1, 2, 3), b: (4, 5, 6))) /// #to-tablex(agg(td, a: array.sum, b-average: "b.sum() / b.len()")) ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/functions.typ
typst
MIT License
#let glossary(content) = { emph[#content#sub("G")] } #let team = { emph[SWAT Engineering] } #let rendicontazioneOreAPosteriori(sprintNumber: "01") = { let rendicontazioneOre = csv("sprintData/Sprint#" + sprintNumber + "/RendicontazioneOre.csv") [=== Rendicontazione ore a posteriori] [I seguenti in tabella, ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/features.typ
typst
Apache License 2.0
// Test OpenType features. --- // Test turning kerning off. #text(kerning: true)[Tq] \ #text(kerning: false)[Tq] --- // Test smallcaps. #smallcaps[Smallcaps] --- // Test alternates and stylistic sets. #set text(font: "IBM Plex Serif") a vs #text(alternates: true)[a] \ ß vs #text(stylistic-set: 5)[ß] --- // Test lig...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/119.%20publishing.html.typ
typst
publishing.html Post-Medium Publishing September 2009Publishers of all types, from news to music, are unhappy that consumers won't pay for content anymore. At least, that's how they see it.In fact consumers never really were paying for content, and publishers weren't really selling it either. If the content was what...
https://github.com/jxpeng98/Typst-CV-Resume
https://raw.githubusercontent.com/jxpeng98/Typst-CV-Resume/main/legacy/example-single-legacy.typ
typst
MIT License
#import "modernpro-cv-legacy.typ": * // select the font type: "macfont" or "openfont" #let fonttype = "macfont" #show: mainbody => cv-single-legacy( continue_header: "false", name: [#lorem(2)], //name:"" or name:[] address: [#lorem(4)], lastupdated: "true", pagecount: "true", date: "2023.4.7", contacts: ...
https://github.com/AnsgarLichter/hka-thesis-template
https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/exposé/template.typ
typst
#import "/common/titlepage.typ": * #import "/common/settings.typ": * #let exposé( degree: "", program: "", title: "", subtitle: "", titleGerman: "", subtitleGerman: "", author: "", matriculationNumber: "", placeOfWork: "", supervisor: "", advisor: "", startDate: none, submissionDate: none, ...
https://github.com/v411e/optimal-ovgu-thesis
https://raw.githubusercontent.com/v411e/optimal-ovgu-thesis/main/template/chapter/01-Einleitung.typ
typst
MIT License
= Einleitung == Motivation <sec_motivation> Warum ist das Thema relevant? Wie schaffe ich einen Mehrwert mit meiner Untersuchung? Warum ist es notwendig, dieses Problem zu lösen? == Wissenschaftliche Zielstellung <sec_zielstellung> Was möchte ich untersuchen? Welche These habe ich, die es zu validieren gilt? Welche F...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix-gaps_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set math.vec(gap: 1em) $ vec(1, 2) $
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/lib/pages/abstract.typ
typst
MIT License
#let abstract_page( language: "en", author: "", title: "", keywords: (), abstract: "", ) = { // TODO Needed, because context creates empty pages with wrong numbering set page( numbering: "i", ) let custom_title(title) = { text(title, weight: "bold") } set par(justify: true) stack( ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/gallery/line.typ
typst
Apache License 2.0
#import "@preview/cetz:0.3.1": canvas, draw #import "@preview/cetz-plot:0.1.0": plot #set page(width: auto, height: auto, margin: .5cm) #let style = (stroke: black, fill: rgb(0, 0, 200, 75)) #let f1(x) = calc.sin(x) #let fn = ( ($ x - x^3"/"3! $, x => x - calc.pow(x, 3)/6), ($ x - x^3"/"3! - x^5"/"5! $, x => x -...
https://github.com/qiufei/typst
https://raw.githubusercontent.com/qiufei/typst/main/README.md
markdown
MIT License
# typst 画图 我的tikz画图,替换成typst
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/docs/config.typ
typst
Apache License 2.0
/// Creates a dictionary of all configuration parameters /// /// - default-font-family (str): The default font family /// - default font-size (length): The absolute default font size /// - italic-font-family (str): The italic font family (for value descriptions) /// - italic-font-size (length): The absolute italic font...
https://github.com/maxtremblay/cv
https://raw.githubusercontent.com/maxtremblay/cv/main/sources/template.typ
typst
#let accent = rgb("#894571") // Accent color for the document #let grey = rgb("#5D696F") // Lighter color for the document. #let vspace = 10pt #let cv( doc, name: [Firstname Lastname], contact: ([first.last#sym.at\email.com], [123-456-7890]), ) = { set text( font: "Gontserrat", size: 10pt, weight:...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/pattern-small_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 22-52 pattern tile size must be non-zero // // Hint: 22-52 try setting the size manually // #line(stroke: pattern(path((0pt, 0pt), (1em, 0pt))))
https://github.com/utilForever/CV
https://raw.githubusercontent.com/utilForever/CV/main/CV.typ
typst
#import "@preview/modern-cv:0.3.1": * #show: resume.with( author: ( firstname: "Chris", lastname: "Ohk", email: "<EMAIL>", phone: "(+82) 010-4613-9395", github: "utilForever", linkedin: "utilForever", address: "617, Sampyeong-dong, Bundang-gu, Seongnam-si, South Korea", positions: ( ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/accent-06.typ
typst
Other
// Test high base. $ tilde(integral), tilde(integral)_a^b, tilde(integral_a^b) $
https://github.com/FurryAcetylCoA/sgu-thesis-typst
https://raw.githubusercontent.com/FurryAcetylCoA/sgu-thesis-typst/main/nju-thesis/templates/bachelor-abstract-en.typ
typst
MIT License
#import "@preview/t4t:0.3.2": is #import "../utils/style.typ": 字号, 字体 #import "../utils/indent.typ": fake-par #import "../utils/double-underline.typ": double-underline #import "../utils/invisible-heading.typ": invisible-heading // 本科生英文摘要页 #let bachelor-abstract-en( // documentclass 传入的参数 anonymous: false, twosi...
https://github.com/mgoulao/IST-MSc-Thesis-Typst-Template
https://raw.githubusercontent.com/mgoulao/IST-MSc-Thesis-Typst-Template/main/main.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: "Técnico Lisboa MSc Thesis Typst Template ", subtitle: "Optional subtitle", author: "[Author name]", degree: "[Degree Name]", supervisor...
https://github.com/EGmux/TheoryOfComputation
https://raw.githubusercontent.com/EGmux/TheoryOfComputation/master/main.typ
typst
#include "./modules.typ" #include "./sharedFunctions.typ" #include "./style.typ"
https://github.com/crd2333/typst-theorem-box
https://raw.githubusercontent.com/crd2333/typst-theorem-box/master/lib.typ
typst
MIT License
/* Theorems boxes implemented by showybox, providing a beautiful way to display theorems, definitions, lemmas, corollaries, and proofs. The boxes will be counted like x.y, where x is the first level heading number and y is the box number of the type. Author: crd233 */ #import "@preview/showybox:2.0.1": showybox #let...
https://github.com/andreasKroepelin/TypstJlyfish.jl
https://raw.githubusercontent.com/andreasKroepelin/TypstJlyfish.jl/main/examples/simple.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "../typst/lib.typ": * #read-julia-output(json("simple-jlyfish.json")) Hello from Typst! #jl(```julia greeting = rand(["Hello", "Hi", "Good morning"]) "$greeting, this is Julia in Typst via Jlyfish!" ```)
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas1/2_Utorok.typ
typst
#let V = ( "HV": ( ("", "Prechváľniji múčenicy", "Vsé žitijé mojé srámno izžích, Hóspodi, so bludnícami okajánnyj, jákože blúdnyj umilénijem zovú: Ótče nebésnyj, sohriších, očísti i spasí mja, i ne otríni mené, samohó sebé ot tebé udalívšahosja, i bezplódnych rádi ďíl nýňi obniščávšaho."), ("", "", "Obniščáv ...
https://github.com/luisnquin/cv
https://raw.githubusercontent.com/luisnquin/cv/main/main.typ
typst
#let blue = rgb("#1a58c4") #let HeaderLink(label, url) = { link(url)[#underline(offset: 0.15em, stroke: 1.05pt, text( weight: "semibold", fill: blue, label ))] } #let CompanyExperience(company, description, roles) = { let Experiences() = { stack( dir: ttb, spacing: 0.2em, for ...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/08-case-study/statistics.typ
typst
#import "@preview/cetz:0.2.2": canvas, chart, draw #let statistics_chart = (key, ytickstep) => [ #let data = ( (<scn_structural_logical>, yaml("/data/structural_logical.yml")), (<scn_structural_contributor>, yaml("/data/structural_contributor.yml")), (<scn_logical_contributor>, yaml("/data/logical_contri...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_deployment_webapp.typ
typst
#import "../../../acronyms.typ": * = Web Application A web application has a frontend and a backend. The frontend is statically served to the user in a web browser and communicates through an #ac("API") with the backend, which is hosted on a server. The advantages are that the frontend and backend can be written in ...
https://github.com/timetraveler314/Note
https://raw.githubusercontent.com/timetraveler314/Note/main/24Spring/LinearAlgebra/LA.typ
typst
#import "@local/MetaNote:0.0.1" : * #import "@preview/commute:0.2.0": node, arr, commutative-diagram #let detm = math.mat.with(delim: "|") #show: doc => MetaNote( title: [ Linear Algebra A (II) Class Notes ], authors: ( ( name: "timetraveler314", affiliation: "University of Genshin", e...
https://github.com/metamuffin/typst
https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/text/deco.typ
typst
Apache License 2.0
// Test text decorations. --- #let red = rgb("fc0030") // Basic strikethrough. #strike[Statements dreamt up by the utterly deranged.] // Move underline down. #underline(offset: 5pt)[Further below.] // Different color. #underline(stroke: red, evade: false)[Critical information is conveyed here.] // Inherits font co...
https://github.com/sora0116/unix_seminar
https://raw.githubusercontent.com/sora0116/unix_seminar/master/handout/lldb/main-legacy.typ
typst
#import "@preview/big-todo:0.2.0": * #set text(font: "<NAME>") #set heading(numbering: "1.1") #set page(numbering: "1") #show raw: it => { if (it.lang == "shell") { block(fill: rgb("#1d2433"), width: 100%, inset: 10pt, radius: 10pt)[ #text(fill: rgb("#f6f6f6"))[#it] ] } else { it } } #let ops...
https://github.com/FlyinPancake/bsc-thesis
https://raw.githubusercontent.com/FlyinPancake/bsc-thesis/main/thesis/pages/titlepage.typ
typst
#import "../preamble.typ": student_name_en as student, consultant, show_today, second_consultant, external_consultant #page[ #align(center)[ #v(3mm) #image( "../figures/BMElogo.png", width: 60mm ) *Budapest University of Technology and Economics*\ Facu...
https://github.com/FlyinPancake/bsc-thesis
https://raw.githubusercontent.com/FlyinPancake/bsc-thesis/main/thesis/pages/project.typ
typst
#set page(margin: 0cm) #page[ #image("../assets/project.svg") ]
https://github.com/jomaway/typst-bytefield
https://raw.githubusercontent.com/jomaway/typst-bytefield/main/docs/docs.typ
typst
MIT License
#import "@preview/tidy:0.2.0" #import "@preview/gentle-clues:0.6.0": abstract, info #import "@preview/codelst:2.0.0": sourcecode #import "../bytefield.typ": * #let tag(value, fill: orange.lighten(45%)) = { box( inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt, fill: fill )[#value] } #let def...
https://github.com/fredguth/bid_produto_1
https://raw.githubusercontent.com/fredguth/bid_produto_1/main/_extensions/fredguth/desid-report/typst-template.typ
typst
#let report( title: none, subtitle: none, authors: none, date: none, abstract: none, iadb_contract: none, iadb_project: none, iadb_product: none, cols: 1, lang: "pt", region: "BR", font: (), fontsize: 10pt, sectionnumbering: none, toc: false, toc-depth: none, bib_syle: "apa", theme:...
https://github.com/FlyinPancake/bsc-thesis
https://raw.githubusercontent.com/FlyinPancake/bsc-thesis/main/README.md
markdown
# Use-cases for vcluster This repository contains all the research and results in context with my BSc thesis. ## Directories - `thesis` contains the source files to build the thesis PDF ## Compiling ### Thesis There are artefacts with every push on the main branch. If you want to compile the thesis yourself, you...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/return-05.typ
typst
Other
// Test value return from content. #let x = 3 #let f() = [ Hello 😀 #return "nope" World ] #test(f(), "nope")
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/5-implementation/architecture-software.typ
typst
Wie im Kapitel der Konzeption festgelegt, ermöglicht die Entwicklung der Anwendung als Web Component eine modulare und wiederverwendbare Architektur. Die Web Components werden in dem Paket "player" definiert und exportiert. Hierbei werden drei unterschiedliche Komponenten erstellt. Die Klasse "BaseElement" stellt die G...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/text/lorem.typ
typst
// Test blind text. --- lorem --- // Test basic call. #lorem(19) --- lorem-pars --- // Test custom paragraphs with user code. #set text(8pt) #{ let sentences = lorem(59) .split(".") .filter(s => s != "") .map(s => s + ".") let used = 0 for s in sentences { if used < 2 { used += 1 } e...
https://github.com/eigenein/typst-templates
https://raw.githubusercontent.com/eigenein/typst-templates/main/letter.typ
typst
MIT License
#let authors(from: (), reply: ()) = [ #set text(size: 8pt) == Van: \ #for author in from [ #show heading: it => block(upper(it.body)) === #author.name #if "email" in author [ *Email*:~#link("mailto:" + author.email) \ ] #if "phone" in author [ *Tel.*:~#link("tel:" + author.phon...
https://github.com/sxdl/MCM-Typst-template
https://raw.githubusercontent.com/sxdl/MCM-Typst-template/main/template/main.typ
typst
Apache License 2.0
#import "@preview/mcm-scaffold:0.1.0": * #import "@preview/mitex:0.2.2": * #show: mcm.with( title: "A Simple Example for MCM/ICM Typst Template", problem-chosen: "ABCDEF", team-control-number: "1111111", year: "2025", summary: [ #lorem(100) #lorem(100) #lorem(100) #lorem(100) ], ...
https://github.com/QuadnucYard/cpp-coursework-template
https://raw.githubusercontent.com/QuadnucYard/cpp-coursework-template/main/problematic.typ
typst
// problematic #import "font.typ": fonts #import "@preview/treet:0.1.0": * /// Make the body raw. /// /// *Examples:* /// /// #example(`problematic.ensure-raw("114514", block: true)`) /// #example(`problematic.ensure-raw("114514", block: false)`) /// #example(``` problematic.ensure-raw(`114514`, block: true)```) /// ...
https://github.com/typst-community/mantodea
https://raw.githubusercontent.com/typst-community/mantodea/main/src/theme.typ
typst
MIT License
#import "_pkg.typ" #import "_valid.typ" #let schema = _valid.dictionary.with(( fonts: _valid.dictionary(( serif: _valid.array(_valid.string()), sans: _valid.array(_valid.string()), mono: _valid.array(_valid.string()), text: _valid.array(_valid.string()), headings: _valid.array(_valid.strin...
https://github.com/mattyoung101/uqthesis_eecs_hons
https://raw.githubusercontent.com/mattyoung101/uqthesis_eecs_hons/master/pages/chapters/results.typ
typst
ISC License
= Results #lorem(500) == Typst and performance #lorem(750) == Typst and ease of use #lorem(600)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tuhi-exam-vuw/0.1.0/template/appendix.typ
typst
Apache License 2.0
#pagebreak() = APPENDIX === Vector calculus identities <vector-calculus-identities> $nabla lr((f g)) eq f nabla g plus g nabla f$ $nabla lr((bold(A) dot.op bold(B))) eq bold(A) times lr((nabla times bold(B))) plus bold(B) times lr((nabla times bold(A))) plus lr((bold(A) dot.op nabla)) bold(B) plus lr((bold(B) dot...
https://github.com/CarterT27/cover_letter
https://raw.githubusercontent.com/CarterT27/cover_letter/main/letter.typ
typst
#let letter(body) = { set list(indent: 1em) show list: set text(size: 0.92em) show link: underline show link: set underline(offset: 3pt) set page( paper: "us-letter", margin: (x: 0.5in, y: 0.5in) ) set text( size: 11pt, font: "New Computer Modern", ) ...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/render.typ
typst
#import "@preview/cetz:0.2.0" #import "@preview/splash:0.0.1": tailwind #import "base-utils.typ": * #import "canvas-functions.typ": canvas-functions #let render-canvas(..sink) = { let kwargs = sink.named() let items = sink.pos() cetz.canvas(..kwargs, { for item in items { let handler = item....
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/170.%20jessica.html.typ
typst
jessica.html <NAME> November 2015A few months ago an article about Y Combinator said that early on it had been a "one-man show." It's sadly common to read that sort of thing. But the problem with that description is not just that it's unfair. It's also misleading. Much of what's most novel about YC is due to <NAME...
https://github.com/dyc3/senior-design
https://raw.githubusercontent.com/dyc3/senior-design/main/user-personas.typ
typst
= User Personas <Chapter::UserPersonas> == Persona 1 #figure( image("figures/persona.jpeg", width: 20%), caption: "<NAME>" ) #table( [*Name:* <NAME>], [*Goals*], [*Shared Moments:* Jake seeks ways to create shared experiences with friends, whether it's through watching videos or playing online games.], [...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/布局/率/率.typ
typst
#image("屏幕截图 2024-04-16 174046.png")
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/Analysis/integer.typ
typst
#import "/mathenv.typ": * = The integers If we want to build a new number system, we have to start from the basic bricks, which is the numbers themselves. However, we have no such ability to define the numbers; they are so abstrct and obscure, although we do have a little consciousness on them. We do not talk about w...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/math/math.typ
typst
#set text(font: "New Computer Modern") = 数 #include "number/number.typ" #include "function/function.typ" = 行列 #include "matrix/linear_transformation.typ" #include "matrix/rotation_matrix.typ"
https://github.com/Dherse/boxaroo
https://raw.githubusercontent.com/Dherse/boxaroo/main/README.md
markdown
MIT License
# Boxaroo: simple & coloful info boxes for Typst Boxaroo is a collection of functions to create colorful boxes that you can use in your document to break up long text and make it more readable, or to highlight important information. It was originall part of my thesis template, but I decided to make it a separate packa...
https://github.com/FrightenedFoxCN/typst-math-chinese
https://raw.githubusercontent.com/FrightenedFoxCN/typst-math-chinese/main/test/basic.typ
typst
#import "../template.typ": * #show: doc => conf(doc) #makecontent() = 引言 这是一份中文的测试文稿。 我们使用 `makecontent` 指令添加了一个目录。 _这是一个强调块_ $ a^2 + b^2 = c^2 $ <pydagoras> *这一部分被加粗了* #quote(author: "作者")[这是一段非常非常非常非常非常长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长的引文。] #...
https://github.com/Free-Aaron-Li/learning_computer_networking
https://raw.githubusercontent.com/Free-Aaron-Li/learning_computer_networking/master/chapter1/chapter1.typ
typst
#import "../typst/template/reference.typ": POINT,NOTE,TIP,cn_fake-italic,indent,example,example_dc,line_cs,line_end,line_dc,regular_script,THEOREM #import "../typst/template/page/basic.typ":basic #import "@preview/tablem:0.1.0": tablem #let center_title = [ LEARNING \ Computer Networking \ #text(size: 15pt)[A Top-...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/components/lefttree.typ
typst
#import "/config.typ": theme #let lefttree(nodes, i: 0) = { let node = (nodes.at(i),) if nodes.len() > 2 * i + 1 { node.push(lefttree(nodes, i: 2*i+1)) } if nodes.len() > 2*i+2 { node.push(lefttree(nodes, i: 2*i+2)) } return node } #let name_to_index(name) = { if name.at(0) == "g" { name = n...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.1/src/ctx.typ
typst
Apache License 2.0
#let ctx-proto = ( strict: false, soft-error: false, // TODO(james) coerce: false, ) /// Appends options to a context. Used for setting the context of child parses. /// /// - parent (ctx, none): Current context (if present), to which contextual /// flags passed in variadic arguments are appended. /// - ..arg...
https://github.com/GabrielDTB/basalt-backlinks
https://raw.githubusercontent.com/GabrielDTB/basalt-backlinks/main/src/backlinks.typ
typst
MIT License
#let package-name = "basalt-backlinks" #let package-uuid = "8cfa7814-461b-4cd7-8779-8e8b334e3b95" #let prefix = package-uuid + ":" + package-name + ":" /// Show rule for generating backlinks. /// /// #show link: backlinks.generate #let generate(it) = { if type(it.dest) != label { return it } let target = st...
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/templates/formal.typ
typst
#import "../common/dates.typ": ID-display-today #let template(body) = { // ~ Setups // set document(title: title, author: author-name) set page( paper: "a4", margin: ( x: 2cm, y: 3cm, ), ) set par(justify: true, linebreaks: "optimized") set text(font: "FreeSerif", size: 12pt, fallba...
https://github.com/EunTilofy/Compiler2024
https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/hw/编译原理-Chapter4.typ
typst
#import "../template.typ": * #show: project.with( course: "编译原理", title: "Compilers Principals - Chapter4", date: "2024.4.05", authors: "<NAME>, 3210106357", has_cover: false ) *Problems:4.2.* #HWProb(name: "4.2")[ Implement Program 4.4 as a recursive-descent parser, with the semantic actions embedded in the ...
https://github.com/kznr02/neet-cv
https://raw.githubusercontent.com/kznr02/neet-cv/main/cv-sample.typ
typst
MIT License
#import "template.typ": project, info, job, glory, education, activity, proj, skill, certification, commit #project()[ #info("蓬莱山辉夜", "114514", "<EMAIL>", "null", "本科", "https://github.com/kznr02", "", "", "./kaguya.jpg") #education("寺子屋", "neet的自我修养", "本科", "幻想乡学院", ("難題「龍の頸の玉 -五色の弾丸-」", "難題「仏の御石の鉢 -砕けぬ意思-」", "難...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/set-06.typ
typst
Other
// Error: 19-24 expected boolean, found integer #set text(red) if 1 + 2
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/coursier.typ
typst
#let box_title(body) = { set text(weight: "regular") show: box.with( fill: luma(249), inset: 1em, radius: 3pt, baseline: 0.4em, width: 100%, ) [#body] } #show heading.where(level: 1): it => { set text(size: 18pt, fill: red) align(center)[#it.body] } #show heading.where(level: 2): i...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/058%20-%20Duskmourn%3A%20House%20of%20Horror/010_Dead%20End.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Dead End", set_name: "Duskmourn: House of Horror", story_date: datetime(day: 29, month: 08, year: 2024), author: "<NAME>", doc ) Morning broke, the lesser sun rising lonely in the western sky and doing what little it could to beat back the ...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/theorems/proposition.typ
typst
Apache License 2.0
#import "./new-theorem-template.typ": new-theorem-template #let proposition = new-theorem-template("Proposition")
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.1.0/slide.typ
typst
Apache License 2.0
#import "utils/utils.typ" #import "utils/states.typ" #import "utils/pdfpc.typ" // touying pause mark #let pause = [#"<touying-pause>"] // parse a sequence into content, and get the repetitions #let _parse-content-with-pause(self: utils.empty-object, need-cover: true, base: 1, index: 1, ..bodies) = { let bo...
https://github.com/akai-omurbek/Typst-CV
https://raw.githubusercontent.com/akai-omurbek/Typst-CV/main/cv.typ
typst
#set page( paper: "a4", margin: ( top: 0.5cm, rest: 1cm ) ) #set par(justify: true) #set text( font: "Arial", size: 12pt, hyphenate:false ) /* SHOW RULES | LABELS | ETC */ #show <cv>: it => [ #set align(center + horizon) #set text(size: 16pt) #upper(it) ] #show <name>: it => [ #set align...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2013/WS-11.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [LI Xiaoxia], [CHN], [3441], [2], [LIU Shiwen], [CHN], [3360], [3], [DING Ning], [CHN], [3274], [4], [#text(gray, ...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-02-26/24-02-26.typ
typst
#import "/template.typ": * #show: project.with( date: "26/02/24", subTitle: "Meeting di Design Thinking", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:10", timeEnd: "16:50", ); = Ordine del giorno - Progettazione: - Design pattern; - Architettura; - Diagramma ER. - Pianificazion...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/icons/icons.typ
typst
The Unlicense
// Contains the raw text data of each icon. The icons are not stored as content so their colors can be changed later. #let question-mark = read("./question-mark.svg") #let light-bulb = read("./light-bulb.svg") #let target = read("./target.svg") #let hammer = read("./hammer.svg") #let terminal = read("./terminal.svg") ...