repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/darkMatter781x/OverUnderNotebook
https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/auton/close-awp/close-awp.typ
typst
#import "../auto-util.typ": * #auton( "Close Autonomous Win Point", datetime(year: 2024, month: 2, day: 25), "defensive.cpp", [AWP for the close side requires that we remove the matchload zone triball and touch the horizontal elevation bar. This is the code that accomplishes that.], )[ ```cpp void runDef...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/page-margin.typ
typst
Apache License 2.0
// Test page margins. --- // Set all margins at once. #[ #set page(height: 20pt, margin: 5pt) #place(top + left)[TL] #place(bottom + right)[BR] ] --- // Set individual margins. #set page(height: 40pt) #[#set page(margin: (left: 0pt)); #align(left)[Left]] #[#set page(margin: (right: 0pt)); #align(right)[Right]] ...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/0-base/listing.typ
typst
#set heading(numbering: none, supplement: [Abschnitt]) = Listing #outline( title: none, target: figure.where(kind: raw), ) #pagebreak()
https://github.com/pncnmnp/typst-poster
https://raw.githubusercontent.com/pncnmnp/typst-poster/master/examples/example_2_column_18_24.typ
typst
MIT License
#import "../poster.typ": * #show: poster.with( size: "18x24", title: "A typesetting system to untangle the scientific writing process", authors: "<NAME>, <NAME>, <NAME>, <NAME>", departments: "Department of Computer Science", univ_logo: "./images/ncstate.png", footer_text: "Conference on Typesetting System...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/weeks/week13.typ
typst
#import "../../utils.typ": * #section("Just in Time Compiler JIT") - faster than interpreter -> obviously - not everything will be compiled usually - only critical parts - so called *hot spots* - code that is run over and over again -> main loop in game #subsection("Profiling") The interpreter keeps track of th...
https://github.com/valentinvogt/npde-summary
https://raw.githubusercontent.com/valentinvogt/npde-summary/main/src/setup.typ
typst
#import "@preview/physica:0.9.3": eval, Order, Set #import "boxes.typ": * #import "@preview/natrix:0.1.0": * #import "colors.typ": * #let neq(content) = math.equation( block: true, numbering: "(1)", content, ) #let colMath(x, color) = text(fill: color)[$#x$] #let accentcolor = rgb(255, 0, 255) #let unimp...
https://github.com/mangkoran/utm-thesis-typst
https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/04_declaration_cooperation.typ
typst
MIT License
#import "@preview/tablex:0.0.7": tablex, colspanx #import "utils.typ": empty #let content( parties: ( empty[party 1], empty[party 2], ) ) = [ #align(center)[ #upper[*Declaration of Cooperation*] ] #align(horizon)[ This is to confirm that this research has been conducted through a collaborati...
https://github.com/freundTech/typst-matryoshka
https://raw.githubusercontent.com/freundTech/typst-matryoshka/main/README.md
markdown
MIT License
# matryoshka Matryoshka is a Typst package that allows you to compile Typst code to images from within Typst. This is especially useful for package authors that want to generate manuals with examples. ## Usage For usage instructions see the [documentation](https://raw.githubusercontent.com/freundTech/typst-matryoshk...
https://github.com/ern1/typiskt
https://raw.githubusercontent.com/ern1/typiskt/main/templates/cover-letter.typ
typst
// This template is a work in progress #let cover-letter( // Name and descriptive title of ? firstName: none, lastName: none, phone: none, email: none, description: none, company: none, date: none, // main content body ) = { set document( title: "Cover letter", author: firstName + " ...
https://github.com/Hobr/njust_thesis_typst_template
https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/README.md
markdown
MIT License
# 南京理工大学Typst论文模板 Work in Progress.... ## 使用 ### 推荐安装 - [Typst](https://github.com/typst/typst) - LSP: [Tinymist](https://github.com/Myriad-Dreamin/tinymist) - 格式: [Typstyle](https://github.com/Enter-tainer/typstyle) ## 计划 - [x] 谢国森老师公选论文课程 2023-2024第二学期标准 - [ ] 本科科研训练 2022级标准 - [ ] 本科毕业设计/论文 标准: [2023-10-17发布版本]...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-10.typ
typst
Other
// Error: 16-20 expected content or function, found integer #show heading: 1234 = Heading
https://github.com/mkpoli/ipsj-typst-template
https://raw.githubusercontent.com/mkpoli/ipsj-typst-template/master/lib/number.typ
typst
#let n(num, thousands: ",", decimal: ".") = { let parts = str(num).split(".") let decimal_part = if parts.len() == 2 { parts.at(1) } let integer_part = parts.at(0).rev().clusters().enumerate() .map((item) => { let (index, value) = item return value + if calc.rem(index, 3) == 0 and index != 0 { ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/align-05.typ
typst
Other
// Error: 8-20 cannot add two vertical alignments #align(top + bottom, [A])
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/formats.typ
typst
Apache License 2.0
// Compare two floats #let _compare(a, b, eps: 1e-6) = { return calc.abs(a - b) <= eps } // Pre-computed table of fractions #let _common-denoms = range(2, 11 + 1).map(d => { (d, range(1, d).map(n => n/d)) }) #let _find-fraction(v, denom: auto, eps: 1e-6) = { let i = calc.floor(v) let f = v - i if _compare(f...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/anatomy/0.1.1/export.typ
typst
Apache License 2.0
#import "lib.typ": metrics // Samples in README #let samples = ( ( content: metrics( 72pt, "EB Garamond", display: "Typewriter" ), caption: "The metrics of EB Garamond (Google Fonts)" ), ( content: metrics( 54pt, "一點明體", display: "電傳打字機", use: metrics => ...
https://github.com/satshi/typst-jp-template
https://raw.githubusercontent.com/satshi/typst-jp-template/main/example.typ
typst
// 今のところjarticleとappendixを定義している。 #import "template.typ": * //オプションはfontsize, title, authors, date, abstract #show: doc => jarticle( fontsize: 11pt, title: [格子ゲージ理論の面積則の演習問題], authors: ([山口 哲(大阪大学)],), date: datetime.today().display(年月日), abstract: [ここでは、簡単な格子ゲージ理論で強結合展開を考え、Wilsonループが面積則を示すことを見ることを確かめる。このことから...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pad-01.typ
typst
Other
// Pad can grow. #pad(left: 10pt, right: 10pt)[PL #h(1fr) PR]
https://github.com/wenjia03/JSU-Typst-Template
https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/Templates/实验报告(无框)/template/toc.typ
typst
MIT License
#import "../utils/style.typ": * #set page(footer: [ #set align(center) #set text(size: 10pt, baseline: -3pt) #counter(page).display( "I", ) ] ) // 目录 #v(1em) #align(center)[ #text(font: 字体.宋体, size: 字号.三号, "目 录") ] #parbreak(); #show outline: it => { set text(font: 字体.宋体, size: 字号.小四)...
https://github.com/MilanR312/ugent_typst_template
https://raw.githubusercontent.com/MilanR312/ugent_typst_template/main/template/methods/globals.typ
typst
MIT License
//#let default_fontsize = 11pt; #let default_font = "STIX Two Text" #let default_fontsize = 12pt //#let default_font = "Garamond" #let ublue = rgb(30, 100, 200) #let parlead = 0.75em
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework7.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra Homework #7", authors: ( (name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"), ), date: "November 9, 2023", ) #let AA = math.bold("A") #let BB = math.bold("B") #let CC = math.bold("C") #let EE = math.bold("E") #let OO = math.b...
https://github.com/NathanBurgessDev/tabletop-war-game-helper
https://raw.githubusercontent.com/NathanBurgessDev/tabletop-war-game-helper/main/Dissertation/interimTemplate.typ
typst
// I got this font from Google Fonts, you'll need to install it on your system #set text(font: "EB Garamond", size: 11pt) // Vertical space before // needs to have: // Project Title // Name // ID // email // name of the programme of your study // project module // #let diss-title( title: "Your Diss Title Goes Her...
https://github.com/desid-ms/desid_report
https://raw.githubusercontent.com/desid-ms/desid_report/main/_extensions/desid_report/biblio.typ
typst
MIT License
$if(citations)$ $if(csl)$ #set bibliography(style: "$csl$") $elseif(bibliographystyle)$ #set bibliography(style: "$bibliographystyle$") $endif$ $if(bibliography)$ #bibliography($for(bibliography)$"$bibliography$"$sep$,$endfor$) $endif$ $endif$
https://github.com/talal/pesha
https://raw.githubusercontent.com/talal/pesha/main/README.md
markdown
MIT No Attribution
# Pesha > Pesha (Urdu: پیشہ) is the Urdu term for occupation/profession. It is pronounced as pay-sha. A clean and minimal template for your CV or résumé. This template is inspired by <NAME>'s excellent [_Practical Typography_](https://practicaltypography.com) book. See [example.pdf](https://github.com/talal/pesha/b...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/bullet_list/bullet_list_inserted.typ
typst
- first item - second item - inserted item
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/src/coercions.typ
typst
Other
/// If the tested value is not already of dictionary type, the function provided as argument is expected to return a dictionary type with a shape that passes validation. /// /// #example[``` /// #let schema = z.dictionary( /// pre-transform: z.coerce.dictionary((it)=>(name: it)), /// (name: z.string()) /// ) /// /...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2011/MS-11.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [MA Long], [CHN], [3375], [2], [ZHANG Jike], [CHN], [3239], [3], [BOLL Timo], [GER], [3188], [4], [WANG Hao], [CHN],...
https://github.com/crd2333/typst-theorem-box
https://raw.githubusercontent.com/crd2333/typst-theorem-box/master/README.md
markdown
MIT License
# typst-theorem-boxes Theorem boxes in [typst](https://github.com/typst/typst), implemented by [showybox](https://github.com/Pablo-Gonzalez-Calderon/showybox-package), providing a beautiful way to display **theorems, definitions, lemmas, corollaries, and proofs**. The boxes will be counted like `x.y`, where `x` is th...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/README.md
markdown
Apache License 2.0
# circuiteria Circuiteria is a [Typst](https://typst.app) package for drawing block circuit diagrams using the [CeTZ](https://typst.app/universe/package/cetz) package. <p align="center"> <img src="./gallery/platypus.png" alt="Perry the platypus"> </p> ## Examples <table> <tr> <td colspan="2"> <a href="...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/054_Lost%20Caverns%20of%20Ixalan.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Lost Caverns of Ixalan", doc) #include "./054 - Lost Caverns of Ixalan/001_Episode 1.typ" #include "./054 - Lost Caverns of Ixalan/002_Episode 2.typ" #include "./054 - Lost Caverns of Ixalan/003_Episode 3.typ" #include "./054 - Lost Caverns of Ixalan/004_Episode ...
https://github.com/elouan660/Tyspt-templates
https://raw.githubusercontent.com/elouan660/Tyspt-templates/main/temp.typ
typst
#let Exercice(titre, auteur, date, matière, contenu) = [ #set page( footer: grid( columns: (90%, 50%), rows: 1, [#auteur], [#date] ), ) #align(left, text(size: 12pt, weight: "regular",)[#auteur \ #date]) \ #set text( fo...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/RM/公式推导.typ
typst
// #align(center,image("img/1.png",width:10em)) #set text(font: ("Times New Roman","STSong")) #set heading(numbering: "1.") #set par(justify: true,first-line-indent: 2em) // 两端对齐,段前缩进2字符 #set list(indent:4em) #show heading: it => { it par()[#text()[#h(0.0em)]] } = 假设 以车体坐标系为原点,采用新的坐标系定义。 - X - forward - Y - ...
https://github.com/QuadnucYard/cpp-coursework-template
https://raw.githubusercontent.com/QuadnucYard/cpp-coursework-template/main/algo.typ
typst
// Original: // // SPDX-FileCopyrightText: 2023 <NAME> // // SPDX-License-Identifier: MIT #let iflike_block(kw1: "", kw2: "", cond: "", ..body) = ( ([#strong(kw1) #cond #strong(kw2)]), (change_indent: 2, body: body.pos()), ) #let function_like(name, kw: "function", args: (), ..body) = iflike_block( kw1: kw, ...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/tow.typ
typst
= Tow When asked to compare the severity of sea-transportation between the _North Sea_ @nd30 and the _South China Sea_, most engineers side with the former, which they deduce from comparing sea-states. So it is rare to not get a blank stare from people when I say they may not be right. Here is why. Let us take a look ...
https://github.com/dainbow/FunctionalAnalysis2
https://raw.githubusercontent.com/dainbow/FunctionalAnalysis2/main/main.typ
typst
#import "conf.typ": * #let title = [ Функциональный анализ 2.0. ] #show: doc => conf(title, doc) #align(center, text(17pt)[ *#title* ]) #align(center)[ Disclaymer: доверять этому конспекту или нет выбирайте сами ] #align( center, )[ Big thanks for #link("https://t.me/ltc2021", "<NAME>") и #link("https://...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/ea2724-ai_hw/hw2.typ
typst
#import "@preview/cetz:0.2.2": canvas, draw, tree == HW 2 Due 2024.03.24 #let ans(it) = [ #pad(1em)[ #text(fill: blue)[ #it ] ] ] === Question 4.1 4.1 追踪 $A^*$ 搜索算法用直线距离启发式求解从 Lugoj 到 Bucharest 问题的过程. 按照顺序列出算法扩展的节点和每个节点的 $f, g, h$ 值 #ans[ #let data_41 = ( [Luogoj(244, 0, 244)], ([Timiso...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/lib.typ
typst
Apache License 2.0
#import "types.typ": * #import "context.typ": context #import "base-type.typ" as advanced /// This is the main function for validating an object against a schema. *WILL* return the given object after validation if successful, or none and *MAY* throw a failed assertion error. /// /// - object (any): Object to validate ...
https://github.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024/neko/实验/1.typ
typst
#set text(lang: "zh", font: "Noto Serif CJK SC") #show "。": "." = 实验一 = 实验(1):他励直流电动机的工作及机械特性 == 1、测量他励直流电动机的固有工作特性(转速调整特性、转矩特性和效率特性) 取 $I_"an" = 0.4 A.$ #figure( caption: "他励直流电动机的转速调整特性和转矩特性", table( columns: (auto, 9.84%, 9.84%, 9.84%, 9.84%, 9.84%, 9.84%, auto, 9.84%), align: (auto, ...
https://github.com/LugsoIn2/typst-htwg-thesis-template
https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/lib/tableOfContents.typ
typst
MIT License
#import "textTemplate.typ": * #let tableOfContents(lang: "", table-of-contents-font: "Arial", font-color: "", ) = { let languageText = textTemplate(pagetype: "tableOfContents" ,lang: lang) // --- -------------- ---- // --- -------------- ---- // -- Table of Contents -- align(right, outline( title: ...
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/cover.typ
typst
#let blue = rgb("365F91") #let gray = rgb("808080") #let light_gray = rgb("A6A6A6") #let cover(title: "", authors: (), string_date) = { let render_authors = grid(columns: authors.len(), column-gutter: 15pt, ..authors.map(it => [ #t...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/bytefield/0.0.2/example.typ
typst
Apache License 2.0
#import "bytefield.typ": * = Bytefield == Random Example #bytefield( bits(32, fill: red.lighten(30%))[Test], bytes(5)[Break], bits(24, fill: green.lighten(30%))[Fill], bytes(12)[Addr], padding(fill: purple.lighten(40%))[Padding], ) == Reversed bit order Select `msb_first: true` for a reversed bit order. ...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/draw/shapes.typ
typst
#import "@local/typkit:0.1.0": * #import "@preview/cetz:0.2.2" #import "utils.typ" #let points(points, ..sink) = { for p in points { cetz.draw.circle(p, radius: 3pt, stroke: none, fill: black, ..sink) } } #let polygon(points, ..sink) = { cetz.draw.line(..points, close: true, ..sink) } #let square((...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.3.0/src/core.typ
typst
Apache License 2.0
#import "/src/util.typ" /// Get the last anchor location. Panics if the last anchor was not on the page of this context. /// /// - ctx (context): The context from which to start. /// -> location #let get-anchor-pos(ctx) = { let starting-locs = query(selector(ctx.anchor).before(ctx.loc), ctx.loc) let message = ( ...
https://github.com/kazewong/lecture-notes
https://raw.githubusercontent.com/kazewong/lecture-notes/main/Physics/GravitationalWave/gravitational_wave.typ
typst
#set page( paper: "us-letter", header: align(center, text(17pt)[ *Gravitational wave* ]), numbering: "1", ) #set heading(numbering: "1.") #outline( indent: 1em ) #set text( font: "Times New Roman", size: 11pt ) #set par(justify: true) = Introduction Almost every references I read on gravitationa...
https://github.com/DaAlbrecht/thesis-TEKO
https://raw.githubusercontent.com/DaAlbrecht/thesis-TEKO/main/content/Projectplan.typ
typst
#import "@preview/tablex:0.0.5": tablex, cellx In this thesis, the use cases outlined in @Use_cases have been implemented. To ensure timely completion within the established timeframe, a project schedule has been developed. The choice of utilizing the Waterfall project management methodology is based on the specific...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/spue/spue.typ
typst
Other
#import "/src/template.typ": * #make-part([Schulpraktische Übung], subtitle: [Hinweise zum Planen und Durchführen einer Unterrichtssunde]) #include "anforderungen/main.typ" #include "planung/main.typ" #include "leistungsmessung/main.typ"
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/010%20-%20Duel%20Decks%3A%20Jace%20vs.%20Vraska/001_The%20Gorgon%20and%20the%20Guildpact.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gorgon and the Guildpact", set_name: "Duel Decks: Jace vs. Vraska", story_date: datetime(day: 12, month: 03, year: 2014), author: "<NAME>", doc ) Jace appeared on Ravnica already late, judging by the speed with which a courier had found...
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661101-%5BCalculus%201A%5D/src/lectures/03661101_lecture_11.typ
typst
#import "/template.typ": * #show: project.with( title: "חדו״א 1א׳ - שיעור 11", authors: ("<NAME>",), date: "8 בפברואר, 2024", ) #set enum(numbering: "(1.א)") === (טענה) מבחן המנה הכללי יהי $sum an$ טור חיובי (כאן $an > 0$). + אם קיימים $0<q<1$ ו-$N_0 in NN$ כך שמתקיים: $frac(a_(n+1),a_n) <= q, forall n >= N_0...
https://github.com/roenass/cocteles
https://raw.githubusercontent.com/roenass/cocteles/main/README.md
markdown
[//]: # %!TEX TS-program = markdown # A Collection of Cocktails The '.typ' file is the Source of Truth. It's a [Typst](https://github.com/typst/typst) document. The PDF is simply this document, typeset. It uses the `in-dexter` package for manual indexing, which is available in the [Typst Universe](https://typst.app...
https://github.com/maantjemol/Aantekeningen-Jaar-2
https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/Financieel%20management/aantekeningen.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": * #let defaultColor = rgb("#f2542d") #show: template.with( title: "Fin...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/README.zh-CN.md
markdown
**Language**: [\[English\]](README.md) \[简体中文\] # 复旦主题的 Typst 幻灯片模板 本项目是一个复旦主题的 [Typst](https://typst.app/) 幻灯片模板,依赖于 [Polylux](https://andreaskroepelin.github.io/polylux/book/polylux.html) 库,基于其官方主题 [Clean](https://github.com/andreasKroepelin/polylux/blob/9184eeff02c5d03368b21024486ad2a2b8f65e0c/themes/clean.typ)。 #...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/r08.typ
typst
MIT License
#import "@local/evan:1.0.0":* #show: evan.with( title: [Notes for 18.02 Recitation 8], subtitle: [18.02 Recitation MW9], author: "<NAME>", date: [30 September 2024], ) #quote(attribution: [Calvin in _Calvin and Hobbes_])[I like maxims that don't encourage behavior modification.] This handout (and any other D...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/numblex/0.1.0/README.md
markdown
Apache License 2.0
# Numblex ## Usage ```typst #import "@preview/numblex:0.1.0": * #set heading(numbering: numblex("1.", "1.", (numbering: "a.", depth: 2))) ```
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/09-layout/shaping.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## Shaping challenges (Bengali etc.) == #tr[shaping]中的难题 孟加拉文等。
https://github.com/hchap1/typst-spell-check
https://raw.githubusercontent.com/hchap1/typst-spell-check/main/README.md
markdown
# typst-spell-check A rust project to do a quick and dirty spellcheck over a Typst (typeset) document.
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/templates/listings.typ
typst
#heading("List of Listings", outlined: true, numbering: none) #outline( title: none, target: figure.where(kind: raw), ) #pagebreak(weak: true)
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/linebreak-obj.typ
typst
Apache License 2.0
// Test linebreaks with after inline elements. --- // Test punctuation after citations. #set page(width: 162pt) They can look for the details in @netwok, which is the authoritative source. #bibliography("/files/works.bib") --- // Test punctuation after math equations. #set page(width: 85pt) We prove $1 < 2$. \ We ...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/vscode.typ
typst
MIT License
#import "./book.typ": book-page #import "./templates/gh-page.typ": page-width, is-dark-theme #import "@preview/fontawesome:0.1.0": * #import "@preview/colorful-boxes:1.1.0": * #import "@preview/commute:0.1.0": node, arr, commutative-diagram #show: book-page.with(title: "Use in VSCode") #show link: underline #let comm...
https://github.com/isaacholt100/isaacholt
https://raw.githubusercontent.com/isaacholt100/isaacholt/main/public/maths-notes/4-cambridge%3A-part-III/ramsey-theory/ramsey-theory.typ
typst
MIT License
#import "../../template.typ": * #show: doc => template(doc, hidden: (), slides: false) #let clr(c) = [ #set text(fill: eval(c)) #c ] #let Clr(c) = smallcaps(c) = Monochromatic sets == Ramsey's theorem #notation[ $NN$ denotes the set of positive integers, $[n] = {1, ..., n}$, and $X^((r)) = {A subset.eq ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/README.md
markdown
Apache License 2.0
# Tampere University Thesis Template This is a TAU thesis template written in the [`typst`][typst] typesetting language, a potential successor to LaTeΧ. The version of typst used to test this template is [`0.11.0`][v0.11.0]. ## Local installation To install this template locally, download this repository via Git or...
https://github.com/Blezz-tech/math-typst
https://raw.githubusercontent.com/Blezz-tech/math-typst/main/Картинки/Демо вариант 2024/Задание 01.2.typ
typst
#import "@preview/cetz:0.1.2" #import "/lib/my_cetz.typ": circumcenter, defaultStyle #set align(center) #cetz.canvas(length: 1cm, { import cetz.draw: * import cetz.vector: div, add set-style(..defaultStyle) set-style( angle: ( radius: 0.8 , label-radius: 1.2 , fi...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/formalettre/0.1.0/template/src/exemple.typ
typst
Apache License 2.0
#import "@preview/formalettre:0.1.0": * #set text(lang: "fr") #show: lettre.with( expediteur: ( nom: "de La Boétie", prenom: "Étienne", voie: "145 avenue de Germignan", complement_adresse: "", code_postal: "33320", commune: "Le Taillan-Médoc", telephone: "01 23 45 67 89", email: "<EMAIL>", signature...
https://github.com/Shivansh-Jain/Shivansh-Jain
https://raw.githubusercontent.com/Shivansh-Jain/Shivansh-Jain/main/resume.typ
typst
#show heading: set text(font: "Linux Biolinum") #show link: underline #set page( // fill: rgb("#282828"), margin: (x: 0.9cm, y: 1.3cm), ) #set par(justify: true) // #set text(fill: white) #let chiline() = {v(-3pt); line(length: 100%); v(-5pt)} = <NAME> +918959648831 | #link("mailto:<EMAIL>")[<EMAIL>] | #link("h...
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/init-files/sections/02_math.typ
typst
MIT License
#import "../../paddling-tongji-thesis/tongjithesis.typ": * = 数学 <math> 在本节(@math)中,我们展示各种数学符号和环境的使用。 Typst 具有特殊的语法和库函数来排版数学公式,与#LaTeX 相似,但差别也很大。 数学公式可以与文本并列显示,也可以作为单独的块显示。如果数学公式的开头和结尾至少有一个空格(如 #raw("$ x^2 $", lang: "typ")),则会被排版到单独的块中。 毕业论文规范规定,公式应另起一行居中排版。公式后应注明编号,按章顺序编排,编号右端对齐。若你想了解更多数学排版的内容,可以参考#link("https://t...
https://github.com/fcastillob/4typst
https://raw.githubusercontent.com/fcastillob/4typst/main/README.md
markdown
# 4typst Este es un programita para convertir archivos `.tex` a formato `.typ`. Es posible que ocurran errores de formato, el objetivo del programa es tener un atajo para no escribir de cero un archivo `.tex` en formato `.typ`. ![](compilar.png) ![](transformar.png) El programa hace una conversión usando [pandoc](h...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/spacing_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test predefined spacings. $a thin b, a med b, a thick b, a quad b$ \ $a = thin b$ \ $a - b equiv c quad (mod 2)$
https://github.com/EGmux/PCOM-2023.2
https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q4.typ
typst
=== Aplica-se ao sinal *$x(t) = 10cos(1000 t + pi/3) + 20(cos(2000 pi t + pi/6)$* uma amostragem uniforme para transmissão digital. ==== a) _Qual é o máximo intervalo de tempo permitido entre os valores de amostras que garantirão a reprodução perfeita do sinal?_ \ 💡 o que muda nessa questão é a adição de fase ao sina...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/031%20-%20Hour%20of%20Devastation/001_The%20Hour%20of%20Revelation.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Hour of Revelation", set_name: "Hour of Devastation", story_date: datetime(day: 07, month: 06, year: 2017), author: "<NAME>", doc ) #emph[Sands idly wafted over dunes, the Luxa River flowed from one end of Naktamun to the other, familie...
https://github.com/OriginCode/typst-homework-template
https://raw.githubusercontent.com/OriginCode/typst-homework-template/master/README.md
markdown
# OriginCode's Typst Homework Template A homework template for [Typst](https://typst.app/), inspired by [<NAME>'s Homework Template](https://www.countablethoughts.com/documents/homework-anon.tex) in $\LaTeX$ (sorry GitHub only allows me to display LaTeX in math mode). ## Usage There are two main functions: `question...
https://github.com/maxlambertini/troika-srd-typst
https://raw.githubusercontent.com/maxlambertini/troika-srd-typst/main/chap01.typ
typst
#let chap01_title= [= Terms] #let chap01=[ <terms> Anyone may publish free or commercial material based upon and/or declaring compatibility with "Troika!" without express written permission from the publisher, the Melsonian Arts Council, as long as they adhere to the following terms: If your product declares compatib...
https://github.com/soul667/typst_template
https://raw.githubusercontent.com/soul667/typst_template/main/基本模板/test.typ
typst
#let data=yaml("./data.yml") #import"template.typ": * #show: doc => conf( // linespacing: setting.行间距*1pt, outlinedepth: 3, blind: false, listofimage: true, listoftable: true, listofcode: true, alwaysstartodd: true, doc ) #let setting=data.模板设置; // // 首先是论文标题 #if setting.模板选择=="论文" { align(center, [ ...
https://github.com/0x1B05/algorithm-journey
https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/排序.typ
typst
#import "../template.typ": * #pagebreak() == 简单排序算法 === 选择排序 ```java public static void selectSort(int[] arr) { int len = arr.length; if (arr == null || len < 2) { return; } for (int i = 0; i < len - 1; i++) { int minIndex = i; for (int j = i + 1; j < len; j++) { i...
https://github.com/Robotechnic/alchemist
https://raw.githubusercontent.com/Robotechnic/alchemist/master/doc/manual.typ
typst
MIT License
#import "@preview/mantys:0.1.4": * #import "@preview/alchemist:0.1.1" #import "@preview/cetz:0.2.2" #let infos = toml("../typst.toml") #show: mantys.with( ..infos, abstract: [ Alchemist is a package used to draw chemical structures with skeletal formulas using Cetz. It is heavily inspired by the Chemfig packag...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A900.typ
typst
Apache License 2.0
#let data = ( ("KAYAH LI DIGIT ZERO", "Nd", 0), ("KAYAH LI DIGIT ONE", "Nd", 0), ("KAYAH LI DIGIT TWO", "Nd", 0), ("KAYAH LI DIGIT THREE", "Nd", 0), ("KAYAH LI DIGIT FOUR", "Nd", 0), ("KAYAH LI DIGIT FIVE", "Nd", 0), ("KAYAH LI DIGIT SIX", "Nd", 0), ("KAYAH LI DIGIT SEVEN", "Nd", 0), ("KAYAH LI DIGIT ...
https://github.com/Servostar/dhbw-abb-typst-template
https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/src/pages/preface.typ
typst
MIT License
// .--------------------------------------------------------------------------. // | Preface | // '--------------------------------------------------------------------------' // Author: <NAME> // Edited: 28.06.2024 // License: MIT #let new-preface(confi...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-19.typ
typst
Other
// Error: 7-30 cannot access file system from here #eval("image(\"/tiger.jpg\")")
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/ConsuntivoSprint/DodicesimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": rendicontazioneOreAPosteriori, rendicontazioneCostiAPosteriori, glossary ==== Dodicesimo consuntivo *Inizio*: Venerdì 08/03/2024 *Fine*: Giovedì 14/03/2024 #rendicontazioneOreAPosteriori(sprintNumber: "1...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/README.md
markdown
MIT License
# Typst PFE A PFE en FR using [typst.app](https://typst.app). ## Showcases ### PDF [pfe.pdf](https://github.com/ayoubelmhamdi/typst-phd-AI-Medical/raw/master/build/main.pdf) ### COVER ![Preview](images/main.jpg)
https://github.com/sysu/better-thesis
https://raw.githubusercontent.com/sysu/better-thesis/main/README.md
markdown
MIT License
# 基于 Typst 的中山大学学位论文模板 [![GitLab 最新版本](https://gitlab.com/sysu-gitlab/thesis-template/better-thesis/-/badges/release.svg?style=flat-square)](https://gitlab.com/sysu-gitlab/thesis-template/better-thesis/-/releases/permalink/latest) [![GitHub stars](https://img.shields.io/github/stars/sysu/better-thesis.svg?style=social&...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/001%20-%20Magic%202013/008_The%20Stonekiller%2C%20Part%202.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Stonekiller, Part 2", set_name: "Magic 2013", story_date: datetime(day: 15, month: 08, year: 2012), author: "<NAME>", doc ) Lia bit the hand that pulled the bag off her head. Something yelped, but didn't strike her. Instead it set her g...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations.md
markdown
MIT License
# Derivations As paraphrased from [the Nix Reference Manual][nix-ref-derivations]: > A derivation is a specification for running an executable on precisely defined > input files to repeatably produce output files at uniquely determined file > system paths. The derivation constructors defined in Typix extend this beh...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/spacing_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test spacing cases. $ä, +, c, (, )$ \ $=), (+), {times}$ \ $⟧<⟦, abs(-), [=$ \ $a=b, a==b$ \ $-a, +a$ \ $a not b$ \ $a+b, a*b$ \ $sum x, sum(x)$ \ $sum product x$ \ $f(x), zeta(x), "frac"(x)$ \ $a+dots.c+b$ $f(x) sin(y)$
https://github.com/Bit-Part-Young/report-template-MMMS-typst
https://raw.githubusercontent.com/Bit-Part-Young/report-template-MMMS-typst/main/main.typ
typst
#import "template.typ": * #show: ReportTemplate.with( ClassName: "多尺度材料模拟与计算", ReportName: "一维周期性原子链", Name: "张三", StudentID: "<KEY>", School: "材料科学与工程学院", ) // 正文内容 = 实验目的 这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。 这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是实验目的。这里是...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/dialogues/layouts/singleton-meta-layout.typ
typst
#import "@local/typkit:0.1.0": * #let singleton-meta-layout(meta) = { let left = context { let size = 1.5em let a = bold(meta.topic, size: size) let h = measure(a).height * 2 let b = ink.blue(bold(meta.title, size: size)) let separator = line(length: h, angle: 90deg) ...
https://github.com/vimkat/typst-ohm
https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/lib/vars.typ
typst
MIT License
#let font = "Public Sans" #let red = rgb("#e52329") // cmyk(0%,95%,85%,0%) #let blue = cmyk(100%, 70%, 10%, 60%) #let yellow = cmyk(0%, 5%, 75%, 0%) #let light-blue = cmyk(25%, 0%, 5%, 0%) #let green = cmyk(60%, 10%, 80%, 0%) #let violet = cmyk(70%, 85%, 10%, 0%) #let dark-green = cmyk(80%, 10%, 80%, 25%) #let frac =...
https://github.com/thudep/typst-talk
https://raw.githubusercontent.com/thudep/typst-talk/master/main.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/physica:0.9.3": * #let typst-color = rgb("#239DAD") #let tsinghua-color = rgb(106,8,116) #set text(font: ("Linux Libertine", "Source Han Serif"), lang: "zh", region: "cn") #show heading.where(level: 1): set heading(numbering: "1.") #sh...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS1332/Modules/LinkedLists.typ
typst
#import "../../../template.typ": * = LinkedList == Singly Linked List === SLL Big O/Methods #theorem[ #text(fill: rgb("#1a5fd6"))[*Adding*] *Adding to Front*: O(1) - Create new node, point next to head, and set the new node to be the new head - If list is empty, the head is null which actually works out an...
https://github.com/AliasQli/Chants-of-Sennaar.typst
https://raw.githubusercontent.com/AliasQli/Chants-of-Sennaar.typst/master/index.typ
typst
#let baseDir = "Runes/" #let makeLangGlyphs(lang) = { let glyphs = json(baseDir + lang + "/index.json") let ret = (:) for glyph in glyphs { ret.insert(glyph, image(baseDir + lang + "/" + glyph + ".png")) } ret } #let glyphs = ( Devots: makeLangGlyphs("Devots"), Guerriers: makeLangGlyphs("Guerriers")...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/main.typ
typst
#import "components/title.typ": title #import "config.typ" #show: config.config #set page(numbering: "1") #title #heading(numbering: none)[ #text(weight: 100, size: 40pt)[Notizen] ] <notizen> #outline( target: selector(heading) .before(<uebungen>, inclusive: false) .after(<notizen>, inclusive: false), ) ...
https://github.com/booleto/internship_report
https://raw.githubusercontent.com/booleto/internship_report/main/main.typ
typst
#import "template.typ": * #import "@preview/plotst:0.1.0": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( institutions: ( text("Đại học Quốc gia Hà nội", weight: 800), text("Trường Đại học Khoa học Tự nhiên", weight:...
https://github.com/Tobias-Wennberg/typst-gramar-lsp
https://raw.githubusercontent.com/Tobias-Wennberg/typst-gramar-lsp/main/README.md
markdown
Apache License 2.0
This project's goal is to be a comprehensive grammar lsp server for the typst markup language. *THIS PROJECT IS WORK IN PROGRESS. ANY FUNCTIONALITY IS COINCIDENTAL*
https://github.com/SkiFire13/eh-presentation-shellcode
https://raw.githubusercontent.com/SkiFire13/eh-presentation-shellcode/master/task1.c.typ
typst
#import "@preview/polylux:0.3.1": * #import "unipd.typ": * #new-section[ Task 1.c ] #slide[ - Extend Task 1.b to execute: #align(center, `/bin/sh -c "ls -la"`) - Need to add the arguments to the `argv` list: #align(center, ``` argv[3] = 0 argv[2] = "ls -la" argv[1] = "-c" argv[0] = "/bin/sh" ```...
https://github.com/skriptum/diatypst
https://raw.githubusercontent.com/skriptum/diatypst/main/template/main.typ
typst
MIT License
#import "@preview/diatypst:0.2.0": * #show: slides.with( title: "Diatypst", // Required subtitle: "easy slides in typst", date: "01.07.2024", authors: ("<NAME>"), // Optional Styling ratio: 16/9, layout: "medium", title-color: green.darken(60%), footer: true, counter: true, toc: true, ) #outlin...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/pages/cover.typ
typst
MIT License
#import "../../../common/theme/type.typ": 字体, 字号 #import "../config/constants.typ": current-date #import "../utils/states.typ": thesis-info-state #let cover-primary( title-cn: "", title-en: "", author: "", student-id: "", supervisor: "", profession: "", collage: "", reply-date: "", institute: "", y...
https://github.com/stuxf/basic-typst-resume-template
https://raw.githubusercontent.com/stuxf/basic-typst-resume-template/main/README.md
markdown
The Unlicense
# Basic Resume <div align="center">Version 0.1.3</div> This is a template for a simple resume. It is intended to be used as a good starting point for quickly crafting a standard resume that will properly be parsed by ATS systems. Inspiration is taken from [Jake's Resume](https://github.com/jakegut/resume) and [guided...
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/hermes/src/report.typ
typst
MIT License
// // Article Formats // #import "../../options/options.typ": * #import "../../rolo/rolo.typ": * #let builtin-outline = outline #let report( title: none, author: author(), date: datetime.today().display("[month repr:long] [day], [year]"), theme: black, header: none, footer: none, abstract...
https://github.com/kochetov-dmitrij/personal-page
https://raw.githubusercontent.com/kochetov-dmitrij/personal-page/main/cv/pdf/main.typ
typst
#let configuration = yaml("configuration.yaml") #let settings = yaml("settings.yaml") #show link: set text(blue) #set page( paper: "a4", margin: ( top: 1.5cm, bottom: 1cm, ) ) #show heading: h => [ #set text( size: eval(settings.font.size.heading_large), font: settings.font.general ) #h ]...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.2.0/src/util.typ
typst
Apache License 2.0
#import "@preview/oxifmt:0.2.0" as oxi // assert the element is of the given typ #let assert-element(element, func, message: none, name: "element") = { assert.eq(type(element), content, message: if message != none { message } else { oxi.strfmt("`{}` must be content, was `{}`", name , element) ...
https://github.com/liuguangxi/erdos
https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p97.typ
typst
#import "@preview/cetz:0.2.1" #cetz.canvas(length: 0.7pt, { import cetz.draw: * line((0, 0), (173.32, 0), (103.95, 149.10), close: true) line((98.19, 49.37), (0, 0)) line((98.19, 49.37), (173.32, 0)) line((98.19, 49.37), (103.95, 149.10)) content((103, 158), $A$) content((181, -5), $B$) c...
https://github.com/jonaspleyer/peace-of-posters
https://raw.githubusercontent.com/jonaspleyer/peace-of-posters/main/layouts.typ
typst
MIT License
#let _default-layout = ( "spacing": 1.2em, ) #let layout-a0 = _default-layout + ( "paper": "a0", "size": (841mm, 1188mm), "body-size": 33pt, "heading-size": 50pt, "title-size": 75pt, "subtitle-size": 60pt, "authors-size": 50pt, "keywor...
https://github.com/piepert/typst-seminar
https://raw.githubusercontent.com/piepert/typst-seminar/main/Beispiele/Hausarbeit/template.typ
typst
#import "outline-template.typ": * #let SUMMER_MONTHS = ("April", "Mai", "Juni", "Juli", "August", "September") #let project(title: "", authors: (), university: "<UNIVERSITY>", faculty: "<FACULTY>", institute: "<INSTITUTE>", docent: "<DOCENT>", course: "<COURSE>", matnr: "<MATNR>", date: "<DATE>", ad...