repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/lib.typ
typst
Apache License 2.0
/// Create a `codepoint` object. /// /// You can convert a to content `codepoint` using its `show` field: /// ```example /// #codepoint("¤").show /// ``` #let codepoint(code) = { if type(code) != int { code = str.to-unicode(code) } import "ucd/index.typ" let data = index.get-data(code) let (block, codep...
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/expt02/main.typ
typst
#set text(lang: "zh", cjk-latin-spacing: auto, font: "Noto Serif CJK SC") #set page(numbering: "1", margin: (left: 1.4cm, right: 1.9cm)) #show figure.caption: set text(font: "Zhuque Fangsong (technical preview)") #show "。": "." #show heading: set text(font: "Noto Sans CJK SC", size: 1.15em) #import "../expt01/bloc...
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/Meta/feynman.typ
typst
= 费曼学习法 == 什么是费曼学习法 费曼学习法(Feynman's Technique),简而言之:*通过输出倒逼输入*。为了学习,把学习任务当作一个教学任务,即不是为了学会这个知识,而是为了把这个知识教会别人。将学习者的身份,转化为教学者的身份。 之前我确实存在一个误区,一个看起来厉害的老师,至少会说一些让人听不懂的话。而费曼学习法要求教师必须做到把一个完全的新手教会,如此才能说明该老师的知识能力和教学水平。 尤其在我做了老师之后,教了一遍学生,自己对这个知识点的理解更加深入,同时也会在上课过程中自己发现或学生提出一些问题,指出知识编排等内容的不足,然后重新去优化教学过程,最终实现教学相长。 == 为什么需要费曼学习法...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/weave/0.2.0/tests/tests.typ
typst
Apache License 2.0
#import "../lib.typ": * #pipe( 5, ( x => x + 1, x => x + 2, x => assert(x == 8), ), ) #compose( "y", ( c => assert(c == "xyz"), c => c + "z", c => "x" + c, ), ) #let pipeline = pipe_.with(( c => c + "c", c => "a" + c, )) #assert(pipeline("b") == "abc") #let composed = compose...
https://github.com/Fr4nk1inCs/typst-homework
https://raw.githubusercontent.com/Fr4nk1inCs/typst-homework/master/complicated/homework.typ
typst
MIT License
#let homework(course: "课程作业", number: int(0), name: "姓名", id: "PB2XXXXXXX", code_with_line_number: true, body) = { // Set the document's basic properties. let author = name + " " + id let title = course + " " + str(number) set document(author: (author, ), title: title) set page( ...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/biology/lec4.typ
typst
#import "template.typ": * #show: template.with( title: "Lecture 4", subtitle: "7.016" ) = Why Learn About Proteins? There are a couple valuable aspects of learning protein structures: - We can learn about the function - Develop drugs - Understand how mutations impact the protein - Synthetic Proteins #define( ...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/output-exponent-marker/test.typ
typst
Apache License 2.0
#import "/src/lib.typ": num, metro-setup #set page(width: auto, height: auto) #num(output-exponent-marker: "e", e: 2)[1] #num(output-exponent-marker: "E", e: 2)[1]
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/04-parametric-and-curves/03-euler-integrals.typ
typst
#import "../../utils/core.typ": * == Эйлеровы интегралы #def(label: "def-euler-integrals")[ _Эйлеровым интегралом первого рода_, или _Гамма-функцией_, называется $ Gamma(p) = integral_0^(+oo) x^(p-1) e^(-x) dif x, space p > 0 $ _Эйлеровым интегралом второго рода_, или _Бета-функцией_, называется ...
https://github.com/fufexan/cv
https://raw.githubusercontent.com/fufexan/cv/typst/metadata.typ
typst
/* Personal Information */ #let firstName = "Mihai-Cristian" #let lastName = "Fufezan" #let personalInfo = ( github: "fufexan", email: "<EMAIL>", linkedin: "mihai-fufezan", homepage: "fufexan.net", ) #let headerQuoteInternational = ( "": [Third year Computer Engineering student with a passion for developing ...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/src/g-question.typ
typst
MIT License
#import"./global.typ": * /// Show a question. /// /// *Example:* /// ``` /// #g-question(points:2)[This is a question] /// ``` /// /// - points (none, float): Points of the question. /// - points-position (none, left, right): Position of points. If none, use the position defined in G-Exam. /// - body (string, cont...
https://github.com/elteammate/typst-compiler
https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/z-test2.typ
typst
#import "reflection-lexer.typ": * #import "reflection-parser.typ": * #import "pprint.typ": * #let tokens = lex_file("test2.typ") // #for i, x in tokens { // [ #i: #x \ ] // } // #postprocess_lexed(tokens) #pprint(typst_parse(tokens))
https://github.com/storopoli/invoice
https://raw.githubusercontent.com/storopoli/invoice/main/main.typ
typst
MIT License
#import "invoice-maker.typ": * #show: invoice.with( //banner-image: image("banner.png"), data: toml("invoice.toml"), styling: ( font: none ), // Explicitly use Typst's default font )
https://github.com/jens-hj/ds-exam-notes
https://raw.githubusercontent.com/jens-hj/ds-exam-notes/main/lectures/8.typ
typst
#import "../lib.typ": * #show link: it => underline(emph(it)) #set math.equation(numbering: "(1)") #set enum(full: true) #set math.mat(delim: "[") #set math.vec(delim: "[") #set list(marker: text(catppuccin.latte.lavender, sym.diamond.filled)) #show heading.where(level: 1): it => text(size: 22pt, it) #show heading.wh...
https://github.com/RY997/Thesis
https://raw.githubusercontent.com/RY997/Thesis/main/common/metadata.typ
typst
MIT License
// Enter your thesis data here: #let titleEnglish = "Leveraging Generative AI for Adaptive Exercise Generation" #let titleGerman = "Nutzung Generativer KI für die Adaptive Generierung von Aufgaben" #let degree = "Master" #let program = "Informatics" #let supervisor = "Prof. Dr. <NAME>" #let advisors = ("<NAME>, M.Sc.",...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/06-automated-modularization/02-artifacts.typ
typst
#import "@preview/acrostiche:0.3.1": * #import "/helpers.typ": * === SDLC artifact The identified #acr("SDLC") artifact categories used as input for the microservice candidate identification algorithm are described in @slr_artifacts. The categories are adapted from a study by #cite_full(<bajaj_etal_2021>). #figure(...
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/02-measure-theory/04-lebesgue-measure.typ
typst
#import "../../utils/core.typ": * == <NAME> #th(label: "stdvol-sfinite")[ Классический объем#rf("volume-examples", "stdvol") $lambda_m$ на ячейках#rf("def-cell") $Pp^m$#rf("def-R-cells") --- $sigma$-конечная#rf("def-sfinite") мера#rf("def-measure", "measure"). ] #proof[ Надо проверить счетную полуаддитивност...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/linebreak-obj_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test punctuation after math equations. #set page(width: 85pt) We prove $1 < 2$. \ We prove $1 < 2$! \ We prove $1 < 2$? \ We prove $1 < 2$, \ We prove $1 < 2$; \ We prove $1 < 2$: \ We prove $1 < 2$- \ We prove $1 < 2$– \ We prove $1 < 2$— \
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/funarray/0.3.0/examples/doc.typ
typst
Apache License 2.0
#import "@preview/idwtet:0.2.0" #set page(header: text(gray, 9pt)[`funarray` package documentation]) #show: idwtet.init.with( code-font-size: 11pt, eval-scope: ( funarray: ( value: {import "../funarray.typ" as funarray; funarray}, code: "#import \"@preview/funarray:0.3.0\"" ) )) = `funarray` ...
https://github.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper
https://raw.githubusercontent.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper/main/nju-thesis/utils/metavalue.typ
typst
MIT License
#let prefix = "metavalue:" // 设置一个类似全局变量的 metavalue #let metavalue(key, value) = [ #metadata(value) #label(prefix + key) ] // 查询该 metavalue,默认取最后一个,没找到则回调 none #let query-metavalue(key, callback) = { locate(loc => { let last = query(label(prefix + key), loc).at(-1, default: none) if (last != none) { ...
https://github.com/v411e/optimal-ovgu-thesis
https://raw.githubusercontent.com/v411e/optimal-ovgu-thesis/main/template.typ
typst
MIT License
#import "components.typ": body-font, sans-font, small-heading, number-until-with, variable-pagebreak, author-fullname #import "titlepage.typ": oot-titlepage #import "acknowledgement.typ": oot-acknowledgement #import "abstract.typ": oot-abstract #import "disclaimer.typ": oot-disclaimer #import "expose.typ": oot-expose ...
https://github.com/pku-typst/awesome-PKU-Typst
https://raw.githubusercontent.com/pku-typst/awesome-PKU-Typst/main/README.md
markdown
MIT License
# Awesome PKU Typst [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) > 这是一个收集北京大学 Typst 相关资源的项目。欢迎贡献。 [English](./README-en.md) | 简体中文 ## 内容 待完善
https://github.com/cnaak/blindex.typ
https://raw.githubusercontent.com/cnaak/blindex.typ/main/README.md
markdown
MIT License
# Blindex: Index-making of Biblical literature citations in Typst Blindex (`blindex:0.1.0`) is a Typst package specifically designed for the generation of indices of Biblical literature citations in documents. Target audience includes theologians and authors of documents that frequently cite biblical literature. ## I...
https://github.com/akrantz01/resume
https://raw.githubusercontent.com/akrantz01/resume/main/main.typ
typst
MIT License
#import "template/heading.typ": header #import "template/layout.typ": load-layout #import "template/overrides.typ": apply-overrides #import "template/sections.typ": sections #let layout = load-layout(sys.inputs.at("layout", default: none)) #let data = apply-overrides( yaml("data.yml"), layout.at("overrides", defau...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/docs/guide/gallery.typ
typst
MIT License
#import "../../src/quill.typ": * #set page(width: 18cm, height: auto, margin: 0mm) #let gallery = { set raw(lang: "typc") table( align: center + horizon, columns: (1fr, 1fr, 1.3fr, 1.1fr, 1fr, 1.48fr), column-gutter: (0pt, 0pt, 2.5pt, 0pt, 0pt), [Normal gate], quantum-circuit(1, gate($H$),...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Expertes_Ex_29_05_2024.typ
typst
#import "@preview/bubble:0.1.0": * #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/cheq:0.1.0": checklist #import "@preview/typpuccino:0.1.0": macchiato #import "@preview/wordometer:0.1.1": * #import "@preview/tablem:0.1.0": tablem ...
https://github.com/Quaternijkon/Typst_Lab_Report
https://raw.githubusercontent.com/Quaternijkon/Typst_Lab_Report/main/theme.typ
typst
// #import "@preview/chic-hdr:0.4.0": * #import "lib.typ": * #let Heiti = ("Times New Roman", "Heiti SC", "Heiti TC", "SimHei") #let Songti = ("Times New Roman", "Songti SC", "Songti TC", "SimSun") #let Zhongsong = ("Times New Roman", "STZhongsong", "SimSun") #let Xbs = ("Times New Roman", "FZXiaoBiaoSong-B05", "FZXia...
https://github.com/MALossov/YunMo_Doc
https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/contents/4Conclusion.typ
typst
Apache License 2.0
= 总结 == 可扩展之处 在项目的实施中,尽管我们取得了一系列令人满意的成果,但我们也深刻认识到一些未能达到的目标,这为未来的可扩展性提供了一些有益的方向。以下是一些未能实现的目标以及对应的可扩展性考虑: - 更高级的图像检测功能: 尽管我们实现了基本的人体检测功能,但在未来的扩展中,可以考虑集成更高级的图像检测算法,如物体识别、行为分析等,以提升监控系统的智能化水平。 - 单FPGA多路摄像头: 当前的设计虽然支持多路摄像头接入,但考虑到监控系统可能需要更大规模的部署,未来的扩展方向可以包括优化硬件设计,实现单一FPGA处理多路摄像头输入,提高系统整体的可伸缩性。 - SD卡存储: 在实际应用中,对于长时间的监控数据存...
https://github.com/eduardz1/UniTO-typst-template
https://raw.githubusercontent.com/eduardz1/UniTO-typst-template/main/template/main.typ
typst
MIT License
#import "@preview/modern-unito-thesis:0.1.0": template // Your acknowledgments (Ringraziamenti) go here #let acknowledgments = [ I would like to thank you for using my template and the team of typst for the great work they have done and the awesome tool they developed. Remember that it's best practice to thank the ...
https://github.com/WinstonMDP/knowledge
https://raw.githubusercontent.com/WinstonMDP/knowledge/master/equiv_classes.typ
typst
#import "cfg.typ": cfg #show: cfg = Классы эквивалентности $tilde$ - эквивалентность $:= med tilde$ - симметричный предпорядок. Класс эквивалентности $x$ по $tilde med := {y | y tilde x}$. Фактор-множество $x$ по $tilde med := x \/ tilde med := {y subset.eq x | exists z in x space y - "класс эквивалентности" z "по" ...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/format/supports/cross-ref-sample.typ
typst
Apache License 2.0
#import "/github-pages/docs/book.typ": book-page #show: book-page.with(title: "Typst Supports - Cross Reference in other pages") = Sample page for cross reference in other pages #lorem(50) == Subsection #lorem(50) == -sub option #lorem(50) == A sentence... #lorem(50) == Math equation $f = lambda x . x$ in hea...
https://github.com/oldrev/tids
https://raw.githubusercontent.com/oldrev/tids/master/demo-ds.zh.typ
typst
Apache License 2.0
#import "tids.zh.typ": tids #import "@preview/gentle-clues:0.6.0": warning #let metadata = ( title: [FXC1117 通量电容器], product: "FXC1117", product_url: "https://github.com/oldrev/tids", ) #let features = [ - 容量: 1.21 GC - 输入电压: 88 kV - 封装:提供 QFN-24 和 BGA-19999 封装 - 材料:先进钽合金半导体 - 频率响应超过 1...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/game-theory/notes.typ
typst
#import "@local/unipd-doc:0.0.1": * #show: notes() #show: unipd-doc( title: [Game Theory], subtitle: [Notes], author: [<NAME>], date: [I Semester A.Y. 2023-2024], ) #lecture[1 -- 04/10] = Exam - Written test (0-27 pts) - Extra points: + No project (3 free points) + Group project (up to 7 pts) - S...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/font_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test string body. #text("Text") \ #text(red, "Text") \ #text(font: "Ubuntu", blue, "Text") \ #text([Text], teal, font: "IBM Plex Serif") \ #text(forest, font: "New Computer Modern", [Text]) \
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Templates/i-figure.typ
typst
#let _typst-numbering = numbering #let _prepare-dict(it, level, zero-fill, leading-zero, numbering) = { let numbers = counter(heading).at(it.location()) // if zero-fill is true add trailing zeros until the level is reached while zero-fill and numbers.len() < level { numbers.push(0) } // only take the first `l...
https://github.com/heloineto/utfpr-tcc-template
https://raw.githubusercontent.com/heloineto/utfpr-tcc-template/main/README.md
markdown
# UTFPR TCC Template This is a [Typst](https://typst.app/) template for UTFPR TCC (Trabalho de Conclusão de Curso). Features: - Cover, title, approval, acknowledgement and abstract pages - Table of contents, figures and boards - ABNT Headings Missing features: - Tables - ABNT References - Hide illustration's table...
https://github.com/mattheww/tyroshup
https://raw.githubusercontent.com/mattheww/tyroshup/funcalls/funcalls/index.typ
typst
#import "conf.typ": conf #show: conf #outline(depth: 1) #include "general.typ" #include "expressions.typ" #include "glossary.typ"
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/blockchain.typ
typst
#import "../template.typ": * #import "../utils.typ": * #show: doc => conf(author: "<NAME>", "Blockchain", "summary", doc) #include "weeks/week1.typ" #include "weeks/week2.typ" #include "weeks/week3.typ" #include "weeks/week4.typ" #include "weeks/week5.typ" #include "weeks/week6.typ" #include "weeks/week7.typ" #includ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-00.typ
typst
Other
// Ref: true // Evaluates to join of none, [My ] and the two loop bodies. #{ let parts = ("my fri", "end.") [Hello, ] for s in parts [#s] } // Evaluates to join of the content and strings. #{ [How] if true { " are" } [ ] if false [Nope] [you] + "?" }
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-number-align_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 25-39 page number cannot be `horizon`-aligned // #set page(number-align: left + horizon)
https://github.com/yue-dongchen/LibreBitexts
https://raw.githubusercontent.com/yue-dongchen/LibreBitexts/master/Authors/Jules%20Verne/Vingt%20mille%20lieues%20sous%20les%20mers/Vingt%20mille%20lieues%20sous%20les%20mers.chapitre1.fr-en.typ
typst
Other
#import "../../../utils.typ" #import utils: parallel-text as parallel #import "@preview/ccicons:1.0.0": * #set page(footer: [ #grid( columns: (1fr, 1fr, 1fr), align: (left, center + top, right), [], [#counter(page).display("1")], [ #text(font: "Roboto", weight: "medium", size: 8pt)[#link("https://yue-dongchen...
https://github.com/sses7757/sustech-graduated-thesis
https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/lib.typ
typst
Apache License 2.0
#import "@preview/anti-matter:0.0.2": anti-inner-end as mainmatter-end #import "layouts/doc.typ": doc #import "layouts/mainmatter.typ": mainmatter, arounds_default #import "layouts/appendix.typ": appendix #import "pages/fonts-display-page.typ": fonts-display-page #import "pages/outline-page.typ": outline-page #import "...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/image_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Does not fit to remaining height of page. #set page(height: 60pt) Stuff #image("/assets/files/rhino.png")
https://github.com/BoostCookie/systemd-tshirtd
https://raw.githubusercontent.com/BoostCookie/systemd-tshirtd/main/src/tshirtd.newlogo.black.typ
typst
#set page(fill: rgb("#201a26")) #include "common.newlogo.typ"
https://github.com/EpicEricEE/typst-droplet
https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/src/lib.typ
typst
MIT License
#import "droplet.typ": dropcap
https://github.com/lphoogenboom/typstThesisDCSC
https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/typFiles/glossary.typ
typst
// !!!! // STUDENTS, DO NOT EDIT THIS FILE! // !!!! #import "specialChapter.typ": * #import "../acronymList.typ": acronyms #let glossary() = { set page(numbering: "1") set heading(numbering: none) show: specialChapter.with(chapterTitle: "Glossary",content: [ == List of acronyms #let arr = () #for (key, value) in ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/029_Aether%20Revolt.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Aether Revolt", doc) #include "./029 - Aether Revolt/001_In the Dead of Night.typ" #include "./029 - Aether Revolt/002_Quiet Moments.typ" #include "./029 - Aether Revolt/003_Breakthrough.typ" #include "./029 - Aether Revolt/004_Revolution Begins.typ" #include "./...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/049%20-%20The%20Brothers'%20War/006_Chapter%202%3A%20Antiquities.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Chapter 2: Antiquities", set_name: "The Brothers' War", story_date: datetime(day: 24, month: 10, year: 2022), author: "<NAME>", doc ) #emph[After Kroog was destroyed while most of its defenders were at his side, Urza vowed that none of his ...
https://github.com/max-niederman/CS250
https://raw.githubusercontent.com/max-niederman/CS250/main/hw/6.typ
typst
#import "../lib.typ": * #show: homework.with(title: "CS 250 Homework #6") = Counting == 1 By the multiplication principle, there are $ 4^20 dot 5^10$ == 2 By the multiplication principle, there are $26^3 dot 10^2$. == 3 There are $2 dot 4 + 4 dot 2 = 16$ == 4 No, there are only $10^2 = 100$ possible combinati...
https://github.com/syamkarni/personalCV
https://raw.githubusercontent.com/syamkarni/personalCV/main/main.typ
typst
#import "cv.typ": * //#let cvdata = yaml("example.yml") #let cvdata = json("data.json") #let uservars = ( headingfont: "Linux Libertine", bodyfont: "Linux Libertine", fontsize: 10pt, // 10pt, 11pt, 12pt linespacing: 6pt, showAddress: true, // true/false show address in contact info showNumber:...
https://github.com/mintyfrankie/brilliant-CV
https://raw.githubusercontent.com/mintyfrankie/brilliant-CV/main/docs/docs.typ
typst
Apache License 2.0
/* * Documentation of the functions used in the template, powered by tidy. */ #import "@preview/tidy:0.3.0" #import "./docs-template.typ": * #let version = toml("/typst.toml").package.version #show: template.with( title: "brilliant-cv", subtitle: "Documentation", authors: ("mintyfrankie"), version: version, )...
https://github.com/L364CY-FM/typst-thesis
https://raw.githubusercontent.com/L364CY-FM/typst-thesis/main/projektarbeit/thesis.typ
typst
MIT License
#import "templates/thesis_template.typ": * #import "templates/cover.typ": * #import "templates/titlepage.typ": * #import "templates/disclaimer.typ": * #import "acknowledgement.typ": * #import "abstract.typ": * #import "metadata.typ": * #cover( title: title, degree: degree, author: author, ) #titlepage( title...
https://github.com/AquaBx/omd-tp-1
https://raw.githubusercontent.com/AquaBx/omd-tp-1/main/compte-rendu/cr.typ
typst
#let problem_counter = counter("problem") #let prob(body) = { // let current_problem = problem_counter.step() block(fill:rgb(250, 255, 250), width: 100%, inset:8pt, radius: 4pt, stroke:rgb(31, 199, 31), body) } // Some math operators #let prox = [#math.op("prox")] #let proj = [#math.op("proj")] ...
https://github.com/arthurcadore/eng-telecom-workbook
https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/COM_1/homework8/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) #set highlight( fill: rgb("#c1c7c3"), stroke: rgb("#6b6a6a"), extent: 2pt, radius: 0.2em, ) #show: doc...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Research/Winter%202024/Cartan-Hadamard%20Conjecture/Ideas.typ
typst
#import "/Templates/generic.typ": latex #import "/Templates/notes.typ": chapter_heading #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #import "/Templates/monograph.typ": frontpage #show: latex #show: chapter_heading #show: thmrules #show: symbol_replacing #show: equation_references = Simplific...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/lovelace/0.2.0/examples/rawtext.typ
typst
Apache License 2.0
#import "../lib.typ": * #set page(width: 20em, height: auto, margin: 1em) #show: setup-lovelace #let redbold = text.with(fill: red, weight: "bold") #pseudocode-raw( scope: (redbold: redbold), ```typ #no-number *input:* integers $a$ and $b$ #no-number *output:* greatest common divisor of $a$ and $b$ <li...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/edge-snap-to/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #let label = table( columns: (12mm, 4mm, 4mm, 4mm), `Node`, none, `4`, none, stroke: (x, y) => if 0 < x and x < 3 { (x: 1pt) }, ) Allow `snap-to` to be `none`. #diagram( node-stroke: 1pt, edge-stroke: 1...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-22.typ
typst
Other
// Error: 4-5 unknown variable: x #((x) = "")
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/tidy-parse.typ
typst
MIT License
// Matches Typst docstring for a function declaration. Example: // // // This function does something // // // // param1 (str): This is param1 // // param2 (content, length): This is param2. // // Yes, it really is. // #let something(param1, param2) = { // // } // // The entire block may be indented b...
https://github.com/swaits/typst-collection
https://raw.githubusercontent.com/swaits/typst-collection/main/README.md
markdown
MIT License
# `typst-collection` A collection of `typst` templates and packages by [swaits](https://swaits.com/about). ## Usage These are available for use at the [`typst` universe](https://typst.app/universe/). ## License All content licensed under the MIT license.
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/2-theory/webxr.typ
typst
Die WebXR Device API stellt eine Sammlung von Standards dar, die das Erstellen und die Interaktion mit 3D-Szenen in virtuellen und erweiterten Realitäten ermöglichen. Diese API unterstützt eine Vielzahl von Geräten, darunter mobile Endgeräte, 3D-Headsets und Datenbrillen @webxr-spec. WebXR ersetzt die ältere WebVR API,...
https://github.com/barrel111/readings
https://raw.githubusercontent.com/barrel111/readings/main/problems/kt-problems.typ
typst
#import "@local/preamble:0.1.0": * #import "@preview/commute:0.2.0": node, arr, commutative-diagram #show: project.with( course: "Algorithms", sem: "Summer", title: "Kleinberg-Tardos", subtitle: "Problems", authors: ("<NAME>",), ) #set enum(indent: 15pt, numbering: "a.") = Stable Matching ==
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/grid-1.typ
typst
Apache License 2.0
// Test grid layouts. --- #let cell(width, color) = rect(width: width, height: 2cm, fill: color) #set page(width: 100pt, height: 140pt) #grid( columns: (auto, 1fr, 3fr, 0.25cm, 3%, 2mm + 10%), cell(0.5cm, rgb("2a631a")), cell(100%, forest), cell(100%, conifer), cell(100%, rgb("ff0000")), cell(100%, rgb...
https://github.com/Clamarche/typst-language-support
https://raw.githubusercontent.com/Clamarche/typst-language-support/main/README.md
markdown
# typst-language-support README This is the README for your extension "typst-language-support". After writing up a brief description, we recommend including the following sections. ## Features Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to ...
https://github.com/TOMATOFQY/MyChiCV
https://raw.githubusercontent.com/TOMATOFQY/MyChiCV/main/resume.chinese.typ
typst
MIT License
#import "chicv.chinese.typ": * #show: chicv #box([ = 范乾一 #fa[#phone] #fa[#weixin] (+86)132-8866-2339 | #fa[#envelope] <EMAIL> | #fa[#github] #link("https://github.com/TOMATOFGY")[github.com/TOMATOFGY] // #fa[#home] #link("https://www.notion.so/tomatofgy/TOMATOFGY-s-Blog-c83179a1988543678b177bbb4fa957e1")[TOMATOFGY's...
https://github.com/Lightbridge-KS/kittipos-cv-typst
https://raw.githubusercontent.com/Lightbridge-KS/kittipos-cv-typst/main/Kittipos-CV.typ
typst
// #import "modern-acad-cv.typ": * #import "@preview/modern-acad-cv:0.1.0": * #import "@preview/fontawesome:0.4.0" #import "@preview/use-academicons:0.1.0" // Color Setup #let link-color = rgb("#800000") // red!50!black #let cite-color = rgb("#4040a0") // blue!50!gray // Set up colored links #show link: it => [ #...
https://github.com/DaAlbrecht/lecture-notes
https://raw.githubusercontent.com/DaAlbrecht/lecture-notes/main/template.typ
typst
MIT License
#let project(title: "", header:"", body) = { let authors = ("David",); let school = "FFHS - Fernfachhochschule Schweiz"; let degree = "BsC in Cyber Security"; let date = "2024"; set document(author: authors, title: title) set page(numbering: "1", number-align: center, header: align(center, header)) set t...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/复变函数/作业/hw1.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec #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: "作业1", au...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue21b.typ
typst
Other
#import "issue19.typ" as zeke #zeke.nums #import "issue20.typ": a as multiline #multiline
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/numbers_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test the `str` function with integers. #str(12) \ #str(1234567890) \ #str(0123456789) \ #str(0) \ #str(-0) \ #str(-1) \ #str(-9876543210) \ #str(-0987654321) \ #str(4 - 8)
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-11-13/23-11-13.typ
typst
#import "/template.typ": * #show: project.with( date: "13/11/23", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:30", timeEnd: "17:30", ); = Ordine del giorno - Aggiornamento del gruppo in merito alle nuove automazioni adottate; ...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/random/haobin.typ
typst
#import "template.typ": * #show: template.with( title: "Haobin Iceberg", subtitle: "<NAME>" ) This document will be a comprehensive set of notes covering the content in the set of tweets by user `@binneulbinism`, linked #link("https://twitter.com/binneulbinism/status/1757853566033592793")[here]. I will attempt to ...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/homeworks/main.typ
typst
#import "/utils/template.typ": conf #import "/utils/datestamp.typ": datestamp #show: body => conf( title: "Теория Вероятностей", subtitle: "Домашние задания", author: "<NAME>, БПИ233", year: [2024--2025], outline_opts: ( depth: 1, ), body, ) #datestamp( "2024-09-16") #include "./to...
https://github.com/barrel111/readings
https://raw.githubusercontent.com/barrel111/readings/main/notes/external/1910SU/limits.typ
typst
#import "@local/preamble:0.1.0":* #show: project.with( course: "1910PREP", sem: "Summer", title: "Limits!", subtitle: "", authors: ("<NAME>",), ) = Introduction We start by giving an (informal) definition of what limits are. While not mathematically precise, it captures all the intuition needed to understa...
https://github.com/chilingg/kaiji
https://raw.githubusercontent.com/chilingg/kaiji/main/part1/chapter3.typ
typst
Other
#import "../template/main.typ": main_body, font_size_list, parenthese_numbers, sans_font_cfg, thin_line, font_cfg #import "@preview/tablex:0.0.6": gridx, tablex, rowspanx, colspanx, hlinex, vlinex, cellx #show: body => main_body(body) #columns(2)[ // 613 活字のサイズと字づらの大きさ = 活字尺寸与字面大小 // 613-1 基準ワクと字づらの関係 == 基准框与字面的关系 ...
https://github.com/Quaternijkon/notebook
https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-数据结构/字符串/轮转字符串.typ
typst
#import "../../../../lib.typ":* === #Title( title: [轮转字符串], reflink: "https://leetcode.cn/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof/description/", level: 2, )<轮转字符串> #note( title: [ 动态口令 ], description: [ 某公司门禁密码使用动态口令技术。初始密码为字符串 password,密码更新均遵循以下步骤: - 设定一个正整数目标值 target - 将 password 前 target 个字符按原顺序移动至字...
https://github.com/abenson/report
https://raw.githubusercontent.com/abenson/report/master/report.typ
typst
// A paper or report with classification banners. // SPDX-License Identifier: Unlicense //Pick a color based on the classification string #let colorForClassification( classification, sci, disableColor: false ) = { let classcolor = black if disableColor == false and classification != none { if sci { ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/096.%20fundraising.html.typ
typst
fundraising.html A Fundraising Survival Guide Want to start a startup? Get funded by Y Combinator. August 2008Raising money is the second hardest part of starting a startup. The hardest part is making something people want: most startups that die, die because they didn't do that. But the second biggest cause o...
https://github.com/danbalarin/vse-typst-template
https://raw.githubusercontent.com/danbalarin/vse-typst-template/main/lib/abstract-keywords.typ
typst
#import "macros.typ": heading-like #let abstract-keywords( abstract-cs: none, keywords-cs: none, abstract-en: none, keywords-en: none, separated-abstracts: false, ) = { if abstract-cs != none [ #heading-like([Abstrakt], level: 2) #abstract-cs ] if keywords-cs != none [ #heading-like(...
https://github.com/jultty/skolar
https://raw.githubusercontent.com/jultty/skolar/main/demo/demo.typ
typst
#import "@local/skolar:0.2.0": * #let my_properties = ( title: "Projeto de Jogo: Nefthera", course: "Desenvolvimento de Jogos", course_id: "DJOI5", author: "<NAME>", ) #generate_document(properties: my_properties)[ // you can override the template in here #set heading(numbering: "1.a") = #lorem(3) ...
https://github.com/yasemitee/Teoria-Informazione-Trasmissione
https://raw.githubusercontent.com/yasemitee/Teoria-Informazione-Trasmissione/main/template.typ
typst
#let project(title: "", body) = { set document(title: title) set text(font: "Source Sans Pro", lang: "it") set text(hyphenate: false) set par(justify: true) set heading(numbering: "1.") align(center)[ #block(text(weight: 700, 1.75em, title)) ] v(1.75em) show outline.ent...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/182.%20fp.html.typ
typst
fp.html Fashionable Problems December 2019I've seen the same pattern in many different fields: even though lots of people have worked hard in the field, only a small fraction of the space of possibilities has been explored, because they've all worked on similar things.Even the smartest, most imaginative people are sur...
https://github.com/ntjess/wrap-it
https://raw.githubusercontent.com/ntjess/wrap-it/main/docs/manual.typ
typst
The Unlicense
#import "@preview/tidy:0.2.0" #import "@preview/showman:0.1.0" #import "../wrap-it.typ" #show raw.where(block: true, lang: "typ"): showman.formatter.format-raw.with(width: 100%) #show raw.where(lang: "typ"): showman.runner.global-example.with( unpack-modules: true, scope: (wrap-it: wrap-it), eval-prefix: "#let wr...
https://github.com/Julian-Wassmann/chapter-utils
https://raw.githubusercontent.com/Julian-Wassmann/chapter-utils/main/0.1.0/util/chapter-header.typ
typst
#import "./page-chapter.typ": page-chapter #let page-number( format-page: (page-number) => [Page #page-number] ) = locate(loc => { let page-number-format = loc.page-numbering() // show styled page-number if page-numbering is enabled if page-number-format != none { let page-number = counter(page).display(pa...
https://github.com/01mf02/jq-lang-spec
https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/common.typ
typst
#import "@preview/ctheorems:1.1.0": thmplain, thmrules #let thm(x, y, ..args) = thmplain(x, y, inset: (left: 0em, right: 0em), ..args) #let example = thm("example", "Example") #let lemma = thm("theorem", "Lemma") #let theorem = thm("theorem", "Theorem") #let proof = thm("proof", "Proof", bodyfmt: body => [ #body...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/transform-layout_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test relative sizing in scaled boxes. #set page(width: 200pt, height: 200pt) #set text(size: 32pt) #let scaled(body) = box(scale( x: 60%, y: 40%, box(stroke: 0.5pt, width: 30%, clip: true, body) )) #set scale(reflow: false) Hello #scaled[...
https://github.com/maucejo/elsearticle
https://raw.githubusercontent.com/maucejo/elsearticle/main/src/elsearticle.typ
typst
MIT License
// elsearticle.typ // Author: <NAME> // Github: https://github.com/maucejo // License: MIT // Date : 07/2024 #import "_globals.typ": * #import "_environment.typ": * #import "_utils.typ": * #import "_template_info.typ": * #let elsearticle( // The article's title. title: none, // An array of authors...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/space-02.typ
typst
Other
// Test that a run consisting only of whitespace isn't trimmed. A#text(font: "IBM Plex Serif")[ ]B
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/README-EN.md
markdown
MIT License
# :page_facing_up: Tongji University Undergraduate Thesis Typst Template (STEM) [中文](README.md) | English > [!CAUTION] > Since the Typst project is still in the development stage and support for some features is not perfect, there may be some issues with this template. If you encounter problems while using it, please...
https://github.com/0x1B05/algorithm-journey
https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/哈希表和哈希函数.typ
typst
#import "../template.typ": * #pagebreak() = 哈希表和哈希函数 == 哈希函数 1. 输入域无穷 2. 输出域 S 有限,比如 MD5 的返回值是 0~2 的 64 次方-1 3. 相同的输入,一定返回相同的输出(不随机) 4. 不同的输入,可能有相同的输出(哈希碰撞),但是概率非常低 5. 每一个输出都均匀离散(最重要的性质) 6. 若输入域通过哈希函数得到的输出是均匀离散的,那再 mod 一个 M,得到的输出在 0~M-1 上野是均匀离散的 === 经典题目 1 假设有一个文件,有 40 亿无符号整数(0-2^32-1),只给 1G 内存,找出出现次数最多的数. 分析:使用 ...
https://github.com/HenkKalkwater/aoc-2023
https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/parts/day-3-1.typ
typst
#let input = "467..114.. ...*...... ..35..633. ......#... 617*...... .....+.58. ..592..... ......755. ...$.*.... .664.598.." #let GRID_SYMBOL = -1 #let GRID_EMPTY = -2 #let parse_grid = (input) => { let numbers = () let grid = () let grid_row = () let cur_number = (number: 0, pos: ()) let x = 0 let y = ...
https://github.com/indicatelovelace/typstTemplates
https://raw.githubusercontent.com/indicatelovelace/typstTemplates/main/themes/dhbw-thesis/utils.typ
typst
MIT License
#import "@preview/drafting:0.1.1": * // Get the page (counter value, not real page number) for a selector // e. g. #page_ref(<lst:hello-world>) #let page_ref(selector) = { locate(loc => { // Get the `location` of the element let element_location = query(selector, loc) .first() .location() // Get ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-06.typ
typst
Other
// Test failing assertions. // Error: 8-51 assertion failed: two is smaller than one #assert(2 < 1, message: "two is smaller than one")
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/py_package_and_publish.typ
typst
#import("doctemplate.typ"): conf #show link: underline #show "pyproject.toml": it => text(red)[#it] #show: doc => conf( title: "Python 模块打包和发布指南", author: "ohmycloud", date: datetime.today().display(), description: "Rye Vs Poetry Vs PDM", doc, ) = pypi 私有服务搭建 搭建 PYPI 私服, 便于 Python 模块/命令行工具的分享, 积...
https://github.com/mangkoran/utm-thesis-typst
https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/07_declaration_originality.typ
typst
MIT License
#import "@preview/tablex:0.0.7": tablex, colspanx #import "utils.typ": empty #let content( title: empty[title], author: empty[author], ) = [ #align(center)[ = Declaration ] #align(horizon)[ I declare that this thesis entitled "#title" is the result of my own research except as cited in the refer...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/theorems/definition.typ
typst
Apache License 2.0
#import "new-theorem-template.typ": new-theorem-template #import "../counters.typ": definition-counter #import "../colors.typ": color-schema #let definition = new-theorem-template( "Definition", fill: color-schema.green.light, stroke: color-schema.green.primary, theorem-counter: definition-counter, )
https://github.com/miliog/typst-penreport
https://raw.githubusercontent.com/miliog/typst-penreport/master/typst-penreport/content/document_properties.typ
typst
MIT No Attribution
#let documentProperties(headingName, organisation, subtitle, targets) = [ #strong(headingName) #table( fill: (col, row) => if col == 0 { luma(240) }, columns: (auto, 1fr), inset: 10pt, stroke: (paint: gray, thickness: 1pt), align: left, [*Client*], organisation, [*Title*], subtit...
https://github.com/jonsch318/rules_typst
https://raw.githubusercontent.com/jonsch318/rules_typst/main/README.md
markdown
Apache License 2.0
# Typst rules for [Bazel](https://bazel.buid) Bazel rules for the [typst](https://typst.app) markup-based typesetting system. > [!CAUTION] > This ruleset is in early development and thus introduce > breaking changes at any time (without warning) until a 1.0.0 release. I try to follow the Bazel rules-template. Roadm...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/043%20-%20Innistrad%3A%20Midnight%20Hunt/004_Sisters.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Sisters", set_name: "Innistrad: Midnight Hunt", story_date: datetime(day: 10, month: 09, year: 2021), author: "<NAME>", doc ) Leinore found the dead snake mixed in the ashes of a campfire gone cold hours ago. It was a small thing, charred t...
https://github.com/antonWetzel/prettypst
https://raw.githubusercontent.com/antonWetzel/prettypst/master/test/otbs/headings.typ
typst
MIT License
= Top == Sub #lorem(1) == Sub 2 === Subsub 3 #lorem(1) == Sub 3 #lorem(1) == Sub 4 <label> === Subsub 4 <label_2> #lorem(1)
https://github.com/OthoDeng/Typst-notes
https://raw.githubusercontent.com/OthoDeng/Typst-notes/main/Undergrad/24fall/notes_2024fall.typ
typst
#import "@preview/dvdtyp:1.0.0": * #import "@preview/chem-par:0.0.1": * #show link: it => { set text(fill: blue) underline(it) } #show: dvdtyp.with( title: "我包罗万象", subtitle: [_2024 fall_], author: "365", abstract: [This note is made using #link("https://typst.app")[Typst]. It includes but not limits to...