repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/antonWetzel/prettypst
https://raw.githubusercontent.com/antonWetzel/prettypst/master/changelog.md
markdown
MIT License
# Changelog ## 2024.10.20 - Update dependencies ## 2024.09.29 - **Fix** | Higher priority for labels to fix labels for headings - Update tests ## 2024.07.29 - **ADD** | Only format label in Markup - Update tests ## 2024.06.24 - **ADD** | Better formatting for `(grid|table).(cell|header|footer)` - Update tests ...
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/Tmux.typ
typst
= tmux #label("tmux") - tmux是一个优秀的终端复用软件,类似GNU Screen,但来自于OpenBSD,采用BSD授权 - 使用它最直观的好处就是,通过一个终端登录远程主机并运行tmux后,在其中可以开启多个控制台而无需再“浪费”多余的终端来连接这台远程主机 == Install #label("install") ```sh # Ubuntu sudo apt-get install tmux # MacOS brew install tmux ``` == 基本操作 #label("基本操作") ```sh tmux # 新建一个无名称的会话 tmux new -s demo # 新建一个名称...
https://github.com/OverflowCat/BUAA-Data-and-Error-Analysis-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Data-and-Error-Analysis-Sp2024/neko/5-regression/helper.typ
typst
#let hr = line(stroke: black.lighten(70%), length: 100%) #let c = x => calc.round(x, digits: 3)
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/stroke_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 29-56 unexpected key "thicknes", valid keys are "paint", "thickness", "cap", "join", "dash", and "miter-limit" // #line(length: 60pt, stroke: (paint: red, thicknes: 1pt))
https://github.com/kimushun1101/rengo2024-typst
https://raw.githubusercontent.com/kimushun1101/rengo2024-typst/main/README-en.md
markdown
MIT No Attribution
# rengo2024-typst This is a template for writing the manuscript of the 67th Japan Joint Automatic Control Conference Proceedings in Typst. For an overview of Typst, please click https://typst.app/docs/tutorial/writing-in-typst/. | Files | Description | | -------------...
https://github.com/HULKs/rust-introduction
https://raw.githubusercontent.com/HULKs/rust-introduction/main/slides/slides.typ
typst
#import "theme.typ": * #show: workshop-theme.with( footer: [Rust Introduction], ) #title-slide( title: [Rust Introduction], author: [<NAME>], ) #slide(title: "Rust Introduction")[ Learning Rust in sessions implementing a simple red ball detection. #grid( columns: (25%, 1fr), column-gutter: 10pt, ...
https://github.com/SillyFreak/typst-packages-old
https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/scrutinize/src/grading.typ
typst
MIT License
/// Takes an array of question `metadata` dictionaries and returns the sum of their points. /// Note that the points metadata is optional and may therefore be `none`; /// if your test may contain questions without points, you have to take care of that. /// /// This function also optionally takes a filter function. /// ...
https://github.com/engboris/cv-template
https://raw.githubusercontent.com/engboris/cv-template/main/cv.typ
typst
MIT License
#import "icons.typ": * /* ============================================== Style functions ============================================== */ #let sepline(color) = { v(-12pt); line(length: 100%, stroke: color); v(3pt) } /* ============================================== CV constructors ================...
https://github.com/Quaternijkon/Typst_ADSL
https://raw.githubusercontent.com/Quaternijkon/Typst_ADSL/main/lib.typ
typst
//<>在这里添加第三方库的导入 //时间轴:https://typst.app/universe/package/timeliney #import "@preview/timeliney:0.0.1" //代码块:https://typst.app/universe/package/codly #import "@preview/codly:0.2.0": * //图表:https://typst.app/universe/package/fletcher #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge //提示框:https://typ...
https://github.com/HollowNumber/DDU-Rapport-Template
https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/src/chapters/hovedafsnit.typ
typst
= Hovedafsnit #include "Hovedafsnit/ideudvikling.typ" #include "Hovedafsnit/koncept.typ" #include "Hovedafsnit/prototyper.typ" #include "Hovedafsnit/projekstyring.typ" #include "Hovedafsnit/produktion.typ" #include "Hovedafsnit/kvalitetssikring.typ"
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/android-arm-eabi/README.md
markdown
Apache License 2.0
# `@myriaddreamin/typst-ts-node-compiler-android-arm-eabi` This is the **armv7-linux-androideabi** binary for `@myriaddreamin/typst-ts-node-compiler`
https://github.com/Chasing1020/typst-cv-template
https://raw.githubusercontent.com/Chasing1020/typst-cv-template/main/resume.typ
typst
Apache License 2.0
#set document(author: "Chasing1020", title: "resume") #set page( paper: "a4", margin: (x: 1.2cm, y: 1.2cm), footer: [ #set text(fill: gray, size: 10pt) #align(right)[Last updated on Month Date, Year] ], footer-descent: 0pt, ) #set text(size: 13pt, overhang: true, lang: "en") #show heading: set text...
https://github.com/r8vnhill/keen-manual
https://raw.githubusercontent.com/r8vnhill/keen-manual/main/omp/omp_main.typ
typst
BSD 2-Clause "Simplified" License
#import "@preview/ctheorems:1.1.2": * #show: thmrules #let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em)) = One Max Problem #include "definition.typ" #include "rep_ev.typ" #include "init.typ" #include "genetic_operators.typ" == Selection Following the initialization phase, the GA enter...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/045%20-%20Kamigawa%3A%20Neon%20Dynasty/001_Kaito%20Origin%20Stories%3A%20A%20Test%20of%20Loyalty%20%26%20The%20Path%20Forward.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Kaito Origin Stories: A Test of Loyalty & The Path Forward", set_name: "Kamigawa: Neon Dynasty", story_date: datetime(day: 16, month: 12, year: 2021), author: "<NAME>", doc ) = A Test of Loyalty The street was crawling with kami tonight. T...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS2110/Quiz2StudyGuide.typ
typst
#import "../../template.typ": * #show: template.with( title: "CS 2110 Quiz 2 Study Guide", authors: ( ( name: "<NAME>", ), ), ) #set text( fill: rgb("#04055c") ) = K-Maps == Gray Codes #definition[ *Gray Codes* are a specific ordering of binary system where successive values can only differ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/truthfy/0.1.0/main.typ
typst
Apache License 2.0
// Transform a simple math equation to a string #let _strstack(obj) = obj.body.children.map(subobj => { if subobj.has("text") { subobj.text } else { if subobj.fields().len() == 0 { " " } else { _strstack(subobj.fields()) } } }).flatten().join("") // R...
https://github.com/mathias-aparicio/simple-preavis
https://raw.githubusercontent.com/mathias-aparicio/simple-preavis/main/lib.typ
typst
MIT License
#set text(lang: "fr") // le complément est optionnel #let adresse(rue, codepostal, ville, complement: "") = ( rue: rue, complement: complement, codepostal: codepostal, ville: ville ) // Formatte bien l'adresse #let affiche_adresse(adresse) = { [ #adresse.rue \ ] if adresse.complement != "" { [ ...
https://github.com/catppuccin/typst
https://raw.githubusercontent.com/catppuccin/typst/main/tests/colors/test.typ
typst
MIT License
#import "/src/lib.typ": catppuccin, themes, get-palette #set page(width: auto, height: auto) #let color-swatches(palette) = { let swatches = () for (_, color) in palette.colors { let swatch = stack( dir: ltr, spacing: 4pt, rect(fill: color.rgb, width: 15pt, height: 7pt), [#color.name (...
https://github.com/SnowManKeepsOnForgeting/NoteofModernControlTheory
https://raw.githubusercontent.com/SnowManKeepsOnForgeting/NoteofModernControlTheory/main/Chapter4/Chapter4.typ
typst
#import "@preview/physica:0.9.3": * #import "@preview/i-figured:0.2.4" #set heading(numbering: "1.1") #show math.equation: i-figured.show-equation.with(level: 2) #show heading: i-figured.reset-counters.with(level: 2) #set text(font: "CMU Serif") #let xbd = $accent(bold(x),dot)$ #let xbtilde = $accent(bold(x),tilde)$ ...
https://github.com/HarryLuoo/sp24
https://raw.githubusercontent.com/HarryLuoo/sp24/main/431/hw/1/hw5.typ
typst
#set math.equation(numbering:"(1)") #set page(margin: (x: 1cm, y: 1cm)) = HW 5, <NAME> == 3.65 - (a)$ "Recall that: Var"(a X)=a ^2 "Var"(X), "Var"(X+a) = "Var"(X).\ "Var"(2X+1)= "Var"(2X) = 4 "Var"(X) = 4*3 = 12. $ - (b) $ E[(3X - 4)^2] =& E[9X^2 - 24X + 16]\ =& 9E[X^2] - 24E[X] + 16\ =& 9*("Var"(X) + E[X]^2) - 24E[...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/typstonomicon/original_image.md
markdown
MIT License
# Image with original size This function renders image with the size it "naturally" has. **Note: starting from v0.11**, Typst tries using default image size when width and height are `auto`. It only uses container's size if the image doesn't fit. So this code is more like a legacy, but still may be useful. This works...
https://github.com/xrarch/books
https://raw.githubusercontent.com/xrarch/books/main/documents/a4xmanual/toc.typ
typst
#outline(title: "Table of Contents")
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/crates/conversion/vec2dom/README.md
markdown
Apache License 2.0
# reflexo-vec2dom Render vector format as DOM. It combines `vec2svg`, `vec2canvas`, `vec2sema` rendering. See [Typst.ts](https://github.com/Myriad-Dreamin/typst.ts)
https://github.com/JohnMeyerhoff/typst_utils
https://raw.githubusercontent.com/JohnMeyerhoff/typst_utils/master/README.md
markdown
# typst_utils Some utils for (mostly) my usecases Currently this contains listing.typ for my listings
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_09.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test a page with a single column. #set page(height: auto, width: 7.05cm, columns: 1) This is a normal page. Very normal.
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/label.typ
typst
The Unlicense
#import "../colors.typ": * #import "../metadata.typ": * #import "/utils.typ" /// A label that corresponds with one of the entry types. /// /// - type (string): Any of the radial entry types /// - size (size): The size of the label /// -> content #let label(type, size: 0.7em, radius: 1.5pt) = { let data = entry-type-...
https://github.com/danbalarin/vse-typst-template
https://raw.githubusercontent.com/danbalarin/vse-typst-template/main/template/main.typ
typst
#import "/lib/lib.typ": template, revisit #show: template.with( title: "Thesis Title", author: "Bc. <NAME>", acknowledgements: [Thanks], abstract-en: [Abstract], keywords-en: [keywords], abstract-cs: [Abstrakt], keywords-cs: [keywords], bibliography-file: "/template/bibliography.bib", ) = Introductio...
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/meta/numbering.typ
typst
MIT License
// Test integrated numbering patterns. --- #for i in range(1, 9) { numbering("*", i) [ and ] numbering("I.a", i, i) [ for #i] parbreak() } --- // Error: 17-18 number must be positive #numbering("1", 0) --- // Error: 17-19 number must be positive #numbering("1", -1)
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/animations/detached-head.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly #import "@preview/fletcher:0.5.1" as fletcher: node, edge #let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide) #import "../components/git-graph.typ": branch_indicator, commi...
https://github.com/PA055/5839B-Notebook
https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/sensors/new-odometry-sensors.typ
typst
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "New Odometry Sensors", type: "build", date: datetime(year: 2024, month: 3, day: 17), author: "<NAME>", witness: "<NAME>" ) Odometry is a position tracking algorithim us...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/elsearticle/0.1.0/template/main.typ
typst
Apache License 2.0
#import "@preview/elsearticle:0.1.0": * #let abstract = lorem(100) #show: elsearticle.with( title: "Psychohistory: a primer", authors: ( ( name: "<NAME>", affiliation: "Psychohistory laboratory, Streeling university, Trantor", corr: "<EMAIL>", id: "a", ), ( ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/013_Magic%202015.typ
typst
#import "@local/mtgset:0.1.0": conf #show: doc => conf("Magic 2015", doc) #include "./013 - Magic 2015/001_Beast.typ" #include "./013 - Magic 2015/002_Nissa, Worldwaker.typ" #include "./013 - Magic 2015/003_Veil of Deceit.typ" #include "./013 - Magic 2015/004_The Bard and the Biologist.typ" #include "./013 - Magic 201...
https://github.com/chaosarium/typst-templates
https://raw.githubusercontent.com/chaosarium/typst-templates/main/notebook/lib.typ
typst
#import "components/blocks.typ": * #import "components/envs.typ": * #let total_pages = locate(loc => counter(page).final(loc).at(0)) // template based on https://github.com/BeitianMa/typst-lecture-notes /* Figures */ // The numbering policy is as before, and the default display is centered #let notefig(path, width: 1...
https://github.com/n3d1117/cv
https://raw.githubusercontent.com/n3d1117/cv/main/cv.typ
typst
/* TEMPLATE */ #set text(10.9pt, lang: "en") #set page(margin: (x: 1.5cm, y: 1.6cm)) #show link: underline #show heading.where(level: 2): it => text(15pt, [ #{it.body} #v(-13pt) #line(length: 100%, stroke: 0.7pt) ] ) #let icon(name, baseline: 2.5pt, height: 10pt, hspace: 3pt) = { box( baseline: b...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rose-pine/0.1.0/example.typ
typst
Apache License 2.0
#import "lib.typ" : apply #show: apply() #set align(center) = Example Typst Document #set heading(numbering: "1.") = Text and headings #lorem(30) == H2 #lorem(20) === H3 #lorem(15) = Links and other references <links> == Links #link("https://www.google.com")[ Google ] #link("https://www.google.com") == Referen...
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/meta/query.typ
typst
MIT License
// Test the query function. --- #set page( paper: "a7", margin: (y: 1cm, x: 0.5cm), header: { smallcaps[Typst Academy] h(1fr) locate(it => { let after = query(heading, after: it) let before = query(heading, before: it) let elem = if before.len() != 0 { before.last() } ...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z087.typ
typst
Pane, ty Boh mojej spásy, \* dňom i nocou volám k tebe. Kiež prenikne k tebe moja modlitba, \* nakloň svoj sluch k mojej prosbe. Moja duša je plná utrpenia \* a môj život sa priblížil k ríši smrti. Už ma počítajú k tým, čo zostupujú do hrobu, \* majú ma za človeka, ktorému niet pomoci. Moje lôžko je medzi mŕtvy...
https://github.com/Meisenheimer/Notes
https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/Interpolation.typ
typst
MIT License
#import "@local/math:1.0.0": * = Interpolation == Polynomial Interpolation === Lagrange formula #env("Definition")[ To interpolate given points $(x_0, f(x_0)), dots, (x_n, f(x_n))$, the Lagrange formula is $ p_n (x) = sum_(i=0)^n f(x_i) l_i (x), $ where the *elementary Lagrange interpolation polynomial* (or...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/viewers/bug-tutorial-example.typ
typst
Apache License 2.0
#set line(length: 100%) #let rainbow = gradient.linear(..color.map.rainbow) #stack( spacing: 1em, line(stroke: 2pt + red), line(stroke: (paint: blue, thickness: 4pt, cap: "round")), line(stroke: (paint: blue, thickness: 1pt, dash: "dashed")), line(stroke: 2pt + rainbow), )
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/049%20-%20The%20Brothers'%20War/007_Chapter%203%3A%20Nemesis.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Chapter 3: Nemesis", set_name: "The Brothers' War", story_date: datetime(day: 25, month: 10, year: 2022), author: "<NAME>", doc ) #emph[Blood is foul, the flesh dross. My ascendance thirsts for life itself.] —Crovax, Evincar of Rath Karn ...
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch00-introduction.typ
typst
Other
#import "lib/definitions.typ": * #set heading(numbering: none) == Introduction This is a book about building applications using hypermedia systems. _Hypermedia systems_ might seem like a strange phrase: how is hypermedia a _system_? Isn't hypermedia just a way to link documents together? Like with HTML, on the World...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/edu/seminars/main.typ
typst
#import "/utils/template.typ": conf #import "/utils/datestamp.typ": datestamp #show: body => conf( title: "Совеменное образование", subtitle: "Семинары", author: "<NAME>, БПИ233", year: [2024--2025], body, ) #datestamp("2024-09-11") #include "2024-09-11.typ" #datestamp("2024-09-18") #include "202...
https://github.com/csimide/SEU-Typst-Template
https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/utils/show-equation-degree.typ
typst
MIT License
// 研究生院要求:公式首行的起始位置空四格。 // #show math.equation: show-math-equation-degree #let show-math-equation-degree(eq) = { if eq.block and eq.numbering != none { set align(left) grid( columns: (4em, 100% - 4em), h(4em), eq ) } else { eq } }
https://github.com/arthurcadore/eng-telecom-workbook
https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/PSD/homework4/homework.typ
typst
MIT License
#import "@preview/klaro-ifsc-sj:0.1.0": report #import "@preview/codelst:2.0.1": sourcecode #show heading: set block(below: 1.5em) #show par: set block(spacing: 1.5em) #set text(font: "Arial", size: 12pt) #set text(lang: "pt") #set page( footer: "Engenharia de Telecomunicações - IFSC-SJ", ) #show: doc => report( t...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/025%20-%20Eternal%20Masters/002_All%20That%20Came%20Before.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "All That Came Before", set_name: "Eternal Masters", story_date: datetime(day: 01, month: 06, year: 2016), author: "<NAME>", doc ) #emph[Cho-Akhan is a caretaker for the dead, living with her family in a small Cho-Arrim village in the depths...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/others/bachelor-assignment.typ
typst
MIT License
#import "../resources/utils/datetime-display.typ": datetime-display #import "style.typ": 字号, 字体 #import "../resources/utils/bilingual-bibliography.typ": bilingual-bibliography // 本科生r任务书 #let bachelor-assignment( // documentclass 传入的参数 anonymous: false, // anonymous: true, twoside: false, fonts: (:), info:...
https://github.com/Pegacraft/typst-plotting
https://raw.githubusercontent.com/Pegacraft/typst-plotting/master/plotst/plotting.typ
typst
MIT License
#import "axis.typ": * #import "util/classify.typ": * #import "util/util.typ": * #import calc: * // hackyish solution to split axis and content #let render(plot, plot_code, render_axis, helper_line) = style(style => { let widths = 0pt let heights = 0pt let offset_left = 0pt let offset_bo...
https://github.com/lphoogenboom/typstThesisDCSC
https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/main.typ
typst
#import "typFiles/coverpage.typ": * #import "typFiles/titlepage.typ": * #import "typFiles/acronyms.typ": acrof, acro #import "typFiles/glossary.typ": * #set outline( indent: 1em ) #show: coverpage.with() #show: titlepage.with( title: "Thesis Title", subtitle: "Optional Subtitle", studentName: "<NAME>",...
https://github.com/mrtz-j/typst-thesis-template
https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/template/chapters/global.typ
typst
MIT License
// // About modern-uit-thesis: // // NOTE: // following is an (indirect) import of the 'lib.typ' file // The file lib.typ (and others) will be downloaded and cached // by your system. The location of the @preview cache directory // is explained in // https://github.com/typst/packages?tab=readme-ov-...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/050%20-%20Phyrexia%3A%20All%20Will%20Be%20One/010_Alone.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Alone", set_name: "Phyrexia: All Will Be One", story_date: datetime(day: 17, month: 01, year: 2023), author: "<NAME>", doc ) #strong[?????????] A little crab walked over Teferi's hand. The waves—what did he say? #emph["I think our time i...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/numty/0.0.1/lib.typ
typst
Apache License 2.0
// == boolean helpers == #let arrarr(a,b) = (type(a) == array and type(b) == array) #let arrflt(a,b) = (type(a) == array and type(b) != array) #let fltarr(a,b) = (type(a) != array and type(b) == array) // == basic functions == #let pow(a, power) = { if arrarr(a,power) { a.zip(power).map(((a,b)) => a/b) } ...
https://github.com/tristan957/resume
https://raw.githubusercontent.com/tristan957/resume/master/README.md
markdown
<!-- SPDX-License-Identifier: CC0-1.0 SPDX-FileCopyrightText: 2023 <NAME> <<EMAIL>> --> <!-- prettier-ignore-start --> <!-- markdownlint-disable-next-line MD041 --> [![builds.sr.ht status](https://builds.sr.ht/~tristan957/resume.svg)](https://builds.sr.ht/~tristan957/resume?) <!-- prettier-ignore-end --> # Resume ...
https://github.com/MrToWy/hsh-thesis
https://raw.githubusercontent.com/MrToWy/hsh-thesis/main/template/chapters/1-einleitung.typ
typst
MIT License
#import "../customFunctions.typ": * = Template Ein vollständiges Beispiel ist auf GitHub zu finden: #link("https://github.com/MrToWy/Bachelorarbeit")[HIER KLICKEN]. In diesem Template für die #hsh können sowohl .yaml-Dateien @harry, als auch .bib-Dateien @typst verwenden werden. == Codebeispiel <code-abschnitt> F...
https://github.com/Tiggax/famnit_typst_template
https://raw.githubusercontent.com/Tiggax/famnit_typst_template/main/template/main.typ
typst
MIT No Attribution
#import "@preview/sunny-famnit:0.2.0": project #show: project.with( date: datetime(day: 1, month: 1, year: 2024), // you could also do `datetime.today()` text_lang: "en", // the language that the thesis is gonna be written in. author: "your name", studij: "your course", mentor: ( name: "his name", en: ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/grid/colspan.typ
typst
--- grid-colspan --- #grid( columns: 4, fill: (x, y) => if calc.odd(x + y) { blue.lighten(50%) } else { blue.lighten(10%) }, inset: 5pt, align: center, grid.cell(colspan: 4)[*Full Header*], grid.cell(colspan: 2, fill: orange)[*Half*], grid.cell(colspan: 2, fill: orange.darken(10%))[*Half*], [*A*], [*B*]...
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis
https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/src/lib.typ
typst
MIT License
#import "@preview/glossarium:0.4.1": gls, glspl #import "@preview/codly:1.0.0": * #import "utils.typ": * #import "assets.typ": * #import "pm_assets.typ": * #let project( lang: "de", authors: ( ( name: "Unknown author", // required id: "", email: "" ), ), title: "Unknown title", su...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list-marker_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 19-21 array must contain at least one marker // #set list(marker: ())
https://github.com/OrangeX4/typst-talk
https://raw.githubusercontent.com/OrangeX4/typst-talk/main/examples/chicv.typ
typst
#show heading: set text(font: "Linux Biolinum") // 为链接加入下划线 #show link: underline // 推荐的简历文本大小为“10pt”到“12pt” #set text(size: 16pt) // 设置页边距 #set page(margin: (x: 0.9cm, y: 1.3cm)) #set par(justify: true) // 横线 #let chiline() = {v(-3pt); line(length: 100%); v(-5pt)} = <NAME> <EMAIL> | #link("https://github.com/skyzh")...
https://github.com/jxpeng98/Typst-Paper-Template
https://raw.githubusercontent.com/jxpeng98/Typst-Paper-Template/main/CHANGELOG.md
markdown
MIT License
# 0.6.0 - Make items more flexible than the previous version - All the following items are optional: - `font` - `fontsize` - `subtitle` - `date` - `abstract` - `keywords` - `JEL` - `acknowledgements` - Also the items in the `authors` list are optional - `name` - `affili...
https://github.com/mst2k/HSOS-PTP-Typst-Template
https://raw.githubusercontent.com/mst2k/HSOS-PTP-Typst-Template/main/templates/eidesstattliche_erklaerung.typ
typst
#let eidesstattliche_erklaerung(title) = {[ #set par(justify: true, first-line-indent: 0pt) #v(8em) #heading(outlined: false, numbering: none, [Eidesstattliche Erklärung]) Ich erkläre an Eides statt, dass ich meine Hausarbeit #v(12pt) #align(center, text(13pt, weight: 700, title)) #v(12pt) ...
https://github.com/pawarherschel/typst
https://raw.githubusercontent.com/pawarherschel/typst/main/modules/professional.typ
typst
Apache License 2.0
#import "../template/template.typ": * #import "../helpers/helpers.typ": * #let SOT = yaml("../SOT.yaml") #let professional = () #if SOT.keys().contains("professional") { professional = SOT.professional } #if professional.len() != 0 { cvSection("Professional Experience") for entry in professional { let titl...
https://github.com/LucaCiucci/bob-typ
https://raw.githubusercontent.com/LucaCiucci/bob-typ/main/typst-package/README.md
markdown
MIT License
# `bob-draw` svgbob for typst, powered by wasm This package provides a typst plugin for rendering [svgbob](https://github.com/ivanceras/svgbob) diagrams. # Basic example ````typ #import "@preview/bob-draw:0.1.0": * #render(``` /\_/\ bob -> ( o.o ) \ " / .------/ / ( | | `====== o o ``...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/05-direct-prod.typ
typst
Other
#import "../../utils/core.typ": * == Прямые произведения #ticket[Внутреннее прямое произведение подгрупп] #def[ Пусть $H_1, H_2$ --- подгруппы $G$, говорят, что $G$ расскладывается во _внутреннее прямое произведение_ $H_1$ и $H_2$, если: + $G = H_1 H_2$ + $H_1 sect H_2 = {e}$ + $forall h_1 in H_1 spa...
https://github.com/kotatsuyaki/canonical-nthu-thesis
https://raw.githubusercontent.com/kotatsuyaki/canonical-nthu-thesis/main/template/thesis.typ
typst
MIT License
#import "@preview/canonical-nthu-thesis:0.1.0": setup-thesis #let ( doc, cover-pages, preface, outline-pages, body, ) = setup-thesis( // Metadata of the document, which is used in places such as the cover pages and the PDF properties. info: ( degree: "master", title-zh: [一個標題有點長的 \ 有趣的研究], ...
https://github.com/jneug/typst-codetastic
https://raw.githubusercontent.com/jneug/typst-codetastic/main/util.typ
typst
MIT License
#let to-arr(code) = { if type(code) == "integer" { code = str(code) } if type(code) == "string" { code = code.clusters().map(int) } if type(code) != "array" { panic("Code needs to be provided as integer, string or array. Got " + type(code)) } return code } #let to-int-arr(code) = { return...
https://github.com/jomaway/typst-gentle-clues
https://raw.githubusercontent.com/jomaway/typst-gentle-clues/main/lib/lib.typ
typst
MIT License
#import "clues.typ" #import "clues.typ": gentle-clues, clue #import "predefined.typ": *
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/readme.md
markdown
MIT License
# A tree-sitter parser for the typst file format This language is soooo hard to parse… whitespace, parenthesizes for everything, and Unicode :( DONE: - [O] Code mode: `#` to enter code mode - [x] any literal: `1`, `"hi"`, `true`, `false`, `none`, `auto` - [ ] raw and labels are literals - [x] code bloc...
https://github.com/mariuslb/thesis
https://raw.githubusercontent.com/mariuslb/thesis/main/content/04-analyse.typ
typst
#import "../template.typ": Template, code #let translations = json("../translations.json").at("de") = Analyse Die Datenanalyse bildet den Kern der Untersuchung. Aufbauend auf den in den vorangegangenen Kapiteln beschriebenen detaillierten Datenerhebungen und standardisierten Testbedingungen, konzentriert sich dieser...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/github-actions.typ
typst
#import "/components/glossary.typ": gls == Github Actions <sec-githubactions> GitHub Actions has emerged as a powerful and popular platform for automating software development workflows, including #gls("ci") and #gls("cd"). This section will explore the key features, benefits, and challenges of using GitHub Actions, ...
https://github.com/PraneethJain/Science-1
https://raw.githubusercontent.com/PraneethJain/Science-1/main/Assignment-4/2022101093_Assignment_4.typ
typst
#align(center, text(17pt)[*Science-1*]) #align(center, text(16pt)[Assignment-4]) #align(center, text(13pt)[<NAME>, 2022010193]) = Question 1 == (1) Kinetic Energy $ T = 1/2 m_1 dot(x)_1^2 + 1/2 m_2 dot(x)_1^2 $ Potential Energy $ V = 1/2 k_1 x_1^2 + 1/2 k_2 (x_2 - x_1)^2 $ Lagrangian $ L = T - V $ $ L = 1/2 m_1 dot(x)...
https://github.com/Xiaole-An/personalResume
https://raw.githubusercontent.com/Xiaole-An/personalResume/main/README.md
markdown
# personalRresume ## Acknowledgments Thanks to previous open-sourced repo: [Chinese-Resume-in-Typst](https://github.com/OrangeX4/Chinese-Resume-in-Typst)
https://github.com/LEXUGE/typzk
https://raw.githubusercontent.com/LEXUGE/typzk/main/manual-thm.typ
typst
MIT License
#import "@typzk/zkgraph:0.1.0": * #import "@preview/physica:0.9.2": * #import "@preview/ctheorems:1.1.2": * #let ii = sym.dotless.i #let to = sym.arrow.r #let vb(body) = $bold(upright(body))$ #let cdot = sym.dot.c #let inv(body) = $body^(-1)$ #let conj(body) = $overline(body)$ #let mkThmNode(fn) = return (identity, d...
https://github.com/alex-touza/fractal-explorer
https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/paper/src/chapters/3_estudi_computacional_dels_objectes_fractals.typ
typst
#import "../environments.typ": * #import "../utilities.typ": * #import "../shortcuts.typ": * #import "@preview/cetz:0.2.2": canvas, draw = Estudi computacional dels objectes fractals Explicació de la part pràctica del projecte. == Generació de fractals === Exemple senzill de fractal <cap-exemple-gen-fractal> Com a...
https://github.com/SkytAsul/trombinoscope
https://raw.githubusercontent.com/SkytAsul/trombinoscope/main/pages/pageStats.typ
typst
MIT License
#show: it => align(horizon, it) #align(center)[ = Effectif des élèves-ingénieur·es\ (au début de l'année scolaire 2023/2024) ] #v(2em) #show table.cell: align.with(center) #show table.cell.where(x: 0): set text(weight: "bold") #set table( fill: (rgb("EAF2F5"), none) ) == 1#super[er] cycle #table( columns: 2, ...
https://github.com/alberto-lazari/cv
https://raw.githubusercontent.com/alberto-lazari/cv/main/modules_en/education.typ
typst
#import "/common.typ": * #let unipd-logo = image("/images/unipd.png") = Education #entry( title: [Master of Science, Computer Science], society: [University of Padua], date: [Oct 2022 - Present], logo: unipd-logo, description: [Major: Programming Languages and Systems], tags: ("OCaml", "Android Security", ...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/latexmit/latexmit-without-spaces.typ
typst
MIT License
#import "mod.typ": * #show: book-page.with(title: "LaTeX Mit without spaces") = LaTeX Mit without spaces
https://github.com/mcarifio/explore.typst
https://raw.githubusercontent.com/mcarifio/explore.typst/main/README.md
markdown
# explore.typst tbs explore.typst
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_785%20-%20Number%20Theory/Assignments/Assignment%205.typ
typst
#import "/Templates/generic.typ": latex, header #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #import "/Templates/assignment.typ": * #show: doc => header(title: "Assignment 5", name: "<NAME>", doc) #show: latex #show: NumberingAfter #show: thmrules #let col(x, clr) = text(fill: clr)[$#x$] #let ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/droplet/0.2.0/src/util.typ
typst
Apache License 2.0
// Elements that can be split and have a 'body' field. #let splittable = (strong, emph, underline, stroke, overline, highlight) // Element function of spaces. #let space = [ ].func() // Converts the given content to a string. #let to-string(body) = { if type(body) == str { body } else if body.has("text") { ...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/机器视觉实践/报告/2/2.typ
typst
The Unlicense
#import "../template.typ": * #show: project.with( title: "1", authors: ("absolutex",), ) = 机器视觉实践 二 == 实验目的 图像马赛克: + 编程实现图像局部区域马赛克 + 要求算法具有交互性,能指定局部区域和马赛克大小 + 具体实现方法不限 + 编程语言不限,可通过C++,Python 或 Matlab 实现 == 实验内容 马赛克的实现原理非常简单,遍历图像的每个像素,并根据马赛克块的大小进行分组。对于每个马赛克块,计算该块内所有像素的平均颜色值,或使用块内某个像素的颜色值。 #include_code("../s...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/187.%20cred.html.typ
typst
cred.html Coronavirus and Credibility April 2020I recently saw a video of TV journalists and politicians confidently saying that the coronavirus would be no worse than the flu. What struck me about it was not just how mistaken they seemed, but how daring. How could they feel safe saying such things?The answer, I rea...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/159.%20ecw.html.typ
typst
ecw.html How to Be an Expert in a Changing World December 2014If the world were static, we could have monotonically increasing confidence in our beliefs. The more (and more varied) experience a belief survived, the less likely it would be false. Most people implicitly believe something like this about their opinions...
https://github.com/jskherman/jsk-lecnotes
https://raw.githubusercontent.com/jskherman/jsk-lecnotes/main/README.md
markdown
Apache License 2.0
# README This is a lecture notes template that uses Typst to generate a PDF document. This is based off of [<NAME>](https://github.com/sara-venkatraman)'s [lecture notes template in LaTeX](https://github.com/sara-venkatraman/LaTeX-Templates#lecture-notes). There are some custom functions that are defined in the [`tem...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.3.2/themes/aqua.typ
typst
Apache License 2.0
#import "../slide.typ": s #import "../utils/utils.typ" #import "../utils/states.typ" #import "../utils/components.typ" #let title-slide(self: none, ..args) = { self = utils.empty-page(self) self.page-args += ( margin: (top: 30%, left: 17%, right: 17%, bottom: 0%), background: utils.call-or-display(self, se...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/modern-uit-thesis/0.1.0/modules/abbreviations.typ
typst
Apache License 2.0
// TODO: Update when 0.4.2 is published // #import "@preview/glossarium:0.4.2": make-glossary, print-glossary, gls, glspl #import "glossarium.typ": print-glossary // Only print short and long, disregard rest #let custom-print-title(entry) = { let short = entry.at("short") let long = entry.at("long", default: "") ...
https://github.com/gumelarme/nuist-master-thesis-proposal
https://raw.githubusercontent.com/gumelarme/nuist-master-thesis-proposal/main/pages/work-plan.typ
typst
// TODO: Make (1) and (2) a function, and fillable // TODO: Make (1) and (2) automatically resize #text(size: 1.5em, "2. Thesis Work Implementation Plan") (1) The Thesis Theoritical and Hardware Requirement Level should be Met and Results #rect( width: 100%, height: 40%, stroke: 0.5pt + black, )[ ] (2) Specifi...
https://github.com/kazuyanagimoto/quarto-slides-typst
https://raw.githubusercontent.com/kazuyanagimoto/quarto-slides-typst/main/README.md
markdown
MIT License
# Some Examples for Quarto + Typst Slides ## [quarto-clean-typst](https://github.com/kazuyanagimoto/quarto-clean-typst) A Long Demo - [PDF](https://kazuyanagimoto.com/quarto-slides-typst/slides/quarto-clean-typst/clean.pdf) - [Code](https://github.com/kazuyanagimoto/quarto-slides-typst/blob/main/slides/quarto-clean-...
https://github.com/saYmd-moe/note-for-statistical-mechanics
https://raw.githubusercontent.com/saYmd-moe/note-for-statistical-mechanics/main/contents/PartI/Chp04.typ
typst
#import "../../template.typ": * == 多元复相系的平衡与热力学第三定律 === 多元均匀系的热力学函数与基本微分方程 ==== 化学变量 单元均匀系中添加了系统总摩尔数 $N$ 作为独立变量。在此基础上引入多元均匀系,设系统包含 $k$ 种不同的分子,每种分子称作一个组元,每个组元的摩尔数称为*化学变量*:$N_1, N_2, dots.c, N_k$。 ==== 广延量的数学性质与偏摩尔量 当 $p,T$ 不变时,系统各组元物质量同时增加为 $lambda$ 倍,则所有广延量也增加为 $lambda$ 倍: $ U(p,T;lambda N_1, lambda N_2, dots.c, ...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/typ/book/variables.typ
typst
Apache License 2.0
// It is in default A4 paper size #let page-width = 595.28pt // default target is "pdf" #let target = "pdf"
https://github.com/indicatelovelace/kinave
https://raw.githubusercontent.com/indicatelovelace/kinave/main/0.1.0/resources/example.typ
typst
#import "@preview/kinase:0.1.0": * #show: make-link #update-link-style(key: l-mailto(), value: it => strong(it), ) #update-link-style(key: l-url(base: "typst\.app"), value: it => emph(it)) #update-link-style(key: l-url(base: "google\.com"), before: l-url(base: "typst\.app"), value: it => highlight(it)) #update-link-s...
https://github.com/alberto-lazari/cns-report
https://raw.githubusercontent.com/alberto-lazari/cns-report/main/abstract.typ
typst
Most fuzzing methodologies are based on text inputs, that are crafted or randomly created to find bugs and input vulnerabilities in programs. While fuzzing Android applications is not an entirely new field, doing it specifically by using QR code inputs is still a less explored technique. _QRFuzz_ by @QRFuzz is one of t...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Phone_Apps.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: "Phone Apps", authors: ( "<NAME>", ), date: "10 Août, 2024", ) #set heading(numbering: "1.1.") - Amazon - Revanced Youtube - LibreTorr...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-03-17/24-03-17.typ
typst
#import "/template.typ": * #show: project.with( date: "17/03/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:00", timeEnd: "16:00", ); = Ordine del giorno - Valutazione del progresso generale; - Analisi retrospettiva; - Data di...
https://github.com/shiki-01/typst
https://raw.githubusercontent.com/shiki-01/typst/main/school/syspro/2nd/1.typ
typst
#import "../../../lib/conf.typ": conf, come, desc, ce, light #import "@preview/codelst:2.0.1": #import "@preview/pintorita:0.1.1" #import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge #show raw.where(lang: "pintora"): it => pintorita.render(it.text) #show: doc => conf( title: [情報システム 2学期], date: [2024...
https://github.com/yhs0602/Topology
https://raw.githubusercontent.com/yhs0602/Topology/main/1.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": * // Make the paper dimensions fit for a presentation and the text larger #set page( paper: "presentation-16-9", fill: rgb(235, 253, 255) ) #set text( size: 25pt, font: "Pretendard", ) #set list(spacing: 2em, tight: true) #show...
https://github.com/swaits/typst-collection
https://raw.githubusercontent.com/swaits/typst-collection/main/glossy/0.1.0/src/themes.typ
typst
MIT License
#let theme-2col = ( section: (title, body) => { set par.line(numbering: none) heading(level: 1, title) columns(2, body) }, group: (name, body) => { if name != none { heading(level: 2, name) } body }, entry: (entry, i, n) => { // build our title, etc let short-display = ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/ConsuntivoSprint/QuindicesimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": rendicontazioneOreAPosteriori, rendicontazioneCostiAPosteriori, glossary, team ==== Quindicesimo consuntivo *Inizio*: Venerdì 29/03/2024 *Fine*: Giovedì 04/04/2024 #rendicontazioneOreAPosteriori(sprintNu...
https://github.com/Corvus006/JIF_Robot
https://raw.githubusercontent.com/Corvus006/JIF_Robot/main/paper/main.typ
typst
#import "template.typ":* #show: ams-article.with( title: [Jif], authors: ( ( name: "<NAME>", ), ( name: "<NAME>", ), ( name: "<NAME>", ), ), bibliography-file: "refs.bib", ) #outline() #pagebreak() = Roboter == Fahrgestell und Karosserie Das Fahrgestell ist nicht von u...
https://github.com/LilNick0101/Bachelor-thesis
https://raw.githubusercontent.com/LilNick0101/Bachelor-thesis/main/content/conclusions.typ
typst
#v(10pt) = Conclusione Alla fine il tirocinio è durato in totale 320 ore di lavoro (o 8 settimane lavorative di 40 ore di lavoro), con la fine effettiva del tirocinio il 25/08/2023. In seguito, verranno segnati il consuntivo periodico rispetto al piano di lavoro iniziale, il resoconto degli obiettivi e le eventuali ...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem04/utils.typ
typst
#import "../theme/theme.typ": * #import "@preview/cetz:0.2.2" #let cell-color(base-color) = { if base-color == none { base-color = blue } let background-color = color.mix((base-color, 20%), (white, 80%)) let stroke-color = color.mix((base-color, 50%), (black, 50%)) ( base-color: base-color, backgr...