repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/templates/bibliography.typ
typst
#bibliography("/assets/works.bib", style: "ieee") #pagebreak(weak: true)
https://github.com/donghoony/typst_editorial
https://raw.githubusercontent.com/donghoony/typst_editorial/main/description.typ
typst
MIT License
#let descriptions(description) = { pad(top: 40pt, list( marker: [#image("images/checkmark.png", height: 5%)], ..description.map(d => { pad(top: 5pt, bottom: 20pt, align(horizon)[#text(size: 18pt,weight: "light")[#d]]) }) ) ) pagebreak(weak: true) }
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/par-knuth.typ
typst
Apache License 2.0
#set page(width: auto, height: auto) #set par(leading: 4pt, justify: true) #set text(font: "New Computer Modern") #let story = [ In olden times when wishing still helped one, there lived a king whose daughters were all beautiful; and the youngest was so beautiful that the sun itself, which has seen so much, was ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/footnote.typ
typst
Apache License 2.0
// Test footnotes. --- #footnote[Hi] --- // Test space collapsing before footnote. A#footnote[A] \ A #footnote[A] --- // Test nested footnotes. First \ Second #footnote[A, #footnote[B, #footnote[C]]] \ Third #footnote[D, #footnote[E]] \ Fourth --- // Currently, numbers a bit out of order if a nested footnote ends u...
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/05-complex-functions/02-uniqueness.typ
typst
#import "../../utils/core.typ": * == Теорема о единственности #lemma(label: "opened-closed-trivial")[ $Omega$ --- область в метрическом пространстве, $E subset Omega$. Если $E != nothing$, $E$ открыто в $Omega$ и замкнуто в $Omega$, то $E = Omega$. ] #proof[ Рассмотрим $ f(x) = cases(1 "при" x in E, 0 "при" x ...
https://github.com/justinvulz/document
https://raw.githubusercontent.com/justinvulz/document/main/test.typ
typst
#import "@preview/pinit:0.1.4": * #set text(size: 24pt) A simple #pin(1)highlighted text#pin(2). #pinit-highlight(1, 2) #pinit-point-from(2)[It is simple.]
https://github.com/feng-spinning/Optics-Notes
https://raw.githubusercontent.com/feng-spinning/Optics-Notes/master/resolution_lim.typ
typst
#set text(12pt, font: ("Times New Roman", "SimSun")) #set rect(width: 100%, height: auto, inset: 4pt, fill: rgb("#eeffee")) #let indent = h(1em) #set math.mat(delim: "[") #show figure.where( kind: table ): set figure.caption(position: top) #let indent = h(1em) #let ali = h(1.2em) #let pp = v(0.5em) #let t...
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/rechnung.typ
typst
Creative Commons Zero v1.0 Universal
#import "templates/tmpl_letter.typ": tmpl_letter #import "templates/common.typ": colors, money #import "@preview/cades:0.3.0": qr-code #let config = yaml("rechnung.yml") #show: doc => tmpl_letter( title: ( invoice: "Rechnung", offer: "Angebot", estimate: "Kostenvoranschlag", internal: "Eigenbeleg" ...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/mergesort/merge_algorithm_2.typ
typst
#import "/components/num_row.typ": num_row, arrowed #let nums = (12, 23, 34, 45, 7, 17, 18, 38, 43, []) #let n = nums.len()-1 #let m = calc.div-euclid(n, 2) #table( columns: (auto, ) + (1fr,) * nums.len(), align: center, stroke: (x, _) => if x == n+1 {none} else {1pt}, ..num_row( nums, hl_tertiary: 3,...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/067.%20startupmistakes.html.typ
typst
startupmistakes.html The 18 Mistakes That Kill Startups Want to start a startup? Get funded by Y Combinator. October 2006In the Q & A period after a recent talk, someone asked what made startups fail. After standing there gaping for a few seconds I realized this was kind of a trick question. It's equivalent t...
https://github.com/krestenlaust/AAU-Typst-Template
https://raw.githubusercontent.com/krestenlaust/AAU-Typst-Template/main/report-template/chapters/understanding_typst.typ
typst
MIT License
= Command- and Markup-Mode Typst has two modes of text. This text right here is written directly in markup mode. The default mode of a document is always markup mode. To enter command mode for a single command, the `#` is used. rect() #rect() To enter markup mode in a command context/mode, use `[...]`, previously sho...
https://github.com/iseri27/tagbar-typst
https://raw.githubusercontent.com/iseri27/tagbar-typst/master/README.md
markdown
MIT License
# tagbar-typst ## Intro [中文介绍](https://github.com/Corona09/tagbar-typst/blob/master/README_zh.md) tagbar-typst is a tagbar extension for typst. It is a fork of [lvht/tagbar-markdown](https://github.com/lvht/tagbar-markdown.git). ## Screenshot ![](./screenshot/screenshot.png) ## Install - [vim-plug] ```viml Plug '...
https://github.com/Its-Alex/resume
https://raw.githubusercontent.com/Its-Alex/resume/master/lib/skills.typ
typst
MIT License
#import "components/title.typ": customTitle #let skills(title, skills) = [ #customTitle(title) #grid( columns: (100%), gutter: 0pt, row-gutter: 1.5em, ..skills.map((skill) => [ #text(weight: 600)[#skill.name] \ #text()[#skill.description] ]) ) ]
https://github.com/Area-53-Robotics/53A-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53A-Notebook-Over-Under-2023-2024/master/Vex%20Robotics%2053A%20Notebook%202023%20-%202024/Entries/Tournament%20Entry/Dulaney-Royal-Rumble.typ
typst
#set page(header: [ VR #h(1fr) November 4, 2023 ]) = DULANEY ROYAL RUMBLE TOURNAMENT REFLECTIONS \ Today we competed in our first tournament of the Over-under season: the Dulaney Royal Rumble. We did well during qualifications, ranking 9th, ending by becoming the second seed of the elimination rounds. We won our...
https://github.com/vitto4/ttuile
https://raw.githubusercontent.com/vitto4/ttuile/main/template/main.typ
typst
MIT License
// ttuile template, find out more on github https://github.com/vitto4/ttuile // Documentation available in the readme file. // * : ttuile, equation-anonyme, annexe, afficher-annexes, figure-emboitee #import "@preview/ttuile:0.1.1": * #show: ttuile.with( titre: [« #lorem(8) »], auteurs: ( "<NAME>", "<N...
https://github.com/jxpeng98/Typst-CV-Resume
https://raw.githubusercontent.com/jxpeng98/Typst-CV-Resume/main/modernpro-cv.typ
typst
MIT License
/////////////////////////////// // modernpro-cv.typ // A CV template with modern Sans font and professional look // Copyright (c) 2024 // Author: <NAME> // License: MIT // Version: 1.0.2 // Date: 2024-10-21 // Email: <EMAIL> /////////////////////////////// // Define the colour scheme #let date-colour = rgb("#666...
https://github.com/SillyFreak/typst-prequery
https://raw.githubusercontent.com/SillyFreak/typst-prequery/main/gallery/test.typ
typst
MIT License
// make the PDF reproducible to ease version control #set document(date: none) // #import "/src/lib.typ" as prequery #import "@preview/prequery:0.1.0" // toggle this comment or pass `--input prequery-fallback=true` to enable fallback // #prequery.fallback.update(true) #prequery.image( "https://upload.wikimedia.org...
https://github.com/hweissi/tugraz-typst-theme
https://raw.githubusercontent.com/hweissi/tugraz-typst-theme/main/main.typ
typst
#import "./tugraz-polylux.typ": * #import "@preview/pinit:0.1.4": * #show: tugraz-theme.with( footer: [Footer], progress-bar: true ) #set text(font: "Fira Sans", weight: "regular", size: 20pt) #show math.equation: set text(font: "Fira Math") #set strong(delta: 100) #set par(justify: true) #title-slide( author: ...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Reading/跟李沐学AI(论文)/ViT.typ
typst
// --- // order: 8 // --- #import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "d2l_paper", lang: "zh", ) = An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale) - 时间:2020.10 - ViT: Vision Transformer - ViT 是过去一年 CV 最有影响力的工作 + 推翻了 2012 Alexnet 以来 CNN 在 CV 的统治地位 ...
https://github.com/darioglasl/Arbeiten-Vorlage-Typst
https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/06_Ergebnisse/02_known_bugs.typ
typst
== Known Bugs <known-bugs> In diesem Kapitel werden die wichtigsten noch offenen Bugs beschrieben.
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-marker-03.typ
typst
Other
// Test that bare hyphen doesn't lead to cycles and crashes. #set list(marker: [-]) - Bare hyphen is - a bad marker
https://github.com/SkiFire13/master-thesis
https://raw.githubusercontent.com/SkiFire13/master-thesis/master/config/printed.typ
typst
#let printed = { let input = sys.inputs.at("printed", default: "true") if input in ("true": true, "false": false) { input == "true" } else { panic("Invalid input `printed`: value must be true or false") } } #let pagebreak-to(to, weak, printed) = { pagebreak(weak: weak, to: if printed { to } else { no...
https://github.com/pauladam94/curryst
https://raw.githubusercontent.com/pauladam94/curryst/main/tests/README.md
markdown
MIT License
# Curryst test suite To run the tests, use ``` $ typst compile tests.typ 'test-{n}.png' --root .. ``` This will override the images. If no image changes, this means the tests passed.
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/155.%20before.html.typ
typst
before.html Before the Startup Want to start a startup? Get funded by Y Combinator. October 2014(This essay is derived from a guest lecture in <NAME>'s startup class at Stanford. It's intended for college students, but much of it is applicable to potential founders at other ages.)One of the advantages of havin...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-AC00.typ
typst
Apache License 2.0
#let data = ( "0": ("<Hangul Syllable, First>", "Lo", 0), "2ba3": ("<Hangul Syllable, Last>", "Lo", 0), )
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/resources/typst/reproducibility-rule.typ
typst
Other
#{ set text(font: "Virgil 3 YOFF") image("../../resources/images/rules.svg", fit: "stretch") v(-1.5em) grid( columns: (1fr, 1fr, 1fr), { set align(left) "Not reproducible" }, { set align(center) "Partially reproducible" }, { set align(right) "Reproduci...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-27.typ
typst
Other
// Error: 3-4 unknown variable: z #(z = 1)
https://github.com/marcothms/clean-polylux-typst
https://raw.githubusercontent.com/marcothms/clean-polylux-typst/main/presentation.typ
typst
#import "theme.typ": * #show: presentation.with( author: [Sample Author \<<EMAIL>\>], title: [Sample Title], occasion: [Sample Occasion], date: [01.01.1970], logos: ("figures/typst.svg", "figures/polylux.png", "figures/ferris.png"), logo_height: 40%, footer: [This is a really cool footer], ) #section("M...
https://github.com/BreakingLead/note
https://raw.githubusercontent.com/BreakingLead/note/main/Misc/教程/教程.typ
typst
#set text(font: ("New Computer Modern", "Source Han Serif")) #set page( paper: "a4", header: align(left)[ #rect(stroke: (bottom: 0.05em))[ Orchiectomy by Yourself ] ], numbering: "1/1", ) #set par( justify: false, leading: 0.45em, ) #set heading(numbering: "A 1") #set quote(block: true) #s...
https://github.com/jinhao-huang/SimplePaper
https://raw.githubusercontent.com/jinhao-huang/SimplePaper/main/README.md
markdown
MIT License
## 模版简介 SimplePaper 是 [Typst](https://github.com/typst/typst) 的模版,用于编写简单的论文/报告/作业。 ## 使用说明 ### 如何使用 下载 [simplepaper.typ](https://github.com/1bitbool/SimplePaper/blob/main/simplepaper.typ) 到本地,可以参考仓库中的示例 [论文示例](https://github.com/1bitbool/SimplePaper/blob/main/examples/example.typ) [作业示例](https://github.com/1bitbool...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/par.typ
typst
// Test configuring paragraph properties. --- par-basic --- #set page(width: 250pt, height: 120pt) But, soft! what light through yonder window breaks? It is the east, and Juliet is the sun. Arise, fair sun, and kill the envious moon, Who is already sick and pale with grief, That thou her maid art far more fair than s...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/03-polynomials/07-multiroots-and-derivatives.typ
typst
Other
#import "../../utils/core.typ": * == Кратные корни и производные #def[ Пусть $f in R[x]$ и $f eq.not 0$. Пусть $a in R$ --- корень. $(X - a) divides f$ по теореме Безу. Наибольший $n$, такой что $(X - a)^n divides f$, называется _кратностью корня_ $a$. Можно заметить, что $n <= deg f$, поэтому он всегда...
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/themes/5.typ
typst
#import "../conf.typ": * = Формула Тейлора с остаточным членом в форме Пеано или Лагранжа == Остаточный член в форме Лагранжа #lemma[ Если $f$ $n$ раз дифференцируема в точке $x_0$, то $exists !$ многочлен $P_n (f, x)$ степени $<= n$ такой, что #eq[ $f(x_0) = P_n (f, x_0) ; f'(x_0) = P'_n (f, x_0) ; ... ; f...
https://github.com/heychhavi/resume-template
https://raw.githubusercontent.com/heychhavi/resume-template/main/docs/README.md
markdown
# Another Typst Resume Template! Plenty of issues, but it works well for me. 1. Install Typst (`brew install typst`). 2. Install Justfile (`brew install justfile`). 3. Create a file called `resume.typ` that looks like `sample-resume.typ` 4. Run `just dev` to start hot-reloading Alternatively, check out the `typst` e...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/uebungen/1/main.typ
typst
#import "/config.typ" #show: config.config = Algorithmen == ggT / kgV == Eratosthenes == Matrix Eine $(m times n)$ Matrix hat $m$ Zeilen und $n$ Spalten. $ A = (a_(i j))_(1<=i<=m\ 1<=i<=n) $ === Addition Zwei Matrizen $A$ und $B$ müssen die gleiche Anzahl an Zeilen und Spalten haben, um addiert werden zu könne...
https://github.com/Nianyi-GSND-Projects/GSND-5130-GP2
https://raw.githubusercontent.com/Nianyi-GSND-Projects/GSND-5130-GP2/master/Team%20Agreement/Team%20Agreement.typ
typst
#set page(paper: "us-letter") #let team_name = [Group 4 of GSND 5130 GP2] #{ set align(center); set text(17pt, weight: "bold"); text[ Team Agreement of #set text(style: "italic") #team_name ]; } #{ set align(center); v(-0.5em); datetime.today().display("[month]/[day]/[year]"); v(0.5em); } This is group ...
https://github.com/akshaybabloo/CV
https://raw.githubusercontent.com/akshaybabloo/CV/master/README.md
markdown
MIT License
# CV ## Requirements - [Poetry](https://python-poetry.org/docs/#installation) - [typst](https://github.com/typst/typst/releases/latest) - [Python 3](https://www.python.org/downloads/) ## Install Add `typst` to your path. Than: ```bash poetry install ``` ## Build Edit `data.yaml` with your data. Leave the `phone_...
https://github.com/daniel-ttel/banana-omen
https://raw.githubusercontent.com/daniel-ttel/banana-omen/main/template/show.typ
typst
MIT License
#import "/Template/page.typ": * #let shows(doc) = [ #show figure.caption: it => [ #box(width: 80%,[ #it.supplement #context it.counter.display(it.numbering)#it.separator#it.body] ) ] #show figure.caption: set text(9pt) #show: super-T-as-transpose #show: thmrules #metro-setup(pe...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/text/lang.typ
typst
// Test setting the document language. --- text-lang --- // without any region #set text(font: "Noto Serif CJK TC", lang: "zh") #outline() --- text-lang-unknown-region --- // with unknown region configured #set text(font: "Noto Serif CJK TC", lang: "zh", region: "XX") #outline() --- text-lang-region --- // with regi...
https://github.com/astro-group-bristol/what-is-rss
https://raw.githubusercontent.com/astro-group-bristol/what-is-rss/main/slides/main.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "@preview/polylux:0.3.1": * #import "tamburlaine.typ": * #let HANDOUT_MODE = false #enable-handout-mode(HANDOUT_MODE) #show: tamburlaine-theme.with(aspect-ratio: "4-3") #show link: item => underline(text(blue)[#item]) #let COLOR_CD = color.rgb("#56B4E9") #let COLOR_REFL = color.rgb("#D55E00") #let COLOR_CONT...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/main.typ
typst
#import "../template.typ": note // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: note.with( title: "代数学二", author: "YHTQ", date: none, logo: none, withChapterNewPage: true ) #include "章节/上半学期.typ" #include "章节/下半学期.typ"
https://github.com/Godalin/Typst-Notations
https://raw.githubusercontent.com/Godalin/Typst-Notations/main/Proof.typ
typst
// proof #let blue_ = text.with(fill: blue) #let Assume = text("Assume", fill: blue) #let imp = blue_[$==>$] #let iff = text($<==>$, fill: blue) #let wts = text("Want To Show", fill: blue) #let If = text("If", fill: blue) #let Then = text("Then", fill: blue) #let exist = text(sym.exists, fill: blue) #let st = text(...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2700.typ
typst
Apache License 2.0
#let data = ( ("BLACK SAFETY SCISSORS", "So", 0), ("UPPER BLADE SCISSORS", "So", 0), ("BLACK SCISSORS", "So", 0), ("LOWER BLADE SCISSORS", "So", 0), ("WHITE SCISSORS", "So", 0), ("WHITE HEAVY CHECK MARK", "So", 0), ("TELEPHONE LOCATION SIGN", "So", 0), ("TAPE DRIVE", "So", 0), ("AIRPLANE", "So", 0), ...
https://github.com/ntjess/typst-tada
https://raw.githubusercontent.com/ntjess/typst-tada/main/src/display.typ
typst
The Unlicense
#import "helpers.typ" as H #let default-hundreds-separator = state("separator-state", ",") #let default-decimal = state("decimal-state", ".") /// Converts a float to a string where the comma, decimal, and precision can be customized. /// /// ```example /// #format-float(123456, precision: 2, pad: true)\ /// #format-f...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-math_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test on cancel #show math.equation: set text(fill: gradient.linear(..color.map.rainbow)) #show math.equation: box $ a dot cancel(5) = cancel(25) 5 x + cancel(5) 1 $
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch02-dep.typ
typst
MIT License
// pour que tu manque les autres, est ce que mon invite besoin de changement #import "../functions.typ": heading_center, images, italic #import "../tablex.typ": tablex, cellx, rowspanx, colspanx, hlinex #let finchapiter = text(fill:rgb("#1E045B"),[■]) = APERÇU SUR DEEP LEARNING. == Introduction. L'apprentissage p...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/annotation_fn.typ
typst
Apache License 2.0
/// - fn (function): The `fn`. /// - max-repetitions (int): The `max-repetitions`. /// - repetitions (int): The `repetitions`. /// - args (any): The `args`. #let touying-fn-wrapper(fn, max-repetitions: none, repetitions: none, ..args) = none
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/typst-ansi_render/demo.typ
typst
#import "ansi_render.typ": * #ansi_render( "\u{1b}[38;2;255;0;0mThis text is red.\u{1b}[0m \u{1b}[48;2;0;255;0mThis background is green.\u{1b}[0m \u{1b}[38;2;255;255;255m\u{1b}[48;2;0;0;255mThis text is white on a blue background.\u{1b}[0m \u{1b}[1mThis text is bold.\u{1b}[0m \u{1b}[4mThis text is underlined.\u{1b}[0m...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/show.typ
typst
Apache License 2.0
#show: it => it #show text: it => it #show: rect #show: list.item.with() #show: rect.with(width: 1pt) #show <_>: rect #show "A": rect #show regex("A"): (it) => it #show raw.where(block: true): { rect() } #show { text }: (it) => it
https://github.com/touying-typ/touying
https://raw.githubusercontent.com/touying-typ/touying/main/examples/stargazer.typ
typst
MIT License
#import "../lib.typ": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly #show: stargazer-theme.with( aspect-ratio: "16-9", config-info( title: [Stargazer in Touying: Customize Your Slide Title Here], subtitle: [Customize Your Slide Subtitle Here], author: [Authors], date: datet...
https://github.com/rytst/experiment02
https://raw.githubusercontent.com/rytst/experiment02/main/week01/report/main.typ
typst
#import "template.typ": * #show: project.with( title: "KUE-CHIPを用いた公開伴暗号通信の実装(1)", author: "<NAME>", year: "2024", ) #outline(indent: auto, fill: box(width: 1fr, repeat[.])) // start page number #set page(numbering: "1", number-align: center) #counter(page).update(1) = 実験内課題 == 予習問題(前期の復習) 下の手順を参考に2つの整数 x,...
https://github.com/lkndl/typst-bioinfo-thesis
https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/modules/figures.typ
typst
#let default-2D-align = top + right #let as-ratio(number) = { eval(str(number * 100) + "%") } #let unravel(funcs, poss, nameds, body) = { assert(funcs.len() == poss.len() and poss.len() == nameds.len(), message: "whoops") if funcs.len() == 0 { return body } let (f, p, n) = (funcs.pop(), poss.pop(), named...
https://github.com/gdg-cnu/thumbnail-renderer
https://raw.githubusercontent.com/gdg-cnu/thumbnail-renderer/main/using-local-runtime-with-jupyter/main.typ
typst
MIT License
#import "/lib/theme.typ" #show: theme.theme.with() #let ai-data = theme.slide.theme-color.green #let dev = theme.slide.theme-color.blue #let devrel = theme.slide.theme-color.red #let game = theme.slide.theme-color.yellow __PLACEHOLDER_TITLE_DATA__
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/algo/seminars/2024-09-21.typ
typst
= Задача Дано два массива `a` и `b` хотим массив `num` такой, что ``` num[i] = # способов выбрать j, k, что a[j] + a[k] = i ``` == Решение Составим два многочлена: $ A(x) = x^(a_0) + x^(a_1) + ... + x^(a_n) \ B(x) = x^(b_0) + x^(b_1) + ... + x^(b_n) $ Перемножим их
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[5] Implementação Física/caracterizaçãoVistas.typ
typst
#let caracterizaçãoVistas = { [ == Definição e caracterização de vistas de utilização em SQL Nesta secção, apresenta-se a definição de um conjunto de vistas essenciais para uma utilização eficiente da base de dados implementada. As vistas foram criadas para fornecer informações relevantes sobre os funcionári...
https://github.com/ljgago/typst-chords
https://raw.githubusercontent.com/ljgago/typst-chords/main/examples/chart-chords.typ
typst
MIT License
#import "../lib.typ": * #set document(date: none) #set page(width: auto, height: auto, margin: 0pt) #let chart-chord-sharp = chart-chord.with(size: 18pt) #let chart-chord-round = chart-chord.with(design: "round", size: 1.5em) #rect( stroke: none, radius: 3pt, inset: (x: 10pt, y: 10pt), fill: white, [ #ch...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-07.typ
typst
Other
// Edge cases. - Not in list -Nope
https://github.com/pascalguttmann/typst-template-report-lab
https://raw.githubusercontent.com/pascalguttmann/typst-template-report-lab/main/template/chapter/results.typ
typst
MIT License
= Description of the Experiments and Results
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/anti-matter/0.0.1/src/lib.typ
typst
Apache License 2.0
// avoid exporting util #let ( anti-front-end, anti-back-start, anti-outer-counter, anti-inner-counter, anti-active-counter-at, anti-page-at, anti-page, anti-header, anti-thesis, anti-matter, ) = { // TODO: I think the spec could be removed in favor of loc.page-numbering() // validate spec le...
https://github.com/qujihan/toydb-book
https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter2/mvcc.typ
typst
#import "../../typst-book-template/book.typ": * #let path-prefix = figure-root-path + "src/pics/" == MVCC介绍 MVCC#footnote("Multi-Version Concurrency Control: https://zh.wikipedia.org/wiki/多版本并发控制")是广泛使用的并发控制机制,他为ACID事务提供快照隔离#footnote("https://jepsen.io/consistency/models/snapshot-isolation"),能实现读写并发。快照隔离级别是最高的隔离级别么? 并...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/2650-cjk-latin-spacing-meta_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // https://github.com/typst/typst/issues/2650 #let with-locate(body) = locate(loc => body) 测a试 测#with-locate[a]试
https://github.com/benjamineeckh/kul-typst-template
https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/lib.typ
typst
MIT License
// #import "external-functions.typ":* #import "text-blobs.typ":declaration-of-originality, copyright, submission-text #import "packages.typ" #import "page-utils.typ" #import "core/component.typ": * #import "@preview/hydra:0.5.1": hydra // This is a template adapted from: // https://typst.app/universe/package/modern-u...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-02.typ
typst
Other
// Error: 6-10 expected boolean, integer, float, or string, found length #int(10pt)
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/raw-code.typ
typst
Apache License 2.0
// Test code highlighting. --- #set page(width: 180pt) #set text(6pt) #show raw: it => rect( width: 100%, inset: (x: 4pt, y: 5pt), radius: 4pt, fill: rgb(239, 241, 243), place(right, text(luma(110), it.lang)) + it, ) ```typ = Chapter 1 #lorem(100) #let hi = "Hello World" #show heading: emph ``` ```rust //...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/primitives/lib.typ
typst
The Unlicense
#import "position.typ": position #import "../pipeline/primitives.typ" as pipeline: assembled, positioned, stroked, rendered
https://github.com/grnin/Zusammenfassungen
https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/04_Programme_Bibliotheken.typ
typst
// Compiled with Typst 0.11.1 #import "../template_zusammenf.typ": * #import "@preview/wrap-it:0.1.0": wrap-content /*#show: project.with( authors: ("<NAME>", "<NAME>"), fach: "BSys2", fach-long: "Betriebssysteme 2", semester: "FS24", tableofcontents: (enabled: true), language: "de" )*/ = Programme und Bi...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/TYP_PPT/main.typ
typst
MIT License
= PPT == Intorduction. Le cancer du poumon figure parmi les principales causes de mortalité liées au cancer dans le monde entier. La reconnaissance et le diagnostic précoces des nodules pulmonaires, petites masses de tissu dans les poumons, peuvent considérablement augmenter les taux de survie et le succès du traite...
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/validate-binary-search-tree/description/", level: 2, )<验证二叉搜索树> #note( title: [ 验证二叉搜索树 ], description: [ 给你一个二叉树的根节点 root ,判断其是否是一个有效的二叉搜索树。 有效 二叉搜索树定义如下: - 节点的左子树只包含 小于 当前节点的数。 - 节点的右子树只包含 大于 当前节点的数。 ...
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/themes/9.typ
typst
#import "../conf.typ": * = Теорема о неявной функции, заданной одним уравнением #definition[ *Кубом* радиуса $delta$ вокруг точки $x_0 in RR^n$ назовём #eq[ $K_(delta, bold(x_0)) = times.big_(k = 1)^n (x_0^k - delta, x_0^k + delta)$ ] где под $times$ подразумевается декартово произведение. ] #theorem[ П...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/OOP.typ
typst
La programación orientada a objetos es un paradigma de programación que utiliza "objetos" para diseñar aplicaciones y programas de computadora. A diferencia de la programación procedimental, que se centra en funciones y la lógica para manipular datos, OOP se organiza en torno a los datos, es decir, los objetos, y los...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/study-1/variable-structure.typ
typst
MIT License
#import "../../../lib/mod.typ": * // #pagebreak() #let variable-timesteps(lookahead_horizon, lookahead_multiple) = { let n = 1 + (0.5 * (-1.0 + calc.sqrt(1.0 + 8.0 * lookahead_horizon / lookahead_multiple))) let n = calc.floor(n) let timesteps = () for i in range(lookahead_multiple * (n + 1)) { let sec...
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/2.typ
typst
#set text(font:("Times New Roman","Source Han Serif SC")) #show raw.where(block: false): box.with( fill: luma(240), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt, ) // Display block code in a larger block // with more padding. #show raw.where(block: true): block.with( fill: luma(240), inset: 10pt,...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/wind.typ
typst
= Wind The following offers a way to visualize wind profile for a given $U_o$ and $t$ for a range of heights up to a maximum of $h$. == Based on ISO 19901-1:2005@iso19901-1_2005 #figure( image("/img/isowind.svg", width: 100%), caption: [Wind as per ISO 19901] ) <iw> #pagebreak(weak: true) Plot code to generate...
https://github.com/TeddyHuang-00/typpuccino
https://raw.githubusercontent.com/TeddyHuang-00/typpuccino/main/src/macchiato.typ
typst
MIT License
#let rosewater = rgb(244, 219, 214) #let flamingo = rgb(240, 198, 198) #let pink = rgb(245, 189, 230) #let mauve = rgb(198, 160, 246) #let red = rgb(237, 135, 150) #let maroon = rgb(238, 153, 160) #let peach = rgb(245, 169, 127) #let yellow = rgb(238, 212, 159) #let green = rgb(166, 218, 149) #let teal = rgb(139, 213, ...
https://github.com/choglost/LessElegantNote
https://raw.githubusercontent.com/choglost/LessElegantNote/main/example/less-elegant-note.typ
typst
MIT License
#import "../lib.typ": * #let ( // 布局函数 twoside, doc, mainmatter, appendix, preface, // 页面函数 fonts-display-page, cover, outline-page, ) = documentclass( twoside: false, // 双面模式,会加入空白页,便于打印 info: ( title: ("LessElegantNote:一个Typst笔记模版"), author: "IxionWheel", submit-date: datetime.today(), ...
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/calcolabilità/07_programmi_NN.typ
typst
#import "../alias.typ": * #import "@preview/algo:0.3.3": code #import "@preview/lemmify:0.1.5": * #let (theorem, lemma, corollary, remark, proposition, example, proof, rules: thm-rules) = default-theorems( "thm-group", lang: "it", ) #show: thm-rules #show thm-selector("thm-group", subgroup: "theorem"): it => b...
https://github.com/kristoferssolo/Mafia-the-Game-Description
https://raw.githubusercontent.com/kristoferssolo/Mafia-the-Game-Description/main/main.typ
typst
#import "layout.typ": project, indent-par #import "@preview/i-figured:0.1.0" #import "@preview/tablex:0.0.6": tablex, rowspanx, colspanx, cellx #import "utils.typ": * #show: project.with( university: "Latvijas Universitāte", faculty: "Datorikas fakultāte", title: [Tiešsaistes spēles sistēma "Mafija"\ Praktiskai...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/game-theoryst/0.1.0/src/lib.typ
typst
Apache License 2.0
#import "nfg.typ": * #import "ul.typ": *
https://github.com/paugarcia32/CV
https://raw.githubusercontent.com/paugarcia32/CV/main/modules_es/technicalSkills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Conocimientos Técnicos") #cvTechSkill( title: [Programación], description: list( [Conocimiento en Typescript, Java, Flutter, C and `C#` junto con librerias y frameworks relacionados para el desarrollo de Backends, RestAPs y aplicaciones Full Stack], [C...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/027%20-%20Conspiracy%3A%20Take%20the%20Crown/001_Laid%20to%20Rest.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Laid to Rest", set_name: "Conspiracy: Take the Crown", story_date: datetime(day: 03, month: 08, year: 2016), author: "<NAME> & <NAME>", doc ) Kaya sat with her back to a corner, legs up on a chair, eyes on the door. Of course, she didn't wa...
https://github.com/prettyroseslover/CV_July_24
https://raw.githubusercontent.com/prettyroseslover/CV_July_24/main/data.typ
typst
#let data(lang) = ( name: ("ru": [<NAME>на], "it": []).at(lang), links: ( ( title: [`Санкт-Петербург`], url: "", icon: "\u{f276}", available: ("ru", "it"), ), ( title: [`<EMAIL>`], url: "mailto:<EMAIL>", icon: "\u{f0e0}", available: ("ru", "it"), ), ( title: [`+7(953)545-...
https://github.com/julius2718/typst-jpdoc-template
https://raw.githubusercontent.com/julius2718/typst-jpdoc-template/main/0.0.1/main.typ
typst
MIT License
#let sans(it, font: ("Helvetica", "Hiragino Sans", "BIZ UDPGothic")) = { text(font: font)[ #it ] } #let gtheading(it, font: ("Helvetica", "Hiragino Sans", "BIZ UPDGothic")) = { text(sans(font: font)[#h(-1em) *#it* #h(1em)]) } #let signature(title: "", date: "", author: "") = { align(center, text(1.4em)[ ...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/24-01-02/24-01-02.typ
typst
#import "/template.typ": * #show: project.with( date: "02/01/24", subTitle: "Analisi paragrafi Norme di Progetto e context switch", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:00", timeEnd: "16:30", ); = Ordine del giorno - Analisi paragrafi Norme di Progetto da redigere rispetto allo...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pagebreak_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Pagebreak, empty with styles and then pagebreak // Should result in one auto-sized page and two conifer-colored 2cm wide pages. #pagebreak() #set page(width: 2cm, fill: conifer) #pagebreak()
https://github.com/donRumata03/aim-report
https://raw.githubusercontent.com/donRumata03/aim-report/master/lib/preview-template.typ
typst
#set page(paper: "presentation-16-9") #import "@preview/cetz:0.1.2": * // #let someText = lorem(30) #let previewTemplate(body, index: none, PTHSColor: fuchsia) = { layout(pageSize => [ #grid(columns: (30%, 70%))[ #set align(center + horizon) #box(stroke: none, fill: none,// rgb("#4f3a3a"), ...
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/lib/translations.typ
typst
MIT License
#let value(en: "", de: "") = { context { if text.lang == "en" { return en } if text.lang == "de" { return de } return "Unknown language" } } #let translations = ( bachelor-thesis: value( en: "Bachelor thesis", de: "Bachelorarbeit", ), master-thesis: value( en: "...
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/exers/7.typ
typst
#import "../cfg.typ": * #show: cfg $ "Prove that" "rng"(x |-> a^x) = RR_+ $ $"rng"(x |-> a^x) subset.eq RR_+$ I'm proving that $ex(x): a^x = r$ $ex(x): (sup c: a^c < r) <= x <= (inf c: r < a^c)$
https://github.com/ntjess/showman
https://raw.githubusercontent.com/ntjess/showman/main/src/runner.typ
typst
MIT License
/* Inspiration: https://github.com/typst/packages/blob/main/packages/preview/cetz/0.1.0/manual.typ */ #let example-blocks = state("example-blocks", ()) #let label-counters = state("external-code-label-counters", (:)) #let config = ( runnable-langs: ("example", ), showable-labels: (<example-output>, ), output-la...
https://github.com/herbhuang/utdallas-thesis-template-typst
https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/content/acknowledgement.typ
typst
MIT License
First, I'd like to thank coffee for fueling my brain cells and making this thesis possible. A big shoutout to my advisor for your patience and for not laughing (too hard) at my wild ideas. To my family, your snack supplies and constant reminders to "just finish it already" were invaluable. Finally, to my pet, your k...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/core/resources.typ
typst
#let icon(name, ..args) = context { let resolvedArgs = if (args.named().len() == 0) { let fontSize = text.size let baseline = 1pt (height: fontSize - baseline, baseline: baseline) } else { args } box(image("../../resources/icons/" + name + ".svg"), ..resolvedArgs) } }
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/descartes/methodischer_zweifel.typ
typst
Other
#import "/src/template.typ": * #let med(page) = en[Vgl. <NAME>: AT VII. S. #page.] == #ix("Der methodische Zweifel", "Zweifel, methodisch") Der #ix("methodische Zweifel", "Zweifel, methodisch") wird in der ersten #ix("Meditation", "Meditationes de prima philosophia") beschrieben. Grundlage ist #ix([Descartes'], "<NA...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/tracking-spacing_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test tracking in arabic text (makes no sense whatsoever) #set text(tracking: 0.3em) النص
https://github.com/piepert/typst-seminar
https://raw.githubusercontent.com/piepert/typst-seminar/main/Beispiele/ImSeminarNichtBesprochen/main.typ
typst
// === PAGE SETUP START ====================================== #set page(paper: "a4", footer: align(center, counter(page).display() + " / " + locate(l => counter(page).final(l).first()))) #set text(lang: "de", size: 12pt) #set par(justify: true, first-line-indent: 1.5em, leading: 0.65em) #show par: set ...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/ea2724-ai_hw/hw5.typ
typst
== HW5 Due 2024.04.18 #let ans(it) = [ #pad(1em)[ #text(fill: blue)[ #it ] ] ] === Question 7.13 7.13 本题考查子句盒蕴含语句之间的关系. a. 证明子句 $(not P_1 or dots.c or not P_m or Q)$ 逻辑等价于蕴含语句 $(P_1 and dots.c and P_m) => Q$. #ans[ $ &(not P_1 or dots.c or not P_m or Q) \ eq.triple & ((not P_1 or dots.c ...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/math/math-let.typ
typst
Apache License 2.0
#let xmat(..arg) = [..#arg] $ #let g = (i) => $g^#i$ xmat(2, 2, #g) $
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11180.typ
typst
Apache License 2.0
#let data = ( ("SHARADA SIGN CANDRABINDU", "Mn", 0), ("SHARADA SIGN ANUSVARA", "Mn", 0), ("SHARADA SIGN VISARGA", "Mc", 0), ("SHARADA LETTER A", "Lo", 0), ("SHARADA LETTER AA", "Lo", 0), ("SHARADA LETTER I", "Lo", 0), ("SHARADA LETTER II", "Lo", 0), ("SHARADA LETTER U", "Lo", 0), ("SHARADA LETTER UU",...
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/.github/ISSUE_TEMPLATE/bug_report.md
markdown
MIT License
--- name: Bug 反馈 about: 通过该 Issue 模板反馈使用 tongji-undergrad-thesis-typst 时的 bug labels: 'type/bug' --- ### 使用平台详情 <!--在你所使用的平台上打勾,或填写你使用的平台--> * [ ] 线上:Typst App * [ ] 本地:Typst * [ ] 不,我使用的是 _________ <!--此外,建议你在下方详细描述你所使用的工具,如编辑器与编译器类型等等--> ### 编译日志 <!--在下方贴出编译时输出的错误日志--> <details><summary><b>报错内容</b> <i>[点击打开]</...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/2902-gradient-oklch-panic_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 15cm, height: auto, margin: 1em) #set block(width: 100%, height: 1cm, above: 2pt) // Oklab #block(fill: gradient.linear(red, purple, space: oklab)) #block(fill: gradient.linear(..color.map.rainbow, space: oklab)) #block(fill: grad...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/preface.typ
typst
Apache License 2.0
#let preface(body, title: [Preface]) = { // Do not number or outline the preface heading(numbering: none, outlined: false)[#title] // Preface content body }
https://github.com/PgBiel/typst-oxifmt
https://raw.githubusercontent.com/PgBiel/typst-oxifmt/main/oxifmt.typ
typst
Apache License 2.0
// oxifmt v0.2.1 // For compatibility with pre-0.8.0 Typst types, which were strings #let _int-type = type(0) #let _float-type = type(5.5) #let _str-type = type("") #let _label-type = type(<hello>) #let using-080 = type(type(5)) != _str-type #let using-090 = using-080 and str(-1).codepoints().first() == "\u{2212}" #l...