repo
stringlengths
27
90
file
stringlengths
57
176
language
stringclasses
2 values
license
stringclasses
13 values
content
stringlengths
25
180k
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Diagrams/ER_Translation.typ
typst
```pintora erDiagram TranslatedText { INTEGER Id VARCHAR Text } Module { INTEGER Id } ModuleTitle { INTEGER Id } ModuleSubtitle { INTEGER Id } ModuleNiveau { INTEGER Id } Language { INTEGER Id VARCHAR Name VARCHAR ISOCode } Module ||--|| ModuleTitle : "Title(E1...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/语言/造型/zaoxing.typ
typst
= 造型 Typst 包括一个灵活的样式系统,可自动将您选择的样式应用于您的文档。使用设置的规则,您可以配置元素的基本属性。这样,您就可以创建最常见的样式。但是,可能没有用于您希望执行的所有操作的内置属性。出于这个原因,Typst 进一步支持可以完全重新定义元素外观的显示规则。 = 设置规则 使用设置的规则,您可以自定义元素的外观。它们被写成对元素函数的函数调用,前面有关键字(或在标记中)。只能向设置规则提供该函数的可选参数。请参阅每个函数的文档,了解哪些参数是可选的。在下面的示例中,我们使用两个设置规则来更改字体系列和标题编号。 #image("1.png") 顶级集规则在文件末尾之前一直有效。当嵌套在块内时,它仅在该块结束之...
https://github.com/jerrita/CQUPTypst
https://raw.githubusercontent.com/jerrita/CQUPTypst/master/main.typ
typst
#import "template/template.typ": * #import "template/abstract.typ": * #import "chapters/foreword.typ": * #import "chapters/main.typ": * #import "chapters/tail.typ": * // TODO: // - [ ] 封面 // - [ ] 页眉页脚制作 #show: project.with( title: "CQUPTypst", authors: ( (name: "jerrita", email: "<EMAIL>"), ), abstract:...
https://github.com/Dherse/ugent-templates
https://raw.githubusercontent.com/Dherse/ugent-templates/main/masterproef/parts/0_introduction.typ
typst
MIT License
#import "../ugent-template.typ": * = Introduction
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-35.typ
typst
Other
// Error: 14-18 cannot compare integer and string #calc.min(1, "hi")
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/003%20-%20Gatecrash/010_The%20Burying%2C%20Part%202.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Burying, Part 2", set_name: "Gatecrash", story_date: datetime(day: 06, month: 03, year: 2013), author: "<NAME>", doc ) #emph[To be close to the Old Gods, you must go under the earth. There you will hear their voices and feel their power...
https://github.com/fiit-community/base-typst-template
https://raw.githubusercontent.com/fiit-community/base-typst-template/main/src/localization.typ
typst
MIT License
#let localization = yaml("localization.yaml") // TODO: Fix this #let get_localization(lang) = { if lang == "en" { return localization.en } else if lang == "sk" { return localization.sk } else { return localization.en } }
https://github.com/denizenging/site
https://raw.githubusercontent.com/denizenging/site/master/page/about/index.en.typ
typst
#import "@local/pub-page:0.0.0": * #show: template( title: "About", description: "Linguist, Programmer, Stoic...", menu: (2, "user"), ) Hello there! I am an undergraduate of linguistics at the Medeniyet University of İstanbul who is a well-seasoned programmer, too! I am 22 years old and I like programming, sharin...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/opticalsize_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test prime superscript on large symbol $ scripts(sum_(k in NN))^prime 1/k^2 $ $sum_(k in NN)^prime 1/k^2$
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/societysystems/iwa1.typ
typst
#import "template.typ": * #show: template.with( title: "IWA #1", subtitle: "6.1850", pset: true, toc: false, ) #note(title: "Word Count")[1269] = Introduction BitTorrent is a communication protocol for distributing data across a network of peers in a decentralized manner. It spawned the widely used term "tor...
https://github.com/alex-touza/fractal-explorer
https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/README.md
markdown
# Fractal Explorer - Mathematical and Computational Study of Fractal Objects **Mathematical and computational study of fractal objects** is my research project ("Treball de recerca") for my last two years of high school ("Batxillerat"). This repository contains both the source code for the end product of my research ...
https://github.com/jerrita/CQUPTypst
https://raw.githubusercontent.com/jerrita/CQUPTypst/master/chapters/foreword.typ
typst
#let chapter_foreword = [ = 前言 #lorem(200) ]
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Intro.typ
typst
#import "../templates/interior_template.typ": * #show: chapter.with(chapter_name: "How It Works") = How It Works #show: columns.with(2, gutter: 1em) In a tabletop roleplaying game, each player takes on the role of one or more characters. The characters adventure through an imaginary world (which can range from the f...
https://github.com/maxlambertini/troika-srd-typst
https://raw.githubusercontent.com/maxlambertini/troika-srd-typst/main/chap03.typ
typst
#let chap03_title=[= The Rules <the-rules>] #let chap03=[ == Rolling the Dice <rolling-the-dice> There is only one die type used in Troika!, that being the d6. This can be used as a d3, d6, d66, d666, and so on. To roll a d3 just roll a d6 and halve it, rounding up. To roll a d66, d666, or more just roll a d6 as many ...
https://github.com/Zuttergutao/Typstdocs-Zh-CN-
https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/Typst-markdown/typst.typ
typst
#set page( paper:"a4", margin: ( top:27.5mm, bottom:25.4mm, left:35.7mm, right:27.7mm ), numbering:"1", number-align:center, ) #set text( font:("Times New Roman","SimSun"), style:"normal", weight:"regular", size: 12pt, ) #set par( ...
https://github.com/dantevi-other/kththesis-typst
https://raw.githubusercontent.com/dantevi-other/kththesis-typst/main/main.typ
typst
MIT License
//-- Imports #import "utils/styles.typ" as styles //-- Configurations #show: rest => styles.set-base-typography-styles(rest) //-- Content #include "parts/1-first-page.typ" #page[] #include "parts/2-eng-abstract.typ" #include "parts/3-swe-abstract.typ" #include "parts/4-outline.typ" #page[] #include "parts/5-...
https://github.com/Slyde-R/not-jku-thesis-template
https://raw.githubusercontent.com/Slyde-R/not-jku-thesis-template/main/acknowledgement.typ
typst
MIT No Attribution
#let acknowledgement(body) = { // set text( // size: 12pt, // lang: "en" // ) // set par(leading: 1em) // --- Acknowledgements --- align(left, text(1.4em, weight: 700,"Acknowledgements")) body v(15mm) pagebreak() }
https://github.com/donRumata03/aim-report
https://raw.githubusercontent.com/donRumata03/aim-report/master/encoding-properties.typ
typst
#import "lib/my-theorems.typ": * #let dark = true #let thm-styles = if (dark) { rose-pine-theorem-colors(rose-pine-moon) } else {()} #show: if (dark) { apply(variant: "rose-pine-moon") } else {it => it} #show thm-selector("thm-group"): my-theorem-styles( thm-styles: thm-styles ) #show thm-selector("bthm-group"):...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/style_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test different font. #show math.equation: set text(font: "Fira Math") $ v := vec(1 + 2, 2 - 4, sqrt(3), arrow(x)) + 1 $
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/postna_triod/1_generated/Tyzden1/7_Nedela.typ
typst
#import "../../../all.typ": * #columns(2, gutter: 2pt, [ == #translation.at("Ne") // --------------------------------------- // MALA VECIEREN // --------------------------------------- === #translation.at("M") #header3([(#translation.at("So_V"))]) ==== #translation.at("HOSPODI_VOZVACH") #generateTable(( ...
https://github.com/ludwig-austermann/typst-idwtet
https://raw.githubusercontent.com/ludwig-austermann/typst-idwtet/main/examples/endhidden.typ
typst
MIT License
#import "../idwtet.typ" #show: idwtet.init #set page(width: 16.5cm, height: auto, margin: 0.5cm) ```typst-ex-code let talk = "hello world" %ENDHIDDEN% talk ``` Here `talk` is defined just before this statement, but hidden via `%ENDHIDDEN%`.
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/figures/perpendicular-path-deviation.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "@preview/cetz:0.2.2" #import "@preview/funarray:0.4.0": windows #import "../lib/vec2.typ" #import "../lib/catppuccin.typ": catppuccin #let theme = catppuccin.theme #let drawing = cetz.canvas({ import cetz.draw: * let theta = -calc.pi / 6 let rotation ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix-gaps_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set math.mat(row-gap: 1em, column-gap: 2em) $ mat(1, 2; 3, 4) $
https://github.com/MrToWy/hsh-thesis
https://raw.githubusercontent.com/MrToWy/hsh-thesis/main/template/main.typ
typst
MIT License
#import "@preview/modern-hsh-thesis:1.0.0": * #show: project.with( title: "Beispiel-Titel", subtitle: "Bachelorarbeit im Studiengang Mediendesigninformatik", author: "<NAME>", author-email: "<EMAIL>", matrikelnummer: 1234567, prof: [ Prof. Dr. <NAME>\ Abteilung Informatik, Fakultät IV\ Hochschu...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/overview.md
markdown
Apache License 2.0
--- description: | Typstで素早く文書を作成する方法について学びましょう。お手軽なチュートリアルも、詳しく調べられるリファレンスもあります。 --- # Typstについて <div class="info-box"> **はじめに: Typst Japan Communityより** 日本語版 Typst のドキュメントへようこそ! [Typst](https://typst.app/) はアカデミック・ライティング用途を念頭に開発された、TeX などの今までのシステムを覆しうる革新的で多機能な組版エンジンです。もちろん、学術論文に限らず、雑誌や書籍の組版にも適しています。 この Web サイト...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/module/lsp.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book-page.with(title: "Tinymist LSP") == Architecture Tinymist binary has multiple modes, and it may runs multiple actors in background. The actors could run as an async task, in a single thread, or in an isolated process. The main process of tinymist runs the program as a language serve...
https://github.com/k0tran/cont_labs
https://raw.githubusercontent.com/k0tran/cont_labs/master/reports/template.typ
typst
// General template made for labs // Tries to mimic GOST 7.32-2017 #let lab( n: none, body ) = { set document(title: "TK LAB" + str(n), author: "<NAME>") set text( font: "Times New Roman", size: 14pt, lang: "ru" ) set page( margin: ( left: 3cm, ...
https://github.com/sofianedjerbi/ResumeOld
https://raw.githubusercontent.com/sofianedjerbi/ResumeOld/main/modules/strengths.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Forces") #let lightbold(str) = text(weight: 501, str) - Assimile de nouvelles #lightbold("technologies") avec aisance. - Prend des #lightbold("initiatives") en proposant des solutions créatives et novatrices.
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/transform-01.typ
typst
Other
// Test combination of scaling and rotation. #set page(height: 80pt) #align(center + horizon, rotate(20deg, scale(70%, image("test/assets/files/tiger.jpg"))) )
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/must_know/box_block.md
markdown
MIT License
# Boxing & Blocking ```typ You can use boxes to wrap anything into text: #box(image("../tiger.jpg", height: 2em)). Blocks will always be "separate paragraphs". They will not fit into a text: #block(image("../tiger.jpg", height: 2em)) ``` Both have similar useful properties: ```typ #box(stroke: red, inset: ...
https://github.com/artomweb/Quick-Sip-Typst-Template
https://raw.githubusercontent.com/artomweb/Quick-Sip-Typst-Template/master/examples/Tea-QRH.typ
typst
MIT License
#import "../template/template.typ": * #show: QRH.with(title: "Cup of Tea") #index() #section("Cup of Tea Preparation")[ #condition[ - Dehydration - Fatigue - Inability to Concentrate ] #objective[To replenish fluids.] #step("KETTLE", "Filled to 1 CUP") #tab(tab("Large mugs may require more wate...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/proposals/6-artifact-streaming.typ
typst
Apache License 2.0
#show link: underline #set page(height: auto) = Artifact streaming A stream representation for artifact has been proposed to transfer and apply the artifact differences between the Compiler and Renderer. == Proof of consistency The Compiler and Renderer always keep a consistent state regarding to the artifact. Let...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/jf.typ
typst
= Jacket flooding For a jacket that requires certain buoyancy, assessing its flooding potential can be useful. For instance, it can be a good indicator for operations --- not only in controlled conditions but also to assist in planning to overcome potentially adverse situations during installation, e.g., (a) severe we...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/zalmy/Z103.typ
typst
#import "/style.typ": * #set par(first-line-indent: 1em) #subheader[Psalóm 103.] Blahosloví dušé mojá Hóspoda, \* Hóspodi Bóže moj, vozvelíčilsja jesí ziló. Vo ispovídanije i vo veleľípotu obleklsja jesí, \* oďijájsja svítom jako rízoju. Prostirájaj nébo jako kóžu, \* pokryvájaj vodámi prevýspreňaja svojá. Pol...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.2.0/src/marks.typ
typst
Apache License 2.0
#import "@preview/cetz:0.1.2" #import "utils.typ": * #import calc: sqrt, abs, sin, cos, max, pow #let interpret-mark(mark) = { if mark == none { return none } if type(mark) == str { mark = (kind: mark) } mark.flip = mark.at("flip", default: +1) if mark.kind.at(-1) == "'" { mark.flip = -mark.flip mark.kin...
https://github.com/TsukimiAonami/ZJU-GZ-csprimers
https://raw.githubusercontent.com/TsukimiAonami/ZJU-GZ-csprimers/main/memorize-C-from-memory.typ
typst
#import "@preview/codelst:2.0.1": sourcecode #import "@preview/cuti:0.2.1": show-cn-fakebold #show: show-cn-fakebold #set page( background: align(bottom+right)[ #image( "logo.svg" ) ], paper : "a4", margin : (x : 2.4cm, y : 2.8cm), footer: context [ #set align(left) #set t...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/ref_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 1-5 label `<foo>` does not exist in the document // @foo
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-101D0.typ
typst
Apache License 2.0
#let data = ( ("PHAISTOS DISC SIGN PEDESTRIAN", "So", 0), ("PHAISTOS DISC SIGN PLUMED HEAD", "So", 0), ("PHAISTOS DISC SIGN TATTOOED HEAD", "So", 0), ("PHAISTOS DISC SIGN CAPTIVE", "So", 0), ("PHAISTOS DISC SIGN CHILD", "So", 0), ("PHAISTOS DISC SIGN WOMAN", "So", 0), ("PHAISTOS DISC SIGN HELMET", "So", 0...
https://github.com/Vertsineu/typst-raw-style-for-x86-att-syntax-style
https://raw.githubusercontent.com/Vertsineu/typst-raw-style-for-x86-att-syntax-style/master/README.md
markdown
MIT License
# typst-raw-style-for-x86-att-syntax-style ## Introduction As we all know, the x86 assembly language has two syntax formats: intel and att. The intel syntax is more popular than the att syntax. So, there are not syntax definitions and highlighting in typst for att syntax format. This repository is a collection of sy...
https://github.com/xsro/xsro.github.io
https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/9signum.typ
typst
#import "lib/lib.typ":sig = Notations of *sgn* and *sig* In homogeneous theory and high order sliding mode, the *signum* function ensures the definition on $RR$ and the function is *odd*. We always use following notations with scalar value $x$ $ "sgn"(x)=cases( x/abs(x) quad &"if" x!=0, 0 &"if" x=0 ),quad quad ...
https://github.com/Lucascf11/PRE
https://raw.githubusercontent.com/Lucascf11/PRE/main/Avaliacoes/AV4/main.typ
typst
#import "@preview/klaro-ifsc-sj:0.1.0": report #set text(lang: "pt") #show: doc => report( title: "Avaliação 4 de Processos Estocásticos", subtitle: "Vetores Aleatórios", // Se apenas um autor colocar , no final para indicar que é um array authors: ("<NAME>",), date: "10 de julho de 2024", doc, ) #set te...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2B820.typ
typst
Apache License 2.0
#let data = ( "0": ("<CJK Ideograph Extension E, First>", "Lo", 0), "1681": ("<CJK Ideograph Extension E, Last>", "Lo", 0), )
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-05.typ
typst
Other
// unnamed spread #let f(.., a) = a #test(f(1, 2, 3), 3)
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/appendix/proof/main.typ
typst
= Beweise == Stellenwertsystem <proof-positional-system> === Zu zeigen "Es gibt eine Stellenwertnotation für jede natürliche Zahl." $ forall x in NN, b in {2, 3, 4, ...}: exists #h(2pt) x_n...x_2x_1x_0 $ $ "mit" x_i in {0, 1, 2, ..., b-1} $ $ "und" x = sum_(i=0)^m a_i dot b^i $ === Beweis ==== Induktionsanfang ...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/commands.typ
typst
MIT License
#import "mod.typ": * #show: book-page.with(title: "Commands") = Exam ```typst #show: g-exam.with() ``` == g-exam Template for creating an exam. - *autor*: Infomation of autor of exam. - *name* (string, content): Name of author of exam. - *email* (string): e-mail of author of exam. - *watermark* (string...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/gates/inputs%20and%20outputs/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ": * #quantum-circuit( 1, mqgate($U$, n: 3, width: 5em, inputs: ( (qubit: 0, n: 2, label: $x$), (qubit: 2, label: $y$) ), outputs: ( (qubit: 0, n: 2, label: $x$), (qubit: 2, label: $y plus.circle f(x)$) )...
https://github.com/maucejo/tutorial_template
https://raw.githubusercontent.com/maucejo/tutorial_template/main/src/tutorial.typ
typst
MIT License
#import "@preview/subpar:0.1.1" #import "@preview/showybox:2.0.2": * #let hs = sym.space.thin #let colors = ( blue: rgb(29, 144, 208), light-blue: rgb(232, 246, 253), green: rgb(102, 174, 62), light-green: rgb(235, 244, 222), ) #let sl = [$#h(0.1em) slash #h(0.1em)$] // Figures #let subfigure = subpar.grid.w...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/editing/show6.typ
typst
Apache License 2.0
#show text.where() test
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-indent_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set par(hanging-indent: 2em) #set text(dir: rtl) لآن وقد أظلم الليل وبدأت النجوم تنضخ وجه الطبيعة التي أعْيَتْ من طول ما انبعثت في النهار
https://github.com/RY997/Thesis
https://raw.githubusercontent.com/RY997/Thesis/main/thesis.typ
typst
MIT License
#import "thesis_template.typ": * #import "common/cover.typ": * #import "common/titlepage.typ": * #import "thesis_typ/disclaimer.typ": * #import "thesis_typ/acknowledgement.typ": * #import "thesis_typ/abstract_en.typ": * #import "thesis_typ/abstract_de.typ": * #import "common/metadata.typ": * #cover( title: titleEng...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework10.typ
typst
#import "../template.typ": * #show: project.with( title: "Calculus Homework #10", authors: (( name: "<NAME> (#47)", email: "<EMAIL>", phone: "3230104585" ),), date: "December 2, 2023", ) = P129 习题3-1 11(1) #prob[求 $y=e^(-x) sin x$ 在 $[0,2 pi]$ 上的最大值和最小值.] 设 $y=f(x)$,有 $ f'(x) = -e^(-x) sin x + e^...
https://github.com/mangkoran/share.typ
https://raw.githubusercontent.com/mangkoran/share.typ/master/share.typ
typst
MIT License
// set rules #let set_rules(doc, user_vars) = { set page( paper: "a5", // a4, us-letter height: auto, // numbering: "1 / 1", number-align: center, // left, center, right margin: 1.00cm, // 1.25cm, 1.87cm, 2.5cm fill: rgb(user_vars.color).lighten(67%), ) set text( // font...
https://github.com/lynn/typst-syntree
https://raw.githubusercontent.com/lynn/typst-syntree/main/example.typ
typst
MIT License
#import "@local/syntree:0.2.0": syntree #figure( caption: "Example of a syntax tree.", gap: 2em, syntree( nonterminal: (fill: blue), terminal: (style: "italic"), "[S [NP [Det the] [Nom [Adj little] [N bear]]] [VP [VP [V saw] [NP [Det the] [Nom [Adj fine] [Adj fat] [N trout]]]] [PP [P in] [^NP the bro...
https://github.com/cecoeco/indic-numerals
https://raw.githubusercontent.com/cecoeco/indic-numerals/main/src/lib.typ
typst
MIT License
#let arabic-to-assamese(number) = { let arabic-digits = ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9") let indic-digits = ("০", "১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯") let string = str(number) return string.replace(arabic-digits.at(0), indic-digits.at(0)) .replace(arabic-digits.at(1), in...
https://github.com/Weetile/rhul-report-typst
https://raw.githubusercontent.com/Weetile/rhul-report-typst/main/lib.typ
typst
MIT License
// Royal Holloway, University of London Report template // Created by <NAME> in 2024 under the MIT License. // Modified from light-report-uia (https://typst.app/universe/package/light-report-uia/) #let report( title: none, author: none, group_name: none, course_name: none, unit_type: none, report_type: non...
https://github.com/ntjess/showman
https://raw.githubusercontent.com/ntjess/showman/main/src/formatter.typ
typst
MIT License
/* Inspiration: https://github.com/typst/packages/blob/main/packages/preview/cetz/0.1.0/manual.typ */ #import "runner.typ": raw-with-eval, config #let filled-container(inline: false, ..args) = { let (container, unit) = if inline { (box.with(baseline: 0.35em), 0.35em) } else { (block.with(breakable: false)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/jogs/0.1.0/lib.typ
typst
Apache License 2.0
#let jogs-wasm = plugin("jogs.wasm") /// Run a Javascript code snippet. /// /// # Arguments /// * `code` - The Javascript code string to run. /// /// # Returns /// The result of the Javascript code. The type is the typst type which most closely resembles the Javascript type. /// /// # Example /// ```typ /// let res...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/计算方法B/code/hw3/hw3.typ
typst
#import "../../../template.typ": * #show: note.with( title: "作业3", author: "YHTQ", date: datetime.today().display(), logo: none, withOutlined : false, withTitle : false, withHeadingNumbering: false ) = 1. $ A = mat(1, 2;3, 4;5, 6) b = vec(1, 1, 1)\ A^T = mat(1, 3, 5; 2, 4, 6) \ A^T A = mat(35, #(2...
https://github.com/daxartio/cv
https://raw.githubusercontent.com/daxartio/cv/main/ru.typ
typst
MIT License
#import "cv.typ": cv #cv("ru.yml")
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/21-petr-a-lucie.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo #dilo("<NAME> Lucie", "petr", "<NAME>", "<NAME>", "1. pol. 20. st; meziválečný realismus", "Francie", "1920", "epika", "válečná milostná novela") #columns(2, gutter: 1em)[ *Téma*\ Budování lásky během války *Motivy*\ krutost a nesmyslnost války, přeměna člověka válkou, láska $time...
https://github.com/Duolei-Wang/modern-sustech-thesis
https://raw.githubusercontent.com/Duolei-Wang/modern-sustech-thesis/main/template/configs/cover.typ
typst
MIT License
#import "font.typ" as fonts #let shortline( title, pos: left, titlelength: 4em, linelength: 5em, isCN: true, ) = { let drawbaseline(length, weight, content) = { box( width: length, stroke: (bottom: weight) )[#content] } set text( font: fonts.SongTi, size: fonts.No4-S...
https://github.com/pluttan/typst-g7.32-2017
https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/g7.32-2017.typ
typst
MIT License
#import "styles/page.typ": * #import "styles/heading.typ": * #import "styles/list.typ": * #import "styles/raw.typ": * #import "utils/image.typ": * #import "utils/raw.typ": * #import "utils/table.typ": * #import "utils/toc.typ": * #let g732-2017(content) = { show: style_page(); show: style_heading(); show:...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PianificazioneSprint/TredicesimoSprint.typ
typst
MIT License
#import "../../functions.typ": glossary === Tredicesimo #glossary[sprint] *Inizio*: Venerdì 15/03/2024 *Fine*: Giovedì 21/03/2024 *Obiettivi dello #glossary[sprint]*: - Proseguire la stesura del _Piano di Progetto_: - Aggiornare pianificazione e preventivo pertinenti allo #glossary[sprint] 13 e inserire il co...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/feature/export.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book-page.with(title: "Exporting Documents") You can export your documents to various formats using the `export` feature. == Export from Query Result === Hello World Example (VSCode Tasks) You can export the result of a query as text using the `export` command. Given a code: ```typ #p...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/decompiling.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## Decompiling a font == 反编译字体文件 // We talked near the start of the chapter about how we could take our textual feature rules and compile them into a font. What ab...
https://github.com/dccsillag/minienvs.typ
https://raw.githubusercontent.com/dccsillag/minienvs.typ/main/sandbox.typ
typst
MIT License
#import "./minienvs.typ": minienvs, envlabel #show: minienvs #set par(justify: true) #show "~": $tilde.op$ #let KL = math.op("KL") #let dist = math.upright("d") = My heading #v(5em) / Theorem (Ville's inequality): Let $X_0, ...$ be a non-negative supermartingale. Then, for any real number $a > 0$, $ PP[sup_(n...
https://github.com/saurabtharu/Internship-repo
https://raw.githubusercontent.com/saurabtharu/Internship-repo/main/Internship%20Report%20-%20typst/chapters/0-cover-abhijeet.typ
typst
#import "../template.typ": * #align(center, image("../images/TU Logo.svg",height: 19%) ) #align(center, text(16pt)[ *Tribhuvan University \ Institute of Science and Technology \ \ National College of Computer Studies \ Paknajol, Kathmandu, Nepal* \ \ ]) #align(center, text(14...
https://github.com/SillyFreak/typst-preprocess
https://raw.githubusercontent.com/SillyFreak/typst-preprocess/main/README.md
markdown
# `typst-preprocess` A tool for processing [prequery](https://typst.app/universe/package/prequery) data in Typst documents. ## TODOs This is just a selection of soon-to-be-relevant things; almost nothing is currently working - proper logging of job progress - proper error types - good configuration error handling w...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/spacing_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test spacing collapsing with different font sizes. #grid(columns: 2)[ #text(size: 12pt, block(below: 1em)[A]) #text(size: 8pt, block(above: 1em)[B]) ][ #text(size: 12pt, block(below: 1em)[A]) #text(size: 8pt, block(above: 1.25em)[B]) ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11B00.typ
typst
Apache License 2.0
#let data = ( ("DEVANAGARI HEAD MARK", "Po", 0), ("DEVANAGARI HEAD MARK WITH HEADSTROKE", "Po", 0), ("DEVANAGARI SIGN BHALE", "Po", 0), ("DEVANAGARI SIGN BHALE WITH HOOK", "Po", 0), ("DEVANAGARI SIGN EXTENDED BHALE", "Po", 0), ("DEVANAGARI SIGN EXTENDED BHALE WITH HOOK", "Po", 0), ("DEVANAGARI SIGN WESTER...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/graceful-genetics/0.1.0/src/impl.typ
typst
Apache License 2.0
#let make-venue = { box(rect(fill: luma(140), inset: 10pt, height: 2.5cm)[ #set text(font: "TeX Gyre Pagella", fill: white, weight: 700, size: 20pt) #align(bottom)[OXFORD] ]) set text(22pt, font: "TeX Gyre Heros") box(pad(left: 10pt, bottom: 10pt, [PHYSICS])) } #let template( title: [], authors...
https://github.com/MyPedagogicalRessources/Demo-git-typst
https://raw.githubusercontent.com/MyPedagogicalRessources/Demo-git-typst/main/README.md
markdown
# Démo Git typst ### NOM : XXX ### Prénom : YYY ### Groupe de TP : - [ ] A - [x] B - [ ] C
https://github.com/liuguangxi/suiji
https://raw.githubusercontent.com/liuguangxi/suiji/main/src/lcg.typ
typst
MIT License
//============================================================================== // Linear congruential generator // // The period of this generator is 2^31. // The generator is not very good -- the low bits of successive numbers // are correlated. //===============================================================...
https://github.com/XcantloadX/TypstMomoTalk
https://raw.githubusercontent.com/XcantloadX/TypstMomoTalk/main/main.typ
typst
#import "momotalk.typ": chat, msgbox, messages #import "characters.typ" : * #show: doc => chat(doc) == 单个消息框演示 ```typst #msgbox[测试文本] #msgbox[ 换行与分段。 类似于 Markdown,空一行即表示分段。 也可以用 \ 来强制换行。 ] ``` #msgbox[测试文本(左侧)] #msgbox(direction: "right")[测试文本(右侧)] #msgbox(direction: "none")[测试文本(无)] #msgbox[测试文本] #msgbox[...
https://github.com/kristoferssolo/Mafia-the-Game-Description
https://raw.githubusercontent.com/kristoferssolo/Mafia-the-Game-Description/main/utils.typ
typst
#import "@preview/tablex:0.0.6": tablex #import "@preview/big-todo:0.2.0": todo as TODO #let custom-block( item, ) = { set align(start) block( inset: 8pt, stroke: black, width: 100%, spacing: 0pt, breakable: true, item, ) } #let longtable( title: "", titles: (), caption: "", .....
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Interi/Primi.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Sia $p in ZZ$, con $p gt.eq 2$. Il numero intero $p$ si dice *primo* se, per qualsiasi $a, b in ZZ$, $p | a b$ implica $p | a$ oppure $p | b$. Un numero intero non primo viene detto *numero composto*. Il numero intero $p$ con $p gt.eq 2$ viene detto *irriducibile* se i suoi divisori so...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/out-of-flow-in-block_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Counter update in the first region. #set page(height: 5cm, margin: 1cm) Counter update. #block(breakable: true, stroke: 1pt, inset: 0.5cm)[ #counter("dummy").step() #rect(height: 2cm, fill: gray) ]
https://github.com/giovanniberti/moderncv.typst
https://raw.githubusercontent.com/giovanniberti/moderncv.typst/main/template/main.typ
typst
Apache License 2.0
#import "@preview/moderncv:0.1.0": project, cvcol, cventry #show: project.with( title: "Master Frobnicator", author: "<NAME>", github: "johndoe1337", phone: "+01 234 56 7890", email: "<EMAIL>" ) // Type here
https://github.com/HynDuf/typst-cv
https://raw.githubusercontent.com/HynDuf/typst-cv/master/utils/styles.typ
typst
Apache License 2.0
#let hBar() = [#h(5pt) | #h(5pt)] #let latinFontList = ("New Computer Modern",) #let latinHeaderFont = ("New Computer Modern") #let awesomeColors = ( skyblue: rgb("#0395DE"), red: rgb("#DC3522"), nephritis: rgb("#27AE60"), concrete: rgb("#95A5A6"), darknight: rgb("#131A28"), catppuccin: rgb("#8a5cf5"), )...
https://github.com/hewliyang/fyp-typst
https://raw.githubusercontent.com/hewliyang/fyp-typst/main/intro.typ
typst
#set heading(numbering: "1.") = Introduction == Terminology - Phoneme: The smallest unit of sound in a language that can distinguish one word from another. For example, the words "bat" and "pat" differ by one phoneme. - Spectrogram: A visual representation of the spectrum of frequencies in a sound signal as they var...
https://github.com/SidneyLYZhang/learnTypst
https://raw.githubusercontent.com/SidneyLYZhang/learnTypst/main/Documentation/Sources/004_making-a-template.typ
typst
#set text(font:("Consolas", "Source Han Sans SC")) #set text(lang: "zh") #show emph: text.with(font: ("Linux Libertine","STKaiti")) #show link: text.with(fill: color.blue) = 制作模板 在本教程的前三章中,你已经学会了如何在Typst中编写文档、应用基本样式和深入定制其外观以遵循出版商的样式指南。因为你在前一章中写的论文取得了巨大的成功,你被要求为同一场会议撰写续作。这一次,你想将你在前一章创建的风格转换为可重复使用的模板。在本章中,你将学习如何创建一个仅需一...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/quill/0.1.0/quill.typ
typst
Apache License 2.0
#let b-if-a-is-none(a, b) = { if a != none { a } else { b } } #let is-gate(item) = { type(item) == "dictionary" and "gate-type" in item } #let is-circuit-drawable(item) = { is-gate(item) or type(item) in ("string", "content") } #let is-circuit-meta-instruction(item) = { type(item) == "dictionary" and "qc-instr" in ite...
https://github.com/drbartling/obsidian-to-typst
https://raw.githubusercontent.com/drbartling/obsidian-to-typst/master/src/obsidian_to_typst/document.typ
typst
#set document(title:[TheTitleOfTheDocument], date:auto) #let title = "TheTitleOfTheDocument" #let doc_date = datetime.today().display() #set page( header: align( right + horizon, title ), ) #let fit(body) = { layout(container_size => { style(styles => { let body_size = ...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/assets/demo/fontawesome.typ
typst
MIT License
// #import "lib.typ": * #import "@preview/fontawesome:0.1.0": * = typst-fontawesome duskmoon314 https://github.com/duskmoon314/typst-fontawesome A Typst library for Font Awesome 6.4.0 icons through the desktop fonts. == Usage === Install the fonts You can download the fonts from the official website: https://fon...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas1/6_Sobota.typ
typst
#let V = ( "HV": ( ("", "Prechváľniji múčenicy", "Múčenikov jedínstvennoje toržestvó, strujámi svoích krovéj mnóžestvo bisóv udavíša, i vsjákija ustáviša stúdnyja žértvy, ídoľskuju razrušíša prélesť, terpelívno postradávše i nýňi móľatsja Christú darováti dušám nášym mír, i véliju mílosť."), ("", "", "Pástyri...
https://github.com/francorbacho/cv
https://raw.githubusercontent.com/francorbacho/cv/master/cv-spa.typ
typst
#import "cv.typ": banner, chiline, technologies #import "alt.typ": esei, pk, uvigomotorsport #show heading: set text(font: "Linux Biolinum") #show link: underline #set par(justify: true) #set page( margin: (x: 0.9cm, y: 1.3cm), ) = <NAME> #banner == Educación #chiline() // TODO: Add flags #box(esei, baseline: 6...
https://github.com/Shadow-Song/CV
https://raw.githubusercontent.com/Shadow-Song/CV/main/CV%20-%20en_US/resume.typ
typst
#import "template.typ": * // 设置图标, 来源: https://fontawesome.com/icons/ // 如果要修改图标颜色, 请手动修改 svg 文件中的 fill="rgb(38, 38, 125)" 属性 // 例如可以使用 VS Code 的全局文本替换功能 #let faAward = icon("icons/fa-award.svg") #let faBuildingColumns = icon("icons/fa-building-columns.svg") #let faCode = icon("icons/fa-code.svg") #let faEnvelope = ic...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/notes.typ
typst
#import "template.typ": * #import "@preview/ctheorems:1.1.2": * #show: thmrules // 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: "Diseño e implementación de bibliotecas de software", authors: ( (name: "<NAME>", ema...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/biology/lec6.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 6", subtitle: "7.016" ) = Nucleotides Nucleotides consists of three components - a sugar, a base, and a triphosphate. = DNA and RNA == DNA #define( title: "DNA vs RNA" )[ The difference between DNA from RNA is that it is missing the oxygen at...
https://github.com/youwen5/linear-algebra-done-wrong
https://raw.githubusercontent.com/youwen5/linear-algebra-done-wrong/main/psets/main.typ
typst
#import "@preview/unequivocal-ams:0.1.0": ams-article, theorem, proof #let abstract = [These are some of my solutions for the problem sets in Linear Algebra Done Wrong. They are by no means comprehensive nor definitive, but I have generally tried to make sure that they are at least mathematically correct.] #show:...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/notebook-notebookinator/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator, codetastic #import notebookinator: * #import themes.radial.components: * #import codetastic: qrcode #show: create-body-entry.with( title: "Notebook: Notebookinator", type: "notebook", date: datetime(year: 2024, month: 1, day: 16), author: "<NAME>", witness: "<NAME>",...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/198.%20simply.html.typ
typst
simply.html Write Simply March 2021I try to write using ordinary words and simple sentences.That kind of writing is easier to read, and the easier something is to read, the more deeply readers will engage with it. The less energy they expend on your prose, the more they'll have left for your ideas.And the further they...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/frontend/emacs.typ
typst
Apache License 2.0
#import "/docs/tinymist/frontend/mod.typ": * #show: book-page.with(title: "Tinymist Emacs Extension") Run and configure tinymist in Emacs for Typst. == Features <features> See #link("https://github.com/Myriad-Dreamin/tinymist#features")[Tinymist Features] for a list of features. #include "common-finding-executable....
https://github.com/catarinacps/typst-abnt
https://raw.githubusercontent.com/catarinacps/typst-abnt/main/abnt.typ
typst
MIT License
#import "@preview/glossarium:0.3.0": make-glossary, gls, glspl #import "@preview/i-figured:0.2.4" #import "pages.typ": * #import "presets.typ" as presets: * #let std-figure = figure #let figure(body, kind: auto, placement: none, caption: none, supplement: auto, numbering: "1.1", gap: 0.5em, ...
https://github.com/fky2015/resume-ng-typst
https://raw.githubusercontent.com/fky2015/resume-ng-typst/main/lib/lib.typ
typst
MIT License
#let delimiter = " | " #let array-to-str(a, delimiter: delimiter) = { a.join(delimiter) } #let resume-contacts(contact) = { set align(center) array-to-str(contact) } // The project function defines how your document looks. // It takes your content and some metadata and formats it. // Go ahead and customize ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/include-02.typ
typst
Other
#include "modules/chap1.typ" // The variables of the file should not appear in this scope. // Error: 2-6 unknown variable: name #name
https://github.com/orenvadi/AppliedMathFirstColloq
https://raw.githubusercontent.com/orenvadi/AppliedMathFirstColloq/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: "СРСП №3", big_title: "Вычисление погрешности результатов арифметических действий", authors: ( "<NAME>", ), // Insert your abstract af...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/meeting_minutes/week_03.typ
typst
#import "../../../acronyms.typ": * = Project Meeting 03.10.2023 08:15 - 09:00 (MS Teams) == Participants - Prof. Dr. <NAME> - <NAME> - <NAME> == Agenda - Discussion of vision for prototype - Decisions: - Design concept is the focus of this #ac("SA"), prototype is secondary - Design should focus on education; ...
https://github.com/eternal-flame-AD/typstpp
https://raw.githubusercontent.com/eternal-flame-AD/typstpp/main/example.out.typ
typst
Apache License 2.0
#let src(content) = { block( fill: rgb("#ececec"), inset: 1em, breakable: true)[ #content ] } #align(center)[ *Typstpp Demo* ] Load some libraries: #src[ ```r library(tidyverse) ``` ] Then make a plot: #src[ ```r plot(iris) ``` ] #image("figures/typstpp-chunk-1-unnamed-chunk-1-1.svg") Th...
https://github.com/NIFU-NO/nifutypst
https://raw.githubusercontent.com/NIFU-NO/nifutypst/main/README.md
markdown
MIT License
# NIFU Typst format Template for rendering .qmd files according to NIFU publication styles. ## Installing ```bash quarto use template NIFU-NO/nifutypst ``` This will install the extension and create an example qmd file that you can use as a starting place for your document. ## Using