repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/joshuabeny1999/unisg-thesis-template-typst
https://raw.githubusercontent.com/joshuabeny1999/unisg-thesis-template-typst/main/layout/directory_writing_aids.typ
typst
Other
#let directory_writing_aids(language: "en", body) = { set page( margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm), numbering: none, number-align: center, ) let body-font = "New Computer Modern" let sans-font = "New Computer Modern Sans" set text( font: body-font, size: 12pt, ...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas3/0_Nedela.typ
typst
#let M = ( "HV": ( ("", "", "Tvojím krestóm Christé Spáse, smérti deržáva razrušísja, i dijávoľa prélesť uprazdnísja: ród že čelovíčeskij víroju spasájemyj, písň tebí vsehdá prinósit."), ("", "", "Tvojím krestóm Christé Spáse, smérti deržáva razrušísja, i dijávoľa prélesť uprazdnísja: ród že čelovíčeskij víro...
https://github.com/metamuffin/typst
https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/compiler/import.typ
typst
Apache License 2.0
// Test function and module imports. // Ref: false --- // Test basic syntax and semantics. // Ref: true // Test that this will be overwritten. #let value = [foo] // Import multiple things. #import "module.typ": fn, value #fn[Like and Subscribe!] #value // Should output `bye`. // Stop at semicolon. #import "module.t...
https://github.com/sahasatvik/typst-theorems
https://raw.githubusercontent.com/sahasatvik/typst-theorems/main/README.md
markdown
MIT License
# typst-theorems An implementation of numbered theorem environments in [typst](https://github.com/typst/typst). Available as [ctheorems](https://typst.app/universe/package/ctheorems) in the official Typst Universe. Import with ```typst #import "@preview/ctheorems:1.1.3": * #show: thmrules ``` Alternatively, copy and...
https://github.com/naps62/presentation-rust
https://raw.githubusercontent.com/naps62/presentation-rust/main/theme.typ
typst
#import "@preview/polylux:0.3.1": * #import themes.simple: * #let dark = rgb("#212121") #let darkbg = rgb("#6b1d09") #let light = white #let focus-slide(body) = { themes.simple.focus-slide(background: darkbg, foreground: light, body) } #let horizon-slide(body) = { logic.polylux-slide(align(horizon, body)) } #le...
https://github.com/jamesrswift/journal-ensemble
https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/src/pages/contents.typ
typst
The Unlicense
#import "/src/contents.typ": needle #let contents() = { pagebreak(weak: true, to: "odd") v(1cm) text(size: 22pt)[Contents] parbreak() context { let results = query(needle).fold((:), (acc, it)=>{ acc.insert(it.value.scope, acc.at(it.value.scope, default: ()) + (it,)) return acc }) ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.0.0/acronyms-list.typ
typst
Apache License 2.0
// https://github.com/typst/typst/issues/659 #import "template/acronyms.typ": acronyms // The state which tracks the used acronyms #let usedAcronyms = state("usedDic", (:)) #let acronyms-list() = { v(2em) heading(level: 1, numbering: none, "Acronyms") locate(loc => usedAcronyms.final(loc) .pairs() .filter(x...
https://github.com/mitsuyukiLab/grad_thesis_typst
https://raw.githubusercontent.com/mitsuyukiLab/grad_thesis_typst/main/contents/proposed_method.typ
typst
= 提案手法 <proposed_method> == 概要 <overview_of_proposed_method> == 手法1 <method1> == 手法2 <method2> == 開発したシステム <developed_system>
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/linear/format.typ
typst
The Unlicense
#import "entry-types.typ": * /// Formats the border lines /// /// Example Usage: /// /// ```typ /// #set-border() /// ``` #let set-border(type) = { let top-axis = -8.4% // The title line height let bottom-axis = 100% // The automatic bottom border // Adjusts top and bottom borders for frontmatter and appendix en...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-00.typ
typst
Other
_Shopping list_ #list[Apples][Potatoes][Juice]
https://github.com/matthiasGmayer/typst-math-template
https://raw.githubusercontent.com/matthiasGmayer/typst-math-template/main/manage.typ
typst
#let is_main_document = state("is_main_document",false)
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/frac_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test large fraction. $ x = (-b plus.minus sqrt(b^2 - 4a c))/(2a) $
https://github.com/SE-legacy/physics_lectures_3_term
https://raw.githubusercontent.com/SE-legacy/physics_lectures_3_term/main/lesson_3/main.typ
typst
#import "conf.typ": conf #show: conf.with( meta: ( title: "Физика. Занятие №3, 23.09.2024", author: "<NAME>., <NAME>. Чернышевского", group: 251, city: "Саратов", year: 2024, ) ) = Проводники в электростатическом поле $C = q(t)/phi_1 - phi_2 = q/U = (sigma S) / (E d) = (sigma S epsilon_0) / (...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/tutorial/functions.md
markdown
MIT License
# Functions ## Functions ```typ Okay, let's now move to more complex things. First of all, there are *lots of magic* in Typst. And it major part of it is called "scripting". To go to scripting mode, type `#` and *some function name* after that. We will start with _something dull_: #lorem(50) _That *f...
https://github.com/stephane-klein/asdf-typst
https://raw.githubusercontent.com/stephane-klein/asdf-typst/main/README.md
markdown
MIT License
<div align="center"> # asdf-typst [![Build](https://github.com/stephane-klein/asdf-typst/actions/workflows/build.yml/badge.svg)](https://github.com/stephane-klein/asdf-typst/actions/workflows/build.yml) [typst](https://github.com/typst/typst) plugin for the [asdf version manager](https://asdf-vm.com). </div> # Cont...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/math-realize_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #let my = $pi$ #let f1 = box(baseline: 10pt, [f]) #let f2 = style(sty => f1) #show math.vec: [nope] $ pi a $ $ my a $ $ 1 + sqrt(x/2) + sqrt(#hide($x/2$)) $ $ a x #link("url", $+ b$) $ $ f f1 f2 $ $ vec(1,2) * 2 $
https://github.com/Quaternijkon/notebook
https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-算法/二分查找/寻找旋转排序数组中的最小值.typ
typst
#import "../../../../lib.typ":* === #Title( title: [寻找旋转排序数组中的最小值], reflink: "https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array/description/", level: 2, )<寻找旋转排序数组中的最小值> #note( title: [ 寻找旋转排序数组中的最小值 ], description: [ 已知一个长度为 n 的数组,预先按照升序排列,经由 1 到 n 次旋转后,得到输入数组。例如,原数组` nums = [0,1,2,4,5,6...
https://github.com/tani/gitpod-typst
https://raw.githubusercontent.com/tani/gitpod-typst/main/slide.typ
typst
#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/tiaoma:0.2.0": * #import "@preview/numbly:0.1.0": numbly #show: stargazer-theme.with( aspect-ratio: "16-9", config-info( title: [Lorem Ipsum], subtitle: [dolor sit amet, consectetur adipiscing elit], author: [sed do eius...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/examples/sincx.typ
typst
MIT License
/// This function computes the cardinal sine, $sinc(x)=sin(x)/x$. /// /// #example(`#sinc(0)`, mode: "markup") /// /// - x (int, float): The argument for the cardinal sine function. /// -> float #let sinc(x) = if x == 0 {1} else {calc.sin(x) / x}
https://github.com/miliog/typst-penreport
https://raw.githubusercontent.com/miliog/typst-penreport/master/typst-penreport/content/version_table.typ
typst
MIT No Attribution
#import "../helper/version.typ": * #let versionTable(headingName, versions) = [ #if versions.len() > 0 [ #strong(headingName) #let version = "0.0" #table( fill: (col, row) => if row == 0 { luma(240) }, columns: (0.56fr, 1.05fr, 0.7fr, 1.5fr), inset: 10pt, stroke: (paint: gray, thi...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/tutorial/templates.md
markdown
MIT License
# Templates ## Templates If you want to reuse styling in other files, you can use the _template_ idiom. Because `set` and `show` rules are only active in their current scope, they will not affect content in a file you imported your file into. But functions can circumvent this in a predictable way: ```typ-norender // de...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/all_types_working/all_types_working_inserted_result.typ
typst
#underline[GNU];#underline[ ];#underline[nano];#underline[ ];#underline[6.2];#underline[ ];#underline[test1.typ] = #underline[Introduction] #underline[In];#underline[ ];#underline[this];#underline[ ];#underline[report,];#underline[ ];#underline[we];#underline[ ];#underline[will];#underline[ ];#underline[explore];#unde...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/058%20-%20Duskmourn%3A%20House%20of%20Horror/008_Keep%20Them%20Alive.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Keep Them Alive", set_name: "Duskmourn: House of Horror", story_date: datetime(day: 27, month: 08, year: 2024), author: "<NAME>", doc ) Grown now, child, strong and solid and ready to face the horrors of the halls. Let me have the look of y...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/place-spacing_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #show figure: set block(spacing: 4em) Paragraph before float. #figure(rect(), placement: bottom) Paragraph after float.
https://github.com/ofurtumi/formleg
https://raw.githubusercontent.com/ofurtumi/formleg/main/readme.md
markdown
# Formleg mál og reiknanleiki Verkefni og svör úr Töl301G > Verkefni skrifuð í typst, þurfa typst til að vera generated > þurfa líka pakka fyrir template, hægt að finna í [typst-packages](https://github.com/ofurtumi/typst-packages) > sjá upplýsingar um setup í því repo
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/lt.typ
typst
MIT License
#import "_imports.typ": * #import "@preview/ccicons:1.0.0": ccicon, cc-is-valid #let lerntheke( ..args, body, ) = { let ( doc, page-init, tpl, ) = base-template( type: "LT", type-long: "Lerntheke", // defaults paper: "a5", flipped: true, margin: 1cm, fontsize: 11pt, ...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/tools/macros.typ
typst
#let remLE(x) = text(fill: blue, size: 0.75em)[[*LE:* #x]] //--------------- eqref // #let reffmt = it => box(stroke: rgb("#ff0000") + 0.5pt, outset: 2pt)[#smallcaps[#it]] #let reffmt = it => text(fill: blue)[#it] #show ref: reffmt #let linkfmt = it => [#underline(text(blue)[#it])] #import "eqref.typ": * #let eqref ...
https://github.com/seapat/markup-resume-lib
https://raw.githubusercontent.com/seapat/markup-resume-lib/main/cv_core.typ
typst
Apache License 2.0
#import "utils.typ" as utils #import "@preview/fontawesome:0.1.0": * // first define functions for each component then use them to generate the cv #let link-blue = rgb("#0000EE") #let make_title_line(entry, render_settings) = { let date_format = "[month repr:numerical]/[year]" let title = if "title" in entry.key...
https://github.com/jomaway/typst-teacher-templates
https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-utils/lib/layout.typ
typst
MIT License
/// display some content side-by-side /// /// - columns (none, auto, integer): Set the amount of columns /// - gutter (length): grid gutter /// - ..cols (content): content to show /// -> content #let side-by-side(columns: none, gutter: 1em, ..cols) = { let cols = cols.pos() let columns = if columns == none { (1...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cartridges/huc1.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * == HuC-1 mapper chip HuC-1 supports ROM sizes up to 8 Mbit (64 banks of #hex("4000") bytes), and RAM sizes up to 256 Kbit (4 banks of #hex("2000") bytes). It also includes a sensor and a LED for infrared communication. The information in this section is based on my HuC-1 research.
https://github.com/El-Naizin/cv
https://raw.githubusercontent.com/El-Naizin/cv/main/modules/certificates.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Certificates") #cvHonor( date: [2022], title: [AWS Certified Security], issuer: [Amazon Web Services (AWS)], ) #cvHonor( date: [2017], title: [Applied Data Science with Python], issuer: [Coursera] ) #cvHonor( date: [], title: [SQL Fundamentals Tr...
https://github.com/jens-hj/ds-exam-notes
https://raw.githubusercontent.com/jens-hj/ds-exam-notes/main/main.typ
typst
#import "lib.typ": * #show link: it => underline(emph(it)) #set page(numbering: "1 / 1") #set math.equation(numbering: "(1)") #set enum(full: true) #set math.mat(delim: "[") #set math.vec(delim: "[") #set list(marker: text(catppuccin.latte.lavender, sym.diamond.filled)) #show heading.where(level: 1): it => text(size:...
https://github.com/ofurtumi/hugbo-glosur
https://raw.githubusercontent.com/ofurtumi/hugbo-glosur/main/glosur.typ
typst
#let glob_color = luma(90) #set text(font: "Virgil 3 YOFF", glob_color) #set page( margin: (x: 16pt, y: 16pt), ) #show raw: it => {text(font: "Virgil 3 YOFF", size: 7pt)[#it]} #let note(heading, body, delim: true) = { show raw.where(block: true): r => { box(stroke: 1pt + glob_color, inset: 8pt, radius: 8pt, r)...
https://github.com/sabitov-kirill/os-distributed-systems-report
https://raw.githubusercontent.com/sabitov-kirill/os-distributed-systems-report/master/main.typ
typst
#import "template.typ": * #import "@preview/codelst:2.0.0": sourcecode #show: ams-article.with( title: [Распределенные системы], authors: ( ( name: "<NAME>", department: [CT M3235], organization: [Itmo University], location: [Russia, St. Petersburg], email: "<EMAIL>", url: "...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-rect-00.typ
typst
Other
// Default rectangle. #rect()
https://github.com/flavio20002/cyrcuits
https://raw.githubusercontent.com/flavio20002/cyrcuits/main/tests/rc2/test.typ
typst
Other
#import "../../lib.typ": * #set page(width: auto, height: auto, margin: 0.5cm) #show: doc => cyrcuits( scale: 1, doc, ) ```circuitkz \begin{circuitikz} \draw (0,0) to[battery1,l=$E$] ++ (0,2) to[R,l=$R_1$] ++ (0,2) to[short,-*] ++ (2,0) coordinate (aux1) to[R,l_=$R_2$] ++(0,-4) ...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/src/edge.typ
typst
MIT License
#import "utils.typ": * #import "marks.typ": * #import "coords.typ": vector-polar-with-xy-or-uv-length, resolve, default-ctx #let EDGE_FLAGS = ( "dashed": (dash: "dashed"), "dotted": (dash: "dotted"), "double": (extrude: (-2, +2)), "triple": (extrude: (-4, 0, +4)), "crossing": (crossing: true), "wave": (decoratio...
https://github.com/Zuttergutao/Typstdocs-Zh-CN-
https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/Classified/Part%20I.typ
typst
#import "format.typ":* #counter(page).update(1) #[ #set heading(numbering: none) #show heading: it => block[ #set align(center) #set text(size:28pt,weight:700) #it.body ] = Part I Guide for LaTex Users ] #[ #set heading(numbering: none) = 前言 此部分将会简明的介绍LaTe...
https://github.com/ivaquero/book-control
https://raw.githubusercontent.com/ivaquero/book-control/main/06-比例微分控制.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "比例微分控制", author: ("ivaquero"), header-cap: "现代控制理论", footer-cap: "github@eqt:ivaquero", outline-on: false, doc, ) = 根轨迹 <根轨迹> == 图像绘制 <图像绘制> 对如下闭环系统 #figure( image("./images/block/closed-1.drawio.png", width: 40%), caption: [闭环控制], supp...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/style/1.0.0/override.typ
typst
Creative Commons Zero v1.0 Universal
#import "dependencies.typ": * #let style(doc) = [ #set page( paper: "a4", margin: auto, numbering: "1", number-align: center, ) // Font #set text(12pt, lang: "en") #show math.equation: set text(font: "New Computer Modern Math") #show raw: text.with(font: "JetBrains Mono") // Spacing #...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-12-07/23-12-07.typ
typst
#import "/template.typ": * #show: project.with( date: "07/12/23", subTitle: "Discussione a seguito del meeting con il Professor Cardin", docType: "verbale", authors: ( "<NAME>", ), timeStart: "16:00", timeEnd: "16:40", ); = Ordine del giorno A seguito di un dialogo che il gruppo ha avuto con il prof...
https://github.com/TimPaasche/Typst.Template.Thesis
https://raw.githubusercontent.com/TimPaasche/Typst.Template.Thesis/main/main.typ
typst
MIT License
#import "template/style.typ": titlePage #show: doc => titlePage( title: "Template", subtitle: "for Typst", authors: ( ( name: "<NAME>", mnr: 12345 ), ), abstractUS: lorem(80), abstractDE: lorem(80), scientificSupervisor: "Prof. x", technicalSupervisor: "<NAME>", oath: false, do...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/old-stuff/h-zksnark.typ
typst
#import "preamble.typ":* This part covers two constructions of the zkSNARK, the *PLONK* and *Groth16* constructions. Despite being fairly modern constructions, these are arguably simpler and more informative to learn about than the PCP construction that preceded them (which is covered in @pcp). The dependency chart o...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Diagrams/idea1.typ
typst
```pintora erDiagram Module { INT id PK INT credits INT hoursPresence INT nameId INT subTitleId INT descriptionId INT examId INT learningOutcomesId } Translation { INT id PK STRING German STRING English INT languageId FK } ```
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/052%20-%20March%20of%20the%20Machine%3A%20The%20Aftermath/001_She%20Who%20Breaks%20the%20World.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "She Who Breaks the World", set_name: "March of the Machine: The Aftermath", story_date: datetime(day: 01, month: 05, year: 2023), author: "<NAME>", doc ) <NAME> is digging her grave. Under the cover of night, she drives her shovel into Zhal...
https://github.com/Bi0T1N/typst-iconic-salmon-svg
https://raw.githubusercontent.com/Bi0T1N/typst-iconic-salmon-svg/main/iconic-salmon-svg.typ
typst
MIT License
/// A function that creates a clickable link with the passed name as text. /// In addition to this, the associated icon of the web page is inserted /// /// - name (str): The visible name of the clickable link /// - url (str): The URL to the website (it is assumed to start with the http(s) scheme) /// - filename (str): ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Philosophie_Langage.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: "Philosophie Langage", authors: ( "<NAME>", ), date: "14 Juin, 2024", ) #set heading(numbering: "1.1.") = Définition <définition> - La...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-13.typ
typst
Other
// Test `in` operator. #test("hi" in "worship", true) #test("hi" in ("we", "hi", "bye"), true) #test("Hey" in "abHeyCd", true) #test("Hey" in "abheyCd", false) #test(5 in range(10), true) #test(12 in range(10), false) #test("" in (), false) #test("key" in (key: "value"), true) #test("value" in (key: "value"), false) #t...
https://github.com/AugustinWinther/codedis
https://raw.githubusercontent.com/AugustinWinther/codedis/main/README.md
markdown
MIT License
# CODEDIS - Simple CODE DISplay for Typst Used to display code files in Typst. Main feature is that it displays code blocks over multiple pages in a way that implies the code block continues onto the next page. Also a simple and intuitive syntax for displaying code blocks. Usage: ```typ // IMPORT PACKAGE #impo...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Modules/NetworkedCommunications.typ
typst
#import "../../../template.typ": * = Networked Communications == Spam The rise of spam corresponded with the transformation of the Internet from a noncommercial academic and research enterprise into a commercial global network. The volume of spam grew because spam is effective. The principal advantage of spam is...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/4-concept/requirement.typ
typst
Um die Anforderungen an die Anwendung zu definieren, wurden zunächst die zuvor definierten Ziele der Arbeit analysiert. Anschließend wurde auf Grundlage der Zielgruppenanalyse weitere Anforderungen abgeleitet. === Funktionale Anforderungen Die funktionalen Anforderungen beschreiben die grundlegenden Funktionen und Int...
https://github.com/piepert/typst-custombib
https://raw.githubusercontent.com/piepert/typst-custombib/main/example1/main.typ
typst
#import "../typst-custombib.typ": tcb-bibliography, tcb-cite, tcb-cites, tcb-style, tcb-show-bibliography, ifnotnone, ifhaskey #tcb-bibliography("example1/bibliography.yaml") #tcb-style(( options: ( is-numerical: false, show-sections: true, show-bibliography: true, title: "Bibliogra...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/047.%20inequality.html.typ
typst
inequality.html Inequality and Risk August 2005(This essay is derived from a talk at Defcon 2005.)Suppose you wanted to get rid of economic inequality. There are two ways to do it: give money to the poor, or take it away from the rich. But they amount to the same thing, because if you want to give money to the poor...
https://github.com/cu1ch3n/typst-lib
https://raw.githubusercontent.com/cu1ch3n/typst-lib/main/lib.typ
typst
#let rule_base(counter, lbl) = { counter.step() let num = box(align(left, counter.display()), width: 1em) [ #figure( math.attach(math.arrow.long, br: num), kind: "rule", supplement: [Rule]) #if lbl != none { label(lbl) } ] } // Custom Symbols #let ex = math.hat #let ph = "__" #let mono = ma...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/机器学习数学导引/作业/hw1.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark #import "../../template.typ": * #show: note.with( title: "作业1", author: "YHTQ", date: datetime.today().display(), logo: none, withOutlined : false, withTitle : false, ) #let ltC = math.lt.tilde = == #le...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2300.typ
typst
Apache License 2.0
#let data = ( ("DIAMETER SIGN", "So", 0), ("ELECTRIC ARROW", "So", 0), ("HOUSE", "So", 0), ("UP ARROWHEAD", "So", 0), ("DOWN ARROWHEAD", "So", 0), ("PROJECTIVE", "So", 0), ("PERSPECTIVE", "So", 0), ("WAVY LINE", "So", 0), ("LEFT CEILING", "Ps", 0), ("RIGHT CEILING", "Pe", 0), ("LEFT FLOOR", "Ps", ...
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/letter/README.md
markdown
Creative Commons Zero v1.0 Universal
# Typst Letter Format Based on tbe letter template published by the Typst team at <https://github.com/typst/templates/tree/main/letter>. **NOTE**: This format requires the pre-release version of Quarto v1.4, which you can download here: <https://quarto.org/docs/download/prerelease>. ## Installing ```bash quarto use...
https://github.com/f14-bertolotti/bedlam
https://raw.githubusercontent.com/f14-bertolotti/bedlam/main/src/measure-theory/caratheodory-extension-theorem.typ
typst
#import "../theme.typ": definition, proof, lemma, theorem, proposition, comment #import "introduction.typ": sigma-algebra, outer-measure, set-ring, pre-measure, measure, measure-space #import "../notation/main.typ": extension, restriction #import "../set-theory/main.typ" : cover == Caratheodory Extension Theorem #pro...
https://github.com/NOOBDY/formal-language
https://raw.githubusercontent.com/NOOBDY/formal-language/main/q2.typ
typst
The Unlicense
#import "@preview/finite:0.3.0": automaton, layout #let q2 = [ 2. Convert the `DFA`s to a `regex`: #automaton( ( q0: (q0:"a", q1:"b"), q1: (q1:"b", q2:"a"), q2: (q0:"b", q2:"a") ), labels: ( q0: $ q_0 $, q1: $ q_1 $, q2: $ q_2 $ ), final: ("q0"), style: ( ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list_07.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Edge cases. - Not in list -Nope
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/02-methodology/dsrp.typ
typst
#import "@preview/fletcher:0.4.2" as fletcher: node, edge #set text(font: "Fira Sans", size: 9pt) #let blob(pos, label, tint: yellow, ..args) = node( pos, align(center, label), width: 40mm, fill: tint.lighten(60%), stroke: 1pt + tint.darken(20%), corner-radius: 2pt, ..args, ) #fletcher.diagram( spaci...
https://github.com/EunTilofy/NumComputationalMethods
https://raw.githubusercontent.com/EunTilofy/NumComputationalMethods/main/Chapter5/Chapter5-2.typ
typst
#import "../template.typ": * #show: project.with( course: "Computing Method", title: "Computing Method - Chapter5", date: "2024.4.14", authors: "<NAME>, 3210106357", has_cover: false ) *Problems:8,10,15* #HWProb(name: "8")[ 试用两点三次 Hermite 插值函数作(5.1)式的求积公式。 $ integral_a^b f(x) dx $ ] #solution[ 设 $f(a) = ...
https://github.com/swaits/typst-collection
https://raw.githubusercontent.com/swaits/typst-collection/main/glossy/0.1.0/src/utils.typ
typst
MIT License
#let __default(val, default) = if val == none { default } else { val } #let __pluralize(word) = { // Define helper functions for checking endings let ends_with = (suffix) => lower(word).ends-with(suffix) let ends_with_any = (suffixes) => suffixes.any((suffix) => ends_with(suffix)) if ends_with_any(( "s", "x",...
https://github.com/QuadnucYard/crossregex-typ
https://raw.githubusercontent.com/QuadnucYard/crossregex-typ/main/examples/standard.typ
typst
MIT License
#import "../src/lib.typ": crossregex #crossregex( 7, constraints: ( `.*H.*H.*`, `(DI|NS|TH|OM)*`, `F.*[AO].*[AO].*`, `(O|RHH|MM)*`, `.*`, `C*MC(CCC|MM)*`, `[^C]*[^R]*III.*`, `(...?)\1*`, `([^X]|XCC)*`, `(RR|HHH)*.?`, `N.*X.X.X.*E`, `R*D*M*`, `.(C|HH)*`, `.*G....
https://github.com/duskmoon314/THU_AMA
https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch2/5-群的应用.typ
typst
Creative Commons Attribution 4.0 International
#import "/book.typ": * #show: thmrules #show: book-page.with(title: "群的应用") = 群的应用 == 项链问题 #example("项链问题")[ 设有$n$种颜色的珠子(每种颜色的珠子都足够多),要做成$m$课珠子都项链,问:在旋转与翻转意义下,可以做成多少种不同的项链? ] 数学表述:设珠子集$X = { 1 , 2 , dots.h.c , m }$,颜色集$A = { a_1 , dots.h.c , a_n }$,群$G = D_m$(二面体群),染色方案集${ f : X arrow.r A } eq.delta Omega$ $g :...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/examples/slides.typ
typst
#import "../lib.typ": * // #let s = themes.simple.register(s, aspect-ratio: "16-9", footer: [Simple slides]) // #let s = themes.metropolis.register(s, aspect-ratio: "16-9", footer: [Custom footer]) // #let s = themes.dewdrop.register(s, aspect-ratio: "16-9", footer: [Dewdrop]) #let s = (s.methods.info)( self: s, t...
https://github.com/jedinym/sqc-text
https://raw.githubusercontent.com/jedinym/sqc-text/main/state-of-the-art/main.typ
typst
#set page(margin: 1.75in, numbering: "1") #set par(leading: 0.55em, justify: true) #set text(font: "New Computer Modern") #show raw: set text(font: "New Computer Modern Mono") #show heading: set block(above: 1.4em, below: 1em, ) #align(center, text(17pt)[ *Structural biology validation landscape* ]) #align(center)...
https://github.com/rickysixx/unimore-informatica
https://raw.githubusercontent.com/rickysixx/unimore-informatica/main/introduction-to-quantum-information-processing/riassunto_quantum.typ
typst
#import "@preview/physica:0.9.2": bra, ket, expval, braket, ketbra, vecrow, Tr, dmat, Order #set par(leading: 0.55em, justify: true, linebreaks: "optimized") #set text(font: "New Computer Modern", lang: "en") #set heading(numbering: "1. ") #show par: set block(spacing: 1em) #show raw: set text(font: "Courier New", siz...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/049%20-%20The%20Brothers'%20War/010_Episode%205%3A%20As%20Cruel%2C%20As%20Necessary.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 5: As Cruel, As Necessary", set_name: "The Brothers' War", story_date: datetime(day: 26, month: 10, year: 2023), author: "<NAME> & <NAME>", doc ) #strong[4562 AR] Teferi lay shirtless in a cold metal coffin, counting his breath. Ho...
https://github.com/LucaCiucci/custom-typst
https://raw.githubusercontent.com/LucaCiucci/custom-typst/main/boxes.typ
typst
//#import "styles.typ": * //#show: common-styles #outline() #let typ_label = label = Callout `callout` creates a box with a header and a body. It is used inside the other macros. #let callout( color: gray, header: [], body ) = { let stroke = 2pt + color; let radius = 1pt; let inset = 1pt; let clip ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/stretch.typ
typst
// Test math stretch. --- math-stretch-basic --- // Test basic stretch. $ P -> Q stretch(->, size: #200%) R \ R stretch(->) S stretch(->, size: #50%)^"epimorphism" T $ --- math-stretch-complex --- // Test complex stretch. $ H stretch(=)^"define" U + p V \ x stretch(harpoons.ltrb, size: #3em) y stretch(\[, siz...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/001_Slaughter%20at%20the%20Refuge.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Slaughter at the Refuge", set_name: "Battle for Zendikar", story_date: datetime(day: 19, month: 08, year: 2015), author: "<NAME>", doc ) #emph[Sea Gate has fallen, joining Sejiri and Bala Ged in annihilation in the wake of the Eldrazi. As t...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Expertes_Ex_28_05_2024.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/lvignoli/typst-action
https://raw.githubusercontent.com/lvignoli/typst-action/main/README.md
markdown
MIT License
# Typst GitHub action Build Typst documents using GitHub workflows. ## Minimal example The following `.github/workflows/build.yaml` action compiles `main.typ` to `main.pdf` on every push. ```yaml name: Build Typst document on: push jobs: build_typst_documents: runs-on: ubuntu-latest steps: - name: ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046%20-%20Streets%20of%20New%20Capenna/011_A%20Garden%20of%20Flesh.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "A Garden of Flesh", set_name: "Streets of New Capenna", story_date: datetime(day: 03, month: 05, year: 2022), author: "<NAME>", doc ) "Here, in the Machine Orthodoxy, there is perfection. Here, there is blessing." As she said it, her synth...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0017.typ
typst
#import "../helpers.typ": * #let letter-combinations-of-a-phone-number-ref(digits) = { let digits = digits.clusters() let d = ("2": ("a", "b", "c"), "3": ("d", "e", "f"), "4": ("g", "h", "i"), "5": ("j", "k", "l"), "6": ("m", "n", "o"), "7": ("p", "q", "r", "s"), "8": ("t", "u", "v"), "9": ("w", "x", "y", "z")) ...
https://github.com/duskmoon314/THU_AMA
https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch4/1-域和域扩张.typ
typst
Creative Commons Attribution 4.0 International
#import "/book.typ": * #show: thmrules #show: book-page.with(title: "域和域扩张") = 域和域扩张 域 = 两个交换群 + 分配律 = 可交换的除环 = 乘法可逆的整环 #property()[ $U lr((F)) = F \\ {0} = F^(\*)$ $F$中理想只有平凡理想$arrow.r.double F$为单环 域之间的同态$sigma : F_1 arrow.r F_2$ $ker sigma$为$F_1$中的理想$arrow.r.double ker sigma = lr((0))$或$F_2 arrow.r.do...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/布局/colbreak/colbreak.typ
typst
= colbreak 强制换行。 当在单列布局或页面上的最后一列中使用时,该函数的行为类似于分页符。否则,分栏符之后的内容将放置在下一列中。 #image("屏幕截图 2024-04-14 170805.png") #image("屏幕截图 2024-04-14 171136.png") weak 如果true,如果当前列已为空,则跳过分栏符。 默认:false
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/zalmy/Z33_vecieren.typ
typst
#import "/style.typ": * #set par(first-line-indent: 1em) #subheader[Psalm 33] #note[Žalm berieme v prípade, že je predpísaná lítia.] Blahoslovľú Hóspoda na vsjákoje vremjá, výnu chvála jehó vo usťích mojích. O Hóspoďi da pochválitsja dušá mojá, da uslýšat krótciji i vozveseľátsja. Vozvelíčite Hóspoda so mnoju, ...
https://github.com/Vortezz/fiches-mp2i-physique
https://raw.githubusercontent.com/Vortezz/fiches-mp2i-physique/main/chapitre_4.typ
typst
#import "@preview/cetz:0.0.1" #import "@local/typst-plot:0.0.1": plot, sample #set page(header: box(width: 100%, grid( columns: (100%), rows: (20pt, 8pt), align(right, text("CHAPITRE 4. RÉGIME PERMANANT DANS UN CIRCUIT D'ORDRE 1")), line(length: 100%), )), footer: box(width: 100%, grid( columns: (50%, 50%), ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/142.%20property.html.typ
typst
property.html Defining Property March 2012As a child I read a book of stories about a famous judge in eighteenth century Japan called <NAME>. One of the cases he decided was brought by the owner of a food shop. A poor student who could afford only rice was eating his rice while enjoying the delicious cooking smells ...
https://github.com/Arsenii324/matap-p2
https://raw.githubusercontent.com/Arsenii324/matap-p2/main/t-repo/lecture6.typ
typst
#import "macros.typ" : * = Лекция == Операции со степенными рядами === Теорема о почленном дифференцировании/интегрировании *Пусть:* a) $f(x) = limits(sum)_(n = 0)^infinity$ - степенной ряд b) $R > 0$ - радиус его сходимости *Тогда:* 1) $f'(x) = limits(sum)_(n = 1)^infinity n c_n x^(n-1), R_1$ 2) $limits(inte...
https://github.com/timetraveler314/Note
https://raw.githubusercontent.com/timetraveler314/Note/main/24Spring/AI/AI.typ
typst
#import "@local/MetaNote:0.0.1" : * #import "@preview/physica:0.9.0": * #set text(font:("linux libertine", "FandolSong"), lang: "cn") #show: doc => MetaNote( title: [ Introduction to Artificial Intelligence ], authors: ( ( name: "timetraveler314", affiliation: "University of Genshin", ...
https://github.com/jrihon/multi-bibs
https://raw.githubusercontent.com/jrihon/multi-bibs/main/main.typ
typst
MIT License
#import "lib/multi-bib.typ": * #import "lib/layout.typ": * // set show rules #show: layout #include {"./chapters/00_title/titlepage.typ"} #include {"./chapters/01_chapter/mod.typ"} #include {"./chapters/02_chapter/mod.typ"} #include {"./chapters/03_chapter/mod.typ"}
https://github.com/Ligandlly/typst-templates
https://raw.githubusercontent.com/Ligandlly/typst-templates/main/panda.typ
typst
MIT License
// Some definitions presupposed by pandoc's typst output. #let blockquote(body) = [ #set text( size: 0.92em ) #block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body] ] #let horizontalrule = [ #line(start: (25%,0%), end: (75%,0%)) ] #let endnote(num, contents) = [ #stack(dir: ltr, spacing: 3pt, super[#n...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/states/counters.md
markdown
MIT License
# Counters <div class="warning">This section is outdated. It may be still useful, but it is strongly recommended to study new context system (using the reference).</div> Counters are special states that _count_ elements of some type. As with states, you can create your own with identifier strings. _Important:_ to in...
https://github.com/Shuenhoy/citext
https://raw.githubusercontent.com/Shuenhoy/citext/master/README.md
markdown
MIT License
# Citext - - - This package provides: * Bilingual bibliography hack before official Typst support for CSL-M (https://github.com/typst/citationberg/issues/5) * `parencite` `citep` like support It calls `citation.js` from QuickJS and WebAssembly using https://github.com/Enter-tainer/jogs. It is designed for `gb-t-77...
https://github.com/weeebdev/cv
https://raw.githubusercontent.com/weeebdev/cv/main/modules/publications.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Publications") #cvPublication( bibPath: "../src/publications.bib", keyList: ( "serekAnalysisSupervisorsStudents2021a", "serekApplicationKmeansPerception2021a", "serekPartofspeechTaggingKazakh2021a"), refStyle: "apa" )
https://github.com/cafeclimber/typst-psu
https://raw.githubusercontent.com/cafeclimber/typst-psu/main/main.typ
typst
#import "psu_thesis.typ": * #show: psu_thesis.with( title: "Dissertation Title", author: "<NAME>", department: "Your Department", degree_type: "doctorate", // one of "doctorate" or "masters" committee_members: ( ( name: "Committee Member 1", title: "Committee Member Title", ) ), d...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/bigbook.typ
typst
#import "src/preamble.typ":* #let chapter(filename) = { include filename } #show: evan.with( title: "Notes on Programmable Cryptography", author: "0xPARC", date: datetime.today(), ) #quote[ I can prove to you that I have a message $M$ such that $op("sha")(M) = "0xa91af3ac..."$, without revealing $M$. But...
https://github.com/avonmoll/ifacconf-typst
https://raw.githubusercontent.com/avonmoll/ifacconf-typst/main/README.md
markdown
MIT No Attribution
# abiding-ifacconf (unofficial) IFAC Conference Template for Typst IFAC stands for [International Federation of Automatic Control](https://ifac-control.org/). This repository is meant to be a port of the existing author tools for conference papers (e.g., for LaTeX, see [ifacconf_latex.zip](https://www.ifac-control.or...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/place-01.typ
typst
Other
// Test how the placed element interacts with paragraph spacing around it. #set page("a8", height: 60pt) First #place(bottom + right)[Placed] Second
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/dim-5.typ
typst
Other
#import "/lib/draw.typ": * #import "/lib/glossary.typ": tr #let start = (0, 0) #let end = (300, 170) #let base = (128, 45) #let up = 123 #let down = 45 #let width = 85 #let line-color = gray.darken(30%) #let lt = (base.at(0), base.at(1) + up) #let rb = (base.at(0) + width, base.at(1) - down) #let bbox-calc = (lt, rb,...
https://github.com/0x6e66/hbrs-typst
https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/main.typ
typst
#import "template/template.typ": * #show: thesis // #auto_import("00_introduction") // #auto_import("01_fundamentals") #include "modules_de/00_introduction.typ" #pagebreak() #include "modules_de/01_fundamentals.typ"
https://github.com/florianhartung/studienarbeit
https://raw.githubusercontent.com/florianhartung/studienarbeit/main/work/dhbw_template/lib.typ
typst
#import "titlepage.typ": titlepage #import "declaration_of_authenticity.typ": declaration_of_authenticity #import "@preview/hydra:0.3.0": hydra #let dhbw_template( title: [Placeholder (title)], author: [Placeholder (author)], course: [Placeholder (course)], submissiondate: datetime(year: 2000, month: 1, day: 1...
https://github.com/lcharleux/LCharleux_Teaching_Typst
https://raw.githubusercontent.com/lcharleux/LCharleux_Teaching_Typst/main/src/courses/MECA512_Cinematique/MECA512_Cinematique.typ
typst
MIT License
// TEMPLATE IMPORT #import "../../templates/conf.typ": conf, todo, comment, idea, note, important #import "../../templates/drawing.typ": dvec, dpoint, dangle3p, dimension_line, arotz90, arrnumprod, arrsub, anorm, normalize, rotmat2D, dispvcol, arradd, mvec, arrcrossprod, arrdotprod, torseur1, torseur2, torseur6, part_l...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p2_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test for no collisions between descenders/ascenders and attachments $ sup_(x in P_i) quad inf_(x in P_i) $ $ op("fff",limits: #true)^(y) quad op("yyy", limits:#true)_(f) $
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/017%20-%20Dragons%20of%20Tarkir/002_The%20Great%20Teacher's%20Student.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Great Teacher's Student", set_name: "Dragons of Tarkir", story_date: datetime(day: 04, month: 03, year: 2015), author: "<NAME>", doc ) #emph[In another time there were no dragons. In another time Narset was the khan of a clan known as t...
https://github.com/david-davies/typst-prooftree
https://raw.githubusercontent.com/david-davies/typst-prooftree/main/src/internal.typ
typst
MIT License
/// = Prooftree /// Some acronyms will be used: /// * lbl-tree: /// A 'line-by-line' tree, where a tree is represented by a sequence of 'lines', each stating /// how many premises it should have. /// * s-tree: /// A 'structured' tree, the IR of proof trees. These have a nested structure mirroring that ///...
https://github.com/jamesrswift/musicaux
https://raw.githubusercontent.com/jamesrswift/musicaux/main/tests/tie.typ
typst
#import "/src/lib.typ": * #set text(font: "New Computer Modern", size: 20pt) #show: score.with( title: [Dance in D Major], subtitle: [Op 8 No. 3 Mov. 1--3], author: [<NAME>] ) #notation( { cmd.bars.double-bold-open() cmd.common.trebble() cmd.common.key-signature(pitch: -4) cmd.time.signatur...