repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/043%20-%20Innistrad%3A%20Midnight%20Hunt/002_Tangles.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Tangles", set_name: "Innistrad: Midnight Hunt", story_date: datetime(day: 03, month: 09, year: 2021), author: "<NAME>", doc ) There was something unique about the air on Innistrad. Maybe it was the horrors the trees had witnessed here, the ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/multiplexer.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw #import "../util.typ" #import "element.typ" #import "ports.typ": add-port #let draw-shape(id, tl, tr, br, bl, fill, stroke, h-ratio: 60%) = { let margin = (100% - h-ratio) / 2 let tr2 = (tr, margin, br) let br2 = (br, margin, tr) let f = draw.group(name: id, { draw.merge...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.0.0/titlepage.typ
typst
Apache License 2.0
#let titlepage(authors, title, date, at-dhbw, logo-left, logo-right, course-of-studies, university, university-location, supervisor, heading-font) = { stack(dir: ltr, spacing: 1fr, // Logo at top left if given align(horizon, if logo-left != none { set image(width: 6cm) logo-left ...
https://github.com/EpicEricEE/typst-droplet
https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/tests/extract/test.typ
typst
MIT License
#import "/src/lib.typ": dropcap #set page(width: 6cm, height: auto, margin: 1em) // Test that the first letter is extracted correctly. #dropcap[First letter] #dropcap[1. Wash your hands] #dropcap[“This is a quote,” said someone.] #dropcap[#super[1] In the beginning...] #dropcap[H#sub[2] is hydrogen.] #dropcap[#box[T...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/truthfy/0.2.0/example.typ
typst
Apache License 2.0
#import "main.typ": * #columns(2)[ #generate-table($u_7 => u_(22) => u$, $u_7 ? u_22 : u$) #generate-table($A xor B$, $A and B$) #colbreak() #generate-table($A and B$, $B or A$, $A => B$) #generate-table($p => q$, $not p => (q <=> p)$, $p or q$, $not p xor q$) ]
https://github.com/VZkxr/Typst
https://raw.githubusercontent.com/VZkxr/Typst/master/Tarea%20Examen%202%20-%20Analisis%20matematico/doc.typ
typst
#set page( numbering: "1" ) #set text(font: "Times New Roman", size: 12pt) #align(center, text(font: "Times New Roman", size: 15pt)[ *Tarea-Examen II* ]) #align(center, text(font: "Times New Roman", size: 10pt)[ * Alumno: <NAME> * ]) 1. Sea $X$ un conjunto, prueba que las siguientes funciones son métricas. #enum...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/content-field.typ
typst
Apache License 2.0
// Integrated test for content fields. #let compute(equation, ..vars) = { let vars = vars.named() let f(elem) = { let func = elem.func() if func == text { let text = elem.text if regex("^\d+$") in text { int(text) } else if text in vars { int(vars.at(text)) } else { ...
https://github.com/RoyalRoppers/stadgar
https://raw.githubusercontent.com/RoyalRoppers/stadgar/master/template.typ
typst
#let template(body) = { set document(title: "RoyalRoppers stadgar") set page(numbering: "1", number-align: center, margin: 4cm) set text(font: "Linux Libertine", lang: "sv", hyphenate: false, size: 12pt) set heading(numbering: sym.section + " 1.1") set ref(supplement: sym.section) set list(indent: 1em) sh...
https://github.com/Readon/NSFC-application-template-typst
https://raw.githubusercontent.com/Readon/NSFC-application-template-typst/main/template.typ
typst
MIT License
#import "@preview/cuti:0.2.1": show-cn-fakebold, show-fakebold #let custom-numbering(base: 1, depth: 5, first-level: auto, second-level: auto, third-level: auto, format, ..args) = { if (args.pos().len() > depth) { return } if (first-level != auto and args.pos().len() == 1) { if (first-level != "") { ...
https://github.com/jamesrswift/chemicoms-paper
https://raw.githubusercontent.com/jamesrswift/chemicoms-paper/main/src/elements/header-journal.typ
typst
#let header-journal(args) = { block( inset: 0.2cm, width:100%, { text(28pt, args.at("venue", default: none)) h(1fr) text(28pt, args.header.article-meta) } ) }
https://github.com/5eqn/osa-fp-talk
https://raw.githubusercontent.com/5eqn/osa-fp-talk/main/template.typ
typst
// color profiles #let colors = ( gray: luma(238), blue: rgb(240, 240, 250), red: rgb(255, 240, 240), ) #let tag(body, color: "gray") = { set text(font: ("Noto Sans CJK SC"), 10pt) box( fill: colors.at(color), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), radius: 2pt, body ) } #let s...
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/iclr/main.typ
typst
MIT License
#import "/logo.typ": LaTeX, LaTeXe #import "/iclr2025.typ": iclr2025 #let author-note = footnote[ Use footnote for providing further information about author (webpage, Alternative address) --- *not* for acknowledging funding agencies. Funding Acknowledgements go at the end of the paper. ] /** * Authors should...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/tequila/graph-state/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ" as quill: tequila as tq #quill.quantum-circuit( ..tq.graph-state((1,2), (0,2), (0,3), (0,1), (2,3)) ) #pagebreak() #quill.quantum-circuit( ..tq.graph-state((1,2), (0,2), (0,3), (0,1), (2,3), n: 6), )
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/036%20-%20Guilds%20of%20Ravnica/009_The%20Gathering%20Storm%3A%20Chapter%203.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 3", set_name: "Guilds of Ravnica", story_date: datetime(day: 19, month: 06, year: 2019), author: "<NAME>", doc ) The closer Ral got to New Prahv, the more he could feel his skin crawl. The Azorius had always be...
https://github.com/sicheng1806/typst-book-for-sicheng
https://raw.githubusercontent.com/sicheng1806/typst-book-for-sicheng/main/README.md
markdown
# typst-book-for-sicheng 我使用typst整理的学习笔记
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/helping.typ
typst
MIT License
#import "styles.typ" #import "utilities.typ" #import "testing.typ" #import "parse-module.typ": parse-module #import "show-module.typ": show-module #let help-box(content) = { set text(size: .9em) block( above: 1em, inset: 1em, stroke: rgb("#AAA"), fill: rgb("#F5F5F544"), text(size: 2em, [? #smal...
https://github.com/davidedomini/DTM-2425-Crash-Course
https://raw.githubusercontent.com/davidedomini/DTM-2425-Crash-Course/master/slides/lesson03.typ
typst
Apache License 2.0
#import "@preview/polylux:0.3.1": * #import "@preview/fontawesome:0.1.0": * #import themes.metropolis: * #show: metropolis-theme.with( aspect-ratio: "16-9", ) #set text(font: "Fira Sans", weight: 350, size: 20pt) #show math.equation: set text(font: "Fira Math") #set strong(delta: 200) #set par(justify: true) #set...
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/pre_building/spin_up_reflections.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/templates/entries.typ": * #import "/templates/headers.typ": * #import "/templates/text.typ": * #create_footerless_page( title: [Spin Up Reflections], date: [], content:[ #box_header( title: [Networking], color: blue.lighten(60%) ) \ #entry_text() We've discovered that one of...
https://github.com/Amelia-Mowers/typst-tabut
https://raw.githubusercontent.com/Amelia-Mowers/typst-tabut/main/doc/example-snippets/import-csv.typ
typst
MIT License
#import "@preview/tabut:<<VERSION>>": tabut, rows-to-records #import "example-data/supplies.typ": supplies #let auto-type(input) = { let is-int = (input.match(regex("^-?\d+$")) != none); if is-int { return int(input); } let is-float = (input.match(regex("^-?(inf|nan|\d+|\d*(\.\d+))$")) != none); if is-float { ...
https://github.com/pluttan/electron
https://raw.githubusercontent.com/pluttan/electron/main/dz2/dz2.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: "2", discipline_name: "Электроника", theme: "Моделиров...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-14.typ
typst
Other
// Test the `insert` and `remove` methods. #{ let array = (0, 1, 2, 4, 5) array.insert(3, 3) test(array, range(6)) array.remove(1) test(array, (0, 2, 3, 4, 5)) }
https://github.com/abaisero/abaisero-typst
https://raw.githubusercontent.com/abaisero/abaisero-typst/main/README.md
markdown
# abaisero-typst This repository contains the `abaisero.typ` typst style package, which contains a bunch of commands and definitions I use very frequently. [This document][example] shows all the provided commands. [example]: example.pdf ## Commands * **math**: Mathematics * **linalg**: Linear algebra * **opti...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Expertes_Ex_14_11_2023.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: "Maths Expertes Ex 14 11 2023", authors: ( "<NAME>", ), date: "11 Novembre, 2023", ) #set heading(numbering: "1.1.") == Démonstration ...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/supports-text.typ
typst
Apache License 2.0
#let _styled = smallcaps("").func(); #let _equation = $1$.func(); #let _sequence = [].func(); /// Collect text content of element recursively into a single string /// https://discord.com/channels/1054443721975922748/1088371919725793360/1138586827708702810 /// https://github.com/Myriad-Dreamin/shiroa/issues/55 #let pl...
https://github.com/Quaternijkon/QUAD
https://raw.githubusercontent.com/Quaternijkon/QUAD/main/README.md
markdown
Typst Theme With For Colours.
https://github.com/ivaquero/book-control
https://raw.githubusercontent.com/ivaquero/book-control/main/13-动态规划.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "最优控制", author: ("ivaquero"), header-cap: "现代控制理论", footer-cap: "github@ivaquero", outline-on: false, doc, ) = 最优控制 <最优控制> 最优控制是为了得到在约束条件下最优系统表现。 == 位置控制 <位置控制> 对独轮车模型 #figure( image("images/model/unicycle.drawio.png", width: 40%), captio...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.1.0/template/chapters/2-intro.typ
typst
Apache License 2.0
#import "global.typ": * = Introduction #v(1em) #quote( [Privacy matters; privacy is what allows us to determine who we are and who we want to be. I don't want to live in a world where there's no privacy, and therefore no room for intellectual exploration and creativity.], [<NAME>]) #v(1em) #lorem(25) #todo([ ...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/base.typ
typst
// polylux gives slides stuff #import "@preview/polylux:0.3.1": * // import graphical stuff #import "@preview/cetz:0.2.0" as cetz: * #import "@preview/fletcher:0.4.1" as fletcher: node, edge // import formatting stuff #import "@preview/oxifmt:0.2.1": strfmt // logo #let logo = table( stroke: none, columns: (au...
https://github.com/Stevens-Linux-Users-Group/resources
https://raw.githubusercontent.com/Stevens-Linux-Users-Group/resources/main/nixos-workshop/main.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") = NixOS Workshop #datetime(year: 2024, month: 10, day: 08).display() = Why NixOS? == Reproducible builds - All package inputs are hashed. - In a pure build, same input $->$ same output. - If you can ...
https://github.com/fredguth/abnt-typst
https://raw.githubusercontent.com/fredguth/abnt-typst/main/_config.typ
typst
#let metadados = ( titulo: "Naufrágio e ressureição da imagem", subtitulo: "A fotografia de <NAME> inquieta o imaginário contemporâneo", título-curto: none, codigo_cutter: "RR696n", //ex. S659n codigo_cdu: none,//ex. 911.375:028 tipo_trabalho: "Dissertação de Mestrado", //ex. "Tese de Doutorado"...
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/visualization/program.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator, diagraph, codetastic #import notebookinator: * #import themes.radial.components: * #import diagraph: * #import codetastic: qrcode #show: create-body-entry.with( title: "Program: Data Visualization", type: "program", date: datetime(year: 2023, month: 11, day: 18), autho...
https://github.com/andreasKroepelin/TypstJlyfish.jl
https://raw.githubusercontent.com/andreasKroepelin/TypstJlyfish.jl/main/examples/pkg.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "../typst/lib.typ": * #read-julia-output(json("pkg-jlyfish.json")) #jl-pkg("Example@0.4", "Plots") What is $3 + 5$? #jl(```julia import Example Example.domath(3) ```) Let's plot something! #set image(width: 10em) #jl(```julia using Plots plot(pi ....
https://github.com/whs/typst-govdoc
https://raw.githubusercontent.com/whs/typst-govdoc/master/govdoctest.typ
typst
#import "thai.typ": thnum #import "govdoc.typ": gov, govhead, govsign, govsender #show: gov #govhead( id: thnum("อก 0712/ 5079"), address: [ สำนักงานมาตรฐานผลิตภัณฑ์อุตสาหกรรม \ #thnum("ถนนพระรามที่ 6 เขตราชเทวี") \ #thnum("กรุงเทพฯ 10400") ], date: thnum("26 มีนาคม 2561"), title: thnum("ขอความอ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/lovelace/0.1.0/lib.typ
typst
Apache License 2.0
#let ind = metadata("lovelace indent") #let ded = metadata("lovelace dedent") #let no-number = metadata("lovelace no number") #let pseudocode( line-numbering: true, line-number-transform: it => it, indentation-guide-stroke: none, ..children ) = { let lines = () let indentation = 0 let line-no = 1 let c...
https://github.com/nichitacebotari0/cv-typst
https://raw.githubusercontent.com/nichitacebotari0/cv-typst/master/CV.typ
typst
#let primary_colour = rgb("#3E0C87") // vivid purple #let link_colour = rgb("#12348e") // blue #let light_purple = rgb("#975bf1") // light purple #let icon(name, shift: 1.5pt) = { box( baseline: shift, height: 10pt, image("icons/" + name + ".svg") ) h(3pt) } #let findMe(services) = { set text(8pt)...
https://github.com/jamesrswift/journal-ensemble
https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/template/articles/1.typ
typst
The Unlicense
#import "/src/lib.typ" as journal #show: journal.article.rule() #journal.contents.mark("Advancements in Medical Technology: Bridging the gap for Enhanced Healthcare") #journal.article.one-column(top, { journal.article.header() journal.article.title[ Advancements in Medical Technology: Bridging the gap for E...
https://github.com/qujihan/typst-book-template
https://raw.githubusercontent.com/qujihan/typst-book-template/main/template/utils.typ
typst
#import "params.typ": * #let reference-block(title, content) = { set par(first-line-indent: 0em) block( width: 100%, fill: util-reference-block-color, stroke: (left: 7pt + util-reference-line-color), radius: 6pt, inset: (left: 8pt, right: 1em, bottom: 1em, top: 1em), breakable: true, )[ ...
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/knowledge/polynomials.typ
typst
#import "../cfg.typ": cfg #show: cfg = Polynomials A sequence is finite $:=$ a set of its nonzero members is finite. $F^oo :=$ a set of finite sequences over a field $F$. $e_i :=$ a finite sequence where only $i$-th member is one and all others are zero. $e_i e_j := e_(i + j)$. $F^oo$ is an algebra over a field $F...
https://github.com/darrior/typst-mirea-template
https://raw.githubusercontent.com/darrior/typst-mirea-template/main/template.typ
typst
// The project function defines how your document looks. // It takes your content and some metadata and formats it. // Go ahead and customize it to your liking! #let indent_first = 12.5mm #let equation_counter = counter("equation") #let image_counter = counter("image") #let table_counter = counter("table") #let code_c...
https://github.com/jxpeng98/typst-coverletter
https://raw.githubusercontent.com/jxpeng98/typst-coverletter/main/README.md
markdown
MIT License
# Typst-ModernPro-Coverletter This is a cover letter template for Typst with Sans font. It is a modern and professional cover letter template. It is easy to use and customize. This cover letter template is suitable for any job application or general purpose. If you want to find a CV template, you can check out [moder...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/contrib/templates/typst-ts-templates/doc.typ
typst
Apache License 2.0
#import "lib.typ": doc-project #import "@preview/doc:0.1.0": parse-module2, show-module // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: doc-project.with( title: "templates", subtitle: "document/page for typst.ts.", authors: ( "Myri...
https://github.com/feil7/Cheatsheets
https://raw.githubusercontent.com/feil7/Cheatsheets/master/Vim.typ
typst
#import "template.typ": conf, part, cut #show: doc => conf( //Title title: [Cheatsheet NeoVim], //Autor authors: ( ( name: "<NAME>", affiliation: "Fdev", email: "<EMAIL>", ), ), abstract: [used with NV Chad, none-ls, dpa, etc.], doc, ) #part( "In Textmode:", [ #cut("...
https://github.com/lebinyu/typst-thesis-template
https://raw.githubusercontent.com/lebinyu/typst-thesis-template/main/thesis/chapter2.typ
typst
Apache License 2.0
// #import "reference.bib" #let title = [ Title of chapter 2 ] #let chaptnumber = 2 #let introduction = [ // = this is a chapter <aaa> #lorem(20) ] #let mainbody = [ == subsetion test #lorem(50) $ F = m a $ #lorem(400) #cite("wilson1983superconducting") == subsection testtest $ 2+1 = beta $ #...
https://github.com/Mc-Zen/pillar
https://raw.githubusercontent.com/Mc-Zen/pillar/main/README.md
markdown
MIT License
# Pillar _Shorthand notations for table column specifications in [Typst](https://typst.app/)._ [![Typst Package](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FMc-Zen%2Fpillar%2Fmain%2Ftypst.toml&query=%24.package.version&prefix=v&logo=typst&label=package&color=239DAD)](https...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/chapters/ch02.typ
typst
MIT License
= 理论 == 理论一 <theory1> 让我们首先回顾一下 @intro 中的部分公式: $ frac(a^2, 2) $ $ vec(1, 2, delim: "[") $ $ mat(1, 2; 3, 4) $ $ lim_x = op("lim", limits: #true)_x $ == 理论二 在 @theory1 中,我们回顾了 @intro 中的公式。下面,我们来推导一些新的公式: 那次父对来风饭他操见速,身吗数时多票利,职和个求设。 境庭环先张时。 过小画员地义书车都母,良底然而的于包...... 史可事然以知着有了为开或山改种新不有,高全想你清较海很人...... 双究教...... 行的...
https://github.com/matthiasGmayer/typst-math-template
https://raw.githubusercontent.com/matthiasGmayer/typst-math-template/main/main.typ
typst
#import "template.typ": * #import datetime // Take a look at the file `template.typ` in the file panel #let my_abstract = [ #lorem(40) ] #show: project.with( title: "Title", authors: ( (name: "MyName", email: "<EMAIL>"), ), abstract:my_abstract, date: datetime.today().display("[month repr:long] [year]...
https://github.com/msakuta/typst-test
https://raw.githubusercontent.com/msakuta/typst-test/master/laplace-transform-jp.typ
typst
#set page( numbering: "1", ) #set text(font: ("linux libertine", "IPAMincho")) #set math.equation(numbering: "(1)") #align(center, text(17pt)[ *ラプラス変換* ]) #outline() = ラプラス変換 ラプラス変換は、下記に示す[[FFT|フーリエ変換]]によく似ている。 $ F(omega) &= integral_(-infinity)^infinity f(t) e^(-j omega t) d t $ 違いは、 $e^(-j omega t)$ の代わりに $...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/name-it/0.1.0/name-it.typ
typst
Apache License 2.0
#let name-it(num, show-and: true, negative-prefix: "negative") = { let digit-name(digit, show-zero) = { let names = ("zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine") if digit == "0" and not show-zero { return "" } return names.at(int(digit)) } let three-digit-...
https://github.com/bionick7/kiergergaard-pillars
https://raw.githubusercontent.com/bionick7/kiergergaard-pillars/master/README.md
markdown
# Kiergergaard_pillars A Lancer supplementary Frame collection ## How to modify edit templates in content_yaml. Remove top comment to activate. Build with template_builder.py (requires python and pyyaml) Maunal can be compiled with typst ## Content This supplement adds 4 new manufacturers and 12 new licenses. Summary...
https://github.com/coco33920/typst-association-statuts
https://raw.githubusercontent.com/coco33920/typst-association-statuts/master/README.md
markdown
The Unlicense
# Template pour écrire des statuts d'associations en Typst! Tout est dans le titre! Remplissez juste les variable au début de example.typ et voilà ! Vous avez vos status :) *Adapté de [cette template LaTeX](https://github.com/maxence-lagalle/statuts-loi1901) en CC-0*
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/anchor/amiri-kern.typ
typst
Other
#import "/lib/draw.typ": * #import "/template/lang.typ": arabic-amiri #let start = (0, 0) #let end = (500, 120) #let graph = with-unit((ux, uy) => { // mesh(start, end, (50, 50)) txt([关闭`calt`#h(1fr)#arabic-amiri(text(features: ("calt": 0, "kern": 0))[(لبے)])], (0, 110), anchor: "lt", size: 42 * ux) txt([开启`ca...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-07.typ
typst
Other
// Error: 10-14 expected identifier, found boolean #let f(..true) = none
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10530.typ
typst
Apache License 2.0
#let data = ( ("CAUCASIAN ALBANIAN LETTER ALT", "Lo", 0), ("CAUCASIAN ALBANIAN LETTER BET", "Lo", 0), ("CAUCASIAN ALBANIAN LETTER GIM", "Lo", 0), ("CAUCASIAN ALBANIAN LETTER DAT", "Lo", 0), ("CAUCASIAN ALBANIAN LETTER EB", "Lo", 0), ("CAUCASIAN ALBANIAN LETTER ZARL", "Lo", 0), ("CAUCASIAN ALBANIAN LETTER ...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/math/limits.md
markdown
MIT License
# Setting limits Sometimes we want to change how the default attaching should work. ## Limits For example, in many countries it is common to write definite integrals with limits below and above. To set this, use `limits` function: ```typ $ integral_a^b\ limits(integral)_a^b $ ``` You can set this by default using ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p2_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test frame base. $ (-1)^n + (1/2 + 3)^(-1/2) $
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/selector-logical.typ
typst
Apache License 2.0
//Tests for logical (and/or) selectors --- = A == B #figure([Cat], kind: "cat", supplement: [Other]) === D = E <first> #figure([Frog], kind: "frog", supplement: none) #figure([Giraffe], kind: "giraffe", supplement: none) <second> #figure([GiraffeCat], kind: "cat", supplement: [Other]) <second> = H #figure([Iguana], ki...
https://github.com/Ad4u/ad4u.github.io
https://raw.githubusercontent.com/Ad4u/ad4u.github.io/main/dinner_fr.typ
typst
#let WIDTH = 90mm #let HEIGHT = 160mm #let MARGIN = 6mm #let FRONT_TOP_MARGIN = 35mm #let BACKGROUND = image("assets/background.jpg", width: WIDTH, height: HEIGHT) #let FRONT = image("assets/front.jpg", width: WIDTH, height: HEIGHT) #let BACK = image("assets/back.jpg", width: WIDTH, height: HEIGHT) #set document(title...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem03/main.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/cetz:0.2.2" #import "../theme/theme.typ": * #import "./utils.typ": * #show: theme #title-slide[ #align(horizon + center)[ = Файловые системы АКОС, МФТИ 26 сентября, 2024 ] ] #show: enable-handout #focus-slide[ #set block(above: 25pt, below: ...
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/meta/link.typ
typst
MIT License
// Test hyperlinking. --- // Link syntax. https://example.com/ // Link with body. #link("https://typst.org/")[Some text text text] // With line break. This link appears #link("https://google.com/")[in the middle of] a paragraph. // Certain prefixes are trimmed when using the `link` function. Contact #link("mailto:<...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/ast.typ
typst
#import "/components/glossary.typ": gls == Abstract Syntax Tree (AST) <sec-ast> #gls("ast", mode: "full") are a fundamental data structure used in the fields of programming languages, compilers, and interpreters to represent the syntactic structure of source code. An #gls("ast") simplifies code analysis by abstractin...
https://github.com/lebinyu/typst-thesis-template
https://raw.githubusercontent.com/lebinyu/typst-thesis-template/main/README.md
markdown
Apache License 2.0
# typst-thesis-template This is a [typst](https://github.com/typst/typst) template for a thesis. The main idea is to split each part of a thesis into separate files to avoid a cumbersome main.typ file. A template.typ include all the styling functions. main.typ is for final compilation. Thanks to Repo [thesis-template...
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/keep-with-next.typ
typst
MIT License
/* We resort to a somewhat hacky solution to prevent a page break between the content supplied as `body` and the upcoming content (which is usually text). We create an unbreakable block containing the `body` and vertical spacing equal to the height of five lines of text. This threshold is configurable, but ...
https://github.com/ana-jiangR/Himcm-Typst-Template
https://raw.githubusercontent.com/ana-jiangR/Himcm-Typst-Template/main/Template/template_Himcm.typ
typst
MIT License
#let conf( // Team Number. teamNo: none, // Summary Sheet. summary: none, //Problem Chosen. problem: none, // A list of index terms to display after the abstract. index-terms: (), // The paper size. paper-size: "a4", // The path to a bibliography file. bibliography-file: n...
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/quantizers/s-metric/2_2_reconstruction.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot, draw, decorations, vector #let line_style = (stroke: (paint: red, thickness: 2pt)) #let line_style2 = (stroke: (paint: blue, thickness: 2pt)) #let dashed = (stroke: (dash: "dashed")) #canvas({ plot.plot(size: (8,6), name: "plot", legend: "legend.south", legend-sty...
https://github.com/CarlosCraveiro/PDSA_Presentation
https://raw.githubusercontent.com/CarlosCraveiro/PDSA_Presentation/main/README.md
markdown
Other
# Apresentação: MIMD - Múltiplos Fluxos de Instruções-Múltiplos Fluxos de Dados - SEL0631 Essa apresentação foi elaborada como atividade avaliativa para a disciplina SEL0631 - Processadores Digitais de Sinais e Aplicações, ministrada no segundo semestre de 2024 pelo professor doutor <NAME>. |**Data** |**Título** ...
https://github.com/SE-legacy/physics_lectures_3_term
https://raw.githubusercontent.com/SE-legacy/physics_lectures_3_term/main/lesson_4/main.typ
typst
#import "conf.typ": conf #show: conf.with( meta: ( title: "Физика. Занятие №4, 30.09.2024", author: "<NAME>., СГУ им. Чернышевского", group: 251, city: "Саратов", year: 2024, ) ) = Ток проводимости Носители зарядов совершают сложное движение: + Хаотическое со срелней скоростью $v dash.wave s...
https://github.com/HarumiKiyama/resume
https://raw.githubusercontent.com/HarumiKiyama/resume/master/cv_cn.typ
typst
#set text(font: "FiraCode Nerd Font Mono") #show link: underline // Uncomment the following lines to adjust the size of text // The recommend resume text size is from `10pt` to `12pt` // #set text( // size: 12pt, // ) // Feel free to change the margin below to best fit your own CV #set page( margin: (x: 0.9cm, ...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/4-concept/0-index.typ
typst
Im folgenden Kapitel wird die Wahl der Technologie im Kontext der Konzeptentwicklung eingehend betrachtet, wobei besonderes Augenmerk auf die Erfüllung der Zielgruppenanforderungen und die effektive Erreichung der definierten Ziele gelegt wird. == Zielgruppenanalyse #include "group.typ" == Anforderungsanalyse #includ...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem02/floats.typ
typst
#let get-bit-length(number) = { let length = 0 while number != 0 { number = int.bit-rshift(number, 1) length += 1 } length } #let is-bit-set(number, bit) = { let mask = int.bit-lshift(1, bit) int.bit-and(mask, number) != 0 } #let float-construct( sign: none, mantissa: none, exponent: ...
https://github.com/marcantoinem/CV
https://raw.githubusercontent.com/marcantoinem/CV/main/fr/project.typ
typst
#import "../src/style.typ": experience #let generateur = { experience( "Générateur d'horaire de l'AEP v2", link("https://beta.horaires.aep.polymtl.ca/", "beta.horaires.aep.polymtl.ca"), "Août 2023 - Présent", "Réécriture du générateur d'horaire", [ - Remplacement de l'ancien générateur d'ho...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/cite.typ
typst
--- cite-footnote --- Hello @netwok And again: @netwok #pagebreak() #bibliography("/assets/bib/works.bib", style: "chicago-notes") --- cite-form --- #set page(width: 200pt) Nothing: #cite(<arrgh>, form: none) #cite(<netwok>, form: "prose") say stuff. #bibliography("/assets/bib/works.bib", style: "apa") --- cite-g...
https://github.com/maucejo/presentation_touying
https://raw.githubusercontent.com/maucejo/presentation_touying/main/src/presentation-template.typ
typst
MIT License
#import "@preview/touying:0.5.2": * #import "_boxes.typ": * #import "_slides.typ": * #let presentation-theme( aspect-ratio: "16-9", lang: "fr", navigation: "topbar", ..args, body ) = { show: touying-slides.with( config-info( title: none, short-title: none, author: none,...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/page/quests.typ
typst
#import "../core/core.typ": * #let quests = { let headerCell(colspan: 1, body) = grid.cell( colspan: colspan, align: left, tableHeader(body) ) let emptyCell = grid.cell([]) let questFrame(fromLines: 2, goalLines: 5, rewardLines: 1) = [ #framed( fitting: expand-h, insets: (top: padd...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/gloss-awe/0.0.3/glossary.typ
typst
Apache License 2.0
// Copyright 2023 <NAME>, <NAME> // gls[term]: Marks a term in the document as referenced. // gls(glossary-term)[term]: Marks a term in the document as referenced with a // different expression ("glossary-term") in the glossary. // To ensure that the marked entries are displayed properly, it is also required // to us...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/link-04.typ
typst
Other
// Verify that opening brackets without closing brackets throw an error. // Error: 22-22 expected closing bracket in link https://exam(ple.com/
https://github.com/OriginCode/typst-homework-template
https://raw.githubusercontent.com/OriginCode/typst-homework-template/master/template.typ
typst
#let project(title: "", authors: (), show_info: true, body) = { // Set the document's basic properties. set document(author: authors, title: title) set page(paper: "us-letter") set text(11pt, font: "New Computer Modern", lang: "en") show raw: text.with(font: "Iosevka") if show_info { // Title row. ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Home.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: "Home", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") = Home <home> == Links <links> #link("Math...
https://github.com/LDemetrios/Conspects-4sem
https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/README.md
markdown
# Conspects 4 semester Здесь располагается честная попытка автора репозитория ~~начать учиться~~ вести конспект. Речь идёт о четвёртом семестре КТ ИТМО, следующих курсах: - Технологии программирования, оно же Java Advanced - Программирование на видеокартах - Что-нибудь ещё, если захочется... ### Устройство репози...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11600.typ
typst
Apache License 2.0
#let data = ( ("MODI LETTER A", "Lo", 0), ("MODI LETTER AA", "Lo", 0), ("MODI LETTER I", "Lo", 0), ("MODI LETTER II", "Lo", 0), ("MODI LETTER U", "Lo", 0), ("MODI LETTER UU", "Lo", 0), ("MODI LETTER VOCALIC R", "Lo", 0), ("MODI LETTER VOCALIC RR", "Lo", 0), ("MODI LETTER VOCALIC L", "Lo", 0), ("MODI...
https://github.com/marcantoinem/CV
https://raw.githubusercontent.com/marcantoinem/CV/main/fr/work-experience.typ
typst
#import "../src/style.typ": experience #let nuvu = { experience( "Nuvu Cameras", "Montréal, Canada", "Mai 2024 - Août 2024", "Stagiaire en développement électronique embarqué", [ - Développement de bancs d'essai avec VUnit pour plus de *30 000 lignes* de code VHDL afin d'assurer le bon fonc...
https://github.com/liuguangxi/suiji
https://raw.githubusercontent.com/liuguangxi/suiji/main/src/lib.typ
typst
MIT License
#import "random.typ": gen-rng, integers, random, uniform, normal, discrete-preproc, discrete, shuffle, choice #import "random-fast.typ": gen-rng-f, randi-f, integers-f, random-f, uniform-f, normal-f, discrete-preproc-f, discrete-f, shuffle-f, choice-f #import "chinese.typ": rand-sc
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/quantizers/s-metric/s-metric-compar1.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot, draw #let line_style = (stroke: (paint: black, thickness: 2pt)) #let dashed = (stroke: (dash: "dashed")) #let fill_aqua = (stroke: none, fill: teal) #let fill_olive = (stroke: none, fill: maroon) #canvas({ plot.plot(size: (7,3), legend: "legend.south", legend-styl...
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/.VSCodeCounter/2023-12-14_20-30-42/results.md
markdown
# Summary Date : 2023-12-14 20:30:42 Directory d:\\Desktop\\Document\\Coding\\JAVA\\Rep\\Java-coures-report Total : 35 files, 2294 codes, 87 comments, 428 blanks, all 2809 lines Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) ## Languages | language | files | code | com...
https://github.com/zenor0/FZU-report-typst-template
https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/parts/main-body-report-fn.typ
typst
MIT License
#import "../utils/states.typ": part-state #import "../utils/fonts.typ": 字体, 字号 #let main-body-report-conf(doc, enable-header: false, header: "福州大学课程报告") = { set page( header: { set align(center) set text(font: 字体.宋体, size: 字号.小五, lang: "zh") set par(first-line-indent: 0pt, leading: 16pt, ...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/meta-environments/imports-class_handouts.typ
typst
#import "/meta-environments/env-templates.typ": * #import "@preview/gloss-awe:0.1.5": *
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/tests/test-sierpinski-curve.typ
typst
MIT License
#set document(date: none) #import "/src/lib.typ": * #set page(margin: 1cm) = n = 1 #align(center)[ #sierpinski-curve(1, step-size: 40) ] = n = 2 #align(center)[ #sierpinski-curve(2, step-size: 20, fill-style: gray, stroke-style: none) ] = n = 3 #align(center)[ #sierpinski-curve(3,...
https://github.com/zjutjh/zjut-report-typst
https://raw.githubusercontent.com/zjutjh/zjut-report-typst/main/template/utils.typ
typst
#import "fonts.typ":* #let date_format( date: (2023,5,14) ) = { set text(font: font_style.songti, size: font_size.四号); [#date.at(0) 年 #date.at(1) 月 #date.at(2) 日] } #let toc() = { align(center)[ #text(font: font_style.heiti, size: 18pt, "目 录") ] parbreak() set text(font: font_style.heiti,...
https://github.com/cu1ch3n/menu
https://raw.githubusercontent.com/cu1ch3n/menu/main/README.md
markdown
> **This repository will stop updating and be archived.** > > I probably won't be interested in cooking in the near future, even though I recently moved into an new apartment with a great kitchen and was hoping to make some food vlogs. I have forever lost the girl who taught me how to cook, tasted every dish on the men...
https://github.com/extua/october
https://raw.githubusercontent.com/extua/october/main/template/main.typ
typst
MIT No Attribution
#import "@preview/october:1.0.0": calendar #set page( "a4", flipped: true, ) #show: calendar.with( year: datetime.today().year(), )
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/数学模型/main.typ
typst
#import "../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, der, partialDer, inner, fourierTrans #import "../template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: note.with( title: "数学模型", auth...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p1_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test basics, prescripts. Notably, the upper and lower prescripts' content need to be // aligned on the right edge of their bounding boxes, not on the left as in postscripts. $ attach(upright(O), bl: 8, tl: 16, br: 2, tr: 2-), attach("Pb", bl: 82...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/math/ordinaux.typ
typst
#import "../lib.typ": * #show heading: heading_fct #import "@preview/gloss-awe:0.0.5": gls #show figure.where(kind: "jkrb_glossary"): it => {it.body} #import "@preview/cetz:0.2.2" On dit qu'une relation $cal(R)$ sur $E$ est un ordre strict si : - $forall x in E, not (x cal(R) x) $ (*$cal(R)$ est antiréfléxif*) - $...
https://github.com/ENIB-Community/ENIB_Typst_Internship_Template
https://raw.githubusercontent.com/ENIB-Community/ENIB_Typst_Internship_Template/main/template.typ
typst
MIT License
#import "@preview/glossarium:0.2.6": * #import "@preview/codelst:1.0.0": sourcecode, codelst-styles, sourcefile #import "@preview/showybox:2.0.1": showybox // somewhat bizare typst thingy here #let codelst-sourcefile = sourcefile #let sourcefile(filename, ..args) = codelst-sourcefile( read(filename), file: filen...
https://github.com/An-314/Note-of-Quantum_Mechanics
https://raw.githubusercontent.com/An-314/Note-of-Quantum_Mechanics/main/chap3.typ
typst
#import "@preview/physica:0.9.2": * #import "@local/mytemplate:1.0.0": * = 一维运动问题的一般分析 一维定态Schrödinger方程为: $ - hbar^2/(2m) dd(""^2psi)/dd(x^2) + V(x) psi = E psi $ 写成二阶齐次线性微分方程的标准形式: $ dd(""^2psi)/dd(x^2) + (2m)/hbar^2(E - V(x)) psi = 0 $ 其中,$psi$是波函数,$V(x)$是势能函数,$E$是能量。 在经典力学的意义上$E = T + V$,因此$E - V ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/vec-02.typ
typst
Other
// Error: 22-25 expected "(", "[", "{", "|", "||", or none #set math.vec(delim: "%")
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-table_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 100pt) = Tables #table( columns: 2, [Hello footnote #footnote[This is a footnote.]], [This is more text], [This cell #footnote[This footnote is not on the same page] breaks over multiple pages.], image("/assets/f...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/statastic/0.1.0/lib.typ
typst
Apache License 2.0
/// Extracts a specific column from the given dataset based on the column. /// /// - data (array): The dataset. /// - colId (int): The identifier for the column to be extracted. /// -> array #let extractColumn(data, colId) = { let column = () for row in data { column.push(row.at(colId)) } colum...
https://github.com/0x1B05/algorithm-journey
https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/杂题.typ
typst
#import "../template.typ": * #pagebreak() = 杂题(1) == 一个数据流中,最快可以取得中位数 ```java import java.util.Comparator; import java.util.PriorityQueue; public class MadianQuick { public static class MedianQuick{ private PriorityQueue<Integer> maxHeap = new PriorityQueue<>(new MaxHeapComparator()); private Pri...
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/program.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator, codetastic #import notebookinator: * #import themes.radial.components: * #import codetastic: qrcode #show: create-body-entry.with( title: "Program: Flywheel", type: "program", date: datetime(year: 2023, month: 12, day: 11), author: "<NAME>", witness: "<NAME>", ) = P...
https://github.com/topdeoo/NENU-Thesis-Typst
https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/layout/document.typ
typst
/// 文档总体设置 /// 设置部分包括: /// 1. 整体字体与字号 /// 2. 页面布局(页边距) /// 3. pdf 元信息 #let doc( info: (:), thesis-type: "bachelor", fallback: false, lang: "zh", it, ) = { //! 初始化 info = ( title: "基于 Typst 的学位论文", author: "张三", ) + info //! 设置样式 set text(fallback: fallback, lang: lang) // if thesi...