repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/tingerrr/typst-test | https://raw.githubusercontent.com/tingerrr/typst-test/main/docs/book/src/guides/test-sets.md | markdown | MIT License | # Using Test Sets
## Why Tests Sets
Many operations such as running, comparing, removing or updating tests all need to somehow select which tests to operate on.
To avoid having lots of hard-to-remember options, which may or may not interact well, `typst-test` offers an expression based set language which is used to se... |
https://github.com/yomannnn/yomannnn.github.io | https://raw.githubusercontent.com/yomannnn/yomannnn.github.io/main/book.typ | typst |
#import "@preview/book:0.2.2": *
#show: book
#book-meta(
title: "YoMannnn Homepage",
description: "Documentation of small projects",
repository: "https://github.com/yomannnn/yomannnn.github.io",
// authors: ("Myriad-Dreamin", "7mile"),
language: "en",
summary: [
#prefix-chapter("hello.typ")[Hello]
... | |
https://github.com/vitto4/ttuile | https://raw.githubusercontent.com/vitto4/ttuile/main/README.FR.md | markdown | MIT License | <h1 align="center">
<img alt="Typst" src="https://github.com/vitto4/ttuile/blob/main/assets/ttuile-header.png?raw=true">
</h1>
<p align="center">
<a href="https://typst.app">
<img alt="typst" src="https://img.shields.io/badge/Typst-%232f90ba.svg?&logo=Typst&logoColor=white"
/></a>
<a href="https://... |
https://github.com/deadManAlive/ui-thesis-typst-template | https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/chapters/ch2.typ | typst | = Dasar Penulisan Laporan
#lorem(100) @hellow
$ F_n=F_(n-1)+F_(n-2) $ <hellow>
#lorem(50) @knuth1997art
== Honey
#lorem(100)
#figure(
image("assets/electromagnetism.png", width: 50%),
caption: [Elektromagnetisme],
) <elm>
#lorem(50)
#figure(
image("assets/James_Clerk_Maxwell_Statue_Equations.jpg", width: 5... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/TEXTES.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: "TEXTES",
authors: (
"<NAME>",
),
date: "30 Octobre, 2023",
)
#set heading(numbering: "1.1.")
#blockquote[
Car j’aimais tant l’aube, d... | |
https://github.com/alex-touza/fractal-explorer | https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/paper/src/style/headings.typ | typst | #let style_headings = document => {
set heading(numbering: "1.1.")
show heading.where(level: 1): set heading(numbering: "1.")
show heading.where(level: 1): it => {
set text(hyphenate: false)
set text(size: 24pt)
set par(first-line-indent: 0em, hanging-indent: 0em)
block(below: 3em)
... | |
https://github.com/nogula/tufte-memo | https://raw.githubusercontent.com/nogula/tufte-memo/main/lib.typ | typst | MIT License | #import "@preview/drafting:0.2.0": *
#let wideblock(content) = block(width:100%+2.5in,content)
// Fonts used in front matter, sidenotes, bibliography, and captions
#let sans-fonts = (
"Gill Sans MT",
"TeX <NAME>",
"Noto Sans"
)
// Fonts used for headings and body copy
#let serif-fonts = (
"Lucida Bri... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/accent-01.typ | typst | Other | $ x &= p \ dot(x) &= v \ dot.double(x) &= a \ dot.triple(x) &= j \ dot.quad(x) &= s $
|
https://github.com/NathanBurgessDev/tabletop-war-game-helper | https://raw.githubusercontent.com/NathanBurgessDev/tabletop-war-game-helper/main/Project%20Proposal/main.typ | typst | #import "template.typ": *
#set page(numbering: "1",number-align: center)
#show: diss-title.with(
title: "Mixed Reality Tabletop War Game Assistant",
author: "<NAME>",
ID: "20363169",
email: "ps<PASSWORD>",
programme: "BSc Computer Science",
module: "COMP3003",
)
// wargaming and
// wargaming... | |
https://github.com/kdkasad/typst-homework-template | https://raw.githubusercontent.com/kdkasad/typst-homework-template/master/examples/computer-science/problem4.typ | typst | BSD 3-Clause "New" or "Revised" License | #import "../../khw.typ": problem, parts, radialgraph
#problem[
For the following graph questions, either give an example graph or prove that there are none.
For parts *(d)* and *(e)*, note that sequence of indegree and outdegree corresponds to the same vertices.
]
#parts[
*#lorem(10)*
#h(1fr)
#figure(
... |
https://github.com/maantjemol/Aantekeningen-Jaar-2 | https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/Machine%20Learning/samenvatting.typ | typst | // Update this import to where you put the `lapreprint.typ` file
// It should probably be in the same folder
#import "../template/lapreprint.typ": template
#import "../template/frontmatter.typ": loadFrontmatter
#import "@preview/drafting:0.2.0": *
#import "@preview/cetz:0.2.2"
#import cetz.plot
#let defaultColor = rgb... | |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-pojmy.typ | typst | Creative Commons Attribution Share Alike 4.0 International | == Pojmy
Čeština má spoustu zábavných slovíček, které je potřeba znát :)
=== Stylistika
Jazykovědná disciplína, která se zabývá stylem projevů, procesem jejich vzniku.
Jazykový styl (sloh) = způsob výstavby jazykových projevů, tzn. způsob zpracování obsahu, výběr jazykových prostředků, jejich uspořádání a využití v... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw-line_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 200pt)
```rs
fn main() {
println!("Hello, world!");
}
```
#show raw.line: it => {
box(stack(
dir: ltr,
box(width: 15pt)[#it.number],
it.body,
))
linebreak()
}
```rs
fn main() {
println!("Hello, world!")... |
https://github.com/fabriceHategekimana/master | https://raw.githubusercontent.com/fabriceHategekimana/master/main/1_Intro/Problématique.typ | typst | Comme l'essentiel des outils de sciences de données sont basés sur des langages de programmation dynamiques et souvent faiblement typés, nous rencontrons les problèmes qu'ils génèrent. Le premier problème vient de la maintenance. De par leur nature dynamique. Ces langages ont tendance à faire des "arrangements" en arri... | |
https://github.com/cardano-miners/papers | https://raw.githubusercontent.com/cardano-miners/papers/main/src/templates/transaction.typ | typst | // Transaction graphs
#let tx_out_height_estimate(input) = {
let address = if "address" in input { 1 } else { 0 }
let value = if "value" in input { input.value.len() } else { 0 }
let datum = if "datum" in input { input.datum.len() } else { 0 }
return (address + value + datum) * 8pt
}
#let datum_field(indent, ... | |
https://github.com/GartmannPit/Praxisprojekt-II | https://raw.githubusercontent.com/GartmannPit/Praxisprojekt-II/main/Praxisprojekt%20II/PVA-Templates-typst-pva-2.0/main.typ | typst | /*
NOTE: delete all content in this file, it's only here to show yous some basic functions
Remember: should you have no table or no image and want to compile, don't forget to comment the respective list out in paper.typ
*/
= Chapter 1
== Part 1
#lorem(20)
== Part 2
#lorem(20)
= Chapter 2
See @Test, you can add p... | |
https://github.com/nicolasfara/presentation-2024-acsos-doctoral-symposium | https://raw.githubusercontent.com/nicolasfara/presentation-2024-acsos-doctoral-symposium/master/presentation-2024-acsos-doctoral-symposium.typ | typst | Apache License 2.0 | #import "@preview/polylux:0.3.1": *
#import "@preview/fontawesome:0.1.0": *
#import themes.metropolis: *
#show: metropolis-theme.with(
aspect-ratio: "16-9",
// footer: [Optional Footnote]
)
#set text(font: "Fira Sans", weight: 350, size: 20pt)
#show math.equation: set text(font: "Fira Math")
#set strong(delta: 2... |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/grundpositionen/deduktion_induktion_abduktion.typ | typst | Other | #import "/src/template.typ": *
== #ix("Deduktion"), #ix("Induktion"), #ix("Abduktion")
#table(columns: (33.33%, 33.33%, 33.33%),
stroke: none,
strong(ix("Deduktion"))+[#h(1fr) #ix("<NAME>", "Rehfus, <NAME>.")],
strong(ix("Induktion"))+[#h(1fr) #ix("<NAME>", "<NAME>")],
strong(ix("Abduktion"))+[#h(1fr... |
https://github.com/swablab/documents | https://raw.githubusercontent.com/swablab/documents/main/werkstatt-regeln.typ | typst | Creative Commons Zero v1.0 Universal | #import "templates/tmpl_page.typ": tmpl_page
#show: doc => tmpl_page(
title: "Verhaltensregeln Werkstatt",
version: "v1.0",
change_date: "09.09.2023",
doc,
)
#v(1em)
#set enum(full: true)
+ Alle Nutzer*innen müssen vor Nutzung der Werkzeuge eine Einweisung erhalten und eine Einweisungsbestätigung und einen ... |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/wire/targ%2C%20control%2C%20phase/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 0pt)
#import "/src/quill.typ": *
#quantum-circuit(
scale: 150%,
1, targ(), ctrl(0, open: true), phase($α$, open: true), 1, [\ ],
setwire(2),
1, targ(fill: auto), ctrl(0, open: true), phase($α$, open: true), 1, [\ ],
setwire(3),
1, targ(fill: auto), ctrl(0, open:... |
https://github.com/Raekker/typst_playground | https://raw.githubusercontent.com/Raekker/typst_playground/master/pickplan_tablex.typ | typst | #import "@preview/tablex:0.0.5": tablex, rowspanx, colspanx, cellx
#set page(
paper: "a4",
margin: (
top: 5cm
),
header: [
#set text(13pt)
#text(20pt)[*Pickplan*]
#h(1fr) #box()[_Imagine Logo Here_]
Tour: PU101-Dummy-230427044_1 \
// box is an inline-level container that sizes cont... | |
https://github.com/jackkyyh/ZXCSS | https://raw.githubusercontent.com/jackkyyh/ZXCSS/main/scripts/3_pte.typ | typst | #import "../import.typ": *
#slide(title: [Pushing Through the Encoder (PTE)])[
#reset_footer()
#image("../figs/pte/UE=EU.svg", width: 600pt)
#place(dx:25pt, dy:-90pt)[
$dots.v #h(40pt)
#alternatives(repeat-last: true)[$U$][*$D$*]
#h(35pt) dots.v #h(40pt)
E #h(40pt) dots.v #h(50pt) = #h(6... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/经济学原理/hw/hw9.typ | typst | #import "../../template.typ": *
#show: note.with(
title: "作业8",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false,
withTitle: true
)
= ABC
=
- 短期内:
#let K = $overline(K)$
$
Q = sqrt(#K L) => L = Q^2 / #K\
C(Q) = r Q^2 / #K + w #K
$
- 长期中,固定产量 $Q$,,在条件:
$
Q^2 = K ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056%20-%20Outlaws%20of%20Thunder%20Junction/003_Episode%202%3A%20The%20Jailbreak.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2: The Jailbreak",
set_name: "Outlaws of Thunder Junction",
story_date: datetime(day: 13, month: 03, year: 2024),
author: "<NAME>",
doc
)
Wind rustled through the open window, making the curtains billow in Annie's room. She watched ... | |
https://github.com/Nrosa01/TFG-2023-2024-UCM | https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Pruebas/DocLua.typ | typst | #import "@preview/sourcerer:0.2.1": code
#import "setup.typ": *
#show: project
= Definición de una partícula
Basta con copiar el código inferior. Puedes sustituir "MiParticle" por el nombre de tu particula, es importante que esté entre comillas. Puedes cambiar los números de r, g, b y a para cambiar el color de la ... | |
https://github.com/PuntitOwO/template-informe-memoria-fcfm | https://raw.githubusercontent.com/PuntitOwO/template-informe-memoria-fcfm/main/README.md | markdown | MIT License | # Template Propuesta/Informe de memoria DCC FCFM
> [Typst](https://typst.app) es software relativamente nuevo que está creciendo muy rápidamente. Por esto, no puedo asegurar retrocompatibilidad entre versiones del template.
Puedes ver un ejemplo de documento en [example.pdf](example.pdf).
Basado en la plantilla para... |
https://github.com/kmitsutani/jnsarticle-typ | https://raw.githubusercontent.com/kmitsutani/jnsarticle-typ/main/README.md | markdown | MIT No Attribution | # jnsarticle
このリポジトリはTypst でアブストラクト付きのノートを書く時のテンプレートです.
名前はLatexの`jsarticle`みたいなのがTypstにもあればなということで`jsarticle`を意識してのものですが
おそらく`jsarticle`には遠く及ばないのだろうなということと直接の関係がないのに名前被りはよくないだろうということで少しもじりました.
研究の途中で共同研究者等に共有するようなものを想定しています.
## 方針
- シングルカラム
- 様々なスペースをゆったりととる
- jsarticle in Latex の構成で Typst で実現できそうなことがあれば... |
https://github.com/ysthakur/PHYS121-Notes | https://raw.githubusercontent.com/ysthakur/PHYS121-Notes/main/Notes/Ch05.typ | typst | MIT License | = Chapter 5
== Apparent Weight
Actual weight is $F_w = m g$
Your *apparent weight*, $w_"app"$, is the weight you feel
$w_"app" = F_upright(N)$ (only normal force goes up rather than down)
$F_upright(N) = m g + m a$ where $a$ is, say, the acceleration of the elevator you're standing in
- Feel heavier when elevator ... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-indent_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// This is madness.
#set par(first-line-indent: 12pt)
Why would anybody ever ...
... want spacing and indent?
|
https://github.com/amomorning/curriculum-vitae | https://raw.githubusercontent.com/amomorning/curriculum-vitae/main/zh-cv/main.typ | typst | #import "../template.typ": *
#show: resume.with(
name: "莫怡晨",
first-name: "Yichen",
last-name: "Mo",
phone: "(+86) 178 2685 8481",
email: "<EMAIL>",
address: "江苏省南京市玄武区四牌楼2号东南大学建筑学院",
)
= 教育经历
#resume-entry(
title: "博士研究生",
location: "江苏南京",
date: "2019.9 - now",
description: "东南大学"
)
- 研究方向:... | |
https://github.com/jasonelaw/typst-templates | https://raw.githubusercontent.com/jasonelaw/typst-templates/main/README.md | markdown | MIT License | # typst-templates
Typst templates by <NAME> - mostly for City of Portland Bureau of Environmental Services documents.
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/guide/env-setup.typ | typst | Apache License 2.0 | #import "/docs/cookery/book.typ": book-page
#show: book-page.with(title: "Environment Setup")
= Environment Setup
Sample page
|
https://github.com/skane88/quarto-engformat | https://raw.githubusercontent.com/skane88/quarto-engformat/main/README.md | markdown | The Unlicense | # Engformat Format
A custom Typst format for writing engineering calculations that export nicely to PDF.
## Installing
```bash
quarto use template skane88/quarto-engformat
```
This will install the format extension and create an example qmd file
that you can use as a starting place for your document.
## Using
To u... |
https://github.com/saurabtharu/CV | https://raw.githubusercontent.com/saurabtharu/CV/main/gallery.typ | typst | #import "lib.typ": *
#table(columns: (3fr, 1fr, 1fr, 2fr), stroke: none, table.header([typst code], [default], [solid], [`fa-icon` with text]),
```typst #fa-0()```, fa-0(), fa-0(solid: true), fa-icon("0"),
```typst #fa-1()```, fa-1(), fa-1(solid: true), fa-icon("1"),
```typst #fa-2()```, fa-2(), fa-2(solid: true), fa-i... | |
https://github.com/EdwinChang24/resume | https://raw.githubusercontent.com/EdwinChang24/resume/main/resume.typ | typst | MIT License | #set document(title: "<NAME>'s Résumé", author: "<NAME>")
#set page(paper: "us-letter", margin: 0.35in)
#set text(font: ("Inter", "Noto Sans SC"), size: 9.5pt)
#set strong(delta: 100)
#show heading.where(level: 1): it => [
#text(size: 13pt, weight: "bold", font: "JetBrains Mono NL")[#it]
#v(-12pt)
#line(length: 1... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1FA70.typ | typst | Apache License 2.0 | #let data = (
("BALLET SHOES", "So", 0),
("ONE-PIECE SWIMSUIT", "So", 0),
("BRIEFS", "So", 0),
("SHORTS", "So", 0),
("THONG SANDAL", "So", 0),
("LIGHT BLUE HEART", "So", 0),
("GREY HEART", "So", 0),
("PINK HEART", "So", 0),
("DROP OF BLOOD", "So", 0),
("ADHESIVE BANDAGE", "So", 0),
("STETHOSCOPE",... |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Miscellaneous/icon.typ | typst |
#set page(width: 13.5cm, height: 14cm, fill: rgb("#1f2335"))
#set text(size: 120pt);
#v(3.5cm)
$text(fill: #teal, cal(A)) text(fill: #rgb("#BF616A"), compose) text(fill: #yellow, frak(C))$
| |
https://github.com/jamesrswift/ionio-illustrate | https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/src/extras/callipers.typ | typst | MIT License | #import "@preview/cetz:0.1.2"
#let _prepare(self, ctx) = {
let data = (if ( ctx.reflected ){ ctx.prototype.data2 } else { ctx.prototype.data1 })
let start_height = (ctx.prototype.get-intensity-at-mz)(self.start, input: data) + 2
let end_height = (ctx.prototype.get-intensity-at-mz)(self.end, input: data) ... |
https://github.com/Karolinskis/KTU-typst | https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/mainPages/ThirdPage.typ | typst | #import "/variables.typ" : *
#page(header: none)[
#set text(size:12pt, spacing: 0.28em)
#set align(center)
#image("/images/ktu-logo.png", width: 2cm)
*Kauno technologijos universitetas*\
#ProjectFaculty\
#AuthorName.at(1)
#v(2cm)
#align(center + horizon)[
#set text(size: 18pt, weig... | |
https://github.com/YunkaiZhang233/PMT-notes | https://raw.githubusercontent.com/YunkaiZhang233/PMT-notes/main/misc.typ | typst | MIT License | #import "@preview/dvdtyp:1.0.0": *
#let _title = dvdtyp.with(
title: "PMT Notes",
author: "<NAME>",
abstract: [This set of notes is written for the course 40018: Discrete Mathematics,
Logic & Reasoning, taught in Imperial College London 2024-2025 by Dr <NAME>.
\
If you like this, consider #text(blue)[#lin... |
https://github.com/benjamineeckh/kul-typst-template | https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/tests/test-work/temp.typ | typst | MIT License | #let heading-on-page(loc, level) = context {
let hs = query(selector(heading.where(level:level)).after(here())).map(v => v.location().page())
return hs.contains(loc.page())
}
#set page(paper: "a7", margin: (top:10%), numbering: "1", header: none)
// NEEDS to be in a scope, otherwise the page query breaks if it's ... |
https://github.com/simon-epfl/notes-ba3-simon | https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/shs/notes.typ | typst | #import "template.typ": *
#let title = "État et droits humains"
#let author = "Cours de SHS @ EPFL"
#let professor = "<NAME>, <NAME>"
#let creater = "<NAME>"
#let time = "Automne 2024"
#let abstract = ""
#show: note_page.with(title, author, professor, creater, time, abstract)
= Introduction
== Les droits fondamenta... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/math-shift.typ | typst | Apache License 2.0 | // https://github.com/typst/typst/issues/2214
// The math content should also be affected by the TextElem baseline.
hello #text(baseline: -5pt)[123 #sym.WW\orld]\
hello #text(baseline: -5pt)[$123 WW#text[or]$ld]\
|
https://github.com/cadojo/resume | https://raw.githubusercontent.com/cadojo/resume/main/resume.typ | typst | #import "correspondence/src/vita/vita.typ": *
#show: resume.with(
name: "<NAME>",
title: "Technical Résumé",
url: link("https://resume.loopy.codes", "https://resume.loopy.codes"),
email: decorated(image("correspondence/src/icons/mail.svg", height: 1.5em), link("mailto:<EMAIL>", `<EMAIL>`)),
phone: decorated(... | |
https://github.com/dyc3/senior-design | https://raw.githubusercontent.com/dyc3/senior-design/main/team-declaration.typ | typst | = Team Declaration
== Team
Name: OTT
Members:
- <NAME>
- <NAME>
- <NAME>
- <NAME>
== Mission Statement
Our mission is to build a load balancer for stateful applications meant to enable legacy, monolithic systems to scale horizontally.
While most all web applications have state in the form of a database, we define... | |
https://github.com/sicheng1806/typst-book-for-sicheng | https://raw.githubusercontent.com/sicheng1806/typst-book-for-sicheng/main/scr/test/usetable.typ | typst | #import "../basic_pkg/table.typ" : webtable
#webtable(
columns: (1fr,2fr,2fr),
row-gutter: 1em,
fill: luma(95%),
align: left,
"名称", "用法" ,"示例",
"划分章节", "=若干" , `== 二级标题`,
"段落中断", "空行 或 parbreak", `parbreak()`,
"行中断" , "linebreak 或 \ " , `你好\ 世界` ,
"无序列表" , "-" , `- item` ,
"有序列表" , "+" , `+ ite... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/diagraph/0.2.3/README.md | markdown | Apache License 2.0 | # diagraph
A simple Graphviz binding for Typst using the WebAssembly plugin system.
## Usage
### Basic usage
You can render a Graphviz Dot string to a SVG image using the `render` function:
```typ
#render("digraph { a -> b }")
```
Alternatively, you can use `raw-render` to pass a `raw` instead of a string:
<!--... |
https://github.com/piepert/grape-suite | https://raw.githubusercontent.com/piepert/grape-suite/main/examples/homework01.typ | typst | MIT License | #import "/src/library.typ": exercise
#import exercise: project, task, subtask
#let task = task.with(numbering-format: (..n) => numbering("1", ..n))
#let subtask = subtask.with(markers: ("a)", "1)"))
#show: project.with(no: 1,
type: "Aufgabenblatt",
suffix-title: "Betriebssysteme",
show-solutions: true,
... |
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/flywheel/build.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: "Build: Launcher Rebuild",
type: "build",
date: datetime(year: 2023, month: 11, day: 29),
author: "<NAME>",
witness: "<NAME>",
)
#grid(
columns: (1fr, 1fr),
gutter:... |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/03-background.typ | typst | #import "@preview/acrostiche:0.3.1": *
= Background <background>
In this chapter, we discuss background information and technical concepts related to the thesis.
We start with a brief introduction to monolith software architecture, and continue with service-oriented and microservices architectures.
==== Domain-drive... | |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/definition.typ | typst | Other | #import "infos.typ": *
#import "common/metadata.typ": *
#let definition(term: none, name: none, content) = {
let kind = "Definition"
let supplement = upper(kind.first()) + lower(kind.slice(1))
let name = if name == none {
"def-" + term
} else {
name
}
show figure.where(kind: "definition"): it => i... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/026.%20wealth.html.typ | typst | wealth.html
How to Make Wealth
Want to start a startup? Get funded by
Y Combinator.
May 2004
(This essay was originally published in Hackers
& Painters.)
If you wanted to get rich, how would you do it? I think your best
bet would be to start or join a startup. That's been a
reliable way to get rich for hundr... | |
https://github.com/Steendly/typst-templates | https://raw.githubusercontent.com/Steendly/typst-templates/master/README.md | markdown | # Typst templates
Some of my personal [Typst](https://github.com/typst/typst) templates. Hope you will fin interesting things here ;)
---
### Algo.typ :
Library for writing algorithms :
```typst
#algo(
title: "Fib",
parameters: ("n",)
)[
if $n < 0$:#i\ // use #i to indent the following lines
return ... | |
https://github.com/wcshds/manual-of-chinese-phonology | https://raw.githubusercontent.com/wcshds/manual-of-chinese-phonology/main/main.typ | typst | #import "@preview/easy-pinyin:0.1.0": pinyin
#import "phonology-list.typ": data;
#import "tools/prelude.typ": xs;
// #include "preface.typ";
// #pagebreak();
#set page(
width: 595.35pt,
height: 800pt,
margin: (x: 57pt, y: 57pt),
columns: 2,
header: {
counter(footnote).update(0)
},
);
#set text(
font... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Physique_Ex_21_05_2024.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
#import "@preview/cheq:0.1.0": checklist
#import "@preview/typpuccino:0.1.0": macchiato
#import "@preview/wordometer:0.1.1": *
#import "@preview/tablem:0.1.0": tablem
#... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/bugs/grid-1-01.typ | typst | Other | #rect(width: 100%, height: 1em)
- #rect(width: 100%, height: 1em)
- #rect(width: 100%, height: 1em)
|
https://github.com/knuesel/typst-minideck | https://raw.githubusercontent.com/knuesel/typst-minideck/main/lib.typ | typst | MIT License | #import "minideck.typ": config
#import "themes/themes.typ"
|
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/drop-zero-decimal/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": unit, metro-setup, num, qty
#set page(width: auto, height: auto)
#num("2.0")\
#num("2.1")\
#metro-setup(drop-zero-decimal: true)
#num("2.0")\
#num("2.1")\
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/fn_named2.typ | typst | Apache License 2.0 | #let val = 1
#let foo(a: val) = a
#let x = foo() |
https://github.com/tingerrr/subpar | https://raw.githubusercontent.com/tingerrr/subpar/main/src/util.typ | typst | MIT License | #import "_pkg.typ"
#let _numbering = numbering
#let apply-for-all(
values,
rule,
) = outer => {
show: inner => {
values.map(rule).fold(inner, (acc, f) => f(acc))
}
outer
}
#let gather-kinds(body) = {
if _pkg.t4t.is.elem(figure, body) {
if body.at("kind", default: auto) != auto {
return (fi... |
https://github.com/r4ai/typst-code-info | https://raw.githubusercontent.com/r4ai/typst-code-info/main/README.md | markdown | MIT License | # typst-code-info
This is a library to display code blocks with extra information like captions, line numbers, diff highlights, etc.
## Features
- Show line numbers
- Calculate diff between two code blocks and highlight the differences
- Highlighting of specific lines
- Display captions
## Installation
> [!warning... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/line_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test the angle argument and positioning.
#set page(fill: rgb("0B1026"))
#set line(stroke: white)
#let star(size, ..args) = box(width: size, height: size)[
#set text(spacing: 0%)
#set line(..args)
#set align(left)
#v(30%)
#place(line(... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-3400.typ | typst | Apache License 2.0 | #let data = (
"0": ("<CJK Ideograph Extension A, First>", "Lo", 0),
"19bf": ("<CJK Ideograph Extension A, Last>", "Lo", 0),
)
|
https://github.com/LilNick0101/Bachelor-thesis | https://raw.githubusercontent.com/LilNick0101/Bachelor-thesis/main/content/AppOverview.typ | typst | === Schermata iniziale: lista dei luoghi
#grid(
columns: (1fr,1fr),
gutter: 3pt,
figure(
image("../resources/images/app-screenshots/VisitorList.png", height: 40%),
caption: [Schermata della lista dei luoghi.]
),
figure(
image("../resources/images/app-screenshots/LoggedInList.png", height: 40%... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/tutorial/markup.md | markdown | MIT License | # Markup language
## Starting
```typ
Starting typing in Typst is easy.
You don't need packages or other weird things for most of things.
Blank line will move text to a new paragraph.
Btw, you can use any language and unicode symbols
without any problems as long as the font supports it: ßçœ̃ɛ̃ø∀αβёыა😆…
```
... |
https://github.com/ReDxDaGer/resume | https://raw.githubusercontent.com/ReDxDaGer/resume/main/Yash_mehrotra.typ | typst | #show heading: set text(font: "Linux Biolinum")
#show link: underline
#set page(
margin: (x: 0.9cm, y: 1.3cm),
)
#set par(justify: true)
#let chiline() = {v(-3pt); line(length: 100%); v(-5pt)}
#align(center)[= <NAME>]
#align(center)[#link("mailto:<EMAIL>")[<EMAIL>] |
#link("https://github.com/redxdager")[github/re... | |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/content-stateful-agg.typ | typst | Apache License 2.0 |
#include "content-stateful.typ"
#include "content-stateful-2.typ"
#include "content-stateful-3.typ"
|
https://github.com/TypstApp-team/TypstLangAssets | https://raw.githubusercontent.com/TypstApp-team/TypstLangAssets/main/Example.typ | typst | #let title = [
A fluid dynamic model
for glacier flow
]
#set text(font: "Linux Libertine", 11pt)
#set par(justify: true)
#set page(
"us-letter",
margin: auto,
header: align(
right + horizon,
title
),
numbering: "1",
)
#show heading.where(
level: 1
): it => block(width: 100%)[
#set align(cent... | |
https://github.com/ThatOneCalculator/riesketcher | https://raw.githubusercontent.com/ThatOneCalculator/riesketcher/main/manual.typ | typst | MIT License | #import "@preview/tidy:0.1.0"
#import "@preview/cetz:0.2.2": canvas
#import "riesketcher.typ": riesketcher
// #import "@preview/riesketcher:0.2.0": riesketcher
#set text(size: 10.5pt)
= Riesketcher
A package to draw Riemann sums (and their plots) of a function with CeTZ.
```typst
#import "@preview/riesketcher:0.2.1":... |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/mark-scale/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
#import "/src/marks.typ": *
#context for scale in (100%, 200%) [
#pagebreak(weak: true)
#let mark = fletcher.MARKS.get().head
#mark-debug(mark + (scale: scale))
#mark-demo(mark + (scale: scale))
#diagr... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/guide/compiler/node.typ | typst | Apache License 2.0 | #import "/docs/cookery/book.typ": *
#show: book-page.with(title: "Compiler in Node.js")
#cross-link("/guide/all-in-one-node.typ")[All-in-one Library for Node.js]
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/bugs/columns-1-00.typ | typst | Other | #set page(height: 70pt)
Hallo
#columns(2)[
= A
Text
= B
Text
]
|
https://github.com/pank-su/typst-gost | https://raw.githubusercontent.com/pank-su/typst-gost/main/templates/index.typ | typst | #import "titlepage.typ": titlepage
#import "toc.typ": toc
#import "escd.typ": basicFrame
#let index(
authors: (),
title: "",
body,
) = {
set document(author: authors, title: title)
// Структура
// Титульный лист
titlepage(title: "",
authors: authors,
position: "Преподаватель",
education: "МИН... | |
https://github.com/flechonn/interface-typst | https://raw.githubusercontent.com/flechonn/interface-typst/main/docs/Suivi_Projet_G5.md | markdown | # Fiche de suivi de projet
Groupe 5
## Semaine 1 (29/01)
Durant cette séance, nous avons principalement discuté des différentes étapes et nous avons mieux défini le cahier des charges de ce projet.
Nous avons également contacté <NAME>, qui est à l'initiative du sujet, pour obtenir des précisions.
Finalement, nous ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/escape_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Unterminated.
// // Error: 1-6 unclosed Unicode escape sequence
// \u{41[*Bold*] |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/tests/colors/test.typ | typst | Other | #import "/lib/lib.typ" as ucpc
#import ucpc: color
#set page(
columns: 10,
margin: (x: 5pt, y: 5pt),
)
#set align(center + horizon)
#for color in (
color.brown.at(0),
color.brown.at(1),
color.brown.at(2),
color.brown.at(3),
color.brown.at(4),
color.bluegray.at(0),
color.bluegray.at(1),
color.bl... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/t4t/0.1.0/is.typ | typst | Apache License 2.0 | // Test functions for use in any(), all() or find()
#import "alias.typ"
#let eq( compare, value ) = {
return value == compare
}
#let neq( compare, value ) = {
return value != compare
}
#let n( ..values ) = {
return none in values.pos()
}
#let non = n
#let not-none( ..values ) = {
return none not in values.... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/image-00.typ | typst | Other | // Test loading different image formats.
// Load an RGBA PNG image.
#image("test/assets/files/rhino.png")
// Load an RGB JPEG image.
#set page(height: 60pt)
#image("test/assets/files/tiger.jpg")
|
https://github.com/sitandr/conchord | https://raw.githubusercontent.com/sitandr/conchord/main/lib.typ | typst | MIT License | #import "tabs/tabs.typ"
#import "tabs/tabs.typ": canvas, draw
#let render-chord(hold, open, muted, fret-number, name,
barre: 0, barre-shift: 0, shadow-barre: 0, string-number: 6,
scale-length: 1pt,
colors: (:), number-to-left: false) = {
/// IMPORTANT: for the convenience there all strings are numbered FROM T... |
https://github.com/qujihan/toydb-book | https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter3.typ | typst | #import "../typst-book-template/book.typ": *
#let path-prefix = figure-root-path + "src/pics/"
= 共识算法Raft
#include "chapter3/intro.typ"
#include "chapter3/message.typ"
#include "chapter3/node.typ"
#include "chapter3/log.typ"
#include "chapter3/summary.typ" | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/cookery/direction/main-content.typ | typst | Apache License 2.0 | #import "mod.typ": *
=== Static but #underline("responsive") rendering
Example Application: #link("https://github.com/Myriad-Dreamin/typst.ts/blob/main/packages/typst.ts/index.html")[single-file], #link("https://github.com/Myriad-Dreamin/shiroa")[shiroa] and #link("https://github.com/Myriad-Dreamin/typst.ts/tree/main... |
https://github.com/wzy1935/Typst-Blocks | https://raw.githubusercontent.com/wzy1935/Typst-Blocks/master/examples/article.typ | typst | #import "../blocks.typ": *
#main_block(font: "Times New Roman", [
= Individualism Verses Communism
<NAME> - February 1, 1963
#note_block([
Individualists were in a majority at the outset of the conflict, of course. At the beginning of the twentieth century they held positions of power and influence.
])
#image("... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap7/3_redrawing_complex_schematics.typ | typst | Other | #import "../../core/core.typ"
=== Re-drawing complex schematics
Typically, complex circuits are not arranged in nice, neat, clean
schematic diagrams for us to follow. They are often drawn in such a way
that makes it difficult to follow which components are in series and
which are in parallel with each other. The purp... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/set_font.typ | typst | Apache License 2.0 | #let font = "Times New Roman";
#set text(font: font) |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/parameter/counter/test.typ | typst | MIT License | #import "/src/lib.typ": sidenote
#set par(justify: true)
#set page(width: 8cm, height: auto, margin: (outside: 4cm, rest: 5mm))
#lorem(5)
#sidenote(numbering: "a")[This is a sidenote that steps the sidenote counter.]
#lorem(6)
#footnote[This is a footnote]
#pagebreak()
#counter("sidenote").update(0)
#l... |
https://github.com/xushengfeng/xmmath | https://raw.githubusercontent.com/xushengfeng/xmmath/master/readme.md | markdown | Apache License 2.0 | # xmmath
## 简介(introduction)
苦 $\LaTeX$ 久矣!
Bitter $\LaTeX$ for a long time!
使用 $\LaTeX$ 输入数学公式,需要键入太多的`\`、`{}`和`\frac{}{}`。符号命名各种各样。
Using $\LaTeX$ to enter mathematical formulas, you need to type too many `\`, `{}` and `\frac{}{}`. There are all kinds of symbol names.
大家说,要有光,于是[typst](https://github.com/typst/... |
https://github.com/linhduongtuan/BKHN-Thesis_template_typst | https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/template/appendix.typ | typst | Apache License 2.0 | #import "font.typ": *
#import "utils.typ": *
//#counter(heading).update(0)
//#set heading(numbering: "APPENDIX")
//#show heading : it => {
// pagebreak()
// set align(center)
// text(font: arial, size: font_size.large)[#it]
// v(1em)
// par(leading: 1.5em)[#text(size:0.0em)[#h(0.0em)]]
//}
// Format paragraphs... |
https://github.com/LeoColomb/dotdocs | https://raw.githubusercontent.com/LeoColomb/dotdocs/main/packages/leocolomb/invoicing/1.0.0/template/main.typ | typst | MIT License | #import "@leocolomb/invoicing:1.0.0": template
|
https://github.com/crystalsolenoid/typst-resume-template | https://raw.githubusercontent.com/crystalsolenoid/typst-resume-template/main/src/sections.typ | typst | #import "items.typ"
#let links = (
items.website,
items.email,
items.github,
items.linkedin,
)
#let projects = (
items.example-project,
)
#let education = (
items.school,
)
#let experience = (
items.example-position,
) | |
https://github.com/Menahra/CVTemplate | https://raw.githubusercontent.com/Menahra/CVTemplate/main/README.md | markdown | # Typst CV Template
This project provides a template for generating a curriculum vitae based on the great [typst programming language](https://typst.app). Please refer to the official documentation of typst to learn how to compile the given template.
## Parameters
The template expects the folowing four parameters:
... | |
https://github.com/TechnoElf/mqt-qcec-diff-presentation | https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-presentation/main/content/outline.typ | typst | #import "../template/conf.typ": slide
#slide(title: "Outline")[
#set text(size: 30pt)
1. *Introduction*
2. *Background*
3. *Implementation*
4. *Results*
5. *Conclusion*
]
| |
https://github.com/tfachada/thesist | https://raw.githubusercontent.com/tfachada/thesist/main/template/Beginning/Abstract-en.typ | typst | MIT License | // Don't add a title. It's already included in the template.
#lorem(90)
#lorem(30)
|
https://github.com/denizenging/site | https://raw.githubusercontent.com/denizenging/site/master/.typst/post/lib.typ | typst | #import "@local/pub-util:0.0.0": *
#let template(
time: none,
title: none,
..args,
) = {
if title == none {
panic("no title")
}
if time == none or time.len() != 2 {
panic("no time")
}
let building = "building" in sys.inputs
let now = if building {
parse-datetime(sys.inputs.now)
}
let info = if buil... | |
https://github.com/Vortezz/fiches-mp2i-physique | https://raw.githubusercontent.com/Vortezz/fiches-mp2i-physique/main/tp/multimeter.typ | typst | #import "@preview/cetz:0.0.1"
#set page(header: box(width: 100%, grid(
columns: (100%),
rows: (20pt, 8pt),
align(right, text("FICHE TP - MULTIMÈTRE")),
line(length: 100%),
)), footer: box(width: 100%, grid(
columns: (50%, 50%),
rows: (8pt, 20pt),
line(length: 100%),
line(length: 100%),
align(left, te... | |
https://github.com/SiyangShao/resume | https://raw.githubusercontent.com/SiyangShao/resume/main/main_cn.typ | typst | // #show heading: set text(font: "Linux Biolinum")
#let cn-font = "Source Han Serif SC"
#let cn-italic-font = "KaiTi"
#show link: underline
// Uncomment the following lines to adjust the size of text
// The recommend resume text size is from `10pt` to `12pt`
#set text(
size: 11pt,
)
// Feel free to change the margi... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/showybox/0.1.1/README.md | markdown | Apache License 2.0 | # Showybox (v0.1.1)
**Showybox** is a package for creating colorful and customizable boxes.
## Usage
To use this library through the Typst package manager (for Typst 0.6.0 or greater), write `#import "@preview/showybox:0.1.1": showybox` at the beginning of your Typst file.
Once imported, you can create an empty sho... |
https://github.com/chendaohan/bevy_tutorials_typ | https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/23_states/states.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. 状态
状态允许你构建应用程序的运行时“流程”。
这就是你可以实现以下功能的方式:
- 菜单或加载画面
- 暂停/开始游戏
- 不同的游戏模式
…
在每个状态中,你可以运行不同的系统。你还可以添加设置和清理系统,以在进入或退出... | |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/pdf.typ | typst | Apache License 2.0 | #import "@preview/shiroa:0.1.1": *
#import "/contrib/typst/gh-ebook.typ"
#let ebook = gh-ebook
#show: ebook.project.with(title: "Typst book", authors: ("Myriad-Dreamin", "7mile"), spec: "book.typ")
// set a resolver for inclusion
#ebook.resolve-inclusion(it => include it)
|
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/math/methode-probabiliste.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/cetz:0.2.2"
=== Le lemme
Soit $X$ une variable aléatoire discrète intégrable sur l'univers $Omega$.
#question(0)[
Montrer qu'il existe $x >= EE X... | |
https://github.com/mitsuyukiLab/grad_thesis_typst | https://raw.githubusercontent.com/mitsuyukiLab/grad_thesis_typst/main/contents/introduction.typ | typst | = 序論 <introduction>
== 背景 <background>
== 本研究の目的 <objective_of_this_study>
== 本論文の構成 <structure_of_this_thesis>
本論文は本章を含め、以下の内容で構成される。
- @how_to_use_this_format ではこのフォーマットの使い方の概要について記した。
- @introduction では本研究の背景と目的について記した。
- @related_study では関連研究について記した。
- @proposed_method では提案手法について記した。
- @case_study では実験について記した。... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.