repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/0x1B05/english
https://raw.githubusercontent.com/0x1B05/english/main/kaoyan/content/words.typ
typst
#import "../template.typ": * #pagebreak() = Words == 2005 === 完形 ==== vocabulary - dilute: 稀释 - disolve: 溶解 - disperse: 散开 - diffuse:(气味)扩散 - whereas: 而 - repel: 推开 - neglect: 忽视 === text1 ==== vocabulary - slack: 松懈 - grievance: 不满 - token: 金属代币 - adjoining chamber: 相邻的房间 - induce: 招致 - righteous: morally right ...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/imports/colors.typ
typst
Other
#let color-a = rgb("#990027") // #5D071D
https://github.com/augustebaum/epfl-thesis-typst
https://raw.githubusercontent.com/augustebaum/epfl-thesis-typst/main/example/main/ch1_introduction.typ
typst
MIT License
= Introduction #lorem(100) #pagebreak() #lorem(75) #pagebreak() #lorem(75)
https://github.com/mrwunderbar666/typst-apa7ish
https://raw.githubusercontent.com/mrwunderbar666/typst-apa7ish/main/README.md
markdown
MIT License
# APA7 (-ish) Template for Typst [Typst](https://typst.app/) Template that (mostly) complies with APA7 Style (Work in Progress). The template does not follow all recommendations by the APA Manual, especially when the suggestions break with typographic conventions (such as double line spacing :vomiting_face:). Instead...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/edge_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 160pt) #set text(size: 8pt) #let try(top, bottom) = rect(inset: 0pt, fill: conifer)[ #set text(font: "IBM Plex Mono", top-edge: top, bottom-edge: bottom) From #top to #bottom ] #let try-bounds(top, bottom) = rect(inset: 0pt, ...
https://github.com/gabrielluizep/typst-ifsc
https://raw.githubusercontent.com/gabrielluizep/typst-ifsc/main/template/ifscyan.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/polylux:0.3.1": * #let primaryColor = rgb("#30504e") #let bgColor = rgb("eef1ec") #let paddingX = 1.5em #let paddingY = 1em #let footer = [ #set align(left + bottom) #box(width: 100.1%, height: 1em, fill: primaryColor)[ #box(width: 50%, height: 100%)[ #align(horizon)[ #pad(x: ...
https://github.com/MrPicklePinosaur/typst-conceal.vim
https://raw.githubusercontent.com/MrPicklePinosaur/typst-conceal.vim/master/README.md
markdown
MIT License
<div align="center"> # typst-conceal.vim Vim Conceal for Typst </div> ### Before <img src="media/noconceal.png" width=60% /> ### After <img src="media/conceal.png" width=60% /> ### Output <img src="media/output.png" width=60% /> ## Installation ```vim Plug 'MrPicklePinosaur/typst-conceal.vim', {'for': 'typst'} ...
https://github.com/ntjess/wrap-it
https://raw.githubusercontent.com/ntjess/wrap-it/main/README.md
markdown
The Unlicense
# Wrap-It: Wrapping text around figures & content Until <u><https://github.com/typst/typst/issues/553></u> is resolved, `typst` doesn’t natively support wrapping text around figures or other content. However, you can use `wrap-it` to mimic much of this functionality: - Wrapping images left or right of their text - S...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-square-00.typ
typst
Other
// Default square. #box(square()) #box(square[hey!])
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test item number overriding. 1. first + second 5. fifth #enum( enum.item(1)[First], [Second], enum.item(5)[Fifth] )
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/181.%20kids.html.typ
typst
kids.html Having Kids December 2019Before I had kids, I was afraid of having kids. Up to that point I felt about kids the way the young Augustine felt about living virtuously. I'd have been sad to think I'd never have children. But did I want them now? No.If I had kids, I'd become a parent, and parents, as I'd known s...
https://github.com/NamLe0609/bias-ai-report
https://raw.githubusercontent.com/NamLe0609/bias-ai-report/main/post_body.typ
typst
The values used in @ethical-impact-assessment-hospital are from both traditional @VSD-paper and AI-specific @Mapping-VSD sources. The values in @ethical-impact-assessment-hospital have been acquired purely through conceptual investigations, which are prone to researcher bias and tend to misrepresent the stakeholders...
https://github.com/antran22/typst-cv-builder
https://raw.githubusercontent.com/antran22/typst-cv-builder/main/lib/resume/experiences.typ
typst
MIT License
#import "@preview/cmarker:0.1.0" #import "./components.typ": * #import "../util.typ": * #let ResumeExperienceSection(experiences) = [ #stick_together( threshold: 60pt, [= Experience], grid( columns: (1fr), rows: (auto), row-gutter: 24pt, ..experiences.map(exp => { ...
https://github.com/jbirnick/typst-headcount
https://raw.githubusercontent.com/jbirnick/typst-headcount/master/example.typ
typst
MIT License
#import "@preview/headcount:0.1.0": * #import "@preview/great-theorems:0.1.0": * #show: great-theorems-init #set heading(numbering: "1.1") // contruct theorem environment with counter that inherits 2 levels from heading #let thmcounter = counter("hello") #let theorem = mathblock( blocktitle: [Theorem], counter: ...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/.github/ISSUE_TEMPLATE/bug_report.md
markdown
MIT License
--- name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior (Library test): 1. Declare a rust test 'fn test_xxx() { ... }' or typescript test 'it_should(...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/seminars/2024-10-07.typ
typst
#import "/utils/math.typ": * = Распределения #figure( caption: [Плотность распределения], image("graph.svg", height: 3cm) ) #figure( caption: [Гистограмма], image("./hystogram.svg", height: 3cm) ) = Задачи == Задача #blk[ В этой задаче я, видимо, неправильно переписал табличку с условием, но ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/023%20-%20Oath%20of%20the%20Gatewatch/005_Up%20in%20Flames.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Up in Flames", set_name: "Oath of the Gatewatch", story_date: datetime(day: 20, month: 01, year: 2016), author: "<NAME>", doc ) #emph[<NAME> arrived on Zendikar just as ] all hell was breaking loose#emph[. The demon Ob Nixilis had regained ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-style_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Empty with multiple page styles. // Should result in one eastern-colored A11 page. #set page("a4") #set page("a5") #set page("a11", flipped: true, fill: eastern) #set text(font: "Roboto", white) #smallcaps[Typst]
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/numbers_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test the `str` function with floats. #str(12.0) \ #str(3.14) \ #str(1234567890.0) \ #str(0123456789.0) \ #str(0.0) \ #str(-0.0) \ #str(-1.0) \ #str(-9876543210.0) \ #str(-0987654321.0) \ #str(-3.14) \ #str(4.0 - 8.0)
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/MPSI.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: project.with( title: "MPSI", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") Physique: #link("http://benjamin.mollier....
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/utils/appendix.typ
typst
MIT License
#let appendix(level: 2, body) = { counter(heading).update(0) show heading: set heading( numbering: (..numbers) => { let clevel = numbers.pos().len() if (clevel <= level) { return none } else { return numbering("A ", ..numbers.pos().slice(level)) } }, supplement: ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/table-lines.typ
typst
Apache License 2.0
// Ensure no empty lines before a table that doesn't fit into the first page. --- #set page(height: 50pt) Hello #table( columns: 4, [1], [2], [3], [4] )
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/009_The%20Sea%20God's%20Labyrinth%2C%20Part%202.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Sea God's Labyrinth, Part 2", set_name: "Theros", story_date: datetime(day: 20, month: 11, year: 2013), author: "<NAME>", doc ) #emph[Diary of Solon—Scholar, Athlete, and Champion of Oxus] === Day Ten The labyrinth seems to be decompo...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-12.typ
typst
Other
// Ref: false // Destructuring with unnamed sink. #let (a, .., b) = (1, 2, 3, 4) #test(a, 1) #test(b, 4) // Error: 10-11 at most one binding per identifier is allowed #let (a, a) = (1, 2) // Error: 12-15 at most one destructuring sink is allowed #let (..a, ..a) = (1, 2) // Error: 12-13 at most one binding per identi...
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/microecon/answer_box.typ
typst
//answerbox.sty (https://hohei3108.hatenablog.com/entry/2022/01/27/005123) をTypstに移植することを目標にする //#let ansbox_num = counter("ansbox_num") #let copy_array(height, rows) = { if type(height) != array { let heights = () for i in range(rows){ heights.push(height) } return heights } else {return height } } #...
https://github.com/nixon-voxell/nixon_cover_letter_template
https://raw.githubusercontent.com/nixon-voxell/nixon_cover_letter_template/main/letter.typ
typst
MIT License
#import "template.typ": * #show: letter.with( author: ( firstname: "(Nixon) <NAME>", lastname: "Cheng", email: "<EMAIL>", phone: "(+60) 173389100", loc: "Malaysia", linkedin: "nixonyh", github: "nixon-voxell", url_name: "linktr.ee/voxell", url: "https://linktr.ee/voxell", yo...
https://github.com/VJMReichenbach/Merkzettel
https://raw.githubusercontent.com/VJMReichenbach/Merkzettel/main/DGL/dgl.typ
typst
#import "conf.typ": conf = DGL Lernzettel Valentin Reichenbach == Begrifflichkeiten - Ordnung: Höchste Ableitung - Skalar: Gesuchte Funktion hat $italic("Dim") = 1$ - autonom: $F$ hängt nicht direkt von $t$ ab
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/axes.typ
typst
Apache License 2.0
#import "/src/cetz.typ": util, draw, vector, matrix, styles, process, drawable, path-util, process #import "/src/plot/formats.typ" /// Default axis style /// /// #show-parameter-block("tick-limit", "int", default: 100, [Upper major tick limit.]) /// #show-parameter-block("minor-tick-limit", "int", default: 1000, [Uppe...
https://github.com/EmileVezinaCoulombe/Planner
https://raw.githubusercontent.com/EmileVezinaCoulombe/Planner/main/planner.typ
typst
//***************************************************************************// // Imports // //***************************************************************************// #import "@preview/splash:0.3.0": tailwind //***********************************...
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/rolo/rolo.typ
typst
MIT License
#import "src/attributes.typ": * #import "src/names.typ": * #import "src/affiliations.typ": * #import "src/authors.typ": *
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/005_Memories%20of%20Blood.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Memories of Blood", set_name: "Battle for Zendikar", story_date: datetime(day: 16, month: 09, year: 2015), author: "<NAME>", doc ) #emph[When Kalitas and the Ghet threatened to turn all of the vampires of Malakir into thralls of the Eldrazi...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-math_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test a different direction #show math.equation: set text(fill: gradient.linear(..color.map.rainbow, dir: ttb)) #show math.equation: box $ A = mat( 1, 2, 3; 4, 5, 6; 7, 8, 9 ) $ $ x_"1,2" = frac(-b +- sqrt(b^2 - 4 a c), 2 a) $
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Courses/计算机组成与设计/processor.typ
typst
--- order: 4 --- #import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "计算机组成与设计", lang: "zh", ) #let tbl_white(white_row: 1 , content_size: 9pt,..args) = align(center, block[ #show table.cell: it => if it.y <= white_row - 1 { set text(fill: white, stroke: white) it } else { ...
https://github.com/Karolinskis/KTU-typst
https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/variables.typ
typst
#let ProjectName = "Projekto pavadinimas" #let ProjectType = "Baigiamasis bakalauro studijų projektas" #let ProjectTypeEN = "Final Bachelor's Degree Project" #let ProjectCity = "Kaunas" #let ProjectYear = "2024" #let AuthorName = ("autorius", "<NAME>") #let ProjectTitle = "Projekto pavadinimas" #let ProjectTitleEN =...
https://github.com/Le-foucheur/Typst-VarTable
https://raw.githubusercontent.com/Le-foucheur/Typst-VarTable/main/README.md
markdown
MIT License
# VarTable An easy way to render variation table on typst, built on [fletcher](https://github.com/Jollywatt/typst-fletcher)\ The [documention](https://github.com/Le-foucheur/Typst-VarTable/blob/main/documentation.pdf) ```typ #import "@preview/Tabvar:0.1.0": tabvar ``` # Few examples ### Trigonometric functions Tur...
https://github.com/vsheg/intermediate-ml
https://raw.githubusercontent.com/vsheg/intermediate-ml/main/template.typ
typst
#import "@preview/drafting:0.2.0": margin-note, set-page-properties #import "defs.typ": accent-color #let note(title: [], content) = { set text(size: 0.9em, fill: luma(20%)) title = strong(title) margin-note(side: right, stroke: none, title + content) } #let example(content) = { set text(fill: luma(20%), size...
https://github.com/TechnoElf/mqt-qcec-diff-presentation
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-presentation/main/content/introduction.typ
typst
#import "../template/conf.typ": slide
https://github.com/liuguangxi/erdos
https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p218.typ
typst
#import "@preview/cetz:0.2.1" #cetz.canvas({ import cetz.draw: * let a = 0.8 line((3*a, 0), (1.5*a, 1.5*calc.sqrt(3)*a), (-1.5*a, 1.5*calc.sqrt(3)*a), (-3*a, 0), (-1.5*a, -1.5*calc.sqrt(3)*a), (1.5*a, -1.5*calc.sqrt(3)*a), close: true) line((-3*a, 0), (3*a, 0)) line((-1.5*a, 1.5*calc.sqrt(3)*a)...
https://github.com/metamuffin/typst
https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/compiler/methods.typ
typst
Apache License 2.0
// Test method calls. // Ref: false --- // Test whitespace around dot. #test( "Hi there" . split() , ("Hi", "there")) --- // Test mutating indexed value. #{ let matrix = (((1,), (2,)), ((3,), (4,))) matrix.at(1).at(0).push(5) test(matrix, (((1,), (2,)), ((3, 5), (4,)))) } --- // Test multiline chain in code bl...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/layouts/preface.typ
typst
MIT License
#import "@preview/anti-matter:0.0.2": anti-matter // 前言,重置页面计数器 #let preface( // documentclass 传入的参数 twoside: false, // 其他参数 spec: (front: "I", inner: "1", back: "I"), ..args, it, ) = { // 分页 if (twoside) { pagebreak() + " " } counter(page).update(0) anti-matter(spec: spec, ..args, it) }
https://github.com/jamesrswift/frackable
https://raw.githubusercontent.com/jamesrswift/frackable/main/src/impl.typ
typst
The Unlicense
/// Create vulgar fractions using unicode /// #example(```typ /// #frackable(1, 2) /// #frackable(1, 3) /// #frackable(9, 16) /// #frackable(31, 32) /// #frackable(0, "000") /// #frackable(whole: 9, 3, 4) /// ```, scale-preview: 200%) /// /// - numerator (integer, string): The top part of the fraction. /// - denominat...
https://github.com/lvignoli/typst-action-example
https://raw.githubusercontent.com/lvignoli/typst-action-example/main/main.typ
typst
#set page("a4") #show link: it => underline(text(fill: blue)[#it]) #[ #set align(center) #set text(32pt, weight: "light") Example document ] This document was generated using the Typst GitHub action #link("https://github.com/marketplace/actions/github-action-for-typst")[lvignoli/typst-action]. The action code is...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/strong/strong_inserted.typ
typst
*first*\ #strong[second]\ *third*\ #strong[forth]\ *fifth*\ #strong[sixth]
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/meta/bibliography.typ
typst
MIT License
// Test citations and bibliographies. --- // Error: 15-25 failed to parse biblatex file: wrong number of digits in line 5 #bibliography("/bad.bib") --- // Test ambiguous reference. = Introduction <arrgh> // Error: 1-7 label occurs in the document and its bibliography @arrgh #bibliography("/works.bib") --- #set page(...
https://github.com/gyarab/2023-4e-ruzicka-jako_pavouk
https://raw.githubusercontent.com/gyarab/2023-4e-ruzicka-jako_pavouk/main/src-docs/kapitoly/problemy.typ
typst
= Problematika == Slovník Jednou z prvních komplikací bylo najít nějaký dobrý slovník (respektive seznam českých slov, ne jejich významy). Jediný takový seznam, který jsem byl schopen dohledat, byl Český národní korpus SYN2015 o cca 70 000 slovech, který jsem si zatím zredukoval asi na *61 000* a stále čas od času ...
https://github.com/UntimelyCreation/typst-neat-cv
https://raw.githubusercontent.com/UntimelyCreation/typst-neat-cv/main/src/content/en/experience.typ
typst
MIT License
#import "../../template.typ": * #cvSection("Experience") #cvEntry( title: [Senior Software Engineer], organisation: [ABC Company], logo: "", date: [2021 - Present], location: [France], description: list( [#lorem(20)], [#lorem(20)], ), tags: ("Go", "TypeScript", "React", "Po...
https://github.com/Duolei-Wang/modern-sustech-thesis
https://raw.githubusercontent.com/Duolei-Wang/modern-sustech-thesis/main/template/sections/README.md
markdown
MIT License
# sustech-bachelor-thesis 版本说明:v0.1.0. TODO: - [ ] 引用格式 check. 南方科技大学本科毕业设计(论文)模板,论文格式参照 [南方科技大学本科生毕业设计(论文)撰写规范](https://tao.sustech.edu.cn/studentService/graduation_project.html). 如有疏漏敬请谅解,本模板为本人毕业之前自用,如有使用,稳定性请自行负责. 本模板参考了 [iydon](https://github.com/iydon) 仓库的的 $\LaTeX$ 模板 [sustechthesis](https://github.com/iydo...
https://github.com/pku-typst/ichigo
https://raw.githubusercontent.com/pku-typst/ichigo/main/export.typ
typst
MIT License
#import "src/lib.typ": config, prob
https://github.com/TGM-HIT/typst-thesis-workshop
https://raw.githubusercontent.com/TGM-HIT/typst-thesis-workshop/main/README.md
markdown
Die Folien (ohne Animationen) findest du hier: https://github.com/TGM-HIT/typst-thesis-workshop/blob/main/slides/typst-workshop-handout.pdf
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/ephid.typ
typst
Other
#import "/src/template.typ": * #make-part([Einführung in die Philosophiedidaktik], subtitle: [Eine Übersicht der philosophiedidaktischen Themen]) #include "grundpositionen/main.typ" #include "ziele_und_aufgaben/main.typ" #include "unterrichtsplanung/main.typ" #include "beurteilen_bewerten/main.typ" #include "operatore...
https://github.com/jamesrswift/journal-ensemble
https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/src/elements/cetz-plot.typ
typst
The Unlicense
#import "@preview/cetz:0.2.2" #let plot( columns: 1, figure-args: arguments(), canvas-args: arguments(), plot-args: arguments(), body ) = { set par.line(numbering: none) figure( placement: auto, scope: if columns == 1 {"column"} else {"parent"}, ..figure-args, cetz.canvas(..canvas-args, ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/guide/renderer/react.typ
typst
Apache License 2.0
#import "/docs/cookery/book.typ": book-page #import "/docs/cookery/term.typ" as term #show: book-page.with(title: "React Library") = React Library Use #link("https://www.npmjs.com/package/@myriaddreamin/typst.react")[`@myriaddreamin/typst.react`]. ```typescript import { TypstDocument } from '@myriaddreamin/typst.re...
https://github.com/GYPpro/ACM_res
https://raw.githubusercontent.com/GYPpro/ACM_res/main/2_Notes/PBDS.typ
typst
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx // Display inline code in a small box // that retains the correct baseline. #set text(font:("Times New Roman","Source Han Serif SC")) #show raw.where(block: false): box.with( fill: luma(230), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), ...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/5-implementation/rendering.typ
typst
Im vorherigen Kapitel wurden bereits die Grundlagen der Architektur und Technologie der Anwendung beschrieben. Hierbei wurde auch die Grundsätzliche Render Funktion der Anwendung dargestellt. Im Folgenden wird genauer auf die Darstellung der Anwendung eingegangen. Um die Verschmelzung von realer und virtueller Welt zu...
https://github.com/electratype/electratype
https://raw.githubusercontent.com/electratype/electratype/master/README.md
markdown
# ElectraType ![](./static/favicon.svg) ![](./screenshots/capture1.png) ElectraType is an open-source web based Typst editor built using Svelte. This project is in very active development stage therefore **stability is not guaranteed**. This project uses WASM module fount at sister repo [https://github.com/electrat...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Sections/Section5.typ
typst
#import "../../../template.typ": * #set page( margin: (x: 1.8cm, y: 1.5cm), header: align(right)[ <NAME> ] ) = Social Epistemology - *Social Epistemology* examines how we form our beliefs and how social factors makeup these beliefs. == Internal Realism #definition[ *Internal realism* is a ...
https://github.com/HynDuf/typst-cv
https://raw.githubusercontent.com/HynDuf/typst-cv/master/template/modules_en/certificates.typ
typst
Apache License 2.0
// Imports #import "../../lib.typ": cvSection, cvHonor #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #let cvHonor = cvHonor.with(metadata: metadata) #cvSection("Achievements") #cvHonor( date: [2024], title: [ *Contestant at The 2024 ICPC Asia Pacific Championsh...
https://github.com/ouuan/cv
https://raw.githubusercontent.com/ouuan/cv/master/template.typ
typst
Apache License 2.0
/* * Copyright 2024 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 */ #let github(path) = { return link("https://github.com/"...
https://github.com/TGM-HIT/typst-diploma-thesis
https://raw.githubusercontent.com/TGM-HIT/typst-diploma-thesis/main/template/main.typ
typst
MIT License
#import "lib.typ": * #show: thesis( title: [Keine Panik!], subtitle: [Mit Typst durch die Diplomarbeit], authors: ( // ATTENTION: chapters/vorwort.typ:76 references this list of example authors. When changing // this list, you need to adjust/remove that line! (name: "<NAME>", class: [5xHIT], subtitle...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/040.typ
typst
#let date = datetime( year: 2022, month: 11, day: 28, ) #metadata(( title: "UE4模块系统", subtitle: [UnrealEngine], author: "dashuai009", description: "详细介绍ue中的模块系统", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf 参考资料 #link("https://www.youtube.com/watch?v=D...
https://github.com/onomou/typst-examit
https://raw.githubusercontent.com/onomou/typst-examit/main/utilities.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #let underline-thickness = 0.4pt #let underline-offset = 1.3pt #set underline(stroke: underline-thickness, offset: underline-offset) #let choicebox(choice) = box( [ // #sym.circle.big #box(width: 1em, height: 1em, stroke: 0.2mm) // #sym.square.stroked #h(0.3em) #bo...
https://github.com/antonWetzel/Masterarbeit
https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/eigenständigkeitserklärung.typ
typst
#set heading(numbering: none) = Eigenständigkeitserklärung Hiermit erkläre ich, dass ich diese Arbeit selbstständig durchgeführt und abgefasst habe. Quellen, Literatur und Hilfsmittel, die von mir genutzt wurden, sind als solche gekennzeichnet. #v(1em) #align(center, box( width: 80%, grid( columns: (auto, 1fr)...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue19.typ
typst
Other
#let nums = (1, none, 2) #nums.map(num => { if num == none { return 1 } return ((str(num)): 1) })
https://github.com/PhilChodrow/cv
https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/teaching.typ
typst
#import "../template.typ": * #cvSection("Teaching") #cvSubSection("Middlebury College") #pad(left: 0.5cm, table( columns: 2, stroke: none, align: (right, left), [Spring 2025], [CSCI 0451: _Machine Learning_ (planned)], [], [CSCI 0442: _Network Science_ (planned)], [Winter 2025], [CSCI 0702: _Senior The...
https://github.com/liuzhuan/reading-list
https://raw.githubusercontent.com/liuzhuan/reading-list/master/books/programming-with-types/index.md
markdown
# Programming with Types 中文名称:编程与类型系统 阅读本书时尝试使用 Typst 编写读书笔记,详见 [note.typ](note.typ)
https://github.com/Daillusorisch/HYSeminarAssignment
https://raw.githubusercontent.com/Daillusorisch/HYSeminarAssignment/main/README.md
markdown
# 课程作业 本仓库内的版本对个人信息做了模糊处理。 感谢[武汉大学typst模版项目](https://github.com/Hithereland/whu-typst-template)
https://github.com/luiswirth/bsc-thesis
https://raw.githubusercontent.com/luiswirth/bsc-thesis/main/src/toc.typ
typst
#show outline.entry.where( level: 1 ): it => { v(15pt, weak: true) strong(it.body) h(1fr) strong(it.page) } #show outline: set heading(outlined: true) #outline( title: "Table of Contents", indent: auto, fill: line(length: 100%, stroke: 0.1pt), )
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1980.typ
typst
Apache License 2.0
#let data = ( ("NEW TAI LUE LETTER HIGH QA", "Lo", 0), ("NEW TAI LUE LETTER LOW QA", "Lo", 0), ("NEW TAI LUE LETTER HIGH KA", "Lo", 0), ("NEW TAI LUE LETTER HIGH XA", "Lo", 0), ("NEW TAI LUE LETTER HIGH NGA", "Lo", 0), ("NEW TAI LUE LETTER LOW KA", "Lo", 0), ("NEW TAI LUE LETTER LOW XA", "Lo", 0), ("NEW...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/resume.typ
typst
MIT License
#import "../functions.typ": heading_center, images, italic #let finchapiter = text(fill:rgb("#1E045B"),[■]) = RÉSUMÉ. Les images médicales jouent un rôle important dans le diagnostic et la prise en charge des cancers. Les oncologues analysent des images pour déterminer les différentes caractéristiques de la tumeur, p...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/label.typ
typst
Apache License 2.0
#set heading(numbering: "1.") = <test> @test = <test-> @test- = <test:> @test: = <test.> @test. = <test.1> @test.1 = <test:1> @test:1 = <test::> @test:: = <typst::World> @typst::World = <test::.> @test::. e = <test: :.> @test: :. e A @netwok @arrgh. @fib:
https://github.com/knuesel/typst-minideck
https://raw.githubusercontent.com/knuesel/typst-minideck/main/themes/README.md
markdown
MIT License
# minideck themes A theme is implemented through a configuration function that has the following positional input: - `minideck.slide` function and must accept at least the following named input: - `page-size`: a dictionary with absolute lengths `width` and `height` and return as output a dictionary of theme fu...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/docs/reference/scripting.md
markdown
Apache License 2.0
--- description: Automate your document with Typst's scripting capabilities. --- # Scripting Typst embeds a powerful scripting language. You can automate your documents and create more sophisticated styles with code. Below is an overview over the scripting concepts. ## Expressions In Typst, markup and code are fused ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.1.0/src/util.typ
typst
Apache License 2.0
// assert the element is of the given typ #let assert-element(element, func) = { assert.eq(type(element), content, message: "element must be content, was " + repr(type(element))) assert.eq(element.func(), func, message: "element must be a " + repr(func)) } // split a selector into a pair of selector and post filte...
https://github.com/ngyngcphu/tick3d-docs
https://raw.githubusercontent.com/ngyngcphu/tick3d-docs/main/components/latex.typ
typst
Apache License 2.0
// https://github.com/typst/typst/discussions/1732 #let TeX = style(styles => { let e = measure(text(1em, "E"), styles) let T = "T" let E = text(1em, baseline: e.height / 4, "E") let X = "X" box(T + h(-0.1em) + E + h(-0.125em) + X) }) #let LaTeX = style(styles => { let l = measure(text(1em, "L"), styles) ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/control-flow-if.typ
typst
Apache License 2.0
#if 1 #if {} 1 #if {} else {} 1 #if 1 {} else {} 1 #if [] {} else {} #1 #if {} {} else {} {} #if () {} else {} # a #if () {} else {} 1 #if () {} else {} {} #if () {} else {} { #if () {} else {} 1 # if () {} else {} 1 #if 1 < 2 [ One. ] #if true == false [ {Bad}, but we {dont-care}! ] #if {true} [ One. ] ...
https://github.com/elteammate/typst-compiler
https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/compile-x86.typ
typst
#import "utils.typ": * #import "typesystem.typ": * #import "ir-def.typ": * #import "utils-asm-highlighting.typ": * #let registers = ( "rax", "rbx", "rcx", "rdx", "rsi", "rdi", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", ) #let fp_registers = ( "xmm0","xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "...
https://github.com/GuTaoZi/SUSTech-thesis-typst
https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/template/abstract_en.typ
typst
MIT License
#import "../utils/style.typ" : * #let abstract_en( show_title: true, anonymous: false, info: (:), fonts: (:), keywords: (:), body, ) = { fonts = FONTS + fonts if show_title { set align(center) for line in info.title { text(size: FSIZE.二号, font: FONTS.黑体,line + "\n") // text...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tgm-hit-thesis/0.1.0/template/lib.typ
typst
Apache License 2.0
#import "@preview/tgm-hit-thesis:0.1.0": * #import "assets.typ"
https://github.com/alimitedgroup/alimitedgroup.github.io
https://raw.githubusercontent.com/alimitedgroup/alimitedgroup.github.io/main/verbali/interni/2024-10-15.typ
typst
// VI 15-10-2024 #import "../../lib.typ": * #set text(lang: "it") #show: doc => verbale( data: [15-10-2024], regmodifiche: ( /*("1.0.0", "2024-10-15", "Sam<NAME>", "-", "Approvazione documento"),*/ ("0.1.0", "17-10", "<NAME>", "-", "Modifica e verifica documento"), ("0.0.2", "16-10", "<NAME>", "-", "Red...
https://github.com/arthurcadore/eng-telecom-workbook
https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/models/model.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 page( footer: "Engenharia de Telecomunicações - IFSC-SJ", ) #show: doc => report( title: "Nome do Relatór...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.1/util.typ
typst
Apache License 2.0
#import "matrix.typ" #import "vector.typ" // Multiplies the vector by the transform matrix #let apply-transform(transform, vec) = { matrix.mul-vec( transform, vector.as-vec(vec, init: (0, 0, 0, 1)) ).slice(0, 3) } // Reverts the transform of the given vector #let revert-transform(transform, vec) = { ap...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/120.%20discover.html.typ
typst
discover.html Persuade xor Discover September 2009When meeting people you don't know very well, the convention is to seem extra friendly. You smile and say "pleased to meet you," whether you are or not. There's nothing dishonest about this. Everyone knows that these little social lies aren't meant to be taken liter...
https://github.com/Doublonmousse/pandoc-typst-reproducer
https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/color_issues/mix.typ
typst
#block(fill: red.mix(blue))
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2006/WS-10.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [ZHANG Yining], [CHN], [3036], [2], [WANG Nan], [CHN], [2721], [3], [GUO Yue], [CHN], [2692], [4], [GUO Yan], [CHN...
https://github.com/jLevere/resume
https://raw.githubusercontent.com/jLevere/resume/main/resume.typ
typst
#import "template.typ": * #show: doc => conf(doc) == Education #chiline() #degree("The Ohio State University", "Bachelor of Arts in Computer and Information Science", "Expected May 2025") == Experience #chiline() #entry( "IBM X-Force Red", "Pentest Intern", "Austin, Texas", "May-August 2024", ( "Shad...
https://github.com/zurgl/typst-resume
https://raw.githubusercontent.com/zurgl/typst-resume/main/templates/commun.typ
typst
#import "../metadata.typ": * /* Utility Functions */ #let hBar() = [ #h(5pt) | #h(5pt) ] #let autoImport(file) = { include { "../resume/" + varLanguage + "/" + file + ".typ" } } #let languageSwitch(dict) = { for (k, v) in dict { if k == varLanguage { return v break } } panic("i18n: lang...
https://github.com/AnsgarLichter/hka-thesis-template
https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/common/settings.typ
typst
#let fontBody = "New Computer Modern" #let fontBodySize = 12pt; #let fontFiguresSubtitleSize = 0.85em; // At the moment only used on the title page #let fontHeading = "New Computer Modern Sans" #let fontHeadingSize = 16pt #let headingsNumberingStyle = "1.1." #let headingsSpacing = ( below: 0.85em, above: 1.75em ) ...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/strong/strong.typ
typst
*first*\ #strong[second]\ *third*\ #strong[forth]
https://github.com/EricWay1024/Homological-Algebra-Notes
https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/libs/template.typ
typst
#import "@preview/commute:0.2.0": node, arr, commutative-diagram #let color_style = "./color.typ" #let link_color = rgb(0, 0, 255) #if color_style == "./bw.typ" { link_color = rgb(0, 0, 0) } #let textwidth = 100%; #let img(path, width: textwidth) = { align(center, image("../imgs/cat/" + path + ".jpg", width: wid...
https://github.com/linhduongtuan/BKHN-Thesis_template_typst
https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/template/font.typ
typst
Apache License 2.0
// Setting font and font sizes that are similar as LaTeX #let arial = ("New Computer Modern Sans") #let font_size = ( Huge: 26pt, huge: 24pt, LARGE: 22pt, Large: 18pt, large: 16pt, normalsize: 15pt, small: 14pt, footnotesize: 12pt, scriptsize: 10.5pt, tiny: 9pt, )
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/002_Prince%20Anax%2C%20Part%201.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Prince Anax, Part 1", set_name: "Theros", story_date: datetime(day: 18, month: 09, year: 2013), author: "<NAME>", doc ) Anax ran around the edge of the gymnasium. The scalding summer sun was getting high in the sky. He was sweating and his ...
https://github.com/Xecades/markdown-it-typst
https://raw.githubusercontent.com/Xecades/markdown-it-typst/main/README.md
markdown
MIT License
# markdown-it-typst [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![JSDocs][jsdocs-src]][jsdocs-href] [![License][license-src]][license-href] A simple [`typst.ts`](https://github.com/Myriad-Dreamin/typst.ts) wrapper ...
https://github.com/grnin/Zusammenfassungen
https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/Bsys2_Zusammenfassung_FS24_NG_JT.typ
typst
// Compiled with Typst 0.11.1 #import "../template_zusammenf.typ": * #show: project.with( authors: ("<NAME>", "<NAME>"), fach: "BSys2", fach-long: "Betriebssysteme 2", semester: "FS24", tableofcontents: (enabled: true, columns: 2, depth: 2), language: "de", ) // Umfangreiche Zusammenfassung aller Folien /...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/silky-slides-insa/0.1.0/slides-template.typ
typst
Apache License 2.0
#import "@preview/touying:0.5.2": * // CONSTANTS: #let heading-fonts = ("League Spartan", "Arial", "Liberation Sans") #let normal-fonts = ("Source Serif", "Source Serif 4", "Georgia") #let insa-colors = ( primary: rgb("#e42618"), secondary: rgb("#f69f1d"), tertiary: rgb("#f5adaa"), ) // UTILITIES: #let _foot...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/ggt_primes_step1.typ
typst
#import "@preview/cetz:0.2.2": canvas, draw #show math.equation: set text(fill: gray) #show math.equation: box.with(inset: (x: 10pt)) #show table.cell.where(y: 0): strong #table( columns: 5, stroke: (x, y) => { let border = ( top: none, left: none, right: none, bottom: none ) if x == 3 {border.l...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-04.typ
typst
Other
// Ref: false #let (a,) = (1,) #test(a, 1)
https://github.com/Lelidle/Q12-cs-scripts
https://raw.githubusercontent.com/Lelidle/Q12-cs-scripts/main/synchronization.typ
typst
#import "template.typ": * #import "@preview/tablex:0.0.6": tablex, cellx, rowspanx, colspanx #import "@preview/codelst:2.0.0": sourcecode #show: setup #set enum(numbering: (..args) => strong(numbering("1.", ..args))) // in Aufzählungen Zahlen fett #set heading ( numbering: "1." ) #let hm = h(1mm) #v(1fr) #alig...
https://github.com/VinEdw/physics-equation-sheets
https://raw.githubusercontent.com/VinEdw/physics-equation-sheets/master/phys-2ag/phys-2ag-equations.typ
typst
#import "@preview/cetz:0.2.2" #set text(size: 12pt) #set par(leading: 1.00em) = PHYS 2AG Equations Having the equations is a start. The next step is understanding what the equations mean, when to use them, and how to use them. #let units(body) = { $space upright(body)$ } #show: rest => columns(2, rest) == SI Pr...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chic-hdr/0.1.0/chic-hdr.typ
typst
Apache License 2.0
/* * Chic-header - A package for Typst * <NAME> (c) 2023 * * chic-hdr.typ -- The package's main file containing * the public functions * * This file is under the MIT license. For more * information see LICENSE on the package's main folder. */ #import "internal.typ": * /* * chic-header * * Sets the header ...
https://github.com/sitandr/mdbook-typst-highlight
https://raw.githubusercontent.com/sitandr/mdbook-typst-highlight/main/example-book/src/chapter_1.md
markdown
MIT License
# Chapter 1 ```typ = Hello there! This is a test ``` # Render&Preamble ```typ-norender This will not be rendered. And that way? ``` ```typ-nopreamble This will be default doc ``` This is some `#inline` code. ``` This is code without any lang specified. ``` ````typ Typst and some Rust inside ```rust fn main() {...