repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/main.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: "Exploración y análisis de rendimiento y extensibilidad de diferentes implementaciones de simuladores de partículas", titleEng: "Exploration and...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-18.typ
typst
Other
// Error: 3-11 cannot multiply integer with boolean #(2 * true)
https://github.com/TechnoElf/mqt-qcec-diff-thesis
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/template/cover.typ
typst
#import "colour.typ": * #let cover_page( title: "", author: "", chair: "", school: "" ) = { page( paper: "a4", margin: ( top: 3cm, bottom: 1cm, x: 1cm, ), header: [ #grid( columns: (1fr, 1fr), rows: (auto), text( fill: tum_blue, ...
https://github.com/icyzeroice/typst-packages
https://raw.githubusercontent.com/icyzeroice/typst-packages/main/packages/minimal-styling/README.md
markdown
MIT License
# Introduction Minimal styling to make typst look like the preview of github markdown[^1][^2]. > 🎯 My purpose is not to replicate github markdown styling completely. Instead, just make me do not case too much about forming a good styling while taking notes in most cases. ![preview](thumbnail.png) # How to use inst...
https://github.com/eusebe/sorbonne-slides-typst
https://raw.githubusercontent.com/eusebe/sorbonne-slides-typst/main/test.typ
typst
#import "sorbonne-slides.typ": * #show: sorbonnesante-theme.with( aspect-ratio: "4-3", faculty: "sante", ) #title-slide( title: [A title], subtitle: [A subtitle], short-title: [A short title], date: [February 20, 1967], author: [<NAME>], location: [Aberdeen], ) #slide(title: "Outline")[ #sorbonne...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/intro.typ
typst
MIT License
#import "./book.typ": book-page #import "./templates/gh-page.typ": page-width, is-dark-theme #import "@preview/fontawesome:0.1.0": * #import "@preview/colorful-boxes:1.1.0": * #show: book-page.with(title: "Introduction") #show link: underline = Get Started == Use in VSCode Install the extension from #link("https://...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/system-implementation/technology.typ
typst
== Project Technology Stack To effectively implement the Ungrammar Language Ecosystem, we have carefully selected a robust set of technologies and applications: #[ #show figure: set block(breakable: true) #figure( table( columns: 3, align: left, table.header([*Technology Stack*], [*Version*], [*De...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/001%20-%20Magic%202013/005_Threadbare.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Threadbare", set_name: "Magic 2013", story_date: datetime(day: 23, month: 07, year: 2012), author: "<NAME>", doc ) #figure(image("005_Threadbare/01.png", height: 40%), caption: [], supplement: none, numbering: none) Can you see it? That re...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/07_marec.typ
typst
#import "../../../all.typ": * #show: book = #translation.at("M_07_marec")
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/components/typography.typ
typst
MIT License
#let special-chapter-format-heading(it: none, font: none, size: none, weight: "regular") = { set text(font: font, size: size) text(weight: weight)[ #if it != none { it.body } ] v(0.5em) } #let main-format-heading(it: none, font: none, size: none, weight: "regular") = { set text(font: font, si...
https://github.com/tlsnotary/docs-mdbook
https://raw.githubusercontent.com/tlsnotary/docs-mdbook/main/research/ole-zero-check.typ
typst
#set page(paper: "a4") #set par(justify: true) #set text(size: 12pt) = Zero Check for Oblivious Linear Evaluation In many subprotocols of TLSNotary we use OLEs to convert shares of a product into shares of a sum. We recall the definition of the functionality: === Functionality $cal(F)_"OLE"$ Define the functionalit...
https://github.com/desid-ms/desid_report
https://raw.githubusercontent.com/desid-ms/desid_report/main/template.typ
typst
MIT License
// Some definitions presupposed by pandoc's typst output. #let blockquote(body) = [ #set text( size: 0.8em ) #align(right, block(inset: (right: 5em, top: 0.2em, bottom: 0.2em))[#body]) ] #let horizontalrule = [ #line(start: (25%,0%), end: (75%,0%)) ] #let endnote(num, contents) = [ #stack(dir: ltr, spacing: 3...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/unit3.typ
typst
#import "@preview/ctheorems:1.1.2": * #show: thmrules #let definition = thmbox("definition", "Definición", inset: (x: 1.2em, top: 1em)) = Unidad 3: Build systems #definition("Build system")[ Un sistema de compilación es una herramienta de software que automatiza el proceso de convertir código fuente en un ejec...
https://github.com/UriMtzF/typst-templates
https://raw.githubusercontent.com/UriMtzF/typst-templates/main/uaemex-heading/main.typ
typst
MIT License
#import "lib.typ": * #show: project.with( subject: "Materia", title: "Título", authors: "Author", accountNum: "1234567" )
https://github.com/Tran-Thu-Le/tybank
https://raw.githubusercontent.com/Tran-Thu-Le/tybank/main/utils.typ
typst
#import "@preview/suiji:0.1.0": * #let print(x) = [#x\ ] #let permute_choices(random_seed, number_of_questions, permute_bool) = { let perm = range(number_of_questions).map(x=>range(4)) if permute_bool { for i in range(number_of_questions) { (random_seed, p...
https://github.com/hei-templates/hevs-typsttemplate-thesis
https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/02-main/03-analysis.typ
typst
MIT License
#import "../00-templates/helpers.typ": * #pagebreak() = Analysis <sec:analysis> #lorem(50) #minitoc(after:<sec:analysis>, before:<sec:design>) #pagebreak() == Section 1 #lorem(50) == Section 2 #lorem(50) == Conclusion #lorem(50)
https://github.com/Cubik65536/typst-playground
https://raw.githubusercontent.com/Cubik65536/typst-playground/main/vector-maybe.typ
typst
#import "@preview/cetz:0.2.2" #cetz.canvas({ import cetz: * import cetz.plot import cetz.draw: * line((0,0), (x: 10), mark: (end: ">"), name: "x-axis") line((0,0), (y: 10), mark: (end: ">"), name: "y-axis") line((0,0), (x: -3), name: "x-axis-neg") line((0,0), (y: -3), name: "y-axis-neg") line((1, 1),...
https://github.com/jrihon/multi-bibs
https://raw.githubusercontent.com/jrihon/multi-bibs/main/lib/layout.typ
typst
MIT License
// Layout template file #let layout(document) = { set text( font: "Roboto", weight: "regular", size: 11pt, ) set align(left) set page( paper: "a4", margin: ( left: 2cm, right: 2cm, top: 2cm, bottom: 2cm, ), ) document }
https://github.com/Mufanc/hnuthss-template
https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/pages/acknowledgments.typ
typst
#import "/configs.typ": font, fontsize #import "/components.typ": anchor, paragraph, fp #let acknowledgments = [ #align(center, text(size: fontsize.L3, font: font.sans)[致#h(2em)谢]) #anchor[致 谢] #v(2em) #paragraph[ #fp 这篇毕业论文是我用心血和汗水浇灌出来的成果,是我学术生涯的里程碑。在耗时半年的刻苦努力中,我不断攀登知识的高峰,翻阅文献,进行实验,...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-27C0.typ
typst
Apache License 2.0
#let data = ( ("THREE DIMENSIONAL ANGLE", "Sm", 0), ("WHITE TRIANGLE CONTAINING SMALL WHITE TRIANGLE", "Sm", 0), ("PERPENDICULAR", "Sm", 0), ("OPEN SUBSET", "Sm", 0), ("OPEN SUPERSET", "Sm", 0), ("LEFT S-SHAPED BAG DELIMITER", "Ps", 0), ("RIGHT S-SHAPED BAG DELIMITER", "Pe", 0), ("OR WITH DOT INSIDE", "...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/justify-hanging-indent_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set par(hanging-indent: 2.5cm, justify: true) #lorem(5)
https://github.com/CryptoFraudDetection/paper
https://raw.githubusercontent.com/CryptoFraudDetection/paper/main/main.typ
typst
MIT License
#import "template.typ": template #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #import fletcher.shapes: house, hexagon // Load template & set header #show: template.with( title: [Fraud Detection of Cryptocurrencies], authors: ( ( name: "<NAME>", organization: [Fachhochschule No...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/annotation_tag.typ
typst
Apache License 2.0
/// #let tag-full = `tag("configs", ns: "@preview/touying")` /// #let tag = `tag("configs")` /// /// -> tag #let config-common() = none
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/themes/default.typ
typst
MIT License
// TODO: Improve theme support // TODO: Add more theme style keys #let typst-text = text // General colors #let primary = rgb(40, 70, 167) #let secondary = rgb(204, 74, 71) #let muted = luma(174) // General backgrounds #let bg = ( primary: primary.lighten(90%), secondary: secondary.lighten(90%), muted: muted.l...
https://github.com/CheneyNine/Resume-in-Typst-Template
https://raw.githubusercontent.com/CheneyNine/Resume-in-Typst-Template/main/Typst中文教程.typ
typst
// 设置页面 #set page( paper:"a4", margin: ( top:27.5mm, bottom:25.4mm, left:35.7mm, right:27.7mm ), header:[ #set text(10pt) #h(1fr) #emph("Typst 中文文档 translated by Casea") #v(-0.8em) #line(length:100%,stroke:1pt) ], numbering:...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/软件分析/hw/2100012990-郭子荀-软分第二次作业.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark #import "../../template.typ": * #show: note.with( title: "作业12", author: "YHTQ", date: datetime.today().display(), logo: none, withOutlined : false, withTitle : false, withHeadingNumbering: false ) = 1. 将三个...
https://github.com/refparo/24xs-zh
https://raw.githubusercontent.com/refparo/24xs-zh/master/adventure1-bakery.typ
typst
#set document( title: "24XS 微型单人冒险:面包房", author: ("<EMAIL>", "Paro") ) #include "rules1.typ" #import "common.typ": * #show: typ-24xs #adventure-page( [ *冒险*:有一群拇指大的小人生活在一座老面包房的房椽木里,而你是他们之一。夜幕降临,轮到你离开房椽去寻找烤好的食物来喂饱你的族人了。\ *选或者编 2 个技能*:格斗,调查,导航,盗窃,欺骗,攀爬,发明,运动,潜行,说服,真菌学,生态学,木工,害虫防治,历史,烘焙。 ], random-ta...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/docs/schema.typ
typst
Apache License 2.0
/// Loads a schema from a file or a raw block. /// This function returns a dictionary of structures /// /// Supported formats: #schema.valid-extensions.map(e => raw("." + e)).join(", ") /// - path-or-schema (str, raw, dictionary): If it is a string, defines the path to load. \ /// If it is a raw block, its content i...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-cs/module-3/trustworthy-ai.typ
typst
When put into the broader trustworthy AI horizon, the paper contributions have some interesting improvements over some of the main topics of the subject. When considering the _Assessment List for Trustworthy AI_ (ALTAI) the greatest improvements can be seen mostly on: - *Requirement \#1*: Human Agency and Oversight - ...
https://github.com/alberto-lazari/cv
https://raw.githubusercontent.com/alberto-lazari/cv/main/common.typ
typst
#import "@preview/brilliant-cv:2.0.1": cv, cvSection, cvEntry, cvHonor, cvSkill, hBar #let metadata = toml("/metadata.toml") #let cv = cv.with(metadata) #let section(text) = { cvSection(text, letters: text.split("").len() - 2, metadata: metadata) v(.2em) } #let modules(lang: metadata.language, ..args) = { for...
https://github.com/0x1B05/algorithm-journey
https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/前缀信息.typ
typst
#import "../template.typ": * #pagebreak() = 构建前缀信息的技巧-解决子数组相关问题 解决如下问题,时间复杂度O(n) == #link( "https://leetcode.cn/problems/range-sum-query-immutable/description/", )[题目1: 子数组范围求和] 给定一个整数数组 `nums`,处理以下类型的多个查询: - 计算索引 `left` 和 `right` (包含 `left` 和 `right`)之间的 `nums` 元素的 和 ,其中 `left` <= `right` - 实现 `NumArray` 类: ...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/6-evaluation/0-index.typ
typst
In diesem Kapitel widmet sich die Arbeit der Evaluation des entwickelten Prototyps einer Augmented Reality Konstruktionsumgebung für Möbelsysteme. == Zielsetzung #include "./goal.typ" == Methodik #include "./method.typ" == Ergebnisse #include "./result.typ" == Diskussion #include "discussion.typ"
https://github.com/fredguth/abnt-typst
https://raw.githubusercontent.com/fredguth/abnt-typst/main/templates/pos.typ
typst
// #import "../_config.typ": metadados, estilo, h1, h2, h3, h4, base, hdisplay, hficha, pagina_branca // {% comment %} - Elementos pós-textuais // -- Referências (obrigatório) // -- Glossário (opcional) // -- Apêndice (opcional) // -- Anexo (opcional) // -- Índice (opcional) // {% endcomment %} #pagebreak(...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cheq/0.1.0/examples/custom-styles.typ
typst
Apache License 2.0
#import "@preview/cheq:0.1.0": checklist #set page(width: auto, height: auto, margin: 2em) #show: checklist.with(fill: luma(95%), stroke: blue, radius: .2em) = Solar System Exploration, 1950s – 1960s - [ ] Mercury - [x] Venus - [x] Earth (Orbit/Moon) - [x] Mars - [ ] Jupiter - [ ] Saturn - [ ] Uranus - [ ] Neptune ...
https://github.com/KireinaHoro/research-plan
https://raw.githubusercontent.com/KireinaHoro/research-plan/master/infk-doctoral-plan/manual.typ
typst
#import "@preview/tidy:0.3.0" #import "infk-doctoral-plan.typ" #let docs = tidy.parse-module( read("infk-doctoral-plan.typ"), name: "D-INFK Doctoral Plan Template", scope: (mod: infk-doctoral-plan), preamble: "import mod: *;" ) #show link: underline #set page(footer: align(center, counter(page).display("1")...
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/README.md
markdown
# chiral-thesis-fhe This is a thesis template for the [University of Applied Sciences Erfurt][fhe] (FHE). It provides scaffolding for a [Typst] project which can be used to write a bachelor's thesis, mastere's thesis, or simple a report in the style mandated by the university. The template package provides scaffolding...
https://github.com/i-am-wololo/cours
https://raw.githubusercontent.com/i-am-wololo/cours/master/main/parties_i23/arithmetique.typ
typst
#import "../templates.typ": * #title("Arithmetique") = Les groupes quotient de $ZZ$ continuation du chapitre des groupes // TODO: mettre un lien vers les groupes == Divisibilite, nombres premiers #definition(title:"divisibilite")[ soit $a,b$ deux nombres, on dit que $a$ divise $b$ ou que $a$ est diviseur de $b$ ou ...
https://github.com/typst-community/guidelines
https://raw.githubusercontent.com/typst-community/guidelines/main/src/chapters/style/expression-blocks.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/src/util.typ": * #import mantys: * == Expression Blocks Prefer implicit block expression values over explicit `return`. #do-dont[ ```typc let if-none(var, default) = if var == none { default } else { var } ``` ][ ```typc // useless return let if-none(var, default) = if var == none { return de...
https://github.com/YDX-2147483647/typst-pointless-size
https://raw.githubusercontent.com/YDX-2147483647/typst-pointless-size/main/zihao.typ
typst
MIT License
#let size_to_pt = ( (8, 5pt), (7, 5.5pt), (-6, 6.5pt), (6, 7.5pt), (-5, 9pt), (5, 10.5pt), (-4, 12pt), (4, 14pt), (-3, 15pt), (3, 16pt), (-2, 18pt), (2, 22pt), (-1, 24pt), (1, 26pt), ("-0", 36pt), (0, 42pt), ) #let zh(size, overrides: ()) = { let rules = (..overrides, ..size_to_pt) ...
https://github.com/sofianedjerbi/Resume
https://raw.githubusercontent.com/sofianedjerbi/Resume/main/metadata.typ
typst
Apache License 2.0
// NOTICE: Copy this file to your root folder. /* Personal Information */ #let firstName = "Sofiane" #let lastName = "Djerbi" #let personalInfo = ( phone: "+33 695 800 269", email: "<EMAIL>", linkedin: "sofianedjerbi", //custom-1: (icon: "", text: "example", link: "https://example.com"), //gitlab: "mintyfr...
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/06-fourier-series/04-adding-fouriers.typ
typst
#import "../../utils/core.typ": * == Суммирование рядов Фурье #ticket[Суммирование рядов по Чезаро. <NAME>. Свойства.] #def[ Рассмотрим ряд $sum_(k = 0)^oo a_k$ и положим $A_n := sum_(k = 0)^n a_k$. Будем говорить, что $S$ --- сумма ряда по Чезаро, если $S = lim_(n -> oo) (A_0 + A_1 + ... + A_n)/(n + 1)$. Обознача...
https://github.com/storopoli/Bayesian-Statistics
https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/01-bayesian_statistics.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "@preview/polylux:0.3.1": * #import themes.clean: * #import "utils.typ": * #import "@preview/cetz:0.1.2": * #new-section-slide("Bayesian Statistics") #slide(title: "Recommended References")[ #text(size: 18pt)[ - #cite(<gelman2013bayesian>, form: "prose") - Chapter 1: Probability and inference ...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_745%20-%20Lie%20Groups%20and%20Lie%20Algebras/Assignments/Assignment%204.typ
typst
#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 4", name: "<NAME>", doc) #let lecture = counter("lecture") #lecture.step() #let update_lecture = () => { lecture.step() ...
https://github.com/yy01zz02/profile-template
https://raw.githubusercontent.com/yy01zz02/profile-template/main/src/english.typ
typst
MIT License
// import from template #import "../template/template.typ": *; #show: template; #set text( size: 12pt, font: "Centaur" ) #init( name: "<NAME>", pic_path : "", ) #info( color: rgb(0, 0, 0), ( icon: "/img/fa/fa-home.svg", link: "https://zhangsan.io/", content: "https://...
https://github.com/noahjutz/CV
https://raw.githubusercontent.com/noahjutz/CV/main/chip.typ
typst
#let chip(body) = box( inset: (x: 8pt, y: 6pt), radius: 4pt, stroke: gray, body ) #let chips(..body) = { for c in body.pos() { chip(c) h(4pt) } }
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/cjk-latin-spacing_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Issue #2538 #set text(cjk-latin-spacing: auto) abc字 abc字#linebreak() abc字#linebreak() 母 abc字\ 母
https://github.com/danilasar/physics-laba1
https://raw.githubusercontent.com/danilasar/physics-laba1/master/main.typ
typst
#import "conf.typ" : conf #show: conf.with( title: [], type: "referat", info: (:), settings: ( title_page: ( enabled: false ), contents_page: ( enabled: false ) ) ) = ЛАБОРАТОРНАЯ РАБОТА №1 / Наименование работ: Изучение электростатического поля методом электролитической ванны. / ...
https://github.com/jneug/typst-finite
https://raw.githubusercontent.com/jneug/typst-finite/main/manual.typ
typst
MIT License
#import "@local/mantys:0.1.0": * #import "@local/tidy:0.2.0" #import "@preview/cetz:0.1.1" #import "finite.typ" #import "util.typ" #show "CETZ": a => package[CeTZ] #let cetz-cmd = cmd.with(module:"cetz") #let cetz-cmd- = cmd-.with(module:"cetz") #show: mantys.with( ..toml("typst.toml"), title: align(center, fi...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/tests/test_testing.typ
typst
MIT License
#import "/src/tidy.typ": * #{ let code = ``` /// >>> 2 == 2 /// >>> ("e", 2) == ("e", 2) /// >>> eq(1+1, 2) /// >>> ne(2+1, 2) /// >>> approx(calc.sin(calc.pi), 0) /// /// >>> 2 == 2 /// >>> eq(2, 2) /// >>> eq((a: 13, b: 21) + (a: 3), (a: 3, b:21)) #let f() ``` let result = show-modul...
https://github.com/ad-si/invoice-maker
https://raw.githubusercontent.com/ad-si/invoice-maker/master/tests.typ
typst
ISC License
#import "invoice-maker.typ": * #{ // add-zeros() assert.eq(add-zeros(1.234), "1.23") assert.eq(add-zeros(1.2), "1.20") } #{// verify-iban() let iban-tests = ( ("DE", "DE44 5001 0517 5407 3249 31", true), ("DE", "DE89 3704 0044 0532 0130 00", true), ("DE", "DE44 5001 0517 5407 3249 3X", false)...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/edge-decorations/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #diagram(spacing: 4em, $ A edge(<->, "wave") & B edge(<->, "zigzag") & C edge(<->, "coil") $) #diagram(spacing: (2em, 3em), $ e^- edge("dr", "-<|-") & & & & & edge("dl", "-|>-") e^+ \ & edge("wave") & edge...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/01-elementary/!sec.typ
typst
= Элементарная теория вероятностей #include "01-experiment-probability-model.typ" #include "02-limit-theorems.typ"
https://github.com/FilipSolich/CV-Template
https://raw.githubusercontent.com/FilipSolich/CV-Template/main/template.typ
typst
The Unlicense
#let chip(body, txColor: black, bgColor: white) = { box(fill: bgColor, stroke: black, radius: 15%, inset: 5pt)[#text(fill: txColor)[#body]] } #let double_chip(data) = { ( box(stroke: black, radius: (left: 15%), inset: 5pt)[#data.at(0)], box(stroke: black, radius: (right: 15%), inset: 5pt)[#data.at(1)] )....
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/3-state/0-index.typ
typst
Das folgende Kapitel widmet sich dem aktuellen Stand der Technik im Bereich der Augmented Reality. Es werden zunächst aktuelle Studien und Anwendungen vorgestellt. Anschließend wird die WebXR-Technologie mit anderen AR-Plattformen verglichen und abschließend werden verschiedene aktuelle WebXR-Frameworks vorgestellt. =...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/OttavoSprint.typ
typst
MIT License
#import "../../functions.typ": glossary === Ottavo #glossary[sprint] *Inizio*: Venerdì 12/01/2024 *Fine*: Giovedì 18/01/2024 *Obiettivi dello #glossary[sprint]*: - Terminare la revisione in stile #glossary[walkthrough] delle _Norme di Progetto v1.0_; - Terminare la stesura ed effettuare la revisione in stile ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that paragraph spacing loses against block spacing. // TODO #set block(spacing: 100pt) #show table: set block(above: 5pt, below: 5pt) Hello #table(columns: 4, fill: (x, y) => if calc.odd(x + y) { silver })[A][B][C][D]
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20esterna/Verbali/24-03-15/24-03-15.typ
typst
#import "/template.typ": * #show: project.with( date: "15/03/24", subTitle: "Aggiornamento sullo stato dei lavori", docType: "verbale", authors: ( "<NAME>", ), missingMembers: ( "<NAME>", ), externalParticipants : ( (name: "<NAME>", role: "Referente aziendale"), ), timeStart: "14:05", ...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/2bc0c8-2024_spring_TA/hw16_17.typ
typst
#set text( font: ("linux libertine", "Source Han Serif SC", "Source Han Serif"), size: 10pt, ) #show math.equation: it => text(size: 10pt, math.display(it)) #let dcases(..args) = { let dargs = args.pos().map(it => math.display(it)) math.cases(..dargs) } #show image: it => align(center, it) #show heading.where(...
https://github.com/PuntitOwO/template-informe-practica-fcfm
https://raw.githubusercontent.com/PuntitOwO/template-informe-practica-fcfm/main/README.md
markdown
MIT License
# Template Informe de práctica profesional DCC FCFM > [Typst](https://typst.app) es software relativamente nuevo que está creciendo muy rápidamente. Por esto, no puedo asegurar retrocompatibilidad entre versiones del template. Puedes ver un ejemplo de documento en [example.pdf](example.pdf). Esta es una modificación...
https://github.com/fabian1409/typst-iaik-thesis-template
https://raw.githubusercontent.com/fabian1409/typst-iaik-thesis-template/master/template/thesis.typ
typst
#import "@local/iaik-thesis:0.1.0": * #show: thesis.with( title: "Title and\nSubtitle\nof the Thesis", author: "<NAME>, BSc", curriculum: "Computer Science", supervisors: ( "Firstname Lastname, academic degrees of first supervisor", "Firstname Lastname, academic degrees of next supervisor", ), ackn...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/bracket-negative-numbers/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": num, metro-setup #set page(width: auto, height: auto) #num(-15673) #num(-15673, bracket-negative-numbers: true)
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Statistica4AI/Stats4AI_notes.typ
typst
Creative Commons Zero v1.0 Universal
#set text( font: "Gentium Plus", size: 10pt, lang: "en" ) #set page( paper: "a4", header: align(right)[_Advanced Foundations of Statistics for AI_], numbering: "1" ) #set par( justify: true ) #set heading( numbering: "1." ) #import "Stats4AI_definitions.typ": * #show: thmrules.with(qed-symbol: $square$) #show...
https://github.com/ludwig-austermann/typst-idwtet
https://raw.githubusercontent.com/ludwig-austermann/typst-idwtet/main/examples/demo.typ
typst
MIT License
#import "../idwtet.typ" #show: idwtet.init.with(eval-scope: ( funarray: ( value: {import "@preview/funarray:0.2.0"; funarray}, code: "import \"@preview/funarray:0.2.0\"" ), )) #set page(width: 16.5cm, height: auto, margin: 0.5cm) = idwtet (I Dont Wanna Type Everything Twice) A package which allows corre...
https://github.com/drupol/ipc2023
https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/nix-summary.typ
typst
#import "imports/preamble.typ": * #focus-slide[ #set align(center + horizon) #set text(size: 2em, fill: white, font: "Virgil 3 YOFF") What is Nix? #pdfpc.speaker-note(```md Now that the theory is done, I guess you can all answer the question right? ```) ] #slide(title: "Summary", new-section: "Nix")[ ...
https://github.com/gldraphael/typst-resume
https://raw.githubusercontent.com/gldraphael/typst-resume/main/style.typ
typst
#let body-font = "New Computer Modern" #let heading-font = "New Computer Modern Sans" #let theme-color = rgb("#1155cc")
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/spacing_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test ignored vs non-ignored spaces. $f (x), f(x)$ \ $[a|b], [a | b]$ \ $a"is"b, a "is" b$
https://github.com/almarzn/portfolio
https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/presentation.typ
typst
#import "@preview/fontawesome:0.1.0": * #import "@preview/splash:0.3.0": tailwind #let presentation-section( presentation, links ) = block( )[ #presentation #set par(linebreaks: "simple") #stack( dir: ltr, spacing: 6pt, ..links.map(el => link( el.url, block( inset:...
https://github.com/yukukotani/typst-coins-thesis
https://raw.githubusercontent.com/yukukotani/typst-coins-thesis/main/main.typ
typst
Apache License 2.0
#import "template.typ": * #show: project.with( title: "筑波大学情報科学類の卒業論文テンプレート", author: "<NAME>", advisor: "セリヌンティウス", major: "パソコン主専攻", year: "2023", ) #abstract[ この文書は筑波大学情報学群情報科学類の卒業研究論文のサンプルである。このファイルを書き換えて、このサンプルと同様の書式の論文を作成できる。 本サンプルはGitHubリポジトリ @repo-typst-coins-thesis で配布されている。 ] #outline(indent: au...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/new-cm-svg_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set text(font: "New Computer Modern") #image("/assets/files/diagram.svg")
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/flywheel/identify.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: Launcher Rebuild", type: "identify", date: datetime(year: 2023, month: 11, day: 28), author: "<NAME>", witness: "<NAME>", ) At our last tournament we were v...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/assertions/comparative/test.typ
typst
Other
#import "/src/lib.typ" as z #import "/tests/utility.typ": * #show: show-rule.with(); #let soft-parse = z.parse.with(ctx: z.z-ctx(soft-error: true)) = Assertions/Comparative == z.assert.min #let min-number-schema(val) = z.number(assertions: (z.assert.min(val),)) #{ soft-parse(5, min-number-schema(4)) == 5 }\ #{ ...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/内省/here/here.typ
typst
#image("image.png") #image("image2.png")
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/perf/long.typ
typst
Apache License 2.0
#set page(height: auto) #set par(justify: true) #for i in range(5000) [ #lorem(10) #parbreak() ]
https://github.com/tibs245/template-typst-CV
https://raw.githubusercontent.com/tibs245/template-typst-CV/main/main.typ
typst
#import "template.typ": * #let skills = ( "langages": ( Typescript: ( name: "Typescript", icon: image("icons/typescript.svg", height: 1.4em) ), Javascript: ( name: "Javascript", icon: image("icons/javascript.svg", height: 1.4em) ), PHP: ( name: "PHP 5+", icon: image("icons/php.svg", height: 1e...
https://github.com/Tran-Thu-Le/typst-collection
https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/multi-files-reference/main.typ
typst
#import "multi-ref.typ" = How to cite references on multiple files For the current version of Typst (05/06/2024), one cannot cite references on different Typst files. This folder show you how to hack this using file name `multi-ref.typ`. In the following, you can see that the references were displayed properly. #inc...
https://github.com/jneug/typst-nassi
https://raw.githubusercontent.com/jneug/typst-nassi/main/tests/template.typ
typst
MIT License
#import "src/nassi.typ" #nassi.diagram({ nassi.elements.process("Hello World") })
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/tournament.typ
typst
The Unlicense
#import "../colors.typ": * /// A Series of tables displaying match data from a tournament. Useful for tournament analysis entries. /// - ..matches (dictionary): A list of all of the matches at the tournament. /// Each dictionary must contain the following fields: /// - match (string) The name of the match /// - red-al...
https://github.com/Wuvist/typstnotes
https://raw.githubusercontent.com/Wuvist/typstnotes/main/README.md
markdown
# Typst notes some random staff to make writing typst paper easier * `pandoc_tpl.typ` Make pandoc convert ipynb to typst nicer ```bash pandoc -t typst --template=pandoc_tpl.typ --extract-media ./media test.ipynb -o test.typ ```
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-04-07/24-04-07.typ
typst
#import "/template.typ": * #show: project.with( date: "07/04/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:10", timeEnd: "16:00", ); = Ordine del giorno - Valutazione del progresso generale; - Analisi retrospettiva; - Candidatu...
https://github.com/SkytAsul/fletchart
https://raw.githubusercontent.com/SkytAsul/fletchart/main/examples/declarative.typ
typst
#import "../src/lib.typ" as fletchart #import fletchart.elements: action, condition, choice, input-output, process #import fletchart.declarative: fc-declarative #fc-declarative({ let actionA = action("a", "A", fill: color.fuchsia) let actionB = action("b", "B", destination: actionA) let actionC = action("c", "...
https://github.com/rlpundit/typst
https://raw.githubusercontent.com/rlpundit/typst/main/Typst/en-Report/chaps/chpt2.typ
typst
MIT License
/* --------------------------------- DO NOT EDIT -------------------------------- */ #import "../Class.typ": * #show: report.with(isAbstract: false) #chap(chap2) // Chapter 2 #set page(header: smallcaps(title) + h(1fr) + emph(chap2) + line(length: 100%)) /* -------------------------------------------------------------...
https://github.com/Personal-Data-Acquisition/PDA_paperwork
https://raw.githubusercontent.com/Personal-Data-Acquisition/PDA_paperwork/main/SDA/sda.typ
typst
= Software Design and Architecture Document (SDA) #strong[Authors:] <NAME>, <NAME>, <NAME>, <NAME> #strong[DATE:] 2023-12-03 == Introduction This document establishes the software and hardware architecture for a personal data acquisition system. Selecting the correct architecture improves development velocity and ena...
https://github.com/LDemetrios/TypstParserCombinators
https://raw.githubusercontent.com/LDemetrios/TypstParserCombinators/master/release-combinators.typ
typst
// Utility functions (mostly clojure-core rewritten) #let force(x) = if (type(x) == dictionary and x.at("very-special-key") == "delay") { (x.data)() } else { x } #let delay(x) = (very-special-key: "delay", data: x) #let comp(f, g) = it => f(g(it)) #let partial(f, ..x) = (..y) => f(..x, ..y) #let cons(x, y) = (x, ..y) ...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/5891a0-2024_gaokao_math/main.typ
typst
#set text( font: ("linux libertine", "Source Han Serif SC", "Source Han Serif"), size: 10pt, ) #set page(height: 1100pt) == 思路 以下讨论中, 我们使用如下记号: 原数列 ${a_1, a_2, ..., a_(4m+2)}$ 去除两个数 $a_i, a_j$ 之后*分拆*结果为: $ {a^((1))_1, a^((1))_2,a^((1))_3,a^((1))_4},{a^((2))_1, a^((2))_2,a^((2))_3,a^((2))_4}, ... $ 考虑所有的 $(i...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.6.0/gentle-clues.typ
typst
Apache License 2.0
// gentle-clues // Title dict for all supported languages #let title_dict = ( abstract: ( de: "Einführung", en: "Abstract", fr: "Résumé", es: "Resumen" ), info: ( de: "Info", en: "Info", fr: "Info", es: "Info" ), question: ( de: "Frage", en: "Question", fr: "Question", es: "Pregunt...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-4DC0.typ
typst
Apache License 2.0
#let data = ( ("HEXAGRAM FOR THE CREATIVE HEAVEN", "So", 0), ("HEXAGRAM FOR THE RECEPTIVE EARTH", "So", 0), ("HEXAGRAM FOR DIFFICULTY AT THE BEGINNING", "So", 0), ("HEXAGRAM FOR YOUTHFUL FOLLY", "So", 0), ("HEXAGRAM FOR WAITING", "So", 0), ("HEXAGRAM FOR CONFLICT", "So", 0), ("HEXAGRAM FOR THE ARMY", "So"...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/stateful/q1.typ
typst
Apache License 2.0
#set text(size: 8pt) #let calc-headings(headings) = { let max-page-num = calc.max(..headings.map(it => it.location().page())) let first-headings = (none, ) * max-page-num let last-headings = (none, ) * max-page-num for h in headings { if first-headings.at(h.location().page() - 1) == none { first-he...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/经济学原理/hw/hw8.typ
typst
#import "../../template.typ": * #show: note.with( title: "作业8", author: "YHTQ ", date: none, logo: none, withOutlined: false, withTitle: true ) = C #answer[ 边际成本即为新增加的成本,也就是一天的食宿和泡温泉 ] = A 或 B #answer[ 只要边际成本大于平均成本,平均成本就会上升 ] = (1)#answer[ 当 $k = 100$ 时,有 $q = 20l, l = 1/20 q$,成本函数为...
https://github.com/sses7757/sustech-graduated-thesis
https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/example.typ
typst
Apache License 2.0
#import "sustech-graduated-thesis/lib.typ": documentclass, indent, notation, fake-par, 字体 #import "sustech-graduated-thesis/utils/math-utils.typ": sfrac, svec // 参考 modern-nju-thesis: // 你首先应该安装 https://github.com/nju-lug/modern-nju-thesis/tree/main/fonts/FangZheng 里的所有字体, // 如果是 Web App 上编辑,你应该手动上传这些字体文件,否则不能正常使用「楷体...
https://github.com/Tran-Thu-Le/typst-collection
https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/book-cover/simple-book-cover.typ
typst
#let title = align(center)[#text(fill: red, size: 5em, stroke: 1pt+black)[*A book's cover*]] #let subtitle = align(center)[#text(fill: red, size: 3em, stroke: none)[_For creating Typst books_]] #let author = align(right)[#text(fill: blue, size: 2.5em, stroke: none)[By *<NAME>*] #h(4em)] #let year = align(center)[#text(...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S5/PST/docs/5-VariablesAleatoires/variables-aleatoires.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Title ], lesson: "Lesson", chapter: "Chapter", definition: "Definition", col: 1, doc, ) = Généralités sur les variables aléatoires = Variables aléatoires discrètes = Variables aléatoires continues = Propriétés de l'esp...
https://github.com/Mc-Zen/zero
https://raw.githubusercontent.com/Mc-Zen/zero/main/src/formatting.typ
typst
MIT License
#import "state.typ": num-state, group-state #import "parsing.typ": * #let sequence-constructor = $$.body.func() /// Creates an equation from a sequence. This function leaves the /// `block` attribute unset. #let make-equation(sequence) = { math.equation(sequence-constructor(sequence)) } #assert.eq(make-equation(...
https://github.com/paugarcia32/CV
https://raw.githubusercontent.com/paugarcia32/CV/main/cv.typ
typst
Apache License 2.0
#import "brilliant-CV/template.typ": * #show: layout #cvHeader(hasPhoto: true, align: left) #autoImport("personalSummary") #autoImport("education") #autoImport("professional") #autoImport("technicalSkills") #autoImport("projects") #autoImport("certificates") #autoImport("event") //#autoImport("publicat...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S5/PCO/docs/1-Introduction/threadsintroduction.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Introcution aux threads ], lesson: "PCO", chapter: "1 - Introduction", definition: "", col: 1, doc, ) = Modèles de délégation == Modèle de délégation (boos-worker model / delegation model) Le modèle de délégation est un m...
https://github.com/mkpoli/roremu
https://raw.githubusercontent.com/mkpoli/roremu/master/src/lib.typ
typst
The Unlicense
/// 日本語ダミーテキスト生成 /// /// - words (int): 生成するテキストの長さ(文字数) /// - offset (int): テキストの開始位置(文字数) /// - custom-text (str, none): デフォルト『吾輩は猫である』の代わりに使用する文字列 /// -> str #let roremu(words, offset: 0, custom-text: none) = { let text = if custom-text == none { read("../texts/neko.txt") } else { custom-text } let length = text...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.9.0/lib/theme.typ
typst
Apache License 2.0
// theme file for gentle clues // defautl theme #let default = ( info: ( accent-color: rgb(29, 144, 208), // blue icon: "info.svg" ), success: ( accent-color: rgb(102, 174, 62), // green icon:"checkbox.svg" ), warning: ( accent-color: rgb(255, 145, 0), // orange icon:"warning.svg" ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/cases.typ
typst
// Test case distinction. --- math-cases --- $ f(x, y) := cases( 1 quad &"if" (x dot y)/2 <= 0, 2 &"if" x divides 2, 3 &"if" x in NN, 4 &"else", ) $ --- math-cases-gap --- #set math.cases(gap: 1em) $ x = cases(1, 2) $ --- math-cases-delim --- #set math.cases(delim: sym.angle.l) $ cases(a, b, c) $
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/RT/textsTmp.typ
typst
#import "../style.typ": * #let trojsvatePoOtcenas = [ #lettrine("<NAME>, <NAME>, <NAME>, pomiluj nas. (3x)") #lettrine("Slava Otcju, i Synu, i Svjatomu Duchu. ") #lettrine("I teper' i navse, i naviky-vikiv. Amiň.") #lettrine("Presvjata Trojcjo, pomiluj nas, Hospodî, očisť našy hrichy, Vladyko, odpusť nam na...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/emphasis-05.typ
typst
Other
// Error: 26 expected star // Error: 26 expected underscore #[_Cannot *be interleaved]
https://github.com/levinion/typst-dlut-templates
https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/util/style.typ
typst
MIT License
#let font_size = ( chu: 42pt, xiao_chu: 36pt, yi: 26pt, xiao_yi: 24pt, er: 22pt, xiao_er: 18pt, san: 16pt, xiao_san: 15pt, si: 14pt, xiao_si: 12pt, wu: 10.5pt, xiao_wu: 9pt, liu: 7.5pt, xiao_liu: 6.5pt, qi: 5.5pt, xiao_qi: 5pt, ) #let font_family = ( songti_bold: ( "Times New Roman", "Source Han Serif SC...