repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/jamesrswift/chemicoms-paper | https://raw.githubusercontent.com/jamesrswift/chemicoms-paper/main/template/main.typ | typst | #import "@local/chemicoms-paper:0.1.0": template, elements;
#set page(paper: "us-letter", margin: (left: 10mm, right: 10mm, top: 12mm, bottom: 15mm))
#show: template.with(
title: [A typesetting system to untangle the scientific writing process],
abstract: (
[The process of scientific writing is often tangled... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/3.typ | typst | #import "../cfg.typ": *
#show: cfg
$ "Prove that" sup_(QQ in.rev r < x) a^r = inf_(QQ in.rev r > x) a^r $
Suppose:
- $inf < sup$
$ex(r < x): inf < a^r$
$ex(r' > x): inf < a^r' < a^r$
$r < r'$
$bot$
- $sup < inf$
$sup_(QQ in.rev r < x) r < inf_(QQ in.rev r > x) r$
$x < x$
$bot$
| |
https://github.com/i-am-wololo/cours | https://raw.githubusercontent.com/i-am-wololo/cours/master/main/parties_i23/axioms_predicats.typ | typst | #import "../templates.typ": *
#title("axiomes et predicats")
= Ensembles
#definition(title:"ensemble")[
Un ensemble est une collection X d'objets _definis_ et _unique_. un objet appartenant a l'ensemble est dit membre de _X_ et on dit que l'objet et membre.
un membre est unique dans un ensemble, il ne peut pas y av... | |
https://github.com/ufodauge/master_thesis | https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/common/heading.typ | typst | MIT License | #import "empty.typ" : Empty
#let HeadingWrapper(
body
) = [
#body
#Empty
]
#let H1(
body,
inset: (
top : 54pt,
bottom: 49pt,
left : 1pt,
)
) = HeadingWrapper(
block(
inset: inset,
text(
size : 24pt,
strong(body)
)
)
)
#let H2(body, inset: 0pt) = HeadingWrapper... |
https://github.com/rabotaem-incorporated/calculus-notes-2course | https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/06-fourier-series/01-lebesgue-spaces.typ | typst | #import "../../utils/core.typ": *
== Пространства Лебега
#ticket[Пространства Лебега. Существенный супремум. Свойства. Вложение пространств Лебега. Полнота пространств $L^p (E, mu)$ (без доказательства).]
#def[
$(X, Aa, mu)$ --- пространство с мерой, $E in Aa$, $1 <= p < +oo$. Тогда _пространство Лебега $L^p$_ ---... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/05-modular-monolith/modular-monolith.typ | typst | #import "@preview/cetz:0.2.2"
#set text(font: "Fira Sans", size: 9pt)
#cetz.canvas(length: 1cm, {
import cetz.draw: *
set-style(
content: (padding: .2),
stroke: black
)
// Monolith
rect(
(0, 0), (4, 3),
radius: 0.1,
fill: orange.lighten(90%),
stroke: (paint: orange.lighten(60%)),
... | |
https://github.com/UM-nerds/modern-report-umfds | https://raw.githubusercontent.com/UM-nerds/modern-report-umfds/main/src/lib.typ | typst | MIT License | #let umfds(
title: "",
authors: (),
date: none,
img: none,
abstract: none,
bibliography: none,
lang: "en",
body
) = {
set page(paper: "a4", numbering: "1")
set heading(numbering: "1.1 ")
show heading: it => block(below: 1em, it)
set par(justify: true, first-line-indent: 1em)
show par: set... |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/questions/9_isa.typ | typst | #heading[ISA.]
#emph[ISA (Архитектура фон Неймана и ее альтернативы. Что описывает ISA? Assembler MIPS).]
#import "/commons.typ": imagebox
== Архитектура фон Неймана
#emph[Архитектура фон Неймана (a.k.a. Принстонская архитектура)] — широко известный принцип совместного хранения команд и данных в памяти компьютера. В ... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/01-history/history.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/heading.typ": chapter
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
#chapter[
// A Brief History of Type
字体简史
]
// Once upon a time, a *font* was a bunch of pieces of metal. The first recor... |
https://github.com/TheBotlyNoob/ECE1551 | https://raw.githubusercontent.com/TheBotlyNoob/ECE1551/main/homework/template.typ | typst | #show link: underline
#show link: set text(blue)
= ECE 1551 Assignment Chapter REPLACEME_CHAPTER
| |
https://github.com/rabotaem-incorporated/calculus-notes-2course | https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/04-parametric-and-curves/04-hypergeometric-function.typ | typst | #import "../../utils/core.typ": *
== Гипергеометрическая функция
#def(label: "def-rising-factorial")[
_Возрастающая факториальная степень_:
$ a^(overline(k)) harpoons.ltrb (a)_k := a (a + 1) (a + 2) ... (a + k - 1) =^rf("gamma-props", "plus-1") (Gamma(a + k)) / (Gamma(a)). $
Здесь $a in CC$. Конечно, наше те... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10B00.typ | typst | Apache License 2.0 | #let data = (
("AVESTAN LETTER A", "Lo", 0),
("AVESTAN LETTER AA", "Lo", 0),
("AVESTAN LETTER AO", "Lo", 0),
("AVESTAN LETTER AAO", "Lo", 0),
("AVESTAN LETTER AN", "Lo", 0),
("AVESTAN LETTER AAN", "Lo", 0),
("AVESTAN LETTER AE", "Lo", 0),
("AVESTAN LETTER AEE", "Lo", 0),
("AVESTAN LETTER E", "Lo", 0),... |
https://github.com/MHellmund/typst-kbd-cheatsheet | https://raw.githubusercontent.com/MHellmund/typst-kbd-cheatsheet/main/kbdshortcuts.typ | typst | MIT License | #import "@preview/tablex:0.0.5": *
#let mainfont = "<NAME>"
#let color1 = rgb("#6e7b8b") // LightSteelBlue4
#let color2 = rgb("#008b45") // SpringGreen4
#let color3 = rgb("#87ceff") // SkyBlue1
#let colors = (color1, color2, color3)
#set text (font: mainfont, size: 8pt, lang: "en" )
#set page( paper: "... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/modules/chap2.typ | typst | Apache License 2.0 | // Ref: false
#let name = "Klaus"
== Chapter 2
Their motivations, however, were pretty descript, so to speak. #name had not yet
conceptualized their consequences, but that should change pretty quickly. #name
approached the center of the field and picked up a 4-foot long disk made from
what could only be cow manure. T... |
https://github.com/tedaco1/typst-example | https://raw.githubusercontent.com/tedaco1/typst-example/main/document-files/more-pretty.typ | typst | MIT License | #let template(doc) = {
set page(
paper: "us-letter",
numbering: "1",
)
set math.equation(numbering: "(1)")
// Heading settings
set heading(numbering: "1.1", supplement: [Heading])
show heading.where(level: 1): i => {
align(smallcaps(i))
}
show heading.where(level: 3): k => {
align(up... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/heapsort/buildheap_step_0.typ | typst | #import "/components/lefttree.typ": lefttree, draw_node, polygon_around, poly_fill, note
#import "/components/num_row.typ": single_num_row
#import "@preview/cetz:0.3.0"
#let nums = (34, 45, 12, 34, 23, 18, 38, 17, 43, 7)
#single_num_row(
(34, 45, 12, 34, 23, 18, 38, 17, 43, 7),
hl_success: (5, 6, 7, 8, 9)
)
#cet... | |
https://github.com/wenjia03/JSU-Typst-Template | https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/Templates/实验报告(无框)/contents/context.typ | typst | MIT License |
= 吉首大学 Typst 模板
== Typst 优势
Typst 是可用于出版的可编程标记语言,拥有变量、函数与包管理等现代编程语言的特性,注重于科学写作 (science writing),定位与 LaTeX 相似。
- **易用性**:Typst 语法简单,易于上手,无需学习复杂的 LaTeX 语法。
- #text(weight: "bold")[编译快] :Typst 编译速度快,支持实时预览,提高写作效率。其基于`Rust`语言,使用增量编译技术,build 速度快。
- **可扩展性**:Typst 支持自定义宏、函数、包,用户可以根据自己的需求扩展 Typst 的功能。
- **环境搭建简单**:仅需在... |
https://github.com/dipeshkaphle/dipeshkaphle.github.io | https://raw.githubusercontent.com/dipeshkaphle/dipeshkaphle.github.io/main/cv/cv.typ | typst | MIT License | #show heading: set text(font: "Linux Biolinum")
// Uncomment the following lines to adjust the size of text
// The recommend resume text size is from `10pt` to `12pt`
// #set text(
// size: 12pt,
// )
#show link: set text(blue)
// Feel free to change the margin below to best fit your own CV
#set page(
margin: (x... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/name-it/0.1.0/README.md | markdown | Apache License 2.0 | # name-it
Get the English names of integers.
## Example

```typ
#import "@preview/name-it:0.1.0": name-it
#set page(width: auto, height: auto, margin: 1cm)
- #name-it(-5)
- #name-it(-5, negative-prefix: "minus")
- #name-it(0)
- #name-it(1)
- #name-it(10)
- #name-it(11)
- #name-it(42)
- #n... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/templates/ts-node-next/README.md | markdown | Apache License 2.0 | # Typst Template for Typescript+ts-node
```shell
# Install ts-node globally if you haven't already
npm install -g ts-node
yarn install
ts-node --esm ./src/main.ts
```
|
https://github.com/ckunte/m-one | https://raw.githubusercontent.com/ckunte/m-one/master/inc/ebs.typ | typst | = Shell buckling
I have been evaluating the size of flotation tanks needed to install a large jacket substructure. The circular cylindrical tank sections in my case have a D/t ratio upwards of 300 --- too slender and non-compact to withstand severe buckling hazard under stress. Thin walled large tanks such as these ar... | |
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical | https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch00-rem.typ | typst | MIT License | #import "../functions.typ": heading_center, images, italic,linkb
#let finchapiter = text(fill:rgb("#1E045B"),[■])
= REMERCIEMENTS.
Nous tenons à remercier d'abord toutes les équipes pédagogiques du Master
*Technique des Rayonnements et Physique Médicale* de la Faculté des Sciences à
Meknès, ainsi que les professeu... |
https://github.com/EunTilofy/Compiler2024 | https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/lab4/Report_of_Lab4.typ | typst | #import "../template.typ": *
#show: project.with(
course: "编译原理",
title: "Compilers Principals - Lab4",
date: "2024.6.8",
authors: "<NAME>, 3210106357",
has_cover: false
)
= 实验内容
本次实验旨在将中间代码(IR)转换为汇编代码。我们首先根据 function 将中间代码划分为不同的块,每个块中都包含若干个 IR 节点;然后,我们对于每个中间代码块,首先处理其中可能包含的函数参数,变量等信息,然后为每其指定其在内存中的位置,该部分为 IR 块的预... | |
https://github.com/normanlorrain/mdtypst | https://raw.githubusercontent.com/normanlorrain/mdtypst/main/README.md | markdown | Apache License 2.0 | # mdtypst
Python library to convert Markdown to Typst
|
https://github.com/AnsgarLichter/hka-thesis-template | https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/chapters/2_foundations.typ | typst | #import "../common/todo.typ": *
#import "@preview/acrostiche:0.2.0": acr, acrpl
= Foundations
This chapter describes the Foundations.
#lorem(500) | |
https://github.com/LEXUGE/typst2nix | https://raw.githubusercontent.com/LEXUGE/typst2nix/main/README.md | markdown | MIT License | # typst2nix
Package Management and Tooling for Typst implemented in Nix
|
https://github.com/cronokirby/paper-graphical-framework-for-cryptographic-games | https://raw.githubusercontent.com/cronokirby/paper-graphical-framework-for-cryptographic-games/main/paper.typ | typst | #let defc = counter("definition")
#let thmc = counter("theorem")
#let template(title: none, abstract: none, author: none, doc) = {
set document(title: title, author: author.name)
set page(
paper: "a4",
margin: (x: 1.6in, y: 1in),
numbering: "1"
)
set text(
font: "Stix Two Text",
size: 12pt... | |
https://github.com/jamesrswift/dining-table | https://raw.githubusercontent.com/jamesrswift/dining-table/main/src/styles.typ | typst | The Unlicense | /// The stroke of the top-rule of a table
/// -> stroke
#let toprule = stroke(0.8pt)
/// The stroke of rules between rows or columns
/// -> stroke
#let lightrule = stroke(0.3pt)
/// The stroke of the rule after the header and before the footer
/// -> stroke
#let midrule = stroke(0.5pt)
/// The stroke of the bottom-r... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/043%20-%20Innistrad%3A%20Midnight%20Hunt/007_Episode%204%3A%20Harvesttide.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 4: Harvesttide",
set_name: "Innistrad: Midnight Hunt",
story_date: datetime(day: 22, month: 09, year: 2021),
author: "<NAME>",
doc
)
Three knocks on Olivia Voldaren's door put her in a killing mood. Not that she's ever #emph[not ] i... | |
https://github.com/VinEdw/physics-equation-sheets | https://raw.githubusercontent.com/VinEdw/physics-equation-sheets/master/README.md | markdown | # physics-equation-sheets
This repository holds a physics equation sheet I put together.
The document was created using a program called [Typst](https://github.com/typst/typst).
The diagrams were created using a Typst library called [Cetz](https://github.com/cetz-package/cetz).
## Files
- PHYS 2AG
- [Equation Shee... | |
https://github.com/vmysak/modern-cv-typst | https://raw.githubusercontent.com/vmysak/modern-cv-typst/main/README.md | markdown | Apache License 2.0 | # modern-cv-typst
### Template Description
- Generate beautiful CV in minutes
- Written in typst, inspired by LaTeX 'moderncv' package
- Easy to modify, seconds to build
- Color theme and visual style customization
### Template Structure
- ```/src/definitions``` - template itself
- ```/src/resources``` - images, fon... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week9.typ | typst | #import "../../utils.typ": *
#section("DHT Algorithms")
#subsection("Searching in DHT")
In order to search a term in a DHT, you need to hash your term and store it in a
hashmap which will then be used to check for matches:
- DHT.get(h(«Institut für Software»))
- In order to find it: DHT.put(h(«Institut für Software»),... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Just empty page with styles.
// Should result in one conifer-colored A11 page.
#page("a11", flipped: true, fill: conifer)[]
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-16A40.typ | typst | Apache License 2.0 | #let data = (
("MRO LETTER TA", "Lo", 0),
("MRO LETTER NGI", "Lo", 0),
("MRO LETTER YO", "Lo", 0),
("MRO LETTER MIM", "Lo", 0),
("MRO LETTER BA", "Lo", 0),
("MRO LETTER DA", "Lo", 0),
("MRO LETTER A", "Lo", 0),
("MRO LETTER PHI", "Lo", 0),
("MRO LETTER KHAI", "Lo", 0),
("MRO LETTER HAO", "Lo", 0),
... |
https://github.com/0x546974616e/typst-resume | https://raw.githubusercontent.com/0x546974616e/typst-resume/main/resume.typ | typst | #import "./template/project.typ": resume
#if not "config" in sys.inputs {
panic("Please provide a config file with --input config=FILE")
}
#if not "lang" in sys.inputs {
panic("Please provide a language with --input lang=LANG")
}
#resume(
yaml(sys.inputs.config),
sys.inputs.lang,
)
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/zhconv/0.3.1/README.md | markdown | Apache License 2.0 | # zhconv-typst
zhconv-typst converts Chinese text between Traditional, Simplified and regional variants in typst, utilizing [zhconv-rs](https://github.com/Gowee/zhconv-rs).
## Usage
To use the `zhconv` plugin in your Typst project, import it as follows:
```typst
#import "@preview/zhconv:0.3.1": zhconv
```
### Text... |
https://github.com/vonhyou/typst-resume-template | https://raw.githubusercontent.com/vonhyou/typst-resume-template/master/main.typ | typst | #import "header.typ": header
#import "section.typ": section
#set page("us-letter")
#header(
name: "<NAME>",
address: "6299 South St., Halifax, NS B3H 4R2",
phone: "9021234567",
email: "<EMAIL>",
social: (
("https://github.com/vonhyou", [GitHub]),
("#", [Linkedin]),
("#", [Twitter]),
("#", [B... | |
https://github.com/monaqa/typst-easytable | https://raw.githubusercontent.com/monaqa/typst-easytable/master/README.md | markdown | MIT License | # Typst Easytable Package
A Typst library for writing simple tables.
## Usage
```typst
#import "@preview/easytable:0.1.0": easytable, elem
#import elem: *
```
## Manual
- You can create a table by specifying data or layout elements as arguments to the `easytable` function.
- The following elements are provided in ... |
https://github.com/qjcg/awesome-typst | https://raw.githubusercontent.com/qjcg/awesome-typst/main/README.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
[](https://github.com/sindresorhus/awesome#readme)
Curated collection of useful links for [Typst](https://github.com/typs... |
https://github.com/FrightenedFoxCN/cetz-cd | https://raw.githubusercontent.com/FrightenedFoxCN/cetz-cd/main/manual.typ | typst | #import "src/cetz-cd.typ": *
#import "src/snipets.typ": *
This is currently more examples than manual.
#cetz-cd(```
$...$ ar[r] & $C_(n + 1)$ ar[r] ar[d] ar[ld] & $C_n$ ar[r] ar[d] ar[ld] & $C_(n - 1)$ ar[r] ar[d] ar[ld] & $...$ ar[ld];
$...$ ar[r] & $D_(n + 1)$ ar[r] & $D_n$ ar[r] & $D_(n - 1)$ ar[r] & $...... | |
https://github.com/jonmatthis/simple-typst | https://raw.githubusercontent.com/jonmatthis/simple-typst/main/README.md | markdown | # simple-typst
A simple-as-possible `typst` template for MystMD
## Usage
```
---
- format: pdf
template: simple-typst
---
| |
https://github.com/bigskysoftware/hypermedia-systems-book | https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/HypermediaSystems-ebook.typ | typst | Other |
#import "lib/definitions.typ": *
#set document(
title: [Hypermedia Systems],
)
#show figure.where(kind: "image"): box
#page[
#set align(start + horizon)
#set par(leading: 10pt, justify: false)
#show heading: set text(size: 3em, font: display-font)
#skew(
-0.174, // -10deg
upper(
text(style: ... |
https://github.com/jskherman/jsk-lecnotes | https://raw.githubusercontent.com/jskherman/jsk-lecnotes/main/content/example-doc.typ | typst | Apache License 2.0 | #import "../template.typ": *
= Introduction
Can you then _suppose_ that those heroic men performed their famous deeds *without any motive at all*? In a free hour, when our power of choice is untrammeled and when nothing prevents our being able to do what we like best, _*every pleasure is to be welcomed and for every p... |
https://github.com/El-Naizin/cv | https://raw.githubusercontent.com/El-Naizin/cv/main/modules_en/education.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Education")
#cvEntry(
title: [Computer Science Engineering degree],
society: [Université de Technologie de Compiègne],
date: [2021 - 2024],
location: [Compiègne, France],
//TODO: logo
logo: "../src/logos/utc.svg",
description: list(
... |
https://github.com/Walfisch115/thb-typst-template | https://raw.githubusercontent.com/Walfisch115/thb-typst-template/main/presentation/conf.typ | typst | #let conf(
doc
) = {
set page(paper: "presentation-16-9")
set text(lang: "de")
set text(font: "Linux Biolinum")
doc
}
// SLIDES
#let thbBlue = rgb(0, 186, 229, 100%)
#let thbRed = rgb(204, 17, 50, 100%)
// normal slide
#let slide(
title: [Titel hinzufügen],
presentationTitle: none,
date: none,
b... | |
https://github.com/schmidma/typst-workshop | https://raw.githubusercontent.com/schmidma/typst-workshop/main/examples/08-functions.typ | typst | Creative Commons Zero v1.0 Universal | To go to scripting mode, type `#` and *some function name* after that. We will start with _something dull_:
#lorem(50)
|
https://github.com/FuryMartin/fury-note-typst | https://raw.githubusercontent.com/FuryMartin/fury-note-typst/master/src/lib.typ | typst | MIT License | #let note(
// The Thesis Title
title: [],
// An array of authors. For each author, you can specify a name,
// department, organization, location and email. Everything but the name is optional.
author: (name: "", email: ""),
//Your thesis abstract. Can be omitted if you dont have one.
abstract: none,
//... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/babel/0.1.1/src/baffle.typ | typst | Apache License 2.0 | #import "@preview/mantys:0.1.4": *
#import "@preview/suiji:0.3.0"
#import "alphabets.typ": alphabets
#let punctuation = ("\`\-=~!@#$%^&*()_+\[\]\\\\;':\",./<>?‘’“”·¿¡؟،।॥⟨⟩‽⸘")
#let letter-counter = counter("letter-counter")
#let to-string(content) = {
if type(content) == "string" {
content
}
else if con... |
https://github.com/SillyFreak/typst-packages-old | https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/README.md | markdown | MIT License | # Typst packages
A monorepo of my packages, in the beginning for sure mostly unpublished. Search the official [packages](https://typst.app/docs/packages/) page to find out if something has been published.
This repo contains a few package authoring facilities which are heavily inspired by and based on those of [CeTZ](... |
https://github.com/TheOnlyMrCat/tree-sitter-typst | https://raw.githubusercontent.com/TheOnlyMrCat/tree-sitter-typst/master/script.typ | typst | Apache License 2.0 | #let function_def(parameter: 2, boolean: false, ..positional) = {
if type(parameter) == "integer" {
let len = parameters
let default_parameters = ($p$, $q$, $r$, $s$, $t$)
parameters = ()
let i = 0
while i != len {
parameters.push(default_parameters.at(i))
i += 1
}
}
let par... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/text_font4.typ | typst | Apache License 2.0 | #let fa = /* position after */ ("Test",)
#show raw: set text(font: fa)
|
https://github.com/mental2008/Resume | https://raw.githubusercontent.com/mental2008/Resume/main/Chinese/main.typ | typst | #import "@preview/octique:0.1.0": *
#let font = (
main: "IBM Plex Serif",
mono: "IBM Plex Mono",
cjk: "Noto Serif CJK SC",
)
// #show heading: set text(font: "Linux Biolinum")
#show link: underline
// Uncomment the following lines to adjust the size of text
// The recommend resume text size is from `10pt` to ... | |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/euclid.typ | typst | #import "@preview/cetz:0.2.2"
#let a = 9
#let b = 2
#let n = 5
#cetz.canvas(length: 10%, {
import cetz.draw: *
import cetz.vector
import cetz.coordinate
set-style(stroke: (thickness: 1pt))
line(
(),
(rel: (a, 0)),
name: "a_0"
)
line(
(rel: (0, -.5), to: "a_0.start"),
(rel: (b, 0))... | |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/diff.typ | typst | MIT License | // #let values(dict) = for (k, v) in dict { ((k, v), ) }
#let diffarray(a, b) = {
assert(type(a) == array, message: "expected `a` to have type 'array', got " + type(a))
assert(type(b) == array, message: "expected `b` to have type 'array', got " + type(b))
assert(a.len() == b.len(), message: "a.len() != b.len() ... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/058%20-%20Duskmourn%3A%20House%20of%20Horror/001_Episode%201%3A%20Don't%20Go%20Past%20the%20Old%20Dark%20House.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 1: Don't Go Past the Old Dark House",
set_name: "Duskmourn: House of Horror",
story_date: datetime(day: 19, month: 08, year: 2024),
author: "<NAME>",
doc
)
#emph[Many years ago] …
Thin clouds hung hazy in the sky, blocking the lig... | |
https://github.com/henry-zwart/uva-report-unofficial | https://raw.githubusercontent.com/henry-zwart/uva-report-unofficial/main/README.md | markdown | MIT License | # UvA-report-unofficial
UvA-report-unofficial is a Typst template for lab reports at the University of Amsterdam.
It's written primarily for my own use, but I've made it open-source in case others find it helpful.
## Dependencies
Using the template requires a local installation of [Typst](https://github.com/typst/t... |
https://github.com/dead-summer/math-notes | https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/Analysis/ch1-measures/ch1-measures.typ | typst | #import "/book.typ": book-page
#show: book-page.with(title: "Measures")
In this chapter we set forth the basic concepts of measure theory, develop a general procedure for constructing nontrivial examples of measures, and apply this procedure to construct measures on the real line. | |
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/documents/a4xmanual/chapnvram.typ | typst | #import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx
= NVRAM
XR/computer systems all contain a 4KB non-volatile RAM (NVRAM) which is used by the system firmware to store persistent information in "NVRAM variables". These can be viewed and set by the user from the command monitor. All NVRAM variable cont... | |
https://github.com/cbr9/CV | https://raw.githubusercontent.com/cbr9/CV/main/modules/professional.typ | typst | Apache License 2.0 | #import "../template/template.typ": *
#cvSection("Professional Experience")
#cvEntry(
title: [Master Thesis],
society: [Sony Europe (AI, Speech & Sound Group)],
logo: "../src/logos/sony.jpg",
date: [April 2023 - September 2023],
location: [Stuttgart, Germany],
description: list(
),
tag... |
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/notes/diestel.typ | typst | #import "@local/preamble:0.1.0": *
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#import "@preview/commute:0.2.0": node, arr, commutative-diagram
#show: project.with(
course: "Mathematics",
sem: "Summer",
title: "Graph Theory",
subtitle: "from Diestel.",
authors: (
"<NAME>",
),
)
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/counter_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Count figures.
#figure(numbering: "A", caption: [Four 'A's], kind: image, supplement: "Figure")[_AAAA!_]
#figure(numbering: none, caption: [Four 'B's], kind: image, supplement: "Figure")[_BBBB!_]
#figure(caption: [Four 'C's], kind: image, supple... |
https://github.com/jamesrswift/blog | https://raw.githubusercontent.com/jamesrswift/blog/main/_posts/2024-06-28-tables.md | markdown | MIT License | ---
layout: post
title: "Column-major typst table definitions - a rabbit hole"
---
Foreword: This post pertains to Typst v0.11.1, and the post most likely won't be updated to account for any future Typst changes. So to future netizens: your mileage may vary.

We did the method of _Sega et al_ #mcite(("Sega2011sixring"), biblio).
This lib package is the absolute best !
|
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/TA/Fall%202023/Math%20314/Assignment%205/Assignment%205%20Solutions.typ | typst | #import "/Templates/generic.typ": generic
#import "/Templates/question.typ": question_heading
#import "@preview/cetz:0.1.2"
#show: doc => generic(title: "Tutorial 8 Solutions", name: "<NAME>", doc)
#show: doc => question_heading(doc)
#let curl = $op("curl") thin$
#let vect(symbol) = $upright(bold(symbol))$
#let angleve... | |
https://github.com/Tran-Thu-Le/tybank | https://raw.githubusercontent.com/Tran-Thu-Le/tybank/main/readme.md | markdown | # Tybank: A Typst package for creating multiple choices exam
**Author:** <NAME>
**Version:** 0.0.1
## Channel log
- Add variation table (done)
- Add plot (done)
- align(right) figure
- filter questions based on tags
- add other types of questions
- simplify data structure of each question in the bank
- add... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/return-01.typ | typst | Other | // Test return with joining.
#let f(x) = {
"a"
if x == 0 {
return "b"
} else if x == 1 {
"c"
} else {
"d"
return
"e"
}
}
#test(f(0), "b")
#test(f(1), "ac")
#test(f(2), "ad")
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/smartquotes-on-newline.typ | typst | Apache License 2.0 | // Test that smart quotes are inferred correctly across newlines.
---
"test"#linebreak()"test"
"test"\
"test"
|
https://github.com/MultisampledNight/flow | https://raw.githubusercontent.com/MultisampledNight/flow/main/src/gfx/stub/draw.typ | typst | MIT License | #let set-style(..args) = none
#let set-origin(..args) = none
#let scale(..args) = none
#let group(..args) = none
#let line(..args) = none
#let rect(..args) = none
#let circle(..args) = none
#let arc(..args) = none
#let content(..args) = none
|
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/199.%20richnow.html.typ | typst | richnow.html
How People Get Rich Now
April 2021Every year since 1982, Forbes magazine has published a list of the
richest Americans. If we compare the 100 richest people in 1982 to
the 100 richest in 2020, we notice some big differences.In 1982 the most common source of wealth was inheritance. Of the
100 richest peopl... | |
https://github.com/bigskysoftware/hypermedia-systems-book | https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch10-json-data-apis.typ | typst | Other | #import "lib/definitions.typ": *
== JSON Data APIs
So far we have been focusing on using hypermedia to build Hypermedia-Driven
Applications. In doing so we are following and taking advantage of the native
network architecture of the web, and building a RESTful system, in the original
sense of that term.
#index[JSON]... |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw2.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: note.with(
title: "作业2",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false
)
#set heading(numbering: none, outlined: false)
= P25.16
设 $|G| ... | |
https://github.com/jasonelaw/bes-typst-memo | https://raw.githubusercontent.com/jasonelaw/bes-typst-memo/main/_extensions/quarto-ext/memo/typst-show.typ | typst | #show: memo.with(
$if(letterhead)$
letterhead: "$letterhead$",
$endif$
$if(sender)$
sender: [$sender$],
$endif$
$if(recipient)$
recipient: [$recipient$],
$endif$
$if(re)$
re: [$re$],
$endif$
$if(date)$
date: [$date$],
$endif$
)
| |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/src/sidenote.typ | typst | MIT License | #import "resolve.typ": *
#import "validate.typ": validate
/// Get the margin note state for a specific page.
#let page-state(page) = state("marge:0.1.0/page-" + str(page), ())
/// Get the container mark metadata for a specific page.
#let page-container(page) = metadata("marge:0.1.0/container-" + str(page))
/// ... |
https://github.com/matthiasbeyer/ttt | https://raw.githubusercontent.com/matthiasbeyer/ttt/master/README.md | markdown | MIT License | # ttt
transcript-template-typst
Based on the awesome [ilm](https://github.com/talal/ilm) template.
## License
MIT.
|
https://github.com/max-niederman/MATH51 | https://raw.githubusercontent.com/max-niederman/MATH51/main/notes/lecture_2023-08-02.typ | typst | #import "../lib.typ": *
#show: lecture-notes.with(
date: "2023-08-02",
)
= Hyperplane normal with Gram-Schmidt process
An alternative method to find the normal vector of a hyperplane
is to use the Gram-Schmidt process on the set of vectors $ { vname(v)_1, vname(v)_2, ... vname(v)_n, vname(v)' } $
where $vname(v)... | |
https://github.com/ekmanib/curriculum-vitae | https://raw.githubusercontent.com/ekmanib/curriculum-vitae/main/docs/skills.typ | typst | #text(font: "Jost", size: 16pt)[
Destrezas
]
#text(size: 14pt, stroke: 0.5pt + rgb("a60707"))[_R_]
Programación en R para aplicaciones de estadística y visualización de datos.
#text(size: 14pt, stroke: 0.5pt + rgb("a60707"))[_Python_]
Programación en Python para análisis estadístico, visualización de datos, au... | |
https://github.com/ofurtumi/formleg | https://raw.githubusercontent.com/ofurtumi/formleg/main/h07/H7.typ | typst | #import "@templates/ass:0.1.1":*
#import "@preview/finite:0.3.0": *
#import "@preview/cetz:0.1.1": *
#show: doc => template(
class: "TÖL301G",
project: "Homework 7",
doc
)
= Odd Square Machine
Let us consider language $S$ consisting of binary representations of _"odd squares"_, $1^2, 3^2, 5^2,...,$
"On input s... | |
https://github.com/lyzynec/orr-go-brr | https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/11/main.typ | typst | #import "../lib.typ": *
#knowledge[
#question(name: [Give the general optimization criterion for the
control--design procedure based on minimizing the $cal(H)_oo$--norm of the
mixed sensitivity function.])[
$
min_(K "stabilizing") norm(mat(W_1 S; W_2 K S; W_3 T))_oo
$
$W_i$... | |
https://github.com/Pegacraft/typst-plotting | https://raw.githubusercontent.com/Pegacraft/typst-plotting/master/plotst/axis.typ | typst | MIT License | // This sign can't stop me if I can't read
#import "util/util.typ": *
#import "@preview/oxifmt:0.2.0": strfmt
//------------------
// THIS FILE CONTAINS EVERYTHING TO DRAW AND REPRESENT AXES
//------------------
/// This is the constructor function for creating axes. Most plots/graphs will require axes to function. ... |
https://github.com/mattheww/tyroshup | https://raw.githubusercontent.com/mattheww/tyroshup/funcalls/funcalls/glossary.typ | typst | #import "fns.typ": dt, t, t2
= Glossary <glossary>
A #dt("construct") is a piece of program text that is an instance of a syntactic category
A #dt("keyword") is a word in program text that has special meaning.
== Dummy entries
These entries allow the Expressions chapter to build without failing due to broken links... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-09.typ | typst | Other | // Ref: false
// Destructuring with an empty sink.
#let (a, ..b, c) = (1, 2)
#test(a, 1)
#test(b, ())
#test(c, 2)
|
https://github.com/Karolinskis/KTU-typst | https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/mainPages/TermsList.typ | typst | #page(header: none)[
#align(center)[
= Santrumpų ir terminų sąrašas
]
*Santrumpos:*\
Doc. – docentas;\
Lekt. – lektorius;\
Prof. – profesorius.\
\
*Terminai:*\
*Saityno analitika* – lorem ipsum dolor sit amet, eam ex decore persequeris, sit at illud lobortis atomorum. Sed dolorem quaerendum ne, p... | |
https://github.com/isaacholt100/isaacholt100.github.io | https://raw.githubusercontent.com/isaacholt100/isaacholt100.github.io/master/maths-notes/3-durham%3A-year-3/analysis/analysis.typ | typst | #import "../../template.typ": *
#show: doc => template(doc, hidden: (), slides: false)
// FIND: - \*(\w+)\*: ([\s\S]*?)(?=\n-|\n\n)\n
// REPLACE: #$1[\n $2\n]\n
#let indicator(arg) = $bb(1)_arg$
#let ip(a, b) = $angle.l #a, #b angle.r$
= The real numbers
== Conventions on sets and functions
#definition[
For... | |
https://github.com/Nivaes/Nivaes.Typst | https://raw.githubusercontent.com/Nivaes/Nivaes.Typst/develop/README.md | markdown | MIT License | # Nivaes Typst
Access to typst for dotnet.
## Packages
| NuGet Package | Latest Versions |
| --- | --- |
| [Nivaes.Typst](https://www.nuget.org/packages/Nivaes.Typst) | [](https://www.nuget.org/packages/Nivaes.Typst) |
## Integration

#align(center, {
v(4.5em)
image("./images/ntnu-logo-norsk-m-visjon.svg", width: 40%)
v(1cm, weak: true)
smallcaps((latex.size.LARGE)([Department of ] + config.department))
v(1.5cm, weak: true)... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/Dejonckheere_Florian_Thesis.typ | typst | #import "template.typ": *
#show: template.with(
// Document title
title: "Automated Microservice Identification in Modular Monolith Architectures",
// Document subtitle
subtitle: "Master of Science (Tech.) Thesis",
// Institution
institution: "University of Turku",
// Department
department: "Departm... | |
https://github.com/EunTilofy/Compiler2024 | https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/hw/编译原理-Chapter5&6.typ | typst | #import "template.typ": *
#show: project.with(
course: "编译原理",
title: "Compilers Principals - Chapter5&6",
date: "2024.4.15",
authors: "<NAME>, 3210106357",
has_cover: false
)
*Problems:5.1(a,b),6.3,7(a,b)*
#HWProb(name: "5.1(a,b)")[
Improve the hash table implementation of Program 5.2:
a. Double the size o... | |
https://github.com/j10ccc/algorithm-analysis-homework-template-typst | https://raw.githubusercontent.com/j10ccc/algorithm-analysis-homework-template-typst/main/workspace/ps0.typ | typst | #import "../main.typ": template
#import "../layout/question.typ": question
#import "@preview/codelst:1.0.0": sourcecode
#let config = (
homework_id: [0],
date: [2023.9.04],
time_consume: [xxx],
deadline: [2023.9.24 : 6 PM],
intro: [本次习题主要涉及递归算法以及递归函数求解。请用 LATEX 编辑所有解答。所有问题请给出简洁的回答,任何冗余的回答可能会得低分。提交文件格式为 PDF。]... | |
https://github.com/chendaohan/bevy_tutorials_typ | https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/03_app/app.typ | typst | #set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3")
#set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei")
#set raw(theme: "themes/Material-Theme.tmTheme")
= 1. App
App 是你定义构成项目的所有事物的方式:插件、系统(运行条件、排序、系统集)、事件类型、状态、调度等。
```Rust
App::new()
.add_plugins(MinimalPlugins)
.regis... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/weeks/week6.typ | typst | #import "../../utils.typ": *
#section("Code Generation")
#subsection("Evaluation Stack")
Processors use registers in order to execute instructions, meanwhile, virtual
machine languages like jafuck use evaluation stacks in order to evaluate
instructions.
#align(
center,
[#image("../../Screenshots/2023_10_23_08_13_... | |
https://github.com/Han-duoduo/mathPater-typest-template | https://raw.githubusercontent.com/Han-duoduo/mathPater-typest-template/main/chapter/chap4.typ | typst | Apache License 2.0 | #import "../template/template.typ":*
= 符号说明
#symbolDesc(
syms: (
[$A$],
[$B$],
[$C$],
[$a_(i j)$],
[$b_(i j)$],
[$c_(i j)$],
[$*$],
[$D$],
[$E$],
[$F$],
[$d_(i j)$],
[$e_(i j)$],
[$f_(i j)$]
),
desc: (
[优化小区的冲突矩阵],
[优化小区的混淆矩阵],
[优化小区的干扰矩阵],
[优化小区... |
https://github.com/pascal-huber/typst-letter-template | https://raw.githubusercontent.com/pascal-huber/typst-letter-template/master/README.md | markdown | MIT License | # typst l<sub>e</sub>tt<sub>e</sub>r
A customizable Typst letter template with some presets for DIN 5008 A/B and
Swiss C5 Letter. Please note that the template is still under development and
subject to breaking changes.

See the [examples](./examples)
## Templates
- `lttr-init` is responsi... |
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/game-rules.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 Game Rules",
type: "identify",
date: datetime(year: 2023, month: 4, day: 29),
author: "<NAME>",
witness: "Violet Ridge"
)
= Field Elements #footnote(
[Image... |
https://github.com/danjones1618/presentations | https://raw.githubusercontent.com/danjones1618/presentations/main/template.typ | typst | #import "./catppuccin/src/lib.typ": catppuccin, themes, get-palette as get_palette
#import "./typst-svg-emoji/lib.typ": setup-emoji
#import "@preview/polylux:0.3.1": polylux-slide, uncover, only, side-by-side
#import "@preview/fontawesome:0.1.0": *
#let dan_theme(theme: themes.mocha, body) = {
set page(paper: "prese... | |
https://github.com/UBOdin/data_structures_book | https://raw.githubusercontent.com/UBOdin/data_structures_book/main/chapters/2-math.typ | typst | = Math Refresher
This section will cover:
- Summation
- Exponentiation / Logarithms
| |
https://github.com/iceghost/resume | https://raw.githubusercontent.com/iceghost/resume/main/5-projects/3-examinator.typ | typst | === Mock Examinator
#place(right + top)[Jun 2021 - Dec 2021]
/ Links: #link("https://chungtacungtien.vercel.app")[Demo].
/ Role: Frontend Developer in a 4-person team.
This website provides user interfaces for both examinees and exam authors to
organize mock exams. This helps students experience mock examinations wh... | |
https://github.com/dariakoz/Typst-Template | https://raw.githubusercontent.com/dariakoz/Typst-Template/main/lib/intro.typ | typst | #let data(key, value) = {
table(
columns: (1fr, 3fr),
stroke: none,
align: horizon,
key, stack(
value,
spacing: 8pt,
line(length: 100%),
)
)
v(1em)
}
#let tickbox(numbering, ticked) = {
table(
columns: (auto),
stroke: none,
align: horizon,
numbering,
r... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/include.typ | typst | Apache License 2.0 | #include "cond.typ"
#import "cond.typ"
#import "cond.typ" as test
#import "cond.typ": a as c, b as d
|
https://github.com/ilsubyeega/circuits-dalaby | https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/2/41.typ | typst | #set enum(numbering: "(a)")
#import "@preview/cetz:0.2.2": *
#import "../common.typ": answer
2.41 다음 회로의 전원에서 공급되는 전력을 구하라.
#answer[
Y to delta, Mesh 방법 중 Y to delta로 각 6개의 저항이 달린 T자를 delta로 변환한다.
$R_a = R_b = R_c = (6 dot 6) dot 3 / 6 = 18 ohm$
$R_(e q) = 10$
$I = V / R = 20 / 10 = 2 A$
$P = V I = 20... | |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/tests/wp/test.typ | typst | MIT License | #import "@local/schule:1.0.0": wp
#import wp: *
#show: wochenplan.with(
/* @typstyle:off */
titel: "Base template test",
reihe: "TYPST-TEST",
datum: "15.06.2024",
nummer: "1",
fach: "Typst",
kurs: "101",
autor: (
name: "<NAME>",
kuerzel: "Ngb",
),
version: "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.