repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis
https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/template/chapters/introduction.typ
typst
MIT License
#let introduction() = [ #lorem(20) ]
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-justify-cjk-01.typ
typst
Other
// Japanese typography is more complex, make sure it is at least a bit sensible. #set page(width: auto) #set par(justify: true) #set text(lang: "jp") #rect(inset: 0pt, width: 80pt, fill: rgb("eee"))[ ウィキペディア(英: Wikipedia)は、世界中のボランティアの共同作業によって執筆及び作成されるフリーの多言語インターネット百科事典である。主に寄付に依って活動している非営利団体「ウィキメディア財団」が所有・運営している。 ...
https://github.com/Godalin/Typst-Notations
https://raw.githubusercontent.com/Godalin/Typst-Notations/main/CatT.typ
typst
// category #let ob = $upright("Ob")$ #let mor = $upright("Mor")$ #let dom = $sans("dom")$ #let cod = $sans("cod")$ #let id = $sans("id")$ // identity arrow #let after = sym.compose // TODO deprecated #let aft = after #let op = $sans("op")$ // opposite category #let Hom = $upright("Hom")$ #let sim = $tilde$ // Co...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw5.typ
typst
#import "../../template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: note.with( title: "作业5", author: "YHTQ ", date: none, logo: none, withOutlined: false ) = 10.19 = P58 20. #answer[ 任取 $x in G$,若 $exists...
https://github.com/heychhavi/resume-template
https://raw.githubusercontent.com/heychhavi/resume-template/main/template.typ
typst
#let justified(lbody, rbody) = { block[ #lbody #box(width: 1fr)[ #align(right)[#rbody] ] ] } #let resume(author: (:), body) = { set document( author: author.name, title: "Resume", ) set text( font: ("New Computer Modern"), lang: "en", size: 11pt, fill: rgb("#131A2...
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/formalisation.typ
typst
#import "defs.typ": * #import "links.typ": * = Meta formalisation Pour certains langages, il est possible d'utiliser des outils de formalisation pour spécifier des programmes et prouver que des propriétés. Il existe globalement trois stratégies pour développement formel pour les langages cibles: - l'extraction de cod...
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/src/koch.typ
typst
MIT License
//============================================================================== // The Koch curve // // Public functions: // koch-curve, koch-snowflake //============================================================================== #import "util.typ": gen-svg //-------------------------------------...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/page.typ
typst
// Test the page class. --- page-call-empty --- // Just empty page. // Should result in auto-sized page, just like nothing. #page[] --- page-call-styled-empty --- // Just empty page with styles. // Should result in one conifer-colored A11 page. #page("a11", flipped: true, fill: conifer)[] --- page-call-followed-by-p...
https://github.com/fyuniv/typstModernCV
https://raw.githubusercontent.com/fyuniv/typstModernCV/main/example.typ
typst
MIT License
#import "lib.typ": * #show: resume.with( title: "Curriculum Vitae", author: ( firstname: "John", lastname: "Doe", email: "<EMAIL>", address: [Dept. of Math\ home number, street name,\ city, zipcode], positions: ( "Mathematician", ), phone: "(000) 123 4567", ...
https://github.com/not-matthias/typst-jku
https://raw.githubusercontent.com/not-matthias/typst-jku/main/jku.typ
typst
/* Based of the work of <NAME>, Mai 2023 Continued by <NAME>, October 2024 */ // Save heading and body font families in variables. #let font = ( roman: "New Computer Modern", sans: "New Computer Modern Sans", mono: "New Computer Modern Mono", ) #let font-base-size = 11pt #let font-sizes = ( footnote: font-...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/math-stylers.typ
typst
#import "base-utils.typ": * #let styled-exponent(mc, fill: blue) = { let runner(body) = { let t = body.t let top = text(fill: fill, t) return math.attach(body.base, t: top) } let fields = mc.fields() if "body" in fields { if "base" in fields.body.fields() { ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/content/languages.typ
typst
Apache License 2.0
#import "../lib.typ": * #import "@preview/fontawesome:0.2.1": * == #fa-icon("language") #h(5pt) #get-header-by-language("Languages", "Idiomas") #v(5pt) #if is-english() { language-entry(language: "English", proficiency: "Native") language-entry(language: "Spanish", proficiency: "Fluent") language-entry(langu...
https://github.com/hitszosa/universal-hit-thesis
https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/pages/declaration-of-originality.typ
typst
MIT License
#import "../config/constants.typ": special-chapter-titles #import "../../../common/theme/type.typ": 字体, 字号 #import "../utils/states.typ": thesis-info-state #let declaration-of-originality() = { set par(leading: 1.25em) v(0.25em) align(center)[ #text(font: 字体.黑体, size: 字号.小二)[ 哈尔滨工业大学本科毕业论文(设计) ] ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/wrap-indent/0.1.0/README.md
markdown
Apache License 2.0
# wrap-indent `wrap-indent` is a package for wrapping content in custom functions with just indentation. This lets you avoid using trailing square brackets to wrap content, instead you just indent it! This system works by re-purposing Typst's existing [term-list](https://typst.app/docs/reference/model/terms/) syntax...
https://github.com/flavio20002/typst-kaobook-template
https://raw.githubusercontent.com/flavio20002/typst-kaobook-template/main/typst-kaobook.typ
typst
Apache License 2.0
#let project(title: "", subtitle: "", date: "", author: (), logo: none, cover: none, imageIndex:none, body, mainColor: blue,copyright: [], lang: "en", listOfFigureTitle: none, listOfTableTitle: none, supplementChapter: "Chapter", supplementPart: "PART", fontSize: 10pt, part_style: 0) = { set document(author: author, ...
https://github.com/An-314/Note-of-Quantum_Mechanics
https://raw.githubusercontent.com/An-314/Note-of-Quantum_Mechanics/main/chap1.typ
typst
#import "@preview/physica:0.9.2": * = 量子力学的基本观念和历史简介 == 量子力学的基本观念(波动力学) 基本描述:波函数 系统的行为由薛定谔方程描述,薛定谔方程的解称为波函数 系统的完整信息用它的波函数表述,通过波函数可以计算任意可观察量的可能值 在空间给定体积内找到一个粒子的概率正比于波函数的模方 对于同样制备的相同系统进行同样的量不一定给出同一结果,相反,结果分布在波函数描述的范围内 === 波的干涉 波相长干涉还是相消干涉取决于它们的相位,振幅同相时相长干涉,反相时相消干涉。当波沿着几条路径从波源到达接收器,比如光的双缝干涉,一般会产生干...
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/ieee/README.md
markdown
Creative Commons Zero v1.0 Universal
# Typst IEEE Format Based on the IEE template published by the Typst team at <https://github.com/typst/templates/tree/main/ieee>. **NOTE**: This format requires the pre-release version of Quarto v1.4, which you can download here: <https://quarto.org/docs/download/prerelease>. ## Installing ```bash quarto use templa...
https://github.com/devraza/warehouse
https://raw.githubusercontent.com/devraza/warehouse/main/blog/selfhost-tailscale.typ
typst
MIT License
#import "template.typ": conf #show: doc => conf( title: [ Host your own private search engine with SearXNG ], doc, ) = Tailscale #link("https://tailscale.com/")[Tailscale] is a modern tunnel VPN service based on #link("https://www.wireguard.com/")[WireGuard®] which provides a 'free' and secure means of communicati...
https://github.com/jasmerri/tsumo
https://raw.githubusercontent.com/jasmerri/tsumo/main/src/display.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import "./image-sets.typ" #import "./tile.typ": ids, tiles, types // Default style used by the default drawer. #let _style = ( height: 4em, padding: 4pt, spacing: 0pt ) // The default drawer. // Draws a tile given a specification. // Arguments: // x, y: The position to draw the ...
https://github.com/rlpundit/typst
https://raw.githubusercontent.com/rlpundit/typst/main/Typst/en-Report/chaps/intro.typ
typst
MIT License
/* --------------------------------- DO NOT EDIT -------------------------------- */ #import "../Class.typ": * #show: report.with(isAbstract: false) #chap("General Introduction") // GI #set page(header: smallcaps(title) + h(1fr) + emph("General Introduction") + line(length: 100%)) /* ----------------------------------...
https://github.com/harrellbm/Bookletic
https://raw.githubusercontent.com/harrellbm/Bookletic/main/src/lib.typ
typst
Apache License 2.0
// Page number layout config. #let num-layout( p-num-start: 1, // Starting page number p-num-alt-start: none, // Alternative starting page number (e.g., for chapters) p-num-pattern: "1", // Pattern for page numbering (e.g., "1", "i", "a", "A") p-num-placement: bottom, // Placement of page number...
https://github.com/yonatanmgr/summaries-template
https://raw.githubusercontent.com/yonatanmgr/summaries-template/main/template/thm-custom.typ
typst
// Store theorem environment numbering #import "@preview/showybox:2.0.1": * #let cmeta = yaml("/config.yaml") #let thmcounters = state("thm", ( "counters": ("heading": ()), "latest": () ) ) #let thmenv(identifier, base, base_level, fmt, ..args) = { let global_numbering = numbering return ( ..arg...
https://github.com/v411e/optimal-ovgu-thesis
https://raw.githubusercontent.com/v411e/optimal-ovgu-thesis/main/template/metadata.typ
typst
MIT License
// Enter your thesis data here: #let title = "Optimierung von neuronalen Netzwerkarchitekturen für die echtzeitfähige Bilderkennung auf energiesparenden Geräten" #let international-title = "Optimizing Neural Network Architectures for Real-Time Image Recognition on Low-Power Devices" #let document-type = "Masterarbeit" ...
https://github.com/OverflowCat/sigfig
https://raw.githubusercontent.com/OverflowCat/sigfig/neko/test.typ
typst
MIT License
#{ import "lib.typ": round let shouldBeEqualTo(x, y) = assert(x == y); shouldBeEqualTo(round(0.0, 4), "0.000"); shouldBeEqualTo(round(-0.0, 4), "0.000"); shouldBeEqualTo(round(1234.567, 8), "1234.5670"); shouldBeEqualTo(round(1234.567, 1), "1e3"); shouldBeEqualTo(round(1234.567, "1"), "1e3"); // just like 1 ...
https://github.com/levinion/typst-dlut-templates
https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/thesis/index.typ
typst
MIT License
#import "../util/style.typ":font_family,font_size #let index = [ #set align(center) #set text(font: font_family.heiti, size: font_size.xiao_san) #set block(spacing: 0.9em) 目#h(2em)录\ #set text(font: font_family.songti, size: font_size.xiao_si) #set par(leading: 0.9em) #outline(title: none, indent: auto) ...
https://github.com/kitashimauni/report-tools
https://raw.githubusercontent.com/kitashimauni/report-tools/main/README.md
markdown
# Typstでレポートを書くときに使う関数をまとめたパッケージ ```lib.typ```を任意の位置に置くことで使用可能 必要なファイルを用意して```@loacl/foo```で使えるようにしたい ## 関数の説明 詳細は```example.typ```を参照 ### ```#showCode``` 指定されたプログラムファイルを表示する 現状```Python```のみ関数やクラスを指定して表示可能 引数に```read(file)```と```file```の2つが必要なのは, 相対パスが渡されたときにパッケージのあるパスからの相対パスとして認識されてしまうため #### 依存 ```@preview/cod...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/SettimoSprint.typ
typst
MIT License
#import "../../functions.typ": glossary === Settimo #glossary[sprint] *Inizio*: Venerdì 05/01/2024 *Fine*: Giovedì 11/01/2024 *Obiettivi dello #glossary[sprint]*: - Proseguire la revisione in stile #glossary[walkthrough] delle _Norme di Progetto v1.0_; - Proseguire la stesura del _Piano di Progetto_, con: ...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/post-reveal.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Post Reveal Thoughts", type: "brainstorm", date: datetime(year: 2023, month: 4, day: 27), author: "<NAME>", witness: "Violet Ridge", ) After the game reveal each membe...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/plugin.typ
typst
// Test WebAssembly plugins. --- plugin-basic --- #let p = plugin("/assets/plugins/hello.wasm") #test(p.hello(), bytes("Hello from wasm!!!")) #test(p.double_it(bytes("hey!")), bytes("hey!.hey!")) #test( p.shuffle(bytes("value1"), bytes("value2"), bytes("value3")), bytes("value3-value1-value2"), ) --- plugin-wrong...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ttt-exam/0.1.0/lib/i18n.typ
typst
Apache License 2.0
#import "@preview/linguify:0.3.1": * // load linguify database file #let ling_db = toml("assets/lang.toml")
https://github.com/suspenss/Undergraduate-mathematics
https://raw.githubusercontent.com/suspenss/Undergraduate-mathematics/main/Linear%20Algebra/main.typ
typst
#import "./../setup/templates.typ": * #import "./../setup/theorem.typ": * #show: thmrules // #show math.equation: set text(font: "New Computer Modern Math") // #show math.equation: set text(font: "Libertinus Math") #show: project.with( title: "Linear Algebra", authors: ("epoche",), language: "ch", outl: [ #outl...
https://github.com/mcarifio/explore.typst
https://raw.githubusercontent.com/mcarifio/explore.typst/main/src/README.typ
typst
= Notes == Refs - #link("https://typst.app/docs/tutorial/")[tutorial] especially #link("https://typst.app/docs/tutorial/writing-in-typst/")[writing] and #link("https://typst.app/docs/tutorial/making-a-template/")[making templates]. - background: https://www.user.tu-berlin.de/laurmaedje/programmable-markup-language-...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tgm-hit-thesis/0.1.2/template/lib.typ
typst
Apache License 2.0
// #import "@preview/tgm-hit-thesis:0.1.2": * #import "../src/lib.typ": * #import "assets.typ"
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0016.typ
typst
#import "../helpers.typ": * #let _3sum-closest-ref(nums, target) = { let nums = nums.sorted() let n = nums.len() let ans = 2147483647 for i in range(n) { if i > 0 and nums.at(i) == nums.at(i - 1) { continue } let l = i + 1 let r = n - 1 while l < r { let sum = nums.at(i) + nums....
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/docs/inverse%201-median.typ
typst
// The inverse 1-median problem on a tree and on a path (Galavii) // Thêm ý nghĩa của bài toán vào luận văn #include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #import "../typst-orange.typ": theorem, proof #include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #impor...
https://github.com/andreasKroepelin/lovelace
https://raw.githubusercontent.com/andreasKroepelin/lovelace/main/examples/long.typ
typst
MIT License
#import "../lib.typ": * #set page(width: auto, height: 50em, margin: 1em) #set text(font: "TeX Gyre Pagella") #show math.equation: set text(font: "TeX Gyre Pagella Math") #pseudocode( booktabs: true, // title: [My title], ..(([a line], ) * 100) )
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/24-02-11/24-02-11.typ
typst
#import "/template.typ": * #show: project.with( date: "11/02/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:00", timeEnd: "16:15", ); = Ordine del giorno - Valutazione del progresso generale; - Analisi di retrospettiva; - Second...
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/lib.typ
typst
MIT License
#import "documentclass/undergraduate-cs.typ" #import "documentclass/graduate-general.typ" #import "utils/fonts.typ" #import "utils/part.typ" #import "utils/appendix.typ": appendix #import "utils/structure.typ": frontmatter, mainmatter
https://github.com/realcomplex0/icpc-pipari
https://raw.githubusercontent.com/realcomplex0/icpc-pipari/main/notebook.typ
typst
#set page(flipped: true, numbering: "1", margin: ( left: 0.5cm, right: 0.5cm, top: 0.5cm, bottom: 1cm )) #set heading(numbering: "1.") #set align(center) #set text( size: 10pt, font: "New Computer Modern" ) #block( spacing: 2em )[ LU ICPC komanda "Mazmazītiņ<NAME>i" - <NAME> - <NAME> ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/137.%20hubs.html.typ
typst
hubs.html Why Startup Hubs Work Want to start a startup? Get funded by Y Combinator. October 2011If you look at a list of US cities sorted by population, the number of successful startups per capita varies by orders of magnitude. Somehow it's as if most places were sprayed with startupicide.I wondered about thi...
https://github.com/VZkxr/Typst
https://raw.githubusercontent.com/VZkxr/Typst/master/Seminario/Solucion%20propuesta/solucion.typ
typst
#import "codly-0.2.1/codly.typ": * #show: codly-init.with() #let icon(codepoint) = { box( height: 0.8em, baseline: 0.05em, image(codepoint) ) h(0.1em) } #codly(languages: ( rust: (name: "Rust", icon: icon("brand-rust.svg"), color: rgb("#CE412B")), python: (name: "Python", icon: icon("brand-pyth...
https://github.com/KireinaHoro/research-plan
https://raw.githubusercontent.com/KireinaHoro/research-plan/master/infk-doctoral-plan/infk-doctoral-plan.typ
typst
/// Draws a horizontal rule; useful for creating signature fields. /// /// *Example:* /// #example(``` /// table( /// columns: (auto, 4cm), /// stroke: none, /// row-gutter: 1em, /// [First Person], rule(100%), /// [Second Person], rule(100%), /// ) /// ```) /// /// - length (length): Length of the rule to dr...
https://github.com/1sSay/USPTU_conspects
https://raw.githubusercontent.com/1sSay/USPTU_conspects/main/src/math/QuadraticCurves.typ
typst
// Global settings and templates #set text(14pt) #let def(term, color: black) = { box(stroke: color, inset: 7pt, text()[ #term ]) } // Header #align(center, heading(level: 1)[Математика \ Аналитическая геометрия]) #align(center, text(weight: "thin")[21.09.2024]) #align(center, text(weight: "thin")[Конспект Сайфуллин...
https://github.com/ludwig-austermann/typst-funarray
https://raw.githubusercontent.com/ludwig-austermann/typst-funarray/main/README.md
markdown
MIT License
# FunArray Package This package provides some convinient functional functions for [typst](https://typst.app/) to use on arrays. ## Usage To use this package simply `#import "@preview/funarray:0.3.0"`. To import all functions use `: *` and for specific ones, use either the module or as described in the [typst docs]...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/text_font2.typ
typst
Apache License 2.0
#let y = /* position after */ ("Test",) #text(font: y)[]
https://github.com/Servostar/dhbw-abb-typst-template
https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/tests/invalid-config/test-case-1.typ
typst
MIT License
#import "../../src/lib.typ": dhbw-template #show: dhbw-template.with(( lang: none, region: "en", author: ( name: "<NAME>", semester: 4, program: "Informationtechnology", course: "TINF19IT1", faculty: "Technik", university: "DHBW Mannheim", company: "ABB AG", ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.2.3/template/chapters/5-implementation.typ
typst
Apache License 2.0
#import "global.typ": * = Implementation <implementation> #lorem(35)#v(0.3cm) #todo( [ Describe what is relevant and special about your working prototype. State how single features help to solve problem(s) at hand. You might implement only the most relevant features. Features you select from your prioritised f...
https://github.com/RazaMM/resume
https://raw.githubusercontent.com/RazaMM/resume/main/resume.typ
typst
#import "template.typ": template, education_entry, work_entry, skill_entry, project_entry #set text(font: "Roboto") #let color = rgb(0, 0, 0) #let name = "<NAME>" #let contact_data = ( ( "service": "email", "display": "<EMAIL>", "link": "mailto://<EMAIL>" ), ( "service": "phone", "display": ...
https://github.com/pawarherschel/typst
https://raw.githubusercontent.com/pawarherschel/typst/main/modules/education.typ
typst
Apache License 2.0
#import "../template/template.typ": * #import "../helpers/helpers.typ": * #let SOT = yaml("../SOT.yaml") #let education = () #if SOT.keys().contains("education") { education = SOT.education } #if education.len() != 0 { cvSection("Education") set block(spacing: 0em) for entry in education { let title =...
https://github.com/Pablo-Gonzalez-Calderon/chic-header-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/chic-header-package/main/lib/layout.typ
typst
MIT License
/* * Chic-header - A package for Typst * <NAME> (c) 2023 * * layout.typ -- The package's file for handling header and * footer layouts properly * * This file is under the MIT license. For more * information see LICENSE on the package's main folder. */ /* * chic-distribute-layout * * Generates the proper la...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pad-00.typ
typst
Other
// Use for indentation. #pad(left: 10pt, [Indented!]) // All sides together. #set rect(inset: 0pt) #rect(fill: green, pad(10pt, right: 20pt, rect(width: 20pt, height: 20pt, fill: rgb("eb5278")) ) ) Hi #box(pad(left: 10pt)[A]) there
https://github.com/jamesrswift/ionio-illustrate
https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/gallery/linalool.typ
typst
MIT License
#set par(justify: true) #set page(width: auto, height: auto, margin:1em) #set text(size: 7pt) #import "../src/lib.typ": * #let data = csv("../assets/linalool.csv") #let massspec = data.slice(1) #let ms = mass-spectrum(massspec, args: ( range: (0,150), plot-extras: (this) => { (this.callout-above)(136, conten...
https://github.com/ENIB-Community/ENIB_Typst_Internship_Template
https://raw.githubusercontent.com/ENIB-Community/ENIB_Typst_Internship_Template/main/main.typ
typst
MIT License
// Importing the "enib-template" function from "template.typ" #import "template.typ": * // Applying the enib-template to the whole document using a #show rule // Fill in this function call with your informations #show: body => enib-template( title: "Titre du stage", sous-titre: "Conversion d'une base de code monol...
https://github.com/HollowNumber/DDU-Rapport-Template
https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/src/main.typ
typst
#import "format.typ": * // sidehoved // INDSÆT NAVN, FAG, OG DATO #set page( "a4", ) // to customize this template and discover how it works. #show: rapport.with( // indsæt Titel titel: "TITEL", undertitel: "UNDERTITEL", sidehoved: [ #set text(8pt) Author names #h(1fr) Digital Design og Udvkilki...
https://github.com/xiongyaohua/typst-template-swjtu-thesis
https://raw.githubusercontent.com/xiongyaohua/typst-template-swjtu-thesis/main/modules/pages.typ
typst
#import "common.typ": 字号, 字体, 全局样式, 格式化日期 // 附页 #let 扉页(..信息) = { let 信息 = 信息.named() set align(center) [ #v(1cm) #text(font: 字体.黑体, size: 字号.小二)[ 西#h(0.5em)南#h(0.5em)交#h(0.5em)通#h(0.5em)大#h(0.5em)学\ 本科毕业设计(论文) ] #v(2cm) #text(font: 字体.黑体, size: 字号.二号)[ #信息.题目 ]...
https://github.com/jxpeng98/Typst-CV-Resume
https://raw.githubusercontent.com/jxpeng98/Typst-CV-Resume/main/legacy/coverletter-legacy.typ
typst
MIT License
#import "modernpro-cv-legacy.typ": * // Remember to set the fonttype in `modernpro-cv-legacy.typ` #show: mainbody => coverletter-legacy( name: [#lorem(2)], //name:"" or name:[] address: [#lorem(4)], contacts: ( (text: "08856", link: ""), (text: "example.com", link: "https://www.example.com"), (text:...
https://github.com/oldrev/tids
https://raw.githubusercontent.com/oldrev/tids/master/tids.typ
typst
Apache License 2.0
#import "@preview/cetz:0.1.2": canvas, plot #let company_info = ( name: "<NAME>iconductors Inc.", logo: "./assets/demo-logo.svg", website_url: "https://github.com/oldrev", ) #let tids(ds_metadata: ( title: [YourDSTitle], product: [YourProductName], product_u...
https://github.com/ningvin/typst-resume-template
https://raw.githubusercontent.com/ningvin/typst-resume-template/main/resume.typ
typst
Apache License 2.0
// used to collect side sections #let side-sections = state("side-sections", ()) // function that lets you create a fancy resume; // the resume is divided into two parts: // - the main content panel // - a side panel to the left of it #let resume( // the title; not displayed anywhere, but put into the document's...
https://github.com/csimide/SEU-Typst-Template
https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/templates/bachelor.typ
typst
MIT License
#import "../utils/fonts.typ": 字体, 字号 #import "../utils/set-bachelor.typ": set-bachelor #import "../utils/states.typ": part-state #import "../pages/cover-bachelor-fn.typ": bachelor-cover-conf #import "../parts/abstract-bachelor-fn.typ": abstract-conf #import "../parts/main-body-bachelor-fn.typ": main-body-bachelor-conf...
https://github.com/neeruuppalapati/MATH-Notes
https://raw.githubusercontent.com/neeruuppalapati/MATH-Notes/main/example.typ
typst
#import "template.typ": * #show: template.with( title: [Quantum Mechanics, Brownian Motion,\ Ergodic Theory], short_title: "Phys 123", description: [ Notes based on lectures for Phys 123 (Statistical Mechanics II)\ at Bicol University by Professor <NAME>, Spring 2020 ...
https://github.com/KXXH/YAYT
https://raw.githubusercontent.com/KXXH/YAYT/main/template.typ
typst
// The project function defines how your document looks. // It takes your content and some metadata and formats it. // Go ahead and customize it to your liking! #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx #let underline_block( width: 100%, height: auto, content ) = { block( width: width, ...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/tequila/basic/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ" #import quill: tequila as tq #quill.quantum-circuit( ..tq.build( tq.h(0), tq.cx(0, 1), tq.cx(0, 2), ) ) #pagebreak() #quill.quantum-circuit( ..tq.build( n: 3, tq.h(0,1), tq.gate(1, $Pi$, fill: orange), tq....
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/xcommand.typ
typst
Apache License 2.0
/// HTML extension #let xcommand(outer-width: 1024pt, outer-height: 768pt, inner-width: none, inner-height: none, content) = { let content = if type(content) == str { content } else if content.func() == raw { content.text } else { content } let inner-width = if inner-width == none { outer-wi...
https://github.com/mem-courses/discrete-mathmatics
https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week3.typ
typst
MIT License
#import "../template.typ": * #import "../functions.typ": * #show: project.with( course: "Discrete Mathmatics", course_fullname: "Discrete Mathematics and Application", course_code: "211B0010", title: "Homework #3: Inference & Proofs & Sets", authors: (( name: "<NAME>", email: "<EMAIL>", id: "A10" ),), sem...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chuli-cv/0.1.0/modules/styles.typ
typst
Apache License 2.0
#let colors = ( accent: rgb("#007fad"), inactive: luma(170), gradient-init: rgb("#001f3f"), gradient-end: rgb("#7fdbff") ) #let global-text-setting = ( weight: "regular", size: 10pt, ) #let vline() = [ #h(5pt) ] #let hline() = [ #box(width: 1fr, line(stroke: 0.9pt, length: 100%)) ] #let dashed-line...
https://github.com/levinion/typst-dlut-templates
https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/thesis/cover.typ
typst
MIT License
#import "../util/style.typ":font_size,font_family,vspacer #let header = [ #vspacer(2) #set align(center) #set text( font: font_family.songti_bold, size: font_size.xiao_yi, weight: "medium", ) 大连理工大学本科毕业论文(设计)\ #vspacer(1) ] #let title(chinese_title, english_title)=[ #set align(center) #set text(fo...
https://github.com/crystalmaterial/typst
https://raw.githubusercontent.com/crystalmaterial/typst/main/README.md
markdown
Creative Commons Zero v1.0 Universal
# typst a typst repository with a templates and perhaps one day many more..
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/raw-align.typ
typst
Apache License 2.0
// Test the alignment of text inside of raw blocks. --- // Text inside raw block should be unaffected by outer alignment by default. #set align(center) #set page(width: 180pt) #set text(6pt) #lorem(20) ```py def something(x): return x a = 342395823859823958329 b = 324923 ``` #lorem(20) --- // Text inside raw bl...
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/fiction/_extensions/fiction/typst-show.typ
typst
Creative Commons Zero v1.0 Universal
#show: book.with( $if(title)$ title: "$title$", $endif$ $if(author)$ author: "$author$", $endif$ $if(dedication)$ dedication: [$dedication$], $endif$ $if(publishing-info)$ publishing-info: [$publishing-info$], $endif$ )
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1E00.typ
typst
Apache License 2.0
#let data = ( ("LATIN CAPITAL LETTER A WITH RING BELOW", "Lu", 0), ("LATIN SMALL LETTER A WITH RING BELOW", "Ll", 0), ("LATIN CAPITAL LETTER B WITH DOT ABOVE", "Lu", 0), ("LATIN SMALL LETTER B WITH DOT ABOVE", "Ll", 0), ("LATIN CAPITAL LETTER B WITH DOT BELOW", "Lu", 0), ("LATIN SMALL LETTER B WITH DOT BELO...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas1/3_Streda.typ
typst
#let V = ( "HV": ( ("", "Prechváľniji múčenicy", "Na kresťí prihvoždájem, Christé Bóže, jáko čelovík, čelovíčeskoje jestestvó obožíl jesí, i načalozlóbnaho umertvíl jesí zmíja. Nás svobodíl jesí kľátvy jáže ot dréva, jáko blahoutróben býv kľátva: prišél jesí, jáko da vsím podási blahoslovénije, i véliju mílosť.")...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/note-1/1.基础知识.typ
typst
#import "../template.typ": * #show: project.with( course: "Calculus I", course_fullname: "Calculus (A) I", course_code: "821T0150", semester: "Autumn-Winter 2023", title: "Note #1: 基础知识", authors: ( ( name: "memset0", email: "<EMAIL>", id: "3230104585", ), ), date: "October 22...
https://github.com/cspr-rad/actus-spec
https://raw.githubusercontent.com/cspr-rad/actus-spec/master/presentation/speakers-notes.md
markdown
# ACTUS Specification 2.0 speaker's notes. These are the speaker's notes that accompany the presentation of the same name. Please find the presentation `.pdf` file to give this presentation. You can use `pdfpc` to give this presentation. ## Why are we talking about this? We are a team from Casper, trying to impleme...
https://github.com/mumblingdrunkard/mscs-thesis
https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/conclusion/index.typ
typst
= Conclusion <ch:conclusion> In this project, we have made progress towards implementing doppelganger loads in synthesisable hardware. We have uncovered multiple challenges that arise and require solving and we have solved some of them while giving approachable starting points for solving others. We have provided a b...
https://github.com/j10ccc/zjut-social-practice-report-typst
https://raw.githubusercontent.com/j10ccc/zjut-social-practice-report-typst/main/README.md
markdown
# ZJUT-Social-Practice-Report-Typst A template of social practice report for zjuters. ## Requirements - [typst](https://typst.app) - One font for report body(recommend `songti`) ## Layout convention - The font should be an 11pt serif font - The title should be in bold - The paper should be `a4` sized, numbered in ...
https://github.com/iXORTech/typst-library-swift
https://raw.githubusercontent.com/iXORTech/typst-library-swift/main/README.md
markdown
Apache License 2.0
# Typst Library Swift Swift Package for using Typst Library in iOS, iPadOS, and macOS applications developed in Swift ## Requirements - macOS Monterey (12.0) or later - Xcode 13.0 or later - rustup - Rust 1.80.0 or later, **installed via rustup** - [cargo-swift](https://crates.io/crates/cargo-swift), **installed via...
https://github.com/IdoWinter/UnitedDumplingsLegislatureArchive
https://raw.githubusercontent.com/IdoWinter/UnitedDumplingsLegislatureArchive/main/elections/example/example.typ
typst
MIT License
#import "../ballot.typ": * #set page(fill: color.linear-rgb(255, 255, 255, 255)) #repeat_ballot(ballot("אבג", [כופתה אחת \ בראשות גברת כופתה])) #pagebreak() #set page(fill: yellow) #repeat_ballot(pm_ballot([גברת], [כופתה]))
https://github.com/fredguth/bid_produto_1
https://raw.githubusercontent.com/fredguth/bid_produto_1/main/_extensions/fredguth/desid-report/typst-show.typ
typst
#show: doc => report( $if(title)$ title: [$title$], $endif$ $if(subtitle)$ subtitle: [$subtitle$], $endif$ $if(by-author)$ authors: ( $for(by-author)$ $if(it.name.literal)$ ( name: [$it.name.literal$], role: [$for(it.roles)$$it.role$ $endfor$], corresponding: [$it.attributes.corresponding$], ...
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/droplet/tests/explicit/test.typ
typst
#import "/src/lib.typ": dropcap #set page(width: 6cm, height: auto, margin: 1em) // Test explicitly passed first letter. #dropcap(square(size: 1em), gap: 1em)[A square is a square.] #dropcap(square(size: 1em), gap: 1em, height: 3, lorem(13)) #dropcap(square(), height: 14pt, gap: 1em, lorem(10)) #dropcap[\#1][The win...
https://github.com/RiccardoTonioloDev/Bachelor-Thesis
https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/preface/summary.typ
typst
Other
#import "../config/constants.typ": abstract #import "../config/variables.typ": * #pagebreak(to: "odd") #set page(numbering: "i") #counter(page).update(1) #v(10em) #align(center)[#text(24pt, weight: "thin", abstract)] #v(2em) #set par(first-line-indent: 0pt) Questa tesi esplora la predizione della profondità utilizza...
https://github.com/TC-Fairplay/member-listing
https://raw.githubusercontent.com/TC-Fairplay/member-listing/main/junioren-a.typ
typst
MIT License
#import "members-list.typ": members-list #show: doc => members-list("junioren_a.csv", "A", doc)
https://github.com/jrihon/multi-bibs
https://raw.githubusercontent.com/jrihon/multi-bibs/main/chapters/02_chapter/bib_02_chapter.typ
typst
MIT License
#let dict_02_chapter = ( "Zgarbova2015dnaol15": 1, "Sega2011sixring": 2, "Cremer1975general": 3, ) #let biblio = ( bibchapter: dict_02_chapter, bibyml: "../chapters/02_chapter/02_chapter.yml", )
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-rtl_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set text(dir: rtl) - מימין לשמאל
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/translation_component.typ
typst
#import "../../../acronyms.typ": ac = Translation Component <translation-layer> The translation component has been built between the #ac("UI") and the inference engine. As can be seen in @component-diagram, it is responsible for translating between the data models used by the #ac("UI") and the type inference engine: ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-assoc-01.typ
typst
Other
// Assignment is right-associative. { let x = 1 let y = 2 x = y = "ok" test(x, none) test(y, "ok") }
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/searchGroup.typ
typst
```ts this.courseService.getAll().subscribe(courses => { this.groupedModules = courses.map(course => { const courseLabel = course?.translations?.[activeTranslationIndex]?.name; const coursePath = `/faculty/${course.department.facultyId}/department/${course.department.id}/course/${course.id}`; const items...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-02.typ
typst
Other
// Pass closure as argument and return closure. // Also uses shorthand syntax for a single argument. #{ let chain = (f, g) => (x) => f(g(x)) let f = x => x + 1 let g = x => 2 * x let h = chain(f, g) test(h(2), 5) }
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-justify-cjk-03.typ
typst
Other
// Test Variants of Mainland China, Hong Kong, and Japan. // 17 characters a line. #set page(width: 170pt + 10pt, margin: (x: 5pt)) #set text(font: "Noto Serif CJK SC", lang: "zh") #set par(justify: true) 孔雀最早见于《山海经》中的《海内经》:\u{200b}“有孔雀。”东汉杨孚著《异物志》记载,岭南:“孔雀,其大如大雁而足高,毛皆有斑纹彩,捕而蓄之,拍手即舞。” #set text(font: "Noto Serif CJK...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/util.typ
typst
Apache License 2.0
#import "/src/cetz.typ" #import cetz.util: bezier /// Clip line-strip in rect /// /// - points (array): Array of vectors representing a line-strip /// - low (vector): Lower clip-window coordinate /// - high (vector): Upper clip-window coordinate /// -> array List of line-strips representing the paths insides the clip-...
https://github.com/iMilesHo/resume-template-typst
https://raw.githubusercontent.com/iMilesHo/resume-template-typst/main/README.md
markdown
Apache License 2.0
# A resume template for Software Developer written in Typst ## Usage Approach 1: 1. Clone the repository 2. Use VSCode to open the project 3. Install the Typst preview extension and Typst LSP extension - Typst preview extension: used to preview the resume in real-time - Typst LSP extension: used to generate the resum...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ttt-exam/0.1.0/lib/cover.typ
typst
Apache License 2.0
#import "i18n.typ": * #import "@preview/ttt-utils:0.1.0": components, grading #import components: checkbox, field, lines #let grading_table(dist) = { table( columns: (2cm, 1fr, 5cm), inset: 0.7em, align: center, "Note", "Punkteschlüssel", "Anzahl", ..dist.rev().map(g => (g.grade, [von #g.lower-...
https://github.com/Fuzzy-Technical-Indicator/poster
https://raw.githubusercontent.com/Fuzzy-Technical-Indicator/poster/main/main.typ
typst
#import "poster.typ": * #show: poster.with( size: "24x36", title: "ระบบสนับสนุนการตัดสินใจซื้อขายสินทรัพย์ด้วยฟัซซีโลจิก\nFuzzy Logic in Market Trading Decision Support System", authors: "<NAME>, ธนวัตน์ บําเพ็งพันธ์ุ", departments: "คณะวิศวกรรมศาสตร์ ภาควิชาวิศวกรรมคอมพิวเตอร์", univ_logo: "Chiang_mai_unive...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/presets/difficulties.typ
typst
Other
#import "/lib/colors.typ": color #let difficulties = ( easy: [#text(fill: color.bronze.III, weight: "bold")[Easy]], normal: [#text(fill: color.silver.III, weight: "bold")[Normal]], hard: [#text(fill: color.gold.III, weight: "bold")[Hard]], challenging: [#text(fill: color.diamond.III, weight: "bold")[Challengin...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/tournament-gateway/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator, diagraph #import notebookinator: * #import themes.radial.components: * #import "/utils.typ": tournament-from-csv #import diagraph: * #show: create-body-entry.with( title: "Tournament: Gateway to the West", type: "test", date: datetime(year: 2024, month: 2, day: 3), aut...
https://github.com/Wuvist/lcpc
https://raw.githubusercontent.com/Wuvist/lcpc/main/lcpc_slide.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": * #import themes.simple: * #import "@preview/tablex:0.0.8": tablex, colspanx, rowspanx // Make the paper dimensions fit for a presentation and the text larger #set page(paper: "presentation-4-3") #set text(size: 25pt) #set quote(bloc...
https://github.com/hweissi/tugraz-typst-theme
https://raw.githubusercontent.com/hweissi/tugraz-typst-theme/main/README.md
markdown
# TU Graz Typst theme This is a theme inspired by the TUGraz Metropolis LaTeX theme, with some added nice features. The flake provides a Dev-Shell and includes required fonts. The theme is not Nix-packaged yet, because in their great wisdom, Typst devs decided to look in `$XDG_DATA_HOME` for packages instead of `$XDG...
https://github.com/olligobber/friggeri-cv
https://raw.githubusercontent.com/olligobber/friggeri-cv/master/README.md
markdown
# Friggeri CV This is a version of the Friggeri CV, originally created by <NAME> in LaTeX, imitated countless times by countless others. This version was tweaked by myself in LaTeX and then finally ported to Typst. See the example usage at [example.pdf](example.pdf).
https://github.com/kaarmu/splash
https://raw.githubusercontent.com/kaarmu/splash/main/src/palettes.typ
typst
MIT License
#import "palettes/beamer.typ": * #import "palettes/google-workspace.typ": * #import "palettes/kth.typ": * #import "palettes/misc.typ": * #import "palettes/seaborn.typ" as seaborn #import "palettes/tailwind-css.typ": * #import "palettes/tol.typ": * #import "palettes/typst-highlighting.typ": * #import "palettes/xcolor.t...
https://github.com/liuguangxi/fractusist
https://raw.githubusercontent.com/liuguangxi/fractusist/main/examples/dragon-curve-n12.typ
typst
MIT License
#set document(date: none) #import "/src/lib.typ": * #set page(width: auto, height: auto, margin: 0pt) #dragon-curve( 12, step-size: 6, stroke-style: stroke( paint: gradient.linear(..color.map.crest, angle: 45deg), thickness: 3pt, cap: "square" ) )
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/introduction/motivation.typ
typst
= Motivation <motivation> Block-based programming tools enable a purely visual introduction to programming for the imperative programming paradigm. Common beginner mistakes, such as compiling code with incorrect syntax, are impossible in such an environment. Examples include Scratch, developed by MIT, and the LEGO Min...