repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/README.md
markdown
# Typst Templates Here, you can find the five templates that currently ship with the [Typst web app.](https://typst.app) This is only a temporary home for them until we have built a proper package manager for Typst. For community creations, also see: <https://github.com/qjcg/awesome-typst>
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/glossary.typ
typst
The Unlicense
#import "/utils.typ" #let glossary = utils.make-glossary(glossary => { columns(2)[ #for entry in glossary { box[ == #entry.word #entry.definition \ ] } ] })
https://github.com/jomaway/typst-gentle-clues
https://raw.githubusercontent.com/jomaway/typst-gentle-clues/main/lib/clues.typ
typst
MIT License
// gentle-clues // Helper #let if-auto-then(val,ret) = { if (val == auto){ ret } else { val } } // Global states #let __gc_clues_breakable = state("breakable", false) #let __gc_clues_headless = state("headless", false) #let __gc_clue_width = state("clue-width", auto) #let __gc_header_inset = state("head...
https://github.com/mrtz-j/typst-thesis-template
https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/modules/supervisors.typ
typst
MIT License
#let supervisors-page(supervisors) = { pagebreak(weak: true, to: "even") // Apply styling to supervisor content let supervisors-content = supervisors.map(s => { ( [#text(weight: "semibold", s.title + ":")], [#s.name], [#s.affiliation], ) }) // --- Supervisors --- page( number...
https://github.com/pride7/Typst-callout
https://raw.githubusercontent.com/pride7/Typst-callout/main/configure.typ
typst
#let logo = "images/pen.png" #let configure = (:) #configure.insert( "note", ( logo: "images/note.svg", box-color: rgb(240, 245, 248), title-color: rgb(88,123,207) ) ) #configure.insert( "summary", ( logo: "images/summary.svg", box-color: rgb(226, 246, 246), title-color: rgb(70,163,...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-square_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test text overflowing height. #set page(width: 75pt, height: 100pt) #square(fill: conifer)[ But, soft! what light through yonder window breaks? ]
https://github.com/Maso03/Bachelor
https://raw.githubusercontent.com/Maso03/Bachelor/main/Bachelorarbeit/chapters/ConvAI.typ
typst
MIT License
== ConvAI – Eine Einführung === Was ist ConvAI? ConvAI ist eine fortschrittliche Plattform für Conversational AI (Künstliche Intelligenz), die speziell entwickelt wurde, um virtuelle Charaktere in Spielen und anderen virtuellen Welten mit menschlichen Kommunikationsfähigkeiten auszustatten. Die Plattform ermöglicht d...
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[6] Conclusão e Trabalhos Futuros/conclusão.typ
typst
#let conclusão = { [ Com a implementação do sistema de gestão de base de dados, tanto Vizela como a empresa _Lusium_ aprimoraram a sua segurança em diversos aspetos, trazendo um aumento exponencial tanto nos lucros como na qualidade de vida de todos os envolvidos. A adoção deste sistema representa um passo fundam...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cartridges/huc3.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * == HuC-3 mapper chip HuC-3 supports ROM sizes up to 16 Mbit (128 banks of #hex("4000") bytes), and RAM sizes up to 1 Mbit (16 banks of #hex("2000") bytes). Like HuC-1, it includes support for infrared communication, but also includes a real-time-clock (RTC) and output pins used to contro...
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/chap11/4/answer.typ
typst
#set par(leading: 1em) == 假设 - *瓶子位置和尺寸一致*:假设瓶子不倾斜,垂直位置和尺寸大致一致。 - *图片拍摄条件一致*:假设拍摄条件一致,瓶子在传送带上的位置和角度相对固定。 - *灰度对比明显*:假设图像中瓶子和背景有明显的灰度对比,能够通过二值化处理有效区分。 - *传送带速度合适、恒定*:假设传送带的速度恒定,瓶子在传送带上的运动速度和方向一致,瓶子中液体不会摇晃。 - *整齐排列*:假设瓶子在传送带上排列整齐,水平位置和大小差异不大,便于排序和检测。 == 方案 #set enum(numbering: "1.") 1. *图像预处理*:读取灰度图像并进行二...
https://github.com/deadManAlive/ui-thesis-typst-template
https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/config.typ
typst
#let cfg = ( title : lorem(20), name : "Mulyanto", npm : "19650931", faculty : "Fakultas Teknik", program : "Teknik Elektro", location : "Lubang Buaya", time : "Agustus 2024", degree : "Sarjana Teknik", advisors : ( "Dr. Doom", "Dr. Strange", ), examiners: ( "Mr. Mr...
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/quantizers/s-metric/3_2_reconstruction.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot #let line_style = (stroke: (paint: red, thickness: 2pt)) #let line_style2 = (stroke: (paint: blue, thickness: 2pt)) #let line_style3 = (stroke: (paint: green, thickness: 2pt)) #let dashed = (stroke: (dash: "dashed")) #canvas({ plot.plot(size: (8,6), legend: "legend.sou...
https://github.com/daxartio/cv
https://raw.githubusercontent.com/daxartio/cv/main/en.typ
typst
MIT License
#import "cv.typ": cv #cv("en.yml")
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/enum.typ
typst
Apache License 2.0
// Test enumerations. --- #enum[Embrace][Extend][Extinguish] --- 0. Before first! 1. First. 2. Indented + Second --- // Test automatic numbering in summed content. #for i in range(5) { [+ #numbering("I", 1 + i)] } --- // Mix of different lists - Bullet List + Numbered List / Term: List --- // In the line. 1...
https://github.com/NMD03/typst-uds
https://raw.githubusercontent.com/NMD03/typst-uds/main/README.md
markdown
# Typst template for Saarland University This template is based on a [DHBW Template](https://github.com/C0ffeeCode/typst-dhbw-technik-template.git) by [@C0ffeeCode](https://github.com/C0ffeeCode). As an example and guide how to use this template, check out [this PDF document](./Template-Example-guide.pdf).
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/statuts/template.typ
typst
#let template( //nom de l'association name: none, //objet de l'association object: none, //adresse de l'association address: none, //date date: none, //taille du CA size_ca: none, //durée du mandat duree_mandat: none, body ) = { let c = counter("titre") ...
https://github.com/arthurcadore/eng-telecom-workbook
https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/COM_1/homework6/homework.typ
typst
MIT License
#import "@preview/klaro-ifsc-sj:0.1.0": report #import "@preview/codelst:2.0.1": sourcecode #show heading: set block(below: 1.5em) #show par: set block(spacing: 1.5em) #set text(font: "Arial", size: 12pt) #show: doc => report( title: "Atividade Extra", subtitle: "Sistemas de Comunicação I", authors: ("<NAME>",),...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/biology/lec3.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 3", subtitle: "7.016" ) = Amino Acids #define( title: "Amino Acid" )[ An amino acid is a protein that contains both the amino as well as carboxylic acid groups. ] In the context of an amino acid, $R$ is the side chain, and is what distinguishes ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/027_Conspiracy%3A%20Take%20the%20Crown.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Conspiracy: Take the Crown", doc) #include "./027 - Conspiracy: Take the Crown/001_Laid to Rest.typ" #include "./027 - Conspiracy: Take the Crown/002_Tyrants.typ" #include "./027 - Conspiracy: Take the Crown/003_Proclamation by Queen Marchesa.typ" #include "./027...
https://github.com/Iskander000/lab4
https://raw.githubusercontent.com/Iskander000/lab4/main/Lab-4.typ
typst
#import "Class.typ": * #show: ieee.with( title: [#text(smallcaps("Lab #4: ROS2 using RCLPY in Julia"))], /* abstract: [ #lorem(10). ], */ authors: ( ( name: "<NAME>", department: [Senior-lecturer, Dept. of EE], organization: [ISET Bizerte --- Tunisia], pro...
https://github.com/amomorning/curriculum-vitae
https://raw.githubusercontent.com/amomorning/curriculum-vitae/main/template.typ
typst
#import "@preview/fontawesome:0.2.1": * #let resume( name: "<NAME>", first-name: "John", last-name: "Doe", phone: "(+1) 111-111-1111", email: "<EMAIL>", address: "Nanjing sss", date: datetime.today().display(), font: ("Source Sans Pro", "Source Sans 3", "Microsoft YaHei"), heading-font: ("Microsoft ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.3.0/src/lib.typ
typst
Apache License 2.0
#import "/src/core.typ" #import "/src/util.typ" #import "/src/selectors.typ" /// An anchor used to search from. When using `hydra` ouside of the page header, this should be /// placed inside the pge header to find the correct searching context. `hydra` always searches from /// the last anchor it finds, if and only if ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/in-dexter/0.1.0/in-dexter.typ
typst
Apache License 2.0
// Copyright 2023 <NAME>, <NAME> // Use of this code is governed by the License in the LICENSE.txt file. // For a 'how to use this package', see the accompanying .md, .pdf + .typ documents. // Adds a new entrty to the index // @param fmt: function: content -> content // @param initial: "letter" to sort entries under ...
https://github.com/kdog3682/typkit
https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/resolve.typ
typst
#import "is.typ": * #import "strokes.typ" #import "fills.typ" #import "alignments.typ" #import "@preview/unify:0.6.0": num #let resolve-default(a, b) = { if a == none { b } else { a } } #let resolve-array(x) = { if is-array(x) { x } else if is-none(x) { () } el...
https://github.com/crd2333/Astro_typst_notebook
https://raw.githubusercontent.com/crd2333/Astro_typst_notebook/main/src/docs/here/to2/2.typ
typst
--- title: '我的第一篇博客文章' pubDate: 2022-07-01 description: '这是我 Astro 博客的第一篇文章。' author: 'Astro 学习者' tags: ["astro", "learning in public"] --- = Typst 笔记 == Typst Compose paper faster Fuck typst
https://github.com/voXrey/cours-informatique
https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/15-files-de-priorité.typ
typst
#import "@preview/codly:0.2.1": * #show: codly-init.with() #codly() #import "@preview/diagraph:0.2.4": * #set text(font: "Roboto Serif") = Partie III - Structure de Données <partie-iii---structure-de-données> = Chapitre 15 : Files de Priorités <chapitre-15-files-de-priorités> == I - Tas Binaire <i---tas-binaire> Soit...
https://github.com/zllmma/electromagnetic_field_and_wave_notes
https://raw.githubusercontent.com/zllmma/electromagnetic_field_and_wave_notes/main/notes.typ
typst
#import "@preview/ilm:1.2.1": * #set text(lang: "zh") #show: ilm.with( title: [电磁场与电磁波笔记], author: "ZLL", date: datetime(year: 2024, month: 08, day: 06), paper-size: "a4", ) #set text( font: ("New Computer Modern", "Noto Serif CJK SC"), size: 13pt, ) #let bq = blockquote = 矢量分析 #bq([ 笔者注: 严格的来讲, 矢量符号...
https://github.com/RodolpheThienard/typst-template
https://raw.githubusercontent.com/RodolpheThienard/typst-template/main/reports/2/template2.typ
typst
MIT License
#let project(title: none, authors: none, subtitle: none, img:none, body) = { set text(font: "IBM Plex Mono", lang: "en") set par(justify: true) set page( header: grid(columns: (1fr), align(right + horizon)[#text(gray)[#title]], ), footer: [ #line(length: 100%) #grid(columns: (50%,5...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/repr-02.typ
typst
Other
// Colors and strokes. #set text(0.8em) #rgb("f7a205") \ #(2pt + rgb("f7a205")) // Strings and escaping. #raw(repr("hi"), lang: "typc") #repr("a\n[]\"\u{1F680}string") // Content. #raw(lang: "typc", repr[*Hey*]) // Functions are invisible. Nothing #let f(x) = x #f #rect #(() => none)
https://github.com/altaris/typst-symbols-a4
https://raw.githubusercontent.com/altaris/typst-symbols-a4/master/typst-symbols-a4.typ
typst
MIT License
#set table(stroke: 0.1pt) #let t2l(typst, latex, latexpkg: "") = { ( [#eval(typst, mode: "math")], [#text(typst, font: "Fira Code")], [#text([\\#latex], font: "Fira Code")], [#text(latexpkg, font: "Fira Code")], ) } #table( columns: 4, table.header([Symbol], [Typst], [LaTeX], [LaTeX pkg]), ....
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-22.typ
typst
Other
// Test the `fold` method. #test(().fold("hi", grid), "hi") #test((1, 2, 3, 4).fold(0, (s, x) => s + x), 10)
https://github.com/zenor0/FZU-report-typst-template
https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/utils/numbering-tools.typ
typst
MIT License
#import "packages.typ": int-to-cn-num #import "states.typ": part-state #import "fonts.typ": 字体, 字号 #let number-with-circle(num) = "①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳".clusters().at(num - 1, default: "®") #let chinese-numbering(..nums, location: none, brackets: false) = locate(loc => { let actual_loc = if location == none { loc }...
https://github.com/kdkasad/typst-homework-template
https://raw.githubusercontent.com/kdkasad/typst-homework-template/master/khw.typ
typst
BSD 3-Clause "New" or "Revised" License
// // Kian's Typst homework template // // Copyright 2024 <NAME> (<EMAIL>) // // This code is made available under the terms of 3-Clause BSD License. // See the LICENSE file included in this repository. // SPDX-License-Identifier: BSD-3-Clause // #import "@preview/cetz:0.2.2" #import "@preview/algo:0.3.3": algo, com...
https://github.com/Luxzi/doc-templates
https://raw.githubusercontent.com/Luxzi/doc-templates/main/README.md
markdown
MIT License
# doc-templates Templates for documention (i.e. RFCs, specifications, whitepapers, etc) ## Repository structure Each directory name is structured as follows: ``` [type]-[technology]-[theme] ``` `[type]` indicates what kind of document the template is for (e.g. RFCs, whitepapers, etc). `[technology]` indicates what t...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/07-proposed-solution/dependency-graph.typ
typst
#import "@preview/cetz:0.2.2": canvas, draw #v(2em) #canvas(length: 1cm, { import draw: * set-style(content: (padding: .2), stroke: black) content((0, 2.5), [$G = (V, E)$]) circle((0, 0), radius: .45, stroke: black, name: "v_1") content((0, 0), [$v_1$]) circle((3, 1), radius: .45, stroke: black, name:...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037_Ravnica%20Allegiance.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Ravnica Allegiance", doc) #include "./037 - Ravnica Allegiance/001_The Illusions of Child's Play.typ" #include "./037 - Ravnica Allegiance/002_Rage of the Unsung.typ" #include "./037 - Ravnica Allegiance/003_The Principles of Unnatural Selection.typ" #include "./...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/数理逻辑/作业/ml-3_2-hw.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark #import "../../template.typ": * #import "../main.typ": not1, True, False, infer #import "../main.typ": * #show: note.with( title: "作业3_1", author: "YHTQ", date: datetime.today().display(), logo: none, withOutline...
https://github.com/typst/templates
https://raw.githubusercontent.com/typst/templates/main/cereal-words/lib.typ
typst
MIT No Attribution
// The game board. #let board = ``` D D E L I V E R Y P O P N G K G J G R L C R E A T U R E S E U E V L K H F G A U M G R Y C E Z G M C E L J T R I L A F T N M H Q A E H M H D T I F T K I X E P C S M O H X I N T V S K O R O H U A U A Q ```.text.split("\n").map(line => line.split().map(str.trim)) // Did you really thin...
https://github.com/justinvulz/typst_packages
https://raw.githubusercontent.com/justinvulz/typst_packages/main/test.typ
typst
// #show regex("\p{script=Han}"):it=>[ // #set text(font: ("Times New Roman","DFKai-SB")) // #text(weight: "bold")[#it] // ] #set text(font: ("Times New Roman","DFKai-SB")) #let f(n) ={n} #let t = (f)(3) #t
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231124/content.typ
typst
MIT License
#import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro #import "functions.typ": glossary, team #let participants = csv("participants.csv") = Partecipanti / Inizio incontro: #inizio_incontro / Fine incontro: #fine_incontro / Luogo incontro: #luogo_incontro #table( columns: (3fr, 1fr), [*Nome*], [*Durat...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/specification/environment_variable.md
markdown
# Environment variable ```typescript const v = process.env.ENV_KEY ?? "default" ``` * `process.env` objectに入っている。 * 設定されていない場合はobjectに対する存在しないproperty accessとしてundefinedが返る
https://github.com/jamesrswift/chemicoms-paper
https://raw.githubusercontent.com/jamesrswift/chemicoms-paper/main/src/elements/header-block.typ
typst
#let header-block( args ) = block( text(weight: 200, 24pt, fill: white, args.header.article-type), fill: args.header.article-color, width: 100% , inset: 10pt, radius: 2pt )
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/palette.typ
typst
MIT License
/* We keep the default palette as a noncontextual object. */ #let DEFAULT-PALETTE = ( primary: rgb("#005050"), secondary: rgb("#D2E6E6"), background: rgb("#FFFFFF"), note-header: rgb("#005050"), note-body: rgb("#D2E6E6"), tip-header: rgb("#005050"), tip-body: rgb("#D2E6E6"), important-header: rgb("#B...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/style/README.md
markdown
Creative Commons Zero v1.0 Universal
# Override default styles ## Installation Download and place this specific `style` folder in ```sh %LocalAppData%\typst\packages\local ``` ## Usage ```typst #import "@local/style:1.0.0": * #show: style ```
https://github.com/xingjian-zhang/typst2img
https://raw.githubusercontent.com/xingjian-zhang/typst2img/main/output/general_relativity.typ
typst
#let display(body) = context { set page(width: auto, height: auto, margin: (x: 20pt, y: 20pt)) align([#body], center + horizon) } #display[$ G_(mu nu) + Lambda g_(mu nu) = kappa T_(mu nu) $]
https://github.com/HollowNumber/DDU-Rapport-Template
https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/src/format.typ
typst
#import "./lib/recursive_count.typ": * #let rapport( titel: "", undertitel: "", sidehoved: [], abstract: [], forfatter: (), vejleder: (), logo: none, periode: "", toc: true, tof: false, tot: false, acknowledgements: [], body, ) = { // Indstil dokumentets grundlæggende egenskaber. set docu...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/note/5.线性空间.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra #5", authors: ( (name: "<NAME>", email: "<EMAIL>", phone: "3230104585"), ), date: "December 3, 2023", ) #let alpha = math.bold(math.alpha) #let beta = math.bold(math.beta) #let gamma = math.bold(math.gamma) #let theta = math.bold(math....
https://github.com/fredguth/typst-business-model-canvas
https://raw.githubusercontent.com/fredguth/typst-business-model-canvas/main/example/main.typ
typst
#import "../biz_canvas.typ": canvas #show: _ => canvas( title: [ = Modelo de Negócios ], business: [ Biz ], problems:[ == Problemas #v(1em) - problem 1 - problem 2 ], activities:[ == Atividades #v(1em) - activity 1 - activity 2 ], metrics:[ == Métricas ...
https://github.com/mrcinv/nummat-typst
https://raw.githubusercontent.com/mrcinv/nummat-typst/master/admonitions.typ
typst
#let admonition(title: none, color: none, content) = align(center, box( width: 98%, align(left, stack( dir: ttb, rect(width: 100%, fill: color, stroke: 0.3pt, title), rect(width: 100%, fill: color.desaturate(80%), stroke: 0.3pt, content), ) ) ) ) #let admtitle(type, t...
https://github.com/mps9506/quarto-lapreprint
https://raw.githubusercontent.com/mps9506/quarto-lapreprint/main/README.md
markdown
MIT License
# quarto-lapreprint Format ![GitHub License](https://img.shields.io/github/license/mps9506/quarto-lapreprint) This is a typst template for quarto users. The original typst template is from [LaPreprint](https://github.com/LaPreprint/typst)[^distribution] and has been slightly modified for use in quarto. [^distributi...
https://github.com/ShizhongP/easy-py
https://raw.githubusercontent.com/ShizhongP/easy-py/main/main.typ
typst
#import "@preview/ilm:1.2.1": * #show outline: set text(font: "Source Han Serif", weight: "thin", size: 10pt) #show outline: set par(leading: 10pt) #show: ilm.with( title: [ #text("福州大学超算团队\nAI 方向\n学习手册", size: 0.7em, font: "Source Han Serif") \ \ #text("I. python 入门", size: 1.3em, font: "Source Han Serif"...
https://github.com/Vortezz/fiches-mp2i-maths
https://raw.githubusercontent.com/Vortezz/fiches-mp2i-maths/main/chapter_5.typ
typst
#set page(header: box(width: 100%, grid( columns: (100%), rows: (20pt, 8pt), align(right, text("CHAPITRE 3. COMBINATOIRE")), line(length: 100%), )), footer: box(width: 100%, grid( columns: (50%, 50%), rows: (8pt, 20pt), line(length: 100%), line(length: 100%), align(left, text("<NAME> - MP2I")), alig...
https://github.com/hekzam/typst-lib
https://raw.githubusercontent.com/hekzam/typst-lib/main/README.md
markdown
Apache License 2.0
hekzam's typst lib =================== Typst library to help the generation of exam sheets. How to run tests? ----------------- 1. Install Nix: https://nixos.org/download 2. Enable the `nix` command and flakes in your Nix configuration: write `experimental-features = nix-command flakes` to `~/.config/nix/nix.conf`. 3....
https://github.com/Mc-Zen/pillar
https://raw.githubusercontent.com/Mc-Zen/pillar/main/tests/table/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1pt) #import "/src/pillar.typ" #pillar.table( cols: "lcr", [ABC], [DEF], [GHI], [J], [K], [L] ) #pagebreak() #pillar.table( cols: "|l|c|r|", [ABC], [DEF], [GHI], [J], [K], [L] ) #pagebreak() // Check interoperability #pillar.table( cols: "|lcr|", column-gut...
https://github.com/pku-typst/unilab
https://raw.githubusercontent.com/pku-typst/unilab/main/lib.typ
typst
MIT License
#import "template.typ": objectives, principles, apparatus, procedure, data, analysis, labreport
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-01.typ
typst
Other
// Error: 10 expected expression #test({1+}, 1)
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw11.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: note.with( title: "作业11", author: "YHTQ ", date: none, logo: none, withOutlined: false ) = P119 == 1(1) 容易验证它在 $QQ(sqrt(2), sqrt(3))$ 上分裂,同时它的分裂域中显...
https://github.com/Maeeen/thesis_template_typst
https://raw.githubusercontent.com/Maeeen/thesis_template_typst/master/README.md
markdown
# EPFL thesis/project report Typst template Same as [HexHive's template](https://github.com/HexHive/thesis_template), but in Typst, plus or minus some typography details. This is a **work-in-progress** :warning:. ## Documentation The documentation of each function is available in the `documentation.pdf` file. ## B...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/changelog/0.9.0.md
markdown
Apache License 2.0
--- title: 0.9.0 description: Changes in Typst 0.9.0 --- # Version 0.9.0 (October 31, 2023) ## Bibliography management - New bibliography engine based on [CSL](https://citationstyles.org/) (Citation Style Language). Ships with about 100 commonly used citation styles and can load custom `.csl` files. - Added new [...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/092.%20lies.html.typ
typst
lies.html Lies We Tell Kids May 2008Adults lie constantly to kids. I'm not saying we should stop, but I think we should at least examine which lies we tell and why.There may also be a benefit to us. We were all lied to as kids, and some of the lies we were told still affect us. So by studying the ways adults lie to...
https://github.com/horaoen/typstempl
https://raw.githubusercontent.com/horaoen/typstempl/master/demo/cosheet.typ
typst
mport "cosheet.typ": cosheet #show: doc => cosheet( doc ) = 去除各种空格 ```java public String trim(String str) { // "\u0020" 半角空格, office空格, 全角空格 return str.trim().replace("\u00a0", "").replace("\u3000", ""); } ``` == simple trim `str.trim()` == test font `true == 1`
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/tests/features/use-last/multiple-ancestors/test.typ
typst
MIT License
// Synopsis: // - When there are multiple ancestors on one page hydra should still show the last heading #import "/src/lib.typ": hydra #set page( paper: "a7", header: context hydra(2, use-last: true), ) #set heading(numbering: "1.1") #set par(justify: true) = Introduction == First Section #lorem(50) == Second S...
https://github.com/Otto-AA/definitely-not-tuw-thesis
https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/src/utils.typ
typst
MIT No Attribution
#let name-with-titles = p => { if "pre-title" in p { [#p.at("pre-title", default: "") ] } p.at("name", default: "") if "post-title" in p { [ #p.at("post-title", default: "")] } }
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/introduction/tool_research/flo.typ
typst
= flo <flo> flo is a visual and functional programming language. It features a programming environment based on blocks connected using cables, as shown in @flo_screenshot_1. The corresponding compiler converts the visual arrangements and connections into Haskell code. #figure( image("../../../static/flo_screenshot_...
https://github.com/FuryMartin/fury-note-typst
https://raw.githubusercontent.com/FuryMartin/fury-note-typst/master/README.md
markdown
MIT License
# simple-typst-note ## Usage ```rust #import "lib.typ": * #let title = "Hello, World!" #let author = ( name: "<NAME>", email: "<EMAIL>" ) #let bib = bibliography("refer.bib") #show: note.with( title: [#title], author: author, bib:bib, lang: "zh", toc: false, ) = Introduction #lorem(50) ``` ## Re...
https://github.com/Many5900/aau-typst
https://raw.githubusercontent.com/Many5900/aau-typst/main/main.typ
typst
#import "custom.typ": * #import "template.typ": * #import "@preview/codly:1.0.0": * #show: codly-init.with() // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( meta: ( title: "AAU Project Report Name", theme: "Insert them...
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch14-conclusion.typ
typst
Other
#import "lib/definitions.typ": * == Conclusion We hope to have convinced you that hypermedia, rather than being a "legacy" technology or a technology only appropriate for "documents" of links, text and pictures, is, in fact, a powerful technology for building _applications_. In this book you have seen how to build so...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/editors/vscode/Configuration.md
markdown
Apache License 2.0
# Tinymist Server Configuration ## `tinymist.outputPath` The path pattern to store Typst artifacts, you can use `$root` or `$dir` or `$name` to do magic configuration, e.g. `$dir/$name` (default) and `$root/target/$dir/$name`. - **Type**: `string` ## `tinymist.exportPdf` The extension can export PDFs of your Typst...
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/gcc.typ
typst
= GCC #label("gcc") - GCC编译器也称为Linux GCC命令,它有很多选项。GCC编译器是Linux下最常用的编译器。 == Install #label("install") ```sh # MacOS安装Xcode工具链 xcode-select --install # Ubuntu sudo apt install gcc ``` == Basic #label("basic") ```sh gcc -c filename.c # compile only, produce .o gcc -g # compile for debugging gcc -o filename.o # gcc -O ...
https://github.com/Doublonmousse/pandoc-typst-reproducer
https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/color_issues/hsv.typ
typst
#square( fill: color.hsv(30deg, 50%, 60%) )
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fireside/1.0.0/.demo/demo_medium.typ
typst
Apache License 2.0
#import "@preview/fireside:1.0.0": * #show: fireside.with( title: [Anakin \ Skywalker], from-details: [ Appt. x, \ Mos Espa, \ Tatooine \ <EMAIL> \ +999 xxxx xxx ], to-details: [ Sheev Palpatine \ 500 Republica, \ Ambassadorial Sector, Senate District, \ Galactic City, \ Corusca...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/entries.typ
typst
The Unlicense
#import "/globals.typ" #import "./utils.typ" #import "./themes/themes.typ" /// The generic entry creation function. This function is not meant to be called by the user. Instead, use the three entry variants, frontmatter, body, and appendix, to create entries. /// /// - section (string): The type of entry. Takes either...
https://github.com/jomaway/typst-teacher-templates
https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-exam/lib/template.typ
typst
MIT License
#import "@preview/ttt-utils:0.1.2": assignments, components, grading, helpers #import "i18n.typ": * #import components: * #import assignments: * #import grading: * #import "points.typ": * #import "headers.typ": * #let _appendix(body, title: auto, ..args) = [ #set page(footer: none, header:none, ..args.named()) #...
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/doc/examples/book/a.typ
typst
MIT License
#import "/doc/examples/template.typ": example #show: example.with(book: false) #include "content.typ"
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A720.typ
typst
Apache License 2.0
#let data = ( ("MODIFIER LETTER STRESS AND HIGH TONE", "Sk", 0), ("MODIFIER LETTER STRESS AND LOW TONE", "Sk", 0), ("LATIN CAPITAL LETTER EGYPTOLOGICAL ALEF", "Lu", 0), ("LATIN SMALL LETTER EGYPTOLOGICAL ALEF", "Ll", 0), ("LATIN CAPITAL LETTER EGYPTOLOGICAL AIN", "Lu", 0), ("LATIN SMALL LETTER EGYPTOLOGICAL...
https://github.com/EstebanMunoz/typst-template-evaluacion
https://raw.githubusercontent.com/EstebanMunoz/typst-template-evaluacion/main/template/main.typ
typst
MIT No Attribution
#import "@local/fcfm-evaluacion:0.1.0": conf, subfigures, today // Parámetros para la configuración del documento. Descomentar aquellas que se quieran usar #let document-params = ( "title": "Nombre evaluación", "subject": "Tema evaluación", "course-name": "<NAME>", "course-code": "AB1234", "teachers": (), ...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit1/Basics.typ
typst
#import "@preview/ctheorems:1.1.2": * #show: thmrules #let definition = thmbox("definition", "Definición", inset: (x: 1.2em, top: 1em)) == Lo básico === Expresiones vs. Declaraciones En programación, es crucial distinguir entre *expresiones* y *declaraciones*, ya que cada una juega un papel diferente en la estruct...
https://github.com/SE-legacy/templatesTypst
https://raw.githubusercontent.com/SE-legacy/templatesTypst/master/main.typ
typst
#import "conf.typ" : conf // #import "@preview/cetz:0.2.2" #import "@preview/plotst:0.2.0": * #import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge #show: conf.with( title: [Test Syntax], type: "referat", info: ( author: ( name: [<NAME>], faculty: [КНиИТ], group: "251",...
https://github.com/florianhartung/studienarbeit
https://raw.githubusercontent.com/florianhartung/studienarbeit/main/work/dhbw_template/declaration_of_authenticity.typ
typst
#let labeled_field(label, width) = [ #v(2.2em) #line(length: width) #v(-0.3em) #h(5mm) #label ]; #let declaration_of_authenticity(title) = [ #box( width: 100%, stroke: black, inset: 4mm, )[ #set par(justify: true) #align(center)[*Erklärung zur Eigenleistung*] Ich versichere hiermi...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/lightning.typ
typst
#import "@local/typkit:0.1.0": * // #let lightning-question(s, number: 1) = { } // Shows a lightning bolt table for fast math questions #let lightning-round(..sink) = { let questions = sink.pos() vertical-table(..globals.table-reset, ..questions) // it should be a table that goes downwards } #let...
https://github.com/ahplev/notes
https://raw.githubusercontent.com/ahplev/notes/main/misc/pade_appr/pade_appr.typ
typst
#set text( font: "Noto Sans SignWriting Regular", ) #set math.equation(numbering: "(1)") == Pade approximant Pade approximant of order [$m slash n]$ is the rational function also denoted as $[m slash n]_f (x)$ $ R(x) = (sum_(j=0)^m a_j x^j)/(1+sum_(k=1)^n b_k x^k) = (a_0 + a_1 x+ a_2 x^2 + dots.h + a_m x^m)/(1 + b_1 x...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10480.typ
typst
Apache License 2.0
#let data = ( ("OSMANYA LETTER ALEF", "Lo", 0), ("OSMANYA LETTER BA", "Lo", 0), ("OSMANYA LETTER TA", "Lo", 0), ("OSMANYA LETTER JA", "Lo", 0), ("OSMANYA LETTER XA", "Lo", 0), ("OSMANYA LETTER KHA", "Lo", 0), ("OSMANYA LETTER DEEL", "Lo", 0), ("OSMANYA LETTER RA", "Lo", 0), ("OSMANYA LETTER SA", "Lo",...
https://github.com/Relacibo/typst-as-lib
https://raw.githubusercontent.com/Relacibo/typst-as-lib/main/examples/templates/resolve_static.typ
typst
MIT License
#import "function.typ": alert #figure( image("./images/typst.png", width: 80pt), caption: [ Typst logo ], ) #alert[Static]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F000.typ
typst
Apache License 2.0
#let data = ( ("MAHJONG TILE EAST WIND", "So", 0), ("MAHJONG TILE SOUTH WIND", "So", 0), ("MAHJONG TILE WEST WIND", "So", 0), ("MAHJONG TILE NORTH WIND", "So", 0), ("MAHJONG TILE RED DRAGON", "So", 0), ("MAHJONG TILE GREEN DRAGON", "So", 0), ("MAHJONG TILE WHITE DRAGON", "So", 0), ("MAHJONG TILE ONE OF ...
https://github.com/i-am-wololo/cours
https://raw.githubusercontent.com/i-am-wololo/cours/master/main/cheatsheet.typ
typst
#import "./templates.typ": * #show: chshtemplate.with(matiere: "i23") #include "./parties_i23/logique.typ" #include "./parties_i23/axioms_predicats.typ" #include "./parties_i23/CalculBool.typ" #include "./parties_i23/relations.typ" #include "./parties_i23/AnalCombinatoire.typ" #include "./parties_i23/arithmetique.ty...
https://github.com/exdevutem/taller-git
https://raw.githubusercontent.com/exdevutem/taller-git/main/src/issues.typ
typst
= Issues <issues> En github, un Issue se refiere a un problema que se haya encontrado con el proyecto, del cual no se ha creado cambios aún. Estos varían enormemente; podrías levantar un Issue para informar de un bug que hayas encontrado en el programa, para solicitar que se implemente una nueva característica, para d...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/math/numbering.md
markdown
MIT License
# Math Numbering ## Number by current heading > See also built-in numbering in [math package section](../../packages/math.md#theorems) ```typ /// original author: laurmaedje #set heading(numbering: "1.") // reset counter at each chapter // if you want to change the number of displayed // section numbers, change the...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-02.typ
typst
Other
// Test that replacements happen exactly once. #show "A": [BB] #show "B": [CC] AA (8)
https://github.com/adam-zhang-lcps/papers
https://raw.githubusercontent.com/adam-zhang-lcps/papers/main/oscillation-modeling.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "@preview/cetz:0.2.2" #import "@preview/unify:0.5.0": qty #import "./aet-lab-report-template.typ": aet-lab-report #show: doc => aet-lab-report( title: "Investigating the Factors in a Spring System that Affect a Model of Simple Harmonic Motion", course: "AET AP Physics C: Mechanics", teacher: "Mr. <NAME> ...
https://github.com/DannySeidel/typst-dhbw-template
https://raw.githubusercontent.com/DannySeidel/typst-dhbw-template/main/titlepage.typ
typst
MIT License
#import "locale.typ": * #let titlepage( authors, date, heading-font, language, left-logo-height, logo-left, logo-right, many-authors, right-logo-height, supervisor, title, type-of-degree, type-of-thesis, university, university-location, at-university, date-format, show-confidentiali...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/wavelength.typ
typst
= Wave length This is a script I have had to write at different times and in different tools in the past --- either to figure out the depth type or when requiring appropriate wave length(s) to calculate hydrostatic pressure. Here's hoping this will be the last. For background, dispersion relation#footnote[Dispersion ...
https://github.com/unforswearing/typst_invoice
https://raw.githubusercontent.com/unforswearing/typst_invoice/main/invoice_tmpl.typ
typst
// parameters that can be updated are stored in invoice_data.json #let data = json("invoice_data.json") #set document( author: data.payable.org, date: auto ) #set page( "us-letter", fill: rgb("#F5F5EF") ) #set text(font: "Helvetica Neue") // ------------------------------- #show link: underline // Invoice Param...
https://github.com/benjamineeckh/kul-typst-template
https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/core/component/keywords.typ
typst
MIT License
#let insert-keywords(keywords, lang:"en") = { // Keywords if keywords != none { heading( level: 1, numbering: none, outlined: true, if lang == "en" { "Nomenclature" } else { "<NAME>" } ) keywords pagebreak(weak: true) } }
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2018/MS-06.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [<NAME>], [CHN], [3682], [2], [<NAME>], [CHN], [3520], [3], [XU Xin], [CHN], [3344], [4], [<NAME>], [GER], [3273], ...
https://github.com/Daillusorisch/HYSeminarAssignment
https://raw.githubusercontent.com/Daillusorisch/HYSeminarAssignment/main/template/components/cover.typ
typst
#import "../utils/style.typ": * #let cover( title: "", author: "", student-id: "", major: "", school: "", supervisor: "", date: "" ) = { align(center)[ #v(62pt) #let logo = "../assets/whu.png" #image(logo, width: 33%, height: 10%, fit: "contain") #text( size: 字号.二号, font: ...
https://github.com/konradroesler/lina-skript
https://raw.githubusercontent.com/konradroesler/lina-skript/main/lina-1.typ
typst
#import "utils.typ": * #import "template.typ": uni-script-template #import "@preview/tablex:0.0.7": tablex, gridx, hlinex, vlinex, colspanx, rowspanx #show: doc => uni-script-template( title: [Vorlesungsskript], author: [<NAME>], module-name: [LinA I\* WiSe 23/24], doc ) = Motivation und mathematische Grundlag...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/06_并发控制基础.typ
typst
#import "../template.typ": * #pagebreak() = 并发控制基础 == 互斥问题 === 并发编程:从入门到放弃 人类是 sequential creature - 编译优化 + weak memory model 导致难以理解的并发执行 - 有多难理解呢? - [ Verifying sequential consistency 是 NP-完全问题 ](https://epubs.siam.org/doi/10.1137/S0097539794279614) 人类是 (不轻言放弃的) sequential creature - 有问题,就会试着去解决 - 手段:“回退到”...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/introduction/tool_research/reddit_suggestion_visual_fp.typ
typst
= Reddit Suggestion for visual pure functional programming The Reddit user 'Jameshfisher' suggested a style of pure visual programming @reddit_visual_fp. It is only theoretical and, therefore, not an existing tool. A picture of the suggestion is shown in @screenshot_reddit_visual_fp. #figure( image("../../../sta...
https://github.com/abhinav12k/Typster
https://raw.githubusercontent.com/abhinav12k/Typster/main/README.md
markdown
# ⌨️ Typster [![Codacy Badge](https://app.codacy.com/project/badge/Grade/43e786b5d06b46e1a7a5762dba2df8c3)](https://www.codacy.com/gh/abhinav12k/Typster/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=abhinav12k/Typster&amp;utm_campaign=Badge_Grade) [![Kotlin](https://img.shields.io/badge/Kotlin...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/作业/hw8.typ
typst
#import "../../template.typ": * #import "@preview/commute:0.2.0": node, arr, commutative-diagram #show: note.with( title: "作业8", author: "YHTQ", date: none, logo: none, withOutlined : false, withTitle :false, ) (应交时间为4月23日) #let Supp = math.op("Supp") #set heading(numbering: none) = p67 == 1 将 $phi$ ...