repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/args-sink.typ
typst
Apache License 2.0
// Test bugs with argument sinks. --- #let foo(..body) = repr(body.pos()) #foo(a: "1", b: "2", 1, 2, 3, 4, 5, 6)
https://github.com/Nasus20202/probale
https://raw.githubusercontent.com/Nasus20202/probale/main/skrypt.typ
typst
#let premium = false #set text( font: "New Computer Modern", size: 11pt ) #set page( paper: "a4", margin: (x: 0.5cm, y: 1cm), numbering: "1 / 1", footer: context [ #set text(8pt) #h(1fr) #counter(page).display( "1 / 1", both: true ) ], header: context [ #set text(8pt) ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/super-suboptimal/0.1.0/src/super-suboptimal.typ
typst
Apache License 2.0
// Element function for sequences #let sequence = $a b$.body.func() #let space = $a b$.body.children.at(1).func() #let text-func = $a b$.body.children.at(0).func() // Convert content to an array of its children #let to-children(content) = { if type(content) == str { content.clusters().map(char => [#char]) } el...
https://github.com/maucejo/book_template
https://raw.githubusercontent.com/maucejo/book_template/main/docs/manual.typ
typst
MIT License
#import "../src/book.typ": * #import "@preview/subpar:0.1.1" #import "./manual-template.typ": * #show: manual-template.with( abstract : [Ce package Typst est une proposition de modèle pour la rédaction de mémoire thèse ou de HDR pour les personnels du Laboratoire de Mécanique des Structures et des Systèmes Coupl...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/themes/metropolis.md
markdown
--- sidebar_position: 2 --- # Metropolis Theme ![image](https://github.com/touying-typ/touying/assets/34951714/a1b34b11-6797-42fd-b50f-477a0d672ba2) This theme is inspired by the [Metropolis beamer](https://github.com/matze/mtheme) theme created by <NAME> and transformed by [Enivex](https://github.com/Enivex). The ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/guide/renderer/vue3.typ
typst
Apache License 2.0
#import "/docs/cookery/book.typ": book-page #show: book-page.with(title: "Compiler Service") = Compiler Service Use `@myriaddreamin/typst.vue3` Coming soon.
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/布局/page/page.typ
typst
#image("屏幕截图 2024-04-16 162446.png") #image("屏幕截图 2024-04-16 162559.png") #image("屏幕截图 2024-04-16 162633.png") #image("屏幕截图 2024-04-16 162705.png") #image("屏幕截图 2024-04-16 164242.png") #image("屏幕截图 2024-04-16 164333.png") #image("屏幕截图 2024-04-16 164420.png") #image("屏幕截图 2024-04-16 164451.png") #image("屏幕截图 202...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/spue/anforderungen/erfolgreicher_unterricht.typ
typst
Other
#import "/src/template.typ": * == #ix("Erfolgreicher Unterricht", "Unterricht, erfolgreich") Unterricht in der Philosophie ist _problem_-#ix([], "Problemorientierung") und _kompetenzorientiert_#ix([], "Kompetenz"). Allgemeine Ziele des Unterrichts sind die Ausbildung von Kompetenzen, ein grundlegender Strukturgeber d...
https://github.com/jimvdl/typven
https://raw.githubusercontent.com/jimvdl/typven/master/README.md
markdown
Apache License 2.0
`typven` is a command-line interface for vendoring local Typst packages. Its core job is to take local packages that are not shared through [Typst's package management] and place them in the designated local Typst package directory to make them available system-wide. For more information see the Typst [packages] re...
https://github.com/fenjalien/cirCeTZ
https://raw.githubusercontent.com/fenjalien/cirCeTZ/main/parts.typ
typst
Apache License 2.0
#import "../typst-canvas/draw.typ": * #import "utils.typ": anchors #let and-gate-body = { merge-path(close: true, { arc((0,0), -90deg, 90deg, radius: 0.5, name: "curve", anchor: "origin") line( (0, 0.5), (-0.5, 0.5), (-0.5, -0.5) ) }) anchors(( "bin 1": (-0.5, 0.25), "in 1": ...
https://github.com/spidersouris/touying-unistra-pristine
https://raw.githubusercontent.com/spidersouris/touying-unistra-pristine/main/CHANGELOG.md
markdown
MIT License
# v1.1.0 (2024-10-16) ## General - Updated to Touying 0.5.3. ### Slides - **Hero Slides**: - Added the following parameters: `fill`, `inset`, `footnote`. - `fill` (color): allows to fill the entire slide with a color. It can be used to achieve a better result if an image with a fixed background color differen...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/layouts/doc.typ
typst
MIT License
// 文稿设置,可以进行一些像页面边距这类的全局设置 #let doc( // documentclass 传入参数 info: (:), // 其他参数 fallback: false, // 字体缺失时使用 fallback,不显示豆腐块 lang: "zh", margin: (x: 89pt), it, ) = { // 1. 默认参数 info = ( title: ("基于 Typst 的大学学位论文"), author: "张三", ) + info // 2. 对参数进行处理 // 2.1 如果是字符串,则使用换行符将标题分隔为列表 if t...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/ref_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set heading(numbering: "1.") = Introduction <intro> See @setup. == Setup <setup> As seen in @intro, we proceed.
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-bidi_07.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test whether L1 whitespace resetting destroys stuff. الغالب #h(70pt) ن#" "ة
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/lang_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 19-23 expected string or auto, found none // #set text(script: none)
https://github.com/wenjia03/JSU-Typst-Template
https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/Templates/实验报告(无框)/config/thesisInfo.typ
typst
MIT License
// #let title = "测试" #let name = "测试" #let stuId = "2021402296" #let majorGrade = "2021计算机科学与技术2班" #let guideTeacher = "张三" #let finishTime = "2021年6月" #let experimentName = "实验名称" #let experimentId = 2
https://github.com/gdg-cnu/thumbnail-renderer
https://raw.githubusercontent.com/gdg-cnu/thumbnail-renderer/main/using-typst-app/README.md
markdown
MIT License
# Typst 앱을 이용해 렌더링 ![](./.github/assets/a.png) [Typst 온라인 편집기](https://typst.app/app/)에 접속하고 새 프로젝트를 생성합니다. (회원가입 필요) ![](./.github/assets/b.png) 1. 이 폴더(`/using-typst-app`)에 [gdg-cnu/slide-typst](https://github.com/gdg-cnu/slide-typst)의 `lib` 폴더를 합칩니다. 2. 이 폴더의 내용물을 모두 새 프로젝트에 업로드합니다. \* `main.typ` 파일이 이미 ...
https://github.com/zenor0/FZU-report-typst-template
https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/lib.typ
typst
MIT License
#import "templates/report.typ": report-conf, thanks, appendix
https://github.com/vaucher-leo/template-tb-typst
https://raw.githubusercontent.com/vaucher-leo/template-tb-typst/main/README.md
markdown
MIT License
# template-tb-typst Template de TB en Typst # Usage To use this template, first edit the config.typ file with your informations and change the language in the main.typ if you want it in English. # Compiling ## VS Code To use it in VS Code, just install theses extensions: - Typst LSP (id: nvarner.typst-lsp ) - Typs...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/parse-module.typ
typst
MIT License
#import "tidy-parse.typ" #import "styles.typ" #let resolve-parents(function-docs) = { for i in range(function-docs.len()) { let docs = function-docs.at(i) if not "parent" in docs { continue } let parent = docs.parent if parent == none { continue } let parent-docs = function-docs.find(x...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/colors.typ
typst
MIT License
#import "catppuccin.typ": * #let theirs = catppuccin.latte.peach #let ours = catppuccin.latte.lavender #let variable = catppuccin.latte.green #let factor = catppuccin.latte.lavender
https://github.com/jamesrswift/chemicoms-paper
https://raw.githubusercontent.com/jamesrswift/chemicoms-paper/main/tests/example/credit.typ
typst
#let credits = ( concept: [Conceptualization], // Ideas; formulation or evolution of overarching research goals and aims methodology: [Methodology], // Development or design of methodology; creation of models software: [Software], // Programming, software development; designing computer programs; implementa...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/deco_09.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test strike background #set strike(background: true, stroke: 5pt + red) #strike[This is in the background]
https://github.com/s-ccs/consentform_gh_action
https://raw.githubusercontent.com/s-ccs/consentform_gh_action/main/_extensions/custom/typst-template.typ
typst
// This is an example typst template (based on the default template that ships // with Quarto). It defines a typst function named 'article' which provides // various customization options. This function is called from the // 'typst-show.typ' file (which maps Pandoc metadata function arguments) // // If you are creatin...
https://github.com/OrangeX4/typst-tablem
https://raw.githubusercontent.com/OrangeX4/typst-tablem/main/examples/example.typ
typst
MIT License
#import "@preview/tablex:0.0.6": tablex, hlinex #import "../tablem.typ": tablem #set page(width: 30em, height: auto) #tablem[ | *Name* | *Location* | *Height* | *Score* | | ------ | ---------- | -------- | ------- | | John | Second St. | 180 cm | 5 | | Wally | Third Av. | 160 cm | 10 | ] #...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Templates/assignment.typ
typst
#let NumberingAfter(doc) = { let level = 1 set heading( numbering: (..numbers) => if numbers.pos().len() <= level { return numbering("1", ..numbers) }, supplement: "Question", ) show heading: it => { if (it.numbering == none or it.level > 1) { return it } let numbers = counte...
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/document.typ
typst
MIT License
#import "palette.typ": DEFAULT-PALETTE, update-palette, generate-admonition-palette, table-fill, table-stroke #import "metadata.typ": get-metadata, update-metadata #import "raw-links.typ" as _raw-links #import "requirements.typ" as _requirements /* A state that holds the page number where the `backmatter` starts at. ...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework2.typ
typst
#import "../template.typ": * #show: project.with( title: "Calculus Homework #2", authors: (( name: "<NAME> (#47)", email: "<EMAIL>", phone: "3230104585" ),), date: "September 28, 2023", ) = 习题1-2 2(3) #prob[按定义证明数列极限:$ lim_(n->oo)(sqrt(n+1)-sqrt(n))=0 $] $forall eps>0$,要使 $ |sqrt(n+1)-sqrt(n)-0|<eps <...
https://github.com/jneug/typst-typopts
https://raw.githubusercontent.com/jneug/typst-typopts/main/README.md
markdown
MIT License
# typst-typopts A *Typst* package to conveniently handle options and arguments.
https://github.com/gianzamboni/cancionero
https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/16-tons.typ
typst
#import "../theme/project.typ": *; #cancion("16 Tons","<NAME>")[ Some people say a man is made outta mud A poor man's made outta muscle and blood Muscle and blood and skin and bones A mind that's a-weak and a back that's strong You load 16 tons, what do you get? Another day older and deeper in debt St. Peter, don't yo...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/import_path_inner.typ
typst
Apache License 2.0
// path: base.typ ----- #import /* position after */ "base.typ"
https://github.com/LDemetrios/ProgLectures
https://raw.githubusercontent.com/LDemetrios/ProgLectures/main/03-kotlin-inheritance.typ
typst
#import "kotlinheader.typ" : * #import "@preview/cetz:0.1.2" #show : kt-paper-rule = Контракты и наследование == Интерфейсы #kt-par[ Так, допустим, у нас есть некая реализация динамического массива целых чисел. Мы можем безболезненно вставлять элемент по любому неотрицательному индексу и массив автоматически ...
https://github.com/sergiodrd/analisis_real
https://raw.githubusercontent.com/sergiodrd/analisis_real/main/tarea3/main.typ
typst
#import "template.typ": * #let title = "Tarea 3" #let author = "<NAME>" #let course_id = "MATE 5201" #let instructor = "<NAME>" #let semester = "C41" #let due_time = "7 de octubre" #set enum(numbering: "a)") #set math.equation(numbering: "(1)", supplement: "la ecuación") #show: assignment_class.with(title, author, cour...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/template/content/preface.typ
typst
Apache License 2.0
/*** preface.typ * * Write the preface (alkusanat) of your work here. * **/ This #link("https://typst.app/docs/")[typst] document template is intended to support writing theses in the technical fields in Tampere University. The template is based on the earlier one from the Tampere University of Technology, but it ...
https://github.com/matteobongio/TCR-typ
https://raw.githubusercontent.com/matteobongio/TCR-typ/master/main.typ
typst
#import "@preview/showybox:2.0.1": showybox #import "@preview/codly:0.2.0": * #show: codly-init.with() #import "@preview/lovelace:0.2.0": * #show: setup-lovelace #let comment(body) = { let centered-asterisk = "*" // "\u{2217}" let s = "/" + centered-asterisk + " " + body + " " + centered-asterisk + "/" let t = ...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/glossary.typ
typst
#import "@preview/gloss-awe:0.0.5": * // Defining the Glossary Pool with definitions. #let glossary-pool = ( StudyBase: ( description: [ Das gemeinsame Backend von verschiedenen Anwendungen der Abteilung Informatik. ] ), StudyGraph: ( ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/modules/base.typ
typst
Apache License 2.0
// path: may_import.typ ----- #import "may_import.typ"
https://github.com/505000677/2024SpringNote
https://raw.githubusercontent.com/505000677/2024SpringNote/main/2056/note-1.typ
typst
#import "../tizart.typ": * #show: project.with( title: "笔记", authors: (yuanxiang,), date: datetime.today() ) #show link: underline #outline() /*#lorem(5)*/ #set heading(numbering: "1.1.") = Day1 #definition(name: "Big Data Denfinition - The Three VS")[ #block(inset: (left: 2em))[ - *Volume* - size does matter...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/linebreak_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // A relation followed by a relation doesn't linebreak #let hrule(x) = box(line(length: x)) #hrule(70pt)$a < = b$\ #hrule(74pt)$a < = b$
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/disclaimer.typ
typst
Other
#import "common/metadata.typ": * #let disclaimer( title: "", degree: "", author: "", submissionDate: none, signature: none, ) = { pagebreak(weak: true) v(80%) text("I confirm that this " + degree + "'s thesis is my own work and I have documented all sources and material used.") v(15mm) grid( ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/044%20-%20Innistrad%3A%20Crimson%20Vow/001_Episode%201%3A%20Tithes%20and%20Invitations.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: Tithes and Invitations", set_name: "Innistrad: Crimson Vow", story_date: datetime(day: 28, month: 10, year: 2021), author: "<NAME>", doc ) Stensia sleeps soundly. The sleep of the undisturbed, the sleep of the carefree, the sleep...
https://github.com/Maeeen/thesis_template_typst
https://raw.githubusercontent.com/Maeeen/thesis_template_typst/master/thesis.typ
typst
#import "./template/template.typ": * #show: setup-page-counting #title_page( title: "A wonderful thesis about the merits of scientific writing", logos: ( image("./logos/EPFLlogo.svg"), image("./logos/LABlogo.svg") ), body: [ Approved by the Examining Committee: Prof. Dr. sc. ETH <NAME> \ ...
https://github.com/ahplev/notes
https://raw.githubusercontent.com/ahplev/notes/main/qm/3d.typ
typst
#set text( font: "Noto Sans SignWriting Regular", ) #set math.equation(numbering: "1", supplement: [Eq.]) == Equation in 3 dimensions Schrodinger’s equation: $ i planck.reduce (diff Psi)/(diff t) = hat(H) Psi $ <seq> Hamiltonian: $ -(planck.reduce^2)/(2m) nabla^2 + V $ with time-independent potential $V$, $ -(planck.r...
https://github.com/mrknorman/cv
https://raw.githubusercontent.com/mrknorman/cv/main/template.typ
typst
#let left_column_size = 25% #let grid_column_gutter = 8pt #let main_color = rgb("#8B1B65") #let heading_color = main_color #let job_color = rgb(115, 115, 115) #let project( title: "", author: [], phone: "", email: "", github: "", linkedin : "", left_column_size: left_column_size, grid_column_gutter: g...
https://github.com/figarofuga/Typst-template
https://raw.githubusercontent.com/figarofuga/Typst-template/main/Sepsis_iv/sepsis_iv.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": * // Make the paper dimensions fit for a presentation and the text larger #set page(paper: "presentation-16-9") #set text(font: "Noto Serif CJK JP", size: 20pt) #set footnote.entry(clearance: 0.1em, gap: 0.2em) #show heading:set alig...
https://github.com/MDLC01/board-n-pieces
https://raw.githubusercontent.com/MDLC01/board-n-pieces/main/README.md
markdown
MIT License
# Board & Pieces This is a [Typst](https://github.com/typst/typst) package to display chessboards. It is available on [Typst Universe](https://typst.app/universe/package/board-n-pieces). ## Project structure This project consists of a Typst library and a plugin written in Rust. Sources for the library are under [`s...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/8-maly-princ.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo, hrule #dilo("Malý princ", "princ", "<NAME>", "<NAME>", "Světová meziválečná lit.", "Francie", "1943", "epika", "filozofická pohádka") #columns(2, gutter: 1em)[ *Téma*\ Poukázání na rozdíly mezi světem dospělých a dětí. Důraz na důležitost přátelství, lásky a věrnosti. *Motivy*\ ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-23.typ
typst
Other
// Error: 20-22 unexpected argument #(1, 2, 3).fold(0, () => none)
https://github.com/jangala-dev/product-docs
https://raw.githubusercontent.com/jangala-dev/product-docs/main/pdf/template/template.typ
typst
// This function sets our whole manual as its `body` and formats // it as a simple fiction book. #let manual( // The manual title. title: [Manual title], // The author. author: none, // The paper size to use. paper: none, // Details about the book's publisher that are // display on the second page. ...
https://github.com/Sematre/typst-letter-pro
https://raw.githubusercontent.com/Sematre/typst-letter-pro/main/README.md
markdown
MIT License
# typst-letter-pro A template for creating business letters following the DIN 5008 standard. ## Overview typst-letter-pro provides a convenient and professional way to generate business letters with a standardized layout. The template follows the guidelines specified in the DIN 5008 standard, ensuring that your letter...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/063.%20island.html.typ
typst
island.html The Island Test July 2006I've discovered a handy test for figuring out what you're addicted to. Imagine you were going to spend the weekend at a friend's house on a little island off the coast of Maine. There are no shops on the island and you won't be able to leave while you're there. Also, you've neve...
https://github.com/songguokunsgg/HUNNU-Typst-Master-Thesis
https://raw.githubusercontent.com/songguokunsgg/HUNNU-Typst-Master-Thesis/master/thesis.typ
typst
MIT License
#import "hnu-thesis/template.typ": documentclass, tablex, fig, tlt, indent, 字体, 字号 #import "hnu-thesis/template.typ": tablex, gridx, hlinex, vlinex, colspanx, rowspanx, tophlinex, midhlinex, bottomhlinex, midvlinex, topvlinex, bottomvlinex // 双面模式,会加入空白页,便于打印 #let twoside = false #let ( doc, preface, mainmatter, ma...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/keyle/0.1.0/doc/keyle.typ
typst
Apache License 2.0
#import "@preview/mantys:0.1.4": * // Vendored because of https://github.com/jneug/typst-mantys/pull/20 #let cmdref(name) = { link(cmd-label(name), cmd-(name)) } // End Vendored #import "../src/keyle.typ" #let lib-name = package[keyle] #show: mantys.with(..toml("../typst.toml"), date: datetime.today(), examples-sc...
https://github.com/cui-ke/semantic-tech
https://raw.githubusercontent.com/cui-ke/semantic-tech/main/courses/Semantic%20Web/Chapters/05-Description_Logics/dl-exercises.typ
typst
#let title = [Exercises on Description Logics] #align(left, text(17pt)[ *#title* ]) <NAME> #let II = $cal(I)$ #let subclass = $subset.eq.sq$ #let ors = $union.sq$ #let ands = $sect.sq$ = 1. Interpretations and models 1. Prove that the DL expressions / E1 = : $forall r . (C union.sq D)$ / E2 =: $(forall r...
https://github.com/Pegacraft/typst-plotting
https://raw.githubusercontent.com/Pegacraft/typst-plotting/master/readme.md
markdown
MIT License
# A plotting library for Typst A Typst library for drawing graphs and plots. Made by Gewi413 and Pegacraffft ## Currently supported graphs - Scatter plots - Graph charts - Histograms - Bar charts - Pie charts - Overlaying plots/charts (more to come) ## How to use To use the package you can import it throug...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/footnote-list_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 100pt) #block(height: 50pt, width: 100%, fill: aqua) - #footnote[1] - #footnote[2]
https://github.com/simon-epfl/notes-ba3-simon
https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/shs/template.typ
typst
// TODO: 1. Make sure no page breaks between the blocks and their titles /* Blocks */ // Pls add or remove elements in this array first, // if you want to add or remove the class of blocks #let classes = ("Definition", "Lemma", "Theorem", "Corollary") #let h1_marker = counter("h1") #let h2_marker = counter("h2") #le...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/compose.typ
typst
#import("../Template/customFunctions.typ"): * #codly( skips: ((5, 6), (19, 7)), highlights:( (line: 12, fill: red, label: <volume>), ) ) ```yml name: studymodules_project services: frontend: image: localhost/studymodules-frontend backend: image: localhost/studybase-backend ports: - "3...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/ea2724-ai_hw/hw4.typ
typst
== HW4 Due 2024.04.09 #let ans(it) = [ #pad(1em)[ #text(fill: blue)[ #it ] ] ] === Question 5.9 5.9 本题以井字棋(圈与十字游戏)为例练习博弈中的基本概念. 定义 $X_n$ 为恰好有 $n$ 个 $X$ 而没有 $O$ 的行、列或者对角线的数目. 同样 $O_n$ 为正好有 $n$ 个 $O$ 的行、列或者对角线的数目. 效用函数给 $X_3=1$ 的棋局 $+1$, 给 $O_3 = 1$ 的棋局 $-1$. 所有其他终止状态效用值为 $0$. 对于非终止状态, 使用线性的评估函数定义为 $...
https://github.com/jakoblistabarth/ica-conference-series-abstract-template
https://raw.githubusercontent.com/jakoblistabarth/ica-conference-series-abstract-template/main/README.md
markdown
# typst template for the ICA abstracts of the ICA conferences series This repo implements the official [ICA abstracts of the ICA conference series](https://www.abstracts-of-the-ica.net/) as [typst](https://typst.app/docs/) template. It is based in particular on the official [`LaTeX` Template](https://www.ica-conferenc...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/pintorita/0.1.0/pintorita.typ
typst
Apache License 2.0
#import "@preview/jogs:0.2.2": compile-js, call-js-function #let pintora-src = read("./pintora.js") #let pintora-bytecode = compile-js(pintora-src) #let render(src, ..args) = { let svg-output = call-js-function(pintora-bytecode, "PintoraRender", src) let named-args = args.named() let factor = named-args.at("fa...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/with_element.typ
typst
Apache License 2.0
#let g = text.with(/* position */);
https://github.com/jneug/typst-mantys
https://raw.githubusercontent.com/jneug/typst-mantys/main/src/theme.typ
typst
MIT License
#let page = ( paper: "a4", margin: auto ) #let fonts = ( serif: ("Linux Libertine", "Liberation Serif"), sans: ("Liberation Sans", "Helvetica Neue", "Helvetica"), mono: ("Liberation Mono"), text: ("Linux Libertine", "Liberation Serif"), headings: ("Liberation Sans", "Helvetica Neue", "Helvetica"), c...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/tests/test_parse_argument_list.typ
typst
MIT License
#import "/src/tidy-parse.typ": * //// General test #{ let str = "#let func(p1, p2: 3pt, p3: (), p4: (entries: ()), p5, \"as:d\")" let (args, processed-chars) = parse-argument-list(str, 9) assert.eq(processed-chars, str.len() - 9) assert.eq(args.len(), 6) assert.eq(args.at(0), ("p1",)) assert.eq(args.at(1)...
https://github.com/jakoblistabarth/ica-conference-series-abstract-template
https://raw.githubusercontent.com/jakoblistabarth/ica-conference-series-abstract-template/main/main.typ
typst
#import "ica-abstract.typ": * #show: ica-abstract.with( title: "Guidelines for authors preparing manuscripts for publication in the Abstracts of the ICA conference series (Title of paper)", authors: ( ( name: "<NAME>", affiliations: ( id: 1, email: "<EMAIL>", ), correspo...
https://github.com/jhnko/umu-templates
https://raw.githubusercontent.com/jhnko/umu-templates/main/report/main.typ
typst
The Unlicense
#import "@preview/codelst:2.0.1": sourcecode, code-frame #import "template.typ": * // Makes the code listings look a bit nicer. #let code-frame = code-frame.with( fill: none, stroke: 0.6pt + luma(150), ) #let sourcecode = sourcecode.with(frame: code-frame) #show heading: it => { set text(weight: "regular") ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-30A0.typ
typst
Apache License 2.0
#let data = ( ("KATAKANA-HIRAGANA DOUBLE HYPHEN", "Pd", 0), ("KATAKANA LETTER SMALL A", "Lo", 0), ("KATAKANA LETTER A", "Lo", 0), ("KATAKANA LETTER SMALL I", "Lo", 0), ("KATAKANA LETTER I", "Lo", 0), ("KATAKANA LETTER SMALL U", "Lo", 0), ("KATAKANA LETTER U", "Lo", 0), ("KATAKANA LETTER SMALL E", "Lo", ...
https://github.com/SillyFreak/typst-packages-old
https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/scrutinize/gallery/test.typ
typst
MIT License
#import "@preview/scrutinize:0.2.0": grading, question, questions // #import "../src/lib.typ" as scrutinize: grading, question, questions // you usually want to alias this, as you'll need it often #import question: q // make the PDF reproducible to ease version control #set document(date: none) #set table(stroke: 0....
https://github.com/htlwienwest/da-vorlage-typst
https://raw.githubusercontent.com/htlwienwest/da-vorlage-typst/main/lib/template.typ
typst
MIT License
#import "elements.typ" as elems #import "settings.typ" as settings #import "fontchecker.typ" as fc #import "assertions.typ": * #let diplomarbeit( titel: none, abteilung: none, unterschrifts-datum: none, schuljahr: none, autoren: none, kurzfassung: none, abstract: none, vorwort: none, danksagung: no...
https://github.com/matchy233/typst-chi-cv-template
https://raw.githubusercontent.com/matchy233/typst-chi-cv-template/main/template/resume.typ
typst
MIT License
#import "/src/chicv.typ": * #show: chicv.with( margin: (x: 1cm, top: 1.5cm, bottom: 2cm), par-padding: (left: 0pt, right: 0pt), ) = <NAME> #personal-info( email: "<EMAIL>", github: "https://github.com/skyzh", website: "https://skyzh.dev", linkedin: "https://www.linkedin.com/in/alex-chi-skyzh/", // x-tw...
https://github.com/TheRealKaup/Journal
https://raw.githubusercontent.com/TheRealKaup/Journal/main/README.md
markdown
# Kaup's Public Journal I upload here my essays (some in Hebrew, some in English), provided as source Typst and compiled PDF. License is specified per file. `"draft/"` contains essays expected to undergo significant changes (e.g. in approache and argumentation) until considered complete enough to be moved to `"release...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2500.typ
typst
Apache License 2.0
#let data = ( ("BOX DRAWINGS LIGHT HORIZONTAL", "So", 0), ("BOX DRAWINGS HEAVY HORIZONTAL", "So", 0), ("BOX DRAWINGS LIGHT VERTICAL", "So", 0), ("BOX DRAWINGS HEAVY VERTICAL", "So", 0), ("BOX DRAWINGS LIGHT TRIPLE DASH HORIZONTAL", "So", 0), ("BOX DRAWINGS HEAVY TRIPLE DASH HORIZONTAL", "So", 0), ("BOX DR...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/theme/asm.typ
typst
#let asmcolors-light = ( instruction: rgb("871094"), register: rgb("00627A"), number: rgb("1750EB"), dwordptr: rgb("871094"), comment: rgb(139, 139, 139), label: rgb("0033B3"), constant: rgb("0033B3") ) #let highlight(input, theme, no-mnemonic: false) = { let rules = ( (regex("\#.*"), theme.comm...
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/README.md
markdown
# 🚀 Typst goes brrrrrrrrr Benchmarking runner used to benchmark the performance of the [Typst](https://typst.app/) compiler.
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/projects/hexo-renderer-typst/README.md
markdown
Apache License 2.0
# hexo-renderer-typst Typst renderer plugin for Hexo. ### Installation Install Hexo dependencies: ```shell npm install @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer @myriaddreamin/typst-ts-node-compiler npm install hexo-renderer-typst ``` Caution: You must algin the version of all of the above packages....
https://github.com/jrihon/cv
https://raw.githubusercontent.com/jrihon/cv/main/metadata.typ
typst
/* Personal Information */ // https://github.com/mintyfrankie/brilliant-CV <- Original repo #let firstName = "Jérôme" #let lastName = "Rihon" #let personalInfo = ( github: "jrihon", phone: "+32 123 45 78 90", email: "<EMAIL>", linkedin: "jérôme-rihon", orcid: "0000-0002-9207-1556", address: "Thatstreet 1, ...
https://github.com/AnsgarLichter/cv-typst
https://raw.githubusercontent.com/AnsgarLichter/cv-typst/main/modules/header.typ
typst
#import "../settings/styles.typ": * #import "utils.typ": * #let renderSocials( socials: () ) = { let columns = () for item in socials { columns.push( [ #item.icon #link(item.link, item.text) ] ) } return columns } #let createHeaderInfo( fullName: [], jobTitle: [], ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PreventivoSprint/SecondaRevisione.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "PrimaRevisione.typ": rimanente_ore, rimanente_soldi #import "../../functions.typ": glossary #let ruoli_ore = ( Re: 17, Am: 20, An: 12, Pt: 60, Pr: 92, Ve: 78, ) #let costo_ruoli_ore=( Costo_Re: Re_cost * ruoli_ore...
https://github.com/olligobber/friggeri-cv
https://raw.githubusercontent.com/olligobber/friggeri-cv/master/example.typ
typst
#import "friggeri.typ": cv, entries #import "link.typ": email #show: doc => cv( [<NAME>], subtitle: [Excellent Candidate for Position], [ = Contact 42 Wallaby Way \ Sydney, NSW \ Australia #v(2mm) #email("<EMAIL>", display:[ example \ \@<EMAIL>.com ]) #v(2mm) #link("https://github.com/o...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/space_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test spacing with comments. A/**/B/**/C \ A /**/ B/**/C \ A /**/B/**/ C
https://github.com/pornmanut/resume
https://raw.githubusercontent.com/pornmanut/resume/main/template.typ
typst
// This file uses a template from the typst-mixed-resume project. // Credit: https://github.com/titaneric/typst-mixed-resume #let contact(text: "", link: none, type: "") = { (text: text, link: link, type: type) } #let subSection(title: "", titleEnd: none, subTitle: none, subTitleEnd: none, link: none, content: []) ...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/nutzung.typ
typst
Other
#import "/src/template.typ": en #set heading(outlined: false) = Nutzungshinweise == Inhalt Auch wenn die Gestaltung und der Name des KÜKs als Parodie an den MÜK angelehnt sind, soll hier versucht werden die Inhalte der Philosophiedidaktik-Seminare an der Universität Rostock ernsthaft aufzuarbeiten und zusammenzufass...
https://github.com/KanarekLife/CV
https://raw.githubusercontent.com/KanarekLife/CV/main/README.md
markdown
# <NAME>'s CV Repository with my CV and Typst source files. ## How to run? To build your own version of this CV, you need to download and configure Typst on your system. ### Development mode ```bash ./bin/typst watch --font-path fonts cv.typ ``` ### Build ```bash ./bin/typst compile --font-path fonts cv.typ ``` ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PreventivoSprint/PrimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": prospettoOrario, prospettoEconomico, glossary == Primo #glossary[sprint] *Inizio*: Venerdì 10/11/2023 *Fine*: Giovedì 23/11/2023 #prospettoOrario(sprintNumber: "1") #prospettoEconomico(sprintNumber: "1")
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/notes.typ
typst
automatically align math equals using "&" anchor show goes with ":" set is a function call datetime ... is pretty useful should be a way to locate the definitions on the present page datetime.today is useful you can automatically generate terms #datetime.today().display( "[month repr:short] [year] Week [we...
https://github.com/andreasKroepelin/typst-notebook
https://raw.githubusercontent.com/andreasKroepelin/typst-notebook/main/template-notebook.typ
typst
MIT License
#let notebook( tags: (:), title: [Notebook], author: none, page-width: 50em, body ) = { set page(width: page-width, height: auto, margin: 3em) for tag in tags.keys() { let curr-value = tags.at(tag) if type(curr-value) == "color" { tags.insert(tag, (color: curr-value, text-color: white)) } } let nam...
https://github.com/emfeltham/emf-cv
https://raw.githubusercontent.com/emfeltham/emf-cv/main/simplecv.typ
typst
// Based on https://www.overleaf.com/latex/templates/autocv/scfvqfpxncwb and https://www.overleaf.com/latex/templates/faangpath-simple-template/npsfpdqnxmbc #set list(indent: 1em) // Reduce space between paragraphs. #let par_space = 0.5em // Reduce space between headings and descriptions. #let sep_space = par_space + ...
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/two_columns_demo.typ
typst
#import "two_columns.typ": make_pages #show: make_pages.with( title: "析锂检测" ) #let person_info = ( name: "小猪妖", address: "浪浪山", home_page: "https://rakulang.github.io", phone_number: "123456" ) = 周一 #lorem(10) = 周二 #lorem(10) - 颠三倒四多大点事 - 实得分数但是算法 - 等梦醒来啊醒来呀 = 今天周三 - 测试 - 测试 - 测试 #colbreak() = test...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S5/SYE/docs/4-Processus%26ContextChange/processus-changement-context.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Processus et changements de contextes ], lesson: "SYE", chapter: "4 - Processus & changement de context", definition: "Definition", col: 1, doc, ) = Structure PCB (Process Control Block) - PCB (Process Control Block) - F...
https://github.com/francescoo22/masters-thesis
https://raw.githubusercontent.com/francescoo22/masters-thesis/main/preface/acknowledgements.typ
typst
#pagebreak(to:"odd") #import "../config/variables.typ" : profTitle, myProf, myLocation, myTime, myName #import "../config/constants.typ" : acknowledgements #set par(first-line-indent: 0pt) #set page(numbering: "i") #align(right, [ #box(align( start, text( style: "italic", ...
https://github.com/jonsch318/rules_typst
https://raw.githubusercontent.com/jonsch318/rules_typst/main/CONTRIBUTING.md
markdown
Apache License 2.0
# How to Contribute ## Using devcontainers If you are using [devcontainers](https://code.visualstudio.com/docs/devcontainers/containers) and/or [codespaces](https://github.com/features/codespaces) then you can start contributing immediately and skip the next step. ## Formatting Starlark files should be formatted by...
https://github.com/FelipeCybis/quarto-physmed-template
https://raw.githubusercontent.com/FelipeCybis/quarto-physmed-template/main/physmed-poster-portrait/README.md
markdown
MIT License
## Physmed Quarto/Typst poster portrait template Check the [example PDF here](https://felipecybis.github.io/quarto-physmed-template/physmed-poster-portrait/template.pdf).
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/node-shapes/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge, shapes #diagram( node-stroke: 1pt, node-outset: 5pt, axes: (ltr, ttb), node((0,0), $A$, radius: 5mm), edge("->"), node((1,1), [crowded], shape: shapes.house, fill: blue.lighten(90%)), edge("..>", bend:...
https://github.com/janlauber/bachelor-thesis
https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/chapters/literature_review.typ
typst
Creative Commons Zero v1.0 Universal
= Analysis of the Current Landscape and Challenges This chapter analyzes the current landscape of OSS deployment, highlighting key technologies in use, prevalent challenges, and gaps that the One-Click Deployment system seeks to address. The analysis and insights are derived from *Project 2*, also conducted at the Ber...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/sys.typ
typst
Apache License 2.0
//! Variables for typst.ts's dyn-svg controlling the layout //! Here is a good example of dynamic layout template: <https://github.com/Myriad-Dreamin/shiroa/blob/308e0aacc2578e9a0c424d20332c6711d1df8d1c/contrib/typst/gh-pages.typ> /// The default target is _pdf_. /// `typst.ts` will set it to _web_ when rendering a dy...
https://github.com/ShapeLayer/ucpc-solutions__typst__archived
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst__archived/main/theme.typ
typst
Other
/* MIT License Copyright (c) 2024 Park, Jonghyeon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
https://github.com/alex-touza/fractal-explorer
https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/paper/src/shortcuts.typ
typst
#import "../meta.typ": PRINT #let colon = $#h(0%):$ #let hausdorffdelta = $cal(H)_delta^s (A)$ #let hausdorff = $cal(H)^s (A)$
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/utils/state.typ
typst
#let outline = state("__ctf:state:outline", false) #let appendix = state("__ctf:state:appendix", false)
https://github.com/jamesrswift/springer-spaniel
https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/impl.typ
typst
The Unlicense
#import "package/ctheorems.typ": thmrules #import "package/gentle-clues.typ": gentle-clues #import "package/drafting.typ" as drafting #import "package/codly.typ" as codly #import "models/debug.typ" as debug-models #let template( title: [Contribution Title], authors: (), abstract: none, debug: false, printe...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/guide/renderer/hexo.typ
typst
Apache License 2.0
#import "/docs/cookery/book.typ": book-page #show: book-page.with(title: "Hexo Library") = Hexo Library == Installation Install Hexo dependencies: Note: please align the version of the dependencies to same vesrion, otherwise you may get runtime rendering error. ```bash // ensure dependencies is installed npm inst...