repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/freundTech/typst-matryoshka | https://raw.githubusercontent.com/freundTech/typst-matryoshka/main/tests/template.typ | typst | MIT License | #import "/lib.typ": compile
#set page(fill: gray)
#compile("")
|
https://github.com/xiongyaohua/godot-typst | https://raw.githubusercontent.com/xiongyaohua/godot-typst/main/doc/Design.typ | typst | MIT License | = Introduction
The intention of this project is to use Godot as a presenting tool with the help of Typst. Godot, as an game engine, is good at showing motion graphics, 3D models and providing interactivity. One the other hand, Typst is good at typesetting texts especially those mixed with math. So they are a perfect m... |
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/tournament-cardinal/entry.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator, diagraph
#import notebookinator: *
#import themes.radial.components: *
#import themes.radial.colors: *
#import "/utils.typ": tournament-from-csv
#import diagraph: *
#show: create-body-entry.with(
title: "Tournament: Cardinal Classic",
type: "test",
date: datetime(year: 2... |
https://github.com/Its-Alex/resume | https://raw.githubusercontent.com/Its-Alex/resume/master/lib/education.typ | typst | MIT License | #import "components/title.typ": customTitle
#import "components/link_with_icon.typ": linkWithIcon
#let education(title, education) = [
#customTitle(title)
#grid(
columns: (100%),
gutter: 0pt,
row-gutter: 1.5em,
..education.map((educationItem) => [
#block(breakable: false)[
#grid(
... |
https://github.com/LEXUGE/poincare | https://raw.githubusercontent.com/LEXUGE/poincare/main/src/reports/artiq/main.typ | typst | MIT License | #import "@preview/physica:0.9.0": *
#import "@preview/gentle-clues:0.4.0": *
#import "@lexuge/templates:0.1.0": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#import shorthands: *
#show: simple.with(
title: "ARTIQ Diagnostic Streaming Project Report",
authors: ((name: "<NAME>", email: "<EMAI... |
https://github.com/tinnamchoi/resumes | https://raw.githubusercontent.com/tinnamchoi/resumes/master/src/preamble.typ | typst | #import "template/template.typ": *
#let name = "<NAME>"
#let links = (
github: "tinnamchoi",
email: "<EMAIL>",
website: "tinnamchoi.github.io",
linkedin: "tinnamchoi",
)
| |
https://github.com/EunTilofy/Compiler2024 | https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/lab3/Report_of_Lab3.typ | typst | #import "../template.typ": *
#show: project.with(
course: "编译原理",
title: "Compilers Principals - Lab3",
date: "2024.5.11",
authors: "<NAME>, 3210106357",
has_cover: false
)
= 实验内容
本次实验,我们基于 lab2 的语义分析,
实现了 SysY 语言向中间代码的转化。
我们基于先前构建出的语法树和符号表,对语法树上的每一个节点进行递归构建其对应的中间代码,我们使用变量名称和其在符号表上的位置来唯一标识一个变量,解决了变量重名的问题。通过:
``... | |
https://github.com/dark-flames/resume | https://raw.githubusercontent.com/dark-flames/resume/main/main.typ | typst | MIT License | #import "resume.typ": *
#resume((
x-lang: sys.inputs.at("x-lang", default: "en"),
x-version: sys.inputs.at("x-version", default: "resume")
)) |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/layout/par-justify.typ | typst | Apache License 2.0 |
---
#set page(width: 180pt)
#set block(spacing: 5pt)
#set par(justify: true, first-line-indent: 14pt, leading: 5pt)
This text is justified, meaning that spaces are stretched so that the text
forms a "block" with flush edges at both sides.
First line indents and hyphenation play nicely with justified text.
---
// Te... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/057%20-%20Bloomburrow/004_Episode%204%3A%20Soothsaying%20and%20Stormcalling.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 4: Soothsaying and Stormcalling",
set_name: "Bloomburrow",
story_date: datetime(day: 05, month: 07, year: 2024),
author: "<NAME>",
doc
)
#strong[Helga]
Bruised and exhausted from being tossed about in the Long River, then crawling... | |
https://github.com/Nerixyz/icu-typ | https://raw.githubusercontent.com/Nerixyz/icu-typ/main/docs/docs/fmt-date.md | markdown | MIT License | # `fmt-date`
```typst-code
let fmt-date(
dt,
locale: "en",
length: "full"
)
```
Formats a date in some [`locale`](#locale). Dates are assumed to be ISO dates.
## Arguments
### `dt`
The date to format. This can be a [`datetime`][datetime] or a dictionary with `year`, `month`, `day`.
example{
```typst +previ... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/cpp/lectures/2024-09-13.typ | typst | = Введение
Препод: <NAME>
Оценка:
$ "Итог"
= 0.5 dot (0.1 dot "А" + 0.2 dot "Дз1" + 0.35 dot "Дз2" + 0.35 dot "Дз3")
+ 0.5 dot (0.3 dot "Кр" + 0.7 dot "Экз") $
Будет:
- ООП
- Параллельное и конкурентное программирование
- Функциональное программирование
- Всякое
= Классы
Классы --- исторически первое отлич... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-10.typ | typst | Other | // The the `first` and `last` methods.
#test((1,).first(), 1)
#test((2,).last(), 2)
#test((1, 2, 3).first(), 1)
#test((1, 2, 3).last(), 3)
|
https://github.com/Matt-Tansley/quarto-typst-landscape | https://raw.githubusercontent.com/Matt-Tansley/quarto-typst-landscape/main/_extensions/quarto-typst-landscape/typst-template.typ | typst |
#let PrettyTypst(
// Default document title.
// 'title' in your .qmd file will override this.
title: "quarto-typst-landscape",
// Logo in top right corner.
typst-logo: none,
// The document content.
body
) = {
// Set document metadata.
set document(title: title)
// Configure pages.
set page... | |
https://github.com/hei-templates/hevs-typsttemplate-thesis | https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/02-main/06-validation.typ | typst | MIT License | #import "../00-templates/helpers.typ": *
#pagebreak()
= Validation <sec:validation>
#lorem(50)
#minitoc(after:<sec:validation>, before:<sec:conclusion>)
#pagebreak()
== Section 1
#lorem(50)
== Section 2
#lorem(50)
== Discussion
#lorem(50)
|
https://github.com/FrightenedFoxCN/typst-math-chinese | https://raw.githubusercontent.com/FrightenedFoxCN/typst-math-chinese/main/template-en.typ | typst | #import "@preview/showybox:2.0.2": *
#let change_footer_style(content, emphcolor, leading, qed) = if content != none {block(width: 100%, )[
#align(left)[
#set list(marker: (strong[•]))
#set text(
font: ("Times New Roman"),
)
#[
#set text(emphcolor)
... | |
https://github.com/RiccardoTonioloDev/Bachelor-Thesis | https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/chapters/pydnet.typ | typst | Other | #import "@preview/codly:1.0.0": *
#import "../config/functions.typ": *
#pagebreak(to: "odd")
= PyDNet <ch:pydnet>
PyDNet (*Py*\ramidal *D*\epth *Net*\work) è una famiglia di modelli composta da due versioni @PyDNetV1@PyDNetV2 (che per comodità verranno riferite come PDV1 e PDV2), che cercano di risolvere il problema de... |
https://github.com/sysu/better-thesis | https://raw.githubusercontent.com/sysu/better-thesis/main/specifications/bachelor/abstract.typ | typst | MIT License | // 利用 state 捕获摘要参数,并通过 context 传递给渲染函数
#import "/utils/style.typ": 字号, 字体
#import "/utils/indent.typ": fake-par
#let abstract-keywords = state("keywords", ("中山大学", "论文", "学位论文", "规范"))
#let abstract-content = state("abstract", [
摘要应概括论文的主要信息,应具有独立性和自含性,即不阅读论文的全文,就能获得必要的信息。
摘要内容一般应包括研究目的、内容、方法、成果和结论,要突出论文的创造性成果或新见解,不要
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/bibliography_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 15-55 duplicate bibliography keys: netwok, issue201, arrgh, quark, distress, glacier-melt, tolkien54, sharing, restful, mcintosh_anxiety, psychology25
// #bibliography(("/assets/files/works.bib", "/assets/files/works.bib")) |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/lovelace/0.1.0/examples/euclid-algorithm.typ | typst | Apache License 2.0 | #set page(width: 30em, height: auto, margin: 1em)
#import "../lib.typ": *
#show: setup-lovelace
#algorithm(
caption: [The Euclidean algorithm],
pseudocode(
no-number,
[*input:* integers $a$ and $b$],
no-number,
[*output:* greatest common divisor of $a$ and $b$],
[*while* $a != b$ *do*], ind,
... |
https://github.com/EpicEricEE/typst-based | https://raw.githubusercontent.com/EpicEricEE/typst-based/master/src/base64.typ | typst | MIT License | #import "coder.typ"
#let alphabet-64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
#let alphabet-64-url = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
/// Encodes the given data in base64 format.
///
/// Arguments:
/// - data: The data to encode. Must be of type array,... |
https://github.com/raygo0312/Typst_template | https://raw.githubusercontent.com/raygo0312/Typst_template/main/README.md | markdown | # Typstの日本語テンプレート
Typstの日本語テンプレートを作成しました.修正点があればissueにあげるか,pull requestを送ってください.
## Typstのインストール
ここでは,VSCodeを用いたインストール方法を記載します.その他の方法は,
- Web版を使いたい場合 : [公式ページ](https://typst.app/)
- Terminal上で使いたい場合 : [GitHub](https://github.com/typst/typst)
を参照してください.
VSCodeにどちらかの拡張機能を入れます.
- Typst LSP (公式)
- Tinymist Typst (おすすめ... | |
https://github.com/denkspuren/typst_programming | https://raw.githubusercontent.com/denkspuren/typst_programming/main/extractText/extractText.typ | typst | // see https://github.com/typst/templates/issues/12#issuecomment-1793845765
#let extractText(element) = {
if type(element) == content {
if element == [ ] { return " " }
return extractText(element.fields()).trim() }
if type(element) == dictionary { return extractText(element.values()) }
if type(element) =... | |
https://github.com/tingerrr/hydra | https://raw.githubusercontent.com/tingerrr/hydra/main/doc/chapters/3-reference.typ | typst | MIT License | #import "@preview/tidy:0.2.0"
#import "/doc/util.typ": bbox
#let stable(is) = if is {
bbox(fill: green.lighten(50%), `stable`)
} else {
bbox(fill: yellow.lighten(50%), `unstable`)
}
== Stability
The following stability guarantees are made, this package tries to adhere to semantic versioning.
#table(columns: 2, g... |
https://github.com/CreakZ/mirea-algorithms | https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/work_4/work_4.typ | typst | #import "../title_page_template.typ": title_page
#import "../layouts.typ": un_heading, head1, indent, head2
#set page(
paper: "a4",
margin: (left: 2cm, right: 2cm, top: 2cm, bottom: 2cm)
)
#set heading(numbering: "1.1.1.")
#set text(font: "New Computer Modern", size: 14pt, kerning: false)
#set figure(suppl... | |
https://github.com/morrisfeist/cvgen | https://raw.githubusercontent.com/morrisfeist/cvgen/master/template/template.typ | typst | MIT License | #import "theme.typ": theme
#set page(margin: 0pt, fill: theme.base)
#set text(font: "Liberation Sans", size: 10pt, fill: theme.text);
#show heading: set text(theme.primary)
#grid(columns: (30fr, 70fr), include "sidebar.typ", include "body.typ")
|
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/decide-drivetrain-config.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: "Decide: Drivetrain Configuration",
type: "decide",
date: datetime(year: 2023, month: 6, day: 19),
author: "<NAME>",
witness: "Violet Ridge",
)
We then rated each confi... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/table-04.typ | typst | Other | // Error: 14-19 expected color, none, array, or function, found string
#table(fill: "hey")
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/048%20-%20Dominaria%20United/002_Episode%202%3A%20Sand%20in%20the%20Hourglass.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2: Sand in the Hourglass",
set_name: "Dominaria United",
story_date: datetime(day: 11, month: 08, year: 2022),
author: "<NAME>",
doc
)
#figure(image("002_Episode 2: Sand in the Hourglass/01.jpg", width: 100%), caption: [Art by: <NA... | |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/meta/state.typ | typst | Apache License 2.0 | // Test state.
---
#let s = state("hey", "a")
#let double(it) = 2 * it
#s.update(double)
#s.update(double)
$ 2 + 3 $
#s.update(double)
Is: #s.display(),
Was: #locate(location => {
let it = query(math.equation, location).first()
s.at(it.location())
}).
---
#set page(width: 200pt)
#set text(8pt)
#let ls = state(... |
https://github.com/Dideldumm/realistic-polygons | https://raw.githubusercontent.com/Dideldumm/realistic-polygons/main/parcio-typst/bachelor-thesis/chapters/merge_convex_hulls/merge_convex_hulls.typ | typst | = Merge Convex Hulls Algorithm
The main idea of this algorithm is that vertices that are almost collinear should end up a connected polygonal chain.
To achieve this the algorithm recursively builds up convex hulls of the points.
The result is a set of layers of convex hulls, similar to an onion.
Then the convex hulls ... | |
https://github.com/Vortezz/fiches-mp2i-maths | https://raw.githubusercontent.com/Vortezz/fiches-mp2i-maths/main/chapter_4.typ | typst | #set page(header: box(width: 100%, grid(
columns: (100%),
rows: (20pt, 8pt),
align(right, text("CHAPITRE 4. SOMMES")),
line(length: 100%),
)), footer: box(width: 100%, grid(
columns: (50%, 50%),
rows: (8pt, 20pt),
line(length: 100%),
line(length: 100%),
align(left, text("<NAME> - MP2I")),
align(righ... | |
https://github.com/Gchism94/PrettyTypst | https://raw.githubusercontent.com/Gchism94/PrettyTypst/main/_extensions/PrettyTypst/typst-show.typ | typst | Creative Commons Zero v1.0 Universal | #show: PrettyTypst.with(
$if(title)$
title: "$title$",
$endif$
$if(typst-logo)$
typst-logo: (
path: "$typst-logo.path$",
caption: [$typst-logo.caption$]
),
$endif$
)
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/references/cross_file_ref_label.typ | typst | Apache License 2.0 | // path: base2.typ
== Base 2 <b2>
Ref to b1 @b1
Ref to b2 @b2
Ref to b1 @b1 again
-----
// path: base1.typ
== Base 1 <b1>
Ref to b1 @b1
Ref to b2 @b2
-----
// compile:true
#set heading(numbering: "1.")
= Test Ref Label
#include "base1.typ"
#include "base2.typ"
Ref to b1 /* position after */ @b1
Ref to b2 @b2 |
https://github.com/matthiasbeyer/typst-template-paper | https://raw.githubusercontent.com/matthiasbeyer/typst-template-paper/master/README.md | markdown | MIT License | # typst-template-paper
A `typst` template repository **FOR PERSONAL USE**.
This is intended as _template repository_ not as _typst template_.
This means, I use this repository to kickstart other repositories. I do not use
this repository as template for a typst document.
This is mainly for personal use and to discov... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/jurz/0.1.0/jurz.typ | typst | Apache License 2.0 | #let init-jurz = (
two-sided: false,
gap: 1em,
supplement: "Rz.",
reset-level: 0,
body
) => {
// Reset the Rz. in each heading "bigger" (i.e., with a smaller level) than the reset-level
show heading: it => {
it
if (it.level <= reset-level) {
counter("rz").update(0)
}
}
// Setup... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/figure-01.typ | typst | Other |
// Testing figures with tables.
#figure(
table(
columns: 2,
[Second cylinder],
image("test/assets/files/cylinder.svg"),
),
caption: "A table containing images."
) <fig-image-in-table>
|
https://github.com/Tran-Thu-Le/typst-collection | https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/multi-files-reference/readme.md | markdown | # References on multiple Typst files
- For the current version of Typst (05/06/2024), one cannot cite references on different Typst files. This folder show you how to hack this using file name `multi-ref.typ`.
This folder provides a minimal example of how to use multiple references in different Typst files
- This is ... | |
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024 | https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/chap11/chain.typ | typst | #let colored(x) = text(fill: red, $#x$)
#let calcChain(chain) = {
let chain- = ()
let content = []
let first = int(chain.at(0)) - int(chain.at(chain.len()-1))
if first < 0 {
first += 4
}
content += [0. #colored($ #chain.at(chain.len()-1) - #chain.at(0) = first;$)]
for i in range(chain.len()... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix-alignment_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test alternating alignment in a vector.
$ vec(
"a" & "a a a" & "a a",
"a a" & "a a" & "a",
"a a a" & "a" & "a a a",
) $
|
https://github.com/platformer/typst-algorithms | https://raw.githubusercontent.com/platformer/typst-algorithms/main/README.md | markdown | MIT License | # Algo
A Typst library for writing algorithms. On Typst v0.6.0+ you can import the `algo` package:
```typst
#import "@preview/algo:0.3.3": algo, i, d, comment, code
```
Otherwise, add the `algo.typ` file to your project and import it as normal:
```typst
#import "algo.typ": algo, i, d, comment, code
```
Use the `al... |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Codici/Duale.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Metodi_defs.typ": *
Sia $C$ un codice in $ZZ_(p)^(n)$ di dimensione $k$. L'insieme $C^(perp)
subset.eq ZZ_(p)^(n)$ che contiene tutti i vettori ortogonali ad ogni
vettore di $C$ si dice *codice duale* di $C$. In particolare, se $C =
C^(perp)$, il codice$C$ si dice *autoduale*.
$ C^(perp) = {x in ZZ_(p)^(n... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-22.typ | typst | Other | // Error: 7-12 expected semicolon or line break
#eval("1 2")
|
https://github.com/kotatsuyaki/canonical-nthu-thesis | https://raw.githubusercontent.com/kotatsuyaki/canonical-nthu-thesis/main/pages/outlines.typ | typst | MIT License | #let outline-pages(
outline-figures: true,
outline-tables: true,
) = {
outline(indent: auto)
pagebreak()
if outline-figures {
outline(title: "List of Figures", target: figure.where(kind: image))
pagebreak()
}
if outline-tables {
outline(title: "List of Tables", target... |
https://github.com/MultisampledNight/flow | https://raw.githubusercontent.com/MultisampledNight/flow/main/src/doc/playground.typ | typst | MIT License | #import "../lib.typ" as flow: *
#show: note
- #track.event(
summary: "exist",
start: datetime(year: 2024, month: 9, day: 10),
)
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/002%20-%20Return%20to%20Ravnica/010_The%20Seven%20Bells%2C%20Part%201.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Seven Bells, Part 1",
set_name: "Return to Ravnica",
story_date: datetime(day: 07, month: 11, year: 2012),
author: "<NAME>",
doc
)
== Council of the Izmagus
=== Report of Record
#emph[Micas Vay: We’re protecting you—for now. But the A... | |
https://github.com/lkndl/typst-bioinfo-thesis | https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/modules/back-matter.typ | typst | #import "styles.typ": *
#let references(
bibliography-file: none,
style: "apa", lang: "en") = {
// pass a pre-installed citation style or the path to a .csl file here. Download `.csl`s from https://github.com/citation-style-language/styles
// also check https://www.ub.tum.de/en/citation-guide
if bibliog... | |
https://github.com/mariunaise/HDA-Thesis | https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/pseudocode/offsets.typ | typst | #import "@preview/lovelace:0.3.0": *
#pseudocode-list(booktabs: true, numbered-title: [Find all offsets $phi$])[
+ *input* $Phi, S$
+ *list* offsets $phi$
+ *if* $S$ is odd
+ $S = s-1$
+ *append* 0 *to list* offsets
+ *while* $i <= S/2$
+ *append* $+(i dot Phi)$ *to list* offsets
+ *append* $-... | |
https://github.com/donghoony/KUPC-2023 | https://raw.githubusercontent.com/donghoony/KUPC-2023/master/abstractions.typ | typst | #import "colors.typ" : *
#let cell = rect.with(
height: 25pt,
inset: 12pt,
width: 130%,
stroke: none,
)
#let column_width = (5%, 5%, 35%, 15%, 25%)
#let row_header_content(_text, size:1.3em) = {
cell(
fill: none,
text(weight: "semibold", size:size, fill: black)[#_text],
)
}
#let pick_color(tier:... | |
https://github.com/Quaternijkon/Typst_FLOW | https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/content.typ | typst | #import "src/exports.typ": *
#import "theme.typ": *
= #smallcaps("CPU-oriented Optimizations")
== Background
===
#lorem(200)
== How Milvus Addresses These?
#side-by-side[A][B][C]
#side-by-side[A][B][C]
#side-by-side[A][B][C]
#side-by-side[A][B][C]
#side-by-side[A][B][C]
#side-by-side[A][B][C]
#side-by-side[A][B]... | |
https://github.com/ufodauge/master_thesis | https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/common/route.typ | typst | MIT License | #let Route(
font : "<NAME>",
font-strong: "<NAME>",
body
) = [
#show regex("、"): ","
#show regex("。"): "."
#set page(
paper : "a4",
margin: (
bottom: 119.077pt,
top : 108.5pt,
left : 82.5pt,
right : 88.5pt,
)
)
#set text(font: font, size: 12pt)
#show str... |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/util/types.typ | typst | MIT License | /// Wrapper module for valkyrie to add some missing types and augment existing
/// ones.
#import "typst.typ"
#import "@preview/valkyrie:0.2.0": *
// Aliases for the original valkyrie types.
#let _choice = choice
#let _content = content
/// Augmented #cmd-[choice] function that adds an #arg[aliases] argument similar... |
https://github.com/xiaodong-hu/typst-note-template | https://raw.githubusercontent.com/xiaodong-hu/typst-note-template/main/note_template.typ | typst | MIT License | #let mycolor = (
celestial_blue: rgb(74, 150, 209), // `Celestial blue: \definecolor{celestialblue}{rgb}{0.29, 0.59, 0.82}` from `https://latexcolor.com/`
amber_orange: rgb(255, 128, 0), // `Amber (SAE/ECE): \definecolor{amber(sae/ece)}{rgb}{1.0, 0.75, 0.0}` from `https://latexcolor.com/`
cerise_pink: rgb(2... |
https://github.com/dark-flames/apollo-typst | https://raw.githubusercontent.com/dark-flames/apollo-typst/main/content/posts/multi-version-short.md | markdown | Apache License 2.0 | +++
title = "Ancestors: Multi Version(Short)"
date = "2024-07-09"
[taxonomies]
tags=["documentation"]
[extra]
typst = "intro/short"
+++
|
https://github.com/BreakingLead/note | https://raw.githubusercontent.com/BreakingLead/note/main/Math/uncategorized/schwarz_beamer.typ | typst | #import "@preview/touying:0.2.0": *
| |
https://github.com/PorterLu/Typst | https://raw.githubusercontent.com/PorterLu/Typst/main/advance/advanced_styling.typ | typst | #set par(justify: true)
#set heading(numbering: "1.1.1.1")
#set page(
paper: "us-letter",
header: align(right)[
Advanced Styling
],
numbering: "1"
)
#set text(
font: "Linux Libertine",
size: 11pt,
)
#align(center, text(17pt)[*Advanced Styling*])
#grid(
columns: (1fr, 3fr, 1fr, 3fr, 1fr),
align(cent... | |
https://github.com/silent-dxx/typst-color-emoji | https://raw.githubusercontent.com/silent-dxx/typst-color-emoji/main/examples/simple.typ | typst | MIT License | #import "../cm.typ"
#let udl0 = underline.with(
stroke: 1.5pt + red,
offset: 2pt,
)
#show raw.where(block: false): box.with(
fill: aqua.lighten(80%),
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
radius: 2pt,
)
#text(2.0em)[
= Typst Color Emoji Simple Demo
]
\
////////////////////////////////////
#[
#... |
https://github.com/rangerjo/tutor | https://raw.githubusercontent.com/rangerjo/tutor/main/example/main.typ | typst | MIT License |
#import "@local/tutor:0.6.1": totalpoints, lines, default-config
#import "src/ex1/ex.typ" as ex1
#import "src/ex2/ex.typ" as ex2
#let cfg = toml("tutor.toml")
#if "tutor_sol" in sys.inputs {
if sys.inputs.tutor_sol == "true" {
(cfg.sol = true)
} else if sys.inputs.tutor_sol == "false" {
(cfg.sol = fals... |
https://github.com/ryuryu-ymj/mannot | https://raw.githubusercontent.com/ryuryu-ymj/mannot/main/tests/test-mark.typ | typst | MIT License | #import "/src/mark.typ": mark
// #set page(width: 12cm, height: 16cm, margin: (x: 24pt, y: 24pt))
#let cell-pat = pattern(size: (20pt, 20pt))[
#place(line(start: (0%, 0%), end: (0%, 100%), stroke: silver))
#place(line(start: (0%, 0%), end: (1000%, 0%), stroke: silver))
]
#set page(fill: cell-pat)
#set heading(numb... |
https://github.com/jmigual/typst-efilrst | https://raw.githubusercontent.com/jmigual/typst-efilrst/main/examples/basic.typ | typst | MIT License | #import "../src/lib.typ" as efilrst
#show ref: efilrst.show-rule
#efilrst.reflist(
[My cool constraint A],<c:a>,
[My also cool constraint B],<c:b>,
[My non-refernceable constraint C],
list-style: "C1)",
ref-style: "C1",
name: "Constraint"
)
See how my @c:a is better than @c:b.
|
https://github.com/dadn-dream-home/documents | https://raw.githubusercontent.com/dadn-dream-home/documents/main/contents/07-thiet-ke-kien-truc/2-frontend/index.typ | typst | == Mô hình MVC ở frontend
Do ở frontend có _quá nhiều_ class nên nhóm xin phép không thêm vào báo cáo. Thay
vào đó, nhóm xin phép trình bày sơ lược hướng tiếp cận.
Nhóm sử dụng *Dart / Flutter* để xây dựng ứng dụng di động. Trong đó, nhóm sử dụng
mô hình MVC để xây dựng ứng dụng, sử dụng hướng dẫn từ
#cite("andrea0",... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/bugs/field.typ | typst | Apache License 2.0 | #figure(caption: [test])[].caption |
https://github.com/Its-Alex/resume | https://raw.githubusercontent.com/Its-Alex/resume/master/README.md | markdown | MIT License | # Resume
Repository to create and build a PDF of my resume.
You can see the current version in [`lastest release`](https://github.com/Its-Alex/resume/releases/tag/latest).
## Requirements
- [`mise`](https://mise.jdx.dev/)
- [`direnv`](https://direnv.net/)
```sh
$ mise plugins install typst https://github.com/steph... |
https://github.com/RubixDev/typst-i-figured | https://raw.githubusercontent.com/RubixDev/typst-i-figured/main/examples/basic.typ | typst | MIT License | #import "../i-figured.typ"
#set page(width: 15cm, height: auto, margin: 1.5cm)
// set up heading numbering
#set heading(numbering: "1.")
// this resets all figure counters at every level 1 heading.
// custom figure kinds must be added here.
#show heading: i-figured.reset-counters.with(extra-kinds: ("atom",))
// this... |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/docs/readme-examples/first-isomorphism-theorem.typ | typst | MIT License | #diagram(cell-size: 15mm,/*<*/
edge-stroke: fg,
crossing-fill: none,/*>*/ $
G edge(f, ->) edge("d", pi, ->>) & im(f) \
G slash ker(f) edge("ur", tilde(f), "hook-->")
$) |
https://github.com/typst-community/typst-install | https://raw.githubusercontent.com/typst-community/typst-install/main/test.typ | typst | MIT License | + The climate
- Temperature
- Precipitation
+ The topography
+ The geology
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/hover/param.typ | typst | Apache License 2.0 |
/// Test
///
/// - param (int): The `parameter`.
#let f(/* ident after */ param: 1) = 1;
|
https://github.com/Gekkio/gb-ctr | https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cartridges/mbc7.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "../../common.typ": *
== MBC7
TODO.
|
https://github.com/jbirnick/typst-headcount | https://raw.githubusercontent.com/jbirnick/typst-headcount/master/README.md | markdown | MIT License | > [!NOTE]
> This is a [Typst](https://typst.app/) package. Click [here](https://typst.app/universe/package/headcount/) to find it in the Typst Universe.
# `headcount`
This package allows you to make **counters depend on the current chapter/section number**.
The advantage compared to [rich-counter](https://typst.app/... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/frontend/sublime-text.typ | typst | Apache License 2.0 |
#import "/docs/tinymist/frontend/mod.typ": *
#show: book-page.with(title: "Tinymist Sublime Support for Typst")
Follow the instructions in the #link("https://github.com/sublimelsp/LSP/blob/main/docs/src/language_servers.md#tinymist")[sublimelsp documentation] to make it work.
|
https://github.com/lphoogenboom/typstThesisDCSC | https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/typFiles/specialChapter.typ | typst | // !!!!
// STUDENTS, DO NOT EDIT THIS FILE!
// !!!!
#import "../projectInfo.typ": student, report
#let specialChapter(
content: lorem(40),
chapterTitle: "Special Chapter",
studentName: "<NAME>",
showInOutline: true,
body
) = {
set align(top)
let topMargin = 2.5cm+1.35cm
set par(justify: true, linebreaks... | |
https://github.com/Enter-tainer/wavy | https://raw.githubusercontent.com/Enter-tainer/wavy/master/README.md | markdown | MIT License | # [Wavy](https://github.com/Enter-tainer/wavy)
Draw digital timing diagram in Typst using [Wavedrom](https://wavedrom.com/).

````typ
#import "@preview/wavy:0.1.1"
#set page(height: auto, width: auto, fill: black, margin: 2em)
#set text(fill: white)
#show raw.where(lang: "wavy"): it => wavy.render(it... |
https://github.com/profetia/me | https://raw.githubusercontent.com/profetia/me/main/src/option_ext.typ | typst | #import "option.typ": declare, option
#option("lang", "en")
#let en = declare("lang", "en")
#let zh = declare("lang", "zh")
| |
https://github.com/piepert/logik-tutorium-wise2024-2025 | https://raw.githubusercontent.com/piepert/logik-tutorium-wise2024-2025/main/src/raw-plan.typ | typst | Creative Commons Zero v1.0 Universal | //#DONT_COMPILE_TO_PDF
#import "/src/packages/goals.typ": *
#import "/src/templates/exercise.typ": *
#show: ref-goals
#state("tut-dates").update((
// datetime(year: 2024, month: 10, day: 16), // beginnt erst ab zweiter Woche
datetime(year: 2024, month: 10, day: 23),
datetime(year: 2024, month: 10, day: 30... |
https://github.com/tomowang/typst-twentysecondcv | https://raw.githubusercontent.com/tomowang/typst-twentysecondcv/main/README.md | markdown | MIT License | # Twenty Seconds CV/Resume in Typst

[](https://typst.app/)
This Typst CV template is inspired by LaTeX template
[Twenty Seconds Resume/CV](https://www.latextemplates.com/templ... |
https://github.com/Enter-tainer/m-jaxon | https://raw.githubusercontent.com/Enter-tainer/m-jaxon/master/test.typ | typst | MIT License | #import "./typst-package/lib.typ" as m-jaxon
// Uncomment the following line to use the m-jaxon from the official package registry
// #import "@preview/m-jaxon:0.1.1"
#m-jaxon.render(`E`, inline: true) #m-jaxon.render("E = mc^2", inline: true)
|
https://github.com/kacper-uminski/math-notes | https://raw.githubusercontent.com/kacper-uminski/math-notes/main/tams11/book.typ | typst | Creative Commons Zero v1.0 Universal | #let book_template(
title: none,
course: none,
author: "<NAME>",
doc
) = {
set text(size: 10pt, font: "New Computer Modern")
set outline(depth: 2)
set math.equation(supplement: it => [Eq.#it])
show outline.entry.where(level : 1): it => {
v(12pt, weak: true)
strong(it)
}
show he... |
https://github.com/EricWay1024/Homological-Algebra-Notes | https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/0-module.typ | typst | #import "../libs/template.typ": *
= Module Theory Recap
<module-recap>
#definition[
Let $R$ be a ring. A *left $R$-module* $M$ is an abelian group with maps $R times M -> M$ (called multiplication), denoted as $(r, m) |-> r dot m = r m$, which satisfies:
$ r(m_1 + m_2) &= r m_1 + r m_2, \
(r_1 + r_2) m... | |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/core/document.typ | typst | MIT License | #import "../util/types.typ" as t
#let _author-schema = t.dictionary(
(
name: t.string(),
email: t.email(optional: true),
abbr: t.string(optional: true),
),
pre-transform: t.coerce.dictionary(it => (name: it)),
aliases: (
kuerzel: "abbr",
abbreviation: "abbr",
),
)
#let _doc-schema = t.di... |
https://github.com/rabotaem-incorporated/probability-theory-notes | https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/02-general/03-joint-distribution.typ | typst | #import "../../utils/core.typ": *
== Совместное распределение
#ticket[Совместная плотность распределения. Функции распределения и плотности для независимых случайных величин.]
#def[
Вектор
$ arrow(xi) = (xi_1, xi_2, ..., xi_n): Omega --> RR^n $
является _совместным_ или _многомерным_ распределением, если... | |
https://github.com/jakobjpeters/Typstry.jl | https://raw.githubusercontent.com/jakobjpeters/Typstry.jl/main/docs/source/guides/package_interoperability.md | markdown | MIT License |
# Package Interoperability
This guide illustrates how to use Typstry.jl in compatible notebooks and packages.
## Notebooks
IJulia.jl, Pluto.jl, and QuartoNotebookRunner.jl each [`render`](@ref) [`Typst`](@ref)s and [`TypstText`](@ref)s.
Pluto.jl and QuartoNotebookRunner.jl also `render` [`TypstString`](@ref)s,
wher... |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/2-reproducibility.typ | typst | Other | #import "imports/preamble.typ": *
#import "theme/template.typ": *
#import "theme/common/titlepage.typ": *
#import "theme/common/metadata.typ": *
#import "theme/disclaimer.typ": *
#import "theme/leftblank.typ": *
#import "theme/acknowledgement.typ": *
#import "theme/abstract.typ": *
#import "theme/infos.typ": *
#import ... |
https://github.com/justmejulian/typst-documentation-template | https://raw.githubusercontent.com/justmejulian/typst-documentation-template/main/utils/getCurrentHeading.typ | typst | #let getCurrentHeading() = {
locate(loc => {
// Find if there is a level 1 heading on the current page
let nextMainHeading = query(selector(heading).after(loc, inclusive: false), loc).find(headIt => {
headIt.location().page() == loc.page() and headIt.level == 1
})
if (nextMainHeading != none) {
... | |
https://github.com/Hobr/njust_thesis_typst_template | https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/util/font.typ | typst | MIT License | // 字体
#let fonts = (
zh_宋体: "SimSun",
zh_楷体: "KaiTi",
zh_黑体: "SimHei",
zh_等线: "DengXian",
en: "Times New Roman",
math: "Cambria Math",
jp: "MS Mincho",
)
// 字号
#let fontSize = (
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: ... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/ops-prec.typ | typst | Apache License 2.0 | // Test operator precedence.
// Ref: false
---
// Multiplication binds stronger than addition.
#test(1+2*-3, -5)
// Subtraction binds stronger than comparison.
#test(3 == 5 - 2, true)
// Boolean operations bind stronger than '=='.
#test("a" == "a" and 2 < 3, true)
#test(not "b" == "b", false)
---
// Assignment bind... |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/38.typ | typst | #import "../conf.typ": *
= Вычеты. Вычисление интегралов по замкнутому контуру при помощи вычетов
#definition[
Пусть $f$ голоморфна в $dot(O_r (a)), a in CC$, то определим вычет как
#eq[$res_a f = 1 / (2 pi i) integral_(gamma_rho) f(z) d z $]
]
#lemma[Вычеты определены корректно (не завият от $gamma$)]
#proof[
П... | |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/029.typ | typst |
#let date = datetime(
year: 2022,
month: 6,
day: 20,
)
#metadata((
title: "wsl2-arch",
subtitle: [wsl2,archlinux],
author: "dashuai009",
abstract: "个人癖好:所有软件都要最新的!arch完美戳中了我。ArchWSL!开个blog记录新机都要装什么环境。",
description: "这是一种将C++更加现代的代码组织方式。 模块是一组源代码文件,独立于导入它们的翻译单元进行编译。",
pubDate: date.display(),
))<fro... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-4E00.typ | typst | Apache License 2.0 | #let data = (
"0": ("<CJK Ideograph, First>", "Lo", 0),
"51ff": ("<CJK Ideograph, Last>", "Lo", 0),
)
|
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/sec/4rezultati.typ | typst | #import "/src/additional.typ": todo
#set heading(offset: 1)
#import "/src/figures/mod.typ": constants_diff_fig
= Default system
Simulating the default system with variables seen in @constants, we get the following graphs seen in @default and in @default-fac.
Volume starts to rise with day 2, as at that time bioreac... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tiaoma/0.2.0/README.md | markdown | Apache License 2.0 | # tiaoma
[tiaoma(条码)](https://github.com/enter-tainer/zint-wasi) is a barcode generator for typst. It compiles [zint](https://github.com/zint/zint) to wasm and use it to generate barcode. It support nearly all common barcode types. For a complete list of supported barcode types, see [zint's documentation](https://zint... |
https://github.com/coljac/typst-cas-thesis | https://raw.githubusercontent.com/coljac/typst-cas-thesis/main/README.md | markdown | The Unlicense | # Typst CAS thesis
A Typst PhD thesis template for Swinburne University and the Centre for Astrophysics and Supercomputing specifically.
This is a work in progress. It will be added to the official template repository when that's ready.
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/cjk-punctuation-adjustment.typ | typst | Apache License 2.0 | #set page(width: 15em)
// In the following example, the space between 》! and ? should be squeezed.
// because zh-CN follows GB style
#set text(lang: "zh", region: "CN", font: "Noto Serif CJK SC")
原来,你也玩《原神》!?
// However, in the following example, the space between 》! and ? should not be squeezed.
// because zh-TW doe... |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Reading/跟李沐学AI(论文)/GAN.typ | typst | // ---
// order: 6
// ---
#import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "d2l_paper",
lang: "zh",
)
= Generative Adversarial Nets
== 摘要 & 引言 & 相关工作
- 摘要
- 两种写法
- 创新工作(本文):讲清楚自己是谁?
- 拓展工作:和别人的区别、创新
- 提出了一种 framework(掂量这个词的份量),即Generator 和 Discriminator
- $G$ 的目标是使 $... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/pad.typ | typst | Apache License 2.0 | // Test the `pad` function.
---
// Use for indentation.
#pad(left: 10pt, [Indented!])
// All sides together.
#set rect(inset: 0pt)
#rect(fill: conifer,
pad(10pt, right: 20pt,
rect(width: 20pt, height: 20pt, fill: rgb("eb5278"))
)
)
Hi #box(pad(left: 10pt)[A]) there
---
// Pad can grow.
#pad(left: 10pt, righ... |
https://github.com/ukihot/igonna | https://raw.githubusercontent.com/ukihot/igonna/main/articles/algo/dp.typ | typst | == 最大和問題
== ナップサック問題
== 部分和問題
== 最小個数部分和問題
== 最長共通部分列問題(Longest Common Subsequence)
== レーベンシュタイン距離 | |
https://github.com/danilasar/conspectuses-3sem | https://raw.githubusercontent.com/danilasar/conspectuses-3sem/master/Дискра/240912.typ | typst | = Бинарные отношения
$A, B eq.not emptyset$
Декартово произведение есть
$A or B = {(a, b | a in A and b in B)}$
$S subset.eq A or B$
$] A, B eq.not emptyset$, тогда *бинарное отношение* --- подмножество их декартова произведения.
$emptyset$ --- пустое бинарное отношение
/ Декартово произведение: Универсальное бина... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-square_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test auto-sized square.
#square(fill: eastern)[
#set text(fill: white, weight: "bold")
Typst
]
|
https://github.com/Jeomhps/datify | https://raw.githubusercontent.com/Jeomhps/datify/main/src/translations.typ | typst | MIT License | #import "utils.typ": first-letter-to-upper
#import "config.typ": default-date-lang
#let day-names = toml("translations/day_name.toml")
#let month-names = toml("translations/month_name.toml")
#let day-name = (weekday, ..args) => {
let lang = default-date-lang
let upper = false
for arg in args.pos() {
if type... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.5.2/src/deps.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.3.1"
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/CHANGELOG.md | markdown | Apache License 2.0 | # Changelog
## [v0.1.0] - 2024-10-02
- prepared for publication in Typst Universe
## [v0.0.2] - 2024-06-15
### Added
- `width` parameter to `schema.render` for easier integration
- `all-bit-i` config option
- colored ranges
- format specification in the manual
## [v0.0.1] - 2024-05-19
- initial version
- ported all ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.