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/circuiteria/0.1.0/src/elements/logic/or.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw #import "gate.typ" #let draw-shape(id, tl, tr, br, bl, fill, stroke) = { let (x, y) = bl let (width, height) = (tr.at(0) - x, tr.at(1) - y) let t = (x + width / 2, y + height) let b = (x + width / 2, y) let ctrl-bl = (x + width / 2, y) let ctrl-br = (x + width * 0.8, y...
https://github.com/raffiii/kit-thesis-typst-template
https://raw.githubusercontent.com/raffiii/kit-thesis-typst-template/main/kit-template.typ
typst
// Organized by functions for each section // numbering #let numbered(numbering-format,doc) = [ #pagebreak(to: "odd", weak: true) #set page(numbering: numbering-format) #counter(page).update(1) #counter(heading).update(0) #doc ] // Title page: KIT and institute logos in the upper corners, title, author, ins...
https://github.com/Enter-tainer/wavy
https://raw.githubusercontent.com/Enter-tainer/wavy/master/wavy.typ
typst
MIT License
#import "./typst-package/lib.typ" as wavy // Uncomment the following line to use the wavy from the official package registry // #import "@preview/wavy:0.1.1" #set page(height: auto, width: auto, fill: black, margin: 2em) #set text(fill: white) #show raw.where(lang: "wavy"): it => wavy.render(it.text, width: 20cm) = W...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-33.typ
typst
Other
// Test the `sorted` method. #test(().sorted(), ()) #test(().sorted(key: x => x), ()) #test(((true, false) * 10).sorted(), (false,) * 10 + (true,) * 10) #test(("it", "the", "hi", "text").sorted(), ("hi", "it", "text", "the")) #test(("I", "the", "hi", "text").sorted(key: x => x), ("I", "hi", "text", "the")) #test(("I", ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/content_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test non-equation math directly in content. #math.attach($a$, t: [b])
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/034%20-%20Dominaria/005_Return%20to%20Dominaria%3A%20Episode%205.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Return to Dominaria: Episode 5", set_name: "Dominaria", story_date: datetime(day: 11, month: 04, year: 2018), author: "<NAME>", doc ) "Thank you for meeting me here," Ajani said. Jhoira inclined her head. "I assume you want me to help the ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/github-pages/docs/data-flow-standalone.dark.typ
typst
Apache License 2.0
#import "graphs.typ": data-flow-graph #set page(height: auto, width: auto, margin: 0.5em) #set text(fill: white) #show link: underline #figure( data-flow-graph(stroke: white, bg-color: rgb(13, 17, 23), light-theme: false), caption: [Figure: Browser-side module needed: $dagger$: compiler; $dagger.double$: rendere...
https://github.com/rdboyes/resume
https://raw.githubusercontent.com/rdboyes/resume/main/modules_zh/skills.typ
typst
// Import #import "@preview/brilliant-cv:2.0.2": cvSection, cvSkill, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #cvSection("技能与兴趣") #cvSkill( type: [语言], info: [英语 #hBar() 法语 #hBar() 中文], ) #cvSkill( type: [技术栈], info: [Tableau #hBar() Python (Pandas/Nu...
https://github.com/Nerixyz/icu-typ
https://raw.githubusercontent.com/Nerixyz/icu-typ/main/docs/docs/fmt-zoned-datetime.md
markdown
MIT License
# `fmt-zoned-datetime` 🚧 <!-- prettier-ignore --> !!!warning This function is experimental and can change at any time. ```typst-code let fmt-zoned-datetime( dt, zone, locale: "en", fallback: "localized-gmt", date-length: "long", time-length: "long" ) ``` Formats a date and a time in a timezone. Dat...
https://github.com/kazuyanagimoto/quarto-clean-typst
https://raw.githubusercontent.com/kazuyanagimoto/quarto-clean-typst/main/README.md
markdown
MIT License
# Quarto-Clean-Typst Format A minimalistic presentation theme for Quarto + Typst + [Touying](https://touying-typ.github.io). Theme design is deeply inspired by <NAME>'s [Clean theme](https://github.com/grantmcdermott/quarto-revealjs-clean) for Quarto + Reveal.js. Click the image below to see a long [demo](https://ka...
https://github.com/dnx04/cv
https://raw.githubusercontent.com/dnx04/cv/main/cv.typ
typst
#import "template/lib.typ": * #let metadata = toml("cv_dnx04.toml") #show: cv.with(metadata) #let cvSection = cvSection.with(metadata: metadata) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Education") #cvEntry( title: [Bachelor in Computer Sciences, 3rd year], society: [University of Engineering...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/算法导论/算法复杂度.typ
typst
The Unlicense
#import "../template.typ": * #show: project.with( title: "1", authors: ( "absolutex", ) ) = 1 算法复杂度作业 == 按照从增长量级低至高对下列函数进行排序 `f2<f1<f4<f3` == 按照从增长量级低至高对下列函数进行排序 `f1<f4<f3<f2` == 按照从增长量级低至高对下列函数进行排序 `f4<f1<f3<f2` == 课本4.3-1:证明 $T(n) = T(n-1)+n$ 的解为 $O(n^2)$ 即证明 $T(n) <= c n^2$。 假定 $m=n-1$,有 $T(n-1) <= c (n...
https://github.com/duskmoon314/typst-fontawesome
https://raw.githubusercontent.com/duskmoon314/typst-fontawesome/main/README.md
markdown
MIT License
# typst-fontawesome A Typst library for Font Awesome icons through the desktop fonts. p.s. The library is based on the Font Awesome 6 desktop fonts (v6.6.0) ## Usage ### Install the fonts You can download the fonts from the official website: https://fontawesome.com/download After downloading the zip file, you can...
https://github.com/darkMatter781x/OverUnderNotebook
https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/versioning/versioning.typ
typst
#import "/packages.typ": notebookinator, gentle-clues #import notebookinator: * #import themes.radial.components: * #import gentle-clues: * #import "/util.typ": qrlink #show: create-body-entry.with( title: "Decide: Version Control", type: "decide", date: datetime(year: 2024, month: 3, day: 5), author: "<NAME>...
https://github.com/jiang131072/casual-szu-report
https://raw.githubusercontent.com/jiang131072/casual-szu-report/main/README.md
markdown
MIT License
# casual-szu-report A Typst template for SZU course reports. ## Usage Example is at `template/main.typ`. TLDR: ```typst #import "lib.typ": template #show: template.with( course-title: [养鸡学习], experiment-title: [养鸡], faculty: [养鸡学院], major: [智能养鸡], instructor: [鸡老师], reporter: [鸡], student-id: [414401...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/document_symbols/headings-in-blocks.typ
typst
Apache License 2.0
#let a = [ == Heading 1 #lorem(1) #let b = [ // todo: there is a bug == Heading 2 #lorem(1) ] ]
https://github.com/YouXam/soviet-matrix
https://raw.githubusercontent.com/YouXam/soviet-matrix/main/README.md
markdown
MIT License
# soviet-matrix This is a classic Tetris game implemented using Typst. The goal is to manipulate falling blocks to create and clear horizontal lines without letting the blocks stack up to the top of the playing field. ![](./demo.gif) ## How to Play You can play the game in two ways: 1. **Online:** - Visit [http...
https://github.com/coljac/swinburne-phd-typst
https://raw.githubusercontent.com/coljac/swinburne-phd-typst/main/thesis.typ
typst
#import "template.typ": * #show: thesis.with(title: "My Typst Thesis", author: "<NAME>", for_binding: false // Set this to true to have odd/even margins for printing )[ // ======================================================= // Front matter: Abstract, acknowledgements, declaration // =========================...
https://github.com/PA055/5839B-Notebook
https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Notebooks/Programming.typ
typst
#import "../notebookinator/lib.typ": * #import themes.radial: radial-theme, components, colors #import colors: * #show: notebook.with(theme: radial-theme, title: "5839B's Programming Notebook", team-name: "5839B", season: "Water Game", year: "2024-2025") #create-frontmatter-entry( title: "Table of Contents",...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2008/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], [3188], [2], [WANG Hao], [CHN], [3138], [3], [WANG Liqin], [CHN], [2997], [4], [MA Long], [CHN], [2...
https://github.com/halt23/math
https://raw.githubusercontent.com/halt23/math/main/test.typ
typst
#set heading(numbering: "1.") = Wiskunde hoofdstuk 4 combinatoriek == Regels voor telproblemen \ *11* Kieze uit de letters *A, B , C of D* Codes van twee letters waarbij 1 is anders dan twee #sym.arrow.r $4 dot 3 = 12$ mogelijkheden. Codes van twee letters 1 en 2 kunnen herzelfde zijn #sym.arrow.r $4 dot 4 = 16$ m...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/086.%20ycombinator.html.typ
typst
ycombinator.html A New Venture Animal March 2008, rev May 2013(This essay grew out of something I wrote for myself to figure out what we do. Even though Y Combinator is now 3 years old, we're still trying to understand its implications.) I was annoyed recently to read a description of Y Combinator that said "Y Combin...
https://github.com/refparo/resume
https://raw.githubusercontent.com/refparo/resume/main/resume.typ
typst
MIT License
#import "chicv.typ": * #show: chicv = <NAME> #fa[#envelope] <EMAIL> | #fa[#github] #link("https://github.com/skyzh")[github.com/skyzh] | #fa[#globe] #link("https://skyzh.dev")[skyzh.dev] | #fa[#linkedin] #link("https://www.linkedin.com/in/alex-chi-skyzh/")[alex-chi-skyzh] == Education #cventry( tl: "Carnegie Mell...
https://github.com/qjcg/awesome-typst
https://raw.githubusercontent.com/qjcg/awesome-typst/main/README_ZH.md
markdown
Creative Commons Zero v1.0 Universal
<p align=center> <a href="README.md" hreflang="en" lang="en">English</a> | <a href="README_ZH.md" hreflang="zh" lang="zh">简体中文</a> </p> # Awesome Typst 中文版 [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) > Awesome Typst 列表中文版(持续维护至最新),最初为已不再维护的 [typst-cn/awesome-typst-cn](https://github.com/typst-...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/matrix.typ
typst
Apache License 2.0
#import "vector.typ" #let cos(angle) = { return calc.round(calc.cos(angle), digits: 10) } #let sin = calc.sin #let pi = calc.pi /// Create identity matrix with dimensions $m times n$ /// /// - m (int): Rows /// - n (int): Columns /// - one (float): Value to set as $1$ /// - zero (float): Value to set as $0$ /// -...
https://github.com/ice1000/website
https://raw.githubusercontent.com/ice1000/website/main/dtt-dev/config.typ
typst
#import "@preview/ctheorems:1.1.2": * #let alpha = "33" #let theorem = thmbox("theorem", "Theorem", breakable: true, fill: rgb("#eeffee" + alpha)) #let lemma = thmbox("lemma", "Lemma", breakable: true, fill: rgb("#eeffee" + alpha)) #let corollary = thmbox("corollary", "Corollary", breakable: true, fill: rgb("#eeffee" ...
https://github.com/herbhuang/utdallas-thesis-template-typst
https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/content/introduction.typ
typst
MIT License
#import "/utils/todo.typ": TODO = Introduction #TODO[ Introduce the topic of your thesis, e.g. with a little historical overview. ] == Problem #TODO[ Describe the problem that you like to address in your thesis to show the importance of your work. Focus on the negative symptoms of the currently available solution...
https://github.com/jasonelaw/typst-templates
https://raw.githubusercontent.com/jasonelaw/typst-templates/main/pdx-bes-memo/0.1.0/template/template.typ
typst
MIT License
#import "@local/pdx-bes-memo:0.1.0": bes-memo #show: rest => bes-memo( sender: "<NAME>", recipient: "<NAME>", date: datetime.today().display(), re: "Typst Memo", rest ) This is a Typst template for a City of Portland Bureau of Environmental Services memo. The template is based on the standard BES Microsoft W...
https://github.com/OverflowCat/sigfig
https://raw.githubusercontent.com/OverflowCat/sigfig/neko/README.md
markdown
MIT License
# `sigfig` `sigfig` is a [Typst](https://typst.app/) library for rounding numbers with [significant figures](https://en.wikipedia.org/wiki/Significant_figures) and [measurement uncertainty](https://en.wikipedia.org/wiki/Measurement_uncertainty). ## Overview ```typ #import "@preview/sigfig:0.1.0": round, uroun...
https://github.com/mrknorman/evolving_attention_thesis
https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/01_intro/01_introduction.typ
typst
#set page(numbering: "1", number-align: center) #set heading(numbering: "1.1.1") #counter(page).update(1) #counter(heading).update(0) #set math.equation(numbering: it => {[1.#it]}) #counter(math.equation).update(0) #counter(figure).update(0) = Introduction <intro-sec> We live in an exciting time. Now dawns an age ...
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/templates/bachelor-thesis/lib.typ
typst
MIT License
// This file is redundant, but required by the Typst packaging system
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/03-unicode/store/utf8.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ### UTF-8 === UTF-8 // But UTF-16 still uses *two whole bytes* for every ASCII and Western European Latin character, which sadly are the only characters that any p...
https://github.com/CHHC-L/JI-Lab-Report-Typst
https://raw.githubusercontent.com/CHHC-L/JI-Lab-Report-Typst/master/example.typ
typst
#import "template.typ": * #show: project.with( course: "Signals and Systems", code:"VE216", lab:3, title: "Feedback Control", authors: ( (name: "Waibi", affiliation: "12345678"), (name: "Babu", affiliation: "87654321"), (name: "<NAME>", affiliation: "42424242"), ), date: "April 2024", ) = Ob...
https://github.com/cmoog/tex2typst
https://raw.githubusercontent.com/cmoog/tex2typst/master/README.md
markdown
MIT License
# tex2typst > Work in progress. Does not yet support all builtin identifiers or layouts. The goal is to generate high quality conversions with a complete focus on the math subset of each language. Convert TeX Math to [Typst](https://github.com/typst/typst) Math. ## Build from source ```console nix build ./result/b...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/code/code_updated.typ
typst
`print("updated line")` `print("second line")`
https://github.com/Ttajika/typst_template_tajika
https://raw.githubusercontent.com/Ttajika/typst_template_tajika/main/libs/useful_functions.typ
typst
#import "translation.typ": * #let cap_body(it) = {if it != none {return it.body} else {return it} } #let inactive_versions(name_varsion) = { let name_version(title: none, label:none, body) = { } } //autonumbering equations #let tjk_numb_style(tag,tlabel,name,numbering:"(1)") = { if tag == true or name...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-columns_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 120pt) #align(center, strong[Title]) #show: columns.with(2) #lorem(3) #footnote(lorem(6)) Hello there #footnote(lorem(2))
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Crittografia/Introduzione.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Si consideri una situazione in cui si vuole inviare un messaggio opportunamente "occultato" di modo che solamente i destinatari intesi a riceverlo siano in grado di rimuovere l'occultamento e poter leggere il messaggio. Ovvero, non si ha interesse ad impedire a terze parti di poter trov...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/aero-check/0.1.0/README.md
markdown
Apache License 2.0
# aero-check This template is meant to create checklists with a style inspired by aviation checklists. It includes 2 different styles! ## Usage Start your checklist with the following code: ```typst #import "@preview/aero-check:0.1.0": * #show: checklist.with( title: "Title", // disclaimer: "", // 0 or 1 ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10140.typ
typst
Apache License 2.0
#let data = ( ("GREEK ACROPHONIC ATTIC ONE QUARTER", "Nl", 0), ("GREEK ACROPHONIC ATTIC ONE HALF", "Nl", 0), ("GREEK ACROPHONIC ATTIC ONE DRACHMA", "Nl", 0), ("GREEK ACROPHONIC ATTIC FIVE", "Nl", 0), ("GREEK ACROPHONIC ATTIC FIFTY", "Nl", 0), ("GREEK ACROPHONIC ATTIC FIVE HUNDRED", "Nl", 0), ("GREEK ACROP...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/oktoich/1_generated/0_all/Hlas8.typ
typst
#import "../../../all.typ": * #show: book = #translation.at("HLAS") 8 #include "../Hlas8/0_Nedela.typ" #pagebreak() #include "../Hlas8/1_Pondelok.typ" #pagebreak() #include "../Hlas8/2_Utorok.typ" #pagebreak() #include "../Hlas8/3_Streda.typ" #pagebreak() #include "../Hlas8/4_Stvrtok.typ" #pagebreak() #include "../H...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/georges-yetyp/0.1.0/lib.typ
typst
Apache License 2.0
#let rapport( nom: none, entreprise: ( nom: none, adresse: none, téléphone: none, logo: none, ), filière: "INFO", année: 5, titre: none, référent: none, responsable: none, tuteur: none, période: [25 Mars 2024 -- 25 Août 2024], résumé: none, fonte: "New Computer Modern", glossai...
https://github.com/Caellian/UNIRI_voxels_doc
https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/content/generiranje.typ
typst
= Proceduralno generiranje <pcg> Proceduralno generiranje volumetrijskih podataka je idealno za aplikacije koje se ne koriste stvarnim podacima jer se oslanja na dobre karakteristike definicije putem pravila, a izbjegava nedostatak velikih prostornih zahtjeva na uređajima za trajnu pohranu. #pagebreak()
https://github.com/hei-templates/hevs-typsttemplate-thesis
https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/02-main/02-introduction.typ
typst
MIT License
#import "../00-templates/helpers.typ": * #pagebreak() = Introduction <sec:intro> == Context Problem #acrfull(acr-ar) #gls-scrum.name #gls-scrum.description #cite(<stateoftheArt>) #cite(<stateoftheArt>, supplement:[p.7ff]) ```rust fn main() {} ``` #lorem(50) == Objectives #lorem(50) == Structure of this report ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliEsterni/VerbaleEsterno_240402/content.typ
typst
MIT License
#import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro, company #import "functions.typ": glossary, team #let participants = csv("participants.csv") #let participants_company = csv("participants_company.csv") #show link: underline = Partecipanti / Inizio incontro: #inizio_incontro / Fine incontro: #fine_inco...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-22.typ
typst
Other
// Trailing placeholders. // Error: 10-11 not enough elements to destructure #let (a, _, _, _, _) = (1,) #test(a, 1)
https://github.com/PhilChodrow/cv
https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/grants.typ
typst
#import "../template.typ": * #cvSection("Grants, Fellowships and Funding") #cvEntry( title: [RUI: Network Evolution with Unobserved Mechanisms (\$287,522)], organisation: [National Science Foundation (NSF)], logo: "", date: [2024-2027], location: [Middlebury, VT], ) // #divider() #cvEntry( ...
https://github.com/matzemathics/typst-template
https://raw.githubusercontent.com/matzemathics/typst-template/main/src/main.typ
typst
#import "template.typ": * #show: project.with( title: "Typst template document", authors: ( (name: "<NAME>", email: "<EMAIL>"), ), ) = Introduction #lorem(60) == In this paper #lorem(20) === Contributions #lorem(40) = Related Work #lorem(500) #bibliography("references.bib")
https://github.com/linsyking/messenger-manual
https://raw.githubusercontent.com/linsyking/messenger-manual/main/generalmodel.typ
typst
#pagebreak() = General Model In previous sections, we discussed the general model. Its definitions are as follows: ```elm type AbstractGeneralModel env event tar msg ren bdata sommsg = Roll { update : env -> event -> ( AbstractGeneralModel env event tar msg ren bdata sommsg, List (Msg tar msg sommsg), ( ...
https://github.com/Matt-Tansley/quarto-typst-landscape
https://raw.githubusercontent.com/Matt-Tansley/quarto-typst-landscape/main/README.md
markdown
# quarto-typst-landscape ![Preview of this template](example.png) ## Installing ``` bash quarto use template Matt-Tansley/quarto-typst-landscape ``` This will install the format extension and create an example qmd file that you can use as a starting place for your document. ## Using Basic landscape template for u...
https://github.com/dead-summer/math-notes
https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/ScientificComputing/ch2-scalar-nonlinear-eqns/the-bisection-method.typ
typst
#import "/book.typ": book-page #import "../../../templates/conf.typ": * #import "@preview/mitex:0.2.4": * #show: book-page.with(title: "The Bisection Method") #show: codly-init.with() #show: thmrules.with(qed-symbol: $square$) #codly_init() = 1 The Bisection Method Assume the values of function $f(x)$ at the end poi...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/textsTmp.typ
typst
#import "../style.typ": * #let trojsvatePoOtcenas = [ #lettrine("Svätý Bože, Svätý Silný, Svätý Nesmrteľný, zmiluj sa nad nami. (3x)") #lettrine("Sláva Otcu i Synu i Svätému Duchu.") #lettrine("I teraz i vždycky i na veky vekov. Amen.") #lettrine("Presvätá Trojica, zmiluj sa nad nami. Pane, očisť nás od naš...
https://github.com/jeffa5/typst-cambridge
https://raw.githubusercontent.com/jeffa5/typst-cambridge/main/README.md
markdown
MIT License
# Typst Cambridge templates A set of University of Cambridge styled templates. ## Slides Using [typst-slides](https://github.com/andreasKroepelin/typst-slides) template. See the [manual](slides/manual.pdf). ## PhD Thesis/Dissertation See the [manual](thesis/manual.pdf).
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/copy-paste-00.typ
typst
Other
The after fira 🏳️‍🌈! #set text(lang: "ar", font: "Noto Sans Arabic") مرحبًا
https://github.com/trace1729/typst-template
https://raw.githubusercontent.com/trace1729/typst-template/main/main.typ
typst
#import "template.typ": * #show: project.with( title: "TITLE", authors: ( ( name: "Wonderland", email: "<EMAIL>" ), ), ) = Section 段落以及基本的 markup 语法 == Sub-section Now we *know* _how_ to #highlight[mark files] as intentionally #text(red)[untracked] (ignored). - First, you should never c...
https://github.com/Pablo-Gonzalez-Calderon/apuntes-botanica
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/apuntes-botanica/main/src/figures/fig.typ
typst
Other
#let fig_epidermis = block( ) #let fig_tricomas = block( ) #let fig_celula_oclusiva = block( ) #let fig_estoma_en_epidermis = block( )
https://github.com/typst-community/mantodea
https://raw.githubusercontent.com/typst-community/mantodea/main/src/link.typ
typst
MIT License
#import "/src/_valid.typ" #import "/src/theme.typ" as _theme #let _type = type /// The type links supported by `type`. /// /// Can be used to add new or alter exisiting type links. /// /// The default contains the typst built in types, including the special types /// which contain no page like `any`, linking to the t...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/207.%20smart.html.typ
typst
smart.html Beyond Smart October 2021If you asked people what was special about Einstein, most would say that he was really smart. Even the ones who tried to give you a more sophisticated-sounding answer would probably think this first. Till a few years ago I would have given the same answer myself. But that wasn't wha...
https://github.com/dyc3/senior-design
https://raw.githubusercontent.com/dyc3/senior-design/main/visualization-design.typ
typst
= Visualization Design <Chapter::Visualization-Design> The visualization serves a dual purpose: To communicate the functionality of the load balancer at a glance to a non-technical audience, and to serve as a useful debugging tool during development. #figure( image("figures/vis/DOM-class-visualization.svg"), capt...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2010/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], [MA Long], [CHN], [3264], [2], [WANG Hao], [CHN], [3140], [3], [ZHANG Jike], [CHN], [3090], [4], [MA Lin], [CHN], [3...
https://github.com/tinnamchoi/resumes
https://raw.githubusercontent.com/tinnamchoi/resumes/master/src/resume.typ
typst
#import "preamble.typ": * #show: doc => template(doc) #set page(margin: 0.75cm) #header(name: name, links: links) #v(1fr) #state("center_style").update(40%) = Education #education( institution: "Technical University of Munich", degree: "Informatics (Exchange)", location: "Munich, Germany", from: "2024 Ap...
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/src/util/assert.typ
typst
MIT License
#import "/src/util/core.typ" as _core #import _core: queryable-functions as _queryable-functions /// Assert that `value` is any of the given `expected-values`. /// /// - name (str): The name use for the value in the assertion message. /// - value (any): The value to check for. /// - message (str, auto): The assertion ...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/03-polynomials/!sec.typ
typst
Other
#import "../../config.typ" #if config.enable-chapters-from-sem1 [ = Многочлены #include "01-polys-power-series.typ" #include "02-deg-props.typ" #include "03-div-with-remainder.typ" #include "04-subs-homomorphism.typ" #include "05-euclidian-rings.typ" #include "06-principal-ideals.typ" ...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/functions.typ
typst
MIT License
#let heading_center(title) = { v(0.5em) align( center, text( fill: rgb("#1e045b"), weight: "bold", size:22pt, title ) ) v(3em) } #let linkb(the_link,text) = { show link: underline link(the_link)[#text] } #let counter_image = counter(figure.where(kind: image)...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-invariant_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 120pt) #lorem(13) There #footnote(lorem(20))
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/decorations/midstick/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ": * #quantum-circuit( 1, $H$, midstick($ρ$), $X$ ) #pagebreak() #quantum-circuit( 1, $H$, midstick($ρ$, fill: blue, label: ("label")), $X$ ) #pagebreak() #quantum-circuit( baseline: .6fr, 1, ctrl(1), targ(), ctrl(1), midstick("=", n...
https://github.com/Bi0T1N/typst-iconic-salmon-svg
https://raw.githubusercontent.com/Bi0T1N/typst-iconic-salmon-svg/main/examples/examples.typ
typst
MIT License
#import "../iconic-salmon-svg.typ": * = Usage Examples == Facebook #facebook-info("NEFFEX", url: "https://www.facebook.com/Neffexmusic/") #h(1cm) #facebook-info("NEFFEX", url: "https://www.facebook.com/Neffexmusic", blue) == Instagram #instagram-info("janlo.pulling_pictures") #h(0.5cm) #instagram-info("janlo.pulling_...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/glossarium/0.1.0/glossarium.typ
typst
Apache License 2.0
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.1/matrix.typ
typst
Apache License 2.0
#import "vector.typ" #let cos(angle) = { return calc.round(calc.cos(angle), digits: 10) } #let sin = calc.sin #let pi = calc.pi // Create identity matrix with dim `m`, `n` #let ident(m: 4, n: 4, one: 1, zero: 0) = { ({for m in range(0, m) { ({for n in range(0, n) { if m == n { (one,) } else { (zero,...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/format/supports/cross-ref.typ
typst
Apache License 2.0
#import "/github-pages/docs/book.typ": book-page, cross-link, heading-reference #show: book-page.with(title: "Typst Supports - Cross Reference") // begin of sample #let p = "/format/supports/cross-ref-sample.typ" - #cross-link(p)[cross reference to the sample page] #let sub = heading-reference[== Subsection] - #cross...
https://github.com/isaacholt100/isaacholt
https://raw.githubusercontent.com/isaacholt100/isaacholt/main/public/maths-notes/template.typ
typst
MIT License
#import "@preview/lemmify:0.1.5": * #import "@preview/polylux:0.3.1": * #let thm-style-proof( thm-type, name, number, body ) = block(width: 100%, breakable: true)[#{ emph(thm-type) + "." if number != none { strong(number) + " " } if name != none { emph[(#name)] + " " ...
https://github.com/OverflowCat/typecharts
https://raw.githubusercontent.com/OverflowCat/typecharts/neko/themes.typ
typst
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/nesbo.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": autor #autor("<NAME>", "1960", "", "spisovatel", "Norwegian School of Economics", "thrillery", "/cj-autori/media/nesbo.jpg") Chtěl se stát profesionálním hráčem fotbalu, ale zranil se, proto začal studovat ekonomii. Stal se z něj burzovní makléř a později i finanční analytik v největší makléřsk...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/docs/param.typ
typst
Apache License 2.0
// Docs for f. #let f(/* ident after */ a) = { show it: it => it; };
https://github.com/MasterEvarior/typst-cv
https://raw.githubusercontent.com/MasterEvarior/typst-cv/main/README.md
markdown
MIT License
# typst-cv This is my CV template. For an example see [here](./cv.pdf). ## Usage Define most of your information at the beginning ```typst #let personal_profile = "A very nice text" #let personal_info = (( ( "service": "email", "display": "<EMAIL>" ), ( "service": "phone", "display": "+1 206 555 ...
https://github.com/cetz-package/cetz-venn
https://raw.githubusercontent.com/cetz-package/cetz-venn/master/tests/venn3/test.typ
typst
Apache License 2.0
#set page(width: auto, height: auto) #import "/src/lib.typ": venn3 #import "/tests/helper.typ": * #import cetz.draw: content, set-style, scale #test-case({ venn3(name: "v") content("v.a", [A]) content("v.b", [B]) content("v.c", [C]) content("v.ab", [AB]) content("v.bc", [BC]) content("v.ac", [AC]) ...
https://github.com/liuguangxi/erdos
https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p93_1.typ
typst
#import "@preview/cetz:0.2.1" #cetz.canvas(length: 10pt, { import cetz.draw: * let brown = orange.darken(40%) let os = 0.12 let sqr-mark(cor) = line(cor, (rel: (0.24, 0.24)), stroke: black+3.6pt) line((2.1, 0), (1.9, 2), stroke: yellow+3pt) line((3.1, 0), (3, 2), stroke: yellow+3pt) line((...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/core/graphics.typ
typst
#import "dimentions.typ": * // Renders rectangle with corners rounded inside // Parameters: // - width: Outer width of frame // - height: Outer height of frame // - stroke: Stroke width, use values from dimenstions.stroke // - radius: Inner radius of frame #let frame( width: 100%, height: 100%, stroke: strokes.t...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/direction/claim.typ
typst
Apache License 2.0
*Claim: the Typst compiling functions is provided by official #link("https://github.com/typst/typst")[typst]*
https://github.com/fabriceHategekimana/master
https://raw.githubusercontent.com/fabriceHategekimana/master/main/4_Usecase/Couches.typ
typst
#import "../src/module.typ" : * #pagebreak() = Librairie de réseaux de neurones Maintenant que nous avons été capable d'établire un formalisme pour la création et la manipulation de nos tableaux multidimensionnels. Nous pouvons nous lancer le défi de définir la base d'une librairie de réseaux de neuronnes et voir co...
https://github.com/ustctug/ustc-thesis-typst
https://raw.githubusercontent.com/ustctug/ustc-thesis-typst/main/chapters/math.typ
typst
MIT License
= 数学 <数学> == 数学符号 <数学符号> 《撰写手册》要求数学符号遵循 GB/T 3102.11—1993《物理科学和技术中使用的数学符号》 #footnote[原 GB 3102.11—1993,自 2017 年 3 月 23 日起,该标准转为推荐性标准。]。 该标准参照采纳 ISO 31-11:1992 #footnote[目前已更新为 ISO 80000-2:2019。], 但是与 TeX 默认的美国数学学会(AMS)的符号习惯有所区别。 具体地来说主要有以下差异: + 大写希腊字母默认为斜体,如 $ Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Ome...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/003_Prince%20Anax%2C%20Part%202.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Prince Anax, Part 2", set_name: "Theros", story_date: datetime(day: 25, month: 09, year: 2013), author: "<NAME>", doc ) Anax approached an estate near the edge of the Kolophon. There was a small gate and a small fence, and on either side of...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap1/chap1.typ
typst
Other
== Basic concepts of electricity #include "1_static_electricity.typ" #include "2_insulators_and_electron_flow.typ" #include "3_electric_circuits.typ" #include "4_voltage_and_current.typ" #include "5_resistance.typ" #include "6_voltage_and_current_practical.typ" #include "7_conventional_electron_flow.typ"
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/bytefield/0.0.4/lib/types.typ
typst
Apache License 2.0
// bf-field #let bf-field(type, index, data: none) = ( bf-type: "bf-field", field-type: type, field-index: index, data: data, ) // data-field holds information about an field inside the main grid. #let data-field(index, size, start, end, label, format: none) = { bf-field("data-field", index, data: ( ...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/link/link.typ
typst
https://typst.app/ https://pl.wikipedia.org/
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/onDestroy.typ
typst
```ts ngOnDestroy(): void { if (this.intervalId) { clearInterval(this.intervalId); } if (this.languageSubscription) { this.languageSubscription.unsubscribe(); } } ```
https://github.com/sbihel/cv
https://raw.githubusercontent.com/sbihel/cv/master/resume.typ
typst
#let cv(author: "", website: "", email: "", github: "", body) = { set document(author: author, title: author + " - Resume") set text(font: "Linux Libertine", lang: "en", size: 10pt) set page( footer: [ #set align(right) #set text(6pt) Last updated on #datetime.today().display("[month repr:lo...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/books/edna-zeenhoffer.typ
typst
#import "../dnd/dnd.typ" #import "../dnd/game/game.typ": * #show: dnd.core.charbook #let edna = dnd.game.character( name: "<NAME>", class: "Чародей", subclass: "Аберантный разум", race: "Чейнджлинг", type: "Гуманоид", alignment: "Lawful Neutral", story: "Преследуемый", spellcasting: spellcasting( ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/if-06.typ
typst
Other
// Error: 4 expected expression #if // Error: 5 expected expression #{if} // Error: 6 expected block #if x // Error: 2-6 unexpected keyword `else` #else {} // Should output `x`. // Error: 4 expected expression #if x {} // Should output `something`. // Error: 6 expected block #if x something // Should output `A th...
https://github.com/typst-community/glossarium
https://raw.githubusercontent.com/typst-community/glossarium/master/examples/full-example/main.typ
typst
MIT License
#import "../../glossarium.typ": make-glossary, register-glossary, print-glossary, gls, glspl, agls, gls-key, gls-short, gls-artshort, gls-plural, gls-long, gls-artlong, gls-longplural, gls-description, gls-group // Replace the local import with a import to the preview namespace. // If you don't know what that mean, ple...
https://github.com/raygo0312/Typst_template
https://raw.githubusercontent.com/raygo0312/Typst_template/main/main.typ
typst
#import "@local/japanese-template:0.1.0": * #show: it => jarticle( // titlepage: true, title: "Typst", office: "電気通信大学 情報理工学研究科 情報数理工学", author: "2400000 raygo", date: true, // column: true, it, ) ここに文章を入力すれば,そのまま出力されます.Latin-もいい感じにABCabcと(出力)されます.改行したい場合は\ バックスラッシュで改行できます. 空行を入れると改段落できます. アクセントは\*で*太...
https://github.com/JosephDavis/typst-starter
https://raw.githubusercontent.com/JosephDavis/typst-starter/main/docs/papers/my_paper.typ
typst
= My Paper This is a simple example of a paper written in the `typ` format.
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/07-localisation/resources.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## Resources == 参考资料 // To finish, here is a list of resources which may help you when designing and implementing for global scripts: 我们以一个参考资料列表作为本章结尾。 这些资料也许可以在...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/examples/exam-big-image.typ
typst
MIT License
#import "mod.typ": * #show: book-page.with(title: "Exam big images") // #include "./exam-big-image.doc.typ" #pagebreak() Code: #raw(block:true, read("./exam-big-image.doc.typ"), lang:"typ") // #v(5cm) // #raw(block:true, read("./exam-big-image.doc.typ"), lang:"txt") // Codigo fuente: // `...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/scope-and-visibility.typ
typst
#pagebreak() = Scope and visibility == Import and package system The FBDL has a concept of packages and allows importing packages into the file scope using the import statements. A package consists of files with `.fbd` extension placed in the same directory. A package must have at least one file and shall not be pla...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/!sec.typ
typst
Other
#import "../../config.typ" #if config.enable-chapters-from-sem2 [ = Теория групп #include "01-group-theory.typ" #include "02-related-classes.typ" #include "03-factor-groups.typ" #include "04-homomorphism.typ" #include "05-direct-prod.typ" #include "06-finitely-generated-groups.typ" #in...
https://github.com/simon-isler/zhaw-summaries
https://raw.githubusercontent.com/simon-isler/zhaw-summaries/main/Template/main.typ
typst
#import "template.typ": * #show: project.with( title: "Main Template", authors: ( "<NAME>", ), ) #include "./sections/1-template.typ"
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PreventivoSprint/DecimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": prospettoOrario, prospettoEconomico, glossary == Decimo #glossary[sprint] *Inizio*: Venerdì 16/02/2024 *Fine*: Giovedì 22/02/2024 #prospettoOrario(sprintNumber: "10") #prospettoEconomico(sprintNumber: "10...
https://github.com/lkndl/typst-bioinfo-thesis
https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/modules/bioinfo-covers.typ
typst
#import "styles.typ": * #let bioinfo-front-style(body) = { set align(center) set text(15pt, hyphenate: false) set block(spacing: .3em) set par(leading: 1.4em, justify: false) // set heading(numbering: none, outlined: false, bookmarked: false, level: 1) table( columns: (30%, 1fr, 40%), align: (x, ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/mark.typ
typst
Apache License 2.0
#import "/src/cetz.typ": draw #import "/src/axes.typ" // Draw mark at point with size #let draw-mark-shape(pt, size, mark, style) = { let sx = size let sy = size let bl(pt) = (rel: (-sx/2, -sy/2), to: pt) let br(pt) = (rel: (sx/2, -sy/2), to: pt) let tl(pt) = (rel: (-sx/2, sy/2), to: pt) let tr(pt) = (rel...