repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/monaqa/typscrap.nvim
https://raw.githubusercontent.com/monaqa/typscrap.nvim/master/class/component/href.typ
typst
#let parse_url(url) = { let body = url.trim(regex("http[s]?://")) let (domain, ..path_ary) = body.split("/") let paths = path_ary.join("/") return (domain: domain, paths: paths, path_ary: path_ary) } #let is_raw_link(it) = { return it.dest == it.body.at("text", default: none) } #let default_link_style(it) =...
https://github.com/maxwell-thum/typst-pf3
https://raw.githubusercontent.com/maxwell-thum/typst-pf3/main/README.md
markdown
MIT License
# typst-pf3 Unofficial Typst "port" of Leslie Lamport's `pf2.sty` LaTeX style ([link](https://lamport.azurewebsites.net/latex/pf2.sty)) for writing structured proofs (see Lamport's [_How to Write a 21st Century Proof_](https://lamport.azurewebsites.net/pubs/proof.pdf)) See also https://lamport.azurewebsites.net/latex/...
https://github.com/Vikingu-del/Resume
https://raw.githubusercontent.com/Vikingu-del/Resume/main/EnglishResume/main.typ
typst
MIT License
#import "template.typ": * #set page( margin: ( left: 10mm, right: 10mm, top: 15mm, bottom: 10mm ), ) #set text(font: "Mulish") #show: project.with( theme: rgb("#0F83C0"), name: "<NAME>", title: "Software Engineer", contact: ( contact( text: "+49 176 361 713 25" ), con...
https://github.com/brainworkup/neuropsych-report
https://raw.githubusercontent.com/brainworkup/neuropsych-report/main/_extensions/neuropsych-report/typst-template.typ
typst
#let script-size = 7.97224pt #let footnote-size = 8.50012pt #let small-size = 9.24994pt #let normal-size = 10.00002pt #let large-size = 11.74988pt #let neuropsych-report( title: "", authors: (), date: none, // The path to a bibliography file if you want to cite some external // works. // The article's pa...
https://github.com/GuTaoZi/SUSTech-thesis-typst
https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/utils/typst-boxes.typ
typst
MIT License
//import from https://github.com/lkoehl/typst-boxes #let colorbox(title: "title", color: none, radius: 2pt, width: auto, body) = { let strokeColor = luma(70) let backgroundColor = white if color == "red" { strokeColor = rgb(237, 32, 84) backgroundColor = rgb(253, 228, 224) } else if color =...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/README.md
markdown
<h1>Table Tennis Rankings</h1> This repository demonstrates an excellent table tennis international ranking algorithm that better reflects the actual competitive level of table tennis players compared to the simple ELO algorithm and the new ranking method used by ITTF after January 1, 2018. The algorithm uses data pro...
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/typst-ansi_render/README.md
markdown
# ANSI Escape Sequence Renderer <a href="https://github.com/8LWXpg/typst-ansi_render/tags"> <img alt="GitHub manifest version (path)" src="https://img.shields.io/github/v/tag/8LWXpg/typst-ansi_render"> </a> <a href="https://github.com/8LWXpg/typst-ansi_render"> <img src="https://img.shields.io/github/stars/8LWXpg/...
https://github.com/ryuryu-ymj/mannot
https://raw.githubusercontent.com/ryuryu-ymj/mannot/main/examples/usage2.typ
typst
MIT License
#import "/src/lib.typ": * #set page(width: auto, height: auto, margin: (x: 2cm, y: .5cm), fill: white) #set text(24pt) #show: mannot-init $ // Need # before color names. mark(3, color: #red) mark(x, color: #blue) + mark(integral x dif x, color: #green) $
https://github.com/Mc-Zen/prism-typst
https://raw.githubusercontent.com/Mc-Zen/prism-typst/master/README.md
markdown
MIT License
# Prism-Typst _Syntax-highlighting Typst code with [Prism](https://prismjs.com/)_ [![Node.js CI](https://github.com/Mc-Zen/prism-typst/actions/workflows/node.js.yml/badge.svg)](https://github.com/Mc-Zen/prism-typst/actions/workflows/node.js.yml) A demo, which also explains some things, can be found [here](https://m...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/deco_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test a bounds highlight. #set highlight(top-edge: "bounds", bottom-edge: "bounds") #highlight[abc] #highlight[abc #sym.integral]
https://github.com/ryuryu-ymj/mannot
https://raw.githubusercontent.com/ryuryu-ymj/mannot/main/src/mark.typ
typst
MIT License
#let _mark-cnt = counter("_mannot-mark-cnt") #let _sequence-func = (math.text("x") + math.text("y")).func() #let _align-point-func = $&$.body.func() #let _remove-leading-h(content) = { if content.func() == _sequence-func { let children = content.children if children.len() == 0 { return (none, none) ...
https://github.com/Tran-Thu-Le/typst-collection
https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/book-cover/book-cover-version2.typ
typst
#let title = align(center)[#text(fill: red, size: 5em, stroke: 1pt+white)[*A book's cover*]] #let subtitle = align(center)[#text(fill: white, size: 3em, stroke: none)[_For creating Typst books_]] #let author = align(right)[#text(fill: white, size: 2.5em, stroke: none)[By *<NAME>*] #h(4em)] #let year = align(center)[#te...
https://github.com/Blezz-tech/math-typst
https://raw.githubusercontent.com/Blezz-tech/math-typst/main/Картинки/Демо вариант 2024/Задание 03.1.typ
typst
#import "@preview/cetz:0.1.2" #import "/lib/my_cetz.typ": cilynder #set align(center) #cetz.canvas(length: 0.5cm, { import cetz.draw: * let cilynder-color = blue.lighten(80%) cilynder( width: 4 , height: 5 , water: 70 , colors: ( top: cilynder-color , bott...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/multiline-06.typ
typst
Other
// Test no trailing line break. $ "abc" &= c $ No trailing line break.
https://github.com/benedictweis/typst-actions-demo
https://raw.githubusercontent.com/benedictweis/typst-actions-demo/main/README.md
markdown
MIT License
# typst-actions-demo A Demo for using Github Actions and Releases to add CI/CD to your Typst projects
https://github.com/Languisher/touying-sjtu
https://raw.githubusercontent.com/Languisher/touying-sjtu/main/template/test.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.4.5" as fletcher: node, edge #import "@preview/touying:0.4.2": * #import "../lib.typ" as buaa-theme // cetz and fletcher bindings for touying #let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true)) #let fletcher-d...
https://github.com/Chwiggy/thesis_bachelor
https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/chapters/07_discussion.typ
typst
#import "../preamble.typ": * = Discussion Well, what does that mean for these two potential indicators of travel time? In the following sections I discuss these indicators and see how they fit in with results from other studies. First again, this will concern the mean travel time indicator, and second the travel tim...
https://github.com/kpbaks/typst.fish
https://raw.githubusercontent.com/kpbaks/typst.fish/main/README.md
markdown
MIT License
# typst.fish Some functions to make it easier to work with typst
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/vertical-2.typ
typst
Other
#import "/lib/draw.typ": * #import "/lib/glossary.typ": tr #let start = (0, 0) #let end = (800, 500) #let base = (40, 100) #let widths = (0, 270, 728) #let ys = (365, 300, 210, 0, -80) #let graph = with-unit((ux, uy) => { // mesh(start, end, (100, 100), stroke: 1 * ux + gray) let (bx, by) = base let line-stro...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/parameter-pattern.typ
typst
Apache License 2.0
// Test that underscore works in parameter patterns. // Ref: false --- #test((1, 2, 3).zip((1, 2, 3)).map(((_, x)) => x), (1, 2, 3))
https://github.com/1sSay/USPTU_conspects
https://raw.githubusercontent.com/1sSay/USPTU_conspects/main/src/philosophy/Renaissance.typ
typst
// Global settings and templates #set text(14pt) #let def(term, color: black) = { box(stroke: color, inset: 7pt, text()[ #term ]) } // Lecture header and date #let lecture_header = text()[Эпоха Возрождения] #let date = text()[7.09.2024] // Header #align(center, heading(level: 1)[Философия. \ #lecture_header ]) #alig...
https://github.com/woojiahao/nus
https://raw.githubusercontent.com/woojiahao/nus/main/st2334/st2334_finals_raw/main.typ
typst
MIT License
#set page(flipped: false, margin: 7pt) #show: columns.with(3, gutter: 4pt) #set text( font: "New Computer Modern Sans", size: 8pt ) #show par: set block(spacing: 5pt) #set par(leading: 3pt) #set list(tight: true) #set block(spacing: 0.5em) #align(center)[ #box(inset: 10pt, stroke: black, [ = ST2334 Finals...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-28.typ
typst
Other
// Test the `rev` method. #test(range(3).rev(), (2, 1, 0))
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/figure_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test breakable figures #set page(height: 6em) #show figure: set block(breakable: true) #figure(table[a][b][c][d][e], caption: [A table])
https://github.com/RolfBremer/gloss-awe
https://raw.githubusercontent.com/RolfBremer/gloss-awe/main/Global/LocalGlossaryPool.typ
typst
Apache License 2.0
// This is the glossary pool definition file. #let local-glossary-pool = ( Amaranth: ( description: [ Amaranthus is a cosmopolitan genus of annual or short-lived perennial plants collectively known as amaranths. Some amaranth species are cultivated as leaf vegetables, p...
https://github.com/Dr00gy/Typst-thesis-template-for-VSB
https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/main.typ
typst
// If you wish to add a title, authors or keywords, do so here! #let title = "Bachelors thesis example" #let author = "<NAME>" #let czechKeywords = ( "klíčové slovo 1", "klíčové slovo 2", ) #let englishKeywords = ( "keyword 1", "keyword 2", ) // Edit this variable if you're in more nested folders, i.e. when us...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/substitution/chaining.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/template/lang.typ": arabic #import "/lib/glossary.typ": tr #show: web-page-template /// ### Chaining Substitutions === #tr[chaining substitution] // The substitutions we've seen so far have applied globally - when...
https://github.com/Jozott00/typst-LLNCS-template
https://raw.githubusercontent.com/Jozott00/typst-LLNCS-template/main/README.md
markdown
# Springer's Lecture Notes in Computer Science Typst Template A non-perfect LLNCS (Lecture Notes in Computer Science) [typst](https://typst.app) template, that comes rather close to [Springer's Latex template](https://www.overleaf.com/latex/templates/springer-lecture-notes-in-computer-science/kzwwpvhwnvfj#.WuA4JS5uZpi...
https://github.com/xsro/xsro.github.io
https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/part3.typ
typst
#import "template.typ": template #show: template.with( title:[*Sliding Mode Control for Integrator Systems*], part:[*part 3*: Noncontinuous Control Theory] ) #include "5Filippov.typ"
https://github.com/Enter-tainer/natrix
https://raw.githubusercontent.com/Enter-tainer/natrix/main/lib.typ
typst
Apache License 2.0
#import "nat.typ": nat, bnat, pnat, Bnat, vnat, Vnat
https://github.com/PhilChodrow/cv
https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/service.typ
typst
#import "../template.typ": * #cvSection("Professional Service") #cvSubSection("Journal Reviews") #table( columns: 3, stroke: none, [_SIAM Review_], [_SIAM J. Math. Data Sci._], [_SIAM J. Appl. Dyn. Sys._], [_SIAM J. Matrix Analysis_], [_Nature Communications_], [_Science Advances_], [_Proc. Nat. Ac...
https://github.com/pluttan/shem
https://raw.githubusercontent.com/pluttan/shem/main/lab1/lab1.typ
typst
#import "@docs/bmstu:1.0.0":* #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx #show: student_work.with( caf_name: "Компьютерные системы и сети", faculty_name: "Информатика и системы управления", work_type: "лабораторной работе", work_num: "1", discipline_name: "Схемотехника", theme: "Иссл...
https://github.com/NurRobin/ReTypst
https://raw.githubusercontent.com/NurRobin/ReTypst/main/README.md
markdown
Apache License 2.0
# ReTypst ReTypst is a web-based Typst editor designed for real-time editing and viewing of Typst documents. It provides a collaborative environment where multiple users can work on Typst documents simultaneously. ## Key Features - **Real-time Collaboration**: Multiple users can edit the same document simultaneously...
https://github.com/antran22/typst-cv-builder
https://raw.githubusercontent.com/antran22/typst-cv-builder/main/lib/common.typ
typst
MIT License
#import "@preview/fontawesome:0.1.0": * #import "@preview/linguify:0.4.0": * // const color #let color-darknight = rgb("#131A28") #let color-darkgray = rgb("#333333") #let color-gray = rgb("#5d5d5d") #let accent-color = rgb("#262F99") #let text-font = "IBM Plex Sans" #let display-font = "IBM Plex Sans" // const icons...
https://github.com/lucafluri/typst-templates
https://raw.githubusercontent.com/lucafluri/typst-templates/master/IEEE/main.typ
typst
// Guide // =========== // Single line comment /* multiline comment */ /* Highlight: #hl("text") OR for a block: #hl()[ BLOCK OF TEXT or LIST or whatever ] TODO #todo("TODO_text") */ // Imports #import "template.typ": * // Definitions #let hl(text) = { highlight(text, fill: rgb(255, 255, 0)) } #let todo(t...
https://github.com/EunTilofy/Compiler2024
https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/hw/template.typ
typst
#let font_song = ("New Computer Modern", "Simsun", "STSong", "Source Han Serif SC") #let font_fangsong = ("FangSong", "STFangSong") #let font_hei = ("Source Han Sans SC", "Source Han Sans HW SC", "SimHei", "Microsoft YaHei", "STHeiti") #let font_kai = ("KaiTi_GB2312", "KaiTi", "STKaiti") #let definition_counter = stat...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/typst/polylux.md
markdown
# polylux typstのslide用package ```typst #import "@preview/polylux:0.3.1": * #import themes.bipartite: * #show: bipartite-theme.with(aspect-ratio: "16-9") #set text( size: 25pt, font: ( "Noto Sans CJK JP", // "Noto Color Emoji", // "JetBrainsMono Nerd Font", )) #title-slide( title: [TUIのFeed Viewer...
https://github.com/Nerixyz/icu-typ
https://raw.githubusercontent.com/Nerixyz/icu-typ/main/res/example.typ
typst
MIT License
#import "../api.typ": * #import experimental: fmt-timezone, fmt-zoned-datetime #set page(width: auto, height: auto, margin: 1em) #set text( font: ( "Linux Libertine", "New Computer Modern", "New Computer Modern Math", "DejaVu Sans Mono", "Noto Serif SC", ) ) #let day = datetime( year: 2024, ...
https://github.com/claudiomattera/typst-modern-cv
https://raw.githubusercontent.com/claudiomattera/typst-modern-cv/master/src/theme.typ
typst
MIT License
// Copyright <NAME> 2023-2024. // // Distributed under the MIT License. // See accompanying file License.txt, or online at // https://opensource.org/licenses/MIT /// Create a default theme configuration /// /// -> dictionary: A dictionary with the default theme. #let default() = { ( color: blue, wi...
https://github.com/Pavanato/Prob-A2
https://raw.githubusercontent.com/Pavanato/Prob-A2/main/provas.typ
typst
#import "theorems.typ": * #show: thmrules.with(qed-symbol: $square$) #set page(numbering: "1") // #set page(margin: 1.5cm) #set text(font: "Linux Libertine", lang: "pt") #set heading(numbering: "1.") #let theorem = thmbox("teorema", "Teorema", fill: rgb("#eeffee")) #let corollary = thmbox( "Corolário", "Corolári...
https://github.com/hei-templates/hevs-typsttemplate-thesis
https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/01-settings/metadata.typ
typst
MIT License
// // Description: Metadata of the document // #import "../00-templates/constants.typ": * #let title= "Thesis Template" #let subtitle= "Longer Subtitle" #let version= "v0.1" #let author= ( name: "<NAME>", email: "<EMAIL>", degree: "Bachelor", affiliation: "HEI-Vs", place: "Sion", signature: resources-fol...
https://github.com/felsenhower/kbs-typst
https://raw.githubusercontent.com/felsenhower/kbs-typst/master/examples/09.typ
typst
MIT License
Es gilt $e^(i pi) = -1$, wobei $ e^x = exp(x) = sum_(n=0)^infinity (x^n)/(n!) = lim_(n arrow infinity) (1 + x/n)^n. $
https://github.com/maucejo/cnam_templates
https://raw.githubusercontent.com/maucejo/cnam_templates/main/src/report/_report.typ
typst
MIT License
#import "../common/_colors.typ": * #import "../common/_utils.typ": * #import "_report-utils.typ": * #let default-titre = ( titre: none, surtitre: ("En-tête", "personnalisable"), composante: "cnam", alignement: "irreg", logo: none ) #let cnam-rapport( config-titre: (:), toc: true, sec-number: true, b...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/repeat_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test unboxed repeat. #repeat(rect(width: 2em, height: 1em))
https://github.com/jamesrswift/typst-chem-par
https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/src/lib.typ
typst
MIT License
#import "chem-par.typ": chem-style #import "stateful.typ": chem-toggle
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/common/answer.typ
typst
#import "@preview/showybox:2.0.1": showybox #let ANS = if "ANS" in sys.inputs { let v = lower(sys.inputs.ANS) v == "true" or v == "1" } else { false } #let answer(body) = { if ANS { v(-.5em) showybox( frame: ( border-color: blue.darken(50%), title-color: blue.lighten(60%), ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/template/content/04.typ
typst
Apache License 2.0
/** 04.typ * * This is an example chapter in a multi-file typst project. * ***/ #import "../preamble.typ": * #import "@preview/scholarly-tauthesis:0.4.0" as tauthesis = Conclusions <conclusions> This template and the writing guidelines should help achieving a consistently formatted and clear documents. A similar ...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/math/vec.md
markdown
MIT License
# Vectors, matrices, semicolumn syntax ## Vectors > By vector we mean a column there. \ > To write arrow notations for letters, use `$arrow(v)$` \ > I recommend to create shortcut for this, like `#let arr = math.arrow` To write columns, use `vec` command: ```typ $ vec(a, b, c) + vec(1, 2, 3) = vec(a + 1, b + 2, c +...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/am_notes/content/chapter1.typ
typst
#import "../template.typ": * = 模板说明 #link("https://github.com/a-kkiri/SimpleNote")[SimpleNote] #cite(<SimpleNote>) 修改自 #link("https://github.com/jskherman/jsk-lecnotes")[jsk-lecnotes],是一个简单的 Typst 模板。本模板主要适用于编写课程笔记,默认页边距为2.5cm,中文字体为 Noto Sans CJK SC,英文字体为 Linux Libertine,字号为12pt(小四)。封面图片来自于 #link("https://unsplash.co...
https://github.com/waterlens/resume
https://raw.githubusercontent.com/waterlens/resume/main/resume.typ
typst
MIT License
#import "template.typ": * #show: resume = <NAME> #align(center)[ #iconlink("mailto:<EMAIL>", text: "<EMAIL>", icon: fa-envelope()) #iconlink("https://github.com/waterlens", text: "github.com/waterlens", icon: fa-github()) ] == Research Interests I am interested in the implementation and optimization of programming...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2018/WS-04.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [DING Ning], [CHN], [3470], [2], [LIU Shiwen], [CHN], [3387], [3], [ZHU Yuling], [MAC], [3324], [4], [CHEN Meng], ...
https://github.com/maantjemol/Aantekeningen-Jaar-2
https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/RE/samenvatting.typ
typst
// Update this import to where you put the `lapreprint.typ` file // It should probably be in the same folder #import "../template/lapreprint.typ": template #import "../template/frontmatter.typ": loadFrontmatter #import "@preview/drafting:0.2.0": * #import "@preview/cetz:0.2.2" #import cetz.plot #let defaultColor = rgb...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework1.typ
typst
#import "../template.typ": * #show: project.with( title: "Calculus Homework #1", authors: (( name: "<NAME> (#47)", email: "<EMAIL>", phone: "3230104585" ),), date: "September 24, 2023", ) = 习题1-1 5(1) #prob[求函数的定义域 $y = (x-2) sqrt(display((1 + x) / (1 - x)))$.] 应满足: - $1-x != 0 arrow.r.double x != 1$ ...
https://github.com/coljac/typst-mnras
https://raw.githubusercontent.com/coljac/typst-mnras/main/README.md
markdown
MIT License
# Typst template for MNRAS This is a draft of a Typst template for the Monthly Notices of the Royal Astronomical Society journal. [Typst](https://github.com/typst) is an amazingly awesome successor to Latex. There are a few main outstanding issues: 1. The ability to have a figure float outside of the two-column form...
https://github.com/TeddyHuang-00/typpuccino
https://raw.githubusercontent.com/TeddyHuang-00/typpuccino/main/README.md
markdown
MIT License
# Catypuccin User everyone's favorite [Catppuccin color palettes](https://github.com/catppuccin/catppuccin) in your Typst projects. ## Usage To use the Catppuccin color palette in your Typst project, add the following import statement to your Typst file, and then you can use all the colors from the Catppuccin color ...
https://github.com/yaoyuanArtemis/resume
https://raw.githubusercontent.com/yaoyuanArtemis/resume/main/cv_2-zh.typ
typst
Do What The F*ck You Want To Public License
#import "template.typ": * #import "data.typ": * #show: project.with( title: namezh, author: authorzh, ) #chiline() #selfzh #group(( leftsection(edutitlezh), eduzh, leftsection(techtitlezh), techzh, leftsection(projecttitlezh), projectexperiencezh, leftsection(activitytitlezh), activityzh, left...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/FormularioFisicaPresentazione.typ
typst
#import "latest_style.typ": presentation_style //#import "@preview/plotst:0.2.0": * #presentation_style(title: "Formulario di Fisica Tecnica ITPS")[ #include "capitoli_fisica/grandezze_termodinamiche.typ" #include "/capitoli_fisica/trasformazioni.typ" #include "/capitoli_fisica/macchine.typ" #include "/capitoli_fisi...
https://github.com/ralphmb/My-Dissertation
https://raw.githubusercontent.com/ralphmb/My-Dissertation/main/sections/datacollection.typ
typst
Creative Commons Zero v1.0 Universal
The bulk of our data were obtained from FootyStats for a fee, selecting the 2022/23 season option and downloading the .csv called Match H2H CSV. Data on the locations of each team's stadium were compiled ourselves using google maps. Data on the standings and scores of each team from the previous EPL season were obtaine...
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/utils/header.typ
typst
MIT License
#import "./fonts.typ": 字号, 字体 #let header( stroke: 0.5pt, spacing: 0.5em, font: 字体.宋体, size: 字号.小五, left: none, right: none, center: none, ) = { set text(font: font, size: size) locate(loc => { if not (query(<mzt:no-header-footer>, loc).filter(el => el.location().page() == loc.page()) != ()) { ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test hard break directly after normal break. Hard break directly after \ normal break.
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/page-04.typ
typst
Other
// Just page followed by pagebreak. // Should result in one red-colored A11 page and one auto-sized page. #page("a11", flipped: true, fill: red)[] #pagebreak()
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Interi/Induzione.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * #principle("Principio del buon ordinamento")[ Sia $S$ un sottoinsieme non vuoto di $ZZ$ limitato inferiormente (esiste un $n_(0) in ZZ$ tale che $s gt.eq n_(0)$, $forall s in S$). Allora $S$ ha minimo, ovvero esiste un $m in S$ tale che $s gt.eq m$, $forall s in S$. ] #principle("P...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/style_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test forcing a specific style. $A, italic(A), upright(A), bold(A), bold(upright(A)), \ serif(A), sans(A), cal(A), frak(A), mono(A), bb(A), \ italic(diff), upright(diff), \ bb("hello") + bold(cal("world")), \ mono("SQRT")(x) wreath mono(123 +...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Klyt.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: "Klyt", authors: ( "<NAME>", ), date: "10 Août, 2024", ) #set heading(numbering: "1.1.") Current Address: #link("https://klyt-git-mast...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/fraction.typ
typst
#import "@local/typkit:0.1.0": * #let fraction(a, b, align: false) = { let a = mathup(a) let b = mathup(b) if align == true and false == true { context { let la = measure(a).width let lb = measure(b).width let p = la - lb if p > 0pt { ...
https://github.com/jassielof/cv
https://raw.githubusercontent.com/jassielof/cv/main/doc/typst/cv-chalup.typ
typst
#import "template.typ": * #show: resume #header( name: "<NAME>", phone: "+591 77610067", email: "<EMAIL>", linkedin: "juan-diego-chalup-roca-47a200218", github: "jdiego00", // gitlab: "jassiel", // site: "jassielof", location: "Santa Cruz, Bolivia", ) #resume_heading[Educación] #edu_item( name: "Un...
https://github.com/HellOwhatAs/whiledb-typ
https://raw.githubusercontent.com/HellOwhatAs/whiledb-typ/main/README.md
markdown
# whiledb-typ [WhileDB](https://github.com/HellOwhatAs/While-DB) ## Example Example: [example.typ](example.typ) ![](example.svg) ## Build ```sh cargo build --release --target wasm32-unknown-unknown cp ./target/wasm32-unknown-unknown/release/whiledb_typ.wasm ./typst-package ``` Copy files in `./typst-package` to ...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-2/homework12.typ
typst
#import "../template.typ": * #show: project.with( course: "Calculus II", course_fullname: "Calculus (A) II", course_code: "821T0160", title: "Homework #12: 第一类曲面积分 & 第二类曲线积分", authors: ( ( name: "<NAME>", email: "<EMAIL>", id: "#198", ), ), semester: "Spring-Summer 2024", date...
https://github.com/mem-courses/discrete-mathmatics
https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week14.typ
typst
MIT License
#import "../template.typ": * #import "../functions.typ": * #show: project.with( course: "Discrete Mathmatics", course_fullname: "Discrete Mathematics and Application", course_code: "211B0010", title: "Homework #14: Problems on Graphs", authors: ( ( name: "<NAME>", email: "<EMAIL>", id: ...
https://github.com/RolfBremer/in-dexter
https://raw.githubusercontent.com/RolfBremer/in-dexter/main/tests/RangeTest.typ
typst
Apache License 2.0
#import "../in-dexter.typ": * #set page("a6", flipped: true, numbering: "1") #show heading.where(level: 1): it => context{ pagebreak(weak: true) it } _This is a test document for in-dexters range#index[Range] references. It is used to demonstrate and test in-dexters range references._ // Define shortcuts for st...
https://github.com/LilNick0101/Bachelor-thesis
https://raw.githubusercontent.com/LilNick0101/Bachelor-thesis/main/content/RA.typ
typst
#import "@preview/glossarium:0.2.0": gls #v(10pt) = Analisi dei Requisiti I requisiti dell'applicazione sono stati individuati attraverso un'analisi dei casi d'uso e dei requisiti funzionali insieme al tutor aziendale e ad altri collaboratori durante il corso del progetto. All'inizio è stato pianificato che l'applic...
https://github.com/ukihot/igonna
https://raw.githubusercontent.com/ukihot/igonna/main/articles/git/git.typ
typst
== 分散型バージョン管理システム === GitとGitHub == Gitの仕組み === ワーキングディレクトリ ワーキングディレクトリは、Gitリポジトリ内のファイルやディレクトリが実際に存在する場所である。 開発者は、このディレクトリ内でファイルを作成、編集、削除する。 ワーキングディレクトリ内の変更は、Gitがトラッキングし、コミットする前にステージングに追加する必要がある。 === ステージング ステージングは、ワーキングディレクトリからGitリポジトリに変更を追加するプロセスである。 開発者は、変更したファイルをステージングに追加し、次にコミットするための準備を整える。 これにより、コミットする変更を選択...
https://github.com/tingerrr/typst-test
https://raw.githubusercontent.com/tingerrr/typst-test/main/CONTRIBUTING.md
markdown
MIT License
# Contributing Thank you for considering to contribute to `typst-test`. Any contributions are welcome, from implementing large features to fixing small typos. **If you're contributing for the first time to `typst-test`, please familiarize yourself with the workflow below.** 1. When you open a PR as a draft, it can be...
https://github.com/spidersouris/touying-unistra-pristine
https://raw.githubusercontent.com/spidersouris/touying-unistra-pristine/main/src/unistra.typ
typst
MIT License
#import "@preview/touying:0.5.3": * #import "colors.typ": * #import "admonition.typ": * #import "settings.typ" as settings //todo (low prio): add material symbols // =================================== // ============ UTILITIES ============ // =================================== /// Creates a custom rectangle cell #...
https://github.com/patrick-kidger/typst_pyimage
https://raw.githubusercontent.com/patrick-kidger/typst_pyimage/main/CONTRIBUTING.md
markdown
Apache License 2.0
# Contributing Contributions (pull requests) are very welcome! 1. Fork the library on GitHub. Then clone and install the library in development mode: ```bash git clone https://github.com/your-username-here/typst_pyimage.git cd typst_pyimage pip install -e . ``` 2. Install the pre-commit hooks, wh...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/017%20-%20Dragons%20of%20Tarkir/007_Unbroken%20and%20Unbowed.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Unbroken and Unbowed", set_name: "Dragons of Tarkir", story_date: datetime(day: 22, month: 04, year: 2015), author: "<NAME>", doc ) #emph[Sarkhan Vol has been on a strange journey, and his search for understanding is almost at an end. He tr...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/exponent/exponent-thresholds/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": unit, metro-setup, num, qty #set page(width: auto, height: auto) #let inputs = ( "0.001", "0.012", "0.123", "1", "12", "123", "1234" ) #table( columns: (auto,)*3, [Input], [Threshold $-3:3$], [Threshold $-2:2$], ..for i in inputs {( num(i), num(i, exponent-mode...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/external/typst-preview.md
markdown
--- sidebar_position: 2 --- # Typst Preview VS Code 的 Typst Preview 插件提供了优秀的 slide mode,我们可以用其预览和放映 slides。 按下 `Ctrl/Cmd + Shift + P`,并输入 `Typst Preview: Preview current file in slide mode`,就可以打开 slide mode 的预览。 按下 `Ctrl/Cmd + Shift + P`,并输入 `Typst Preview: Preview current file in browser and slide mode`,就可以在浏览器打开 ...
https://github.com/isaacadams/typst-template
https://raw.githubusercontent.com/isaacadams/typst-template/main/example.typ
typst
#emph[Hello] \ #emoji.face \ #"hello".len() #let (x, y) = (1, 2) The coordinates are #x, #y. #let (a, .., b) = (1, 2, 3, 4) The first element is #a. The last element is #b. #let books = ( Shakespeare: "Hamlet", Homer: "The Odyssey", Austen: "Persuasion", ) #let (Austen,) = books Austen wrote #Austen. #let (H...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit3/Compilation.typ
typst
== Compilación de bibliotecas Creemos un proyecto simple que se compone de dos servicios: - *EchoLib*: Una librería con una función `id` que recibe un string de `texto` y retorna el mismo `texto` sin transformaciones. - *EchoApp*: Una aplicación que pide palabras a un usuario y las imprime sin realizar modificación. ...
https://github.com/kaarmu/splash
https://raw.githubusercontent.com/kaarmu/splash/main/src/palettes/google-workspace.typ
typst
MIT License
/* The color palette in Google Workspace (GSuite family of applications) * * Source: https://spreadsheet.dev/how-to-get-the-hexadecimal-codes-of-colors-in-google-sheets * Accessed: 2023-03-29 */ #let google = ( black : rgb("#000000"), white : rgb("#ffffff"), red-berry ...
https://github.com/ljgago/typst-chords
https://raw.githubusercontent.com/ljgago/typst-chords/main/examples/piano-chords.typ
typst
MIT License
#import "../lib.typ": * #set document(date: none) #set page(width: auto, height: auto, margin: 0pt) #let piano-chord-sharp = piano-chord.with(layout: "F", size: 18pt) #let piano-chord-round = piano-chord.with(layout: "F", size: 1.5em, design: "round") #rect( stroke: none, radius: 3pt, inset: (x: 10pt, y: 10pt)...
https://github.com/eliapasquali/typst-thesis-template
https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/chapters/stage-description.typ
typst
Other
#pagebreak(to:"odd") = Descrizione dello stage <cap:descrizione-stage> #v(1em) #text(style: "italic", [ Breve introduzione al capitolo ]) #v(1em) == Analisi preventiva dei rischi Durante la fase di analisi iniziale sono stati individuati alcuni possibili rischi a cui si potrà andare incontro. Si è quindi proce...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/introduction.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.page.with(title: [导引]) 本教程面向所有Typst用户,循序渐进,供以中文为母语的Typst语言初学者和爱好者查阅和参考。本教程希望弥补Typst相关资料的缺失,作为官方文档的补充,帮助大家入门和学习Typst。 本教程的首要定位是,即便你没有学习过任何编程语言,也能通过在本教程中学到的知识上手使用Typst,在日常生活中使用Typst编写各式各样的文档。同时,本教程也会总结在使用Typst编写文档的过程中遇到的一系列问题。 == 为什么学习Typst? 在开始之前,让我们考虑一下 Typst 到底是什么,以及我们在什么时候应该使用它。 ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pagebreak_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test a combination of pagebreaks, styled pages and pages with bodies. // Should result in three five pages, with the fourth one being forest-colored. #set page(width: 80pt, height: 30pt) #[#set page(width: 60pt); First] #pagebreak() #pagebreak()...
https://github.com/mriganksagar/cv
https://raw.githubusercontent.com/mriganksagar/cv/main/brilliant-CV/README.md
markdown
Apache License 2.0
<h1 align="center"> <img src='https://github.com/mintyfrankie/mintyfrankie/assets/77310871/64861d2d-971c-47cd-a5e8-5ad8659f2c2b'> <br><br> Brilliant CV Submodule </h1> Please refer to the [example repository](https://github.com/mintyfrankie/brilliant-CV) for more information. Any issue or PR is welcomed! ### R...
https://github.com/dead-summer/math-notes
https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/Analysis/ch1-measures/sigma-algebras.typ
typst
#import "/book.typ": book-page #import "../../../templates/conf.typ": * #show: thmrules.with(qed-symbol: $square$) #show: book-page.with(title: "Sigma Algebra") = $sigma$-algebra #def[ Let $X eq.not diameter$ be a set. 1. $cal(A) subset cal(P) (X)$ is an algebra if it is closed under finite unions and complemen...
https://github.com/Alkon-2024-contest-editorial/hello-alkon
https://raw.githubusercontent.com/Alkon-2024-contest-editorial/hello-alkon/main/description.typ
typst
#import "colors.typ" : KUPC_GREEN, PALE_RED #import "problems.typ" : contest_problems #import "abstractions.typ" : pick_color #let mono(s, color: black) = {text(font: "Inconsolata", fill: color)[#s]} #let bf(s) = {text(weight: "bold")[#s]} // 줄바꿈은 #linebreak()를 중간에 넣으면 됩니다. // 페이지 넘김은 문제 내부에서 ()를 새로 만들어 주세요. // monos...
https://github.com/Otto-AA/definitely-not-tuw-thesis
https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/src/styles/flex-captions.typ
typst
MIT No Attribution
#let in-outline = state("in-outline", false) #let flex-caption-styles = rest => { show outline: it => { in-outline.update(true) it in-outline.update(false) } rest } #let flex-caption(long, short) = ( context ( if in-outline.get() { short } else { long } ) )
https://github.com/tingerrr/typst-test
https://raw.githubusercontent.com/tingerrr/typst-test/main/.github/ISSUE_TEMPLATE/bug_report.md
markdown
MIT License
--- name: Bug report about: Report a bug or incorrect documentation title: 'BUG: ' labels: 'C-bug' assignees: '' --- <!-- Thank you for your report! Please describe your problem here. For questions, use the Typst community discord: https://discord.gg/2uDybryKPe. Feel free to remove any of the sections below if ...
https://github.com/L364CY-FM/typst-thesis
https://raw.githubusercontent.com/L364CY-FM/typst-thesis/main/README.md
markdown
MIT License
# typst-template Dieses Repository enthält eine Vorlage für das Verfassen einer Projektarbeit oder einer Bachelorarbeit. Es kann an spezifische Anforderungen angepasst und erweitert werden. --- ## Installation - Linux: View [Typst on Repology][repology] - macOS: `brew install typst` - Windows: `winget install --id ...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/01-elementary/01-experiment-probability-model.typ
typst
#import "../../utils/core.typ": * == Вероятностная модель эксперимента #ticket[Конечное вероятностное пространство. Свойства вероятности. Классическое определение вероятности.] #def[ $Omega = {omega_1, omega_2, ..., omega_n}$ --- _пространство_ (или _множество_) _элементарных исходов_, причем неформально: 1....
https://github.com/kalxd/morelull
https://raw.githubusercontent.com/kalxd/morelull/master/morelull.typ
typst
#import "@preview/a2c-nums:0.0.1": int-to-cn-simple-num #let 颜色 = ( 靛青: rgb(22, 97, 171), 海青: rgb(34, 162, 195), 蟹壳红: rgb(242, 118, 53), 品红: rgb(239, 52, 115), 清水蓝: rgb(147, 213, 220), 翠蓝: rgb(30, 158, 179), 孔雀蓝: rgb(14, 176, 201), 霁青: rgb(99, 187, 208) ) #let 字体 = ( 中文: "FZJuZhenXinFang-R-JF", 英文...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/2-havran.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo, poezie #dilo("Havran", "havran", "<NAME>", "<NAME>", "1. p. 19. st; světový romantismus", "USA", "1845", "lyricko-epický", "baladická báseň") #columns(2, gutter: 1em)[ *Téma*\ přemítání nad mrtvou láskou Autora *Motivy*\ tajemno, žal nad ztrátou *Časoprostor*\ prosincový ...
https://github.com/weeebdev/cv
https://raw.githubusercontent.com/weeebdev/cv/main/modules/certificates.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Certificates") #cvHonor( date: [Apr 2021], title: [CCNA: Introduction to Networks], issuer: [Cisco], ) #cvHonor( date: [Mar 2021], title: [GitLab 101 Certification], issuer: [GitLab] ) #cvHonor( date: [Feb 2021], title: [Introduction to R], iss...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/_general/akatistnik.typ
typst
#import "/style.typ": * #let bg = { rect(width: 95%, height: 95%, inset: 10pt, radius: 5pt, stroke: (paint: primary, thickness: 2pt), rect(width: 100%, height: 100%, outset: 0pt, radius: 5pt, stroke: (paint: primary, thickness: 2pt)) ) } #let project(body) = { set page(paper:"a5", numbering: "1", number...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-06.typ
typst
Other
// Error: 2-8 invalid hexadecimal number: 0x123z #0x123z
https://github.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024/neko/实验/4.typ
typst
#set text(lang: "zh", font: "Noto Serif CJK SC") #show "。": "." = 实验四 == 1. 直流⽆刷电机的启动与停⽌、⽅向控制等操作设置实验 #figure( caption: [电机状态表], align(center)[#table( columns: 4, align: (auto, auto, auto, auto), table.header([S2], [S3], [S1], [电机状态]), table.hline(), [禁止], [X], [X], [不转...
https://github.com/NycRat/arduino-workshop
https://raw.githubusercontent.com/NycRat/arduino-workshop/main/qr.typ
typst
#import "@preview/cades:0.3.0": qr-code #set text(font: "IBM Plex Mono") #set page("us-letter") #align(center + horizon)[ #qr-code("https://bit.ly/arduino-odyssey", width: 60%) https://bit.ly/arduino-odyssey ]
https://github.com/JacentyI1/Interpersonal-Communication
https://raw.githubusercontent.com/JacentyI1/Interpersonal-Communication/main/Team_project_framework.typ
typst
The Unlicense
#set page(paper: "a4", margin: (x: 1cm, y: 1cm)) #grid( columns: 3, [#pad(x: 10pt, image("./assets/PP_znak_pełny_CMYK.svg", height: 90pt))], [ #set text( font: "SquareSlab711MdEU", size: 14pt, fill: rgb("#006288") ) #set par(leading: 0.5em) #line(length: 100%, stroke: rgb("#0062...