repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/sa-concept-refactoring/doc
https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/title-page.typ
typst
#import "progress-bar.typ": printProgressBar #let title = "C++ Concept Refactorings" #let authors = ( "<NAME>", "<NAME>" ) #let advisor = "<NAME>" #let luschtig = false #set document( title: title, author: authors, ) #set align(center) #text(3em)[ *#title* ] #text(1.5em)[ #authors.join("\n") #line(...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/indenta/0.0.2/demo.typ
typst
Apache License 2.0
#import "lib.typ": fix-indent #set par(first-line-indent: 2em) #show: fix-indent() = Title 1 == Section 1 Indent // an empty line before this paragraph is needed Indent == Section 2 #figure(rect(),caption: lorem(2)) no indent #figure(rect(),caption: lorem(2)) $"Indent"$ + item + item Indent = Title 2 no ind...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/get-started.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: "Get Started") = Get Started In this chapter, you will learn how to #link(<installation>)[install] your typst.ts, #link(<import>)[import] it to your project, and run the #link(<run-compiler>)[compiler] o...
https://github.com/fenjalien/cirCeTZ
https://raw.githubusercontent.com/fenjalien/cirCeTZ/main/examples/half-adder.typ
typst
Apache License 2.0
#import "../../typst-canvas/canvas.typ": canvas #lorem(30) #figure( canvas(length: 1cm, debug: false, { import "../../typst-canvas/draw.typ": * import "../circuitypst.typ": node node("and gate", (0,0), name: "g1") content("g1.out", h(0.5em)+[Carry], anchor: "left") node("xor gate", (0,-1.5), n...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-10.typ
typst
Other
// Too few arguments. #{ let types(x, y) = "[" + type(x) + ", " + type(y) + "]" test(types(14%, 12pt), "[ratio, length]") // Error: 13-21 missing argument: y test(types("nope"), "[string, none]") }
https://github.com/Julian-Wassmann/chapter-utils
https://raw.githubusercontent.com/Julian-Wassmann/chapter-utils/main/0.1.0/util/page-chapter.typ
typst
#import "./chapter-numbering.typ": chapter-numbering #let get-page-chapter(headerLoc) = { let chapters = query(heading.where(level: 1), headerLoc) // try to find a chapter heading on current page let page-chapter = chapters .find(h => h.location().page() == headerLoc.page()) // if current page contains no ...
https://github.com/saecki/zig-grep
https://raw.githubusercontent.com/saecki/zig-grep/main/paper/slides.typ
typst
#import "slides-template.typ": * #let title = "Writing a grep like program in Zig" #let author = "<NAME>" #let primary-color = rgb("#f7a43d") #let primary-dimmed-color = rgb("#403c38") #let footer-a-color = rgb("#f7a43d") #let footer-b-color = rgb("#fcca79") #let dark-surface = rgb("#202020") #show: project.with( ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/styling/show.typ
typst
// Test show rules. --- show-selector-basic --- // Override lists. #show list: it => "(" + it.children.map(v => v.body).join(", ") + ")" - A - B - C - D - E --- show-selector-replace-and-show-set --- // Test full reset. #show heading: [B] #show heading: set text(size: 10pt, weight: 400) A #[= Heading] C --- sho...
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/fiction/README.md
markdown
Creative Commons Zero v1.0 Universal
# Typst Fiction Format Based on the fiction template published by the Typst team at <https://github.com/typst/templates/tree/main/fiction>. **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 ...
https://github.com/Narcha/typst-flagtastic
https://raw.githubusercontent.com/Narcha/typst-flagtastic/main/lib.typ
typst
MIT License
// Same arguments as the `image` element. #let raw-flag(country_code, ..args) = { let country_code_list = json("flagpack-core/countryCodeList.json") let country = country_code_list.find((codes)=>{ codes.values().any((code)=>{ code == country_code }) }) if country == none { panic("Invalid country code ...
https://github.com/arthurcadore/eng-telecom-workbook
https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/PSD/homework3/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 text(lang: "pt") #set page( footer: "Engenharia de Telecomunicações - IFSC-SJ", ) #show: doc => report( t...
https://github.com/janlauber/bachelor-thesis
https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/appendix/meeting_log.typ
typst
Creative Commons Zero v1.0 Universal
== Meetings Log === 2024-02-14 *Participants* - <NAME> - <NAME> *Topics* - Schedule and next steps - Deliverables: - Task distribution - Solution - Documentation - Presentation - Timeboxing for deliverables: Calculated back to 4-5 weeks - Incorporating feedback into documentation at the beginning of the meet...
https://github.com/wcshds/manual-of-chinese-phonology
https://raw.githubusercontent.com/wcshds/manual-of-chinese-phonology/main/README.md
markdown
# 漢語古音手冊電子檔錄入 潘悟雲先生的《漢語古音手冊》業已出版,可作爲學習研究上古音絕佳參考材料。然而書中註釋甚多,每每遇到「見某字註」類似的註釋,都要費一番工夫前後翻找,頗爲不便。因此我計劃使用 Typst 將這本書的字表重新錄入,同時增加註釋的超鏈接,如此在閱讀PDF檔時衹需要點一下註釋,即可跳轉到前後文的對應位置。 當前本項目遠未完工,但 PDF 文檔已可編譯預覽。參考“編譯 PDF”一節瞭解具體的編譯步驟。 ## 編譯 PDF 文檔的編譯需要使用 Typst,如尚未安裝,可參考[官方指引](https://github.com/typst/typst?tab=readme-ov-file#installation)進...
https://github.com/Vanille-N/kefir
https://raw.githubusercontent.com/Vanille-N/kefir/master/instructions/pamphlet.typ
typst
The Unlicense
#set page(margin: (x: 5mm, y: 5mm)) #set par(justify: true) #set text(size: 12.1pt) #let symbol(name) = { box(baseline: 20%)[#image("images/"+name+".svg", height: 13pt)] } #let step(title, ingredients, comments, ..params) = { let width = params.named().at("width", default: 100%) let split = params.named().at("s...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DIP/chapters/7图像压缩.typ
typst
#import "../template.typ": * #import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge #import fletcher.shapes: house, hexagon, ellipse #import "@preview/pinit:0.1.4": * #import "@preview/cetz:0.2.2" #import "/book.typ": book-page #show: book-page.with(title: "数字图像处理基础 | DIP") = 图像压缩 Image Compression == 图...
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/seminar/main.typ
typst
#import "@preview/roremu:0.1.0": roremu #import "lib/setting.typ": * #import "lib/bxbibwrite.typ": * #show: use-bib-item-ref.with(numbering: "1") #show: project.with( title: "タイトル", authors: ([ #table(stroke:0pt,columns:2,[#waritsuke(4,"氏名") ],[自分の名前を書く],[#waritsuke(4,"学籍番号") ],[学籍番号を書く]) ],), lang: "jp", ...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ARO/docs/2-Instructions/type-instruction.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Gestion de la mémoire ], lesson: "ARO", chapter: "2 - Instructions", definition: "TBD", col: 1, doc, ) = Types d'instruction Il existe 3 types d'instructions que nous allons voir. 1. instructions de calcul/traitement #sym...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compute/construct.typ
typst
Apache License 2.0
// Test creation and conversion functions. // Ref: false --- // Compare both ways. #test-repr(rgb(0%, 30.2%, 70.2%), rgb("004db3")) // Alpha channel. #test(rgb(255, 0, 0, 50%), rgb("ff000080")) // Test color modification methods. #test(rgb(25, 35, 45).lighten(10%), rgb(48, 57, 66)) #test(rgb(40, 30, 20).darken(10%),...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/4-results/mod.typ
typst
MIT License
#import "../../lib/mod.typ": * // #todo[solve these fricking frucking reference issues] // // This section presents the results for #study.H-1.full in @s.r.study-1 and #study.H-2.prefix: #study.H-2.full in @s.r.study-2. #let specs = ( cpu: [12th Gen Intel Core i7-12700H], // `lscpu` arch: [64-bit x86-64], // `un...
https://github.com/jeffa5/typst-cambridge
https://raw.githubusercontent.com/jeffa5/typst-cambridge/main/slides/manual.typ
typst
MIT License
#import "cambridge.typ": cambridge-theme, title-slide, slide #show: cambridge-theme #title-slide( title: [Cambridge `polylux` template], authors: "<NAME>", date: [2#super("nd") April 2024], ) #slide(title: "Installation")[ You should have the `liberation` font installed, or set the `TYPST_FONT_PATHS` environ...
https://github.com/jassielof/typst-templates
https://raw.githubusercontent.com/jassielof/typst-templates/main/apa7/template/sections/quotes.typ
typst
MIT License
= Quotation == Short Quotation (fewer than 40 words) Effective teams can be difficult to describe because #quote(attribution: [Ervin et al., 2018, p. 470])[ high performance along one domain does not translate to high performance along another ] == Long Quotation (40 words or more) === Block quotation with parenthet...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/hyphenate_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Hyphenate between shape runs. #set page(width: 80pt) #set text(hyphenate: true) It's a #emph[Tree]beard.
https://github.com/genericusername3/structogrammer
https://raw.githubusercontent.com/genericusername3/structogrammer/master/structogrammer/main.typ
typst
MIT License
#let structogram = { let stroke- = stroke; let localisation = ( "de": ( While: (condition) => [solange #condition], For: (body) => [für #body], ForIn: (element, container) => [für jedes #element aus #container], ForTo: (start-declaration, end) => [von #start-declaration bis #end], If: (conditio...
https://github.com/andriwild/typst-thesis-template
https://raw.githubusercontent.com/andriwild/typst-thesis-template/main/README.md
markdown
MIT License
Template based on https://github.com/ls1intum/thesis-template-typst
https://github.com/WinstonMDP/knowledge
https://raw.githubusercontent.com/WinstonMDP/knowledge/master/sequence_calculus.typ
typst
#import "cfg.typ": cfg #show: cfg = Исчисление секвенций Такого рода исчисления изучаются в теории доказательств. Они являются исчислениями генценовского типа. Секвенция - это $Gamma tack.r Delta$. Тут $tack.r$ не является знаком вывода из ИВ. Аксиомы - секцвенции, в левых и правых частях которых встречаются только ...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Pruebas/setup.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! #let project( body, ) = { // Set the document's basic properties. set page(numbering: "1", number-align: center) set text(font: "New Computer Modern", ...
https://github.com/DavinDiaz/reporte_psiconsciencia
https://raw.githubusercontent.com/DavinDiaz/reporte_psiconsciencia/main/README.md
markdown
# reporte_psiconsciencia Plantilla de reporte con typst para Psiconsciencia
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/invoice-maker/1.1.0/README.md
markdown
Apache License 2.0
# Invoice Maker Generate beautiful invoices from a simple data record. <img alt="Example invoice" src="thumbnail.png" height="768" > ## Features - **Simple, yet Powerful** - Write invoices as simple `.typ` or `.yaml` files - Support for cancellations, discounts, and taxes - **Multilingual** - Int...
https://github.com/hugo-b-r/insa-template-typst
https://raw.githubusercontent.com/hugo-b-r/insa-template-typst/master/examples/long-report.typ
typst
#import "../templates/long-report.typ":project #show: project.with( title: "A spoonful of title", authors: ("<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>",), ) #lorem(42) = Premier Lorem == Premier sous-Lorem === Premier sous sous lorem #lorem(42) === Second sous sous lorem #lorem(42) == Second sous lorem ==...
https://github.com/electratype/electratype
https://raw.githubusercontent.com/electratype/electratype/master/src/lib/assets/initial.typ
typst
#set par(justify: true) #set text( size: 10pt, hyphenate: true, lang: "en" ) #set page( margin: 1cm ) = Heading 1 Some text to try it out. == Heading 2
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.2.0/src/lib.typ
typst
Apache License 2.0
#import "/src/core.typ" #import "/src/util.typ" #let hydra-anchor() = [#metadata(()) <hydra-anchor>] #let hydra( sel: heading, prev-filter: (ctx, p, n) => true, next-filter: (ctx, p, n) => true, display: core.display, fallback-next: false, is-book: false, paper: "a4", page-size: auto, top-margin: au...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/cancel_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Inverted $a + cancel(x, inverted: #true) - cancel(x, inverted: #true) + 10 + cancel(y) - cancel(y)$ $ x + cancel("abcdefg", inverted: #true) $
https://github.com/voXrey/cours-informatique
https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/compilation.typ
typst
#import "@preview/codly:0.2.1": * #show: codly-init.with() #codly() #set text( font:"Roboto Serif" ) = Compilation <compilation> Rappel de sémantique : le chemin vers un fichier est : #quote(block: true)[ `~/parent_dir/filename.ext` ] On croisera ici les extensions `o`, `h`, `c`, `out`, `ml`, `mli`, `cmi`, et `cm...
https://github.com/typst-community/guidelines
https://raw.githubusercontent.com/typst-community/guidelines/main/src/util.typ
typst
Creative Commons Attribution Share Alike 4.0 International
// packages #import "@preview/mantys:0.1.3" // helper functions and variables #let do-dont(do, dont) = { mantys.sourcecode(do, title: "Do") mantys.sourcecode(dont, title: "Don't") } #let mode = ( mark: raw(lang: "typst", "[markup-mode]"), code: raw(lang: "typst", "{code-mode}"), math: raw(lang: "typst", "$m...
https://github.com/xdoardo/co-thesis
https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/main.typ
typst
#import "@local/thesis:1.0.0": * #import "./includes.typ": * #set cite(style: "numerical") #show bibliography: set text(13pt) #show: thesis.with( title: "Program Transformations in the Delay Monad", subtitle: "A Case Study for Coinduction via Copatterns and Sized Types", author: "<NAME>", figure: align(bottom...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/graph/bipartition.typ
typst
#import "../lib.typ" : * #show heading: heading_fct Soit $G = (S,A)$ un graphe puis $phi : A -> {mono(R), mono(B)}$. On note $r$ le nombre d'arêtes rouges ($mono(R)$). Un sous-graphe induit _triangle_ est un triplet ${x,y,z} subset S$ tel que $G[{x,y,z}] tilde.eq K_3$. On suppose que dans tout sous-graphe induit tri...
https://github.com/Sematre/typst-kit-thesis-template
https://raw.githubusercontent.com/Sematre/typst-kit-thesis-template/main/sections/04_content.typ
typst
= First Content Chapter The content chapters of your thesis should of course be renamed. How many chapters you need to write depends on your thesis and cannot be said in general. Check out the examples theses in the SDQ Wiki: #link("https://sdq.kastel.kit.edu/wiki/Abschlussarbeit/Studienarbeit") Of course, you can s...
https://github.com/jneug/typst-tools4typst
https://raw.githubusercontent.com/jneug/typst-tools4typst/main/tools4typst.typ
typst
MIT License
#import "is.typ" #import "def.typ" #import "assert.typ" #import "alias.typ" #import "get.typ" #import "math.typ" #let is-none( ..values ) = { return none in values.pos() } #let is-auto( ..values ) = { return auto in values.pos() }
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/show-closure-paren.typ
typst
Apache License 2.0
#show raw: it => it.text.ends-with(">") #show raw: it => ( it.text.ends-with(">") ) #show raw: it => if true { set text(1.2em) } else { it } #show raw: it => { it }
https://github.com/0x1B05/english
https://raw.githubusercontent.com/0x1B05/english/main/cnn10/content/20240308.typ
typst
#import "../template.typ": * #pagebreak() = 20240308 == International Women's Day What's up lovely people, happy Friday! And happy International Women's day, we will start this #underline[March 8th] by putting this #strike[sparklight] #underline[spotlight] on two #strike[different making] #underline[difference-makin...
https://github.com/AsiSkarp/grotesk-cv
https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/src/template/content/references.typ
typst
The Unlicense
#let meta = toml("../info.toml") #import meta.import.path: reference-entry #import "@preview/fontawesome:0.4.0": * #let icon = meta.section.icon.references #let language = meta.personal.language #let include-icon = meta.personal.include_icons = #if include-icon [#fa-icon(icon) #h(5pt)] #if language == "en" [Referenc...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/grid-1_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #rect(width: 100%, height: 1em) - #rect(width: 100%, height: 1em) - #rect(width: 100%, height: 1em)
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/layout/aligned%20environment/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ": * #align(center + bottom, quantum-circuit(1, $X$, 1))
https://github.com/antran22/typst-cv-builder
https://raw.githubusercontent.com/antran22/typst-cv-builder/main/lib/resume/projects.typ
typst
MIT License
#import "@preview/cmarker:0.1.0" #import "./components.typ": * #import "../util.typ": * #let ResumeProjectsSection(projects) = { stick_together( threshold: 60pt, [= Projects], grid( columns: (1fr), rows: (auto), row-gutter: 24pt, ..projects.map(project => { ResumeEntr...
https://github.com/asouris/Apuntes-CC3501
https://raw.githubusercontent.com/asouris/Apuntes-CC3501/main/template/conf.typ
typst
#let departamentos = ( adh: ( nombre: "Área de Humanidades", logo: "adh.svg" ), das: ( nombre: "Departamento de Astronomía", logo: "das.svg" ), dcc: ( nombre: "Departamento de Ciencias de la Computación", logo: "dcc.svg" ), dfi: ( nombre: "Departamento de Física", logo: "df...
https://github.com/lctzz540/typst-journal-template
https://raw.githubusercontent.com/lctzz540/typst-journal-template/main/template.typ
typst
// Variables #let IEEE_COLOR = ( Title: rgb("#004495"), Section: rgb("#004496"), BoldText: rgb("#004495"), ) #let FONT_WEIGHT = ( title: 24pt, header: 8pt, author: 11pt, body: 10pt, h1: 12pt, ack: 10pt, ref: 12pt, ) #let IEEEmembership(it) = { text(style: "italic", it) } // Macros // Parse `cont...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Codici/Codifica.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * *Codificare* un messaggio consiste semplicemente nell'associare ad un vettore $m in Z_(p)^(k)$ (il messaggio in chiaro) una parola in $C subset.eq ZZ_(p)^(k)$ (il messaggio cifrato). La codifica di $m$ rispetto ad una matrice generatrice $G$ é data da $m G$, che come giá visto appartien...
https://github.com/kicre/note
https://raw.githubusercontent.com/kicre/note/main/tem/beamer.typ
typst
#let uestc_blue = rgb(0,55,155) #let uestc_ginkgo = rgb(217, 183, 102) #let hbu_logo_path = "./pic/hbulogo-ac.svg" #let ginkgo_path = "./pic/ginkgo.png" #let mainbuilding_path = "./pic/mainbuilding.png" #let page_break_flag = state("page_break_flag", true) #let beamer_start(title:none, subtitle:none, author:none, dat...
https://github.com/morel-olivier/template-typst
https://raw.githubusercontent.com/morel-olivier/template-typst/master/cheatsheet/conf.typ
typst
#let conf( fontSize: 11pt, title: "Titre", numColumnns: 4, color: true, doc ) = { set document( title: title, ) set text( font: "FreeSans", size: fontSize, lang: "fr", region: "CH", ) set page( paper: "a4", flipped: true, margin: 0.75cm, ) set par( justify: true, ) set heading( n...
https://github.com/Dav1com/resume
https://raw.githubusercontent.com/Dav1com/resume/main/modules/projects.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Projects & Associations") #cvEntry( title: [Treasurer & IT Manager], society: [Student Council of the Department of Computer Science (CaDCC)], date: [2023], location: [Santiago, Chile], description: list( [Managing the organization founds and public ...
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/01-introduction.typ
typst
#import "/utils/todo.typ": TODO #import "/utils/isabelle.typ": * = Introduction In 1911, #cite(<korselt1911>, form: "prose") showed that <NAME>'s proof of the Cantor-Bernstein-Schröder theorem, initially published in 1898 @schroder1898, contained an error. While the theorem was correct, and other proofs of this theor...
https://github.com/hemmrich/CV_typst
https://raw.githubusercontent.com/hemmrich/CV_typst/master/modules/publications.typ
typst
// Imports #import "../template/template.typ": cvSection, cvPublication #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #let create_pub_pres_entries(contents, presentation:false) = { for (name, details) in contents { details.authors.join(", ") let d = detai...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/aero-check/0.1.0/template/main.typ
typst
Apache License 2.0
#import "@preview/aero-check:0.1.0": * #show: checklist.with( title: "Title", // disclaimer: "", // style: 1, ) #topic("Topic")[ #section("Section")[ #step("Step", "Check") ] ]
https://github.com/daxartio/cv
https://raw.githubusercontent.com/daxartio/cv/main/cv.typ
typst
MIT License
#let cv( file, ) = [ #let content = yaml(file) #set document( title: (content.name + "'s CV"), author: content.name, ) #set page(numbering: "1",) #show heading: set text(font: "Linux Biolinum") #[ #set align(center) = CV ] == #content.name #gr...
https://github.com/johanvx/typst-undergradmath
https://raw.githubusercontent.com/johanvx/typst-undergradmath/main/README.md
markdown
Creative Commons Attribution Share Alike 4.0 International
# typst-undergradmath [![CC BY-SA 4.0](https://badgers.space/github/license/johanvx/typst-undergradmath)][cc-by-sa] [![Latest release](https://badgers.space/github/release/johanvx/typst-undergradmath)][latest-release] ![Checks status](https://badgers.space/github/checks/johanvx/typst-undergradmath) A [Typst] port of ...
https://github.com/OpenCorvallis/osfc-checklists
https://raw.githubusercontent.com/OpenCorvallis/osfc-checklists/main/README.md
markdown
Apache License 2.0
# OSFC Checklists Checklists created by the [Oregon State Flying Club](https://oregonstateflyingclub.org/) for use by its members. ## How to build These checklists are written in [Typst](https://typst.app), so you will need the Typst compiler to build them. If your operating system does not package Typst (most don't...
https://github.com/desid-ms/desid_report
https://raw.githubusercontent.com/desid-ms/desid_report/main/_extensions/desid_report/notes.typ
typst
MIT License
$if(notes)$ #v(1em) #block[ #horizontalrule #set text(size: .88em) #v(3pt) // otherwise first note marker is swallowed, bug? $notes$ ] $endif$
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scrutinize/0.1.0/gallery/gk-ek-austria.typ
typst
Apache License 2.0
#import "@preview/scrutinize:0.1.0": grading, question, questions // #import "@local/scrutinize:0.1.0": grading, question, questions // #import "../src/lib.typ" as scrutinize: grading, question, questions #import question: q // make the PDF reproducible to ease version control #set document(date: none) #let title = "...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-20.typ
typst
Other
// An additional trailing comma. // Error: 31-32 unexpected comma #import "module.typ": a, b, c,,
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Physique_Serie_1.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/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/dynamic/simple.md
markdown
--- sidebar_position: 1 --- # Simple Animations Touying provides two markers for simple animation effects: `#pause` and `#meanwhile`. ## pause The purpose of `#pause` is straightforward – it separates the subsequent content into the next subslide. You can use multiple `#pause` to create multiple subslides. Here's a...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/129.%20hiresfund.html.typ
typst
hiresfund.html High Resolution Fundraising Want to start a startup? Get funded by Y Combinator. September 2010The reason startups have been using more convertible notes in angel rounds is that they make deals close faster. By making it easier for startups to give different prices to different investors, they...
https://github.com/PhotonQuantum/baka-notes
https://raw.githubusercontent.com/PhotonQuantum/baka-notes/master/PL-and-universal-algebra.typ
typst
#set text(font: ("Palatino", "Songti SC"), lang: "zh", region: "cn") #set enum(numbering: "1.a.i.") #show strong: underline #align( center, [ #text(17pt)[笨蛋读书笔记] \ #text(12pt)[代数与 PL 与 PL 之恋#footnote[#link("https://guest0x0.xyz/PL-and-universal-algebra/PL-and-universal-algebra.pdf")]]], ) = 什么是代数? == 代数结构...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/board-n-pieces/0.1.0/lib.typ
typst
Apache License 2.0
/// Chess pieces symbols. #import "chess-sym.typ" /// The starting position of a standard chess game. #let starting-position = ( type: "boardnpieces:position", board: ( ("R", "N", "B", "Q", "K", "B", "N", "R"), ("P", ) * 8, (none, ) * 8, (none, ) * 8, (none, ) * 8, (none, ) * 8, ("p", ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/cite-locate.typ
typst
Apache License 2.0
// Test citation in other introspection. --- #set page(width: 180pt) #set heading(numbering: "1") #outline( title: [List of Figures], target: figure.where(kind: image), ) #pagebreak() = Introduction <intro> #figure( rect[-- PIRATE --], caption: [A pirate @arrgh in @intro], ) #locate(loc => [Citation @distr...
https://github.com/luiswirth/bsc-thesis
https://raw.githubusercontent.com/luiswirth/bsc-thesis/main/src/theory.typ
typst
#import "math.typ": * #import "layout.typ": * = Theory // Notations needed: // Space of all alternating l-multilinear forms on some vector space. // Tangent space at point x at Omega. // Space of all Differential l-forms on Omega. // Space of all integrable l-forms on Omega. // Space of all C^k l-forms on Omega. #le...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/examples/pixel-art-working-1.typ
typst
#import "@preview/cetz:0.2.2" #import cetz.draw #import cetz.plot #let off(p, n: 0) = { (p.at(0) + n, p.at(1) + n) } #let cubio() = { import cetz.draw: * on-yz({ rect((0, 0), (1, 1)) }) on-xz({ rect((0, 0), (1, 1)) }) on-xy({ rect((0, 0), (1, 1)) }) on-xy({ line((1, 1), (1, 1)) }) } #let ratioat(p) = { ...
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/number-of-islands/description/", level: 2, )<岛屿数量> #note( title: [ 岛屿数量 ], description: [ 给你一个由 '1'(陆地)和 '0'(水)组成的的二维网格,请你计算网格中岛屿的数量。 岛屿总是被水包围,并且每座岛屿只能由水平方向和/或竖直方向上相邻的陆地连接形成。 此外,你可以假设该网格的四条边均被水包围。 ], ex...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/lib/pin.typ
typst
Apache License 2.0
#let _pin-name(name) = "cetz-pin-" + name /// Place a pin aka. cetz anchor in the document #let pin(name) = [ #metadata("cetz-pin-tracker") #label(_pin-name(name)) ] /// Returns all pins #let get-pin() = context { let result = () for item in locate(metadata) { if item.value.starts-with("cetz-pin-") { le...
https://github.com/cu1ch3n/menu
https://raw.githubusercontent.com/cu1ch3n/menu/main/main.typ
typst
#import "@preview/caidan:0.1.0": * #show: caidan.with( title: [#en_text(22pt, fill: nord0)[Chen's Private Cuisine]], cover_image: image("cover.png"), update_date: datetime.today(), ) #cuisine[鲁菜][Shandong Cuisine] - #item[葱烧海参][Braised Sea Cucumber w/ Scallions] - #item[葱爆牛肉][Scallion Beef Stir-Fry] - #item[醋溜白...
https://github.com/bkorecic/enunciado-facil-fcfm
https://raw.githubusercontent.com/bkorecic/enunciado-facil-fcfm/main/README.md
markdown
MIT License
# enunciado-facil-fcfm Template de Typst para documentos de la FCFM (auxiliares, controles, pautas) ## Ejemplo de uso ### En [typst.app](https://typst.app) Si utilizas la aplicación web oficial, puedes presionar "Start from template" y buscar "enunciado-facil-fcfm" para crear un proyecto ya inicializado con el temp...
https://github.com/darioglasl/Arbeiten-Vorlage-Typst
https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/05_Qualitätssicherung/00_index.typ
typst
Die Qualitätssicherung ist ein wesentlicher Bestandteil der Softwareentwicklung. Ihr Ziel ist es, sicherzustellen, dass die entwickelte Software den festgelegten Anforderungen entspricht und zuverlässig, effizient und fehlerfrei funktioniert. Dieses Kapitel beleuchtet die Massnahmen zur Qualitätssicherung, die im Rah...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/CHANGELOG/CHANGELOG-0.2.md
markdown
Apache License 2.0
# v0.2.3 Note: There will be large changes in the next version because Typst will introduce experimental package management in `v0.6.0`, so this version is the last version of the 0.2.x series. ## Changelog since v0.2.3 **Full Changelog**: https://github.com/Myriad-Dreamin/typst.ts/compare/v0.2.2...v0.2.3 ### Secur...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/template.typ
typst
MIT License
// This function gets your whole document as its `body` and formats // it as an article in the style of the IEEE. #import "lib/mod.typ": * #let appendix = state("appendix", false) #let heading-supplement = state("heading-supplement", "Section") #let start-appendix( show-title: true, show-toc: true, ) = { counte...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/sub_script/sub_script_inserted.typ
typst
First#sub[first sub text] Normal text#sub[inserted sub text] Second#sub[second sub text]
https://github.com/alerque/polytype
https://raw.githubusercontent.com/alerque/polytype/master/data/prime-symbol/typst.typ
typst
#set page( paper: "a7", margin: 4mm, ) #set text( font: "Libertinus Serif", size: 12pt, ) #show par: set block(spacing: 1em) #show math.equation: set block(spacing: .8em) #show math.equation: set par(leading: .4em) Math mode manners: #[ #show math.equation: set text(font: "STIX Two Math", size: 16pt) ...
https://github.com/touying-typ/touying
https://raw.githubusercontent.com/touying-typ/touying/main/themes/aqua.typ
typst
MIT License
#import "../src/exports.typ": * /// Default slide function for the presentation. /// /// - `config` is the configuration of the slide. You can use `config-xxx` to set the configuration of the slide. For more several configurations, you can use `utils.merge-dicts` to merge them. /// /// - `repeat` is the number of subs...
https://github.com/Karolinskis/KTU-typst
https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/mainPages/SecondPage.typ
typst
#import "/variables.typ" : * #page(header: none)[ #set align(center) #image("/images/ktu-logo.png", width: 2cm) #set text(size:12pt) *Kauno technologijos universitetas*\ #ProjectFaculty #v(4cm) #set text(size: 18pt, weight: "bold") #ProjectName #set text(size:14pt, weight: "re...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/codelst/0.0.3/README.md
markdown
Apache License 2.0
# codelst (v0.0.3) **codelst** is a [Typst](https://github.com/typst/typst) package for rendering sourcecode with line numbers and some other additions. ## Usage For Typst 0.6.0 or later import the package from the typst preview repository: ```js #import "@preview/codelst:0.0.3": sourcecode ``` For Typst before 0....
https://github.com/daniel-eder/typst-template-jku
https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/pages/toc.typ
typst
// SPDX-FileCopyrightText: 2023 <NAME> // // SPDX-License-Identifier: Apache-2.0 #let toc( ) = { set page(numbering: "i") //style toc entries show outline.entry.where(level: 1): it => { v(16pt, weak: true) strong(it) } show outline.entry.where(level: 2): it => { it } heading("Contents", nu...
https://github.com/tsukinoko-kun/ki-lernen-forschung
https://raw.githubusercontent.com/tsukinoko-kun/ki-lernen-forschung/main/src/main.typ
typst
#import "@preview/charged-ieee:0.1.0": ieee #show: ieee.with( title: [Wie wirkt sich die Verwendung von KI auf den Lernerfolg von Software-Engineering-Studenten aus?], // abstract: [ // ], authors: ( ( name: "<NAME>", department: [Software Engineering], organization: [Hochschule Heilbronn...
https://github.com/kacper-uminski/math-notes
https://raw.githubusercontent.com/kacper-uminski/math-notes/main/tfya86/formulas.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/physica:0.9.3": * #show math.phi: math.phi.alt #set page(flipped: true) #set text(size: 9pt, font: "New Computer Modern") #set grid(gutter: 1em) #grid(columns: (1fr, 1fr, 1fr))[ *Elektromagnetism* #grid(columns: (1fr, 1fr), [Coulombs lag], $F_"el" = 1/(4pi epsilon_0)$, [Elektrisk fältstyrka]...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/acrostiche/0.2.0/README.md
markdown
Apache License 2.0
# Acrostiche (0.2.0) Manages acronyms so you don't have to. ## Usage The main goal of Acrostiche is to keep track of which acronym to define. ### Define acronyms and proxy functions First, define the acronyms in a dictionary, with the keys being the acronyms and the values being arrays of their definitions. If ther...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/include-01.typ
typst
Other
#{ // Error: 19-38 file not found (searched at typ/compiler/modules/chap3.typ) let x = include "modules/chap3.typ" }
https://github.com/linhduongtuan/BKHN-Thesis_template_typst
https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/contents/abstract.typ
typst
Apache License 2.0
#let abstract_vn = [ Bài báo này thiết kế một mẫu thiết kế tốt nghiệp của Đại học Bách Khoa Hà Nội dựa trên mẫu Typst để giúp sinh viên hoàn thành việc viết và sắp chữ thiết kế tốt nghiệp thuận tiện hơn. Mẫu áp dụng thiết kế bố cục hiện đại và giao diện người dùng dễ sử dụng, có thể giúp sinh viên nhanh chóng hoàn thà...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/memory.typ
typst
== Memory The memory functionality is used to directly connect and map an external memory to the generated bus address space. A memory can also be connected to the bus using the proc or stream functionality. However, using the memory functionality usually leads to greater throughput, but increases the size of the gene...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/205.%20hwh.html.typ
typst
hwh.html How to Work Hard June 2021It might not seem there's much to learn about how to work hard. Anyone who's been to school knows what it entails, even if they chose not to do it. There are 12 year olds who work amazingly hard. And yet when I ask if I know more about working hard now than when I was in school, the ...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/main.typ
typst
MIT License
#import "lib/mod.typ": * #import "template.typ": * #set raw(theme: "catppuccin.tmTheme") #show figure.where(kind: raw): set block(breakable: true) // #show raw : it => text(font: "JetBrainsMono NF", catppuccin.latte.text, it) #show raw: it => { text(fill: theme.text, it) } // #show figure.where(kind: raw): set tex...
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/tmlr/main.typ
typst
MIT License
#import "/tmlr.typ": tmlr #import "/logo.typ": LaTeX, LaTeX as LaTeX2e #let affls = ( nyu: ( department: "Department of Computer Science", institution: "University of New York"), deepmind: ( institution: "DeepMind"), mila: ( institution: "Mila, Université de Montréal"), google-research: ( i...
https://github.com/mdgrs/resume-typst
https://raw.githubusercontent.com/mdgrs/resume-typst/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Doctorate in Information Theory], society: [Ecole Polytechnique Federale de Lausanne EPFL], date: [2010 - 2015], location: [Switzerland], logo: "../src/logos/epfl.svg", description: list( [Thesis: Reducin...
https://github.com/Ryoga-itf/numerical-analysis
https://raw.githubusercontent.com/Ryoga-itf/numerical-analysis/main/report3/report.typ
typst
#import "../template.typ": * #import "@preview/codelst:2.0.1": sourcecode, sourcefile #show: project.with( week: 3, authors: ( ( name: sys.inputs.STUDENT_NAME, id: sys.inputs.STUDENT_ID, affiliation: "情報科学類2年" ), ), date: "2024 年 7 月 2 日", ) // 行列をいい感じにする #set math.mat(gap: 1em, deli...
https://github.com/toihr/array.typ
https://raw.githubusercontent.com/toihr/array.typ/main/lib.typ
typst
MIT License
#let transpose(arr) = { let first_dim = arr.len() let second_dim = arr.at(0).len() let new_array = () for new_first in range(0,second_dim){ let inner_array = () for new_second in range(0,first_dim){ inner_array.push(arr.at(new_second).at(new_first)) } new_array.push(inner_array) } r...
https://github.com/dark-flames/resume
https://raw.githubusercontent.com/dark-flames/resume/main/libs/version.typ
typst
MIT License
#import "@preview/shiroa:0.1.0": is-web-target, is-pdf-target #let get-version(env) = { env.at("x-version", default: "full") } #let multiVersion(env, ..v) = { v.named().at(get-version(env,)) } #let is-full(env) = { get-version(env) == "full" } #let is-cv(env) = { get-version(env) == "cv" } #let is-resume(e...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion/paren_string.typ
typst
Apache License 2.0
#let font-any = /* range after 3..4 */ ("");
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tidy/0.1.0/README.md
markdown
Apache License 2.0
# Tidy *Keep it tidy.* **tidy** is a package that generates documentation directly in [Typst](https://typst.app/) for your Typst modules. It parses docstring comments similar to javadoc and co. and can be used to easily build a beautiful reference section for the parsed module. Within the docstring you may use an...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/args-underscore_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #test((1, 2, 3).map(_ => {}).len(), 3)
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/07-proposed-solution/louvain-1.typ
typst
#import "@preview/cetz:0.2.2": canvas, draw #v(2em) #let vertex = (name, x, y, stroke: black) => { draw.circle((x, y), radius: .35, stroke: stroke, name: name) draw.content((x, y), eval(name, mode: "math")) } #let edge = (start, end, name, content: false, anchor: "north", padding: .5) => { let (a, b) = (start,...
https://github.com/Amirhosein-GPR/university_notes
https://raw.githubusercontent.com/Amirhosein-GPR/university_notes/main/machine_learning.typ
typst
#import "assets/typst/templates/note.typ": note #import "assets/typst/tools/tool.typ" #let red_color = rgb(200, 0, 0, 255) #let orange_color = rgb(220, 100, 0, 255) #let yellow_color = rgb(130, 130, 0, 255) #let green_color = rgb(0, 120, 0, 255) #let blue_color = rgb(0, 100, 200, 255) #let dark_blue_color = rgb(0, 0, ...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/appendix.typ
typst
#import "config.typ" #import "utils/core.typ": * #set heading(numbering: (..numbers) => { let numbers = numbers.pos() if numbers.len() < 2 { none } else if numbers.len() == 2 { numbering("A.", numbers.at(1)) } }) = Приложение == TODO-шки и упражнения Все это, по хорошему, надо дописа...
https://github.com/fyuniv/simplebook
https://raw.githubusercontent.com/fyuniv/simplebook/main/example/example.typ
typst
MIT License
#import "lib.typ": * #show: simplebook.with( title: "A Simple Book Template", author: "Author", affiliation: text(fill: orange)[University], date: none, // year: "Year", version: "0.1.0", theme_colors: ( primary_color: blue, secondary_color: green, ), rfoot: "right footer", lfoot:...