repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/EliasRothfuss/vorlage_typst_doku-master
https://raw.githubusercontent.com/EliasRothfuss/vorlage_typst_doku-master/main/chapter/zusammenfassung.typ
typst
= Zusammenfassung <cha:zusammenfassung> Auf zwei bis drei Seiten soll auf folgende Punkte eingegangen werden: - Welches Ziel sollte erreicht werden - Welches Vorgehen wurde gewählt - Was wurde erreicht, zentrale Ergebnisse nennen, am besten quantitative Angaben machen - Konnten die Ergebnisse nach kritischer Bewe...
https://github.com/typst/templates
https://raw.githubusercontent.com/typst/templates/main/charged-ieee/README.md
markdown
MIT No Attribution
# charged-ieee This is a Typst template for a two-column paper from the proceedings of the Institute of Electrical and Electronics Engineers. The paper is tightly spaced, fits a lot of content and comes preconfigured for numeric citations from BibLaTeX or Hayagriva files. ## Usage You can use this template in the Typs...
https://github.com/taiga4112/jasnaoe_template_typst
https://raw.githubusercontent.com/taiga4112/jasnaoe_template_typst/main/README.md
markdown
# jasnaoe_template_typst このテンプレートは,2024年秋季以降の日本船舶海洋工学会の講演会論文作成を想定して, [Typst](https://typst.app)で作成しています. もちろん♡非公式♡のテンプレートですので,ご使用の際は自己責任でお願いします. このテンプレートを使ったPDFファイルの仕上がりは,[GitHub PagesのPDFファイル](https://taiga4112.github.io/jasnaoe_template_typst/main.pdf)をご確認ください. (現在,Linux系のOSで試すと英語フォントがうまく作動しない現象が発生しています.詳し...
https://github.com/ustctug/ustc-thesis-typst
https://raw.githubusercontent.com/ustctug/ustc-thesis-typst/main/CHANGELOG.md
markdown
MIT License
# Change Log All notable changes to the "ustc-thesis-typst" template will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. ## [Unreleased] - Initial release
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week13.typ
typst
#import "../../utils.typ": * #subsection("Validation") You can notate your C\# classes with requirements which will be checked against on input: ```cs public class NewOrderViewModel { [StringLength(MinimumLength = 3)] [Required] public string Name { get; set; } } ``` The following tags are possible: - [StringLen...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/023%20-%20Oath%20of%20the%20Gatewatch/008_Zendikar's%20Last%20Stand.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Zendikar's Last Stand", set_name: "Oath of the Gatewatch", story_date: datetime(day: 17, month: 02, year: 2016), author: "<NAME>", doc ) #emph[The plan is in motion, and all of Zendikar hangs in the balance. Chandra is ready to do her part,...
https://github.com/yasemitee/Teoria-Informazione-Trasmissione
https://raw.githubusercontent.com/yasemitee/Teoria-Informazione-Trasmissione/main/2023-11-14.typ
typst
= Codifica di canale Nel contesto della teoria dell'informazione, un "canale" si riferisce a un concetto fondamentale che descrive il modo in cui l'informazione viene trasmessa da una sorgente a una destinazione attraverso un mezzo fisico o un processo di comunicazione su cui è applicato un rumore. Ricordiamo l’obietti...
https://github.com/Jeomhps/datify
https://raw.githubusercontent.com/Jeomhps/datify/main/src/main.typ
typst
MIT License
#import "translations.typ": day-name, month-name #import "formats.typ": custom-date-format
https://github.com/Grigoriicherv/Cache-coherency
https://raw.githubusercontent.com/Grigoriicherv/Cache-coherency/main/cache-coherency.typ
typst
#import "template.typ": * #import "@preview/codelst:2.0.0": sourcecode #show: ams-article.with( title: [Когеретность кэша в многопроцессорных системах], authors: ( ( name: "<NAME>", department: [CT M3235], organization: [Itmo University], location: [Russia, St. Petersburg], ), ), ...
https://github.com/astrale-sharp/typst-assignement-template
https://raw.githubusercontent.com/astrale-sharp/typst-assignement-template/main/README.md
markdown
MIT License
# typst-assignement-template Hi, this is a simple template, you should check out the pdf to see if it interests you.
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0180.typ
typst
Apache License 2.0
#let data = ( ("LATIN SMALL LETTER B WITH STROKE", "Ll", 0), ("LATIN CAPITAL LETTER B WITH HOOK", "Lu", 0), ("LATIN CAPITAL LETTER B WITH TOPBAR", "Lu", 0), ("LATIN SMALL LETTER B WITH TOPBAR", "Ll", 0), ("LATIN CAPITAL LETTER TONE SIX", "Lu", 0), ("LATIN SMALL LETTER TONE SIX", "Ll", 0), ("LATIN CAPITAL ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-02.typ
typst
Other
// Test full removal. #show heading: none Where is = There are no headings around here! my heading?
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/1597-cite-footnote_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 60pt) #lorem(4) #footnote[@netwok] #show bibliography: none #bibliography("/assets/files/works.bib")
https://github.com/yochem/apa-typst
https://raw.githubusercontent.com/yochem/apa-typst/main/examples/multi-author-shared-affiliations.typ
typst
#import "../template.typ": apa7 #show: apa7.with( title: "Example of APA7 Document in Typst", authors: ( "<NAME>", "<NAME>" ), affiliations: ( "College of Nursing, Michigan State University", ), ) #lorem(40)
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "helper.typ": * #heading(level: 2, "Díla") Následuje seznam 22 knih, které jsem si vybral já#footnote[Prvních 20 je vypracovaných mnou, dvě navíc Marianem kvůli rozdílům v našich výběrech.] a které jsou podrobně zpracované dále. Pokud tě zajímá spíš rychlý přehled, podívej se na #link("https://knih.chamik.eu/...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/dynamic/other.md
markdown
--- sidebar_position: 6 --- # Other Animations Touying also provides `touying-reducer`, which adds `pause` and `meanwhile` animations to cetz and fletcher. ## Simple Animations Here's an example: ```typst #import "@preview/touying:0.2.1": * #import "@preview/cetz:0.2.1" #import "@preview/fletcher:0.4.1" as fletche...
https://github.com/usami-k/technote
https://raw.githubusercontent.com/usami-k/technote/main/2024/swift-testing/swift-testing.typ
typst
Creative Commons Attribution 4.0 International
#import "@preview/touying:0.5.2": * #import themes.metropolis: * #show: metropolis-theme.with( aspect-ratio: "16-9", footer: utils.display-current-heading(level: 1), config-info( title: [XCTestからSwift Testingへ], author: [宇佐見公輔], date: [2024-09-25], institution: [株式会社ゆめみ], logo: [#image("images...
https://github.com/ntjess/typst-tada
https://raw.githubusercontent.com/ntjess/typst-tada/main/src/helpers.typ
typst
The Unlicense
#let keep-keys(dict, keys: (), reorder: false) = { let out = (:) if not reorder { // Keep original insertion order keys = dict.keys().filter(key => key in keys) } for key in keys.filter(key => key in dict) { out.insert(key, dict.at(key)) } out } #let is-numeric-type(typ) = { typ in (int, floa...
https://github.com/GZTimeWalker/GZ-Typst-Templates
https://raw.githubusercontent.com/GZTimeWalker/GZ-Typst-Templates/main/templates/report.typ
typst
MIT License
#import "shared.typ": * #let report( title: "实验报告", subtitle: "Lab 0: 环境准备", name: "张三", stdid: "11223344", classid: "计科一班", major: "计算机科学与技术", school: "计算机学院", time: "2022~2023 学年第二学期", banner: none + "", body, ) = { set document(title: title) show: shared let fieldname(name) = [ #set ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-17.typ
typst
Other
// Error: 2-30 array index out of bounds (index: 12, len: 10) #range(10).slice(9, count: 3)
https://github.com/qujihan/toydb-book
https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter6.typ
typst
#import "../typst-book-template/book.typ": * #let path-prefix = figure-root-path + "src/pics/" = 附录 #show heading.where(level: 2):it=>{ pagebreak(weak: true) it } #include "chapter6/bitcask.typ" #include "chapter6/isolation.typ"
https://github.com/remigerme/typst-polytechnique
https://raw.githubusercontent.com/remigerme/typst-polytechnique/main/outline.typ
typst
MIT License
/***********************/ /* TEMPLATE DEFINITION */ /***********************/ #let apply(doc) = { show outline: o => { set par(first-line-indent: 0pt) o } // Level 1 headings show outline.entry.where(level : 1): i => { strong(i) } // Don't forget to return doc cause // we're in a templ...
https://github.com/Q4kK/resume
https://raw.githubusercontent.com/Q4kK/resume/master/template.typ
typst
#let entry(title, subtitle, body, details) = [ #pad(x: 0pt, top: 4pt, heading(level: 2, title)) #pad(x: 0pt, top: 0pt, bottom: 6pt, heading(level: 3, subtitle)) #body #text(fill: gray, details) ] #let bio(about, hobbies, volunteer) = [ #pad(x: 0pt, top: 0pt, bottom: 2pt, about) #pad(x: 0pt, top: 0...
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/templates/confirmation.typ
typst
#heading( level: 1, numbering: none, "Zustimmung zur Plagiatsüberprüfung", ) #[ #set text(lang: "de") Hiermit willige ich ein, dass zum Zwecke der Überprüfung auf Plagiate meine vorgelegte Arbeit in digitaler Form an PlagScan (www.plagscan.com) übermittelt und diese vorübergehend (max. 5 Jahre) in der von Pl...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/复变函数/作业/hw8.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec, seqLimit, seqLimitn #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(...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/meta-documentation/cheatsheet.typ
typst
= How to Use Typst to Write These Documents Cheatsheet: General Typst Docs: https://typst.app/docs/ Commands specific to the Protohaven class handout environment: `#warning([Some text.])` `#safety_hazard_box([Some text.])`
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/syntax-03.typ
typst
Other
// Error: 1:3 expected dollar sign $a
https://github.com/SergeyGorchakov/russian-phd-thesis-template-typst
https://raw.githubusercontent.com/SergeyGorchakov/russian-phd-thesis-template-typst/main/common/symbols.typ
typst
MIT License
#import "@preview/unify:0.5.0": * #let symbols-entries = {( (key: "pi",short: [$pi$],long: [Число $pi$]), (key: "a",short: [$a$],long: [Число $a$], desc: [#unit("cm/s")]), )}
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/vi_vim.typ
typst
= Vi Editor #label("vi-editor") - 所有的 Unix Like 系统都会内建 Vi 文书编辑器,其他的文书编辑器则不一定会存在。但是目前我们使用比较多的是 Vim 编辑器。 - Vim 具有程序编辑的能力,可以主动的以字体颜色辨别语法的正确性,方便程序设计。 - Vim是从 Vi 发展出来的一个文本编辑器。代码补完、编译及错误跳转等方便编程的功能特别丰富,在程序员中被广泛使用。简单的来说, Vi 是老式的字处理器,不过功能已经很齐全了,但是还是有可以进步的地方。 == File Operation #label("file-operation") #table( columns: 2, al...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DSA/chapters/3栈和队列.typ
typst
#import "../template.typ": * #import "@preview/pinit:0.1.4": * #import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge #import "/book.typ": book-page #show: book-page.with(title: "栈和队列 | DSA") = 栈和队列 <栈和队列> == 栈 #definition[ *栈*:栈(Stack)是限定仅在表的一端进行插入或删除操作的线性表。通常称插入删除的一端为栈顶(top),另一端称为栈底(bottom)。 ] *特...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/hyphenate_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test disabling hyphenation for short passages. #set page(width: 110pt) #set text(hyphenate: true) Welcome to wonderful experiences. \ Welcome to `wonderful` experiences. \ Welcome to #text(hyphenate: false)[wonderful] experiences. \ Welcome to ...
https://github.com/Hyiker/report-typst
https://raw.githubusercontent.com/Hyiker/report-typst/master/main_zh.typ
typst
Creative Commons Attribution 4.0 International
#import "report.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: "示例项目报告主标题", subtitle: "项目报告副标题", abstract: "只见那山中忽然走出一条恶虎,毛如刷漆,眼似铜铃,张牙舞爪,径抢上山来。那虎见了行者,抖擞精神,吼声如雷。行者道:“好畜生!不要无礼!”", subject: "相关课程名", authors...
https://github.com/SkiFire13/master-thesis
https://raw.githubusercontent.com/SkiFire13/master-thesis/master/chapters/1-introduction.typ
typst
= Introduction Systems of mixed least and greatest fixpoint equations over complete lattices are very common in the field of formal analysis and particularly in the field of model checking. A classic example is $mu$-calculus @mucalculus, where liveness and safety properties can be expressed using potentially nested le...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/weave/0.1.0/lib.typ
typst
Apache License 2.0
/// Given a value, transform it using the list of functions #let pipe(input, transformations) = transformations.fold( input, ((x, f) => f(x)), ) /// Given a list of transformations, apply them to a value /// This is the curried version of its counterpart without `_` suffix #let pipe_(transformations) = input => tr...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/static.typ
typst
== Static The static functionality represents data, placed at the provider side, that shall never change. The static functionality has following properties: *`init-value`*` bit string (obligatory) {definitive}` #pad(left: 1em)[ The init-value property defines the initial value of the static. ] *`read-value`*` bit s...
https://github.com/Gchism94/PrettyTypst
https://raw.githubusercontent.com/Gchism94/PrettyTypst/main/_extensions/PrettyTypst/typst-template.typ
typst
Creative Commons Zero v1.0 Universal
#let PrettyTypst( // The document title. title: "PrettyTypst", // Logo in top right corner. typst-logo: none, // The document content. body ) = { // Set document metadata. set document(title: title) // Configure pages. set page( margin: (left: 2cm, right: 1.5cm, top: 2cm, bottom: 2cm), ...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/label-angle/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #for bend in (0deg, 30deg) { [`label-angle` shown in center] grid( columns: 2, gutter: 5mm, ..(left, right, top, bottom, auto).map(angle => diagram( // debug: 2, spacing: 2cm, node((0,0))[#an...
https://github.com/PgBiel/typst-improv-tables-planning
https://raw.githubusercontent.com/PgBiel/typst-improv-tables-planning/main/main.typ
typst
Other
#import "template.typ": * #show: project.with( title: "Typst Improved Tables - Planning", doc-authors: ("PgBiel"), authors: ([PgBiel \<https://github.com/PgBiel\>],), date: [2023-12-10 (Last update: #datetime.today().display("[year]-[month]-[day]"))], font: "Fira Sans", raw-font: "Fira Mono", ) #outline(i...
https://github.com/saffronner/36202-notes
https://raw.githubusercontent.com/saffronner/36202-notes/main/main.typ
typst
#set page( numbering: "1 / 1", paper: "us-letter" ) #outline(indent: 1em) #let predictedby = $#h(0.25em) ~ #h(0.25em)$ // #show image: [] = review - big picture of applied stats: see 36200 image idk - we have statistics ($overline(x), hat(p), ...$) and standard error ($"SE"_(overline(x)), "SE"_hat(p), ...$) - pop...
https://github.com/jassielof/typst-templates
https://raw.githubusercontent.com/jassielof/typst-templates/main/latex-standard/lib.typ
typst
MIT License
#import "@preview/drafting:0.2.0": * #import "font-sizes.typ": * #import "../utils/to-string.typ": * #set rect(outset: 0cm, inset: 0cm, width: 100%, height: 100%) #set page( header: rect(), footer: rect() ) #let latex-standard( title: [Title], author: [Author Name], date: datetime.today().display("[month r...
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/src/exports.typ
typst
#import "core.typ": pause, meanwhile, uncover, only, alternatives-match, alternatives, alternatives-fn, alternatives-cases, slide, empty-slide, touying-slide, touying-fn-wrapper, touying-slide-wrapper, touying-equation, touying-mitex, touying-reducer, appendix, touying-set-config, touying-recall, speaker-note, alert #i...
https://github.com/Ad4u/ad4u.github.io
https://raw.githubusercontent.com/Ad4u/ad4u.github.io/main/ceremony_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/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-04.typ
typst
Other
// Error: 6-12 invalid integer: nope #int("nope")
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/999%20-%20Unknown%20Set/002_Project%20Lightning%20Bug.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Project Lightning Bug", story_date: datetime(day: 27, month: 05, year: 2015), author: "<NAME>", doc ) #emph[The guilds of Ravnica have grudgingly accepted that Jace Beleren is now the living manifestation of the Guildpact. It has become apparen...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/typst-compile-command.md
markdown
MIT License
<!-- markdownlint-disable first-line-h1 --> Base Typst command to run to compile the project. Other arguments will be appended based on the parameters you supply.
https://github.com/drbartling/obsidian-to-typst
https://raw.githubusercontent.com/drbartling/obsidian-to-typst/master/CHANGELOG.md
markdown
# Obsidian to typst changelog ## 0.1.3 ### Fixes 1. Fix issue with building mermaid docs when run as root (as in a Docker container) ## 0.1.2 ### Features 1. Allow embedding images within a line ### Fixes 1. Code lines starting with `#` are not modified ## 0.1.0 ### New Features 1. Can convert some simple ma...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cartridges/tama5.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * == TAMA5 TODO.
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/test/solution/test-001-show-solution.typ
typst
MIT License
#import "../../src/lib.typ": * #show: g-exam.with( show-grade-table: false, show-student-data: true, show-solution: false ) #g-question[Question 1] #g-solution(alternative-content: 222222)[Solution 1] #g-question[Question 2] #g-subquestion[Question 2.1] #g-solution(alternative-content: [Altern...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/delimited-03.typ
typst
Other
// Test fence confusion. $ |x + |y| + z/a| \ |x + lr(|y|) + z/a| $
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/common.typ
typst
// Common use entities #let versions = json("/documents.json"); #let err418 = text("Error_418", style: "italic") #let cardin = "Professor Cardin" #let vardanega = "Professor Vardanega" #let adr_key = "Analisi dei Requisiti" #let adr = text(adr_key, style: "italic") #let adr_v = text(adr_key + " v" + versions.at...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/syntax/comment.typ
typst
// Test line and block comments. --- comments --- // Line comment acts as spacing. A// you B // Block comment does not act as spacing, nested block comments. C/* /* */ */D // Works in code. #test(type(/*1*/ 1) // , int) // End of block comment in line comment. // Hello */ // Nested "//" doesn't count as line comm...
https://github.com/DevelAngel/typst-diff
https://raw.githubusercontent.com/DevelAngel/typst-diff/main/README.md
markdown
Apache License 2.0
# typst-diff Create a diff of two Typst documents
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-text-decorations_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set text(fill: gradient.linear(red, blue)) Hello #underline[World]! \ Hello #overline[World]! \ Hello #strike[World]! \
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/嵌入式系统/实验/报告/6/6.typ
typst
The Unlicense
#import "../template.typ": * #show: project.with( title: "实验报告 6", authors: ( "absolutex", ) ) = 网络通信实验 == 实验目的 使用 ALIENTEK 阿波罗 STM32F429 开发板自带的网口和 LWIP 实现:TCP 服务器、TCP 客服端、UDP 以及 WEB 服务器等四个功能,熟悉 LWIP 网络协议栈的使用。 == 实验原理 STM32F429 芯片自带以太网模块,该模块包括带专用 DMA 控制器的 MAC 802.3(介质访问控制)控制器,支持介质独立接口 (MII) 和简化介质独立接口 (RM...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test text before first alignment point. $ x + 1 &= a^2 + b^2 \ y &= a + b^2 \ z &= alpha dot beta $
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/typ/templates/ebook.typ
typst
Apache License 2.0
#import "@preview/shiroa:0.1.1": * #import "/typ/templates/page.typ": project, part-style, dash-color #import "/typ/templates/term.typ": reset-term-state #let _page-project = project /// Show a title page with a full page background #let cover(display-title) = { // #set text(fill: black, font: titleFont) // #if l...
https://github.com/ufodauge/master_thesis
https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/constants/page.typ
typst
MIT License
#let PAGE_NUMBERING_INTRO = "i" #let PAGE_NUMBERING_MAIN = "1"
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-06.typ
typst
Other
#show heading: [1234] = Heading
https://github.com/jakoblistabarth/ica-conference-series-abstract-template
https://raw.githubusercontent.com/jakoblistabarth/ica-conference-series-abstract-template/main/ica-abstract.typ
typst
#let ica-abstract(title: "", authors: (), affiliations: (), keywords: none, bibliography-file: none, body) = { // Set the document's basic properties. set document( title: title, author: authors.first().name, keywords: if keywords != none { keywords} else { "" } ) set page( margin: (x: 20mm, top...
https://github.com/mariunaise/HDA-Thesis
https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/quantizers/s-metric/2_2_found_quantizer1.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot #let line_style = (stroke: (paint: black, thickness: 2pt)) #let dashed = (stroke: (dash: "dashed")) #canvas({ plot.plot(size: (8,6), x-tick-step: none, x-ticks: ((3/16, [3/16]), (7/16, [7/16]), (11/16, [11/16]), (15/16, [15/16])), y-label: $cal(Q)_("m1")(2, 2, ...
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/feebf7-2023_fall_TA/utils.typ
typst
#let definintion(body, name: "") = { box( fill: yellow.lighten(70%), width: 100%, inset: 12pt, outset: 0pt, radius: 0pt, clip: true, )[ #text( size: 10pt, weight: "bold", )[ 定义: #name ] #set text(size: 9pt) #body ] } #let statement(body, name: "") = ...
https://github.com/Turkeymanc/notebook
https://raw.githubusercontent.com/Turkeymanc/notebook/main/frontmatter.typ
typst
#import "/packages.typ": * #create-frontmatter-entry(title: "Table of Contents")[ #components.toc() ]
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/01-group-theory.typ
typst
Other
#import "../../utils/core.typ": * == Элементы теории групп #def[ _Группой_ называется множество $G$ и бинарная операция $*$ на $G$, такая, что: + $*$ ассоциативна; + $exists e in G space forall g in G: e * g = g * e = g$; + $forall g in G space exists k in G: g * h = h * g = e$ (обозначается $h = g^(-...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-text_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that gradient fills on text work for locally defined gradients. #set page(width: auto, height: auto, margin: 10pt) #show box: set text(fill: gradient.linear(..color.map.rainbow)) Hello, #box[World]!
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11700.typ
typst
Apache License 2.0
#let data = ( ("AHOM LETTER KA", "Lo", 0), ("AHOM LETTER KHA", "Lo", 0), ("AHOM LETTER NGA", "Lo", 0), ("AHOM LETTER NA", "Lo", 0), ("AHOM LETTER TA", "Lo", 0), ("AHOM LETTER ALTERNATE TA", "Lo", 0), ("AHOM LETTER PA", "Lo", 0), ("AHOM LETTER PHA", "Lo", 0), ("AHOM LETTER BA", "Lo", 0), ("AHOM LETTE...
https://github.com/EgorGorshen/scripts-for-typst
https://raw.githubusercontent.com/EgorGorshen/scripts-for-typst/main/matrix.typ
typst
MIT License
#import "@preview/suiji:0.3.0": * #let M = matrix => math.mat(..matrix) #let matT = matrix => { let ret = () for i in range(matrix.at(0).len()) { let r = () for j in range(matrix.len()) { r.push(matrix.at(j).at(i)) } ret.push(r) } ret } #let rmatrix(n, m, mn: -20, mx: 20, rn: 122, tp: ...
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/learning_typst.typ
typst
= Test1 // each first paragraph needs a label #lorem(10) <first> = Test2 // the label doesn't refer to the whole sequence without wrapping it #[ Hello World. \ Hello Again. ] <first> ```raku .say for 1..5; ``` = Test2.1 // no <first> in this one! = Test3 #[ This is test3 \ This is test3 too ] <first> d...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/041%20-%20Kaldheim/009_Episode%205%3A%20The%20Battle%20for%20Kaldheim.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 5: The Battle for Kaldheim", set_name: "Kaldheim", story_date: datetime(day: 03, month: 02, year: 2021), author: "<NAME> & <NAME>", doc ) Far above the Feltmark, wheeling between the columns of smoke that rose from the many chimneys...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/kafka.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": autor #autor("<NAME>", "1883", "1924 (40 let)", "úředník pojišťovny", "práva na UK", "existencialismus", "/cj-autori/media/kafka.jpg") Byl součástí takzvané #underline[pražské německé školy], což byli autoři kteří působili v Praze v druhé polovině 19. a na začátku 20. století. Převážně to byli ...
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Character%20Advancement.typ
typst
#import "../templates/interior_template.typ": * #show: chapter.with(chapter_name: "Character Advancement") = Character Advancement #show: columns.with(2, gutter: 1em) Milestones are a way to track progress and earn experience points (XP) that players then use to unlock character upgrades, as well as story unlockable...
https://github.com/mitinarseny/invoice
https://raw.githubusercontent.com/mitinarseny/invoice/main/src/payment.typ
typst
#import "./utils.typ": explorer_address, token_address #let payment(details) = [ == Payment instructions #v(1em) To be paid in #token_address( url_template: details.chain.explorer_address_template, details.token ) on #details.chain.name to the following digital wallet address: *#link(explorer_address...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types/any.typ
typst
Apache License 2.0
#import "../base-type.typ": base-type, assert-base-type #import "../context.typ": context /// Validation schema representing all types. *SHOULD* never produce an error. /// /// - name (internal): /// - default (any, none): Default value to validate is none is provided. /// - custom (function): Function that maps an i...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/linebreak_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Inline, in a box, doesn't linebreak. #let hrule(x) = box(line(length: x)) #hrule(80pt)#box($a+b$)
https://github.com/piepert/grape-suite
https://raw.githubusercontent.com/piepert/grape-suite/main/src/tasks.typ
typst
MIT License
#import "colors.typ" as colors: * #import "elements.typ" as elements: * #let nobreak(body) = block(breakable: false, body) #let center-block(body) = align(center, block(align(left, body))) #let big-heading(title) = { set par(justify: false) set text(hyphenate: false) pad(bottom: 0.5cm, align(cent...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/frac_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 8-13 missing argument: lower // $ binom(x^2) $
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/reference/scripting.md
markdown
Apache License 2.0
--- description: Typstのスクリプト記述機能を用いて、ドキュメントを自動化しましょう。 --- # スクリプト記述 Typstには強力なスクリプト言語が組み込まれています。これにより、ドキュメントを自動化し、コードを使用してより洗練されたスタイルを作成できます。 以下は、スクリプト記述の概念の概要です。 ## 式 { #expressions } Typstでは、マークアップとコードが一体となっています。 最も一般的な要素以外のものは _関数_ を使って作成されます。 これを可能な限り便利にするため、Typstはコード式をマークアップに埋め込むためのコンパクトな構文を提供しています。式はハッシュ(`#`)...
https://github.com/8LWXpg/typst-treet
https://raw.githubusercontent.com/8LWXpg/typst-treet/master/lib.typ
typst
MIT License
#let tree-list( marker: [├─ ], last-marker: [└─ ], indent: [│#h(1em)], empty-indent: [#h(1.5em)], marker-font: "Cascadia Code", content, ) = { marker = text(font: marker-font, marker) last-marker = text(font: marker-font, last-marker) indent = text(font: marker-font, indent) empty-indent = text(font...
https://github.com/Tyrn/wei
https://raw.githubusercontent.com/Tyrn/wei/master/robinson-toc.typ
typst
#let calc-elem-size(elem, sizes: (12pt, 10pt, 8pt, 6pt,4pt)) = { let size = 3pt if elem.level - 2 < sizes.len() { size = sizes.at(elem.level - 2) } return size } // randomly generated IDs #let gs = state("VIvouA", ()) // global state that stores all headings and associated summaries #let elemcounter = cou...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/188.%20orth.html.typ
typst
orth.html Orthodox Privilege July 2020 "Few people are capable of expressing with equanimity opinions which differ from the prejudices of their social environment. Most people are even incapable of forming such opinions."� Einstein There has been a lot of talk about privilege lately. Although the concept is over...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/raw-line.typ
typst
Apache License 2.0
// Test line in raw code. --- #set page(width: 200pt) ```rs fn main() { println!("Hello, world!"); } ``` #show raw.line: it => { box(stack( dir: ltr, box(width: 15pt)[#it.number], it.body, )) linebreak() } ```rs fn main() { println!("Hello, world!"); } ``` --- #set page(width: 200pt) #sho...
https://github.com/nvarner/typst-lsp
https://raw.githubusercontent.com/nvarner/typst-lsp/master/editors/vscode/LICENSE.md
markdown
MIT License
typst-lsp is dual-licensed under either - MIT License ([../../LICENSE-MIT.txt](../../LICENSE-MIT.txt) or http://opensource.org/licenses/MIT) - Apache License, Version 2.0 ([../../LICENSE-APACHE-2.0.txt](../../LICENSE-APACHE-2.0.txt) or http://www.apache.org/licenses/LICENSE-2.0) at your option.
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cartridges/mbc1.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * == MBC1 mapper chip The majority of games for the original Game Boy use the MBC1 chip. MBC1 supports ROM sizes up to 16 Mbit (128 banks of #hex("4000") bytes) and RAM sizes up to 256 Kbit (4 banks of #hex("2000") bytes). The information in this section is based on my MBC1 research, Tauwa...
https://github.com/Duarte0903/resume
https://raw.githubusercontent.com/Duarte0903/resume/main/template/resume.typ
typst
Other
#import "@preview/modern-cv:0.4.0": * #show: resume.with( author: ( firstname: "Duarte", lastname: "Leitão", email: "<EMAIL>", phone: "(+351) 939 761 195", github: "Duarte0903", linkedin: "duartemleitao", address: "Barcelos, Braga", positions: ( "Engenheiro Informático", ), ...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/paradigmes.typ
typst
#import "defs.typ": * #import "links.typ": * = Paradigmes À chaque langage de programmation vient sa manière de decrire les solutions algorithmiques au problèmes posés. Cette manière d'aborder les problèmes est ce qu'on appelle le _paradigme_ du langage. Les paradigmes les plus courants des langages informatiques so...
https://github.com/typst-community/mantodea
https://raw.githubusercontent.com/typst-community/mantodea/main/tests/util/test.typ
typst
MIT License
#import "/src/util.typ" #show heading.where(level: 1): it => pagebreak(weak: true) + it #set page(width: 100pt, height: auto) #util.alert[Alert] #util.hint[Hint] #util.info[Info] #util.warn[Warn] #util.error[Error]
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/topics/call-externals.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.page.with(title: [在Typst内执行Js、Python、Typst等])
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/cover.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 30pt) #polylux-slide[ #uncover("3-4", mode: "transparent")[abc] #one-by-one(start: 2, mode: "transparent")[def ][ghi] #line-by-line(mode: "transparent")[ - jkl - mno ] #show: pause(4, mode: "transparent") pqr ]
https://github.com/UriMtzF/typst-templates
https://raw.githubusercontent.com/UriMtzF/typst-templates/main/uaemex-heading/lib.typ
typst
MIT License
#let project(subject: "" ,title: "", authors: "", accountNum: "", body) = { set document(author: authors, title: title) set page(paper: "us-letter", numbering: "1", number-align: center) set text(font: "New Computer Modern", lang: "es") //Title row align(center)[ #block(figure(image("header.jpg",width: 1...
https://github.com/ukihot/igonna
https://raw.githubusercontent.com/ukihot/igonna/main/appendices.typ
typst
#import "templates.typ" #templates.appendices[ = Foo = Bar ]
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/others/style.typ
typst
MIT License
#let 字号 = ( 初号: 42pt, 小初: 36pt, 一号: 26pt, 小一: 24pt, 二号: 22pt, 小二: 18pt, 三号: 16pt, 小三: 15pt, 四号: 14pt, 中四: 13pt, 小四: 12pt, 五号: 10.5pt, 小五: 9pt, 六号: 7.5pt, 小六: 6.5pt, 七号: 5.5pt, 小七: 5pt, ) #let 字体 = ( // 宋体,属于「有衬线字体」,一般可以等同于英文中的 Serif Font // 这一行分别是「新罗马体(有衬线英文字体)」、「思源宋体(简体)」、「思源宋体」、「...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tuhi-booklet-vuw/0.1.0/README.md
markdown
Apache License 2.0
# tuhi-booklet-vuw A Typst template for VUW programme descriptions. To get started: ```typst typst init @preview/tuhi-booklet-vuw:0.1.0 ``` And edit the `main.typ` example. ![Preview of the first page](thumbnail.png) ## Contributing PRs are welcome! And if you encounter any bugs or have any requests/ideas, feel ...
https://github.com/tshu-w/CV
https://raw.githubusercontent.com/tshu-w/CV/main/README.md
markdown
# Personal CV Personal CV written with [Typst](https://github.com/typst/typst). ## Download/下载 - [English version (PDF)](https://files.tianshu.me/cv/en.pdf) - [中文版 (PDF)](https://files.tianshu.me/cv/zh.pdf) ## Acknowledgements - [Super Cool Resume Typst Template](https://typst.app/project/p_Bky8MIksPGK39OpsflJw) -...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Chapters/Anhang.typ
typst
#import "../abbreviations.typ": * #import "../Template/customFunctions.typ": * #heading(numbering: none)[Anhang] #heading(numbering: none, level: 2)[Quellcode] Der in dieser Arbeit entstandene Quellcode ist an den folgenden Stellen zu finden. #heading(numbering: none, level: 3, outlined: false)[Frontend & Entwickler...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-styling_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test general alignment. #grid( columns: 3, align: left, [Hello], [Hello], [Hello], [A], [B], [C], ) // Test alignment with a function. #grid( columns: 3, align: (x, y) => (left, center, right).at(x), [Hello], [Hello], [Hello], [...
https://github.com/aagumin/cv
https://raw.githubusercontent.com/aagumin/cv/typst/cv.typ
typst
#import "@preview/grotesk-cv:0.1.2":* #show: layout #set list(marker: [‣]) #create-header(use-photo: true) #grid( columns: (71%, 25%), gutter: 20pt, stroke: none, stack( spacing: 20pt, import-section("profile"), import-section("experience"), import-section("education"), // import-section...
https://github.com/tudborg/notes.typ
https://raw.githubusercontent.com/tudborg/notes.typ/main/README.md
markdown
Apache License 2.0
# notes.typ Footnotes, endnotes, notes. ![example.png](example/example.png) See [example.pdf](example/example.pdf) for the example PDF. ## Usage ### Quickstart The easiest way to use this library is to place the `notes.typ` file somewhere where you can import it, and do ```typst #import "notes.typ": note, notes...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/homeworks/to-2024-09-30.typ
typst
= ДЗ 3 == Задача 18 Среди первых 19 человек ровно 9 подошло. 20-ый тоже подошел. $ P = P_19(9) dot 0.2 = C_19^9 0.2^9 0.8^10 dot 0.2 approx 0.0010157 $ == Задача 24 + $A$ --- система работает Должны работать элементы 1, 6 и любой из 2--5: $ P_(2 - 5) = 1 - (1 - p_2)(1 - p_3)(1 - p_4)(1 - p_5) = 1...
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/toc.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/templates/text.typ": * #entry_text() #outline( title: [ #align(left)[ #set text( font: "Times New Roman", 18pt ) *Table of Contents* ] ], depth: 1 )
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/super-suboptimal/0.1.0/src/lib.typ
typst
Apache License 2.0
#import "super-suboptimal.typ": super-subscripts, eq
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/references/rename_issue_exercise.typ
typst
Apache License 2.0
// path: basic/writing.typ #import "mod.typ": * #exercise() ----- // path: basic/mod.typ #import "../mod.typ": exercise #exercise() ----- // path: mod.typ #let /* ident after */ exercise() = [];