repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/note-me/0.2.1/example.typ
typst
Apache License 2.0
// Import from @preview namespace is suggested // #import "@preview/note-me:0.1.1": * // Import from @local namespace is only for debugging purpose #import "@local/note-me:0.2.1": * = Basic Examples #note[ Highlights information that users should take into account, even when skimming. ] #tip[ Optional informati...
https://github.com/3w36zj6/textlint-plugin-typst
https://raw.githubusercontent.com/3w36zj6/textlint-plugin-typst/main/test/fixtures/Strong/input.typ
typst
MIT License
*strong* * a b c * \ This is *strong*.
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/quicksort/partition.typ
typst
#import "@preview/cetz:0.2.2" #import "/components/num_row.typ": num_row, arrowed, arrowed_b, braced_b #import "/config.typ": theme #let partition_loop(nums) = { let swaps = () let pivot = nums.at(0) let j = 1 for (i, x) in nums.enumerate() { if i == 0 {continue} if x <= pivot { swaps.push((i, j)...
https://github.com/tymbalodeon/job-application
https://raw.githubusercontent.com/tymbalodeon/job-application/main/README.md
markdown
# Job Application Create resumes and cover letters created with [Typst](https://typst.app/docs). # Dependencies - [Typst](https://typst.app/docs) - [checkexec](https://github.com/kurtbuilds/checkexec "checkexec") - [watchexec](https://watchexec.github.io/ "watchexec") - [skim](https://skim-app.sourceforge.io/ "skim"...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/band_saw_metal_vertical.typ
typst
#import "/meta-environments/env-features.typ": * = Vertical Metal Band Saw The vertical meal band saw can remove large amounts of material from a workpiece. == Notes === Use In general, use of the vertical metal bandsaw is limited to cutting either mild steel or aluminum. A comprehensive chart of permitted mater...
https://github.com/RiccardoTonioloDev/TypUrNotes
https://raw.githubusercontent.com/RiccardoTonioloDev/TypUrNotes/main/tun_template/tun.typ
typst
MIT License
#import "@preview/glossarium:0.4.1": make-glossary #import "@preview/codly:1.0.0": * #let not_break(content) = { block(content,breakable: false, width: 100%) } #let pb() = { pagebreak(to: "odd") } #let config( myAuthor: "<NAME>", myTitle: "Title", myLang: "en", pages_numbering: "1", creation_day: "Na...
https://github.com/MooersLab/writingLogInTypst
https://raw.githubusercontent.com/MooersLab/writingLogInTypst/main/logTemplate.typ
typst
// Created 2024-09-29 Sun 23:01 // Intended Typst compiler #import "@local/in-dexter:0.6.0": * #import "@local/cheq:0.2.0": checklist #set page(width: 8.5in, height: 11in, margin: (x: 0.5in, y: 0.75in),) #set text(11pt) #set text(font: "Helvetica") // Set the title use for reuse in the running title and the main ...
https://github.com/Nianyi-GSND-Projects/GSND-5130-GP1
https://raw.githubusercontent.com/Nianyi-GSND-Projects/GSND-5130-GP1/master/Draft%201/Research%20Proposal.typ
typst
#set page(paper: "us-letter") #set par(justify: true) #let title = "Research Proposal for Group #2" #{ set align(center) set text(size: 17pt, weight: "bold") title } = Movitation When discussing with the team about the RQ, a video I watched earlier came up in my mind. The video is #link("https://www.youtube.com/w...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/src/schema.typ
typst
Apache License 2.0
#import "config.typ" as conf #import "renderer.typ" #import "structure.typ" #import "xml-loader.typ" #let valid-extensions = ("yaml", "json", "xml") #let parse-file(path) = { let ext = path.split(".").last() if not ext in valid-extensions { let fmts = valid-extensions.map(fmt => "." + fmt).join(", ") fmt...
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/pages/graduate-cover.typ
typst
MIT License
#import "../utils/fonts.typ": 字号, 字体 #import "../utils/datetime-display.typ": datetime-display #import "../utils/twoside.typ": * #let graduate-cover( info: (:), // 其他参数 stoke-width: 0.5pt, row-gutter: 11.5pt ) = { if type(info.submit-date) == datetime { info.submit-date = datetime-display(info.submit-da...
https://github.com/Myriad-Dreamin/arch-media-box-typst
https://raw.githubusercontent.com/Myriad-Dreamin/arch-media-box-typst/main/box.typ
typst
#set page(margin: 0pt, height: 230mm, width: 153mm) #let box-layout(content) = [ #place(image("background.svg")) #scale(77.19%, content) ] #show: box-layout #set text(font: "Noto Sans CJK SC") #let box-front = 124pt #let box-side = 340pt #let padding = 12pt #let front-content(dy: 0pt, content) = place(dx:...
https://github.com/AOx0/expo-nosql
https://raw.githubusercontent.com/AOx0/expo-nosql/main/examples/gauss.typ
typst
MIT License
#import "../slides.typ": * #show: slides.with( authors: "<NAME>", short-authors: "<NAME>", title: "On a revolutionary way to sum up natural numbers", subtitle: "What they won't teach you in school", short-title: "Sum of natural numbers", date: "1784", ) #set text(font: "GFS Neohellenic") #s...
https://github.com/ludwig-austermann/typst-timetable
https://raw.githubusercontent.com/ludwig-austermann/typst-timetable/main/lib/default-blocks.typ
typst
MIT License
#let display-time(time) = { let hour = int(time) let minute = 60 * (time - hour) if hour < 10 { [0] } str(hour) [:] if minute < 10 { [0] } str(minute) } #let event-cell(event, show-time: false, show-day: false, unique: true) = { box(stroke: (left: event.color + 3pt), inset: (left: 5pt, y: 2pt), { s...
https://github.com/eliapasquali/typst-thesis-template
https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/preface/table-of-contents.typ
typst
Other
#import "../config/constants.typ": figuresList, tablesList #set page(numbering: "i") #[ #show outline.entry.where(level: 1): it => { linebreak() link(it.element.location(), strong(it.body)) h(1fr) link(it.element.location(), strong(it.page)) } #outline( indent: auto, depth: 5 ) ] #v(8e...
https://github.com/matthiasbeyer/typst-template-paper
https://raw.githubusercontent.com/matthiasbeyer/typst-template-paper/master/paper.typ
typst
MIT License
#import "@preview/charged-ieee:0.1.2": ieee #import "@preview/cetz:0.2.2": canvas, draw, tree #import "@preview/gviz:0.1.0": * #show raw.where(lang: "dot-render"): it => render-image(it.text) #show: ieee.with( title: [A typesetting system to untangle the scientific writing process], abstract: [ The process of...
https://github.com/nicolas-geniteau/resume-nicolas-geniteau
https://raw.githubusercontent.com/nicolas-geniteau/resume-nicolas-geniteau/main/metadata.typ
typst
#let firstName = "Nicolas" #let lastName = "Géniteau" #let personalInfo = ( // phone: "", // email: "", linkedin: "nicolas-geniteau", github: "nicolas-geniteau", ) #let headerQuoteInternational = ( "": text(size: 13pt)[*Freelance* - Site Reliability Engineer / DevOps Engineer / Cloud Architect], )...
https://github.com/8LWXpg/typst-ansi-render
https://raw.githubusercontent.com/8LWXpg/typst-ansi-render/master/test/test.typ
typst
MIT License
#import "../ansi-render.typ": ansi-render as __ansi-render, terminal-themes #set document(date: none) // workaround before set is implemented #let ansi-render = __ansi-render.with(inset: 5pt, radius: 3pt, theme: terminal-themes.vscode) // newline with background color #ansi-render("\u{1b}[101mHello World") // Rend...
https://github.com/rangerjo/tutor
https://raw.githubusercontent.com/rangerjo/tutor/main/example/src/ex1/ex.typ
typst
MIT License
#import "@local/tutor:0.4.0": points, checkbox #let exercise(cfg) = [ #heading(level:cfg.level, [Abbreviation FHIR (#points(1) point)]) What does FHIR stand for? #set list(marker: none) - #checkbox(cfg, false) Finally He Is Real - #checkbox(cfg, true) Fast Health Interoperability Resources - #checkbox(cfg, false...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/style/1.0.0/dependencies.typ
typst
Creative Commons Zero v1.0 Universal
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #import "@preview/fontawesome:0.4.0": * #import "@preview/name-it:0.1.1": name-it as name #import "@preview/note-me:0.2.1": * #import "@preview/nth:1.0.1": nths as nth #import "@preview/physica:0.9.3": * #import "@preview/showybox:2.0.1": showybox #impo...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/style_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test text properties. $text(#red, "time"^2) + sqrt("place")$
https://github.com/matthiasbeyer/typst-template-paper
https://raw.githubusercontent.com/matthiasbeyer/typst-template-paper/master/transcript.typ
typst
MIT License
#import "@matthiasbeyer/ttt:0.1.0": * #set text(lang: "en") #show: ttt.with( author: "<NAME>", class: [Computer Science], subject: [Trees], date: datetime(year: 2024, month: 03, day: 19), bibliography: bibliography("refs.bib"), ) = Some example Some text.
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/090.%20googles.html.typ
typst
googles.html Why There Aren't More Googles Want to start a startup? Get funded by Y Combinator. April 2008U<NAME> wrote recently that the reason there aren't more Googles is that most startups get bought before they can change the world. Google, despite serious interest from Microsoft and Yahoo—what must ...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/one-by-one-start.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 50pt) #polylux-slide[ #one-by-one(start: 3)[first ][second ][third] ]
https://github.com/i-am-wololo/cours
https://raw.githubusercontent.com/i-am-wololo/cours/master/main/parties_i23/logique.typ
typst
#import "../templates.typ": * = Definitions et props #definition(title:"Commutatif")[les variables peuvent etre inverses] #definition(title:"L'arbre de Derivation")[C'est un format de pour representer une proposition] #figure( image("../ArbreDerivation.png", width:60%), caption: text(size:8pt, $(P => Q) and (P or ...
https://github.com/VeeIsForVanana/resume_template
https://raw.githubusercontent.com/VeeIsForVanana/resume_template/main/resume.typ
typst
#import "@preview/oxifmt:0.2.0": strfmt #let contact_box( body ) = { align(horizon)[ #set text( size: 0.85em, ) #box( width: 70%, height: auto, fill: rgb("f2f2f2"), radius: 20%, outset: 11pt, )[ #align(left)[ #body ] ] ] } // document-w...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/chapters/appendix02.typ
typst
MIT License
= 关于 sysu-thesis <sysu-thesis> 地里实,常手会因陆月有,面小者县巴么用要中事才轻树客各集背物阿据员重友报原声之知女依中别很,岸本本和北们动基速不。 运是知文人么具东,一大惊住多家族我能知金妈。 用孩他...... 次而的管案外,脑新告? 集离主经先当小部这对校话来动。 然兴童农些其着住...... 天片独什性什信! 住是走有一足时一办为以! 条会其不造便影重色政,丽路受体朋美现把代有选什关以文近起明也音职,了市新! 术放立分很文一又山局大二外一收起案时:变日两,被使么,响气热更到说语于社一少点都的文出节...... 广感两争:应英知高不厂爱次成这理孩受艺性全; 其了球境化火一? 包亲我这很到的该有:...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-08.typ
typst
Other
// Can't import from closures, despite modifiers. #let f(x) = x // Error: 9-18 cannot import from user-defined functions #import f.with(5): x
https://github.com/edgarcarbajal/typst-resume
https://raw.githubusercontent.com/edgarcarbajal/typst-resume/main/README.md
markdown
MIT License
# typst-resume A resume made in Typst. Special thanks to [<NAME>](https://github.com/angelacastaneda) for helping me out set the project up and helping me learn Typst! ## License Under MIT License
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2013/MS-06.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [<NAME>], [CHN], [3395], [2], [MA Long], [CHN], [3386], [3], [XU Xin], [CHN], [3318], [4], [WANG Hao], [CHN], [3280]...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/g2.typ
typst
Other
#import "/lib/draw.typ": * #import "/template/theme.typ": theme #import "mtop.typ": shape-points #let start = (0, 0) #let end = (1000, 680) #let shape-c1 = ( ((58, 318), (0, 0), (58, 550)), ((480, 650), (285, 650)), ((930, 320), (930, 628)), ) #let shape-g2 = ( ((58, 32), (0, 0), (58, 275)), ((480, 350), (...
https://github.com/duskmoon314/THU_AMA
https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/ebook.typ
typst
Creative Commons Attribution 4.0 International
#import "@preview/book:0.2.5": * #import "/templates/ebook.typ" #show: ebook.project.with(title: "应用近世代数:笔记", spec: "book.typ") // set a resolver for inclusion #ebook.resolve-inclusion(it => include it)
https://github.com/gyarab/2023-4e-ruzicka-jako_pavouk
https://raw.githubusercontent.com/gyarab/2023-4e-ruzicka-jako_pavouk/main/src-docs/kapitoly/zaver.typ
typst
= Závěr Výsledkem této práce je webová aplikace, která nejen splňuje stanovené požadavky, ale také přesahuje mé očekávání. Naučil jsem se všechno okolo vývoje backendu. Od napojení na databázi až po ošetření nejrůznějších bezpečnostních skulinek. Také jsem se zorientoval v konfiguraci linuxových serverů na produkci. V...
https://github.com/nafkhanzam/typst-common
https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/templates/general.typ
typst
#import "@preview/valkyrie:0.2.1" as z #import "@preview/codly:1.0.0" #import "@preview/drafting:0.2.0": * #import "../common/data.typ": * #import "../common/style.typ": * #import "../common/utils.typ": * #let template( title: [], logo: "res/its-logo.png", event: [], author: [], author-desc: [], affiliatio...
https://github.com/crd2333/template-report
https://raw.githubusercontent.com/crd2333/template-report/master/figures.typ
typst
MIT License
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #import "@preview/tablem:0.1.0": tablem #import "@preview/lovelace:0.3.0": pseudocode-list, pseudocode, line-label #import "@preview/truthfy:0.4.0": truth-table, truth-table-empty #import "@preview/codly:1.0.0": * #import "@preview/timeliney:0.1.0": tim...
https://github.com/elteammate/typst-shell-escape
https://raw.githubusercontent.com/elteammate/typst-shell-escape/main/example-latex.typ
typst
#import "shell-escape.typ": * #let url-to-latex(latex-source) = { "https://latex.codecogs.com/svg.image?" encode-url(latex-source) } #http-get( url-to-latex( ```latex \begin{align*} \frac{\partial^2}{\partial t_1^2} f(t_0,t_1) = ( \delta+2t_0+2t_1)^{\alpha( w-t_0+t_1 )-1} \cdot \bigl( \frac{\partial^2}{\part...
https://github.com/GYPpro/DS-Course-Report
https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/12.typ
typst
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx #import "@preview/codelst:2.0.1": sourcecode // Display inline code in a small box // that retains the correct baseline. #set text(font:("Times New Roman","Source Han Serif SC")) #show raw: set text( font: ("consolas", "Source Han Serif SC"...
https://github.com/NMD03/CV
https://raw.githubusercontent.com/NMD03/CV/main/README.md
markdown
# CV This is a template for a CV. It is written in typst.
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/examples/main.typ
typst
MIT License
#page( width: auto, height: auto, margin: 0pt, block( fill: gray, inset: 1em, radius: 1em, grid( columns: 4, gutter: 1em, ..range(1, 5).map(i => image("pages/" + str(i) + ".png")) ), ), )
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/07-localisation/practice.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## Features in Practice == 特性实践 // Up to this point, I have very confidently told you which features you need to use to achieve certain goals - for example, I said...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/figure_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test custom separator for figure caption #set figure.caption(separator: [ --- ]) #figure( table(columns: 2)[a][b], caption: [The table with custom separator.], )
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/05-main-enhancements/isabelle-system-options.typ
typst
#import "/utils/todo.typ": TODO #import "/utils/isabelle.typ": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge == Isabelle System Options as VSCode Settings Isabelle has many options that can be set to adjust different aspects of the interactive sessions. For example, the option `editor_output_s...
https://github.com/cwreed/cv
https://raw.githubusercontent.com/cwreed/cv/main/src/modules/research.typ
typst
#import "../template.typ": cvEntry #let mcdermid-lab-resume = cvEntry( title: [Graduate Research Assistant, McDermid Lab], institution: [New York University, Department of Environmental Studies], date: [July 2020 -- September 2022], location: [New York, NY], description: list( [Developed end-to-end deep ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1700.typ
typst
Apache License 2.0
#let data = ( ("TAGALOG LETTER A", "Lo", 0), ("TAGALOG LETTER I", "Lo", 0), ("TAGALOG LETTER U", "Lo", 0), ("TAGALOG LETTER KA", "Lo", 0), ("TAGALOG LETTER GA", "Lo", 0), ("TAGALOG LETTER NGA", "Lo", 0), ("TAGALOG LETTER TA", "Lo", 0), ("TAGALOG LETTER DA", "Lo", 0), ("TAGALOG LETTER NA", "Lo", 0), ...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/docs/README.md
markdown
Other
# ucpc-solutions Documentation ucpc-solutions is not rich in default style definitions. This is because the style definitions in the original LaTeX version of ucpc-solutions were like that, and many contest organizers interpreted and modified the overall style definitions of the template to create their own uniquely s...
https://github.com/OctarineSourcerer/NeonInTheDark
https://raw.githubusercontent.com/OctarineSourcerer/NeonInTheDark/main/crews/boostergang.typ
typst
#import "../templates/crewTemplate.typ": crew, specialAbility #crew( [Boostergang], [MERCENARIES AND THUGS], [Some crews plot, some crews scheme, some crews sneak around in the darkness. It makes sense, Neo-Duskvol is a dangerous place. However, to hell with that. You fight. Violence and any monetisations...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/coords/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #import "/src/diagram.typ": compute-cell-centers, interpret-axes #import "/src/utils.typ": vector-2d, interp, interp-inv #import "/src/coords.typ": * // this test contains no visual output #show: none = Tes...
https://github.com/patrick-kidger/typst_pyimage
https://raw.githubusercontent.com/patrick-kidger/typst_pyimage/main/README.md
markdown
Apache License 2.0
<h1 align="center">typst_pyimage</h1> <p align="center">Wraps <a href="https://github.com/typst/typst">Typst</a> to support inline Python code for generating content and figures.</p> ## Example <img align="right" width="45%" src="https://raw.githubusercontent.com/patrick-kidger/typst_pyimage/main/imgs/lotka_volterra...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2580.typ
typst
Apache License 2.0
#let data = ( ("UPPER HALF BLOCK", "So", 0), ("LOWER ONE EIGHTH BLOCK", "So", 0), ("LOWER ONE QUARTER BLOCK", "So", 0), ("LOWER THREE EIGHTHS BLOCK", "So", 0), ("LOWER HALF BLOCK", "So", 0), ("LOWER FIVE EIGHTHS BLOCK", "So", 0), ("LOWER THREE QUARTERS BLOCK", "So", 0), ("LOWER SEVEN EIGHTHS BLOCK", "So...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.1.0/admonish.typ
typst
Apache License 2.0
// color profiles #let colors = ( gray: (border: luma(70), bg: luma(230)), blue: (border: rgb(29, 144, 208), bg: rgb(232, 246, 253)), green: (border: rgb(102, 174, 62), bg: rgb(235, 244, 222)), red: (border: rgb(237, 32, 84), bg: rgb(255, 231, 236)), yellow: (border: rgb(255, 201, 23), bg: r...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/src/process-args.typ
typst
MIT License
// This file contains helper functions to process and normalize special // arguments to functions, especially where multiple formats and types // are allowed. #import "layout.typ" #let process-padding-arg(padding) = { let type = type(padding) if type == length { return (left: padding, top: padding, right:...
https://github.com/benedict-armstrong/typstCV
https://raw.githubusercontent.com/benedict-armstrong/typstCV/main/typst/cv.typ
typst
#let configuration = yaml("configuration.yml") #let settings = yaml("settings.yml") #let heading_font = "Poppins" #set page(margin: 20mm) #show heading.where(level: 1): it => [ #set text(size: 14pt, font: heading_font, weight: "semibold") #it #v(0.2em) ] #set par(leading: eval(settings.paragraph.leading)) #s...
https://github.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement
https://raw.githubusercontent.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement/main/TD/TD1-Structures-controle.typ
typst
#let td1(isCorrection: true) = [ #import "@preview/lovelace:0.3.0": * #import "../TD_TP_Commons.typ": * = R101- TD1 - Les structures de contrôle == Objectifs - Travailler les instructions conditionnelles. - Travailler la sélection imbriquée et simple. - Travailler les instructions de répétition. == Exercice 1 Un...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/nth/0.1.0/nth.typ
typst
Apache License 2.0
#let nth(ordinal-num) = { let ordinal-str = str(ordinal-num) if ordinal-str.contains(regex(".*1[0-9]")) show: ordinal-str + super("th") } else if ordinal-str.last() == "1" { show: ordinal-str + super("st") } else if ordinal-str.last() == "2" { show: ordinal-str + super("nd") } else if ordina...
https://github.com/Dav1com/resume
https://raw.githubusercontent.com/Dav1com/resume/main/modules/skills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Skills") #cvSkill( type: [Languages], info: [English #hBar() Spanish] ) #cvSkill( type: [Programming], info: [Java, Groovy, Scala #hBar() C/C++ #hBar() OCaml, F\#, F\* #hBar() Python ] ) #cvSkill( type: [Frameworks], info: [Spring #hBar() DJango #hBa...
https://github.com/janlauber/bachelor-thesis
https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/common/titlepage.typ
typst
Creative Commons Zero v1.0 Universal
#let titlepage( title: "", subtitle: "", degree: "", program: "", advisor: "", expert: "", author: "", projectPartner: "", submissionDate: none, ) = { set document(title: title, author: author) set page( margin: (left: 25mm, right: 25mm, top: 10mm, bottom: 10mm), numbering: none, numbe...
https://github.com/pluttan/asmlearning
https://raw.githubusercontent.com/pluttan/asmlearning/master/dz1/dz1.typ
typst
#import "@docs/bmstu:1.0.0":* #show: student_work.with( caf_name: "Компьютерные системы и сети", faculty_name: "Информатика и системы управления", work_type: "домашней работе", work_num: "1", discipline_name: "Машинно-зависимые языки и основы компиляции", theme: "Обработка символьной информации", author: ...
https://github.com/longlin10086/HITSZ-PhTyp
https://raw.githubusercontent.com/longlin10086/HITSZ-PhTyp/main/template.typ
typst
#import "layout/page.typ" : * #show: page_style[ #head_elements_line( "114514班", "1919810", "longlin", "../assets/images/signature.png", "2024.4.1", "2.0", "3.0" ) #two_lines = RLC 暂态电路研究 #counter(heading.where(level: 2)).step() == 预习 #question_list( "RC、RL串联电路暂态过程电压表达式,以及时间常数t的表达式是什么?", "RL...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/colors.typ
typst
Other
// Source: https://web.umons.ac.be/app/uploads/sites/8/2017/07/REF-COULEURS-FACS-UMONS.pdf #let umons-red = rgb(168, 0, 57) #let umons-turquoise = rgb(0, 171, 204) #let umons-grey = rgb(150, 150, 150) #let umons-yellow = rgb(246, 167, 35) #let umons-faculty-sciences = rgb(2, 150, 135)
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/001_The%20Lost%20Confession.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Lost Confession", set_name: "Theros", story_date: datetime(day: 11, month: 09, year: 2013), author: "<NAME>", doc ) Ajani, I'm writing you this letter knowing that you'll never read it. When I'm finished with these words, I'm going to ...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Olympiades_Correction.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: "Olympiades Correction", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") + #block[ #set enum(numb...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/equation-numbering-reference.typ
typst
Apache License 2.0
// In this bug, the hint and error messages for an equation // being reference mentioned that it was a "heading" and was // lacking the proper path. // Ref: false --- #set page(height: 70pt) $ Delta = b^2 - 4 a c $ <quadratic> // Error: 14-24 cannot reference equation without numbering // Hint: 14-24 you can ena...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/subelement-panic_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // #2328 // // Error: 4-43 footnote entry must have a location // // Hint: 4-43 try using a query or a show rule to customize the footnote instead // HI#footnote.entry(clearance: 2.5em)[There]
https://github.com/linsyking/messenger-manual
https://raw.githubusercontent.com/linsyking/messenger-manual/main/main.typ
typst
// Dark mode for debugging // #set page(fill: rgb("444352")) // #set text(fill: rgb("fdfdfd")) #set text( size: 12pt ) #show link: it => {set text(blue); underline(it)} #set par( justify: true, leading: 1em, first-line-indent: 2em, ) #show heading: it => {it;text()[#v(0.3em, weak: true)];text()[#h(0em)]} #set ...
https://github.com/mattfbacon/aswvc-bylaws-and-constitution
https://raw.githubusercontent.com/mattfbacon/aswvc-bylaws-and-constitution/main/doc.typ
typst
#let font-size = 12pt #let line-height = 0.7em #set page(paper: "us-letter", margin: 1in) #set text(font: ("Times New Roman", "Liberation Serif"), size: font-size) #set par(leading: line-height, linebreaks: "optimized") #show par: set block(spacing: line-height) #set grid(gutter: line-height) #show heading: it => ali...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/12-freetype/freetype.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/heading.typ": chapter #import "/lib/glossary.typ": tr #show: web-page-template #chapter[ // OpenType for Programmers: Freetype2 OpenType编程利器:Freetype2 ]
https://github.com/brainworkup/neurocog
https://raw.githubusercontent.com/brainworkup/neurocog/main/README.md
markdown
MIT License
# Neurocog Typst Format ## Installing _TODO_: Replace the `<github-organization>` with your GitHub organization. ```bash quarto use template brainworkup/neurocog ``` This will install the format extension and create an example qmd file that you can use as a starting place for your document. ## Using _TODO_: Descr...
https://github.com/Many5900/aau-typst
https://raw.githubusercontent.com/Many5900/aau-typst/main/chapters/chapter2.typ
typst
#import "../custom.typ": * = Chapter 2 #lorem(300) #todo[Remember to remove the "Lorem ipsum" text in chapter 2!]
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/examples/report/main.typ
typst
MIT License
// Import dependencies such as glossaries etc. #import "dependencies.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #import "../../src/lib.typ": report #show: report.with( language: "en", title: "Universal Declaration of Human Rights", ...
https://github.com/extua/nth
https://raw.githubusercontent.com/extua/nth/main/nth.typ
typst
MIT No Attribution
#let nth(ordinal-num, sup: bool) = { // Conditinally define ordinal-num, and if it's an integer change it to a string let ordinal-str = if type(ordinal-num) == int { str(ordinal-num) } else { ordinal-num } // Main if-else tree for this function let ordinal-suffix = if ordinal-str.ends-with(regex("1[...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/examples/graphs/schoolbook.typ
typst
#import "@preview/cetz:0.2.2" #import "@local/stdlib:0.1.0" as stdlib: * #import cetz.draw: * #let axes-opts = ( grid: ( stroke: (paint: black.lighten(50%), thickness: 0.1pt), ), minor-grid: ( stroke: (paint: black.lighten(75%), thickness: 0.1pt), ), x: ( // grid: (stroke: blue + 0.1pt),...
https://github.com/marcelarie/marcelarie
https://raw.githubusercontent.com/marcelarie/marcelarie/main/marcel-cv.typ
typst
#import "@preview/modern-cv:0.3.0": * #show: resume.with( author: ( firstname: "Marcel", lastname: "Manzanares", email: "<EMAIL>", phone: "(+34) 647 147 012", github: "marcelarie", linkedin: "marcelarie", address: "Barcelona", positions: ( "Software Engineer", ), ), date...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/identify-intake.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Identify Problem: Intaking Triballs", type: "identify", date: datetime(year: 2023, month: 8, day: 5), author: "<NAME>", witness: "<NAME>", ) In order to be able to man...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/glossy/0.1.1/examples/readme.typ
typst
Apache License 2.0
// a minimal example, also listed in the README #import "@preview/glossy:0.1.1": * #let myGlossary = ( (key: "html", short: "HTML", long: "Hypertext Markup Language", description: "A standard language for creating web pages", group: "Web"), (key: "css", short: "CSS", long: "Cascading Style Sheets", descriptio...
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/3d-druck-agb.typ
typst
Creative Commons Zero v1.0 Universal
#import "templates/tmpl_doc.typ": tmpl_doc #show: doc => tmpl_doc( title: "3D Druck Service - AGB", changes: ( [v1.0], [29.07.2021], [erste Fassung], ), doc, ) = Geltungsbereich + Diese Geschäftsbedingungen gelten für Geschäftsbeziehungen jeglicher Art zwischen dem swablab e.V. und dem Besteller also Unte...
https://github.com/dyc3/ssw-555-agile-methods
https://raw.githubusercontent.com/dyc3/ssw-555-agile-methods/main/apatest.typ
typst
#import "apa.typ": * #show: apa.with( title: "Example APA Document", running-head: "Running head", authors: ( ( name: "<NAME>", affiliation: "University of Nowhere" ), ( name: "<NAME>", affiliation: "University of Nowhere" ), ( name: "<NAME>", affiliation: "US Department of Nothing" ) ...
https://github.com/chaosarium/typst-templates
https://raw.githubusercontent.com/chaosarium/typst-templates/main/slides-simple/lib.typ
typst
// based on https://github.com/skriptum/Diatypst #let layouts = ( "small": ("height": 9cm, "space": 1.4cm), "medium": ("height": 10.5cm, "space": 1.6cm), "large": ("height": 12cm, "space": 1.8cm), ) #let slides( content, title: none, subtitle: none, date: none, authors: (), layout: "medium", r...
https://github.com/lkndl/typst-bioinfo-thesis
https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/main.typ
typst
#import "modules/template.typ": * #import "chapters/0_abstract.typ": de_abstract, en_abstract #import "@preview/tablex:0.0.6": tablex, hlinex #show: doc.with( author: "<NAME>", lang: "en", title: [ Quantum~Algorithms for~Bioinformatic~Applications: Navigating~the~DNA~Multiverse ], short-title: [qua...
https://github.com/timetraveler314/Note
https://raw.githubusercontent.com/timetraveler314/Note/main/24Spring/Calculus/Calculus.typ
typst
#import "@local/MetaNote:0.0.1" : * #import "@preview/physica:0.9.0": * #import "@preview/pinit:0.1.2": * #let pinit-highlight-equation-from(height: 2em, pos: bottom, fill: rgb(0, 180, 255), highlight-pins, point-pin, body) = { pinit-highlight(..highlight-pins, dy: -0.6em, fill: rgb(..fill.components().slice(0, -1),...
https://github.com/exdevutem/taller-git
https://raw.githubusercontent.com/exdevutem/taller-git/main/template.typ
typst
#let template(doc) = [ // Lenguaje del documento. #set text(lang: "es") // Las secciones se enumeran. #set heading(numbering: "1.") // Vuelve las secciones principales negritas. #show outline.entry.where(level: 1): it => { v(12pt, weak: true) strong(it) } // Muestra lo...
https://github.com/Catlordx/WUT-LAB-Report-Typst-Template
https://raw.githubusercontent.com/Catlordx/WUT-LAB-Report-Typst-Template/master/wut.typ
typst
MIT License
#let conf( title: none, number: none, course: none, college: none, teacher: none, author: none, class: none, from: none, to: none, which: none, doc, ) = { set page(paper: "a4", margin: (bottom: 2.54cm, top: 2.54cm, left: 3.18cm, right: 3.18cm), numbering: "1") // TODO: This maybe a bug set t...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/dict-05.typ
typst
Other
// Test dictionary methods. #let dict = (a: 3, c: 2, b: 1) #test("c" in dict, true) #test(dict.len(), 3) #test(dict.values(), (3, 2, 1)) #test(dict.pairs().map(p => p.first() + str(p.last())).join(), "a3c2b1") #dict.remove("c") #test("c" in dict, false) #test(dict, (a: 3, b: 1))
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/src/base-type.typ
typst
Other
#import "ctx.typ": z-ctx #import "assertions-util.typ": assert-boilerplate-params /// Schema generator. Provides default values for when defining custom types. #let base-type( name: "unknown", description: none, optional: false, default: none, types: (), assertions: (), pre-transform: (self, it) => it, ...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework11.typ
typst
#import "../template.typ": * #show: project.with( title: "Calculus Homework #11", authors: (( name: "<NAME> (#47)", email: "<EMAIL>", phone: "3230104585" ),), date: "December 9, 2023", ) #let int = math.integral = P192 习题4-1 1 #ac $ int (1-x)(1-2x)(1-3x) dx &= int (1-6x+11x^2-6x^3) dx\ &= -3/2 x^...
https://github.com/DeveloperPaul123/modern-cv
https://raw.githubusercontent.com/DeveloperPaul123/modern-cv/main/docs/manual.typ
typst
Other
#import "../lib.typ" #import "@preview/tidy:0.3.0" #let docs = tidy.parse-module( read("../lib.typ"), name: "Modern CV", scope: (resume: lib), ) #tidy.show-module(docs)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/vienna-tech/0.1.0/template/main.typ
typst
Apache License 2.0
#import "@preview/vienna-tech:0.1.0": * // Fancy Representation for LaTeX and Typst #let typst = { text(font: "Linux Libertine", weight: "semibold", fill: eastern)[typst] } #let latex = { set text(font: "New Computer Modern") box(width: 2.55em, { [L] place(top, dx: 0.3em, text(size: 0.7em)[A]) ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F00.typ
typst
Apache License 2.0
#let data = ( ("GREEK SMALL LETTER ALPHA WITH PSILI", "Ll", 0), ("GREEK SMALL LETTER ALPHA WITH DASIA", "Ll", 0), ("GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA", "Ll", 0), ("GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA", "Ll", 0), ("GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA", "Ll", 0), ("GREEK SMALL L...
https://github.com/Complex2-Liu/macmo
https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-11.typ
typst
#import "../lib/math.typ": problem, proof, note, ans #problem[ 试确定满足以下三个条件的所有正整数数列 $(a_n)_(n >= 1)$: #enum(numbering: "(i)", indent: 1em)[ 对任意的整数 $n >= 1$ 都有 $a_n < a_(n + 1)$; ][ 对任意的整数 $n >= 1$ 都有 $a_(2n) = a_n + n$; ][ 若 $a_n$ 是素数, 则 $n$ 是素数. ] 并给出以上的证明. ] #proof[ 条件 (i) 和 (ii) 告诉我们 $a_(...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap7/5_building_series_parallel_resistor_circuits.typ
typst
Other
#import "../../core/core.typ" === Building series-parallel resistor circuits Once again, when building battery/resistor circuits, the student or hobbyist is faced with several different modes of construction. Perhaps the most popular is the #emph[solderless breadboard]: a platform for constructing temporary circuits ...
https://github.com/JamesWilmot/master-applied-cybernetics-2025
https://raw.githubusercontent.com/JamesWilmot/master-applied-cybernetics-2025/main/application/Wilmot_James_Portfolio.typ
typst
#import "@preview/fontawesome:0.4.0": * #import "@preview/modernpro-coverletter:0.0.3": * #show: statement.with( font-type: "PT Serif", name: [], address: [], contacts: ( (text: [#fa-icon("location-dot") UK]), (text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"), (text: [#fa-icon("link...
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/README.md
markdown
# Improving Isabelle/VSCode: Towards Better Prover IDE Integration via Language Server Bachelor's Thesis in *Informatics: Games Engineering* at [TUM](https://www.tum.de/). The thesis and colloquium presentation slides are written with [Typst](https://typst.app/). The thesis template is my own, and may be released sepa...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/only-uncover.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 30pt) #polylux-slide[ before #only(2)[*displayed only on subslide 2*] after before #uncover(2)[*uncovered only on subslide 2*] after ]
https://github.com/QuadnucYard/crossregex-typ
https://raw.githubusercontent.com/QuadnucYard/crossregex-typ/main/README.md
markdown
MIT License
# crossregex-typ A crossword-like game written in Typst. You should fill in letters to satisfy regular expression constraints. Currently, _squares_ and _regular hexagons_ are supported. > [!note] > This is not a puzzle solver, but a puzzle layout builder. It takes inspiration from a web image, which derives our stan...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/pipeline/stages/computation.typ
typst
The Unlicense
#let compute(commands, middleware) = { commands.map(cmd=>cmd + middleware(cmd,(:))) }
https://github.com/a-kkiri/SimpleNote
https://raw.githubusercontent.com/a-kkiri/SimpleNote/main/main.typ
typst
Apache License 2.0
#import "template.typ": * #show: template.with( // 笔记标题 title: [SimpleNote], // 在页眉展示的短标题(选填) short-title: "SimepleNote", // 笔记描述(选填) description: [ 此模板修改自 #link("https://github.com/jskherman/jsk-lecnotes")[jsk-lecnotes] \ Winter 2023 ], // 笔记创建日期(选填) date: datetime(year: 2023, month: 12, day: 1...
https://github.com/huyufeifei/grad
https://raw.githubusercontent.com/huyufeifei/grad/master/docs/paper/src/template/template.typ
typst
#import "fakebold.typ": * #import "util.typ": * #import "ch_padding.typ": ch_padding #let fsz = ( chu: 42pt, s_chu: 36pt, one: 26pt, s_one: 24pt, two: 22pt, s_two: 18pt, three: 16pt, s_three: 15pt, four: 14pt, m_four: 13pt, s_four: 12pt, five: 10.5pt, s_five: 9pt, six: 7.5pt, s_six: 6.5pt...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/template/main.typ
typst
Apache License 2.0
/*** main.typ * * The main document to be compiled. Run * * typst compile main.typ * * to perform the compilation. If you are writing a multi-file * project, this file is where you need to include your content * files. * ***/ //// Initialize document type. #import "@preview/scholarly-tauthesis:0.4.0" as ta...
https://github.com/wildabc/Gu-Xingqing-Memoirs
https://raw.githubusercontent.com/wildabc/Gu-Xingqing-Memoirs/main/欧战工作回忆录.typ
typst
#let chinesedigits(n) = { let dict = ( "0": "〇", "1": "一", "2": "二", "3": "三", "4": "四", "5": "五", "6": "六", "7": "七", "8": "八", "9": "九", ) let s = str(n) s.clusters().m...
https://github.com/jakobjpeters/Typstry.jl
https://raw.githubusercontent.com/jakobjpeters/Typstry.jl/main/docs/source/index.md
markdown
MIT License
```@meta DocTestSetup = :(using Typstry) ``` # Home ## Introduction Typstry.jl is the interface to convert the computational power of Julia into beautifully formatted Typst documents. ### What is Typst? Typst is an open-source and relatively new typesetting system (written in Rust 🦀🚀), [designed to improve upon...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-calculation.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.ref-page.with(title: [参考:数值计算]) #let table-lnk(name, ref, it, scope: (:), res: none, ..args) = ( align(center + horizon, link("todo", name)), it, align( horizon, { set heading( bookmarked: false, outlined: false, ) eval(it.text, mode: "m...
https://github.com/EGmux/PCOM-2023.2
https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q12.typ
typst
=== O padrão ASCII possui 128 char's, que são codificados em binário. Se um certo computador gera 100.000 char's por segundo, determine: \ ==== a) O número de bits requerido por caracter. \ se ele gera 100.000 caracteres por segundo e assumindo que caractere representa um símbolo #math.equation(block: true, $ R_s &=...