repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Zeta611/simplebnf.typ | https://raw.githubusercontent.com/Zeta611/simplebnf.typ/main/examples/lambda.typ | typst | MIT License | #import "../simplebnf.typ": *
#set page(
width: auto,
height: auto,
margin: .5cm,
fill: white,
)
#bnf(
Prod(
$e$,
annot: $sans("Expr")$,
{
Or[$x$][_variable_]
Or[$λ x. e$][_abstraction_]
Or[$e$ $e$][_application_]
},
),
)
|
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/upsa-bo/estudio-de-factibilidad/template/capítulos/13.evaluación económica y financiera.typ | typst | MIT License | = Evaluación Económica y Financiera
== Escenario Sin Financiamiento
=== Cálculo del Costo de Oportunidad
=== Flujo de Caja Sin Financiamiento
=== Análisis de los Indicadores Financieros
== Escenario Con Financiamiento
=== Calculo del Costo Promedio Ponderado del Capital
=== Flujo de Caja Con Financiamiento
=== Análisis... |
https://github.com/Zeratoxx/typst-polylux-theme-frankenstein | https://raw.githubusercontent.com/Zeratoxx/typst-polylux-theme-frankenstein/main/demo/main.typ | typst | #import "@preview/polylux:0.3.1": *
#import "../theme/frankenstein.typ": *
#show: frankenstein-theme.with(
cover: true,
aspect-ratio: "16-9",
title: [Frankenstein theme],
abstract: [A theme about navigation and customization],
authors: (frankenstein-author("Theme Author 1", "123456/title of author", "<EMAIL... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fireside/1.0.0/lib.typ | typst | Apache License 2.0 | #let _title-size = 44pt
#let fireside(
background: rgb("f4f1eb"),
title: "",
from-details: none,
to-details: none,
margin: 2.1cm,
vertical-center-level: 2,
body
) = {
set page(fill: background, margin: margin)
set text(font: ("HK Grotesk", "Hanken Grotesk"))
let body = [
#set text(size: 11pt, ... |
https://github.com/Enter-tainer/mino | https://raw.githubusercontent.com/Enter-tainer/mino/master/typst-package/tetris.typ | typst | MIT License |
#let default-color = (
"Z": rgb("#ef624d"),
"S": rgb("#66c65c"),
"L": rgb("#ef9535"),
"J": rgb("#1983bf"),
"T": rgb("#9c27b0"),
"O": rgb("#f7d33e"),
"I": rgb("#41afde"),
"X": rgb("#686868"),
)
#let default-highlight-color = (
"Z": rgb("#ff9484"),
"S": rgb("#88ee86"),
"L": rgb("#ffbf60"),
"J": ... |
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis | https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/CHANGELOG.md | markdown | MIT License | # [v0.1.0](https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis/releases/tag/v0.1.0)
Initial Release
|
https://github.com/rose-pine/typst | https://raw.githubusercontent.com/rose-pine/typst/main/lib.typ | typst | MIT License | #import "src/apply.typ": apply, apply-theme
#import "src/themes/rose-pine.typ" : rose-pine
#import "src/themes/rose-pine-dawn.typ" : rose-pine-dawn
#import "src/themes/rose-pine-moon.typ" : rose-pine-moon
|
https://github.com/dyc3/senior-design | https://raw.githubusercontent.com/dyc3/senior-design/main/protocol.typ | typst | = Protocol <Chapter::Protocol>
== Messaging Protocol
The Monolith must maintain a maximum of one WebSocket connection to each Balancer.
The client communicates over the WebSocket with messages in JSON format, so the Balancer should do the same. The Balancer will send messages to the Monolith in the following format:... | |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Courses/数据库系统/ER 模型和NF.typ | typst | ---
order: 3
---
#import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "数据库系统",
lang: "zh",
)
#let null = math.op("null")
#let Unknown = math.op("Unknown")
#counter(heading).update(2)
= 第三部分:ER 模型和 Normal Form
== E-R模型
- 软件工程中,设计一个系统的时候,其步骤一般为:\ requirement specification $=>$ *conceptu... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap8/1_whats_a_meter.typ | typst | Other | #import "../../core/core.typ"
=== What is a meter?
A #emph[meter] is any device built to accurately detect and display an
electrical quantity in a form readable by a human being. Usually this
\"readable form\" is visual: motion of a pointer on a scale, a series of
lights arranged to form a \"bargraph,\" or some sort ... |
https://github.com/alikindsys/aula | https://raw.githubusercontent.com/alikindsys/aula/master/Core/prelude.typ | typst | #import "base.typ": aula, color-table, attn
#import "alias.typ": *
#import "packages.typ": gloss-awe, oxifmt, acrostiche, cetz
#import gloss-awe: gls, gls-add
#import oxifmt: strfmt
#import acrostiche: *
| |
https://github.com/lucifer1004/typst-poetry | https://raw.githubusercontent.com/lucifer1004/typst-poetry/main/README.md | markdown | # typst-poetry
A simple package for typesetting poems in Typst.

| |
https://github.com/Meisenheimer/Notes | https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/NumberTheory.typ | typst | MIT License | #import "@local/math:1.0.0": *
= Number Theory
== Prime Number
#env("Definition")[
A *prime number* (or a *prime*) is a natural number greater than $1$ that is not a product of two smaller natural numbers.
]
#env("Definition")[
A *composite number* (or a *composite*) is a natural number greater than $1$ that is... |
https://github.com/wuespace/vos | https://raw.githubusercontent.com/wuespace/vos/main/vo/vogo.typ | typst | #import "@preview/delegis:0.3.0": *
#show: it => delegis(
title: "Geschäftsordnung des Vorstands des WüSpace e. V.",
abbreviation: "VoGO",
resolution: "1. Beschluss des Vorstands vom 18. Juli 2024, 2024/V-43",
in-effect: "18.07.2024",
logo: image("wuespace.svg"),
it
)
#outline()
= Allgemeiner Teil
§ 1 G... | |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/30.typ | typst | #import "../conf.typ": *
= Линейные обыкновыенные дифференциальные уравнения с переменными коэффициентами. Фундаментальная система решений. Определитель Вронского. Формула Лиувилля-Остроградского.
#definition[
Вектор-функции $bold(y_1)(x), ..., bold(y_k)(x)$, определённые на промежутке $I$,
называются *линейно зав... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/call-03.typ | typst | Other | // Error: 2-6 expected function, found boolean
#true()
|
https://github.com/liuguangxi/erdos | https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p217.typ | typst | #import "@preview/cetz:0.2.1"
#cetz.canvas({
import cetz.draw: *
let a = 2.5
set-style(stroke: 3pt)
line((0, -a), (a*calc.cos(210deg), a*calc.sin(210deg)), (a*calc.cos(150deg), a*calc.sin(150deg)),
(0, a), (a*calc.cos(30deg), a*calc.sin(30deg)), (a*calc.cos(-30deg), a*calc.sin(-30deg)))
c... | |
https://github.com/neNasko1/typst-template | https://raw.githubusercontent.com/neNasko1/typst-template/main/template.typ | typst | #let conf(
title: none,
authors: (), doc,
) = {
set page(
paper: "a4",
margin: 0.5in,
// header: align(
// right + horizon,
// title
// ),
)
set heading(numbering: "1.")
set text(font: "New Computer Modern")
show raw: set text(font: "New Computer Modern Mono")
set par(justify: true)
set align(... | |
https://github.com/GYPpro/DS-Course-Report | https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/17.typ | typst | #import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx
#import "@preview/codelst:2.0.1": sourcecode
// Display inline code in a small box
// that retains the correct baseline.
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw: set text(
font: ("consolas", "Source Han Serif SC"... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-103A0.typ | typst | Apache License 2.0 | #let data = (
("OLD PERSIAN SIGN A", "Lo", 0),
("OLD PERSIAN SIGN I", "Lo", 0),
("OLD PERSIAN SIGN U", "Lo", 0),
("OLD PERSIAN SIGN KA", "Lo", 0),
("OLD PERSIAN SIGN KU", "Lo", 0),
("OLD PERSIAN SIGN GA", "Lo", 0),
("OLD PERSIAN SIGN GU", "Lo", 0),
("OLD PERSIAN SIGN XA", "Lo", 0),
("OLD PERSIAN SIGN ... |
https://github.com/Mc-Zen/pillar | https://raw.githubusercontent.com/Mc-Zen/pillar/main/src/pillar.typ | typst | MIT License | #import "impl.typ": cols, table
|
https://github.com/awsomearvinder/scheduler-paper | https://raw.githubusercontent.com/awsomearvinder/scheduler-paper/master/paper.typ | typst | #set page("us-letter", numbering: "1 of 1")
#align(center)[
= Scheduler Report
<NAME> | <NAME>
]
#pagebreak()
#set block(spacing: 1.5em)
#set text(
font: "New Computer Modern",
size: 1em
)
#set par(
justify: true,
leading: 1em,
first-line-indent: 2em
)
#show heading: it => {
it
par()[#text(size:0.5e... | |
https://github.com/Coekjan/parallel-programming-learning | https://raw.githubusercontent.com/Coekjan/parallel-programming-learning/master/template.typ | typst | #let project(title: "", authors: (), body) = {
// Set the document's basic properties.
set document(author: authors.map(a => a.name), title: title)
set text(lang: "zh", font: ("linux libertine", "SimSun"))
set heading(numbering: "1.1.1")
set par(leading: 0.55em, first-line-indent: 1.8em, justify: true)
set ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2D30.typ | typst | Apache License 2.0 | #let data = (
("TIFINAGH LETTER YA", "Lo", 0),
("TIFINAGH LETTER YAB", "Lo", 0),
("TIFINAGH LETTER YABH", "Lo", 0),
("TIFINAGH LETTER YAG", "Lo", 0),
("TIFINAGH LETTER YAGHH", "Lo", 0),
("TIFINAGH LETTER BERBER ACADEMY YAJ", "Lo", 0),
("TIFINAGH LETTER YAJ", "Lo", 0),
("TIFINAGH LETTER YAD", "Lo", 0),
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/proposals/7-inplacement-plugin-for-mathjax-users.md | markdown | Apache License 2.0 | ### In-place Replacement Plugin for MathJax Users
Example code:
```html
<head>
<script type="module">
import { TypstJax } from '@myriaddreamin/typst-math';
TypstJax.Config = {
tex: {
inlineMath: [
['$', '$'],
['\\(', '\\)'],
],
},
svg: {
fontCach... |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/24-01-17/24-01-17.typ | typst | #import "/template.typ": *
#show: project.with(
date: "17/01/24",
subTitle: "Meeting di pianificazione RTB",
docType: "verbale",
authors: (
"<NAME>",
),
timeStart: "10:00",
timeEnd: "11:00",
);
= Ordine del giorno
- Valutazione progresso generale;
- Verifica avanzamenti per colloquio RTB;
- Candida... | |
https://github.com/neunenak/typst-leipzig-glossing | https://raw.githubusercontent.com/neunenak/typst-leipzig-glossing/master/CHANGELOG.md | markdown | MIT License | # Changelog
## 0.3.0
* Added `label` and `label-supplement` arguments to `gloss` function
* Added borders around code + rendered example in documentation pdf
## 0.2.0
* renamed `numbered_gloss` to `numbered-gloss`, `gloss_count` to `gloss-count`, in light of the
Typst style preference for kebab-case. Also renamed the... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/table-row-missing_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 70pt)
#table(
rows: 16pt,
..range(6).map(str).flatten(),
)
|
https://github.com/StandingPadAnimations/papers | https://raw.githubusercontent.com/StandingPadAnimations/papers/main/quadratic-complex-factoring/main.typ | typst | Given a quadratic in the form
$ "a"x^2 + "b"x + c $
where $a=1$ and no real solutions exist, the factored form of the quadratic is:
$ (x + b/2 + sqrt(c - (b/2)^2)i) (x + b/2 - sqrt(c - (b/2)^2)i) $
When multiplied out through the distributive property, the following table is produced:
#align(center, [
#table(
... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/group_dynamics/lectures/2024-09-03.typ | typst | #import "/utils/math.typ": *
= Команда
Команда:
- имеет общую цель
- *TODO*
Команда эффективнее одиночки
#def[
#defitem[Эффект Синергии] --- совместная эффективность людей, работающих
вместе, выше, чем сумма эффективностей отдельных людей
]
Реймонд <NAME> придумал теория создания эффективных комманд
#figu... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/raw_nest.typ | typst | Apache License 2.0 | ````typ
```typ
abc
```
````
`````typ
````md
```typ
abc
```
````
`````
|
https://github.com/fenjalien/mdbook-typst-doc | https://raw.githubusercontent.com/fenjalien/mdbook-typst-doc/main/readme.md | markdown | Apache License 2.0 | # mdbook Typst Doc Preprocessor
A preprocess for mdbook's html renderer to aid in writing Typst documentation. This is currently still a work in progress.
## Features
- [x] Display Typst types as colored pills, like in the Typst documentation.
- [x] Typst code block:
- [x] Highlighting
- [x] Rendering
- [x] Exam... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/delimited_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that symbols aren't matched automatically.
$ bracket.l a/b bracket.r
= lr(bracket.l a/b bracket.r) $
|
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/README.md | markdown | <img alt="Logo di Error_418" src="https://github.com/Error-418-SWE/Documenti/blob/7778de3e750a90db96204acb8b7942b2876769a8/logo.png" width="128"/>
# Sorgenti della documentazione di Error_418
Il branch `src` contiene i file sorgente della documentazione di **Error_418** (gruppo 7). I documenti sono prodotti nell'ambi... | |
https://github.com/kiwiyou/algorithm-lecture | https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/basic/06-optimization.typ | typst | #import "@preview/cetz:0.1.2"
#import "@preview/algorithmic:0.1.0"
#import "../slide.typ"
#show: slide.style
#show link: slide.link
#show footnote.entry: slide.footnote
#let algorithm(..args) = text(font: ("linux libertine", "Pretendard"), size: 17pt)[#algorithmic.algorithm(..args)]
#let func(body) = text(font: ("linu... | |
https://github.com/isaacholt100/isaacholt | https://raw.githubusercontent.com/isaacholt100/isaacholt/main/public/maths-notes/4-cambridge%3A-part-III/information-theory/information-theory.typ | typst | MIT License | #import "../../template.typ": *
#show: doc => template(doc, hidden: (), slides: false)
#let Bern = math.op("Bern")
#let sim = sym.tilde
= Entropy
== Introduction
#notation[
Write $x_1^n := (x_1, ..., x_n) in {0, 1}^n$ for an length $n$ bit string.
]
#notation[
We use $P$ to denote a probability mass functio... |
https://github.com/LorenzoCucchi/appunti_aerodinamica | https://raw.githubusercontent.com/LorenzoCucchi/appunti_aerodinamica/main/appunti_typst/main.typ | typst | MIT License | #import "template.typ": *
#show: ieee.with(
title: [Aerodinamica ],
abstract: [
Appunti del corso di aerodinamica 22/23
],
authors: (
(
name: "<NAME>",
),
),
bibliography-file: "refs.bib",
)
= Corpi Tozzi
Dobbiamo definire la *vorticità*:
$ underline(omega)=underline(nabla)times under... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Atomic_Habits.typ | typst | #import "@preview/bubble:0.1.0": *
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#import "@preview/cetz:0.2.2": canvas, draw, tree, plot
#import "@preview/cheq:0.1.0": checklist
#import "@preview/typpuccino:0.1.0": macchiato, latte
#import "@preview/wordometer:0.1.1": *
#import "@preview/tablem:0.1... | |
https://github.com/TycheTellsTales/typst-pho | https://raw.githubusercontent.com/TycheTellsTales/typst-pho/main/tests/multipage/test.typ | typst | #import "../../lib.typ": pho
#pho(
viewer: "<NAME>",
poster: "<NAME>",
date: "January 1st 1001",
endPage: 2,
(topic, post) => {
topic(
title: "Hello World!",
board: "Announcements",
)[
Hello World!\
\
This is a post\
]
post("<NAME>")[
Reply 1
]
po... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/truthfy/0.1.0/README.md | markdown | Apache License 2.0 | # truthfy
Make an empty or filled truth table in Typst
# Functions
```
generate-empty(info: array[math_block], data: array[str]): table
Create an empty (or filled with "data") truth table.
generate-table(..info: array[math_block]): table
Create a filled truth table. Only "not and or xor => <=>" are consider... |
https://github.com/El-Naizin/cv | https://raw.githubusercontent.com/El-Naizin/cv/main/modules_zh/projects.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("项目与协会")
#cvEntry(
title: [志愿数据分析师],
society: [ABC 非营利组织],
date: [2019 - 现在],
location: [纽约, NY],
description: list(
[分析捐赠者和筹款数据以识别增长的趋势和机会],
[创建数据可视化和仪表板以向董事会传达洞见],
[与其他志愿者合作开发和实施数据驱动的策略],
[向董事会和高级管理团队提供定期的数据分析报告]
)
)
|
https://github.com/mem-courses/discrete-mathmatics | https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week7.typ | typst | MIT License | #import "../template.typ": *
#import "../functions.typ": *
#show: project.with(
course: "Discrete Mathmatics",
course_fullname: "Discrete Mathematics and Application",
course_code: "211B0010",
title: "Homework #7: Fundamentals of Combinatorial Counting",
authors: ((
name: "<NAME>",
email: "<EMAIL>",
id: "A1... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/layout-infinite-lengths_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// #set page(width: auto, height: auto)
//
// // Error: 58-59 cannot expand into infinite width
// #layout(size => grid(columns: (size.width, size.height))[a][b][c][d]) |
https://github.com/AHaliq/CategoryTheoryReport | https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/appendix.typ | typst | #import "../preamble/lemmas.typ": *
#import "../preamble/catt.typ": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#pagebreak()
= Appendix
$
&"isCategory"(Ob(""), Hom("")) =&
&forall f,g in Hom(""). cod(f) = dom(g) => g comp f in Hom("") \
&&and& forall X in Ob(""). exists! 1_X in Hom("",s:... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/011%20-%20Journey%20into%20Nyx/005_The%20Path%20or%20the%20Horizon.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Path or the Horizon",
set_name: "Journey into Nyx",
story_date: datetime(day: 07, month: 05, year: 2014),
author: "<NAME>",
doc
)
Zosimos walked along the dirt path that meandered around the border of the ancient woods and welcomed the ... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/光电系统集成/2.typ | typst | #import "@preview/touying:0.2.1": *
#import "template.typ": *
#let s = themes.simple.register(s, aspect-ratio: "16-9", footer: [Harbin Engineering University])
#let s = (s.methods.enable-transparent-cover)(self: s)
#let (init, slide, slides, title-slide, centered-slide, focus-slide,touying-outline) = utils.methods(s)
... | |
https://github.com/Isaac-Fate/booxtyp | https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/index.typ | typst | Apache License 2.0 | // Copyright 2023 <NAME>, <NAME>
// Use of this code is governed by the License in the LICENSE.txt file.
// For a 'how to use this package', see the accompanying .md, .pdf + .typ documents.
// Classes for index entries. The class determines the visualization
// of the entries' page number.
#let classes = (main: "Main"... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/lib/draw.typ | typst | Other | #import "/template/theme.typ": theme, choose
#let state-size = state("size", none)
#let state-start = state("tart", none)
#let state-unit = state("unit", none)
#let make-relative = ((w, h), (sx, sy)) => ((x, y)) => (
(x - sx) / w * 100%,
100% - (y - sy) / h * 100%,
)
#let make-relative-to = rel => (a, b) => {
... |
https://github.com/hewliyang/fyp-typst | https://raw.githubusercontent.com/hewliyang/fyp-typst/main/related-work.typ | typst | #set heading(numbering: "1.")
= Related Work (Part I)
The main goal of this work is to investigate the feasibility and potential pitfalls of utilizing neural networks as predictors for subjective scores, primarily MOS-N or MOS for naturalness of synthetic speech.
Given a dataset $D = {(x_i,y_i)}_(i=1)^N$ where $x_i$... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/layout/page_setup.md | markdown | MIT License | # Page setup
> See [Official Page Setup guide](https://typst.app/docs/guides/page-setup-guide/)
```typ
#set page(
width: 3cm,
margin: (x: 0cm),
)
#for i in range(3) {
box(square(width: 1cm))
}
```
```typ
#set page(columns: 2, height: 4.8cm)
Climate change is one of the most
pressing issues of our time, with
... |
https://github.com/angelcerveraroldan/notes | https://raw.githubusercontent.com/angelcerveraroldan/notes/main/abstact_algebra/notes/groups/intro.typ | typst | #import "../../../preamble.typ" : *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#let iso = $tilde.equiv$
#let nsub = $lt.tri.eq$
== Quotient groups
One way to define quotient groups, is by using a group homomorphism. Let $G$ be some group, and define some $psi : G -> H$ homomorphism.
For any... | |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/upsa-bo/tesis/template/tesis.typ | typst | MIT License | // #import "../lib.typ": *
// #show: tesis.with(
// facultad: "Facultad de Ingeniería",
// carrera: "Ingeniería de Sistemas",
// modalidad: "Proyecto de Grado",
// titulo: "Título del trabajo\n(máximo 15 palabras)",
// nombres: "Nombres",
// apellidos: "Apellidos",
// registro: str(datetime.today().year(... |
https://github.com/maucejo/book_template | https://raw.githubusercontent.com/maucejo/book_template/main/template/appendix/app2.typ | typst | MIT License | #import "../../src/book.typ": *
#show: chapter.with(
title: "Fondements mathématiques",
toc: false
)
#lorem(100)
$
#boxeq($bold(y)_(k + 1) = bold(C) space.thin bold(x)_(k + 1)$)
$
#nonumeq($
y(x) = f(x)
$)
La Figure @fig:B
#figure(
image("../images/chapitre1/cnam_region.png", width: 75%)... |
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/wedges-rebuild/brainstorm.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: "Brainstorm: Wedges Rebuild",
type: "brainstorm",
date: datetime(year: 2023, month: 11, day: 29),
author: "<NAME>",
witness: "<NAME>",
)
After brainstorming we came up ... |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/src/schemas.typ | typst | Other | #import "schemas/author.typ": author
#import "schemas/enumerations.typ": papersize |
https://github.com/piepert/grape-suite | https://raw.githubusercontent.com/piepert/grape-suite/main/src/elements.typ | typst | MIT License | #import "colors.typ": *
#let unbreak(body) = {
set text(hyphenate: false)
body
}
#let important-box(body,
title: none,
time: none,
primary-color: magenta,
secondary-color: magenta.lighten(90%),
tertiary-color: magenta,
dotted: false,
figured: false,
counter: none,
show-numb... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/bug_cite_func_infer.typ | typst | Apache License 2.0 |
#let cite_prose(labl) = ref(labl)
#let cite_prose_different_name(labl) = ref(labl)
|
https://github.com/jamesrswift/frackable | https://raw.githubusercontent.com/jamesrswift/frackable/main/src/lib.typ | typst | The Unlicense | #import "impl.typ": frackable, generator |
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/fonc/lc-nuls-old.typ | typst | #import "../lib.typ": *
#show heading: heading_fct
#import "@preview/gloss-awe:0.0.5": gls
#show figure.where(kind: "jkrb_glossary"): it => {it.body}
#import "@preview/curryst:0.3.0": rule, proof-tree
#correct[
// TODO(Juliette): corriger cet exo
Cet exercice se fait sans trop de difficulté, une correction sera ... | |
https://github.com/Doublonmousse/pandoc-typst-reproducer | https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/color_issues/rotate.typ | typst | #square(
fill: red.rotate(30deg)
)
| |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/Presentations/Concept4/concept04.typ | typst | #import "@preview/polylux:0.3.1": *
#set page(paper: "presentation-16-9", margin: (x: 1cm, y: 0.5cm))
#set text(size: 18pt)
#polylux-slide[
#align(horizon + center)[
= Visual FP
=== Concept 04
]
]
#polylux-slide[
= Setup
#v(1fr)
1. Take an exercise
#v(1fr)
2. Solve it using the proposed concept... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/ConsuntivoSprint/DecimoSprint.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
==== Decimo consuntivo
*Inizio*: Venerdì 23/02/2024
*Fine*: Giovedì 29/02/2024
#rendicontazioneOreAPosteriori(sprintNumber: "10")
... |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20esterna/Verbali/23-12-15/23-12-15.typ | typst | #import "/template.typ": *
#show: project.with(
date: "15/12/23",
subTitle: "Stato di avanzamento lavori su PoC",
docType: "verbale",
authors: (
"<NAME>",
),
externalParticipants : (
(name: "<NAME>", role: "Membro azienda proponente"),
(name: "<NAME>", role: "Referente aziendale"),
(name: "... | |
https://github.com/zjutjh/zjut-report-typst | https://raw.githubusercontent.com/zjutjh/zjut-report-typst/main/template/fonts.typ | typst | #let font_style = (
heiti: "Noto Sans CJK SC",
songti: "Noto Serif CJK SC",
kaiti: "LXGW WenKai"
);
#let font_size = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
小六: 6.5pt,
七号: 5.5pt,
八号: 5pt
... | |
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-exam/template/exam.typ | typst | MIT License | #import "@preview/ttt-exam:0.1.2": *
#set text(size: 12pt, font: ("Rubik"), weight: 300, lang: "de")
#show: exam.with(
..toml("meta.toml").info,
logo: image("logo.jpg"),
cover: true, // true or false
eval-table: false, // true or false
appendix: none, // content or none
)
= Part 1: Free text questions
#... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/diagraph/0.1.0/README.md | markdown | Apache License 2.0 | # diagraph
A simple graphviz binding for typst using the new webassembly plugin system
## Usage
This plugin is quite simple to use, you just need to import it:
```typ
#import "@preview/diagraph:0.1.0": *
```
It allows you to render a graphviz dot string to a svg image:
```typ
#render("digraph { a -> b }")
```
Fo... |
https://github.com/crd2333/typst-admonition | https://raw.githubusercontent.com/crd2333/typst-admonition/master/README.md | markdown | MIT License | # typst-admonition
[This package](https://github.com/crd2333/typst-admonition) is admonitions in [typst](https://github.com/typst/typst).
The icons are repainted from [material](https://squidfunk.github.io/mkdocs-material/reference/admonitions/). And it's easy to modify and add new icons.
After version 0.3.0, the pa... |
https://github.com/wuespace/delegis | https://raw.githubusercontent.com/wuespace/delegis/main/template/main.typ | typst | MIT License | #import "@preview/delegis:0.3.0": *
#show: delegis.with(
// Metadata
title: "Vereinsordnung zu ABCDEF",
abbreviation: "ABCDEFVO",
resolution: "3. Beschluss des Vorstands vom 24.01.2024",
in-effect: "24.01.2024",
draft: false,
// Template
logo: image("wuespace.jpg", alt: "WüSpace e. V."),
)
/// Usage
/... |
https://github.com/kdog3682/typkit | https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/misc.typ | typst | #import "is.typ": *
#import "typst.typ"
#import "resolve.typ": *
#let tern(condition, a, b) = { if is-truthy(condition) { a } else { b } }
#let identity(x) = { x }
#let exists(x) = { x != none and x != false }
#let empty(x) = { x == none }
#let unreachable() = { panic("this can never be reached") }
#let create-icon(u... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/02_oktober.typ | typst | #import "../../../all.typ": *
#show: book
= #translation.at("M_02_oktober")
#include "../02_oktober/01.typ"
#pagebreak()
#include "../02_oktober/26.typ"
#pagebreak()
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/anatomy/0.1.0/README.md | markdown | Apache License 2.0 | # Anatomy
*Anatomy of a Font*. Visualise metrics.
Import the `anatomy` package:
```typst
#import "@preview/anatomy:0.1.0": metrics
```
## Samples
`metrics(72pt, "EB Garamond", "Typewriter")` will be rendered as follows:

## Deploy
The CV is deployed automatically to GitHub pages using GitHub actions. | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas8/0_Nedela.typ | typst | #let M = (
"HV": (
("","","Večérňuju písň, i slovésnuju slúžbu, tebí Christé prinósim: jáko blahovolíl jesí pomílovati nás voskresénijem."),
("","","Večérňuju písň, i slovésnuju slúžbu, tebí Christé prinósim: jáko blahovolíl jesí pomílovati nás voskresénijem."),
("","","Hóspodi, Hóspodi, ne otvérži nás ot... | |
https://github.com/ljgago/typst-chords | https://raw.githubusercontent.com/ljgago/typst-chords/main/lib.typ | typst | MIT License | #import "./src/chart.typ": chart-chord
#import "./src/piano.typ": piano-chord
#import "./src/single.typ": single-chord
|
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/README.md | markdown | MIT License | # g-exam
This template provides a way to generate exams. You can create questions and sub-questions, header with information about the academic center, score box, subject, exam, header with student information, clarifications, solutions, watermark with information about the exam model and teacher.
#### Features ... |
https://github.com/jonaspleyer/peace-of-posters | https://raw.githubusercontent.com/jonaspleyer/peace-of-posters/main/README.md | markdown | MIT License | # peace-of-posters


> piece of cake<br>
> peace of mind<br>
... |
https://github.com/DaAlbrecht/lecture-notes | https://raw.githubusercontent.com/DaAlbrecht/lecture-notes/main/discrete_mathematics/greatest-common-divisor.typ | typst | MIT License | #import "../template.typ": *
= Greatest Common Divisor
#definition[
Each number has at least two divisors: 1 and itself.
]
#statement[
#align(center)[
$d bar.v a arrow.r.double a = d * k$ for some integer $k$.]
This means the divisors $d$ can not be larger than $a$ itself.
]
#example[
The divisors of $12$ are... |
https://github.com/veilkev/jvvslead | https://raw.githubusercontent.com/veilkev/jvvslead/Typst/files/4_sales.typ | typst | #import "../sys/packages.typ": *
#import "../sys/sys.typ": *
#import "../sys/header.typ": *
#v(130pt)
= Sales Reports
#box(height:auto,
columns(3, gutter: 15pt)[
#slantedColorbox(
title: "Receipt",
color: "black",
radius: 0pt,
width: auto,
)[
Sales Category Report\
#h(5pt) --for Mon 10-Jun-2024\
... | |
https://github.com/daleione/typst-resume-template | https://raw.githubusercontent.com/daleione/typst-resume-template/master/README.md | markdown | MIT License | # typst-resume-template
Typst Resume Template
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/introduction.typ | typst | Apache License 2.0 | #import "/docs/cookery/book.typ": book-page
#import "/github-pages/docs/graphs.typ": data-flow-graph, ir-feature-graph
#show: book-page.with(title: "Introduction")
#let natural-image(img) = style(styles => {
let (width, height) = measure(img, styles)
layout(page => {
let width_scale = 0.8 * page.width / widt... |
https://github.com/chillcicada/typst-dotenv | https://raw.githubusercontent.com/chillcicada/typst-dotenv/main/lib.typ | typst | MIT License | #let parse_dotenv(ctx) = {
if type(ctx) == "content" {
ctx = ctx.text
} else if type(ctx) != "string" {
return ctx
}
let arr = ctx.split(regex("#.*\r?\n?|\r?\n")).filter(it => it.trim() != "").map(line => {
let parts = line.split("=")
let key = parts.at(0).trim()
if (key != "") {
if (... |
https://github.com/mkpoli/roremu | https://raw.githubusercontent.com/mkpoli/roremu/master/docs/doc.typ | typst | The Unlicense | #import "@preview/tidy:0.2.0"
#set text(font: "Noto Serif CJK JP", size: 10pt)
#show raw: set text(font: ("Fira Code", "Noto Sans Mono CJK JP"))
#set heading(numbering: "1.1")
#set page(paper: "jis-b5")
#show link: it => {
set text(fill: blue)
underline(it)
}
#let show-module = tidy.show-module
// = テンプレート
#l... |
https://github.com/jedel1043/Math-Notes | https://raw.githubusercontent.com/jedel1043/Math-Notes/main/main.typ | typst | #import "style.typ": *
#show: doc => conf(
title: [
General math notes
],
doc
)
= Perspective Projection matrix (Reverse depth + D3D/WGPU/Metal coordinate system)
Source: #link(
"https://vincent-p.github.io/posts/vulkan_perspective_matrix/#classic-perspective-with-a-near-and-far-plane"
)[The pers... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-09.typ | typst | Other | // Test comparison operators.
#test(13 * 3 < 14 * 4, true)
#test(5 < 10, true)
#test(5 > 5, false)
#test(5 <= 5, true)
#test(5 <= 4, false)
#test(45deg < 1rad, true)
#test(10% < 20%, true)
#test(50% < 40% + 0pt, false)
#test(40% + 0pt < 50% + 0pt, true)
#test(1em < 2em, true)
|
https://github.com/OrangeX4/typst-test-sync-repo | https://raw.githubusercontent.com/OrangeX4/typst-test-sync-repo/main/packages/local/treemap/0.1.0/lib.typ | typst | #let _treemap(is-root: false, max-columns: 3, is-child-of-root: false, tree) = {
if is-root {
table(
inset: (x: 0.2em, y: 0.6em),
columns: calc.min(tree.children.len(), max-columns),
..tree.children.map(_treemap.with(is-child-of-root: true)),
)
} else {
if tree.children == () {... | |
https://github.com/MasterTemple/typst-bible-plugin | https://raw.githubusercontent.com/MasterTemple/typst-bible-plugin/main/conf.typ | typst | #let conf(
doc,
) = {
import "bible.typ": bible_footnote, bible_quote, bible_quote_fmt
// add paper formatting
set text(font: "Arial")
set page(numbering: "[ 1 ]", number-align: bottom + right)
// add element customization
show heading.where(level: 1): it => [
#it
#line(length: 100%)
]
show heading.wher... | |
https://github.com/memset0/ZJU-Project-Report-Template | https://raw.githubusercontent.com/memset0/ZJU-Project-Report-Template/master/examples/co/report.typ | typst | MIT License | #import "../../template.typ": *
#show: project.with(
theme: "lab",
title: "计算机组成 实验一",
course: "计算机组成",
name: "实验一:xxx",
author: "xxx",
school_id: "xxx",
major: "计算机科学与技术",
place: "东教 xxx",
teacher: "yyy",
date: "2050/01/01",
)
= 实验一:(标题可以自拟)
== 实验目的和要求
#lorem(100)
== 实验内容和原理
=== XXXX设计(实验任务)
... |
https://github.com/UriMtzF/uaemex-typst-template | https://raw.githubusercontent.com/UriMtzF/uaemex-typst-template/main/example.typ | typst | Apache License 2.0 | #import "template.typ": *
#show: project.with(
title: "Title of the project",
authors: (
"Author 1 name and surname",
"Author 2 name and surname",
"Author 3 name and surname",
"Author 4 name and surname",
),
subject: "Subject",
date: (
year: 2023,
month: 1,
day: 10,
),
isIndex... |
https://github.com/Gekkio/gb-ctr | https://raw.githubusercontent.com/Gekkio/gb-ctr/main/appendix/pinouts.typ | typst | Creative Commons Attribution Share Alike 4.0 International | == Chip pinouts
#columns(2)[
=== CPU chips
#figure(
image("../images/DMG-CPU-pinout.svg", width: 100%),
caption: [DMG/SGB CPU (Sharp QFP080-P-1420)]
)
#figure(
image("../images/MGB-CPU-pinout.svg", width: 100%),
caption: [MGB/SGB2 CPU (Sharp QFP080-P-1420)]
)
#colbreak()
=== Cartridge... |
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/math/lib.typ | typst | The Unlicense | #import "aabb.typ"
#import "complex.typ"
#import "matrix.typ"
#import "vector.typ" |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ARO/docs/1-Introduction/gestion-memoire.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Gestion de la mémoire
],
lesson: "ARO",
chapter: "1 - Introduction",
definition: "Comprendre la gestion de la mémoire dans le cours d'ARO vous permettera de pouvoir calculer facilement des tailles de mémoire ainsi que des adre... | |
https://github.com/FelipeCybis/quarto-physmed-template | https://raw.githubusercontent.com/FelipeCybis/quarto-physmed-template/main/physmed-poster-landscape/README.md | markdown | MIT License | ## Physmed Quarto/Typst poster landscape template
Check the [example PDF here](https://felipecybis.github.io/quarto-physmed-template/physmed-poster-landscape/template.pdf).
|
https://github.com/tingerrr/subpar | https://raw.githubusercontent.com/tingerrr/subpar/main/test/grid-cell/test.typ | typst | MIT License | // Synopsis:
// - passing a grid sub element works as expected
#import "/test/util.typ": *
#import "/src/lib.typ" as subpar
#subpar.grid(
grid.cell([#figure(fake-image, caption: [Inner Caption]) <1a>], colspan: 2),
figure(fake-image, caption: [Inner Caption]), <1b>,
grid.vline(),
figure(fake-image, caption: [... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/uebungen/5/heap.typ | typst | #import "/config.typ": theme
#import "/components/num_row.typ": single_num_row
#import "/components/lefttree.typ": lefttree, draw_node, polygon_around, poly_fill, box_around, number, connect, bent_line, index_to_name, name_to_index, loop_line
#import "@preview/cetz:0.3.0"
#let heap(
nums,
bg_primary: (),
bg_seco... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-16F00.typ | typst | Apache License 2.0 | #let data = (
("MIAO LETTER PA", "Lo", 0),
("MIAO LETTER BA", "Lo", 0),
("MIAO LETTER YI PA", "Lo", 0),
("MIAO LETTER PLA", "Lo", 0),
("MIAO LETTER MA", "Lo", 0),
("MIAO LETTER MHA", "Lo", 0),
("MIAO LETTER ARCHAIC MA", "Lo", 0),
("MIAO LETTER FA", "Lo", 0),
("MIAO LETTER VA", "Lo", 0),
("MIAO LETTE... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue26.typ | typst | Other | #let x = (a: 4)
#{
x.at("b") = 5
}
#x
|
https://github.com/bigskysoftware/hypermedia-systems-book | https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch13-extending-the-hyperview-client.typ | typst | Other | #import "lib/definitions.typ": *
== Extending The Hyperview Client
In the previous chapter, we created a fully-featured native mobile version of
our Contacts app. Aside from customizing the entry point URL, we didn’t need to
touch any code that runs on the mobile device. We defined our mobile app’s UI
and logic compl... |
https://github.com/Meisenheimer/Notes | https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/Optimization.typ | typst | MIT License | #import "@local/math:1.0.0": *
= Optimization
== One-dimensional Line Search
#env("Definition")[
Given a function $f: RR^n -> RR$, a initial point $mathbf(x)$ and a direction $mathbf(d)$, denoted by $phi(alpha) = f(mathbf(x) + alpha mathbf(d))$, a *one-dimensional line search* method solves the problem
$ phi(al... |
https://github.com/TechnoElf/mqt-qcec-diff-presentation | https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-presentation/main/content/implementation.typ | typst | #import "@preview/fletcher:0.5.1": diagram, node, edge
#import "../template/conf.typ": slide
#slide(title: "")[
#box(width: 100%, height: 80%, align(center + horizon)[
#text(size: 60pt)[*Implementation*]
])
]
#slide(title: "Visualisation")[
#figure(
image(height: 90%, "../resources/kaleidoscope-diff-gr... | |
https://github.com/OCamlPro/ppaqse-lang | https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/C++.typ | typst | #import "defs.typ": *
#import "links.typ": *
#language(
name: "C++",
introduction: [
Le C++ est une extension du langage C créée par <NAME> en 1979. Il
ajoute au C les concepts de la programmation orientée objet et la
généricité (les _templates_). Pleinement compatible avec le C, le C++ peut
s'utiliser dans les ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.