repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/bkorecic/curriculum
https://raw.githubusercontent.com/bkorecic/curriculum/main/template.typ
typst
#import "@preview/fontawesome:0.1.0": * #let primary-color = rgb(60, 112, 180) #let toml-conf = toml("conf.toml") // Redacts content if "sensitive" is true in conf.toml #let sensitive(data) = style(styles => { let size = measure(data, styles) if toml-conf.at("redact", default: false) { box(fill: black, width:...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/field-06.typ
typst
Other
// Closures cannot have fields. #let f(x) = x // Error: 4-11 cannot access fields on user-defined functions #f.invalid
https://github.com/jackkyyh/ZXCSS
https://raw.githubusercontent.com/jackkyyh/ZXCSS/main/main.typ
typst
#import "import.typ": * #set text(size: 25pt) #set terms(separator: h(1em)) #show: metropolis-theme.with() #title-slide( author: text(0.83em)[*<NAME> (Jacky) #super[1]*, <NAME> Li#super[2,3], <NAME>#super[4,5], Aleks Kissinger#super[4], <NAME>ca#super[2,3,6], <NAME>#super[2,6]], // ([*<NAME> (Jacky) #super[...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-07.typ
typst
Other
// Replace worlds but only in lists. #show list: it => [ #show "World": [🌎] #it ] World - World
https://github.com/flavio20002/cyrcuits
https://raw.githubusercontent.com/flavio20002/cyrcuits/main/lib.typ
typst
Other
#import "@preview/cetz:0.3.1" #import "components.typ" : * #let parse-circuit(raw_code) = { let code_str = raw_code.text.replace(regex("to\ *\["),"\n to["); let lines = code_str.split("\n").filter(line => (line.trim().len()> 0)); let elements = () for line in lines { if not line.starts-with("...
https://github.com/abd0-omar/cv-resume
https://raw.githubusercontent.com/abd0-omar/cv-resume/main/README.md
markdown
# cv-resume ![<NAME> (1)_page-0001](https://github.com/abd0-omar/cv-resume/assets/128975938/9d031f28-eb38-4188-aabe-9e0f5e9a05b0) [resume](https://github.com/abd0-omar/cv-resume/files/15447822/Abdelrahman.Omar.1.pdf) It was made using this [template](https://typst.app/universe/package/modern-cv/)
https://github.com/kimushun1101/rengo2024-typst
https://raw.githubusercontent.com/kimushun1101/rengo2024-typst/main/sample-en.typ
typst
MIT No Attribution
// MIT No Attribution // Copyright 2024 <NAME> // https://github.com/kimushun1101/rengo2024-typst #import "libs/rengo-en/lib.typ": rengo, definition, lemma, theorem, corollary, proof #show: rengo.with( title: [Sample Manuscript for the Japan Joint Automatic \ Control Conference], authors: [$ast$T. Jido, H.~Seigyo...
https://github.com/TycheTellsTales/typst-pho
https://raw.githubusercontent.com/TycheTellsTales/typst-pho/main/README.md
markdown
# Worm PHO Based on [Myrddin](https://ujamer.github.io/myrddin/) ## Example ```typst #import "pho": pho, link #pho( viewer: "<NAME>", poster: "<NAME>", date: "January 1st 1001", startPage: 5, endPage: 5, (topic, page) => { topic( title: "Hello World!", board: "Announcements", )[ ...
https://github.com/flechonn/interface-typst
https://raw.githubusercontent.com/flechonn/interface-typst/main/BD/TYPST/exo2.typ
typst
#show terms: meta => { let title = label("Integration Exercise") let duration = label("30min") let difficulty = label("hard") let solution = label("1") let figures = label("") let points = label("20pts") let bonus = label("0") let author = label("") let references = label("") let...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055_Murders%20at%20Karlov%20Manor.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Murders at Karlov Manor", doc) #include "./055 - Murders at Karlov Manor/001_Episode 1: Ghosts of Our Past.typ" #include "./055 - Murders at Karlov Manor/002_Episode 2: Monsters We Became.typ" #include "./055 - Murders at Karlov Manor/003_Episode 3: Shadows of Re...
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/core/component/table-of-contents.typ
typst
#import "/src/utils.typ" as _utils #let make-table-of-contents( appendix-marker: none, _outline-state: _utils.state.outline, _appendix-state: _utils.state.appendix, _fonts: (:), ) = { show outline.entry: it => { if it.level == 1 { v(18pt, weak: true) strong({ let body = if _appendix-s...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/151.%20ds.html.typ
typst
ds.html Do Things that Don't Scale Want to start a startup? Get funded by Y Combinator. July 2013One of the most common types of advice we give at Y Combinator is to do things that don't scale. A lot of would-be founders believe that startups either take off or don't. You build something, make it available, a...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/1-introduction/mod.typ
typst
MIT License
#import "../../lib/mod.typ": * = Introduction <introduction> The introduction to the thesis will be structured as follows. First, #nameref(<intro-motivation>, "Motivation") presents the motivation for the thesis, then the problem definition is outlined in @intro-problem-definition. With the motivation and problem def...
https://github.com/LugsoIn2/typst-htwg-thesis-template
https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/lib/cover.typ
typst
MIT License
#import "textTemplate.typ": * #let cover( lang: "", title: "", degree: "", program: "", author: "", studentnumber: "", authormail: "", location: "", cover-font: "Arial", physicalPrint: true, ) = { { set page( margin: (left: 20mm, right: 10mm, top: 40mm, bottom: 40mm), ...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework5.typ
typst
#import "../template.typ": * #show: project.with( title: "Calculus Homework #5", authors: (( name: "<NAME> (#47)", email: "<EMAIL>", phone: "3230104585" ),), date: "October 27, 2023", ) = P71 习题1-4 9(1) #prob[求证:方程 $2^x-4x=0$ 在 $display((0,1/2))$ 内必有一实根.] $f(x) = 2^x - 4x$ 是初等函数,在 $RR$ 上连续.已知 $f...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_08.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test columns in an infinitely high frame. #set page(width: 7.05cm, columns: 2) There can be as much content as you want in the left column and the document will grow with it. #rect(fill: conifer, width: 100%, height: 30pt) Only an explicit #c...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/km/0.1.0/README.md
markdown
Apache License 2.0
# `km` Draw simple Karnaugh maps. Use with: ```typ #import "@preview/km:0.1.0": karnaugh #karnaugh(("C", "AB"), implicants: ( (0, 1, 1, 2), (1, 2, 2, 1), ), ( (0, 1, 0, 0), (0, 1, 1, 1), ) ) ``` Samples are available in [`sample.pdf`](https://github.com/typst/packages/blob/main/packages/prev...
https://github.com/jamesrswift/springer-spaniel
https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/package/dining-table.typ
typst
The Unlicense
#import "@preview/dining-table:0.1.0": *
https://github.com/Sckathach/hackademint-presentations
https://raw.githubusercontent.com/Sckathach/hackademint-presentations/main/Introduction_to_Prompt_Hacking/main.typ
typst
Apache License 2.0
#import "@preview/polylux:0.3.1": * #import themes.simple: * #set text(font: "Inria Sans") #show: simple-theme.with( footer: [<NAME>], ) #title-slide[ = Introduction to Prompt Hacking #v(2em) Le magicien quantique #footnote[Aka Sckathach, Caml Master, Fan2Thermo] <f1> #h(1em) \ 1 Nov 2023 ] #slide[ #f...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/lint/markup_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Warning: 1-3 no text within stars // Hint: 1-3 using multiple consecutive stars (e.g. **) has no additional effect **
https://github.com/Leo1003/resume
https://raw.githubusercontent.com/Leo1003/resume/main/resume.typ
typst
#import "template.typ": * #import "secrets.typ": secret #show: resume.with( author: ( firstname: "Shao-Fu", lastname: "Chen", chinesename: "陳少甫", email: "<EMAIL>", phone: secret("phone"), github: "Leo1003", linkedin: "少甫-陳-3b0b3a20a", positions: ( "System Team ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-04.typ
typst
Other
// Error: 5-7 missing argument: red component #rgb()
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Layout without any container should provide the page's dimensions, minus its margins. #page(width: 100pt, height: 100pt, { layout(size => [This page has a width of #size.width and height of #size.height ]) h(1em) place(left, rect(width: 8...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cartao/0.1.0/README.md
markdown
Apache License 2.0
# cartao Dead simple flashcards with Typst. ## Example usage: ```typ #import "@preview/cartao:0.1.0": card, letter8up, a48up #set page( paper: "a4", // paper: "us-letter", // paper: "presentation-16-9", margin: (x: 0cm, y: 0cm), ) // build the cards #a48up // #letter8up // #present // define your cards #c...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/practice/clone.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly #import "@preview/fletcher:0.5.1" as fletcher: node, edge #let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide) #import "../components/gh-button.typ": gh_button #import "../c...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/build-typst-project-local.md
markdown
MIT License
# buildTypstProjectLocal Returns a derivation for compiling a Typst project and copying the output to the current directory. This is essentially a script which wraps [`buildTypstProject`](build-typst-project.md). <div class="warning"> Using this derivation requires [`allow-import-from-derivation`](https://nixos.org...
https://github.com/davawen/Cours
https://raw.githubusercontent.com/davawen/Cours/main/Physique/Electricité/dipole.typ
typst
#import "@local/physique:0.1.0": * #import elec: * #show: doc => template(doc) #titleb[Dipôle linéaires] = Notion de pôle électromagnétique == Definition d'un dipôle Un dipôle est un élément de circuit possédant deux bornes. == Caractéristique d'un dipôle Il y a deux caractéristique d'un dipôle: la tension et l'...
https://github.com/augustebaum/tenrose
https://raw.githubusercontent.com/augustebaum/tenrose/main/lib.typ
typst
MIT License
#import "internals.typ": render /// Renders a graph with Penrose. /// /// See `render`'s documentation in `internals.typ` for a list of valid /// arguments and their descriptions. #let raw-render( /// A `raw` element containing Dot code. raw, ..args, ) = { assert(raw.has("text"), message: "`raw-render` expects a ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1DC0.typ
typst
Apache License 2.0
#let data = ( ("COMBINING DOTTED GRAVE ACCENT", "Mn", 230), ("COMBINING DOTTED ACUTE ACCENT", "Mn", 230), ("COMBINING SNAKE BELOW", "Mn", 220), ("COMBINING SUSPENSION MARK", "Mn", 230), ("COMBINING MACRON-ACUTE", "Mn", 230), ("COMBINING GRAVE-MACRON", "Mn", 230), ("COMBINING MACRON-GRAVE", "Mn", 230), (...
https://github.com/TimotheAlbouy/algol
https://raw.githubusercontent.com/TimotheAlbouy/algol/main/README.md
markdown
MIT License
# algol Typst package for writing algorithms
https://github.com/VadimYarovoy/Networks2
https://raw.githubusercontent.com/VadimYarovoy/Networks2/main/lab2/report/typ/task.typ
typst
#import "@preview/colorful-boxes:1.2.0": * = Практические задание == Задание 1 #colorbox( title: "TODO", color: "blue", radius: 2pt, width: auto )[ Попробуйте отправить письмо на вашу почту (mail, yandex, gmail, etc) используя команду openssl (узнаете в DNS имя почтового сервера, подключаетесь к нему по ...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/vielfaches.typ
typst
#import "@preview/cetz:0.2.2" #import "/config.typ": theme #cetz.canvas(length: 5%, { import cetz.draw: * let g = rgb(0, 0, 0, 20%) let r = theme.primary set-viewport((0, 0), (20, 20), bounds: (12, 20)) set-style(stroke: (thickness: 1, paint: g)) line((0, 0), (4, 0), name: "a") line((), (rel: (4, 0)...
https://github.com/heiafr-isc/typst-report-template
https://raw.githubusercontent.com/heiafr-isc/typst-report-template/main/lib/french_date.typ
typst
Apache License 2.0
// --------------------------------------------------------------------------- // Copyright © 2024 Haute école d'ingénierie et d'architecture de Fribourg // SPDX-License-Identifier: Apache-2.0 // --------------------------------------------------------------------------- // Author : <NAME> <<EMAIL>> // Date : 23 Febr...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ARO/docs/5-Execute%26MemoryAccess/memory-access.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Memory Access ], lesson: "ARO", chapter: "5 - Execute & Memory Access", definition: "Le texte aborde l'importance de l'accès à la mémoire dans un processeur pour charger des instructions, sauvegarder les données et garantir un...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion-pkgs/touying-utils-reconstruct.typ
typst
Apache License 2.0
// path: lib.typ #let reconstruct(body-name: "body", labeled: true, named: false, it, ..new-body) = { } ----- // contains: body-name, labeled, named, it, new-body #import "lib.typ": * #reconstruct(/* range 0..1 */)[]; ----- // contains: "body" #import "lib.typ": * #reconstruct(body-name: /* range 0..1 */)[]; ----- // c...
https://github.com/dyc3/good-typst-template
https://raw.githubusercontent.com/dyc3/good-typst-template/main/util.typ
typst
The Unlicense
#let unique(items) = { let seen = () for item in items { if (not seen.contains(item)) { seen = seen + (item,) } } return seen }
https://github.com/tuatmcc/GitLectureRepo
https://raw.githubusercontent.com/tuatmcc/GitLectureRepo/main/Inoyu.typ
typst
#import "@local/tuat-typst:0.1.0": * #show: doc => tuatTemplate(// title: "実験報告書", // タイトル(上部) date1: "2021-01-01", // 日付1 date2: "2021-01-02", // 日付2 date3: "2021-01-03", // 日付3 date4: "2021-01-04", // 日付4 // date5: "2021-01-05", // 日付5 collaborator1: "<NAME>", // 共同作業者1 collaborator2: "<NAME>", ...
https://github.com/TC-Fairplay/member-listing
https://raw.githubusercontent.com/TC-Fairplay/member-listing/main/README.md
markdown
MIT License
# Member Listing ![Compile Documents](https://github.com/TC-Fairplay/member-listing/actions/workflows/compile-docs.yml/badge.svg) [Typst](https://typst.app/) files to generate club member listings (as PDFs) for the protected area of the club website. ## Files - [members-list.typ](members-list.typ): main library, im...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/1-introduction/research.typ
typst
MIT License
#import "../../lib/mod.typ": * == Research Hypotheses <intro-research-hypothesis> #let h-amount = context int(hyp-counter.at(<marker.end-of-hypothesis>).first()) // This thesis poses the following #numbers.written(h-amount) hypothesis: // This thesis poses the following #h-amount hypothesis: This thesis poses the foll...
https://github.com/gumelarme/nuist-master-thesis-proposal
https://raw.githubusercontent.com/gumelarme/nuist-master-thesis-proposal/main/strings/zh.typ
typst
#let cover-title = [研究生学位论文开题报告及学位论文工作实施计划] #let notes-title = [说明] #let notes-content = [ + 论文开题报告优研究生向院(所)报告后,听取意见并整理成文后填写; + 论文工作实施计划由指导老师指导学生填写; + 博士生在入学后第二学期结束前完成,硕士生仔入学后第三学期结束前完成; + 本表一试二份,提交研究生院审核盖章后,由学位点学院留存整理归档。(一份留存学生的学籍档案,一份留存学生的学位档案)。 + 学位类别为:*学术学位博士、专业学位硕士、学术学位硕士* ] #let student-number = "学号" #l...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/align_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Ref: false #test(type(center), alignment) #test(type(horizon), alignment) #test(type(center + horizon), alignment)
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/math/attach.typ
typst
MIT License
// Test top and bottom attachments. --- // Test basics. $f_x + t^b + V_1^2 + attach(A, top: alpha, bottom: beta)$ --- // Test function call after subscript. $pi_1(Y), a_f(x), a^zeta(x) \ a^subset.eq(x), a_(zeta(x)), pi_(1(Y))$ --- // Test associativity and scaling. $ 1/(V^2^3^4^5) $ --- // Test high subscript and...
https://github.com/ludwig-austermann/typst-idwtet
https://raw.githubusercontent.com/ludwig-austermann/typst-idwtet/main/examples/ouset_and_funarray.typ
typst
MIT License
#set page(margin: 0.5cm, width: 14cm, height: auto) = idwtet (I Don't Wanna Type Everything Twice) To load this package in this repo, we have to: #import "../idwtet.typ" #show: idwtet.init.with(eval-scope: ( ouset: ( value: {import "@preview/ouset:0.1.1": ouset; ouset}, code: "#import \"@preview/ouset:0.1.1\...
https://github.com/ns-shop/ns-shop-typst
https://raw.githubusercontent.com/ns-shop/ns-shop-typst/main/fonts/main.typ
typst
#import "template.typ": * #import "cover.typ": * #show: template // --- cover #cover() #cover(border: false) // --- set page number #set page(numbering: "1") #counter(page).update(1) #include "pre.typ" #include "chapter1.typ" #include "chapter2.typ" #include "chapter3.typ" #h1("Tài liệu tham khảo", numbering: ...
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/tests/features/custom-elements/test.typ
typst
MIT License
// Synopsis: // - the figure doesnt interfere with chapter numbering // - the use of `loc: loc` ensures that return values can be used for logic // - the use of `custom` ensures that heading searches are scoped by chapters #import "/src/lib.typ" as hydra #import hydra.selectors: custom #import hydra: hydra #let chapt...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/packages/tables.md
markdown
MIT License
# Tables ## Tablex: general purpose tables library ```typ #import "@preview/tablex:0.0.7": tablex, rowspanx, colspanx #tablex( columns: 4, align: center + horizon, auto-vlines: false, // indicate the first two rows are the header // (in case we need to eventually // enable repeating the header across pag...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying-unistra-pristine/1.0.0/example/example.typ
typst
Apache License 2.0
#import "@preview/touying:0.5.2": * #import "@preview/touying-unistra-pristine:1.0.0": * #show: unistra-theme.with( aspect-ratio: "16-9", config-info( title: [Title], subtitle: [_Subtitle_], author: [Author], date: datetime.today().display("[month repr:long] [day], [year repr:full]"), logo: ima...
https://github.com/pauladam94/curryst
https://raw.githubusercontent.com/pauladam94/curryst/main/curryst.typ
typst
MIT License
/// Creates an inference rule. /// /// You can render a rule created with this function using the `proof-tree` /// function. #let rule( /// The label of the rule, displayed on the left of the horizontal bar. label: none, /// The name of the rule, displayed on the right of the horizontal bar. name: none, /// T...
https://github.com/td-org-uit-no/assignment-template-typst
https://raw.githubusercontent.com/td-org-uit-no/assignment-template-typst/main/README.md
markdown
# Assignment Template Typst [Typst Online Preview](https://typst.app/project/rSexhJ45Kv6nJvd9yI5qOV) This repository provides a simple Typst template for writing your Assignments at UiT (The Arctic University of Norway). The template is _supercharged_ with the [typst](https://typst.app/home) language, which is a simp...
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/src/core.typ
typst
#import "utils.typ" #import "utils.typ" #import "pdfpc.typ" #import "components.typ" /// ------------------------------------------------ /// Slides /// ------------------------------------------------ #let _delayed-wrapper(body) = utils.label-it( metadata((kind: "touying-delayed-wrapper", body: body)), "touying-...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/bibliography-full_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(paper: "a6", height: 160mm) #bibliography("/assets/files/works.bib", full: true)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/numberingx/0.0.1/numberingx.typ
typst
Apache License 2.0
// SPDX-License-Identifier: CC0-1.0 #import "numberingx_impl.typ": format, formatter
https://github.com/Arrata-TTRPG/Arrata-TTRPG
https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/main.typ
typst
Other
// For formatting rules #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( authors: ( "<NAME>", ), version: "CURRENT_VERSION", logo: "rat.png", ) #set page(numbering: "1") #counter(page).updat...
https://github.com/drupol/ipc2023
https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/demo.typ
typst
#import "imports/preamble.typ": * #focus-slide[ #set align(center + horizon) #set text(fill: white, font: "Virgil 3 YOFF") #uncover("1-")[ #fit-to-height(2em)[Hands-on] ] #set text(size:.5em) #set align(right) Please, reproduce this at home! ] #screencast-slide( new-section: "Hands-on", title: "I...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/bugs/tinymist-issue492.typ
typst
Apache License 2.0
"#spec_char.d8." For example "#spec_char.d8.a" For example
https://github.com/ntjess/typst-nsf-templates
https://raw.githubusercontent.com/ntjess/typst-nsf-templates/main/main-sbir-technical-volume.typ
typst
MIT License
#import "@preview/tablex:0.0.4": tablex, cellx, rowspanx #import "nsf-proposal.typ": * #show: template #show regex("(?i:\bxxx\b)"): box(fill: yellow)[ #set text(size: 1.25em) (UPDATE ME) ] #let note(..args) = { set par(justify: false) set text(size: 8pt, fill: blue) [~] drafting.margin-note(..args) } #...
https://github.com/Quaternijkon/notebook
https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/组合数学/ch1-鸽巢原理.typ
typst
#import "../../lib.typ": * = 鸽巢原理 == 鸽巢原理简单形式 #showybox()[ 如果要把n+1 个物体放进n个盒子,那么至少有一个盒子包含两个或更多的物体。 ] #showybox(title: [中国剩余定理])[ 设m和n是互素的正整数,并设a和b为整数,其中$0≤a≤m-1$以及 $0≤b≤n-1$。于是,存在正整数x,使得x除以m 的余数为a,并且x除以n 的余数为b;即x可以写成$x=p*m+a$的同时又可写成$x=q*n+b$ 的形式,这里,p和q是两个整数。 ] == 鸽巢原理加强版 #showybox()[ 设 $q_1,q_2$,是正整数。如果将$q_1+q_...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/template.typ
typst
MIT License
#import "functions/numbering.typ": * #import "functions/outline.typ": * #import "functions/style.typ": * #import "functions/helpers.typ": * #import "functions/underline.typ": * #import "functions/codeblock.typ": * #import "functions/figurelist.typ": * #import "functions/booktab.typ": * #import "info.typ": * #import "c...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/06-automated-modularization/05-conclusion.typ
typst
== Conclusion In this chapter, we presented the state of the art in automated microservice modularization, and answered the research questions posed in the introduction. #link(<research_question_2>)[*Research Question 2*]: What are the existing approaches for (semi-)automated microservice candidate identification in ...
https://github.com/hash-roar/typst-math-template
https://raw.githubusercontent.com/hash-roar/typst-math-template/main/README.md
markdown
# math-template this is a template for math homework,thesis,report,etc. ## simple article if you want a quick start, you can use typst_simple_thesis template. ![image](./typst_simple_thesis/typst_simple_thesis.png) ## two column thesis if you want a good looking two column thesis, you can use two_column_thesis templ...
https://github.com/yonatankremer/matrix-utils
https://raw.githubusercontent.com/yonatankremer/matrix-utils/main/src/matrix2.typ
typst
MIT License
#import "complex.typ": * #let _mform(m) = { let con = m.map(x => x.map(y => y)) return math.mat(..con) } #let _munform(m) = { if m.has("rows") { return m.at("rows") } return _munform(m.body) } #let _mtrans-content(m) = { let i = 0 let j = 0 while i < m.at(0).len() { while j < m.len() { ...
https://github.com/AHaliq/CategoryTheoryReport
https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter3/mandatory.typ
typst
#import "../../preamble/lemmas.typ": * #import "../../preamble/catt.typ": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #exercise("1 from wk2")[Show that every poset considered as a category has equalizers and coequalizers of all pairs of morphisms] A poset as a category, has objects as elements...
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/werkstatt-agb.typ
typst
Creative Commons Zero v1.0 Universal
#import "templates/tmpl_doc.typ": tmpl_doc #show: doc => tmpl_doc( title: "Allgemeine Geschäftsbedingungen (AGB)", changes: ( [v1.0], [23.06.2023], [erste Fassung], ), doc, ) = Vertragsgegenstand + Der swablab e.V. stellt dem Nutzer #footnote[Es sind stets Personen männlichen und weiblichen Geschlechts ...
https://github.com/asibahi/simple-poem-typst
https://raw.githubusercontent.com/asibahi/simple-poem-typst/main/simple%20poem.typ
typst
#set text(dir: rtl, font: "Noto Naskh Arabic") #let ahmed_shawqi =" ريمٌ على القاع بين البان والعلم أحل سفك دمي في الأشهر الحرم رمى القضاء بعيني جؤذر أسدا يا ساكن القاع أدرك ساكن الأجم لما رنا حدثتني النفس قائلة يا ويح جنبك بالسهم المصيب رمي جحدتها وكتمت السهم في كبدي جرح الأحبة عندي غير ذي ألم رزقت أصفح ما في الناس م...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/ea2724-ai_hw/hw1.typ
typst
== HW 1 Due: 2024.03.17 #let ans(it) = [ #pad(1em)[ #text(fill: blue)[ #it ] ] ] === Question 3.7 3.7 给出下列问题的初始状态、目标测试、后继函数和耗散函数. 选择精确得足以实现的形式化. + 只用四种颜色对平面地图染色, 要求每两个相邻的地区不能染成相同的颜色. + 一间屋子里有一只 3 英尺高的猴子, 屋子的房顶上挂着一串香蕉, 离地面 8 英尺. 屋子里有两个可叠放起来、可移动、可攀登的 3 英尺高的箱子. 猴子很想得到香蕉. + 有一个程序, 当送入一个特定文件的输入记录时会输出“不...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/text_formats/text_formats_mix_result.typ
typst
= Heading1 Paragraph with quotes “This is in quotes.”#underline[ ];#underline[“New.”] #strong[Date:] 26.12.2022 \ Date used in paragraph #strong[Date:];#strike[ ];#strike[26.12.2022];#strike[ \ ];#strike[#strong[Topic:];] #strike[Infrastructure];#underline[30.12.2022] #strike[Test];#strike[ \ ];#strong[#strike[Severit...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056%20-%20Outlaws%20of%20Thunder%20Junction/005_Episode%203%3A%20A%20Train%20to%20Prosperity.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 3: A Train to Prosperity", set_name: "Outlaws of Thunder Junction", story_date: datetime(day: 18, month: 03, year: 2024), author: "<NAME>", doc ) Akul dug his claws into the gravel, watching as two Hellspurs appeared through the thi...
https://github.com/Wh4rp/OCI-Solutions
https://raw.githubusercontent.com/Wh4rp/OCI-Solutions/main/lib/problem.typ
typst
#let problem( letter: "", title: "", statement: "", input: "", output: "", subtasks: (), examples: (), solution: none, ) = { heading(level: 3, [Problema #letter - #title]) statement heading(level: 4, "Entrada", outlined: false) input heading(level: 4, "Salida", outlined: false) output if s...
https://github.com/DamienFlury/summaries
https://raw.githubusercontent.com/DamienFlury/summaries/main/AutoSpr/cheat-sheet/main.typ
typst
#import "@preview/ctheorems:1.1.2": * #show: thmrules #set text(lang: "DE", region: "CH", font: "EB Garamond", size: 9pt) #set par(justify: true) #set heading(numbering: "1.1") #set text(lang: "de") #let theorem = thmbox("theorem", "Satz", fill: rgb("#eeffee")) #let proof = thmproof("proof", "Beweis") #let definition...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/035.typ
typst
#let date = datetime( year: 2022, month: 9, day: 6, ) #metadata(( title: "使用g++编译cpp20的module文件", subtitle: [c++20], author: "dashuai009", description: "本文简单给出了两个文件,使用了c++20 的module特性,并说明了如何使用g++进行编译。", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf == 简介...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap5/8_simple_resistor_circuits.typ
typst
Other
#import "../../core/core.typ" === Building simple resistor circuits In the course of learning about electricity, you will want to construct your own circuits using resistors and batteries. Some options are available in this matter of circuit assembly, some easier than others. In this section, I will explore a couple ...
https://github.com/i-am-wololo/cours
https://raw.githubusercontent.com/i-am-wololo/cours/master/main/cheatsheeti22.typ
typst
#import "./templates.typ": * #show: chshtemplate.with(matiere: "i22") = bases et codage == rappels #table(columns: (auto, auto, auto, auto), "decimale", "binaire", "octal", "hexa", "0", "0", "0", "0", "1", "1", "1", "1", "2", "10", "2", "2", "3", "11", "3", "3", "4", "100", "4",...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/intake-rebuild/build.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #create-body-entry( title: "Build: Intake Rebuild", type: "build", date: datetime(year: 2024, month: 2, day: 17), author: "<NAME>", witness: "<NAME>", )[ #grid( columns: (1fr, 1fr), gutter: 20pt, ...
https://github.com/exAClior/simpl-event-poster
https://raw.githubusercontent.com/exAClior/simpl-event-poster/master/main.typ
typst
#let poster( year: "", website: "", title: "", subtitle: "", date: "", logo: none, locations: none, sponsors: none, page_width: 12in, page_height: 36in, body ) = { // Define color theme let backgroundColor = rgb("#FFFFFF") // White background let primaryColor = rgb("#2C3E50") // Dark Blue fo...
https://github.com/codez-py/icd-9
https://raw.githubusercontent.com/codez-py/icd-9/main/report/report.typ
typst
#set page(numbering: "1") #set par(justify: true) #set text(size: 12pt) #set figure(placement: auto) #set table(fill: (rgb("EAF2F5"), none), stroke: rgb("21222C")) #show table.cell.where(y: 0): set text(weight: "bold") #align(center, text(17pt)[ *Indian Dance Forms Classification* ]) #let class_labels = ( "bhara...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/diagraph/0.1.2/lib.typ
typst
Apache License 2.0
#let plugin = plugin("diagraph.wasm") #let render(text, engine: "dot", width: auto, height: auto, fit: "contain", background: "transparent") = { let render = plugin.render( bytes(text), bytes(engine), bytes(background) ) if render.at(0) == 1 { return raw(str(render.slice(1))) } if render.at(0) != 0 { ...
https://github.com/EricWay1024/Homological-Algebra-Notes
https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/main.typ
typst
#import "libs/template.typ": * #import "@preview/ctheorems:1.1.2": * #show: thmrules #show: project.with( title: "Homological Algebra", authors: ( "Notes by <NAME>", "Lectures by <NAME>", "Partially Based on Previous Notes by <NAME>" ), // date: "October 24, 2023", date: datetime.today().display...
https://github.com/max-niederman/MATH51
https://raw.githubusercontent.com/max-niederman/MATH51/main/lib.typ
typst
#let vname = math.bold #let Proj = math.bold(math.op("Proj")) #let span = math.op("span") #let implies = sym.arrow.r.double #let iff = sym.arrow.r.l.double #let transposeArray = arr => { range(arr.at(0).len()) .map(j => range(arr.len()) .map(i => arr.at(i).at(j))) } #let common(title: ...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/13-harfbuzz/harfbuzz.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/heading.typ": chapter #import "/lib/glossary.typ": tr #show: web-page-template #chapter[ // Text Layout for Programmers: Harfbuzz 文本#tr[layout]编程利器:HarfBuzz ]
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/typst/math.md
markdown
# Math ## Usage ``` # ベクトル vec(x,y) # 行列 mat(a,b; c,d) # sin,cos sin (alpha + beta) cos (theta) # 絶対値 abs(a) # 分数 frac(a,b) # 数式にcomment a + b "(コメント)" # 空白をいれる wide ``` ## Symbol * `brace.{l,r}`: 波括弧 * `theta` * `<=>`: 合同 * `plus.minus`: プラスマイナス ## Alignment * `&`をつけるとそこがalignment pointになる * `&&` のように複数もで...
https://github.com/WannesMalfait/vub-huisstijl-typst
https://raw.githubusercontent.com/WannesMalfait/vub-huisstijl-typst/main/src/lib.typ
typst
MIT License
#import "@preview/cetz:0.3.0" #let vub-orange = cmyk( 0%, 78%, 100%, 0%, ) #let vub-blue = cmyk( 100%, 80%, 16%, 3%, ) #let triangle-height = 27.7mm #let vub-triangle = cetz.canvas({ import cetz.draw: * line( ( 0, 0, ), ( 0, triangle-height, ), ( -...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/kzg.typ
typst
#import "preamble.typ":* = KZG commitments <kzg> The goal of a _polynomial commitment scheme_ is to have the following API: - Peggy has a secret polynomial $P(X) in FF_q [X]$. - Peggy sends a short "commitment" to the polynomial (like a hash). - This commitment should have the additional property that Peggy should...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_905%20-%20Algebraic%20Topology%201/Assignments/Assignment%202.typ
typst
#import "@preview/commute:0.2.0": node, arr, commutative-diagram #import "@preview/cetz:0.2.2" #import "/Templates/generic.typ": latex, header #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #import "/Templates/assignment.typ": * #show: doc => header(title: "Assignment 2", name: "<NAME>", doc) #s...
https://github.com/UntimelyCreation/typst-neat-cv
https://raw.githubusercontent.com/UntimelyCreation/typst-neat-cv/main/src/content/fr/experience.typ
typst
MIT License
#import "../../template.typ": * #cvSection("Expérience professionnelle") #cvEntry( title: [Ingénieur logiciel senior], organisation: [Entreprise ABC], logo: "", date: [2021 - Auj.], location: [France], description: list( [#lorem(20)], [#lorem(20)], ), tags: ("Go", "TypeScri...
https://github.com/Tiggax/zakljucna_naloga
https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/figures/rk4.typ
typst
#import "../additional.typ": todo #import "@preview/cetz:0.2.2": canvas, plot, draw, vector #let plot = canvas( length: 1cm, { let a = 0.1 let b = 1.2 let c = 1 let fn(x) = a* calc.pow((x+ b),2) + c let o_fn(x) = 2*a*x + 2*a*b plot.plot( size: (8,8), //axis-style: "...
https://github.com/saurabtharu/Internship-repo
https://raw.githubusercontent.com/saurabtharu/Internship-repo/main/Internship%20Report%20-%20typst/chapters/ref-appendix.typ
typst
#import "../template.typ": * #align(center, text(16pt)[ = References <references> ]) \ #bibliography(title:none, style: "american-psychological-association", "../bibliography.bib") #set page(numbering: none) // #pagebreak() /******************************************************************************/ #al...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/015.%20icad.html.typ
typst
#set page( paper: "a5", margin: (x: 1.8cm, y: 1.5cm), ) #set text( font: "Liberation Serif", size: 10pt, hyphenate: false ) #set par(justify: true) #set quote(block: true) #v(10pt) = Revenge of the Nerds #v(10pt) _May 2002_ #quote(attribution: [<NAME>, co-author of the Java spec])["We were after the C++ pr...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046%20-%20Streets%20of%20New%20Capenna/001_Episode%201%3A%20Homecoming.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: Homecoming", set_name: "Streets of New Capenna", story_date: datetime(day: 28, month: 03, year: 2022), author: "<NAME>", doc ) = TEMPLE OF THE GODS Victory and betrayal tasted the same—like blood. It filled Elspeth's mouth, spil...
https://github.com/RolfBremer/in-dexter
https://raw.githubusercontent.com/RolfBremer/in-dexter/main/sample-usage.typ
typst
Apache License 2.0
#import "./in-dexter.typ": * // This typst file demonstrates the usage of the in-dexter package. #set text(lang: "en", font: "Arial", size: 10pt) #set heading(numbering: "1.1") #set page( numbering: "1", footer: align(right)[#context { counter(page).display("1") }], ) // Defining handy names for separa...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/011_The%20Liberation%20of%20Sea%20Gate.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Liberation of Sea Gate", set_name: "Battle for Zendikar", story_date: datetime(day: 28, month: 10, year: 2015), author: "<NAME>", doc ) #emph[Encamped among the hedrons of Emeria high in the air above Tazeem, <NAME> has sent envoys acro...
https://github.com/jneug/typst-mantys
https://raw.githubusercontent.com/jneug/typst-mantys/main/src/mty.typ
typst
MIT License
// Import dependencies #import "@preview/t4t:0.3.2": * #import "@preview/codelst:2.0.0" #import "@preview/showybox:2.0.1": showybox #import "theme.typ" // ################################# // # Some common utility functions # // ################################# /// Shows #arg[code] as inline #doc("text/raw") text ...
https://github.com/Servostar/dhbw-abb-typst-template
https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/src/pages/outline.typ
typst
MIT License
// .--------------------------------------------------------------------------. // | Document Outline | // '--------------------------------------------------------------------------' // Author: <NAME> // Edited: 28.06.2024 // License: MIT // render an outline o...
https://github.com/vmysak/modern-cv-typst
https://raw.githubusercontent.com/vmysak/modern-cv-typst/main/src/definitions/cv-page-styles.typ
typst
Apache License 2.0
#import "../my-config.typ": * #let _page(cvFooter, body) = { let roles = userInfo.roles.join(", ") set document( title: "CV | " + userInfo.fullName + " | " + roles, author: userInfo.fullName, ) set text( font: main-font, lang: "en", size: main-font-size, fill: pal.regular-color, fal...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/4-results/study-3.typ
typst
MIT License
#import "../../lib/mod.typ": * #pagebreak(weak: true) == #study.H-3.full.n <s.r.study-3> The results for the two scenarios; #scen.solo-gp.n and #scen.collaborative-gp.n, are presented in @s.r.study-3.solo-global and @s.r.study-3.collaborative-global respectively. These experiments belong to the third contribution of ...
https://github.com/woojiahao/nus
https://raw.githubusercontent.com/woojiahao/nus/main/uts2706/uts2706_finals_raw/main.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #set page(flipped: false, margin: 20pt) #show: columns.with(3, gutter: 4pt) #set text( font: "New Computer Modern Sans", size: 9pt ) #show par: set block(spacing: 5pt) #set par(leading: 3pt) #set list(tight: true) #set block(spacing: 0.5em) #align(center)[ #box(inset: 10pt, stroke...
https://github.com/spherinder/ethz-infk-thesis
https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/src/dependencies.typ
typst
#import "@preview/glossarium:0.4.2": *
https://github.com/david-davies/typst-prooftree
https://raw.githubusercontent.com/david-davies/typst-prooftree/main/README.md
markdown
MIT License
# Prooftrees This package is for constructing proof trees in the style of natural deduction or the sequent calculus, for `typst` `0.7.0`. Please do open issues for bugs etc :) Features: - Inferences can have arbitrarily many premises. - Inference lines can have left and/or right labels¹ - Configurable² per tree and p...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-circle_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Radius wins over width and height. // // Error: 23-34 unexpected argument: width // #circle(radius: 10pt, width: 50pt, height: 100pt, fill: eastern)
https://github.com/julyfun/typst-internship-report
https://raw.githubusercontent.com/julyfun/typst-internship-report/main/1.typ
typst
#set text(lang: "zh") #set page( margin: ( top: 2.54cm, bottom: 2.54cm, left: 3.17cm, ), header: [ #set text(fill: gray) #align(center, [*SPEIT 2024 Operational Internship Report*]) #line(length: 100%) ], numbering: "I" ) #set text(12pt, font:("Times New Roman", "Songti SC")) //会自动匹配前面...
https://github.com/chendaohan/rust_tutorials
https://raw.githubusercontent.com/chendaohan/rust_tutorials/main/books/8.所有权(owner).typ
typst
#set heading(numbering: "1.") #set text(size: 15pt) 所有的程序都必须和计算机内存打交道,如何从内存中申请空间来存放程序的运行内容,如何在不需要的时候释放这些空间,成了重中之重,也是所有编程语言设计的难点之一。在计算机语言不断演变过程中,出现了多种流派: - 垃圾回收机制(GC),在程序运行时不断寻找不再使用的内存,典型代表:Java、Go - 手动管理内存的分配和释放, 在程序中,通过函数调用的方式来申请和释放内存,典型代表:C++ - 通过所有权来管理内存,编译器在编译时会根据一系列规则进行检查 其中 Rust 选择了第三种,最妙的是,这种检查只发生在编译期,因此对于程序运行期...