repo
stringlengths
27
90
file
stringlengths
57
176
language
stringclasses
2 values
license
stringclasses
13 values
content
stringlengths
25
180k
https://github.com/iceghost/resume
https://raw.githubusercontent.com/iceghost/resume/main/5-projects/4-monoticity.typ
typst
=== Monotonicity Table Maker #place(right + top)[Sep 2020] / Links: #link("https://iceghost.github.io/ve-bbt")[Demo] #sym.dot.c #link("https://github.com/iceghost/ve-bbt")[Source]. This tool parses simple monotonicity table construction language and generates MathJax/LaTeX code. This saves a lot of time spent ma...
https://github.com/lkndl/typst-bioinfo-thesis
https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/README.md
markdown
# typst-bioinfo-thesis This is a [typst](https://typst.app/) thesis template with front matter for TUM+LMU [bioinformatics](https://www.cit.tum.de/cit/studium/studiengaenge/master-bioinformatik/abschlussarbeit/#c2494) and TUM [informatics](https://www.cit.tum.de/cit/studium/studierende/abschlussarbeit-abschluss/informa...
https://github.com/smorad/um_cisc_7026
https://raw.githubusercontent.com/smorad/um_cisc_7026/main/lecture_3_neural_networks.typ
typst
#import "@preview/polylux:0.3.1": * #import themes.university: * #import "@preview/cetz:0.2.2": canvas, draw, plot #import "common.typ": * // TODO: Missing x^2 term when we show polynomial+multivariate example (not 2^3, should be 3^2 + 1) #set math.vec(delim: "[") #set math.mat(delim: "[") #let la = $angle.l$ #let ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-aspect-06.typ
typst
Other
// Size cannot be relative because we wouldn't know // relative to which axis. // Error: 15-18 expected length or auto, found ratio #square(size: 50%)
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/smartquotes.typ
typst
Apache License 2.0
// Test setting custom smartquotes --- // Use language quotes for missing keys, allow partial reset #set smartquote(quotes: "«»") "Double and 'Single' Quotes" #set smartquote(quotes: (double: auto, single: "«»")) "Double and 'Single' Quotes" --- // Allow 2 graphemes #set smartquote(quotes: "a\u{0301}a\u{0301}") "Dou...
https://github.com/RY997/Thesis
https://raw.githubusercontent.com/RY997/Thesis/main/thesis_typ/abstract_en.typ
typst
MIT License
#let abstract_en() = { set page( margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm), numbering: none, number-align: center, ) let body-font = "New Computer Modern" let sans-font = "New Computer Modern Sans" set text( font: body-font, size: 12pt, lang: "en" ) set par( ...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/examples/fault-tolerant-toffoli2.typ
typst
MIT License
#import "../src/quill.typ": * #let group = gategroup.with(stroke: (dash: "dotted", thickness: .5pt)) #quantum-circuit( fill-wires: false, group(3, 3, padding: (left: 1.5em)), lstick($|0〉$), $H$, ctrl(2), ctrl(3), 3, group(2, 1),ctrl(1), 1, group(3, 1), ctrl(2), $X$, 1, rstick($|x〉$), [\ ], lst...
https://github.com/T1mVo/shadowed
https://raw.githubusercontent.com/T1mVo/shadowed/main/examples/lorem.typ
typst
MIT License
#import "../src/lib.typ": shadowed #set page(margin: 15pt, height: auto) #set par(justify: true) #shadowed(radius: 4pt, inset: 12pt)[ #lorem(50) ]
https://github.com/sinchang/typst-react
https://raw.githubusercontent.com/sinchang/typst-react/master/resume.typ
typst
// https://github.com/skyzh/typst-cv-template/blob/master/cv.typ #show heading: set text(font: "Linux Biolinum") #show link: underline #set page( margin: (x: 0.9cm, y: 1.3cm), ) #set par(justify: true) #let chiline() = {v(-3pt); line(length: 100%); v(-5pt)} = <NAME> <EMAIL> | #link("https://github.com/example")[gi...
https://github.com/jamesrswift/dining-table
https://raw.githubusercontent.com/jamesrswift/dining-table/main/tests/topdown/header-none/test.typ
typst
The Unlicense
#import "../ledger.typ": * #set text(size: 11pt) #set page(height: 3.5cm, margin: 1em) #dining-table.make(columns: example, header: none, data: data, notes: dining-table.note.display-list ) #dining-table.make(columns: example, data: data, notes: dining-table.note.display-list )
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/wp.typ
typst
MIT License
#import "_imports.typ": * #let wochenplan( ..args, body, ) = { let (doc, page-init, tpl) = base-template( type: "WP", type-long: "Wochenplan", title-block: doc => { heading(level: 1, outlined: false, bookmarked: false, doc.title) grid( columns: (auto, 1fr), align: center ...
https://github.com/01mf02/jq-lang-spec
https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/tour.typ
typst
#import "common.typ": example = Tour of jq <tour> This goal of this section is to convey an intuition about how jq functions. The official documentation of jq is its user manual @jq-manual. jq programs are called _filters_. For now, let us consider a filter to be a function from a value to a (lazy, possibly infinite...
https://github.com/rangerjo/tutor
https://raw.githubusercontent.com/rangerjo/tutor/main/imgs/example.typ
typst
MIT License
#set page( width: auto, height: auto, margin: (x: 0cm), ) #table( columns: 2, stroke: none, align: center, [ Question Mode ], [ Solution Mode ], [#rect(stroke: 2pt+blue, image("../example/build/example_question_mode.svg", width: 12cm) )], [#rect(stroke: 2pt+green, image("../example/build/exa...
https://github.com/lf-/typst-algorithmic
https://raw.githubusercontent.com/lf-/typst-algorithmic/main/algorithmic.typ
typst
// SPDX-FileCopyrightText: 2023 <NAME> // // SPDX-License-Identifier: MIT /* * Generated AST: * (change_indent: int, body: ((ast | content)[] | content | ast) */ #let ast_to_content_list(indent, ast) = { if type(ast) == "array" { ast.map(d => ast_to_content_list(indent, d)) } else if type(ast) == "...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/networks/pset1.typ
typst
#import "template.typ": * #show: template.with( title: "14.15 Problem Set #1", subtitle: "<NAME>", pset: true ) = Problem 1 Let us the follow the convention for this problem that the first (top) row and (left) column specify the first node, and increase as they go down / right. Since it is not explicitly stated...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/docs/recipes/declaring-a-shell-environment.md
markdown
MIT License
# Declaring a shell environment You can automatically pull your project's dependencies into your shell by declaring a [shell environment][nix-dev-declarative-shell] and then activating it with [`nix develop`][nix-ref-develop] or [`direnv`][direnv]. Here's an example in a flake using Typix's [`devShell`](../api/deriva...
https://github.com/linsyking/messenger-manual
https://raw.githubusercontent.com/linsyking/messenger-manual/main/appendix.typ
typst
#pagebreak() = Appendix == SOM Calls <sommsg> `SOMMsg`s are top-level APIs (like system calls in OS) that can directly interact with the core. Users can send `SOMMsg` in any general model. === `SOMChangeScene` *Definition.* `SOMChangeScene ( Maybe scenemsg ) String ( Maybe (Transition userdata) )` *Definition.* `SO...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/superb-pci/0.1.0/README.md
markdown
Apache License 2.0
# superb-pci Template for [Peer Community In](https://peercommunityin.org/) (PCI) submission and [Peer Community Journal](https://peercommunityjournal.org/) (PCJ) post-recommendation upload. The template is as close as possible to the LaTeX one. ## Usage To use this template in Typst, simply import it at the top of...
https://github.com/Dr00gy/Typst-thesis-template-for-VSB
https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/thesis_template/pages.typ
typst
#let titlePage( thesisTitle, thesisDescription, fullName, supervisor, type: "bachelor", // bachelor, bachelor-practice, master or phd year: datetime.today().year(), ) = { // Overwrite some global rules set par( first-line-indent: 0cm, justify: false, ) move( dx: -8mm, context( ...
https://github.com/Enter-tainer/mino
https://raw.githubusercontent.com/Enter-tainer/mino/master/typst-package/mino.typ
typst
MIT License
#import "@preview/jogs:0.2.3": compile-js, call-js-function #let mj-src = read("./mino.js") #let mj-bytecode = compile-js(mj-src) #let get-text(src) = { if type(src) == str { src } else if type(src) == content { src.text } } #let decode-fumen(fumen) = call-js-function(mj-bytecode, "mino", fumen)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-03.typ
typst
Other
// Test joining with continue. #let x = for i in range(5) { "a" if calc.rem(i, 3) == 0 { "_" continue } str(i) } #test(x, "a_a1a2a_a4")
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/common/titlepage.typ
typst
Other
#import "metadata.typ": * #let titlepage( title: "", subtitle: "", university: "", faculty: "", degree: "", program: "", supervisor: "", advisors: (), author: "", authorOrcId: "", doi: none, startDate: none, submissionDate: none, rev: none, shortRev: none, builddate: none, ) = { set p...
https://github.com/WooSeongChoi/perl-5-study
https://raw.githubusercontent.com/WooSeongChoi/perl-5-study/main/main.typ
typst
#import "@preview/ilm:1.2.1": * #show: ilm.with( title: [Perl 5 배우기], author: "Learning Perl", figure-index: (enabled: true), table-index: (enabled: true), listing-index: (enabled: true) ) #set text( font: "NanumGothic", size: 10pt ) #include "./chapters/chapter01/introduction.typ"
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/microecon/quiz_bank.typ
typst
#import "functions.typ": * #set text(font: "<NAME>") #show strong: set text(font: "<NAME>") //see https://typst.app/docs/reference/foundations/calc #let Q2-price1 = 120 #let Q2-price2 = 100 #let Q2-dem1 = 3020 #let Q2-dem2 = 5240 #let cat_list =("Term1",) Quiz_createで問題のリストを作成する. Quiz = Quiz_createとするとQuizが問題のリ...
https://github.com/mintyfrankie/brilliant-CV
https://raw.githubusercontent.com/mintyfrankie/brilliant-CV/main/template/modules_en/skills.typ
typst
Apache License 2.0
// Imports #import "@preview/brilliant-cv:2.0.3": cvSection, cvSkill, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #cvSection("Skills") #cvSkill( type: [Languages], info: [English #hBar() French #hBar() Chinese], ) #cvSkill( type: [Tech Stack], info: [Tab...
https://github.com/tibs245/template-typst-CV
https://raw.githubusercontent.com/tibs245/template-typst-CV/main/README.md
markdown
# Mon CV en Typst [Exemple of result in release V1](https://github.com/tibs245/template-typst-CV/releases/download/v1/CV-Thibault.Barske-blue.pdf) > If you click on release V1 you can see differents colors generations examples ## Pourquoi faire mon CV en Typst ? 1. Mon dossier de compétences sous word à mal vieilli...
https://github.com/RY997/Thesis
https://raw.githubusercontent.com/RY997/Thesis/main/thesis_typ/appendix.typ
typst
MIT License
*User 1* - What do you think of the overall Iris exercise adaptation feature? Can it be useful for the real work of editor or is it a redundant feature and not very helpful? - I find the Iris exercise adaptation feature quite useful, particularly for editing programming exercises. It offers a convenient way to cus...
https://github.com/chilingg/kaiji
https://raw.githubusercontent.com/chilingg/kaiji/main/template/main.typ
typst
Other
#let font_size_list = (16pt, 12pt, 9pt, 7pt); #let font_cfg = ( font: "Source Han Serif", weight: "light", tracking: 0.1em, lang: "zh" ) #let sans_font_cfg = ( font: "Source Han Sans", weight: "medium" ) #let thin_line = 0.6pt #let normal_line = 1pt #let parenthese_numbers = ("⑴","⑵","⑶","⑷","⑸","⑹","⑺"...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pad_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Pad can grow. #pad(left: 10pt, right: 10pt)[PL #h(1fr) PR]
https://github.com/MultisampledNight/flow
https://raw.githubusercontent.com/MultisampledNight/flow/main/src/callout.typ
typst
MIT License
#import "gfx.typ" #import "palette.typ": * #let _callout(body, accent: fg, marker: none) = { let body = if marker == none { body } else { let icon = gfx.markers.at(marker).icon grid( columns: (1.5em, auto), gutter: 0.5em, align: (right + horizon, left), icon(invert: false), ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/024_Shadows%20over%20Innistrad.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Shadows over Innistrad", doc) #include "./024 - Shadows over Innistrad/001_Under the Silver Moon.typ" #include "./024 - Shadows over Innistrad/002_A Gaze Blank and Pitiless.typ" #include "./024 - Shadows over Innistrad/003_Unwelcome.typ" #include "./024 - Shadows...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Physique_Mecanique_1.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/valentinvogt/npde-summary
https://raw.githubusercontent.com/valentinvogt/npde-summary/main/src/chapters/01.typ
typst
#import "../setup.typ": * #show: thmrules = Second-Order Scalar Elliptic Boundary Value Problems <ch:01> #counter(heading).step(level: 2) == Quadratic Minimization Problems <sub:quadratic-minimization-problems> #v(0.2cm) In the following, let $V$ be a vector space over $bb(R)$.\ #mybox( "Linear forms", )[ $ell : ...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/decision-matrix.typ
typst
The Unlicense
#import "../colors.typ": * #import "/utils.typ" #let decision-matrix = utils.make-decision-matrix((properties, data) => { set align(center) let winning-row for (index, choice) in data.values().enumerate() { if choice.total.highest { winning-row = index + 2 } } table( stroke: none, col...
https://github.com/xdoardo/co-thesis
https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/imp/analysis/dia.typ
typst
#import "/includes.typ":* #import "@preview/prooftrees:0.1.0" #let bisim = "≋" #let conv(c, v) = { $#c arrow.b.double #v$ } #let div(c) = { $#c arrow.t.double$ } #let fails(c) = { $#c arrow.zigzag$ } #linebreak() === Definite initialization analysis<subsection-imp-analysis_optimization-dia> The first transformation w...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/utils/side-by-side.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 40pt) #polylux-slide[ #side-by-side[ #lorem(7) ][ #lorem(10) ][ #lorem(5) ] ]
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/calcolabilità/12_riconoscibilità_automatica_insiemi.typ
typst
#import "../alias.typ": * #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 => block( it, stroke: red + 1pt, i...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/cosfunc.typ
typst
= Cosine interaction While reviewing the changes introduced in the new ISO 19902:2020 standard@iso19902_2020, this one jumped at me: #quote()[ tubular member strength formulae for combined axial and bending loading now of cosine interaction form instead of previously adopted linear interaction; ] In ISO 19902:20...
https://github.com/ThatOneCalculator/riesketcher
https://raw.githubusercontent.com/ThatOneCalculator/riesketcher/main/riesketcher.typ
typst
MIT License
#import "@preview/cetz:0.2.2" /// Draw a Riemann sum of a function, and optionally plot the function. /// /// - fn (function): The function to draw a Riemann sum of. /// - domain (array): Tuple of the domain of fn. If a tuple value is auto, that /// value is set to start/end. /// - start (number): Where to start dra...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/029%20-%20Aether%20Revolt/008_Puppets.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Puppets", set_name: "<NAME>", story_date: datetime(day: 25, month: 01, year: 2017), author: "<NAME>", doc ) #emph[With the rest of the Gatewatch embroiled in the Inventors' revolution, Liliana has taken on the grim task of addressing what s...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/riesketcher/0.1.0/riesketcher.typ
typst
Apache License 2.0
#import "@preview/cetz:0.1.2" /// Draw a Riemann sum of a function, and optionally plot the function. /// /// - fn (function): The function to draw a Riemann sum of. /// - start (number): Where to start drawing bars. /// - end (number): Where to end drawing bars. /// - n (number): Number of bars (please make $Delta x ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-rect_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 150pt) // Fit to text. #rect(fill: conifer)[Textbox] // Empty with fixed width and height. #block(rect( height: 15pt, fill: rgb("46b3c2"), stroke: 2pt + rgb("234994"), )) // Fixed width, text height. #rect(width: 2cm, fill...
https://github.com/hillbillybones/job-search
https://raw.githubusercontent.com/hillbillybones/job-search/main/README.md
markdown
# Job Search This repository was created to manage the CV generation process using [Typst](https://github.com/typst/typst) and YAML. ## Files - `cv.pdf`: The compiled CV in PDF format. - `cv.typ`: The Typst source file. - `cv.yaml`: The YAML file containing the CV data. ## Instructions ### Install Typst Compiler ...
https://github.com/SkiFire13/master-thesis
https://raw.githubusercontent.com/SkiFire13/master-thesis/master/template.typ
typst
#import "config/printed.typ": pagebreak-to-right, pagebreak-to-left, left-right-margins, printed #import "preface/titlepage.typ": titlepage #import "preface/copyright.typ": copyright #import "preface/acknowledgements.typ": acknowledgements #import "preface/summary.typ": summary #import "preface/toc.typ": toc #let tem...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/class.typ
typst
Apache License 2.0
// Test math classes. --- // Test characters. $ a class("normal", +) b \ a class("binary", .) b \ lr(class("opening", \/) a/b class("closing", \\)) \ { x class("fence", \;) x > 0} \ a class("large", \/) b \ a class("punctuation", :) b \ a class("relation", ~) b \ a + class("unary", times) b \ class("va...
https://github.com/RiccardoTonioloDev/Bachelor-Thesis
https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/chapters/conclusioni.typ
typst
Other
#pagebreak(to: "odd") = Conclusioni <ch:conclusioni> == Raggiungimento obbiettivi Si riassumono in seguito gli obbiettivi raggiunti durante il tirocinio: - Il modello PyDNet V1 è stato verificato nei risultati enunciati dal proprio _paper_ @PyDNetV1; - È stata migrata l'intera _codebase_ di PyDNet V1 e il modello di Py...
https://github.com/mangkoran/share.typ
https://raw.githubusercontent.com/mangkoran/share.typ/master/README.md
markdown
MIT License
<h1 align="center"> share.typ </h1> <p align="center"> <a href="LICENSE"> <img alt="MIT License" src="https://img.shields.io/badge/License-MIT_License-red"/> </a> </p> A template to create awesome short writings to share in social media thanks to [Typst](https://github.com/typst/typst) simple yet powerful s...
https://github.com/xubaiw/typst-rote
https://raw.githubusercontent.com/xubaiw/typst-rote/main/rote.typ
typst
#let measure-em(c) = { let (width,) = measure(c) int(width.pt() / 1em.to-absolute().pt()) } #let cloze(it) = context { show underline: u => { [\u{ff3f}] * measure-em(u.body) } it } #let mnemonic(it) = context { show terms.item: it => { strong(it.term) linebreak() [\u{ff3f}] * measure-em(it...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist/README.md
markdown
Apache License 2.0
# tinymist This crate provides a CLI that starts services for [Typst](https://typst.app/) [taɪpst]. It provides: + `tinymist lsp`: A language server following the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/). + `tinymist preview`: A preview server for Typst. ## Usage See [Featur...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/027.typ
typst
#let date = datetime( year: 2022, month: 6, day: 9, ) #metadata(( title: "rust减少编译警告", subtitle: [rust], author: "dashuai009", description: "项目前期开发中,可以通过RUSTFLAGS减少rust编译时给出的警告。后期去掉这些选项即可。", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf == rust编译信息 <rust...
https://github.com/ilsubyeega/circuits-dalaby
https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/1/25.typ
typst
#set enum(numbering: "(a)") #import "@preview/cetz:0.2.2": * #import "../common.typ": answer 1.25 다음 회로에서 주어진 시간 동안 전류가 흐르는 소자들만 포함하는 회로도를 그려라. + $t < 0$ + $0 < t < 2 s$ + $t > 2 s$ #answer[ + $t < 0$ #image("../assets/t_first.png", width: 200pt) + $0 < t < 2$ #image("../assets/t_mid.png", width: 200pt) ...
https://github.com/nicolasfara/presentation-2024-acsos-multi-tier-field-based-applications
https://raw.githubusercontent.com/nicolasfara/presentation-2024-acsos-multi-tier-field-based-applications/master/presentation-2024-acsos-multi-tier-field-based-applications.typ
typst
Apache License 2.0
#import "@preview/polylux:0.3.1": * #import "@preview/fontawesome:0.1.0": * #import "@preview/ctheorems:1.1.2": * #show: thmrules #import themes.metropolis: * #show: metropolis-theme.with( aspect-ratio: "16-9", // footer: [Optional Footnote] ) #set text(font: "Fira Sans", weight: 350, size: 20pt) #set enum(numb...
https://github.com/lelimacon/typst-minimal-cv
https://raw.githubusercontent.com/lelimacon/typst-minimal-cv/main/template/main.typ
typst
MIT No Attribution
#import "../package.typ": * #let secondary-theme = ( accent-color: red, body-color: red, ) // To learn about theming, see https://github.com/lelimacon/typst-minimal-cv #show: cv.with( theme: ( //font: "Roboto", //accent-color: purple, //main-accent-color: red, //main-body-color: green, ), ...
https://github.com/Coekjan/touying-buaa
https://raw.githubusercontent.com/Coekjan/touying-buaa/master/template/main.typ
typst
MIT License
#import "@preview/touying:0.5.2": * #import "@preview/touying-buaa:0.2.0": * // Specify `lang` and `font` for the theme if needed. #show: buaa-theme.with( // lang: "zh", // font: ("Linux Libertine", "Source Han Sans SC", "Source Han Sans"), config-info( title: [Touying for BUAA: Customize Your Slide Title He...
https://github.com/luiswirth/bsc-thesis
https://raw.githubusercontent.com/luiswirth/bsc-thesis/main/src/setup.typ
typst
#import "@preview/cetz:0.2.1" #import "math.typ": * #import "layout.typ": * #let monospaced(content) = text(font: "Fira Code", content) #let weblink(url, content) = monospaced(link(url, content)) #let general-style(doc) = { show: math-template set page(paper: "a4") set text(size: 10pt) set text(font: "New ...
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/brainstorm-launcher.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Identify: Moving Triballs", type: "identify", date: datetime(year: 2023, month: 9, day: 5), author: "<NAME>", witness: "<NAME>", ) After discussing for a bit we realiz...
https://github.com/johannesbrandenburger/typst-build-server
https://raw.githubusercontent.com/johannesbrandenburger/typst-build-server/main/README.md
markdown
# Typst Build Server This project is a server that compiles a Typst project into a PDF. It accepts a ZIP file containing the Typst source files, extracts and compiles the project, and returns the compiled PDF. ## Features - Accepts ZIP files with Typst projects. - Compiles the specified Typst file into a PDF. - Allo...
https://github.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement
https://raw.githubusercontent.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement/main/TD/TD2-Trace-dessins.typ
typst
#let td2(isCorrection: true) = [ #import "@preview/lovelace:0.3.0": * #import "../TD_TP_Commons.typ": * = R101- TD2 - Tracé de dessins == Objectifs - Travailler l’écriture d’algorithmes par la méthode d’affinages successifs. - Travailler les structures de contrôle. == Spécifications du traceur Soit un traceur dé...
https://github.com/MobtgZhang/sues-thesis-typst
https://raw.githubusercontent.com/MobtgZhang/sues-thesis-typst/main/paper/chapters/abstract-cn.typ
typst
MIT License
#let 中文关键词 = ("论文", "typst", "模板") 本模板是为上海工程技术大学硕士研究生和学士本科生毕业涉及论文编写的Typst模板,旨在使用最新的高级Typst排版工具编写文档,专注于论文内容的写作,而不是花费过多时间和精力在格式的定制和调整上面。 本手册是对应模板的参考文档,其中提供了一些环境和命令可以让模板的使用更加方便,同时需要注意,使用者需要有一定的Typst编程基础和使用经验,至少学会使用Typst常见包的一些功能,例如调节字体间距或者修改字体大小等等。 上海工程技术大学硕士/学士毕业论文LaTeX模板更新地址参见#link("https://github.com/mobtgzhang/sues-t...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/index.md
markdown
MIT License
# Typst Basics This is a chapter that consistently introduces you to the most things you need to know when writing with Typst. It show much more things than official tutorial, so maybe it will be interesting to read for some of the experienced users too. Some examples are taken from [Official Tutorial](https://typst....
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/125.%20top.html.typ
typst
top.html The Top Idea in Your Mind Want to start a startup? Get funded by Y Combinator. July 2010I realized recently that what one thinks about in the shower in the morning is more important than I'd thought. I knew it was a good time to have ideas. Now I'd go further: now I'd say it's hard to do a really go...
https://github.com/rzmk/various-dsat-math-notes
https://raw.githubusercontent.com/rzmk/various-dsat-math-notes/main/notes.typ
typst
// == Preamble == #import "@preview/ctheorems:1.1.0": * #show: thmrules #import "@preview/gentle-clues:0.4.0": abstract, question, info, example, error, warning, success, idea, memo, quote #set page(margin: 1in, paper: "us-letter") #set text(font: "Open Sans") #show raw: set text(font: "New Computer Modern Mono") #sho...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/ipa.typ
typst
#import "preamble.typ":* = The inner product argument (IPA) <ipa> IPA is actually a lot more general than polynomial commitment. So the roadmap is as follows: - In @ipa-pitch, describe the API of the inner product argument. - In @ipa-induct and @ipa-base, describe the protocol. - In @ipa-app, show two other applicat...
https://github.com/wumin199/wumin199.github.io
https://raw.githubusercontent.com/wumin199/wumin199.github.io/main/source/typst/math/understand_math.typ
typst
#set heading(numbering: "1.") #show link: underline #set text( font: "Noto Serif CJK SC", // font: "simsun", size: 12.5pt ) #show raw.where(block: true): block.with( fill: luma(240), inset: 10pt, radius: 4pt, ) #set math.equation(numbering: "(1)") = 常见公式 == 乘法公式 #figure( image("乘法公式.png", width: 8...
https://github.com/storopoli/cryptography-workshop
https://raw.githubusercontent.com/storopoli/cryptography-workshop/main/slides.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/slydst:0.1.0": * #show: slides.with( title: "Cryptography Workshop", subtitle: none, date: none, authors: ("<NAME>", ), layout: "medium", ratio: 4/3, title-color: orange, ) #set text(size: 16pt) #show link: set text(blue) #let p = 1279 #let q = 71 /* Level-one headings corresponds to ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/048%20-%20Dominaria%20United/005_Episode%204%3A%20A%20Brutal%20Blow.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 4: A Brutal Blow", set_name: "Dominaria United", story_date: datetime(day: 15, month: 08, year: 2022), author: "<NAME>", doc ) Being on the #emph[Weatherlight] 's deck made Karn nostalgic. Even though a different crew scrambled alon...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/034%20-%20Dominaria/008_Return%20to%20Dominaria%3A%20Episode%208.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Return to Dominaria: Episode 8", set_name: "Dominaria", story_date: datetime(day: 02, month: 05, year: 2018), author: "<NAME>", doc ) Chandra walked across the planes to Regatha. She stepped through a storm of fire into existence again on t...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Buy_List.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Buy List", authors: ( "<NAME>", ), date: "27 Décembre, 2023", ) #set heading(numbering: "1.1.") - #link("https://www.amazon.fr/gp/pro...
https://github.com/k0tran/typst
https://raw.githubusercontent.com/k0tran/typst/sisyphus/vendor/hayagriva/README.md
markdown
# Hayagriva [![Build status](https://github.com/typst/hayagriva/workflows/Continuous%20integration/badge.svg)](https://github.com/typst/hayagriva/actions) [![Current crates.io release](https://img.shields.io/crates/v/hayagriva)](https://crates.io/crates/hayagriva) [![Documentation](https://img.shields.io/badge/docs.rs...
https://github.com/markcda/unitech-typst
https://raw.githubusercontent.com/markcda/unitech-typst/master/00-university-template.typ
typst
MIT License
// Составляет титульный лист. #let mk_title_page( header: "", department_name: "", institute_name: "", work_type: "", discipline_name: "", theme: none, author: (), adviser: (), city: "", year: "", ) = { // Указываем институт и кафедру. set align(center) set text(weight: "bold") image(header,...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/1%20-%20Candidatura/Verbali/Interni/30-10-23/30-10-23.typ
typst
ERROR\_418 \ Verbale 30/10/23 #figure( align(center)[#table( columns: 2, align: (col, row) => (left,left,).at(col), inset: 6pt, [Mail:], [<EMAIL>], [Redattori:], [<NAME>, <NAME>], [Verificatori:], [<NAME>, <NAME>, <NAME>], [Amministratori:], [<NAME>, <NAME>], [Destinatari:], [<NAME>, <NAME>],...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-11.typ
typst
Other
// Error: 5-11 cannot spread array into dictionary #(..(1, 2), a: 1)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-00.typ
typst
Other
// Test adding content. // Ref: true #([*Hello* ] + [world!])
https://github.com/RandomcodeDev/FalseKing-Design
https://raw.githubusercontent.com/RandomcodeDev/FalseKing-Design/main/engine/tools.typ
typst
= Tools #table( columns: 3, [*Tool*], [*Use*], [*Custom made?*], [#link("https://xmake.io")[xmake]], [Build system], [no], [#link("https://visualstudio.microsoft.com")[Visual Studio 2022]], [Code editing, debugging (Windows, consoles)], [no], [#link("https://code.visualstudio.com")[Visual Studio Code]/#link("...
https://github.com/Origami404/kaoyan-shuxueyi
https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/微积分/04-一元微分方程.typ
typst
#import "../template.typ": sectionline, gray_table, colored #let dx = $dif x$ #let dy = $dif y$ #let dp = $dif p$ #let dt = $dif t$ #let _to_ = $quad => quad$ #let __to__ = $quad #_to_ quad$ = 一元微分方程 == 杂鱼一阶微分方程 (可分离变量) 如果可以把含 $y$ 的部分都赶到 $dy$ 前面, 含 $x$ 的部分都赶到 $dx$ 前面, 那么直接左右两边积分就可以解了. 有时候要注意看形如 $y dx + x dy$ 的部分, 它...
https://github.com/kilpkonn/typst-thesis
https://raw.githubusercontent.com/kilpkonn/typst-thesis/main/README.md
markdown
MIT License
# Typst thesis template for TalTech See rendered [here](https://typst.app/project/rtvks-u_zE10N8kJMXSWpc)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/chart/barchart.typ
typst
Apache License 2.0
#import "/src/cetz.typ": draw, styles, palette #import "/src/plot.typ" #let barchart-default-style = ( axes: (tick: (length: 0), grid: (stroke: (dash: "dotted"))), bar-width: .8, cluster-gap: 0, error: ( whisker-size: .25, ), y-inset: 1, ) /// Draw a bar chart. A bar chart is a chart that represents ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/035%20-%20Core%202019/007_Chronicle%20of%20Bolas%3A%20Perspectives.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Chronicle of Bolas: Perspectives", set_name: "Core 2019", story_date: datetime(day: 08, month: 08, year: 2018), author: "<NAME>", doc ) Naiva gripped her spear, leaning on it so she would not collapse from sheer stark terror. The huge drago...
https://github.com/PmaFynn/cv
https://raw.githubusercontent.com/PmaFynn/cv/master/src/metadata.typ
typst
The Unlicense
/* Personal information */ #let firstName = "Fynn" #let lastName = "Friedrichs" #let personalInfo = ( location: "Krefeld, Germany", phone: "+49 152 09207000", email: "<EMAIL> ", homepage: "work.fynnfr.org", github: "PmaFynn", linked: "linkedin.co...
https://github.com/NOOBDY/formal-language
https://raw.githubusercontent.com/NOOBDY/formal-language/main/q9.typ
typst
The Unlicense
#import "@preview/finite:0.3.0": automaton, layout #let q9 = [ 9. Let $Sigma = {a_1,...,a_n}$ be an alphabet of $n$ symbols. + Construct an `NFA` with $2n + 1$ states accepting the set $L_n$ of strings over $Sigma$ such that, every string in $L_n$ has an odd number of $a_i$, for some $a_i in Sigma$. Equivalently, i...
https://github.com/sjedev/typst-notetaking-template
https://raw.githubusercontent.com/sjedev/typst-notetaking-template/main/README.md
markdown
The Unlicense
# typst-notetaking-template Simple notetaking template for Typst
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/units.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ### Units === 单位 // First, though, how do you measure stuff in a font? When fonts were bits of metal, it was easy: you could use callipers or a micrometer to measu...
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/identify-wedges/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Identify: Pushing Robots", type: "identify", date: datetime(year: 2023, month: 9, day: 3), author: "<NAME>", witness: "<NAME>", ) VRC is a very contact heavy robotics ...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/常微分方程/作业/2100012990 郭子荀 常微分方程 8.typ
typst
#import "../../template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: note.with( title: "作业8", author: "YHTQ", date: none, logo: none, withOutlined : false, withTitle : false, withHeadingNumbering: false ) = p247 == 1 ...
https://github.com/NOOBDY/formal-language
https://raw.githubusercontent.com/NOOBDY/formal-language/main/README.md
markdown
The Unlicense
# Formal Language 2024 Spring ``` typst c main.typ ```
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/pages/undergraduate-proposal-eval.typ
typst
MIT License
#import "../utils/fonts.typ": 字号, 字体 #import "../utils/datetime-display.typ": datetime-display #import "./template-individual.typ": template-individual #let undergraduate-proposal-eval( comment, scores-supervisor: none, scores-college: none, ) = { template-individual("毕业论文(设计)文献综述和开题报告考核", outlined: true)[ ...
https://github.com/kicre/note
https://raw.githubusercontent.com/kicre/note/main/study/测控/仪器仪表/报告论文.typ
typst
// 设置页面 #set page( paper: "a4", margin: ( top: 2.5cm, bottom: 2.0cm, left: 2.5cm, right: 2.0cm ), numbering: "1", number-align: center, ) // 设置段落 #set par( first-line-indent: 2em, justify: true, leading: 20pt, ) #let fake_par = { v(-1em) box() } #show heading: it => { it fake_par } /...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0007.typ
typst
#import "../helpers.typ": * #let reverse-integer-ref(x) = { let ans = 0 let sign = if x >= 0 { 0 } else { -1 } if x == -2147483648 { return 0 } x = calc.abs(x) while x != 0 { let pop = calc.rem(x, 10) x = calc.floor(x / 10) if ans > 214748364 or (ans == 214748364 and pop - sign > 7) { ...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/保研/PPT(16-9)/university.typ
typst
#import "@preview/touying:0.4.0": * #let data=yaml("./example.yml") // University theme // Originally contributed by <NAME> - https://github.com/drupol #import "@preview/showybox:2.0.1": showybox // #let colors_=() #let slide( self: none, title: auto, subtitle: auto, header: auto, footer: auto, now_li...
https://github.com/Ciolv/typst-template-bachelor-thesis
https://raw.githubusercontent.com/Ciolv/typst-template-bachelor-thesis/main/main.typ
typst
#import "acronyms.typ": ac,acl,acs,acsp,acp,aclp,acronyms // allows LaTeX "acro" like acronym management with only basic features #import "helper.typ": page_ref #import "config.typ": conf #show: doc => conf( title: "GIVE IT A NICE TITLE", authors: ( ( name: "<NAME>", company: "Example Company", ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.1/src/types/dictionary.typ
typst
Apache License 2.0
#import "../base-type.typ": base-type, assert-base-type-dictionary #import "../ctx.typ": z-ctx /// Valkyrie schema generator for dictionary types /// /// - ..args (schema): Variadic named arguments, the values for which are schema types. *MUST* not /// contain positional arguments. /// -> schema #let dictionary( ....
https://github.com/Hobr/njust_thesis_typst_template
https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/template/chapter/2.typ
typst
MIT License
// 第二章 = 背景 学校学科门类齐全,办学特色鲜明。现有机械工程学院、化学与化工学院、电子工程与光电技术学院、计算机科学与工程学院(人工智能学院)、经济管理学院、能源与动力工程学院、自动化学院、物理学院、外国语学院、公共事务学院、马克思主义学院、材料科学与工程学院/格莱特研究院、环境与生物工程学院、设计艺术与传媒学院、知识产权学院、网络空间安全学院、智能制造学院、新能源学院、数学与统计学院、微电子学院(集成电路学院)、安全科学与工程学院(应急管理学院)等21个专业学院,以及钱学森学院、中法工程师学院、国际教育学院、创新创业教育学院、继续教育学院,并与合作方联合创办了南京理工大学紫金学院和南京理工大学泰州科技学院2个独立学院。学...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/styleCasoslov.typ
typst
#import "/style.typ": * #import "texts.typ": * #import "textsTmp.typ": * #let si = [ #lettrine("Sláva:") #lettrine("I nýňi:") ] #let ektenia(num) = [ ==== Ekténia <X> #lettrine("Hóspodi, pomíluj.") #primText[(#(num)x)] #si ] #let verse(verse) = [ #let c = counter("verse") #c.update(10) #let tbl = ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/module.typ
typst
// SKIP // A file to import in import / include tests. #import "modules/chap2.typ" #let a #let b = 1 #let c = 2 #let d = 3 #let value = [hi] #let item(a, b) = a + b #let push(a) = a + 1 #let fn = rect.with(fill: conifer, inset: 5pt) Some _includable_ text.
https://github.com/loicreynier/sandbox
https://raw.githubusercontent.com/loicreynier/sandbox/main/typst-demo/template.typ
typst
The Unlicense
#let conf(title: none, authors: (), abstract: [], doc) = { set document(title: title, author: authors.first().name) set page(paper: "a4", numbering: "1/1") set text(font: "New Computer Modern", size: 11pt) set align(center) text(17pt)[*#title*] set math.equation(numbering: "(1)", supplement: [Eq.]) s...
https://github.com/j10ccc/algorithm-analysis-homework-template-typst
https://raw.githubusercontent.com/j10ccc/algorithm-analysis-homework-template-typst/main/layout/divider.typ
typst
#let divider = [ #v(10pt) #line(length: 100%, stroke: .5pt) #v(10pt) ]
https://github.com/ofurtumi/formleg
https://raw.githubusercontent.com/ofurtumi/formleg/main/h01/h1.typ
typst
#set heading(numbering: "1.") #import "@preview/cetz:0.1.0" = Proof by induction Lets prove that: $ (1+2+...+n)^2 > 1^2+2^2+...+n^2 "for" n >= 2 $ Let's rewrite both of the sums of $n$ numbers: - sum of $n$ numbers: $1+2+...+n=((n(n+1))/2)^2$ - square sum of $n$ numbers: $1^2+2^2+...+n^2=(n(n+1)(2n+1))/6$ Now we ...
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/longest-palindromic-substring/description/", level: 2, )<最长回文子串> #note( title: [ 最长回文子串 ], description: [ 给你一个字符串s,找到s中最长的回文子串。 ], examples: ([ 输入:s = "babad" 输出:"bab" 解释:"aba" 同样是符合题意的答案。 ]...
https://github.com/clementjumel/resume-template
https://raw.githubusercontent.com/clementjumel/resume-template/main/template.typ
typst
#let resume( author: "", description: "", phone: "", location: "", email: "", github: "", linkedin: "", image-path: "", accent-color: "#000000", body, ) = { // Sets document metadata set document(author: author, title: author) // Document-wide formatting, including font and margins set tex...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/outline-indent_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // With heading numbering #set page(width: 200pt) #set heading(numbering: "1.a.") #outline() #outline(indent: false) #outline(indent: true) #outline(indent: none) #outline(indent: auto) #outline(indent: 2em) #outline(indent: n => ([-], [], [==], [=...