repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/label-03.typ
typst
Other
// Test abusing dynamic labels for styling. #show <red>: set text(red) #show <blue>: set text(blue) *A* *B* <red> *C* #label("bl" + "ue") *D*
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/algo/aprox.typ
typst
#import "../lib.typ": * #show heading: heading_fct #import "@preview/diagraph:0.2.1": * Les graphes $G=(V,E)$ sont ici tous non orientés, on a donc $E$ qui est un ensemble de couples respectant $forall (x,y) in E, (y,x) in E$. Pour tout $G=(V,E)$ un graphe, on note $Delta(G) = max{ deg s : s in V }$. Soit $G=(V,E)$ u...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/document_color/rgb.typ
typst
Apache License 2.0
#let t = rgb("#ccc"); #let t = rgb("#badbadbad"); #let t = rgb("#caffee"); #let t = rgb("#deadbeef");
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/direction/mod.typ
typst
Apache License 2.0
#import "/docs/cookery/book.typ": *
https://github.com/isaacew/aiaa-typst
https://raw.githubusercontent.com/isaacew/aiaa-typst/master/README.md
markdown
# AIAA-Typst This code repository contains a template and sample for authors interested in publishing conference papers for the American Institute of Aeronautics and Astronautics. It is based off of the template available from the AIAA webpage. [AIAA Technical Presenter Resources Webpage](https://www.aiaa.org/events-l...
https://github.com/remggo/cookbook-typst
https://raw.githubusercontent.com/remggo/cookbook-typst/main/cookbook_docs.typ
typst
MIT License
#import "@preview/tidy:0.2.0" #let docs = tidy.parse-module(read("cookbook.typ")) #tidy.show-module(docs, style: tidy.styles.default)
https://github.com/RolfBremer/in-dexter
https://raw.githubusercontent.com/RolfBremer/in-dexter/main/tests/MultiEntryTest.typ
typst
Apache License 2.0
#import "../in-dexter.typ": * #set page("a6", flipped: true, numbering: "1") _A Test with multiple identical entries on the same page. It tests, if the entries are combined._ #index[DoubleEntry] #index[DoubleEntry] #index[DoubleEntry] #pagebreak() #index-main[DoubleEntry] == Index #columns(2)[ #make-index( ...
https://github.com/v411e/optimal-ovgu-thesis
https://raw.githubusercontent.com/v411e/optimal-ovgu-thesis/main/template/thesis.typ
typst
MIT License
#import "metadata.typ": author, lang, document-type, supervisor, second-supervisor, advisors, city, date, is-doublesided, title, international-title, organisation, organisation-logo, header-logo #import "@local/optimal-ovgu-thesis:0.1.0": optimal-ovgu-thesis, oot-titlepage, oot-disclaimer, oot-acknowledgement, oot-abst...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/terms.typ
typst
// Test term list. --- terms-constructor --- // Test with constructor. #terms( ([One], [First]), ([Two], [Second]), ) --- terms-built-in-loop --- // Test joining. #for word in lorem(4).split().map(s => s.trim(".")) [ / #word: Latin stuff. ] --- terms-multiline --- // Test multiline. #set text(8pt) / Fruit: A ...
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/calcolabilità/05_potenza_computazionale.typ
typst
#import "../alias.typ": * = Potenza computazionale di un sistema di calcolo == Validità dell'inclusione $F(cal(C)) subset.eq dati_bot^dati$ Ora che abbiamo una definizione più robusta di cardinalità, essendo basata su strutture matematiche, possiamo studiare la natura dell'inclusione $ F(cal(C)) subset.eq dati_bot^...
https://github.com/PhotonQuantum/UofTNotes
https://raw.githubusercontent.com/PhotonQuantum/UofTNotes/master/src/CSC2126H/LEC0101_CourseStructure.typ
typst
#import "/sty.typ": * #show: template.with( title: [Types & Effects: Course Structure], short_title: [CSC2126H LEC0101], description: [ Notes based on lectures for CSC 2126H\ (Topics in PL: Types and Effects)\ at the University of Toronto by Professor <NAME>, Fall 2024 ], date: datetime(year: 2024, month...
https://github.com/pku-typst/ichigo
https://raw.githubusercontent.com/pku-typst/ichigo/main/src/themes.typ
typst
MIT License
#let THEMES = ( "simple", "sketch", ) /// Get the theme main function by name /// /// - name (str): the name of the theme /// -> theme #let get-theme(name) = { import "themes/" + name + "/lib.typ": theme return theme }
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/meeting_minutes/week_08.typ
typst
= Project Meeting 7.11.2023 08:15 - 09:00 (MS Teams) == Participants - Prof. Dr. <NAME> - <NAME> - <NAME> == Agenda - Brief discussion of frontend frameworks - try out miso and decide between threepenny and miso - Discussion of first draft of a simple unification algorithm - looks good for a first draft, needs to ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/linguify/0.1.0/README.md
markdown
Apache License 2.0
# [Typst-linguify](https://github.com/jomaway/typst-linguify) Load strings for different languages easily. This can be useful if you create a package or template for multilingual usage. See the [gentle-clues package](https://github.com/jomaway/typst-gentle-clues) as an example. ## Usage ```typst #import "@local/ling...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/t4t/0.1.0/get.typ
typst
Apache License 2.0
// Dictionaries #import "is.typ": all-of-type #let dict( ..dicts ) = { let d = (:) for i in range(1, dicts.pos().len(), step:2) { d.insert( str(dicts.pos().at(i - 1)), dicts.pos().at(i) ) } if calc.odd(dicts.pos().len()) { d.insert(dicts.pos().last(), none) } for (k, v) in dicts.na...
https://github.com/SergeyGorchakov/russian-phd-thesis-template-typst
https://raw.githubusercontent.com/SergeyGorchakov/russian-phd-thesis-template-typst/main/parts/conclusion.typ
typst
MIT License
= Заключение // ГОСТ Р 7.0.11 - 2011: // 5.3.3 В заключении диссертации излагают итоги выполненного исследования, рекомендации, перспективы дальнейшей разработки темы // 9.2.3 В заключении автореферата излагают итоги данного исследования, рекомендации и перспективы дальнейшей разработки темы Основные результаты раб...
https://github.com/sses7757/sustech-graduated-thesis
https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/utils/multi-line-equate.typ
typst
Apache License 2.0
// NOTICE about license // The majority of this file is originated from "EpicEricEE/typst-plugins/equate" with MIT license, with my modification to fit current demands. // The `show-figure` function is originated from "RubixDev/typst-i-figured" with MIT license, with my modification to work with the rest of the functio...
https://github.com/YunkaiZhang233/computer-science-notes
https://raw.githubusercontent.com/YunkaiZhang233/computer-science-notes/main/README.md
markdown
MIT License
# A collection of my personal notes for computer science studies Contents here will include courses taught at Imperial that I find interesting AND courses from all walks of computer science. Will be mainly written in Typst and thanks to the template provided by [this repository](https://github.com/jskherman/jsk-lecno...
https://github.com/topdeoo/NENU-Thesis-Typst
https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/template/thesis.typ
typst
#import "../lib.typ": thesis, kouhu #import "@preview/subpar:0.1.1": grid as subfigure #let (doc, cover, declare, abstract-cn, abstract-en, mainmatter, toc, nenu-bibliography, acknowledgement) = thesis( thesis-type: "bachelor", degree: "academic", two-side: false, bibliography: bibliography.with("ref.bib"), ...
https://github.com/as505/HelldiversTTRPG
https://raw.githubusercontent.com/as505/HelldiversTTRPG/main/main.typ
typst
#import "template.typ": * #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx #show: template.with( title: [Helldivers TTRPG], header: [Helldivers TTRPG], ) = #text(yellow)[Introduction] <sec:introduction> Total Incoming Trainees: 48,736 Avg. Age (Years): 18.7 Avg. Combat Readiness: 27.1 % Avg. Patriot...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/042.%20bronze.html.typ
typst
bronze.html Why Smart People Have Bad Ideas Want to start a startup? Get funded by Y Combinator. April 2005This summer, as an experiment, some friends and I are giving seed funding to a bunch of new startups. It's an experiment because we're prepared to fund younger founders than most investors would. That's...
https://github.com/f14-bertolotti/bedlam
https://raw.githubusercontent.com/f14-bertolotti/bedlam/main/src/abstract-algebra/main.typ
typst
#import "../theme.typ" : comment, definition = Abstract Algebra #let monoid = ( tag : link(<monoid>)[monoid] ) #definition("monoid")[ $(X, dot.c:X times X --> X)$ is a *monoid* iff. 1. $forall a,b,c in X: a dot.c (b dot.c c) = (a dot.c) b dot.c c$. #comment[Associativity]. 2. $exists e in X: forall a ...
https://github.com/Robotechnic/alchemist
https://raw.githubusercontent.com/Robotechnic/alchemist/master/src/molecule.typ
typst
MIT License
#let split-equation(mol, equation: false) = { if equation { mol = mol.body if mol.has("children") { mol = mol.children } else { mol = (mol,) } } let result = () let last-number = false for m in mol { let last-number-hold = last-number if m.has("text") { let text = m...
https://github.com/drupol/ipc2023
https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/imports/preamble.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/diagraph:0.1.0": * // #render("digraph { a -> b }") #import "@preview/codelst:1.0.0": sourcecode, sourcefile #import "@preview/hidden-bib:0.1.0": hidden-cite #import "../theme/ipc.typ": * #import "colors.typ": *
https://github.com/gigu003/typst-templates
https://raw.githubusercontent.com/gigu003/typst-templates/main/README.md
markdown
MIT License
# typst-template This repository contains templates for the quarto output format typst.
https://github.com/gabrielluizep/typst-ifsc
https://raw.githubusercontent.com/gabrielluizep/typst-ifsc/main/examples/exam.example.typ
typst
Creative Commons Zero v1.0 Universal
#import "../templates/exam.typ": * #show: doc => exam( title: "Prova 1A", professor: "<NAME>", email: "<EMAIL>", program: "Engenharia de Telecomunicações", course: "Programação I", semester: "2023.2", doc, )
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Critical%20Points.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: "Critical Points", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") = Critical Points <critical-poi...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/gradient-repeat.typ
typst
Apache License 2.0
// Test repeated gradients. --- #rect( height: 40pt, width: 100%, fill: gradient.linear(..color.map.inferno).repeat(2, mirror: true) ) --- #rect( height: 40pt, width: 100%, fill: gradient.linear(..color.map.rainbow).repeat(2, mirror: true), ) --- #rect( height: 40pt, width: 100%, fill: gradient.lin...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/fhe0.typ
typst
#import "preamble.typ":* = FHE and levelled FHE <fhe-intro> Alice has a secret $x$, and Bob has a function $f$. They want to compute $f(x)$. Actually, Alice wants Bob to compute $f(x)$ -- but she doesn't want to tell him $x$. What Alice wants is a _fully homomorphic encryption (FHE)_ protocol, meaning: 1. Alice encry...
https://github.com/memset0/ZJU-Project-Report-Template
https://raw.githubusercontent.com/memset0/ZJU-Project-Report-Template/master/examples/fds/documents/report.typ
typst
MIT License
#import "../../../template.typ": * #show: project.with( theme: "project", course: "Fundamentals of Data Structures", title: "Projects 1: ???", date: "2024/03/14", author: "memset0", semester: "2023-2024 Spring & Summer", ) = *Chapter 1*: Introduction Problem description and (if any) background of the alg...
https://github.com/asouris/Apuntes-CC3501
https://raw.githubusercontent.com/asouris/Apuntes-CC3501/main/Apunte.typ
typst
#import "template/conf.typ": conf // Puedes revisar el archivo template/conf.typ para // ver cómo funciona y personalizarlo #show: conf.with( titulo: "Apunte Gráfica", subtitulo: "", departamento: "dcc", profesores: ("<NAME>",), // Un arreglo de un elemento necesita una coma al final. autores: ("<NAME>", "<N...
https://github.com/drupol/cv
https://raw.githubusercontent.com/drupol/cv/master/src/cv/cv-theme.typ
typst
#import "@preview/fontawesome:0.4.0": * #import "common/metadata.typ": * #import "common/lib.typ": * #let resume( firstname: "", lastname: "", body, ) = { // --- Page configuration --- set page( margin: page-margin, numbering: "1", number-align: center, paper: "a4", footer: [ #{ ...
https://github.com/bojohnson5/iu_dissertation
https://raw.githubusercontent.com/bojohnson5/iu_dissertation/main/main.typ
typst
MIT License
#import "iu_dissertation.typ": thesis, iuquote #show: doc => thesis( title: [Research on the Quantum Theory], author: [<NAME>], dept: [Physics], year: [1925], month: [January], day: [19], committee: ( ( name: "<NAME>", title: "Ph.D." ), ), dedication: none, acknowledgement: lore...
https://github.com/kunalchandan/resume
https://raw.githubusercontent.com/kunalchandan/resume/main/README.md
markdown
# Resume Written in typst. ## Preview ![resume preview](./resume-1.png) ## Build instructions Download Lato and Jost from google fonts. Install them with ```bash sudo cp fonts/* /usr/share/fonts/truetype/ ``` or whatever your system uses for font installation. Get icons: ```bash wget https://github.com/Remix-D...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap1/6_voltage_and_current_practical.typ
typst
Other
=== Voltage and current in a practical circuit Because it takes energy to force electrons to flow against the opposition of a resistance, there will be voltage manifested (or "dropped") between any points in a circuit with resistance between them. It is important to note that although the amount of current (the quanti...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/func/func-call-with-newline.typ
typst
Apache License 2.0
#import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge #set page(width: auto, height: auto, margin: 5mm, fill: white) #diagram( node-defocus: 0, spacing: (1cm, 2cm), edge-stroke: 1pt, crossing-thickness: 5, mark-scale: 70%, node-fill: luma(97%), node-outset: 3pt, node((0,0), "magma"), node((-1,1)...
https://github.com/kdog3682/typkit
https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/math-marks.typ
typst
#import "misc.typ": wrap #import "ink.typ": * #let spacer = h(3pt) #let dot = wrap(sym.circle.filled.tiny, spacer) #let dots = wrap(sym.dots.h, spacer) #let equals = wrap(sym.eq, spacer) #let arrow = wrap(sym.arrow, spacer) #let plus = wrap($plus$, spacer) #let minus = wrap(sym.minus, spacer) #let times = wrap($times$...
https://github.com/ericthomasca/resume-v1
https://raw.githubusercontent.com/ericthomasca/resume-v1/main/metadata.typ
typst
Apache License 2.0
// NOTICE: Copy this file to your root folder. /* Personal Information */ #let firstName = "Eric" #let lastName = "Thomas" #let personalInfo = ( github: "ericthomasca", // phone: "+33 6 12 34 56 78", email: "<EMAIL>", linkedin: "ericthomasca", //custom-1: (icon: "", text: "example", link: "https://example.c...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/opticalsize_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test dedicated syntax for primes $a'$, $a'''_b$, $'$, $'''''''$
https://github.com/alejandrgaspar/pub-analyzer
https://raw.githubusercontent.com/alejandrgaspar/pub-analyzer/main/pub_analyzer/internal/templates/author/works_extended.typ
typst
MIT License
{% for work in report.works %} {% if not loop.first %} #pagebreak() {% endif %} == #text()[#"{{ work.work.title.replace('"', '\\"') }}"] <work_{{ loop.index }}> #linebreak() {% if work.work.abstract %} #text()[#"{{ work.work.abstract.replace('"', '\\"') }}"] #linebreak() {% endif %} // Cards #grid( columns: (1...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.3/template/content/languages.typ
typst
Apache License 2.0
#import "@preview/grotesk-cv:0.1.3": language-entry #import "@preview/fontawesome:0.4.0": * #let meta = toml("../info.toml") #let language = meta.layout.language == #fa-language() #h(5pt) #if language == "en" [Languages] else if language == "es" [Idiomas] //#get-header-by-language("Languages", "Idiomas") #v(5pt) #i...
https://github.com/Julien-cpsn/typst-chromo
https://raw.githubusercontent.com/Julien-cpsn/typst-chromo/main/lib.typ
typst
MIT License
#let cyan = cmyk(100%, 0%, 0%, 0%) #let magenta = cmyk(0%, 100%, 0%, 0%) #let yellow = cmyk(0%, 0%, 100%, 0%) #let transparent = rgb(100%, 100%, 100%, 0) #let cyan-gradient = gradient.linear(cyan, transparent, angle: 0deg) #let magenta-gradient = gradient.linear(magenta, transparent, angle: 0deg) #let yellow-gradient ...
https://github.com/cs-24-sw-3-01/typst-documents
https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/chapters/application_domain_analysis.typ
typst
#import "../custom.typ": * = Application Domain Analysis == Use Cases == Functions == Interface
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/components/TypstTemplate/utils.typ
typst
// 导入本地包 #import "fonts.typ":* #import "/src/components/TypstLocal/admonition/lib.typ": * #import "/src/components/TypstLocal/thms/lib.typ": * // 导入 preview 包 // 树、图文包裹、图标、真值表 #import "@preview/syntree:0.2.0": syntree, tree #import "@preview/treet:0.1.1": tree-list #import "@preview/wrap-it:0.1.0": wrap-content, wrap-...
https://github.com/azduha/akordy
https://raw.githubusercontent.com/azduha/akordy/main/zpevnik.typ
typst
#import "template.typ": * #songbook( title:"Duhový Zpěvník", subtitle: "2024", author: "<NAME>", songs: ( "songs/_pouzite/1_signalni.xml", "songs/_pouzite/andel.xml", "songs/_pouzite/andele.xml", "songs/_pouzite/az.xml", "songs/_pouzite/baroko.xml", "songs/_pouzite/batalion.xml", "s...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/features_11.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 21-26 expected array or dictionary, found boolean // #set text(features: false)
https://github.com/yves147/bachelor-template-unidue
https://raw.githubusercontent.com/yves147/bachelor-template-unidue/master/bachelor.typ
typst
#import "template.typ": * #show: uniduevsbsc.with( title: "Bachelor Example Template", abstract: [ The process of scientific writing is often tangled up with the intricacies of typesetting, leading to frustration and wasted time for researchers. In this paper, we introduce Typst, a new typesetting system desig...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/appendix/examples/binary_subsets.typ
typst
#import "@preview/cetz:0.2.2" #cetz.canvas(length: 100%, { import cetz.draw: * set-viewport((0, 0), (1, .3)) let n = 5 for i in range(n) { rect((0, 0), (1, 1)) if i == n - 1 { break } let is_wide = calc.rem(i, 2) == 0 if is_wide { move-to((.25, .5)) } else { move-...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/templates/abstract-cn.typ
typst
MIT License
#import "../functions/style.typ": * #import "../custom.typ": * #import "../info.typ": * #par(justify: true, first-line-indent: 2em, leading: 行距)[ #heading(numbering: none, outlined: false, "摘要") #include "../chapters/abstract-cn.typ" #import "../chapters/abstract-cn.typ": 中文关键词 #linebreak() #set par(firs...
https://github.com/cyp0633/hnu-bachelor-thesis-typst-template
https://raw.githubusercontent.com/cyp0633/hnu-bachelor-thesis-typst-template/master/example.typ
typst
#import "template.typ" #import "@preview/mitex:0.2.3" #import "bilingual-biblography.typ": bilingual-bibliography #show: template.setup.with( title_zh: "基于生成式预训练模型的实验报告撰写系统设计与实现", title_en: "Design and Implementation of a Lab Report Writing System Based on Generative Pre-trained Models", author: "张忝苟", ...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/template/font.typ
typst
Other
#import "consts.typ" #import "theme.typ": theme #let font-setting(doc) = [ #set text( fill: theme.main, font: consts.font-group.normal, size: consts.size.text, fallback: false, ) #show raw: it => { set text( font: consts.font-group.mono, //This is a hack for https://github.com/ty...
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/common/truth-table-reimp.typ
typst
#import "@preview/truthfy:0.4.0" #import "data.typ": transpose #let bit-count(n) = { let res = 0 while n > 0 { res += 1 n = n.bit-rshift(1) } return res } #let reverse-bits(n, max: none) = { if max == none { max = bit-count(n) } let rev = 0 for _ in range(max) { rev = rev.bit-lshift(1)...
https://github.com/eternal-flame-AD/typstpp
https://raw.githubusercontent.com/eternal-flame-AD/typstpp/main/src/prelude.typ
typst
Apache License 2.0
#let src(content) = { block( fill: rgb("#ececec"), inset: 1em, breakable: true)[ #content ] }
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Exercices_10_10_2023.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: "Maths Exercices 10 10 2023", authors: ( "<NAME>", ), date: "10 Août, 2024", ) #set heading(numbering: "1.1.") #box(image("Exercies_10...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/src/g-clarification.typ
typst
MIT License
#import"./global.typ": * /// Show a clarification. /// - size(length): Size of clarification. /// - body(string, content): Body of clarification. #let g-clarification(size:8pt, body) = { text(size:size)[$(*)$ #body] }
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/nassi/0.1.0/src/elements.typ
typst
Apache License 2.0
#let TYPES = ( EMPTY: 0, PROCESS: 1, BRANCH: 2, SWITCH: 3, LOOP: 4, LOOP_2: 5, PARALLEL: 6, FUNCTION: 7, CALL: 8 ) #let element( type, text, ..args ) = ( ( type: type, text: text, pos: (0,0), width: auto, height: auto, inset: auto, grow: 0, fill: auto, stroke: a...
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/src/vita/src/teaching.typ
typst
MIT License
#let teachinglist = state("teachinglist", ()) #let teaching( organization, role: none, start: none, stop: none, notes ) = { let content = [ #grid( columns: (65%, 33%, 1fr), heading(level: 3, organization), align(right)[ #set text(rgb(90,90,90)) #start #if stop != non...
https://github.com/icyzeroice/typst-packages
https://raw.githubusercontent.com/icyzeroice/typst-packages/main/packages/minimal-styling/src/lib.typ
typst
MIT License
#let _theme = ( font_size: ( h1: 32pt / 1.5, h2: 24pt / 1.5, h3: 20pt / 1.5, h4: 16pt / 1.5, h5: 14pt / 1.5, h6: 13.6pt / 1.5, body: 16pt / 1.5, ), font_family: ( all: ( "--apple-system", "BlinkMacSystemFont", "Segoe UI", "Noto Sans", "Helvetica", ...
https://github.com/npujol/chuli-cv
https://raw.githubusercontent.com/npujol/chuli-cv/main/README.md
markdown
MIT License
# CV in Typst These are a minimalistic and modern CV and cover letter written in Typst. ![thumbnail](thumbnail.png) ## Setup - Install [Typst](https://typst.app) and the font awesome fonts on your system. - Look docs of [light-cv](https://github.com/AnsgarLichter/light-cv) ## Inspiration - [brilliant-CV](https://...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/10_jun.typ
typst
#import "../../../all.typ": * #show: book = #translation.at("M_10_jun") #include "../10_jun/24.typ" #pagebreak() #include "../10_jun/29.typ" #pagebreak()
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/results/results_concept.typ
typst
= Design Concept <result-concept> The design concept described in @design-iteration-2 focuses on visual function composition. It proposes a function editor that features all the basic functionalities needed to create functional applications in a block-based fashion. The editor allows learners to approach functional p...
https://github.com/spherinder/ethz-infk-thesis
https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/pages/list-of-figures.typ
typst
#context { if query(figure.where(kind: image)).len() > 0 { // TODO Needed, because context creates empty pages with wrong numbering set page( numbering: "i", ) heading("List of Figures", numbering: none) outline( title: none, indent: true, fill: repeat(text(". ")), t...
https://github.com/LucaCiucci/tesi-triennale
https://raw.githubusercontent.com/LucaCiucci/tesi-triennale/main/long-abstract.typ
typst
Creative Commons Zero v1.0 Universal
#align(center)[= Monopoli magnetici] #h(1em) #set par(justify: true) Sin dalla formulazione delle equazioni di Maxwell, l'esistenza dei monopoli magnetici è stata oggetto di ricerca teorica e sperimentale. Questo elaborato esplora alcuni aspetti teorici significativi sulle proprietà dei monopoli magnetici derivanti...
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Storyteller%20Characters.typ
typst
#import "../templates/interior_template.typ": * #show: chapter.with(chapter_name: "Storyteller Characters") = Storyteller Characters #show: columns.with(2, gutter: 1em) STCs are the characters that the ST incorporates into the session and gets to roleplay, for better or worse. Most sessions have at least one major c...
https://github.com/mumblingdrunkard/mscs-thesis
https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/index.typ
typst
#import "utils/acronyms.typ" as acronyms #import "utils/setup.typ" as setup #show: setup.setup #include "./introduction-and-motivation/index.typ" #include "./computer-architecture-fundamentals/index.typ" #include "./modern-hardware-design/index.typ" #include "./berkeley-out-of-order-machine/index.typ" #include "./pro...
https://github.com/mismorgano/UG-FunctionalAnalyisis-24
https://raw.githubusercontent.com/mismorgano/UG-FunctionalAnalyisis-24/main/tareas/Tarea-11/Tarea-11.typ
typst
#import "../../config.typ": config, exercise, proof, cls #show: doc => config([Tarea 11], doc) 2.34, 2.35, 2.36, 2.38, 2.39, 2.40 y 2.41. #exercise[2.34][ Sea $T in cal(B)(X, Y)$. Prueba lo siguiente: + $"Ker"(T) = T^*(Y^*)_perp$ y $"Ker"(T^*) = T(X)^perp$. + $cls(T(X)) = "Ker"(T^*)_perp$ y $cls(T^*(Y^*)) sub...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ascii-ipa/1.0.0/README.md
markdown
Apache License 2.0
# ascii-ipa This package allows you to easily convert different ASCII representations of the International Phonetic Alphabet (IPA) to and from the IPA. It also offers some minor utilities to make phonetic transcriptions easier to use overall. Note: This is an extended port of the [`ipa-translate`][ipa-translate] Rust...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/009_The%20Gathering%20Storm%3A%20Chapter%2015.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 15", set_name: "Ravnica Allegiance", story_date: datetime(day: 18, month: 09, year: 2019), author: "<NAME>", doc ) "It can’t be done, Master Zarek." The foreman was stout and walrus-mustached, with a gleaming ba...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/new-cm-svg.typ
typst
Apache License 2.0
#set text(font: "New Computer Modern") #image("/files/diagram.svg")
https://github.com/MrHedmad/typst-paper
https://raw.githubusercontent.com/MrHedmad/typst-paper/main/README.md
markdown
# Typst manuscripts A template repo to jumpstart writing typst manuscripts. ## How to use - First, click on the button on the top-right to use this repository as your template. - Second, install [the Typst compiler](https://github.com/typst/typst), and be sure that you can use `typst` from the command line. - Go in ...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/contexts/strict/test.typ
typst
Other
#import "/src/lib.typ" as z #set page(height: 1cm, width: 1cm) #{ let strict-context = z.z-ctx(strict: true) let test-dictionary = ( //string: "world", // number: 1.2, email: "<EMAIL>", ip: "192.168.127.12", ) _ = z.parse( test-dictionary, z.dictionary(( email: z.email(), ...
https://github.com/voXrey/cours-informatique
https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/ocaml-exceptions.typ
typst
#import "@preview/codly:0.2.1": * #show: codly-init.with() #codly() #set text(font: "Roboto Serif") = Exceptions OCaml <exceptions-ocaml> Ce sont des erreurs, lorsqu’une exception est lancée, cela interrompt tout le programme. - `failwith` lance une exception - `Not_found`, `Invalid_argument`, `Failure`… sont des e...
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst
https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/paddling-tongji-thesis/elements.typ
typst
MIT License
#import "@preview/i-figured:0.2.2" #import "@preview/tablex:0.0.6": cellx, tablex, gridx, hlinex, vlinex, colspanx, rowspanx #import "@preview/algo:0.3.3": algo, i, d, comment, code #import "utils.typ": * #let draw-binding() = { place("|", dx: -1.6cm, dy: 2.3cm) place("|", dx: -1.6cm, dy: 2.9cm) place("|", dx: ...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/utils/utils.md
markdown
# Utility features Let us have a look at some common use cases you run into as either a theme author or as an end user producing slides and what solutions are provided by Polylux. Specifically, the functions discussed here reside in the `utils` and `logic` modules. They are exported by Polylux so if you (as someone ...
https://github.com/mumblingdrunkard/mscs-thesis
https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/computer-architecture-fundamentals/memory-and-caching.typ
typst
#import "../utils/utils.typ": * == Interlude: Memory, Caches, and Consistency Models For a processor to perform well, it needs relatively fast access to memory. Main memory technologies like _dynamic random access memory_ (DRAM) have high capacities and generally high bandwidths, which is good, but they also have hig...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/editor.typ
typst
MIT License
#import "./book.typ": book-page #import "./templates/gh-page.typ": page-width, is-dark-theme #import "@preview/fontawesome:0.1.0": * #import "@preview/colorful-boxes:1.1.0": * #show: book-page.with(title: "Port Typst-Preview to Other Editors") #show link: underline = Port Typst-Preview to Other Editors Before we sta...
https://github.com/fredguth/tufte-typst
https://raw.githubusercontent.com/fredguth/tufte-typst/main/tufte_handout_template.typ
typst
#let sidenote(content) = { place(dx: 29em, block( // fill: yellow, breakable: false, width: 14em, content ) ) } #let template( title: none, abstract: none, authors: (), date: datetime.today(), doc, ) = { set page( paper: "a4", margin: (y:9em, left: 5em,...
https://github.com/SillyFreak/typst-prequery
https://raw.githubusercontent.com/SillyFreak/typst-prequery/main/README.md
markdown
MIT License
# Prequery This package helps extracting metadata for preprocessing from a typst document, for example image URLs for download from the web. Typst compilations are sandboxed: it is not possible for Typst packages, or even just a Typst document itself, to access the "ouside world". This sandboxing of Typst has good rea...
https://github.com/typst-community/org
https://raw.githubusercontent.com/typst-community/org/main/CONTRIBUTING.md
markdown
### Getting Involved Please open a discussion with the [transfer template](https://github.com/orgs/typst-community/discussions/new?category=transfer-requests).
https://github.com/sicheng1806/typst-book-for-sicheng
https://raw.githubusercontent.com/sicheng1806/typst-book-for-sicheng/main/scr/basic_pkg/table.typ
typst
// 添加了 webtable格式的表格 #let webtable( titleline : 1pt + black, linestroke: gray, columns: (), gutter: (), column-gutter : (), row-gutter : (), fill : none, align : auto, stroke : none, inset : 5pt, ..children ) = { set table(columns: columns,gutter: gutter,column-gutter: column-gutter, ...
https://github.com/xrarch/books
https://raw.githubusercontent.com/xrarch/books/main/xr17032handbook/chapintro.typ
typst
#import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx = Overview == Introduction XR/17032 is a 32-bit RISC architecture. This document describes it informally and is meant to be used as a reference handbook; it is intended for readers who are already somewhat familiar with computer architecture, or who ar...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/inline/overhang.typ
typst
// Test micro-typographical shenanigans. --- overhang --- // Test hanging punctuation. // TODO: This test was broken at some point. #set page(width: 130pt, margin: 15pt) #set par(justify: true, linebreaks: "simple") #set text(size: 9pt) #rect(inset: 0pt, fill: rgb(0, 0, 0, 0), width: 100%)[ This is a little bit of t...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/ref_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // = First <foo> // = Second <foo> // // // Error: 1-5 label `<foo>` occurs multiple times in the document // @foo
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/book/inviter.typ
typst
= Inviter Come detto in precedenza è impensabile aggiungere manualmente tutti all'organizzazione, per questo abbiamo crato una piccola web app che utilizzando le api di GitHub consente di invitare automaticamente le persone@gh-inviter, è distribuita sotto forma di container, quindi potete eseguirla su un server con Li...
https://github.com/OrangeX4/typst-pinit
https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/simple-arrow.typ
typst
MIT License
/// Draw a simple arrow on the page with optional settings, implemented by [`polygon`](https://typst.app/docs/reference/visualize/polygon/). /// /// - `fill`: [`color`] &mdash; The fill color for the arrow. /// - `stroke`: [`stroke`] &mdash; The stroke for the arrow. /// - `start`: [`point`] &mdash; The starting point ...
https://github.com/cherrypiejam/typst-cv-template
https://raw.githubusercontent.com/cherrypiejam/typst-cv-template/main/cv-template.typ
typst
#let conf( name: str, contact: dictionary, research-interests: "", education: array, awards: array, body, ) = { set page( paper: "us-letter", ) [ = #name #line(length: 100%) ] show heading: it => { smallcaps(it.body) linebreak() } let columns = (1fr, 5fr) // Contact ...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/style/1.0.0/Colors/m3.typ
typst
Creative Commons Zero v1.0 Universal
#let material3 = ( red: ( light: ( primary: rgb("#8F4C38"), onPrimary: rgb("#FFFFFF"), primaryContainer: rgb("#FFDBD1"), onPrimaryContainer: rgb("#3A0B01"), secondary: rgb("#77574E"), onSecondary: rgb("#FFFFFF"), secondaryContainer: rgb("#FFDBD1"), onSecondaryContai...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/tracking-spacing-05.typ
typst
Other
// Test word spacing relative to the font's space width. #set text(spacing: 50% + 1pt) This is tight.
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/text/shift.typ
typst
// Test sub- and superscript shifts. --- sub-super --- #table( columns: 3, [Typo.], [Fallb.], [Synth], [x#super[1]], [x#super[5n]], [x#super[2 #box(square(size: 6pt))]], [x#sub[1]], [x#sub[5n]], [x#sub[2 #box(square(size: 6pt))]], ) --- sub-super-non-typographic --- #set super(typographic: false, baseline: -0...
https://github.com/oliversssf2/do-math
https://raw.githubusercontent.com/oliversssf2/do-math/main/test.typ
typst
#set page("us-letter") The equation $Q = rho A v + C$ defines the glacial flow rate. $E[x] = $
https://github.com/1939323749/typst-zuotiben
https://raw.githubusercontent.com/1939323749/typst-zuotiben/main/main.typ
typst
#let bookname = "25竟成计组做题本 " #let format(string) = { let res = () let matches = string.matches(regex("(<sup>([\d\w+-]+)</sup>)")) + string.matches(regex("(<sub>([\d\w+-]+)</sub>)")) + string.matches(regex("(<code>([\w\W]+)</code>)")) let start = 0 matches = matches.sorted( key: (x) => x.start ...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/note-1/5.积分.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 #5: 积分", authors: ( ( name: "memset0", email: "<EMAIL>", id: "3230104585", ), ), date: "December 10,...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/crates.typ
typst
MIT License
#let angle = `angle` #let as_variant = `as_variant` #let bevy_fullscreen = `bevy_fullscreen` #let bevy_notify = `bevy_notify` #let bevy_touchpad = `bevy_touchpad` #let bevy_tracking = `bevy_tracking` #let env_to_png = `env_to_png` #let gbp_config = `gbp_config` #let gbp_environment = `gbp_environment` #let gbp...
https://github.com/leo1oel/CSAPP
https://raw.githubusercontent.com/leo1oel/CSAPP/main/Homework/Homework1.typ
typst
#import "template.typ": * #import "@preview/codly:0.2.0": * #show: project.with( title: "Homework Set 1 - Hardware Architecture", authors: ( "<NAME> 2023010747", ) ) #show: codly-init.with() #codly(languages: ( c: (name: "C", icon: none, color: none), )) #show table: set align(center) #show image: se...
https://github.com/julius2718/typst-jpdoc-template
https://raw.githubusercontent.com/julius2718/typst-jpdoc-template/main/0.0.1/test.typ
typst
MIT License
#import "@local/jpdoc-template:0.0.1": * #show: doc => jpdoc(doc) #signature(title: "吾輩は猫である", date: "明治38年1月", author: "夏目漱石") = 第一章 吾輩は猫である。名前はまだない。 どこで生まれたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。 吾輩はここで始めて人間というものを見た。しかもあとで聞くとそれは書生という人間中で一番獰悪な種族であったそうだ。 この書生というのは時々我々を捕えて煮て食うという話である。しかしその当時は何という考もなかったから別段恐...
https://github.com/j-mueller/typst-vegalite
https://raw.githubusercontent.com/j-mueller/typst-vegalite/main/typst-package/lib.typ
typst
MIT License
#import "@preview/ctxjs:0.1.1" #let vegalite-bytecode = read("vegalite.kbc1", encoding: none) #let ctx-name = "@preview/vegalite" #{ _ = ctxjs.create-context(ctx-name) _ = ctxjs.load-module-bytecode(ctx-name, vegalite-bytecode) } #let render(width: auto, height: auto, zoom: 1, spec) = { layout(size => { ...
https://github.com/duanejeffers/resume
https://raw.githubusercontent.com/duanejeffers/resume/main/template.typ
typst
MIT License
#import "@preview/fontawesome:0.1.0": * #let bgColor = rgb("444352") #let txtColor = rgb("fdfdfd") #let titleRect = gradient.linear( rgb("046fb5"), rgb("00aaff"), dir: ttb, ) #let lineColor = white #let resumeData = yaml("data/resume_data.yaml") // The project function defines how your document looks. // It takes y...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/query-before-after_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page( paper: "a7", numbering: "1 / 1", margin: (bottom: 1cm, rest: 0.5cm), ) #set heading(outlined: true, numbering: "1.") // This is purposefully an empty #locate(loc => [ Non-outlined elements: #(query(selector(heading).and(head...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/014%20-%20Khans%20of%20Tarkir/005_Way%20of%20the%20Mantis.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Way of the Mantis", set_name: "Khans of Tarkir", story_date: datetime(day: 08, month: 10, year: 2014), author: "<NAME>", doc ) #emph[On many planes, the mantis is a small creature. On Tarkir, the mantises are larger than oxen and native to ...
https://github.com/pal03377/master-thesis
https://raw.githubusercontent.com/pal03377/master-thesis/main/feedbacklog.typ
typst
MIT License
// Enter your thesis data here: #let title = "Generalizing Machine-Learning Based Assessments" #let degree = "Master" #let program = "Informatics" #let supervisor = "Prof. Dr. <NAME>" #let advisor = "<NAME>, M.Sc.." #let author = "<NAME>" #let presentation_date = "Sep 11, 2023" #show heading: set text(size: 1.5em) //...