repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/bullno1/cross_gear_translation
https://raw.githubusercontent.com/bullno1/cross_gear_translation/master/README.md
markdown
The Unlicense
Translation for the card game Cross Gear: https://www.drive-games.com/cross-gear, including the expansion: "Belief in Justice". # To build the card translation 1. Make sure you have [rvm](https://rvm.io/). 2. Run `bundle install`. 3. Run `bundle exec rake`. The paste up and character cards will be generated in `_out...
https://github.com/eliapasquali/typst-thesis-template
https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/chapters/process.typ
typst
Other
#pagebreak(to:"odd") = Processi e metodologie <cap:processi-metodologie> #v(1em) #text(style: "italic", [ Breve introduzione al capitolo ]) #v(1em) == Processo sviluppo software
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/core/tools.typ
typst
#let arrayOrNone(v) = if v == none { () } else if type(v) == array { v } else { (v,) } #let valueOrDefault(v, default) = if v == none { default } else { v } #let mapOrNone(v, t) = if v == none { none } else { t(v) } #let todo(caption) = block(fill: yellow, radius: 4pt, inset: 0.5em)[ #raw(...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify_07.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that justification doesn't break code blocks #set par(justify: true) ```cpp int main() { printf("Hello world\n"); return 0; } ```
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/互联网原理与技术/作业/理论3.typ
typst
The Unlicense
#import "template.typ": * #show: project.with( title: "理论 3", authors: ( "absolutex", ) ) = P1 假设客户A向服务器S发起一个Telnet 会话。与此同时,客户B也向服务器S发起一个Telnet 会话。给出下面报文段的源端口号和目的端口号: a.从A向S发送的报文段。 #answer([源端口号:随机未被占用;目的端口号:23。]) b.从B向S发送的报文段。 #answer([源端口号:随机未被占用;目的端口号:23。]) c.从S向A发送的报文段。 #answer([源端口号:23;目的端口号:随机未被...
https://github.com/leyan/cetzpenguins
https://raw.githubusercontent.com/leyan/cetzpenguins/main/README.md
markdown
MIT License
Cetzpenguins is a rewriting (very partial at the moment) of the [TikZpingus](https://github.com/EagleoutIce/tikzpingus) LaTeX package in [Typst](https://github.com/typst/typst) using [CeTZ](https://github.com/cetz-package/cetz), aiming to provide cute penguins to all the Typst documents that need them. To draw the de...
https://github.com/MohamedElashri/resume
https://raw.githubusercontent.com/MohamedElashri/resume/main/resume.typ
typst
#import "@preview/guided-resume-starter-cgc:2.0.0": * #show: resume.with( author: "<NAME>", location: "Cincinnati, OH", contacts: ( [#link("mailto:<EMAIL>")[Email]], [#link("https://melashri.net")[Website]], [#link("https://github.com/MohamedElashri")[GitHub]], [#link("https://linkedin.com/in/ela...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/ports.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw #import "../util.typ": rotate-anchor #let add-port( elmt-id, side, port, pos, prev: none, next: none, debug: false ) = { let name = port.at("name", default: "") let name-rotate = port.at("vertical", default: false) if (port.at("clock", default: false)) { if prev =...
https://github.com/wjakethompson/wjt-quarto-ext
https://raw.githubusercontent.com/wjakethompson/wjt-quarto-ext/main/wjt-letter/_extensions/wjt-letter/typst-show.typ
typst
Creative Commons Zero v1.0 Universal
#show: doc => letter( $if(sender)$ sender: [$sender$], $endif$ $if(logo)$ logo: "$logo$", $endif$ $if(recipient)$ recipient: [$recipient$], $endif$ $if(sent)$ date: [$sent$], $endif$ $if(subject)$ subject: [$subject$], $endif$ $if(shorttitle)$ shorttitle: [$shorttitle$], $endif$ $if(reporttype)$ reporttyp...
https://github.com/a-mhamdi/graduation-report
https://raw.githubusercontent.com/a-mhamdi/graduation-report/main/Typst/en-Report/chaps/intro.typ
typst
MIT License
/* --------------------------------- DO NOT EDIT -------------------------------- */ #import "../Class.typ": * #show: report.with(isAbstract: false) #set page(header: none) #figure(chap("General Introduction"), supplement: [Chapter], numbering: none) // GI #set page(header: smallcaps(title) + h(1fr) + emph("General Int...
https://github.com/mitex-rs/mitex
https://raw.githubusercontent.com/mitex-rs/mitex/main/crates/mitex/benches/bencher.typ
typst
Apache License 2.0
#import "/packages/mitex/lib.typ": * #let integrate-conversion(it, data: (), convert-only: false) = { let passed = 0 for d in data { passed += 1 if convert-only { let _ = mitex-convert(d.text) } else /* render-math */ { if d.type == "inline" { mi(d.text) linebreak() ...
https://github.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024/neko/实验/table.typ
typst
#figure( align(center)[#table( columns: 11, align: (auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,), table.header([U\*n2], table.cell(colspan: 4)[8V], table.cell(colspan: 4)[4V], [], [],), table.hline(), [Te (N.m)], [TG1], [TG2], [TG3], [TGm], [0], [TG1], [TG2], [TG3], [TGm], [...
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/examples/bachelor-thesis/chapters/01_preamble.typ
typst
MIT License
#import("../dependencies.typ"): * // You can add a heading without enumeration like this: #heading(numbering: none)[Preamble] Example abbreviation: @cpu. Whereas recognition of the inherent dignity and of the equal and inalienable rights of all members of the human family is the foundation of #gls("freedom"), justic...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/007_Episode%205%3A%20Cathartic%20Reunion.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 5: Cathartic Reunion", set_name: "March of the Machine", story_date: datetime(day: 21, month: 04, year: 2023), author: "<NAME>", doc ) Kaya, Kaito, and Tyvar warned her of Phyrexia's endless, undulating torture chambers. To hear the...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z33_vecieren.typ
typst
#import "/style.typ": * #set par(first-line-indent: 1em) === Žalm 33 #note[Žalm berieme v prípade, že je predpísaná lítia.] Pána chcem velebiť v každom čase, \* moje ústa budú ho vždy chváliť. V Pánovi sa bude chváliť moja duša; \* nechže to počujú pokorní a nech sa tešia. Velebte so mnou Pána \* a oslavujme je...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/enum.typ
typst
// Test enumerations. --- enum-function-call --- #enum[Embrace][Extend][Extinguish] --- enum-number-override-nested --- 0. Before first! 1. First. 2. Indented + Second --- enum-built-in-loop --- // Test automatic numbering in summed content. #for i in range(5) { [+ #numbering("I", 1 + i)] } --- list-mix --- ...
https://github.com/pank-su/typst-gost
https://raw.githubusercontent.com/pank-su/typst-gost/main/templates/toc.typ
typst
#import "escd.typ": outlineFrame #let toc() = { show heading: set text(size: 14pt) show heading: set align(center) //counter(page).update(3) set page(background: outlineFrame(), margin: (left: 25mm, right: 10mm, top: 20mm, bottom: 25mm), paper: "a4" ) outline(depth: 3, indent: true, title: ...
https://github.com/feiyangyy/Learning
https://raw.githubusercontent.com/feiyangyy/Learning/main/misc/host_usb_application.typ
typst
#import "@preview/pintorita:0.1.1" // #set page(height: auto, width: auto, fill: white, margin: 2em) // #set text(fill: white) #show raw.where(lang: "pintora"): it => pintorita.render(it.text) == USB 协议栈的星(树)形结构 1. 每个USB总线都有一个根集线器,一个电脑或者host设备上可以有多个根集线器 - 每个总线都有编号,从0开始 对应于 libusb_get_bus_number 2. 从根集线器开始,可以挂在设备和普...
https://github.com/fabriceHategekimana/master
https://raw.githubusercontent.com/fabriceHategekimana/master/main/3_Theorie/Broadcasting.typ
typst
#import "../src/module.typ" : * #pagebreak() == Broadcasting Le broadcasting fait référence à la capacité d'une bibliothèque de manipuler des tableaux de différentes dimensions ensemble, en étendant implicitement la forme des tableaux plus petits pour qu'ils correspondent à la forme des tableaux plus grands. Cela per...
https://github.com/t2lab-it/Lozano-Duran2022_information-theoretic
https://raw.githubusercontent.com/t2lab-it/Lozano-Duran2022_information-theoretic/main/style.typ
typst
// Workaround for the lack of an `std` scope. #let std-bibliography = bibliography // Set the Fonts #let gothic = ("MS PGothic", "Hiragino Kaku Gothic Pro", "IPAexGothic", "Noto Sans CJK JP") #let mincho = ("MS PMincho", "Hiragino Mincho Pro", "IPAexMincho", "Noto Serif CJK JP") #let english = ("Times New Roman", "New...
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/05-main-enhancements/code-actions-active-markup.typ
typst
#import "/utils/todo.typ": TODO #import "/utils/isabelle.typ": * == Code Actions for Active Markup One #jedit feature that was missing entirely in #vscode is Isabelle's _active markup_. Active markup generally describes parts of the theory, state, or output content that is clickable. The action taken when the user cl...
https://github.com/daniel-ttel/banana-omen
https://raw.githubusercontent.com/daniel-ttel/banana-omen/main/template/toc.typ
typst
MIT License
#let toc(title: "Índice", depth: 3) = { // Tabla de contenidos show outline.entry.where( level: 1 ): it => { strong(it) } show outline.entry.where( level: 3 ): it => { set text(gray) it } outline( title: title, depth: depth, indent: 2em ) }
https://github.com/FlorenceGhestem/My-Resume
https://raw.githubusercontent.com/FlorenceGhestem/My-Resume/main/assets/typst/typst-template.typ
typst
MIT License
#let resume( name: none, contact: (), summary: none, skills: (), main_sections: (), margin: (x: 0.75in, y: 0.75in), paper: "us-letter", lang: "en", region: "UK", font: (), fontsize: 11pt, doc, ) = { // Define colors let accent-color = rgb("#0077be") // Blue let grey-color = rgb("#666666")...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/precision.typ
typst
#import "defs.typ": * #import "links.typ": * = Analyse numérique == Entière Les erreurs d'arithmétique entière sont des erreurs qui surviennent lors de calculs sur des entiers machine. Il s'agit là des entiers que l'on trouve dans la plupart des langages de programmation et souvent désignés par le mot clé `int` ou d...
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/templates/form.typ
typst
Creative Commons Zero v1.0 Universal
#import "common.typ": colors #let form(title, ..fields, width: 60pt) = { grid( columns: (width, ..fields.pos().map(i => 1fr)), rows: (2.25em), gutter: 0.5em, text(10pt)[ #align(horizon + right)[ #strong(title) ] ], ..fields ) } #let form_field(name, width: 100%) = { s...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap5/chap5.typ
typst
Other
== Series and parallel circuits #include "1_what_are_series_parallel_circuits.typ" #include "2_simple_series_circuits.typ" #include "3_simple_parallel_circuits.typ" #include "4_conductance.typ" #include "5_power_calculations.typ" #include "6_correct_ohms_law_use.typ" #include "7_component_failure_analysis.typ" #includ...
https://github.com/Mufanc/hnuthss-template
https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/configs.typ
typst
#let font = ( sans: ("Times New Roman", "Noto Sans SC"), serif: ("Times New Roman", "Noto Serif SC"), ) #let fontsize = ( LB: 42pt, // 初号 LBs: 36pt, // 小初 L1: 26pt, // 一号 L1s: 24pt, // 小一 L2: 22pt, // 二号 L2s: 18pt, // 小二 L3: 16pt, // 三号 L3s: 15pt, //...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-20000.typ
typst
Apache License 2.0
#let data = ( "0": ("<CJK Ideograph Extension B, First>", "Lo", 0), "a6df": ("<CJK Ideograph Extension B, Last>", "Lo", 0), )
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/stroke_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Rectangle strokes #rect(width: 20pt, height: 20pt, stroke: red) #v(3pt) #rect(width: 20pt, height: 20pt, stroke: (rest: red, top: (paint: blue, dash: "dashed"))) #v(3pt) #rect(width: 20pt, height: 20pt, stroke: (thickness: 5pt, join: "round"))
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661111-%5BLinear%20Algebra%201A%5D/src/lectures/03661111_lecture_9.typ
typst
#import "/template.typ": * #import "@preview/colorful-boxes:1.2.0": * #show: project.with( title: "אלגברה לינארית 1א׳ - שיעור 9", authors: ("<NAME>",), date: "1 בפברואר, 2024", ) // #include "/utils/toc.typ" // #pagebreak() #set enum(numbering: "(1.א)") == המשך משפטים על מימדים ובסיסים === (משפט) יהי $V$ מ״ו ...
https://github.com/Myriad-Dreamin/apollo-typst
https://raw.githubusercontent.com/Myriad-Dreamin/apollo-typst/main/README.md
markdown
# apollo-typst Typst blog template based on [Zola](https://getzola.org), [typst.ts](https://github.com/Myriad-Dreamin/typst.ts), and [apollo](https://github.com/not-matthias/apollo). ## Features - Full functionality of [Zola](https://getzola.org) and [apollo](https://github.com/not-matthias/apollo). - Supports both ...
https://github.com/akrantz01/resume
https://raw.githubusercontent.com/akrantz01/resume/main/template/skills.typ
typst
MIT License
#import "common.typ": section #let skills(title: "Skills", settings: (:), omit: (), ..entries) = { section(title) block( above: 0.7em, below: 1em, entries.named().pairs().map(((name, list)) => box[ *#name*: #list.join(", ") ]).join(v(-0.25em)), ) }
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/Encapsulation.typ
typst
== Encapsulamiento Técnica de ocultamiento de los datos de un objeto de manera que solo se pueda cambiar mediante las funciones definidas para ese objeto Restringe el acceso directo a algunos de los componentes del objeto *Modificadores de visibilidad* #table( columns: (auto, auto), align: horizon, table.head...
https://github.com/Jeomhps/datify
https://raw.githubusercontent.com/Jeomhps/datify/main/src/formats.typ
typst
MIT License
#import "utils.typ": first-letter-to-upper, pad, safe-slice #import "translations.typ": month-name, day-name #import "config.typ": default-date-lang #let custom-date-format = (date, format, ..args) => { // Default values let lang = default-date-lang // Process variable arguments to extract lang for arg in ar...
https://github.com/hexWars/resume
https://raw.githubusercontent.com/hexWars/resume/main/typst/main.typ
typst
MIT License
#import "resume.typ": * #show: doc => header( name: [ 陌生人 ], describe: [ 描述 ], socials: ( ( describe: "blog.site", icon: "house-solid.svg", link: "https://blog.site", ), ( describe: "job.gmail.com", icon: "envelope-solid.svg", link: "mailto:<EMAIL>", ...
https://github.com/Robotechnic/diagraph
https://raw.githubusercontent.com/Robotechnic/diagraph/main/README.md
markdown
MIT License
# diagraph A simple Graphviz binding for Typst using the WebAssembly plugin system. ## Usage ### Basic usage <!--EXCLUDE--> This plugin is quite simple to use, you just need to import it: ```typ #import "@preview/diagraph:0.3.0": * ``` <!--END--> You can render a Graphviz Dot string to a SVG image using the `rend...
https://github.com/voXrey/cours-informatique
https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/theorie_des_ordres.typ
typst
#import "@preview/codly:0.2.1": * #show: codly-init.with() #codly() #set text(font: "New Computer Modern Sans") = Théorie des Ordres == 1. Premières Définitions Cette section introduit du vocabulaire sur les ordres en s’appuyant sur un parallèle avec les graphes, notamment certaines notions introduites dans le DM d’A...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/tests/test_helping.typ
typst
MIT License
#import "/src/tidy.typ" #let heymath = ``` #import "vector.typ": * /// #let cos(x) = {} /// #let pi-squared = ```.text #let vector = ``` /// #let vec-add() /// #let vec-subtract() ```.text #let matrix = ``` #import "solve.typ" /// - n (int): dimension #let id(n) ```.text #let solve = ``` /// #let solve(n) ```....
https://github.com/Slyde-R/not-jku-thesis-template
https://raw.githubusercontent.com/Slyde-R/not-jku-thesis-template/main/template/content/Methodology.typ
typst
MIT No Attribution
#import "../utils.typ": todo, silentheading, flex-caption = Methodology #todo[Replace this chapter!] == Research Design This study employs a mixed-methods approach to comprehensively investigate feline manipulation tactics and their effects on human behavior. By combining qualitative and quantitative methods, the rese...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/lib.typ
typst
The Unlicense
#import "package.typ": package #import "pipeline/lib.typ" as pipeline: factory, primitives #import "layers/lib.typ" as layer #import "primitives/lib.typ" as primitives #import "math/lib.typ" as math
https://github.com/takotori/PhAI-Spick
https://raw.githubusercontent.com/takotori/PhAI-Spick/main/sections/energie.typ
typst
= Energie $E$ #grid( columns: (auto, auto), gutter: 5pt, [*Kinetische Energie*], [$ E_k = 1/2 m v^2 $], [*Potenzielle Energie*], [$ E_p = m g h $], [*Spannenergie einer Feder*], [$ E_F = 1/2 D y^2 $], [*Energieerhaltungssatz*], [$ E_"tot" = sum_i E_i = "konst." $] ) #v(-10pt) #block( inset: 10pt, [ ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/g-exam/0.1.0/README.md
markdown
Apache License 2.0
# g-exam Template to create exams with header, school letterhead, grade chart, ... ## Features - Scoreboard. - Scoring by questions and subquestions. - Student information, on the first page or on all odd pages. - Question and subcuestion. - List of clarifications. - Teacher's Watermark - Exam Model Watermark # ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/loading/csv.typ
typst
--- csv --- // Test reading CSV data. #set page(width: auto) #let data = csv("/assets/data/zoo.csv") #let cells = data.at(0).map(strong) + data.slice(1).flatten() #table(columns: data.at(0).len(), ..cells) --- csv-row-type-dict --- // Test reading CSV data with dictionary rows enabled. #let data = csv("/assets/data/zo...
https://github.com/jassielof/typst-templates
https://raw.githubusercontent.com/jassielof/typst-templates/main/apa7/lib.typ
typst
MIT License
#import "../utils/to-string.typ": * #import "utils/languages.typ": * #import "utils/authoring.typ": * #import "utils/orcid.typ": * #import "utils/addendum.typ": * #let apa7( title: [Paper Title], authors: (:), affiliations: (:), custom-authors: [], custom-affiliations: [], // Student-specific fields ...
https://github.com/dangh3014/postercise
https://raw.githubusercontent.com/dangh3014/postercise/main/README.md
markdown
MIT License
# Postercise **Postercise** allows users to easily create academic research posters with different themes using [Typst](https://typst.app). ![GitHub](https://img.shields.io/github/license/dangh3014/postercise) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/dangh3014/postercise) ![GitHub Re...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/disk_grinder.typ
typst
#import "/meta-environments/env-features.typ": * = Disk Grinder The disk grinder can quickly remove material from a metal workpiece. It uses a flat surface and so can grind workpieces to precise angles that are not possible on the bench grinders. == Notes // General and specific to Protohaven === Safety #safety_...
https://github.com/derliemonne/differential-equations-lectures-fefu-5th-semester-chebotaryov
https://raw.githubusercontent.com/derliemonne/differential-equations-lectures-fefu-5th-semester-chebotaryov/main/src/lectures/lecture.typ
typst
#import "/utils.typ": * #set page("a5", numbering: "1") #set text(lang: "ru") #set par(justify: true) #set heading(numbering: "1.") `20 Сентября 2024` = Линейные системы == Постановка задачи $ t in [0, T] arrow.r.bar.long x(t) = vec(x_1(t), dots.v, x_n (t)) $ #cbox[ Линейное неоднородное уравнение: $ der(x)(t) = ...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/api/aufgaben.typ
typst
MIT License
#import "../core/document.typ" #import "../exercise/exercise.typ" as ex #let aufgabe = ex.exercise #let teilaufgabe = ex.sub-exercise #let unteraufgaben = ex.tasks #let loesung = ex.solution #let erwartung = ex.expectation /// Setzt eine Aufgabe in mehreren Varianten. #let vari(..args) = { document.use-value( ...
https://github.com/saurabtharu/CV
https://raw.githubusercontent.com/saurabtharu/CV/main/lib.typ
typst
//! typst-fontawesome //! //! https://github.com/duskmoon314/typst-fontawesome // Implementation of `fa-icon` #import "lib-impl.typ": * // Generated icons #import "lib-gen.typ": * // Re-export the `fa-icon` function // The following doc comment is needed for lsp to show the documentation /// Render a Font Awesome i...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-08.typ
typst
Other
// Test failing assertions. // Error: 11-19 equality assertion failed: value 10 was not equal to 11 #assert.eq(10, 11)
https://github.com/HenkKalkwater/aoc-2023
https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/README.md
markdown
# Advent of Code 2023 in Typst These are my solutions of the challenges of [Advent of Code 2023](https://adventofcode.com/2023) using the typesetting language [Typst](https://typst.app). My intent is not to get the most performant answers, but to see how far I can get using a language that was not meant with this. On ...
https://github.com/DamienFlury/summaries
https://raw.githubusercontent.com/DamienFlury/summaries/main/fp/fp.typ
typst
#set math.equation(numbering: "(1)") = Lambda Calculus == Alpha-Conversion A not free (bound) variables $x$ in a Lambda-Function can be replaced by a different variable $y$ if $y$ doesn't exist as a free variable in the expression (_nfin_ meaning "not free in"): $ lambda x.M = lambda y.[x := y]M "if" (y "nfin" lambda ...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2012/MS-02.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [MA Long], [CHN], [3422], [2], [ZHANG Jike], [CHN], [3294], [3], [BOLL Timo], [GER], [3161], [4], [XU Xin], [CHN], [...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/qty/allow-quantity-breaks/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": qty, metro-setup #set page(width: auto, height: auto) #box(width: 3cm)[ Some filler text #qty(10, "m")\ #metro-setup(allow-quantity-breaks: true) Some filler text #qty(10, "m") ]
https://github.com/uhChainsaws/gradie
https://raw.githubusercontent.com/uhChainsaws/gradie/main/laba7.typ
typst
#import "caramell.typ": stylle, text_colour #show: doc => stylle( title: "Matan (V10)\nLAB (#7)", doc ) #line(length: 100%, stroke: text_colour) $ f(x,y) = x^3 y^2 (4- x - y) $ #line(length: 100%, stroke: text_colour) = Аналитическая часть Найдём стационарные точки: $ f'_x = -x^2 y^2 (4 x + 3 ...
https://github.com/grodino/uni-rennes-typst
https://raw.githubusercontent.com/grodino/uni-rennes-typst/main/src/poster.typ
typst
MIT License
#import "colors.typ": * #let header(author, title, logos) = grid(columns: (1.1fr, 6fr, 2fr), rows: (100%,))[ #set align(center + horizon) #logos.at("left") ][ #set align(left + horizon) #block(text(font: "UniRennes", weight: "light", size: 120pt, title)) #v(.5em) #text(size: 34pt, author) ][ #set align...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/changelog.md
markdown
# Changelog ## v0.3.0 - The previously existing module `helpers` was transformed to `utils` and now contains many more useful features. - The modules `logic` and `utils` are now directly accessible when importing Polylux (it was a bug that it did not work previously). - We finally have an ergonomic `#pause` funct...
https://github.com/actsasflinn/typst-rb
https://raw.githubusercontent.com/actsasflinn/typst-rb/main/README.md
markdown
Apache License 2.0
# typst-rb Ruby binding to [typst](https://github.com/typst/typst), a new markup-based typesetting system that is powerful and easy to learn. ## Installation ```bash gem install typst ``` ## Usage ```ruby require "typst" # Compile `readme.typ` to PDF and save as `readme.pdf` Typst::Pdf.new("readme.typ").write("re...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/2821-missing-fields_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #show figure.caption: it => { assert(it.has("supplement")) assert(it.supplement == none) } #figure([], caption: [], supplement: none)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0600.typ
typst
Apache License 2.0
#let data = ( ("ARABIC NUMBER SIGN", "Cf", 0), ("ARABIC SIGN SANAH", "Cf", 0), ("ARABIC FOOTNOTE MARKER", "Cf", 0), ("ARABIC SIGN SAFHA", "Cf", 0), ("ARABIC SIGN SAMVAT", "Cf", 0), ("ARABIC NUMBER MARK ABOVE", "Cf", 0), ("ARABIC-INDIC CUBE ROOT", "Sm", 0), ("ARABIC-INDIC FOURTH ROOT", "Sm", 0), ("ARAB...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/mathe/fib_plot.typ
typst
#import "@preview/cetz:0.2.2" #import "/config.typ": theme #let fibs(n) = { let r = (0, 1) for i in range(2, n) { let next = r.at(i - 1) + r.at(i - 2) r.push(next) } return r } #cetz.canvas(length: 85%, { import cetz.draw: * import cetz.plot let n = 12 let data = fibs(n).enumerate() let phi...
https://github.com/eduardz1/Bachelor-Thesis
https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/chapters/digital-twins.typ
typst
#import "../utils/common.typ": * = Digital Twins <digital-twins> // TODO: talk maybe about IoT #_block(title: "NASA's definition of digital twin", text: [ An integrated multiphysics, multiscale, probabilistic simulation of a vehicle or system that uses the best available physical models, sensor updates, fleet histo...
https://github.com/cnaak/untypsignia.typ
https://raw.githubusercontent.com/cnaak/untypsignia.typ/main/test/test-01-readme.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 12pt, fill: rgb("19181f")) #set par(leading: 1.5em) #set text(font: "Rouge Script", fill: rgb("80f4b6")) #import "lib.typ": * #let say() = [I prefer #typstmark() over #texmark() or #latexmark().] #for sz in (20, 16, 14, 12, 10, 8) { set text(size: sz * 1pt) say() li...
https://github.com/KireinaHoro/research-plan
https://raw.githubusercontent.com/KireinaHoro/research-plan/master/systems-cover/manual.typ
typst
#import "@preview/tidy:0.3.0" #import "systems-cover.typ" #let docs = tidy.parse-module( read("systems-cover.typ"), name: "Systems Group Cover Page", scope: (mod: systems-cover), preamble: "import mod: *;" ) #show link: underline #set page(footer: align(center, counter(page).display("1"))) #tidy.show-modul...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/dynamic/list-one-by-one.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 50pt) #polylux-slide[ #list-one-by-one(marker: [--], tight: false)[first][second][third] ]
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/assets/images/draft-watermark.typ
typst
#set page(height: auto, width: auto, margin: 0pt) #set text(gray.lighten(85%), 122pt) Entwurf
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/可视化/梯度/tidu.typ
typst
#image("1.png") = 例子 #image("2.png") 渐变在文本上也受支持,但仅当将相对性设置为(默认值)或 时。若要创建逐字或逐字形渐变,可以手动或通过显示规则将文本的字词或字符换行到框中。auto"parent" #image("3.png") = 停止 渐变由一系列停靠点组成。每个停靠点都有一个颜色和一个偏移量。偏移量是 和 之间的比率或 和 之间的角度。偏移量是一个相对位置,用于确定停止点沿梯度的距离。光标的颜色是该位置的渐变颜色。在定义渐变时,可以选择省略偏移量。在这种情况下,Typst 将均匀地间隔所有停靠点。0%100%0deg360deg = 相对性 和停靠点的位置取决于容器的尺寸。这个容器可以是...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/image-05.typ
typst
Other
// Test advanced SVG features. #image("test/assets/files/pattern.svg")
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/docker.typ
typst
= Docker #label("docker") - Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中,然后发布到任何流行的 Linux或Windows 机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口。 == Install #label("install") ```sh # Ubuntu curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh # 建立docker组 sudo groupadd docker # 将当前用户加入docker组 sudo usermo...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list-marker_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test en-dash. #set list(marker: [--]) - A - B
https://github.com/WShohei/presentation
https://raw.githubusercontent.com/WShohei/presentation/master/lab/0926/slide/main.typ
typst
#import "templates/template.typ": * #show: doc => slides(doc) #show link: l => underline(l) #show figure: it => { show figure.caption: set text(7pt) it } #slide( title: "About this paper", pad( x: 2em, )[ #figure( image("images/header.png") ) - This paper is presented at SOSP 2023. - PagedAtt...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A4D0.typ
typst
Apache License 2.0
#let data = ( ("LISU LETTER BA", "Lo", 0), ("LISU LETTER PA", "Lo", 0), ("LISU LETTER PHA", "Lo", 0), ("LISU LETTER DA", "Lo", 0), ("LISU LETTER TA", "Lo", 0), ("LISU LETTER THA", "Lo", 0), ("LISU LETTER GA", "Lo", 0), ("LISU LETTER KA", "Lo", 0), ("LISU LETTER KHA", "Lo", 0), ("LISU LETTER JA", "Lo...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/inline_math/inline_math.typ
typst
$Q = rho A v + C$ $A^2 + B^2 = C^2$
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/types/any/test.typ
typst
Other
#import "/src/lib.typ" as z #import "/tests/utility.typ": * #show: show-rule.with(); #let schema = z.any() = types/any == Input types #{ let input-types = ( "content (empty)": [], "content (lorem)": lorem(20), "number (0)": 0, "number (negative float)": -1.2, "string (empty)": "", "string (...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_040323/meta.typ
typst
MIT License
#let data_incontro = "04-03-2024" #let inizio_incontro = "14:00" #let fine_incontro = "15:30" #let luogo_incontro = "Discord"
https://github.com/gabrielluizep/typst-ifsc
https://raw.githubusercontent.com/gabrielluizep/typst-ifsc/main/template/ifsclean.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/polylux:0.3.1": * #let primaryColor = rgb("#31a250") #let ifsclean-footer = state("ifsclean-footer", []) #let footer = [ #set align(right + bottom); #set text(size: .6em, fill: rgb("#b2b2b2")) #pad(0.5em)[ #counter(page).display("1 / 1", both: true) ] ] #let ifsclean-theme(aspect-rati...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/084.%20newthings.html.typ
typst
newthings.html Six Principles for Making New Things February 2008The fiery reaction to the release of Arc had an unexpected consequence: it made me realize I had a design philosophy. The main complaint of the more articulate critics was that Arc seemed so flimsy. After years of working on it, all I had to show for my...
https://github.com/MultisampledNight/flow
https://raw.githubusercontent.com/MultisampledNight/flow/main/src/template.typ
typst
MIT License
#import "cfg.typ" #import "checkbox.typ" #import "info.typ" #import "keywords.typ" #import "palette.typ": * #import "presentation.typ" #import "util.typ": * #let _styling(body, ..args) = { if not cfg.render { return { // PERF: consistently shaves off 0.02 seconds of query time // tested on i7 10th ge...
https://github.com/shenxiangzhuang/typst-cn-book
https://raw.githubusercontent.com/shenxiangzhuang/typst-cn-book/master/template/chapters/chap3.typ
typst
MIT License
#import "@preview/gentle-clues:1.0.0": * #import "@preview/lovelace:0.3.0": * #import "@preview/algo:0.3.3": algo, i, d, comment, code = 实用组件 <chapter3> == 高亮块(Admonitions) #tip(title: `gentle-clues`)[高亮块借助`gentle-clues`库来实现。] #example(title: "示例")[示例高亮块] == 算法伪代码 #example(title: `lovelace`)[ @lovelace_demo 是...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/exponent-rules.typ
typst
#import "@preview/showybox:2.0.1": * #import "base-utils.typ": * #let render-exponent-json(ruleIds, singleton: false) = { let ruleIds = coerce-array(ruleIds) let data = json("/home/kdog3682/2024-typst/src/exponents.json") let line-attrs = ( length: 100%, stroke: (thickness: 0.5pt, dash: "dott...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/06-finitely-generated-groups.typ
typst
Other
#import "../../utils/core.typ": * == Конечно порожденные абелевы группы #ticket[Разложение конечной циклической группы в прямую сумму] #pr[ Пусть $(a, b) = 1, space a, b in NN$. Тогда $ ZZ fg a b ZZ iso (ZZ fg a ZZ) times (ZZ fg b ZZ) $ ] #proof[ $([1]_a, [1]_b) = g, space ord(g) = a b ==> a...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test an empty second column. #set page(width: 7.05cm, columns: 2) #rect(width: 100%, inset: 3pt)[So there isn't anything in the second column?]
https://github.com/nikhilweee/nikipedia-typst
https://raw.githubusercontent.com/nikhilweee/nikipedia-typst/main/README.md
markdown
# Nikipedia Paper summaries written in Typst. Currently summarizing the following papers: - [[arXiv:2305.18920]](https://arxiv.org/abs/2305.18290) Direct Preference Optimization # License All files in this repository are subject to the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) License...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/lib.typ
typst
MIT License
#import "blocks.typ": * #import "note.typ" #import "colors.typ" #import "catppuccin.typ": * // #import "template.typ": * #import "@preview/codelst:2.0.1": sourcecode, codelst, sourcefile #import "@preview/tablex:0.0.6": * #import "@preview/drafting:0.2.0": * #import "@preview/cetz:0.2.2": * #import "@preview/hydra:0....
https://github.com/Jeomhps/datify
https://raw.githubusercontent.com/Jeomhps/datify/main/tests/test_utils.typ
typst
MIT License
// To compile this file : typst compile --root .. .\test_utils.typ #import "../src/utils.typ": first-letter-to-upper, pad, safe-slice #assert(first-letter-to-upper("hello") == "Hello") #assert(first-letter-to-upper("world") == "World") #assert(pad(5, 2) == "05") #assert(pad(123, 5) == "00123") #assert(safe-slice("Aoû...
https://github.com/kdog3682/typkit
https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/drawing.typ
typst
#import "@preview/cetz:0.2.2" #import "resolve.typ": * #import "formulas.typ": * #let canvas = cetz.canvas #let points(points, ..sink) = { for p in points { cetz.draw.circle(p, radius: 0.2, stroke: none, fill: black, ..sink) } } #let polygon(points, ..sink) = { cetz.draw.line(..points, close: true...
https://github.com/davidedellagiustina/uniud-slides
https://raw.githubusercontent.com/davidedellagiustina/uniud-slides/master/README.md
markdown
MIT License
<!-- ToC hint --> <div align=right>Table of Contents ↗️</div> <!-- Header --> <br/> <p align="center"> <a href="https://github.com/davidedellagiustina/uniud-slides"> <img src="./.github/assets/logo.png" alt="Logo" height=80> </a> <h1 align="center">UniUD Slides</h1> <p align="center"> <...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/beurteilen_bewerten/bewertungsnormen.typ
typst
Other
#import "/src/template.typ": * == #ix("Bewertungsnormen", "Bewertungsnorm") Das System, nachdem die #ix("Bewertungen", "Bewertung") im Unterricht standardisiert werden, kann anhand verschiedener #ix("Normen", "Bewertungsnorm") festgelegt werden. Diese entscheiden, was der Bezugsrahmen für die Bewertung ist. #grid(co...
https://github.com/NathanBurgessDev/tabletop-war-game-helper
https://raw.githubusercontent.com/NathanBurgessDev/tabletop-war-game-helper/main/Interim%20Report/interimTemplate.typ
typst
// I got this font from Google Fonts, you'll need to install it on your system #set text(font: "EB Garamond", size: 11pt) // Vertical space before // needs to have: // Project Title // Name // ID // email // name of the programme of your study // project module // #let diss-title( title: "Your Diss Title Goes Her...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/glossary.typ
typst
#text(16pt)[ *Glossary* ] #set par(justify: true) Not all terms defined in the glossary list are used in the specification. Some of them are formally defined because they are helpful when discussing, for example, compiler implementation. #v(0.5cm) #set terms(separator: v(0cm), hanging-indent: 1em) #block(breakable...
https://github.com/OctarineSourcerer/NeonInTheDark
https://raw.githubusercontent.com/OctarineSourcerer/NeonInTheDark/main/main.typ
typst
#import "templates/documentTemplate.typ": bladesDoc #show: doc => bladesDoc( title: "NEON IN THE DARK", subtitle: "A Blades In The Dark hack", doc) #include "sections/terms.typ" #pagebreak() #include "crews/boostergang.typ" #pagebreak() #include "crews/chromers.typ"
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.1.0/template/chapters/3-related.typ
typst
Apache License 2.0
#import "global.typ": * = Related Work #lorem(30) #todo([ Describe the work of other research teams and noteworthy approaches related to your work. State what is different to your solution. + Related literature might/should contain: theoretical foundations, - definitions of key terms, - technologies, technique...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/113.%20makersschedule.html.typ
typst
makersschedule.html Maker's Schedule, Manager's Schedule "...the mere consciousness of an engagement will sometimes worry a whole day."� <NAME> July 2009One reason programmers dislike meetings so much is that they're on a different type of schedule from other people. Meetings cost them more.There are two ty...
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/dept-news/template.typ
typst
// Used to collect sidebar articles. #let articles = state("articles", ()) // This function gets your whole document as its `body` and formats // it as the fun newsletter of a college department. #let dept-news( // The newsletter's title. title: "Newsletter title", // The edition, displayed at the top of the si...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/05_多处理器编程:从入门到放弃.typ
typst
#import "../template.typ": * #pagebreak() = 多处理器编程:从入门到放弃 == 多处理器编程入门 === Three Easy Pieces: 并发 操作系统作为 “状态机的管理者”,引入了共享的状态 - 带来了并发 - (操作系统是最早的并发程序) ```py def Tprint(name): sys_write(f'{name}') def main(): for name in 'AB': sys_spawn(Tprint, name) = Outputs: = AB = BA ``` 使用 model checker 绘制状态图 =...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/recourses-2/exam-template.typ
typst
#let prob_counter = state("prob_counter", 0) #let prob(x) = { prob_counter.update(x => x + 1) strong({ text("Problem ") prob_counter.display() text(". ") }) x v(1fr) } #let options(columns: 1, ..content) = { let buffer = () for i in range(0, content.pos().len()) { buffer.push({ tex...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/colors.typ
typst
Other
// Colors #let __ucpc_color_named = ( brown: ( rgb("#9d4900"), rgb("#a54f00"), rgb("#ad5600"), rgb("#b55d0a"), rgb("#c67739"), ), bluegray: ( rgb("#38546e"), rgb("#3d5a74"), rgb("#435f7a"), rgb("#496580"), rgb("#4e6a86"), ), yellow: ( rgb("#d28500"), rgb("#df8f0...
https://github.com/jw2476/cslog
https://raw.githubusercontent.com/jw2476/cslog/master/devlogs/buffer_race_conditions/mod.typ
typst
== 2023-07-25 - Buffer Race Conditions === The Problem Occasionally, especially on my desktop, I'd notice missing chunks of vertex data. Upon investigation with RenderDoc I saw that the first 64 bytes of the vertex buffer was being set to a strange constant value. === Debugging Using RenderDoc I traced back into the ...
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/.github/ISSUE_TEMPLATE/docs_request.md
markdown
MIT License
--- name: Docs 反馈 about: 通过该 Issue 模板反馈目前 tongji-undergrad-thesis-typst 文档的不足之处 labels: 'type/docs' --- ### 文档不足之处 <!--在你认为存在缺陷的部分打勾--> * 平台相关 * [ ] 在线平台:Typst App * [ ] 本地平台:Typst * 使用过程 * [ ] 模版编译(编译配置、依赖安装等) * [ ] 最佳实践(Typst 基础知识、模版使用教学、工作流等) * [ ] 不,我需要其他文档:_________ ### 对文档的期望 <!--如果可以的话,还希望你能够在下方提供你期...
https://github.com/valentinvogt/npde-summary
https://raw.githubusercontent.com/valentinvogt/npde-summary/main/src/chapters/12.typ
typst
#import "../setup.typ": * #show: thmrules = Finite Elements for the Stokes Equation <ch:stokes> #counter(heading).update((12, 2)) === Constrained Variational Formulation To simulate a fluid, we solve for a velocity field $bv$, so we have a vector problem. We assume incompressibility (recall @sub:heat-conduction) and ...