repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/fenjalien/mdbook-typst-doc | https://raw.githubusercontent.com/fenjalien/mdbook-typst-doc/main/example/src/chapter_1.md | markdown | Apache License 2.0 | # Type Pill Examples
{{#type color}}
{{#type int}}
{{#type content}}
{{#type bool}}
{{#type str}}
{{#type auto}}
{{#type none}}
{{#type custom}}
{{#type other}}
# Typst Example
```typ,example
= Fibonacci change
The Fibonacci sequence is defined through the
_recurrence relation_ $F_n = F_(n-1) + F_(n-2)$.
I... |
https://github.com/DeveloperPaul123/modern-cv | https://raw.githubusercontent.com/DeveloperPaul123/modern-cv/main/template/resume.typ | typst | Other | #import "@preview/modern-cv:0.7.0": *
#show: resume.with(
author: (
firstname: "John",
lastname: "Smith",
email: "<EMAIL>",
homepage: "https://example.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
twitter: "typstapp",
scholar: "",
orcid: "0000-0000-0000-000X",
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.2/src/draw.typ | typst | Apache License 2.0 | #import "utils.typ": *
#import "marks.typ": *
#let draw-edge-label(edge, label-pos, debug: 0) = {
cetz.draw.content(
label-pos,
box(
// cetz seems to sometimes squash the content, causing a line-
// break, when padding is present...
fill: edge.label-fill,
stroke: if debug >= 2 { DEBUG_COLOR + 0.25pt ... |
https://github.com/Complex2-Liu/macmo | https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-10.typ | typst | #import "../lib/math.typ": problem, proof, note, ans, hasheq, eqref
#problem[
设 $n$ 为正整数, 求证: $ sum_(k = 0)^n binom(n, k)binom(n + k, k) =
sum_(k = 0)^n 2^k binom(n, k)^2. $
]
#proof[
先把 $2^k$ 拆成 $sum_(m = 0)^k binom(k, m) = sum_(m = n - k)^n binom(k, n - m)$,
得到 $ sum_(k = 0)^n sum_(m = n - k)^n binom(k, n -... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-01.typ | typst | Other | // Termination.
// Terminated by line break.
#let v1 = 1
One
// Terminated by semicolon.
#let v2 = 2; Two
// Terminated by semicolon and line break.
#let v3 = 3;
Three
#test(v1, 1)
#test(v2, 2)
#test(v3, 3)
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/page-style-02.typ | typst | Other | // Empty with multiple page styles.
// Should result in a small white page.
#set page("a4")
#set page("a5")
#set page(width: 1cm, height: 1cm)
|
https://github.com/DashieTM/nix-introduction | https://raw.githubusercontent.com/DashieTM/nix-introduction/main/topics/specializations.typ | typst | #import "../utils.typ": *
#polylux-slide[
== What else is Nix good for?
#v(15pt)
- servers
- declarative/reproducible server instantiation
- ansible on steroids
- easily convertible to and from docker files/images
- CI/CD
- declarative and reproducible pipelines
- no version mismatch due to nix
- availabl... | |
https://github.com/donghoony/KUPC-2023 | https://raw.githubusercontent.com/donghoony/KUPC-2023/master/template.typ | typst | // The project function defines how your document looks.
// It takes your content and some metadata and formats it.
// Go ahead and customize it to your liking!
#import "emoji/lib.typ" : *
// 그래프를 그릴 수 있습니다.
//#import "@preview/gviz:0.1.0": *
#let project(title: "", authors: (), logo: none, body) = {
// Set the doc... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/label-06.typ | typst | Other | // Test that incomplete label is text.
1 < 2 is #if 1 < 2 [not] a label.
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/import_ident.typ | typst | Apache License 2.0 | // path: base.typ
#let f() = 1;
-----
#import "base.typ": f
#(/* position after */ f);
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/009%20-%20Born%20of%20the%20Gods/002_Cowardice%20of%20the%20Hero.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Cowardice of the Hero",
set_name: "Born of the Gods",
story_date: datetime(day: 22, month: 01, year: 2014),
author: "<NAME>",
doc
)
I hate the man who married my mother.
My father died in an accident when I was too young to remember him. M... | |
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/homework-2/homework8.typ | typst | #import "../template.typ": *
#show: project.with(
course: "Calculus II",
course_fullname: "Calculus (A) II",
course_code: "821T0160",
title: "Homework #8: 多元函数微分学",
authors: ((
name: "<NAME>",
email: "<EMAIL>",
id: "#198"
),),
semester: "Spring-Summer 2024",
date: "April 18, 2024",
)
= 习题8-2
== P82 16
#... | |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-数据结构/栈与队列/中位数.typ | typst | #import "../../../../lib.typ":*
=== #Title(
title: [中位数],
reflink: "https://leetcode.cn/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof/description/",
level: 3,
)<中位数>
#note(
title: [
数据流中的中位数
],
description: [
中位数 是有序整数列表中的中间值。如果列表的大小是偶数,则没有中间值,中位数是两个中间值的平均值。
例如,
- [2,3,4] 的中位数是 3
- [2,3] 的中位数是 $(2 + ... | |
https://github.com/christmascoding/DHBW_LAB_GET | https://raw.githubusercontent.com/christmascoding/DHBW_LAB_GET/main/main.typ | typst | #import "@preview/supercharged-dhbw:1.2.0": *
#let abstract = lorem(100)
#set page(footer: context [
Labor: GET / <NAME> / <NAME>, <NAME> / TES23B
#h(2fr)
#counter(page).display(
"1/1",
both: true,
)
])
#show: supercharged-dhbw.with(
title: "Laborbericht Versuch Nr. 2: Funktionsgenerator und Oszill... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/bytefield/0.0.5/lib/states.typ | typst | Apache License 2.0 | // states
#let __default_row_height = state("bf-row-height", 2.5em);
#let __default_header_font_size = state("bf-header-font-size", 9pt);
#let __default_field_font_size = state("bf-field-font-size", auto);
#let __default_note_font_size = state("bf-note-font-size", auto);
#let __default_header_background = state("bf-hea... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/anchor/anusvara.typ | typst | Other | #import "/lib/draw.typ": *
#import "/template/lang.typ": hind
#let start = (0, 0)
#let end = (1000, 500)
#let graph = with-unit((ux, uy) => context {
let bg = if page.fill == none { theme.bg } else { page.fill }
rect(start, end: end, fill: bg)
// mesh(start, end, (100, 100), stroke: 1 * ux + gray)
txt(hind[ख... |
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/src/parsing.typ | typst | MIT License | #import "utility.typ"
/// Converts a content value into a string if it contains only text nodes.
/// Otherwise, `none` is returned.
#let content-to-string(x) = {
if x.has("text") { return x.text }
if x.has("children") and x.children.len() != 0 and x.children.all(x => x.has("text")) {
return x.children.map(x ... |
https://github.com/yy01zz02/profile-template | https://raw.githubusercontent.com/yy01zz02/profile-template/main/template/icons.typ | typst | MIT License | #let icon(path) = box(
baseline: 0.125em,
height: 1.0em,
width: 1.25em,
image(
path,
width: 1em,
)
)
// Set fontawesome icons
#let fa_path = "/img/fa/fa-";
#let fa_home = icon(fa_path + "home.svg");
#let fa_email = icon(fa_path + "envelope.svg");
#let fa_github = icon(fa_path + "github.svg");
#let ... |
https://github.com/Luv-Ray/Resume-template | https://raw.githubusercontent.com/Luv-Ray/Resume-template/main/main.typ | typst | #import "template.typ": *
#show heading: set text(black)
// 项目具体描述的item设定
#set list(indent:12pt,body-indent:6pt)
// 个人信息
#show: project.with(
name: "Luv_Ray",
)
#info(
phone:"(+86) xxx",
email:"<EMAIL>",
github:"github.com/luv-ray"
)
== 教育背景
#line(length: 100%,stroke:0.7pt+black)
#education(
school:"xxx大学... | |
https://github.com/janlauber/bachelor-thesis | https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/chapters/discussion.typ | typst | Creative Commons Zero v1.0 Universal | = Discussion
== Analysis of Findings
The deployment of the One-Click Deployment system across various use cases has revealed significant insights into its effectiveness, user adaptability, and operational robustness. The system's architecture, designed with a focus on simplicity and integration with Kubernetes, has p... |
https://github.com/andreasKroepelin/TypstJlyfish.jl | https://raw.githubusercontent.com/andreasKroepelin/TypstJlyfish.jl/main/README.md | markdown | MIT License | 
Jlyfish is a package for Julia and Typst that allows you to integrate Julia
computations in your Typst document.
[](https://github.com/andreasKroepelin/TypstJlyfish.jl/wiki)
)
_ MVP 1 - UI for desktop-view central dashboard for Student to Order Print_
Ở Task này, nhóm đã sử dụng Figma để xây dựng giao diện cho các thao tác cơ bản của
Student để Order Print.\
Cụ thể phần hiện thực Figma ở link sau:
https://www.figma.com/file/7eKh... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/silky-slides-insa/0.1.0/template/main.typ | typst | Apache License 2.0 | #import "@preview/silky-slides-insa:0.1.0": *
#show: insa-slides.with(
title: "Titre du diaporama",
title-visual: none,
subtitle: "Sous-titre (noms et prénoms ?)",
insa: "rennes"
)
= Titre de section
== Titre d'une slide
- Liste
- dans
- une liste
On peut aussi faire un #text(fill: insa-colors.second... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/frac_07.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test associativity.
$ 1/2/3 = (1/2)/3 = 1/(2/3) $
|
https://github.com/zxn64/UESTC_Snow_Halation_Template | https://raw.githubusercontent.com/zxn64/UESTC_Snow_Halation_Template/main/README.md | markdown | # UESTC_Snow_Halation_Template
## Hint
请将代码放入 `src/专题名/模板名.cpp` 内,若专题文件夹不存在,请自行创建文件夹。
## Usage
```bash
cd script
# 生成每个专题的markdown文件
python code2md.py
# 生成汇总的typst文件
python md2typst.py
```
## 关于 `Typst`
`Vscode` 直接安装 `Tinymist Typst` 插件即可使用,不需要单独安装 `Typst` 编译器
| |
https://github.com/tani-mss/onjuku2024 | https://raw.githubusercontent.com/tani-mss/onjuku2024/main/main.typ | typst | // This example code is generated by arkheion licensed under the MIT License.
// https://github.com/mgoulao/arkheion/tree/main
#import "@preview/arkheion:0.1.0": arkheion, arkheion-appendices
#show: arkheion.with(
title: "Typst Template for arXiv",
authors: (
(name: "<NAME>", email: "<EMAIL>", affiliation: "C... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/figure-caption_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test figure.caption element
#show figure.caption: emph
#figure(
[Not italicized],
caption: [Italicized],
)
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/030%20-%20Amonkhet/003_The%20Writing%20on%20the%20Wall.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Writing on the Wall",
set_name: "Amonkhet",
story_date: datetime(day: 12, month: 04, year: 2017),
author: "<NAME>",
doc
)
#figure(image("003_The Writing on the Wall/01.png", width: 100%), caption: [], supplement: none, numbering: none)
... | |
https://github.com/Area-53-Robotics/53A-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53A-Notebook-Over-Under-2023-2024/master/Vex%20Robotics%2053A%20Notebook%202023%20-%202024/Entries/Code%20Entry/Catapult-Code-Testing.typ | typst | #set page(header: [ ZZ
#h(1fr)
November 3, 2023
])
= CATAPULT CODE 3
\
Today we tested and adjusted the catapult, tested auton functions, and started tuning _kP_ and _kD_ values.
== PID Theory
Today, I realized that I never fully explaned what PID is and why I use it in so much of our code.
=== PID stands for:... | |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/cli/completions.typ | typst | Apache License 2.0 | #import "/github-pages/docs/book.typ": book-page
#show: book-page.with(title: "CLI Completions Command")
= The completions command
Not yet implemented.
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-14.typ | typst | Other | // Error: 11-12 duplicate parameter: x
#let f(x, x) = none
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ofbnote/0.2.0/template/main.typ | typst | Apache License 2.0 | #import "@preview/ofbnote:0.2.0": *
#show: ofbnote.with( meta:(
title: "The decline of birds",
authors: "EEA",
version: "1.0",
date: "2024-08-03",
))
#myblock("Synthesis", [
Birds are sensitive to environmental pressures and their populations can reflect changes in the health of the environment. Long-term... |
https://github.com/vimkat/typst-ohm | https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/templates/thesis.typ | typst | MIT License | #import "../../src/lib/vars.typ"
#import "../../src/lib/utils.typ"
#import "../../src/components/logo.typ": logo
#let script-size = 7.97224pt
#let footnote-size = 8.50012pt
#let small-size = 9.24994pt
#let normal-size = 10.00002pt
#let large-size = 11.74988pt
// This function gets your whole document as its `body` an... |
https://github.com/sofianedjerbi/Resume | https://raw.githubusercontent.com/sofianedjerbi/Resume/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Experience")
#cvEntry(
title: [R&D Microservices Engineer | Kotlin Android Expert],
society: [Ingenico],
date: [Oct 2023 - Present],
location: [Valence, France (Hybrid)],
description: list(
[Engineered Android libraries using *Kotlin Mu... |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/label-size/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
#diagram(
label-size: 0.8em,
label-sep: 2pt,
node((0, 0), [A]),
edge("rd", $h$, right),
edge($f$),
node((1, 0), [B]),
edge($g$, left),
node((1, 1), [C]),
)
#pagebreak()
#diagram(label-size: 0.8em, ... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/grid-3.typ | typst | Apache License 2.0 | // Test grid cells that overflow to the next region.
---
#set page(width: 5cm, height: 3cm)
#grid(
columns: 2,
row-gutter: 8pt,
[Lorem ipsum dolor sit amet.
Aenean commodo ligula eget dolor. Aenean massa. Penatibus et magnis.],
[Text that is rather short],
[Fireflies],
[Critical],
[Decorum],
[Rampag... |
https://github.com/gvallinder/KTHThesis_Typst | https://raw.githubusercontent.com/gvallinder/KTHThesis_Typst/main/abstract.typ | typst | MIT License | #heading(outlined: false, level: 1)[Abstract] <abstract>
This is a template that attempts to follow the graphical profile of theses at KTH Royal Institute of Technology. The existing KTH templates and style guides rely LateX, while this in attempt to create an equivalent template for Typst. Thank you to <NAME> for prov... |
https://github.com/daxartio/cv | https://raw.githubusercontent.com/daxartio/cv/main/README.md | markdown | MIT License | # CV/Resume
Programmatic generation of high-quality CVs. From YAML to PDF.
## Usage
```shell
typst c en.typ
```
Built by [Typst](https://typst.app/)
## Example

|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/numbering_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set text(lang: "jp", font: ("Linux Libertine", "Noto Serif CJK JP"))
#for i in range(0, 4) {
numbering("イ", i)
[ (or ]
numbering("い", i)
[) for #i \ ]
}
... \
#for i in range(47, 51) {
numbering("イ", i)
[ (or ]
numbering("い", i)
[)... |
https://github.com/ufodauge/master_thesis | https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/cover-section/paper-code.typ | typst | MIT License | #import "@preview/oxifmt:0.2.0" : strfmt
#let PaperCode(code) = text(
size: 14pt,
strfmt("ICS-{}M-{}", ..code),
)
|
https://github.com/joshuabeny1999/unisg-thesis-template-typst | https://raw.githubusercontent.com/joshuabeny1999/unisg-thesis-template-typst/main/content/directory_writing_aids.typ | typst | Other | #import "/utils/todo.typ": TODO
#import "/utils/pageref.typ": pageref
#TODO[
Update this paragraph to reflect the tools you used in your thesis. Please see Guide in #link("https://universitaetstgallen.sharepoint.com/sites/PruefungenDE/SitePages/ChatGPT.aspx")[StudentWeb] for more information. (HSG Account required)
... |
https://github.com/MrHedmad/kerblam-paper | https://raw.githubusercontent.com/MrHedmad/kerblam-paper/main/src/template.typ | typst | #import "@preview/acrostiche:0.3.1": * // acronyms
#import "resources/acronyms.typ": my_acronyms
//#import "@preview/wordometer:0.1.2": word-count, total-words
// Functions
#let icon(path) = {
box(move(image(path, height: 0.5em), dy:-0.3em))
}
#let todo(stuff) = {
set text(fill: red, weight: "bold")
stuff
}
#l... | |
https://github.com/VZkxr/Typst | https://raw.githubusercontent.com/VZkxr/Typst/master/Seminario/Proyecto%20Final/portada.typ | typst | #set page(paper: "us-letter", margin: (x: 37pt) ,background:[
#set align(left)
#rect(width:26%, height: 100%, fill: rgb("003D64"))])
#set align(center)
#grid(columns: (3cm, 1fr))[
#image("UNAM-color.png", width: 100%)
#v(1fr)
#grid(columns: (0.1cm, 0.1cm, 0.1cm), column-gutter: 0.025cm)[
... | |
https://github.com/Joelius300/hslu-typst-template | https://raw.githubusercontent.com/Joelius300/hslu-typst-template/main/chapters/04_methodology.typ | typst | MIT License | = Methoden
Hier halten Sie fest und begründen, welches Vorgehensmodell Sie für Ihr Projekt wählen. Sie verweisen allenfalls auf die daraus entstandenen, konkreten Terminpläne mit Meilensteinen, welche z.B. unter Realisierung (Kapitel 5) oder im Anhang versorgt sind.
Bei Projekten mit einer verlangten wissenschaftlich... |
https://github.com/spherinder/ethz-infk-thesis | https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/template.typ | typst |
#let template(..metadata, body) = ((
title: none,
author: none,
abstract: none,
incl-declaration-of-originality: true,
incl-list-of-figures: true,
incl-list-of-tables: true,
incl-listings: true,
text-font: "New Computer Modern",
..rest
) => {
let HEADING_1_TOP_MARGIN = 40pt
let PAGE_MARGIN_TOP = ... | |
https://github.com/sky-y/pandoc-online-20240818 | https://raw.githubusercontent.com/sky-y/pandoc-online-20240818/master/typst/example-template.typ | typst | // Original (modified): https://github.com/satshi/typst-jp-template/blob/main/example.typ
#import "template.typ": *
#show: doc => jarticle(
fontsize: 11pt,
title: [夏に食べたいアイスについて],
authors: ([<NAME>],),
date: [2024年8月18日],
doc,
)
= 序論:夏とアイスの関係
夏は、気温の上昇により冷たい食べ物が特に求められる季節である。中でもアイスは、その冷たさと甘さによって、身体を涼しく保ちながら、爽... | |
https://github.com/DaavidT/CV-2023 | https://raw.githubusercontent.com/DaavidT/CV-2023/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Experiencia Profesional")
#cvEntry(
title: [Becario en desarrollo de software web y móvil],
society: [Central Invirzo],
logo: "../src/logos/invirtual.png",
date: [2023 - Actualidad],
location: [CDMX, MX],
description: list(
[Liderar u... |
https://github.com/mrtz-j/typst-thesis-template | https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/modules/frontpage.typ | typst | MIT License | #let frontpage(
title: [],
subtitle: "",
author: "",
degree: "",
faculty: "",
department: "",
major: "",
submission-date: none,
) = {
set document(title: title, author: author)
set page(
paper: "a4",
margin: (left: 3mm, right: 3mm, top: 12mm, bottom: 27mm),
header: none,
footer: none... |
https://github.com/Aadamandersson/typst-analyzer | https://raw.githubusercontent.com/Aadamandersson/typst-analyzer/main/README.md | markdown | Apache License 2.0 | # typst-analyzer
typst-analyzer is a very much WIP frontend for the [Typst markup-based typesetting system](https://typst.app/).
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LIC... |
https://github.com/joalopez1206/CV | https://raw.githubusercontent.com/joalopez1206/CV/main/templates/resume.template.typ | typst | /*
This copy of the resume formatting template is provided in the template download in case
you'd like to make your preferred edits to the template directly.
If you'd like to use this copy instead of the package, you'll need to update the #import
statement in your resume.typ file to reference this file directly.
Have... | |
https://github.com/kachick/dprint-plugin-typstyle | https://raw.githubusercontent.com/kachick/dprint-plugin-typstyle/main/examples/expected.typ | typst | Apache License 2.0 | #set text(
font: "New Computer Modern",
size: 10pt,
)
#set page(
paper: "a6",
margin: (x: 1.8cm, y: 1.5cm),
)
#set par(
justify: true,
leading: 0.52em,
)
= Introduction
In this report, we will explore the
various factors that influence fluid
dynamics in glaciers and how they
contribute to the formation and... |
https://github.com/choglost/LessElegantNote | https://raw.githubusercontent.com/choglost/LessElegantNote/main/utils/custom-numbering.typ | typst | MIT License | // 一个简单的自定义 Numbering
#let custom-numbering(style:"literature",..args) = {
let literature-numbering=("第一章 ","第一节 ","一、"," (一)")
let maths-numbering=("第一章 ","1.1 ","1.1.1 ","(1)")
let heading-numbering=""
let level = args.pos().len()
// // let heading-numbering = ""
// // heading-numbering = args.pos().... |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/dynamic/one-by-one.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 50pt)
#polylux-slide[
#one-by-one[Do you know ][$pi$ ][to a thousand decimal places?]
]
| |
https://github.com/OrangeX4/typst-pinit | https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/examples/pinit-for-raw.typ | typst | MIT License | #import "../lib.typ": *
#set text(size: 24pt)
#show raw: it => {
show regex("pin\d"): it => pin(eval(it.text.slice(3)))
it
}
`print(pin1"hello, world"pin2)`
#pinit-highlight(1, 2) |
https://github.com/Harkunwar/attractive-typst-resume | https://raw.githubusercontent.com/Harkunwar/attractive-typst-resume/main/resume.typ | typst | MIT License | #import "template.typ": *
#set page(
margin: (
left: 10mm,
right: 10mm,
top: 15mm,
bottom: 15mm
),
)
#set text(font: "Mulish")
#show: project.with(
theme: rgb("#0F83C0"),
name: "<NAME>",
title: "Software Engineer",
contact: (
contact(
text: "604-123-4567"
),
contact(
... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/flow/place.typ | typst | // Test the `place` function.
--- place-basic ---
#set page("a8")
#place(bottom + center)[E]
= A
#place(right, rect(width: 1.8cm))
#lines(5)
#stack(
rect(fill: eastern, height: 10pt, width: 100%),
place(right, dy: 1.5pt)[ABC],
rect(fill: conifer, height: 10pt, width: 80%),
rect(fill: forest, height: 10pt, wi... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/expr/in_block.typ | typst | Apache License 2.0 | #{
false and true;
if 1 + 2 == 3 {
}
}
#{
while false == 3 {}
}
#{
set text(red) if false
and true
} |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/020%20-%20Prologue%20to%20Battle%20for%20Zendikar/007_For%20Zendikar.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"For Zendikar",
set_name: "Prologue to Battle for Zendikar",
story_date: datetime(day: 12, month: 08, year: 2015),
author: "<NAME>",
doc
)
#emph[It has been many years since the world of Zendikar first reached out to Nissa Revane, sending he... | |
https://github.com/Maso03/Bachelor | https://raw.githubusercontent.com/Maso03/Bachelor/main/Bachelorarbeit/chapters/Bedeutung3D.typ | typst | MIT License | == Bedeutung für die Entwicklung von 3D-Avataren
Die Entwicklung von 3D-Avataren hat in den letzten Jahren durch den Einsatz fortschrittlicher Modelle und Technologien wie ConvAI und GenAI erheblich an Bedeutung gewonnen. Diese Technologien haben das Potenzial, die Interaktion zwischen Nutzern und digitalen Systemen g... |
https://github.com/Carraro-Riccardo/Thesis | https://raw.githubusercontent.com/Carraro-Riccardo/Thesis/main/template/template.typ | typst | #import "./coverPage.typ": coverPage
#let template(
body
) = {
show heading.where(
level: 1
): it => {
set text(size: 1.5em)
it
v(1em, weak: true)
}
show heading.where(
level: 2
): it => {
set text(size: 1.2em)
v(0.5em, weak: false)
it
v(1em, weak: true)
}
show hea... | |
https://github.com/jonathan-iksjssen/jx-style | https://raw.githubusercontent.com/jonathan-iksjssen/jx-style/main/0.2.0/catppuccin.typ | typst | // https://catppuccin.com/palette
// CONVERTED TO TYPST COLOUR LIBRARY by joniksj
#let ctp-latt = (
rosewater: rgb("#dc8a78"),
flamingo: rgb("#dd7878"),
pink: rgb("#ea76cb"),
mauve: rgb("#8839ef"),
red: rgb("#d20f39"),
maroon: rgb("#e64553"),
peach: rgb("#fe640b"),
yellow: rgb("#df8e1d"),
green: rgb(... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/bibliography_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test unconventional order.
#set page(width: 200pt)
#bibliography(
"/assets/files/works.bib",
title: [Works to be cited],
style: "chicago-author-date",
)
#line(length: 100%)
As described by #cite(<netwok>, form: "prose"),
the net-work is a... |
https://github.com/mcarifio/explore.typst | https://raw.githubusercontent.com/mcarifio/explore.typst/main/src/typst-notes.typ | typst | = mcarifio learns typst
#let author="<NAME> <<EMAIL>>"
== TODOs
+ how to include other files?
| |
https://github.com/ludwig-austermann/typst-din-5008-letter | https://raw.githubusercontent.com/ludwig-austermann/typst-din-5008-letter/main/lib/envelope.typ | typst | MIT License | #import "helpers.typ"
#let envelope-styling(
theme-color: navy,
text-params: (size: 12pt, font: "Source Sans Pro"),
margin: 15mm,
background: none,
foreground: none,
) = {(
theme-color: theme-color,
text-params: text-params,
margin: margin,
background: background,
foreground: foregro... |
https://github.com/alireza-hariri/my-cv | https://raw.githubusercontent.com/alireza-hariri/my-cv/main/README.md | markdown | # my-cv
let's play with [typst](https://github.com/typst/typst) as an alternative to latex.
we will be using [modern-cv](https://github.com/DeveloperPaul123/modern-cv/tree/main) template for a resume
# Install tools
#### 1. install typst (on windows):
```
winget install --id Typst.Typst
```
#### 2. download fontaws... | |
https://github.com/anntnzrb/ccpg1036 | https://raw.githubusercontent.com/anntnzrb/ccpg1036/main/asgmts/prac01/docs/template.typ | typst | #let project(
title: "", authors: (), date: none, logo: "assets/espol_logo.png", body,
) = {
// basic properties
set document(author: authors.map(a => a.name), title: title)
set page(paper: "us-letter", numbering: "1 ", number-align: end)
set text(font: "New Computer Modern", lang: "es")
// paragraphs
... | |
https://github.com/ckunte/m-one | https://raw.githubusercontent.com/ckunte/m-one/master/inc/_pub.typ | typst | #figure(
image("/img/apple-touch-icon-orig.png", width: 9%),
)
m-one
First (draft) edition #datetime.today().display("[year]")
m-one is a monograph authored between c. 2010--24. Its source and compilation may be downloaded from the repository at #link("https://github.com/ckunte/m-one")[gith... | |
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs | https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/categories/task5/5.1.typ | typst | Apache License 2.0 | #pagebreak()
= Implementation - Sprint 2
== Thiết kế ERD cho hệ thống
#figure(caption: "ERD của hệ thống", image("../../images/ERD.png"))
*Mô tả ERD*: SSPS bao gồm 5 kiểu thực thể chính *_student, printer_manager, printer, bill, printing request_*. Kiểu thực thể *Student* có các thuộc tính mã sinh viên, tên sinh viên,... |
https://github.com/davidcarayon/cv-typst | https://raw.githubusercontent.com/davidcarayon/cv-typst/main/cv-fr.typ | typst | #import "@preview/modern-cv:0.3.1": *
#show: resume.with(
author: (
firstname: "David",
lastname: "CARAYON",
email: "<EMAIL>",
phone: "(+33) 6 64 66 90 60",
website: "https://dcarayon.fr",
github: "davidcarayon",
linkedin: "15/10/1994",
address: "8 Lotissement L'entrada 33650 CABANAC... | |
https://github.com/ngoetti/knowledge-key | https://raw.githubusercontent.com/ngoetti/knowledge-key/master/README.md | markdown | MIT License | # Knowledge-Key
This is a typst template for a compact cheat-sheet.
## Usage
You can use this template in the Typst web app by clicking "Start from template" on the dashboard and searching for `knowledge-key`.
Alternatively, you can use the CLI to kick this project off using the command
```
typst init @preview/knowled... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/017_Dragons%20of%20Tarkir.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Dragons of Tarkir", doc)
#include "./017 - Dragons of Tarkir/001_A Tarkir of Dragons.typ"
#include "./017 - Dragons of Tarkir/002_The Great Teacher's Student.typ"
#include "./017 - Dragons of Tarkir/003_Sorin's Restoration.typ"
#include "./017 - Dragons of Tarkir... | |
https://github.com/wenzlawski/typst-cv | https://raw.githubusercontent.com/wenzlawski/typst-cv/main/modules/extracurricular.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Positions of Responsibility")
#cvEntry(
title: [Student Lecturer],
society: [Manchester Data Science Society],
date: [09/2022 - 07/2023],
location: [Manchester, UK],
description: list(
[Taught a class of 25 university students basic qua... |
https://github.com/rytst/strang | https://raw.githubusercontent.com/rytst/strang/main/charged-ieee/main.typ | typst | #import "@preview/charged-ieee:0.1.2": ieee
#show: ieee.with(
title: [3年後期ゼミ資料],
authors: (
(
name: "<NAME>",
email: "<EMAIL>"
),
),
bibliography: bibliography("refs.bib"),
)
= Introduction
$bold("Definition") 1.1$
n次正方行列 $A in RR^(n times n)$ に対して、
\
\
$
A A^(-1) = A^(-1) A = E_n
$
\
を満... | |
https://github.com/csimide/SEU-Typst-Template | https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/pages/title-page-degree-en-fn.typ | typst | MIT License | #import "../utils/fonts.typ": 字体, 字号
#let title-en-conf(
author: (CN: "王东南", EN: "<NAME>", ID: "012345"),
thesis-name: (
CN: "硕士学位论文",
EN: [
A Thesis submitted to \
Southeast University \
For the Academic Degree of Master of Touching Fish
],
heading: "东南大学硕士学位论文",
),
title: (
... |
https://github.com/pedrofp4444/BD | https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[5] Implementação Física/implementaçãoPFG.typ | typst | #let implementaçãoPFG = {
[
== Implementação de procedimentos, funções e gatilhos
Como forma de automatizar e simplificar processos dentro do contexto do sistema de gestão da base de dados, foram definidos alguns gatilhos, funções e procedimentos. De seguida, evidenciam-se os mesmos, assim como a explicação ... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/document.typ | typst | // Test document and page-level styles.
--- document-set-title ---
#set document(title: [Hello])
What's up?
--- document-set-author-date ---
#set document(author: ("A", "B"), date: datetime.today())
--- document-date-bad ---
// Error: 21-28 expected datetime, none, or auto, found string
#set document(date: "today")
... | |
https://github.com/Karolinskis/KTU-typst | https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/mainPages/TableOfContents.typ | typst | #show outline: it => {
show heading: set align(center)
it
}
#page(
header: none,
number-align: right,
numbering: "1")[
#outline(title: "Turinys")
] | |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/upsa-bo/estudio-de-factibilidad/template/capítulos/1.introducción.typ | typst | MIT License | = Introducción
== Prefacio
== Antecedentes
== Planteamiento del Problema
== Objetivos
=== General
=== Específicos
== Límites
=== Límites Geográficos o Espaciales
=== Límites Temporal
=== Sustantivo
== Justificación
=== Justificación Social
=== Justificación Empresarial
=== Justificación Académica
== Diseño ... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2010/MS-09.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [MA Long], [CHN], [3264],
[2], [ZHANG Jike], [CHN], [3142],
[3], [WANG Hao], [CHN], [3134],
[4], [MA Lin], [CHN], [3... | |
https://github.com/poopsicles/algorithms-complexities | https://raw.githubusercontent.com/poopsicles/algorithms-complexities/main/insertion.typ | typst | #set text(font: "New Computer Modern", size: 14pt)
#set page(paper: "a4")
#align(right, box([
#set text(size: 25pt)
*Sorting Algorithms - Insertion Sort*
#set text(size: 18pt)
CSC 413 - _Algorithms & Complexity Analysis_
#line(length: 100%)
_<NAME>_ - 19CD026583
_<NAME>_ - 20CD028223
_<NAME>_ -... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/numblex/0.1.0/lib.typ | typst | Apache License 2.0 | /// Numblex
// Main function
#import "lib/numblex.typ": numblex
// Misc
#import "lib/circle_numbers.typ": circle_numbers
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/columns-03.typ | typst | Other | // Test the expansion behavior.
#set page(height: 2.5cm, width: 7.05cm)
#rect(inset: 6pt, columns(2, [
ABC \
BCD
#colbreak()
DEF
]))
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/place-base.typ | typst | Apache License 2.0 | // Test that placement is relative to container and not itself.
---
#set page(height: 80pt, margin: 0pt)
#place(right, dx: -70%, dy: 20%, [First])
#place(left, dx: 20%, dy: 60%, [Second])
#place(center + horizon, dx: 25%, dy: 25%, [Third])
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/034_Dominaria.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Dominaria", doc)
#include "./034 - Dominaria/001_Return to Dominaria: Episode 1.typ"
#include "./034 - Dominaria/002_Return to Dominaria: Episode 2.typ"
#include "./034 - Dominaria/003_Return to Dominaria: Episode 3.typ"
#include "./034 - Dominaria/004_Return to ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-03.typ | typst | Other | // Test different lvalue method.
#{
let array = (1, 2, 3)
array.first() = 7
array.at(1) *= 8
test(array, (7, 16, 3))
}
|
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas5/0_Nedela.typ | typst | #let M = (
"HV": (
("","","Čestným tvojím krestóm Christé, dijávola posramíl jesí, i voskresénijem tvojím žálo hrichóvnoje pritupíl jesí, i spásl jesí ny ot vrát smértnych: slávim ťá jedinoródne."),
("","","Čestným tvojím krestóm Christé, dijávola posramíl jesí, i voskresénijem tvojím žálo hrichóvnoje pritupí... | |
https://github.com/Ttajika/typst_slide | https://raw.githubusercontent.com/Ttajika/typst_slide/main/main.typ | typst | #import "library/slide_template.typ": *
#show "." : "。"
#show: project.with(
title:"Slide Title", //スライドのタイトル
authors: ("Author1", "<NAME>"), //著者名
institutions: ("Nihon University",), //所属
math-font:"Fira Math", //数式フォント
size:24pt,
header-outline:true, //headingにアウトラインの表示(level1のみ)
header-number:false, //節番号を見出しに表示
... | |
https://github.com/veilkev/jvvslead | https://raw.githubusercontent.com/veilkev/jvvslead/Typst/sys/packages.typ | typst | #import "@preview/badgery:0.1.1": *
#import "@preview/bob-draw:0.1.0": *
#import "@preview/cheq:0.1.0": checklist
#import "@preview/codedis:0.1.0": code
#import "@preview/fontawesome:0.4.0": *
#import "@preview/note-me:0.2.1": *
#import "@preview/diagraph:0.2.0": *
// Draw arrow to object
#import "@preview/pinit:0.2.0... | |
https://github.com/FrightenedFoxCN/cetz-cd | https://raw.githubusercontent.com/FrightenedFoxCN/cetz-cd/main/README.md | markdown | # CeTZ commutative diagrams
This is a project to complement to the [CeTZ package](https://github.com/johannes-wolf/cetz) of [Typst](https://typst.app/) in an attempt to align to tikz-cd format. Only for personal use currently, without any guarantee.
## Description of the DSL
In order to align to tikz-cd api without ... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/line-by-line.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 50pt)
#polylux-slide[
#line-by-line[
- first
- second
- third
]
]
| |
https://github.com/pku-typst/PKU-typst-template | https://raw.githubusercontent.com/pku-typst/PKU-typst-template/main/templates/通用/作业/lib.typ | typst | MIT License | #import "@preview/linguify:0.4.1": load_ftl_data, linguify
#import "themes/simple.typ" as simple
#import "themes/sketch.typ" as sketch
#let languages = (
"zh",
"en",
)
#let lgf_db = eval(load_ftl_data("./L10n", languages))
#let linguify = linguify.with(from: lgf_db)
/// Theme module:
/// title: (..args) -> cont... |
https://github.com/KhalilAMARDJIA/booker | https://raw.githubusercontent.com/KhalilAMARDJIA/booker/master/_extensions/booker/typst-template.typ | typst | // color palette settings
#let main_color = rgb(5, 142, 217)
#let secondary_color = main_color.rotate(180deg)
#let accent_color = secondary_color.rotate(10deg).saturate(90%)
#let cover_page_color = main_color.rotate(180deg).rotate(180deg).desaturate(50%)
// constrast ratio function for the cover page between the text ... | |
https://github.com/typst-jp/typst-jp.github.io | https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/tests/suite/model/footnote.typ | typst | Apache License 2.0 | // Test footnotes.
--- footnote-basic ---
#footnote[Hi]
--- footnote-space-collapsing ---
// Test space collapsing before footnote.
A#footnote[A] \
A #footnote[A]
--- footnote-nested ---
// Test nested footnotes.
First \
Second #footnote[A, #footnote[B, #footnote[C]]] \
Third #footnote[D, #footnote[E]] \
Fourth
---... |
https://github.com/Caellian/UNIRI_voxels_doc | https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/content/zakljucak.typ | typst | = Zaključak
#pagebreak()
| |
https://github.com/cwreed/cv | https://raw.githubusercontent.com/cwreed/cv/main/src/cv.typ | typst | #import "template.typ": *
#import "metadata.typ": *
#import "modules/awards.typ": *
#import "modules/education.typ": *
#import "modules/professional.typ": *
#import "modules/publications.typ": *
#import "modules/research.typ": *
#import "modules/skills.typ": *
#show: layout
#set page(footer: cvFooter(pageNumbers: true... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11F00.typ | typst | Apache License 2.0 | #let data = (
("KAWI SIGN CANDRABINDU", "Mn", 0),
("KAWI SIGN ANUSVARA", "Mn", 0),
("KAWI SIGN REPHA", "Lo", 0),
("KAWI SIGN VISARGA", "Mc", 0),
("KAWI LETTER A", "Lo", 0),
("KAWI LETTER AA", "Lo", 0),
("KAWI LETTER I", "Lo", 0),
("KAWI LETTER II", "Lo", 0),
("KAWI LETTER U", "Lo", 0),
("KAWI LETTER... |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20esterna/Analisi%20dei%20Requisiti/Analisi%20dei%20Requisiti.typ | typst | #import "/template.typ": *
#show: project.with(
title: "Analisi dei Requisiti",
subTitle: "Warehouse Management 3D (WMS3)",
authors: (
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
),
showLog: true,
isExternalUse: true,
);
#let requirements = json("Requisiti.json");
#let derivedRequirements(refe... | |
https://github.com/linxuanm/math-notes | https://raw.githubusercontent.com/linxuanm/math-notes/master/topology/main.typ | typst | #align(center, text(17pt)[Topology Lecture Notes])
#grid(
columns: (1fr, 0fr),
align(center)[
<NAME> \
Carnegie Mellon University \
School of Computer Science
]
)
#include "1-topology.typ"
| |
https://github.com/EpicEricEE/typst-plugins | https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/qr/assets/example.typ | typst | #import "../src/lib.typ" as qr
#set text(size: 14pt)
#set page(
width: auto,
height: auto,
margin: 1em,
background: pad(0.5pt, box(
width: 100%,
height: 100%,
radius: 4pt,
fill: white,
stroke: white.darken(10%),
)),
)
#table(
columns: 2,
inset: 0.5em,
align: horizon,
table.heade... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/050%20-%20Phyrexia%3A%20All%20Will%20Be%20One/004_Episode%202%3A%20Unstable%20Foundations.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2: Unstable Foundations",
set_name: "Phyrexia: All Will Be One",
story_date: datetime(day: 13, month: 01, year: 2023),
author: "<NAME>",
doc
)
Static, and screaming, and the sensation of falling forever.
Elspeth had awakened alone ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.