repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/chinese.typ
typst
Apache License 2.0
// Test chinese text from Wikipedia. --- #set text(font: "Noto Serif CJK SC") 是美国广播公司电视剧《迷失》第3季的第22和23集,也是全剧的第71集和72集 由执行制作人戴蒙·林道夫和卡尔顿·库斯编剧,导演则是另一名执行制作人杰克·本德 节目于2007年5月23日在美国和加拿大首播,共计吸引了1400万美国观众收看 本集加上插播广告一共也持续有两个小时
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-bidi_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test spacing. L #h(1cm) ריווחR \ Lריווח #h(1cm) R
https://github.com/crdevio/Livres
https://raw.githubusercontent.com/crdevio/Livres/main/Avant%20la%20MP2I/template.typ
typst
#let cpt_def = counter("cpt_def") #let cpt_prop = counter("cpt_prop") #let cpt_thm = counter("cpt_thm") #let cpt_part = counter("cpt_part") #let cpt_exos = counter("cpt_exos") #let tot_exos = counter("tot_exos") #let cpt_qst = counter("cpt_qust") #let wedge = sym.and #let equiv = sym.equiv // Size of the left "marg...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/demonstrations/beginner.typ
typst
#import "@local/typkit:0.1.0": * #let ratio(size: 12, ratios: (1, 2)) = { assert-is-ratio-divisible(size, ratios) let d = ratios.sum() let chunks = ratios.map((n) => int(size * n / d)) panic(chunks) } // #svg-test(ratio) //
https://github.com/EGmux/ControlTheory-2023.2
https://raw.githubusercontent.com/EGmux/ControlTheory-2023.2/main/prova1.typ
typst
#set heading(numbering: "1.") === 1. Pede-se para calcular *$V_o(s)/V(s)$* #figure(image("assets/2024-03-19-16-51-41.png", width: 80%)) <fig-2024-03-19-16-51-41> Aplicando análise nodal, temos #math.equation(block: true, $1. & (V-V_i)/R = V_i/(1/(s C)) + V_o/(1/(s C)) \ 1.1 & (V-V_i)/R = (s C)V_i + (s C)V_o $) #ma...
https://github.com/N3M0-dev/Notes
https://raw.githubusercontent.com/N3M0-dev/Notes/main/CS/Algorithm/Intro_to_Algor/Ch_4/ch4.typ
typst
#import "@local/note_template:0.0.1": * #import "@preview/algo:0.3.3": algo, i, d, comment, code #import "@local/tbl:0.0.4" #show: tbl.template.with(tab: "|", align: center) #set par(justify: true) #set heading(numbering: "1.1") #set page(numbering: "1", number-align: center) #frontmatter( title: "Chapter 4:\n Adva...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/parameter-pattern_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #test((1, 2, 3).zip((1, 2, 3)).map(((_, x)) => x), (1, 2, 3))
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chordx/0.2.0/lib.typ
typst
Apache License 2.0
#import "./src/chart.typ": new-chart-chords #import "./src/piano.typ": new-piano-chords #import "./src/single.typ": new-single-chords
https://github.com/tilman151/pypst
https://raw.githubusercontent.com/tilman151/pypst/main/docs/examples/table/main.typ
typst
MIT License
= My Section Heading #lorem(100) #include("my-table.typ") #lorem(100)
https://github.com/MrToWy/hsh-thesis
https://raw.githubusercontent.com/MrToWy/hsh-thesis/main/template/abbreviations.typ
typst
MIT License
#let hsh = "<NAME>"
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/201.%20nft.html.typ
typst
nft.html An NFT That Saves Lives May 2021Noora Health, a nonprofit I've supported for years, just launched a new NFT. It has a dramatic name, Save Thousands of Lives, because that's what the proceeds will do.Noora has been saving lives for 7 years. They run programs in hospitals in South Asia to teach new mothers how...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/chapters/abstract-en.typ
typst
MIT License
#let 英文关键词 = ("thesis", "typst", "template") This is English abstract of the thesis. #lorem(100)
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/am_notes/main.typ
typst
#import "template.typ": * #show: template.with( title: [SimpleNote], short_title: "SimepleNote", description: [ 此模板修改自 #link("https://github.com/jskherman/jsk-lecnotes")[jsk-lecnotes] \ Winter 2023 ], date: datetime(year: 2023, month: 12, day: 19), authors: ( ( name: "0x1B05", github: ...
https://github.com/rikhuijzer/phd-thesis
https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/chapters/acknowledgements.typ
typst
The Unlicense
#import "../functions.typ": avoid_indent #pagebreak() = Acknowledgements #avoid_indent() This thesis is based on the ideas from friends, family, mentors, and teachers in major ways. I would like to thank the following people by listing some ideas that they contributed. When there are quotation marks, the text is a li...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/style/1.0.0/Components/checklist.typ
typst
Creative Commons Zero v1.0 Universal
#import "../dependencies.typ": * #import "../Colors/m3.typ": * #let m3 = material3 #let checklist-mode(it) = { set list(marker: none, indent: 0pt) it } #let checkbox-done() = { fa-icon("square-check", solid: true, fill: m3.green.light.primary) h(0.5em) } #let checkbox-todo() = { fa-icon("square", solid: fa...
https://github.com/SillyFreak/typst-crudo
https://raw.githubusercontent.com/SillyFreak/typst-crudo/main/CHANGELOG.md
markdown
MIT License
# [unreleased](https://github.com/SillyFreak/typst-crudo/releases/tag/) ## Added ## Removed ## Changed ## Migration Guide from v0.1.X --- # [v0.1.1](https://github.com/SillyFreak/typst-crudo/releases/tag/v0.1.1) ## Added - `lines()` can now accept one- (or zero-)sided ranges, e.g. `"2-"`, `"-3"`, `"-"` in addition ...
https://github.com/FlyinPancake/bsc-thesis
https://raw.githubusercontent.com/FlyinPancake/bsc-thesis/main/thesis/pages/chapters/chapter_1_intro.typ
typst
= Introduction <intro> Kubernetes stands as the pinnacle in the realm of orchestrating reliable, scalable, and portable applications, emerging as the de facto standard for hosting cloud-native applications. With widespread support across major cloud providers and adaptability for on-premise deployments, Kubernetes ...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/label-side-auto/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge Default placement should be above the line. #let around = ( (-1,+1), ( 0,+1), (+1,+1), (-1, 0), (+1, 0), (-1,-1), ( 0,-1), (+1,-1), ) #diagram( spacing: 2cm, axes: (ltr, ttb), for p in around ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/methods-04.typ
typst
Other
// Error: 2:2-2:43 cannot mutate a temporary value #let numbers = (1, 2, 3) #numbers.map(v => v / 2).sorted().map(str).remove(4)
https://github.com/suiranruofeng/notebook
https://raw.githubusercontent.com/suiranruofeng/notebook/main/GW/GW_learn.typ
typst
= Gravitational field vs gravitational waves We may wonder, how it is possible to infer the presence of an astronomical body by the gravitational waves that it emits, when it is clearly not possible to sense its much larger stationary (essentially Newtonian)gravitational potential. 静止场的潮汐力在 r 处衰减为$nabla^2 phi ~ r^(-3...
https://github.com/xrarch/books
https://raw.githubusercontent.com/xrarch/books/main/documents/a4xmanual/chapapt.typ
typst
#import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx #box([ = A3X Partition Table The partition table format understood by this firmware is the A3X Partition Table format, or *APT*. The following is an overview of this format. If a disk is formatted with *APT*, sector 0 (bytes 0-511 on disk) will conta...
https://github.com/mrcinv/nummat-typst
https://raw.githubusercontent.com/mrcinv/nummat-typst/master/00_uvod.typ
typst
#heading(outlined: false, numbering: none)[Predgovor] Knjige o numerični matematiki se pogosto posvečajo predvsem matematičnim vprašanjem. Pričujoča knjiga poskuša nasloviti bolj praktične vidike numerične matematike, zato so primeri, če je le mogoče, povezani s problemom praktične narave s področja fizike, matematič...
https://github.com/jonathan-iksjssen/jx-style
https://raw.githubusercontent.com/jonathan-iksjssen/jx-style/main/0.2.0/debug.typ
typst
#import "@jx/jx-style:0.2.0": * #show: docu.with( debug: true )
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/escape-02.typ
typst
Other
// Unterminated. // Error: 6 expected closing brace \u{41[*Bold*]
https://github.com/ukihot/igonna
https://raw.githubusercontent.com/ukihot/igonna/main/slide.typ
typst
#import "@preview/slydst:0.1.0": * #set text(font: "Fira Sans", weight: "light") #show math.equation: set text(font: "Fira Math") #let today = datetime.today() #import "const.typ" #show: slides.with( title: const.title, subtitle: none, date: today.display("[month repr:long] [day], [year]"), authors: (c...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-circle_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Ensure circle directly in rect works. #rect(width: 40pt, height: 30pt, fill: forest, circle(fill: conifer))
https://github.com/zgzhmry/Docx-to-Typst
https://raw.githubusercontent.com/zgzhmry/Docx-to-Typst/main/README.md
markdown
# Docx-to-Typst 将doc系列模板转换为Typst的模板的工具
https://github.com/xkevio/parcio-typst
https://raw.githubusercontent.com/xkevio/parcio-typst/main/parcio-report/main.typ
typst
MIT License
#import "template/template.typ": * #import "template/tablex.typ": * #show: project.with("Title", "Subtitle", authors: ( ( name: "<NAME>", mail: "<EMAIL>" ), ( name: "<NAME>", mail: "<EMAIL>" ) ), [ #ipsum\ #h(1em)This report template is available at #link("https://gi...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/num/num.typ
typst
Apache License 2.0
#import "/src/utils.typ": combine-dict, content-to-string #import "process.typ": process #import "parse.typ": parse, to-float #let default-options = ( // parsing input-decimal-markers: ("\.", ","), retain-explicit-decimal-marker: false, retain-explicit-plus: false, retain-negative-zero: false, retain-zero...
https://github.com/Nianyi-GSND-Projects/GSND-5130-GP2
https://raw.githubusercontent.com/Nianyi-GSND-Projects/GSND-5130-GP2/master/Thesis/Extended%20Abstract.typ
typst
// Preambles #set page(paper: "us-letter", margin: 1in) #set par(justify: true) #set cite(style: "alphanumeric") #set text(font: "Times New Roman") #show text.where(lang: "zh"): set text(font: "SimSun"); #show link: set text(size: 0.9em, font: "Consolas") #set quote(quotes: true); #show quote: set text(style: "italic"...
https://github.com/mkhoatd/Typst-CV-Resume
https://raw.githubusercontent.com/mkhoatd/Typst-CV-Resume/main/README.md
markdown
MIT License
# Typst-CV-Resume This Typst CV template is inspired by Latex template [Deedy-Resume](https://github.com/deedy/Deedy-Resume). You can use it for both of industry and academia. In original Typst, we cannot create a reference list withou citation. So I modified the code for this purpose. Currently, I only create the Ch...
https://github.com/csimide/SEU-Typst-Template
https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/parts/outline-degree-fn.typ
typst
MIT License
#let outline-conf(outline-depth: 3, show-self-in-outline: true) = { set page( numbering: "I", number-align: center, ) set par(first-line-indent: 0pt, leading: 10pt) heading( numbering: none, outlined: show-self-in-outline, bookmarked: true, )[目录] show outline.entry.where(level: 1): it =...
https://github.com/crd2333/typst-theorem-box
https://raw.githubusercontent.com/crd2333/typst-theorem-box/master/examples/example.typ
typst
MIT License
#import "../lib.typ": * #set heading(numbering: "1.") #show: thmrules = First level heading #theorem(footer: [The showybox allowes you add footer for boxes, useful when giving some explanation.])[#lorem(20)] <thm1> = Another first level heading #theorem(title: "This is a title", lorem(20)) <thm2> == Second level h...
https://github.com/bombless/typst-reproduction
https://raw.githubusercontent.com/bombless/typst-reproduction/master/main.typ
typst
Apache License 2.0
BERT模型中\ BERT模型中,每个编码器由两层组成,即自注意力层和全连接层。
https://github.com/max-niederman/MATH51
https://raw.githubusercontent.com/max-niederman/MATH51/main/hw/4.typ
typst
#import "../lib.typ": * #show: homework.with( title: "Math 51 Homework #4" ) = 12.3 We have that $ f(x, y, z) &= x z + y z $ == Let $g(x, y, z) = x^2 + y^2 - 4 z^2$. We are asked to find two points among which any extrema of $f$ constrained to the level set $g = 1$ must lie. We can use Lagrange multipliers t...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-16.typ
typst
Other
// Error: 23-24 expected string, found integer #"123".replace("123", m => 1)
https://github.com/Tiggax/zakljucna_naloga
https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/references.typ
typst
#set heading(numbering: "1.1") #let done(body) = text(fill: green, body) = Reference summary key sections == Kim 2007 / q: specific productivity #done[ Recent advances in cell culture technology for rCHO cells have achieved significant improvement in protein production leading to titer of more than 10 g/L t...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/book.typ
typst
#import "@preview/shiroa:0.1.0": * #show: book #book-meta( title: "shiroa-page", repository: "https://github.com/hongjr03/shiroa-page", repository-edit: "https://github.com/hongjr03/shiroa-page/edit/main/{path}", language: "zh", summary: [ #prefix-chapter("main.typ")[Hello, shiroa] - #chapter("24sp...
https://github.com/hugo-s29/typst-algo
https://raw.githubusercontent.com/hugo-s29/typst-algo/master/docs/manual.typ
typst
MIT License
//#import "../algo.typ": * #import "algo.typ": * #let version = "1.0.0" #set page( numbering: "1/1", header: align(right, smallcaps[the typst-algo package, version #version]), ) #let todo = (it) => text(red, 12pt, it) #set heading(numbering: "1.") #set par(justify: true) #set raw(lang: "typ") #show math.equati...
https://github.com/Fr4nk1inCs/typreset
https://raw.githubusercontent.com/Fr4nk1inCs/typreset/master/tests/chinese-font.typ
typst
MIT License
#import "../src/lib.typ": font #show: font.set-font.with(lang: "zh-cn") 测试 _测试_ *测试* *_测试_*
https://github.com/PA055/5839B-Notebook
https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/drivetrain/mecanum-drive-testing.typ
typst
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Mecanum Drive Testing", type: "test", date: datetime(year: 2024, month: 3, day: 19), author: "<NAME>", witness: "<NAME>" ) While Building the Mecanum Drive a large over...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/exponent-expr.typ
typst
#import "/home/kdog3682/2024/base-utils.typ": * #let exponent-expr(interval) = { let store = () let numbers = () for n in step(..interval) { let palette = (red, blue, green, green, red, blue) let exp = colored(n, palette.at(n - 1)) store.push(exp) numbers.push(n) $...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch05-the.typ
typst
MIT License
#import "../functions.typ": heading_center, images, italic,linkb #let finchapiter = text(size: 24pt, fill:rgb("#1E045B"),[■]) /* * * THESE 05 * */ = DETECTING LUNG CANCER NODULES. = Introduction Medical images are extensively used in oncology for diagnosis, therapy planning and monitoring of tumors. Oncologists...
https://github.com/lebinyu/typst-thesis-template
https://raw.githubusercontent.com/lebinyu/typst-thesis-template/main/main.typ
typst
Apache License 2.0
#import "template/cover_style.typ": * // #import "chapter1.typ" // #import "chapter2.typ" // #import "abstract.typ" #import "template/global_style.typ" #import "template/abstract_style.typ": * #import "template/tableofcontent_style.typ": * #import "template/chapter_style.typ": * // test import #import "template/refere...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046%20-%20Streets%20of%20New%20Capenna/009_Episode%205%3A%20Hymn%20of%20the%20Angels.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 5: Hymn of the Angels", set_name: "Streets of New Capenna", story_date: datetime(day: 05, month: 04, year: 2022), author: "<NAME>", doc ) = STREETS OF NEW CAPENNA "What do you think?" Elspeth asked her companions, perching on the s...
https://github.com/lcharleux/LCharleux_Teaching_Typst
https://raw.githubusercontent.com/lcharleux/LCharleux_Teaching_Typst/main/src/sandbox/demo.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_label #...
https://github.com/pavelbezpravel/cv
https://raw.githubusercontent.com/pavelbezpravel/cv/main/README.md
markdown
# cv ## Build ```bash typst compile main.typ cv-talashchenko.pdf ``` ## Links [Download latest build](https://github.com/pavelbezpravel/cv/releases/latest/download/cv-talashchenko.pdf)
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-2/homework13.typ
typst
#import "../template.typ": * #show: project.with( course: "Calculus II", course_fullname: "Calculus (A) II", course_code: "821T0160", title: "Homework #13: 格林公式 & 路径无关性", authors: ( ( name: "<NAME>", email: "<EMAIL>", id: "#198", ), ), semester: "Spring-Summer 2024", date: "Ju...
https://github.com/chendaohan/bevy_tutorials_typ
https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/02_behaviors/behaviors.typ
typst
#set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3") #set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei") #set raw(theme: "themes/Material-Theme.tmTheme") = 1. 行为 Bevy 中的行为被称为系统。每个系统都是你编写的 Rust 函数(```Rust fn```)或闭包(```Rust FnMut```),它接受特殊的参数类型来指示它需要访问哪些数据。 这是一个系统的样子,通过查看函数参...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS2110/Quiz3StudyGuide.typ
typst
#import "../../template.typ": * #show: template.with( title: [CS 2110 Quiz 3 Study Guide], authors: ( ( name: "<NAME>", ), ), ) = Pseudo-Ops (Assembler Directives) #note[ * Pseudo-ops* (or assembler directives) do not refer to operations performed by assembly, but rather it is a message from the a...
https://github.com/pluttan/typst-g7.32-2017
https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/styles/raw.typ
typst
MIT License
#import "../g7.32-2017.config.typ":config #let style_raw(content) = { show raw: it => { box( fill: config.rawBg, inset: (x:6pt, y:0pt), outset: (y:3pt), radius: 4pt, align(left)[it] ) } content }
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/015%20-%20Commander%20(2014%20Edition)/001_Loran's%20Smile.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Loran's Smile", set_name: "Commander (2014 Edition)", story_date: datetime(day: 27, month: 10, year: 2014), author: "<NAME>", doc ) #emph[This short story originally ran in ] The Colors of Magic#emph[ anthology published in 1999. It retells...
https://github.com/NIFU-NO/nifutypst
https://raw.githubusercontent.com/NIFU-NO/nifutypst/main/_extensions/nifu_pub/typst-show.typ
typst
MIT License
#show: doc => NIFU_report( title: "$title$", subtitle: "$subtitle$", abstract: "$abstract$", authors: ( $for(by-author)$ ( "$it.name.literal$" )$sep$, $endfor$ ), report_type: "$report_type$", report_no: "$report_no$", project_no: "$project_no$", isbn: "$isbn$", issn: "$issn$",...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/025_Eternal%20Masters.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Eternal Masters", doc) #include "./025 - Eternal Masters/001_The Prodigal Sorcerers.typ" #include "./025 - Eternal Masters/002_All That Came Before.typ"
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/polylux.md
markdown
![logo](logo2.png) **Polylux** is a package for the typesetting system [*Typst*](https://typst.app) to create presentation slides, just like you would use the _beamer_ package in LaTeX. (So far, it is much less advanced than beamer, obviously.) If you haven't heard of things like LaTeX's beamer before, here is how th...
https://github.com/Otto-AA/definitely-not-tuw-thesis
https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/src/translations/translations.typ
typst
MIT No Attribution
#import "@preview/linguify:0.4.1": linguify, set-database #let set-defaults = (obj, keys, default) => { // for each key, sets default value if key does not exist for key in keys { obj.insert(key, obj.at(key, default: default)) } return obj } #let init_translations = (additional-translations) => { let la...
https://github.com/jamesrswift/springer-spaniel
https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/package/drafting.typ
typst
The Unlicense
#import "@preview/drafting:0.2.0": *
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-06.typ
typst
Other
// Test continue outside of loop. // Error: 12-20 cannot continue outside of loop #let x = { continue }
https://github.com/Aariq/mycv
https://raw.githubusercontent.com/Aariq/mycv/main/_extensions/mycv/typst-template.typ
typst
// This is an example typst template (based on the default template that ships // with Quarto). It defines a typst function named 'article' which provides // various customization options. This function is called from the // 'typst-show.typ' file (which maps Pandoc metadata function arguments) // // If you are creati...
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Credits.typ
typst
#import "../templates/interior_template.typ": chapter #show: chapter.with(chapter_name: "Credits") #show: columns.with(2, gutter: 1em) // #columns(gutter: 1em) #let subh(body) = { set text(font: "Abbess", size: 14pt) set block(below: 0.5em) body } #subh[Credits] #par(first-line-indent: 0pt)[ *Written By:*...
https://github.com/xbunax/tongji-undergrad-thesis
https://raw.githubusercontent.com/xbunax/tongji-undergrad-thesis/main/README.md
markdown
MIT License
# :page_facing_up: 同济大学本科生毕业设计论文 Typst 模板(理工类) 中文 | [English](README-EN.md) > [!CAUTION] > 由于 Typst 项目仍处于密集发展阶段,且对某些功能的支持不完善,因此本模板可能存在一些问题。如果您在使用过程中遇到了问题,欢迎提交 issue 或 PR,我们会尽力解决。 > > 在此期间,欢迎大家使用[我们的 $\LaTeX$ 模板](https://github.com/TJ-CSCCG/tongji-undergrad-thesis)。 ## 样例展示 以下依次展示 “封面”、“中文摘要”、“目录”、“主要内容”、“参考文献” 与 “谢...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0018.typ
typst
#import "../helpers.typ": * #import "../solutions/s0018.typ": * = 4Sum Given an array `nums` of `n` integers, return an array of all the unique quadruplets `[nums[a], nums[b], nums[c], nums[d]]` such that: - `0 <= a, b, c, d < n` - `a`, `b`, `c`, and `d` are *distinct*. - `nums[a] + nums[b] + nums[c] + nums[d] == ta...
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/common/binary.typ
typst
#import "@preview/oxifmt:0.2.1": * #let decimal-to-binary(v, n: none) = { if n != none { strfmt("{:0" + str(n) + "b}", v) } else { strfmt("{:b}", v) } } #let binary-count(v) = { let n = 0 while v > 0 { v = v.bit-rshift(1) n += 1 } n } #let k-bit(v, k) = (v.bit-rshift(k)).bit-and(1)
https://github.com/ckunte/typst-snippets-vim
https://raw.githubusercontent.com/ckunte/typst-snippets-vim/master/README.md
markdown
MIT License
# Custom Typst snippets for use in Vim and Neovim Typesetting documents, letters, reports, or even books in [Typst] is not as verbose as LaTeX, but certainly error-prone, given the need for strict syntax. A handful of Vim snippets provided in this repository try to reduce this tedium to as low as practicable. This re...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/raw-00.typ
typst
Other
// No extra space. `A``B`
https://github.com/Arsenii324/matap-p2
https://raw.githubusercontent.com/Arsenii324/matap-p2/main/t-repo/lecture5.typ
typst
#import "macros.typ" : * = Лекция == Степенные ряды === Опр. степенного ряда Фукнциональный ряд вида $limits(sum)_(n = 0)^infinity c_n (x - x_0)^n$, где $x_0, c_n in RR$ фиксированные числа - называется степенным рядом с центром в точке $x_0$. === Опр. радиус сходимости Пусть $D = {"множество точек сходимости ря...
https://github.com/typst-community/mantodea
https://raw.githubusercontent.com/typst-community/mantodea/main/src/example.typ
typst
MIT License
#import "/src/_pkg.typ" #import "/src/_valid.typ" #import "/src/theme.typ" as _theme /// Show a source code frame. /// /// - theme (theme): The theme to use for this code frame. /// - ..args (any): The args to pass to `showybox`. /// -> content #let frame( theme: _theme.default, _validate: true, ..args, ) = { ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/175.%20disc.html.typ
typst
disc.html The Risk of Discovery January 2017Because biographies of famous scientists tend to edit out their mistakes, we underestimate the degree of risk they were willing to take. And because anything a famous scientist did that wasn't a mistake has probably now become the conventional wisdom, those choices don't s...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/serve.typ
typst
Apache License 2.0
#import "/github-pages/docs/book.typ": book-page #show: book-page.with(title: "CLI Serve Command") = The serve command The serve command is used to preview a book by serving it via HTTP at `localhost:25520` by default: ```bash typst-book serve ``` // The `serve` command watches the book's `src` directory for // ...
https://github.com/jamesrswift/blog
https://raw.githubusercontent.com/jamesrswift/blog/main/_posts/2024-07-09-packages.md
markdown
MIT License
--- layout: post title: "Typst packages - Why and How?" --- As of writing (version 0.11.1), Typst is rapidly approaching feature parity with LaTeX. However, as must necessarily be the case with anything new: the ecosystem to support it is still growing. Therefore, those who choose Typst will run into a problem sooner ...
https://github.com/jw2476/cslog
https://raw.githubusercontent.com/jw2476/cslog/master/index.typ
typst
#import "@preview/codelst:0.0.3": sourcecode #set page(fill: rgb(17, 17, 27)) #set text(fill: rgb(202, 211, 245), font: "JetBrains Mono") #set page(height: auto) #set heading(numbering: "1.") #show raw.where(block: false): code => box[ #set text(size: 10pt, fill: rgb(250, 179, 135), font: "JetBrains Mono") ...
https://github.com/neunenak/typst-leipzig-glossing
https://raw.githubusercontent.com/neunenak/typst-leipzig-glossing/master/README.md
markdown
MIT License
# Leipzig Glossing in Typst `leipzig-glossing` is a [Typst](https://github.com/typst/typst) library for creating interlinear morpheme-by-morpheme glosses according to the [Leipzig glossing rules](https://www.eva.mpg.de/lingua/pdf/Glossing-Rules.pdf). # Documentation Run `typst compile documentation.typ` in the root ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/deco_07.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test underline background #set underline(background: true, stroke: (thickness: 0.5em, paint: red, cap: "round")) #underline[This is in the background]
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/IMPORT.typ
typst
#import "@preview/polylux:0.3.1": *
https://github.com/01mf02/jq-lang-spec
https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/icfp.typ
typst
#import "@preview/diagraph:0.2.1" #import "@preview/ctheorems:1.1.0" #import "acm.typ": acmart #import "common.typ": * #show: ctheorems.thmrules #show: acmart.with( format: "acmsmall", title: [A formal specification of the jq language], authors: ( ( name: "<NAME>", email: "<EMAIL>", orcid: ...
https://github.com/HKFoggyU/hkust-thesis-typst
https://raw.githubusercontent.com/HKFoggyU/hkust-thesis-typst/main/hkust-thesis/templates/signature-page.typ
typst
LaTeX Project Public License v1.3c
#import "../imports.typ": * #import "../utils/invisible-heading.typ": invisible-heading #let signature-page( config: (:), info: (:), ) = { info = info let (degreeFull, degreeShort) = set-degree(info.degree) set align(center) [ #pagebreak(weak: true, to: if config.twoside { "odd" }) ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/signature/builtin_with.typ
typst
Apache License 2.0
#let owo = rgb.with(50%, 50%, 50%); #(/* ident after */ owo);
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/042%20-%20Strixhaven%3A%20School%20of%20Mages/006_Episode%204%3A%20Put%20to%20the%20Test.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 4: Put to the Test", set_name: "Strixhaven: School of Mages", story_date: datetime(day: 14, month: 04, year: 2021), author: "<NAME>", doc ) Will startled awake. It took him a moment to realize that he was in his room, that the shado...
https://github.com/C0ffeeCode/typst-dhbw-technik-template
https://raw.githubusercontent.com/C0ffeeCode/typst-dhbw-technik-template/template/README.md
markdown
# Typst template for faculty Technik at DHBW As an example and guide how to use this template, check out [this PDF document](./Template-Example-guide.pdf). The template can be configured to English or German language. To compile your document, you need to take the `thesis.typ` file as the input file. To use the CLI...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10600.typ
typst
Apache License 2.0
#let data = ( ("LINEAR A SIGN AB001", "Lo", 0), ("LINEAR A SIGN AB002", "Lo", 0), ("LINEAR A SIGN AB003", "Lo", 0), ("LINEAR A SIGN AB004", "Lo", 0), ("LINEAR A SIGN AB005", "Lo", 0), ("LINEAR A SIGN AB006", "Lo", 0), ("LINEAR A SIGN AB007", "Lo", 0), ("LINEAR A SIGN AB008", "Lo", 0), ("LINEAR A SIGN ...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week6.typ
typst
#import "../../utils.typ": * #section("Decentralized Autonomous Organizations DAO") - *rules defined and executed by smart contracts* - anyone can audit proposals - voting is a right granted by the proposal creator - DAO is governed entirely by it's members - technical upgrades - porject funding/treasury allocatio...
https://github.com/Wh4rp/Presentacion-Typst
https://raw.githubusercontent.com/Wh4rp/Presentacion-Typst/master/ejemplos/7_let.typ
typst
#let faboloso(term, color: blue) = { text(color, box[||| #term |||]) } Tú eres #faboloso[guapisimo]! Yo soy #faboloso(color: purple)[faboloso]!
https://github.com/lsmenicucci/typst-pkgs
https://raw.githubusercontent.com/lsmenicucci/typst-pkgs/main/calendar/calendar.typ
typst
// Update today's date #let defaultDate = (d) => { let now = datetime.today() let dayArg = d.at("day", default: now.day()) let monthArg = d.at("month", default: now.month()) let yearArg = d.at("year", default: now.year()) return datetime(year: yearArg, month: monthArg, day: dayArg) } #let monthL...
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/04-parametric-and-curves/02-improper-integral.typ
typst
#import "../../utils/core.typ": * == Несобственные интегралы #def(label: "def-improper-integral")[ _Несобственным интегралом_ называется $ integral_a^(+oo) f dif lambda_1 := lim_(b -> +oo) integral_[a, b] f dif lambda_1, $ если предел существует. ] #th(label: "lebesgue-implies-improper")[ Если $integral_[a, ...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/CompiledNotes.typ
typst
#import "../../template.typ": * #show: template.with( title: [CS 3001 Notes], description: [CS Ethics Notes Based On Lectures/Lecture Slides], authors: ( ( name: "<NAME>", ), ) ) #include "Modules/Therac25.typ" #include "Modules/Utilitarianism.typ" #include "Modules/Kantianism.typ" #include "Mo...
https://github.com/adelhult/typst-hs-test-packages
https://raw.githubusercontent.com/adelhult/typst-hs-test-packages/main/test/counter-examples/space_after_math_mode.typ
typst
MIT License
#let nada(ignore_me) = { "foo" } // removing space after $ works #let w = nada(x => $x$ + x)
https://github.com/janlauber/bachelor-thesis
https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/chapters/implementation.typ
typst
Creative Commons Zero v1.0 Universal
= Implementation #show raw.where(block: false): box.with( fill: luma(240), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt, ) == Development Environment Setup The development of the One-Click Deployment system necessitates a specifically configured environment to support the technologies used. This se...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/design/design_iteration_1_flo_inspired.typ
typst
= Flo-inspired design <flo-inspired-design> This design proposal is inspired by flo (see @flo). With this design, function elements are distributed on a canvas. Every element (e.g., a variable or function) can be connected to another element with arrows. == Function Parameter Editor Parameters of a function are define...
https://github.com/rem3-1415926/Typst_Thesis_Template
https://raw.githubusercontent.com/rem3-1415926/Typst_Thesis_Template/main/appendix/app2.typ
typst
MIT License
#[ #set page( paper: "a3", flipped: true, ) = Appendix Two A schematic would be meaningful here. But I don't have one at the ready, so take this blind text. #lorem(100) #pagebreak() // make sure the A3 page is double sided ]
https://github.com/Clamentos/FabRISC
https://raw.githubusercontent.com/Clamentos/FabRISC/main/src/spec/Section3.typ
typst
Creative Commons Attribution Share Alike 4.0 International
/// #import "Macros.typ": * /// #section( [Low Level Data Types], [This section is dedicated to explain the various proposed low-level data types including integer and floating point. The smallest addressable object in FabRISC is the _byte_, that is, eight consecutive bits. Longer types are constructed from ...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/README.md
markdown
MIT License
# Tidy *Keep it tidy.* [![Typst Package](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FMc-Zen%2Ftidy%2Fmain%2Ftypst.toml&query=%24.package.version&prefix=v&logo=typst&label=package&color=239DAD)](https://typst.app/universe/package/tidy) [![MIT License](https://img.shields.io/...
https://github.com/LilNick0101/Bachelor-thesis
https://raw.githubusercontent.com/LilNick0101/Bachelor-thesis/main/content/introduction.typ
typst
= Introduzione == Scopo del progetto Il progetto _Smart Offices_ è nato con l'idea di creare una piattaforma di ricerca di luoghi dove poter lavorare in remoto o in _smart working_ dovuta ad una grande diffusione di questa modalità di lavoro in conseguenza al periodo pandemico del COVID-19, rimasta rilevante anche do...
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661101-%5BCalculus%201A%5D/src/lectures/03661101_lecture_6.typ
typst
#import "/0366-[Math]/globals/template.typ": * #show: project.with( title: "חדו״א 1א׳ - שיעור 6", authors: ("<NAME>",), date: "16 בינואר, 2024", ) #set enum(numbering: "(1.א)") == מבחני התכנסות === (משפט) מבחן השורש הכללי תהי סדרה $an >= 0 forall n in NN$ ו-$exists 0 <= alpha < 1$ ו-$exists n_0 in NN$ כך ש-$an ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-E0000.typ
typst
Apache License 2.0
#let data = ( (), ("LANGUAGE TAG", "Cf", 0), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ("TAG SPACE", "Cf", 0), ("TAG EXCLAMATION MARK", "Cf", 0), ("TAG QUOTATION MARK", "Cf...
https://github.com/k4zuy/Typst-Template-HTW
https://raw.githubusercontent.com/k4zuy/Typst-Template-HTW/main/common/acronyms.typ
typst
//source: https://github.com/typst/typst/issues/659 //Dictionary with acronyms #let acronyms = ( NLP: "Natural Language Processing", ) // The state which tracks the used acronyms #let usedAcronyms = state("usedDic", (:)) // The function which either shows the acronym or the full text for it #let acro(body) = { if...
https://github.com/dogeystamp/typst-templates
https://raw.githubusercontent.com/dogeystamp/typst-templates/master/problems.typ
typst
The Unlicense
// templates for compsci problem documents outside of contests #import "main.typ": gen_preamble, doc_template, mono_font, lref, source_code, status #let template( title: none, authors: none, problem_url: none, stat: "incomplete", body ) = { doc_template(title: title, { gen_preamble( title: title...
https://github.com/EpicEricEE/typst-marge
https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/src/validate.typ
typst
MIT License
/// Construct an error message for invalid parameters. #let invalid(name, expected, provided) = { let repr = el => { if type(el) == type { repr(el) } else { "`" + repr(el) + "`" } } let invalid-type = false let expected = if type(expected) == array { invalid-type = type(expected.at(0, defa...
https://github.com/cyx2015s/PhyLabReportTemplateTypst
https://raw.githubusercontent.com/cyx2015s/PhyLabReportTemplateTypst/main/README.md
markdown
# PhyLabReportTemplateTypst 普通物理实验Ⅱ的混合实验报告Typst模板 ## 介绍 对普通物理实验Ⅱ的混合实验报告Word模板的Typst复刻,供希望使用Typst写报告的同学使用。 ## 使用 将模板文件放置在任意能够引用到的位置,此处以放置在同一文件夹下为例 ``` PhyReport/ ├── main.typ └── phylab.typ ``` 在`main.typ`中输入: ```typst #import "phylab.typ": phylab #show: phylab.with( name: "这是一个实验名称", instructor: "指导教师姓名", class...
https://github.com/AOx0/expo-nosql
https://raw.githubusercontent.com/AOx0/expo-nosql/main/README.md
markdown
MIT License
# Slides in Typst This is a template for creating slides in [Typst](https://typst.app/). [![Book badge](https://img.shields.io/badge/docs-book-green)](https://andreaskroepelin.github.io/typst-slides/book) ![GitHub](https://img.shields.io/github/license/andreasKroepelin/typst-slides) ![GitHub release (latest by date)](...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/line-align.typ
typst
Apache License 2.0
// Test right-aligning a line and a rectangle. --- #align(right, line(length: 30%)) #align(right, rect())