repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/felsenhower/kbs-typst | https://raw.githubusercontent.com/felsenhower/kbs-typst/master/examples/06.typ | typst | MIT License | #figure(
image("typst.svg", width: 50%),
caption: [
Typst ist toll.
]
)
|
https://github.com/dogeystamp/typst-templates | https://raw.githubusercontent.com/dogeystamp/typst-templates/master/general.typ | typst | The Unlicense | // general document
#import "main.typ": gen_preamble, doc_template, lref, source_code, status
#let template(
title: none,
authors: none,
suffix: none,
prefix: none,
enable-footer: true,
body
) = {
doc_template(
title: title,
authors: authors,
enable-footer: enable-footer,
{
gen_preamble(titl... |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/abstract.typ | typst | = Abstract
Most visual programming tools used to introduce children & young adults to the programming world are based on the imperative paradigm.
Existing tools based on functional programming either lack a good user experience or hide critical concepts of the functional paradigm.
To address this gap, a visual, block... | |
https://github.com/kilpkonn/CV | https://raw.githubusercontent.com/kilpkonn/CV/master/modules_en/projects.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.3": cvSection, cvEntry
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Projects & Associations")
#cvEntry(
title: [Open Source Contributor],
society: [`rust-analy... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/036%20-%20Guilds%20of%20Ravnica/001_Under%20the%20Cover%20of%20Fog.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Under the Cover of Fog",
set_name: "Guilds of Ravnica",
story_date: datetime(day: 10, month: 10, year: 2018),
author: "<NAME>",
doc
)
A silver-winged surveillance fly buzzes near my ear, and I resist the urge to shoo it away. Whoever had wo... | |
https://github.com/Toniolo-Marco/git-for-dummies | https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/book/git-advanced.typ | typst | #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge, shapes
#import fletcher.shapes: diamond
#import "components/gh-button.typ": gh_button
#import "components/git-graph.typ": branch_indicator, commit_node, connect_nodes, branch
#show ref: it => emph(text(blue)[#it])
= Git Advanced
== Git Clean
Il com... | |
https://github.com/danbalarin/vse-typst-template | https://raw.githubusercontent.com/danbalarin/vse-typst-template/main/lib/headings.typ | typst | #let heading-blocks = (
none,
(it) => {
pagebreak(weak: true)
block(below: 40pt)[
#set align(left + horizon)
#set text(20pt, weight: "black")
#smallcaps(it)
]
},
(it) => {
block(above: 24pt, below: 16pt)[
#set align(left + horizon)
#set text(14pt, weight: "bold")
... | |
https://github.com/barddust/Kuafu | https://raw.githubusercontent.com/barddust/Kuafu/main/src/Logic/build.typ | typst | #{
import "/config.typ": project
import "/mathenv.typ": *
show: mathenv-init
project(
"夸父:逻辑",
"0.1",
"Logic",
(
"intro.typ",
"sentential-logic.typ",
),
bio: false
)
}
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cuti/0.1.0/lib.typ | typst | Apache License 2.0 | #let fakebold(base-weight: none, s) = {
set text(stroke: 0.02857em)
set text(weight: base-weight) if base-weight != none
s
}
#let regex-fakebold(reg-exp: ".", base-weight: none, s) = {
show regex(reg-exp): it => {
fakebold(base-weight: base-weight, it)
}
s
}
#let show-fakebold(reg-exp: ".", base-weigh... |
https://github.com/jonathan-iksjssen/jx-style | https://raw.githubusercontent.com/jonathan-iksjssen/jx-style/main/README.md | markdown | # jx-style
**@joniksj**'s personal style package for his `typst` documents. Recommended for use if you are him, or if you want to make your documents look like his.
# Installation
Of course, to use this, you'll need [`typst`](https://github.com/typst/typst).
If you haven't heard, `typst` is a newfangled document typ... | |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/book_notes/content/04_persistence_01_hardware%26%26raid.typ | typst | #import "../template.typ": *
#pagebreak()
= hardware&&raid
== Hard Disk Drives
=== The Interface
The drive consists of a large number of sectors (*512-byte blocks*), each of which can be read or written. The sectors are numbered from 0 to n − 1 (address space)on a disk with n sectors.
Multi-sector operati... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/gates/permute/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 0pt)
#import "/src/quill.typ": *
#quantum-circuit(
2, permute(1,0), permute(1,0), 1, permute(2,0,1), 2, [\ ],
2, 4, permute(1,0), 1, [\ ],
2, gate($H$), 5,
)
#pagebreak()
// Test separation parameter
#quantum-circuit(
1,
permute(1,0, separation: none),
perm... |
https://github.com/atareao/fondos-productivos | https://raw.githubusercontent.com/atareao/fondos-productivos/master/README.md | markdown | MIT License | <h1 align="center">Welcome to Fondos de pantallas productivos 👋</h1>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#-contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<p>
<img src="ht... |
https://github.com/EGmux/TheoryOfComputation | https://raw.githubusercontent.com/EGmux/TheoryOfComputation/master/unit3/main.typ | typst | #include "./complexity.typ"
| |
https://github.com/jocap/typst-x-bar | https://raw.githubusercontent.com/jocap/typst-x-bar/master/lib.typ | typst | MIT License | // Exports //
#let make-label
#let make-category
#let with-arrows
#let with-node-spacing
#{
let node-spacing(sty) = {
let ns = measure(metadata("x-bar-node-spacing"), sty).width
if ns == 0pt {
0.7*measure(block(height: 1em), sty).height
} else {
ns
}
}
// The `dx' value attache... |
https://github.com/nixon-voxell/apu_rmct | https://raw.githubusercontent.com/nixon-voxell/apu_rmct/main/literature.typ | typst | // Global settings
#set page(paper: "a4")
#set par(
justify: true,
)
#set text(
font: ("Times New Roman"),
lang: "en",
size: 12pt,
fallback: false,
hyphenate: false
)
#set heading(numbering: "1.")
#show heading: it => block[
#text(size: 12pt)[#it]
]
#show heading.where(level: 4) : it => block[
#text(s... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Allemand_Bertolt_Brecht_Podcast.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: "Allemand Bertolt Brecht Podcast",
authors: (
"<NAME>",
),
date: "3 Décembre, 2023",
)
#set heading(numbering: "1.1.")
=== Geburstag
<... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/040%20-%20Zendikar%20Rising/009_Episode%205%3A%20The%20Two%20Guardians.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 5: The Two Guardians",
set_name: "<NAME>",
story_date: datetime(day: 30, month: 09, year: 2020),
author: "<NAME>",
doc
)
As Nissa braced to fight the people she once considered allies, she wondered if she had made a grave mistake ev... | |
https://github.com/Gekkio/gb-ctr | https://raw.githubusercontent.com/Gekkio/gb-ctr/main/gbctr.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "common.typ": awesome-brands, monotext
#let title = [Game Boy: Complete Technical Reference]
#let date = datetime.today()
#let config = json("config.json")
#set document(title: title, author: ("gekkio"), date: date)
#set par(justify: true)
#set text(font: "Noto Sans")
#show figure.where(kind: "register"): set... |
https://github.com/Duarte0903/resume | https://raw.githubusercontent.com/Duarte0903/resume/main/template/coverletter.typ | typst | Other | #import "@preview/modern-cv:0.4.0": *
#show: coverletter.with(
author: (
firstname: "John",
lastname: "Smith",
email: "<EMAIL>",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
linkedin: "<NAME>",
address: "111 Example St. Apt. 111, Example City, EX 11111",
positions: (
... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2011/MS-12.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [马龙], [CHN], [3430],
[2], [张继科], [CHN], [3293],
[3], [蒂姆 波尔], [GER], [3161],
[4], [王皓], [CHN], [3159],
[5], [许昕], [CHN], [3123],
... | |
https://github.com/EgorGorshen/scripts-for-typst | https://raw.githubusercontent.com/EgorGorshen/scripts-for-typst/main/gause-algo.typ | typst | MIT License | #import "@preview/pyrunner:0.1.0" as py
#let compiled = py.compile(
```python
def gaussian_elimination(matrix):
from fractions import Fraction
rows = len(matrix)
cols = len(matrix[0])
matrix = [[Fraction(element) for element in row] for row in matrix]
for i in range(min(... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/lovelace/0.1.0/README.md | markdown | Apache License 2.0 | # Lovelace
This is a package for writing pseudocode in [Typst](https://typst.app/).
It is named after the computer science pioneer
[Ada Lovelace](https://en.wikipedia.org/wiki/Ada_Lovelace) and inspired by the
[pseudo package](https://ctan.org/pkg/pseudo) for LaTeX.

#schema.render(example, config: config.config(
full-page: true
)) |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fauve-cdb/0.1.0/src/lib.typ | typst | Apache License 2.0 | #import "cover-bg.typ": cover-bg
#import "abstracts-bg.typ": abstracts-bg
#import "utils.typ": balanced-cols
#let school-color-recto = blue
#let school-color-verso = rgb("0054a0")
#let cover(
title-en: "",
title-fr: "",
author: "",
affiliation: "",
defense-place: "",
defense-date: "",
jury-content: [],
... |
https://github.com/FkHiroki/ex-D2 | https://raw.githubusercontent.com/FkHiroki/ex-D2/main/libs/mscs/lib.typ | typst | MIT No Attribution | // Workaround for the lack of an `std` scope.
#let std-bibliography = bibliography
#let mscs(
title: [タイトル],
authors: [著者],
etitle: "",
eauthors: "",
abstract: none,
keywords: (),
bibliography: none,
body
) = {
// Set document metadata.
set document(title: title)
// Set the Fonts
let gothic =... |
https://github.com/SillyFreak/typst-packages-old | https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/scrutinize/gallery/small-example.typ | typst | MIT License | #import "@preview/scrutinize:0.2.0": grading, question, questions
// #import "../src/lib.typ" as scrutinize: grading, question, questions
#import question: q
#import questions: free-text-answer, single-choice, multiple-choice, with-solution
// make the PDF reproducible to ease version control
#set document(date: none)... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-ellipse_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Default ellipse.
#ellipse()
|
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/mergesort/recursion.typ | typst | #import "@preview/cetz:0.2.2"
#import "/config.typ": theme
#let row(
nums,
is_complete: false
) = table(
columns: nums.len(),
align: center + horizon,
fill: if is_complete {theme.success_trans},
..nums.map(n => str(n))
)
#let split(nums) = {
let n = nums.len()
let m = calc.div-euclid(n, 2)
if nums.l... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/embiggen/0.0.1/README.md | markdown | Apache License 2.0 | # embiggen
Get LaTeX-like delimeter sizing in Typst!
## Usage
```typst
#import "@preview/embiggen:0.0.1": *
= embiggen
Here's an equation of sorts:
$ {lr(1/2x^2|)^(x=n)_(x=0) + (2x+3)} $
And here are some bigger versions of it:
$ {big(1/2x^2|)^(x=n)_(x=0) + big((2x+3))} $
$ {Big(1/2x^2|)^(x=n)_(x=0) + Big((2x+3... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-binding_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test setting the binding explicitly.
#set page(margin: (inside: 30pt))
#rect(width: 100%)[Bound]
#pagebreak()
#rect(width: 100%)[Left]
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/call-01.typ | typst | Other | // Trailing comma.
#test(1 + 1, 2,)
// Call function assigned to variable.
#let alias = type
#test(alias(alias), "function")
// Callee expressions.
#{
// Wrapped in parens.
test((type)("hi"), "string")
// Call the return value of a function.
let adder(dx) = x => x + dx
test(adder(2)(5), 7)
}
|
https://github.com/iyno-org/Holistic-Clinical-Neurosurgery | https://raw.githubusercontent.com/iyno-org/Holistic-Clinical-Neurosurgery/main/1.%20Spinal%20Cord/General%20Malformations/main.typ | typst | #import "@preview/tufte-memo:0.1.2": *
#show: template.with(
title: [1. Spinal Cord: Gross and General Spinal Cord Malformations],
shorttitle: [],
authors: (
(
name: "<NAME>",
),
),
document-number: [Draft 1],
abstract: [In the first part, we explore the overall structure and organization of ... | |
https://github.com/taooceros/MATH-542-HW | https://raw.githubusercontent.com/taooceros/MATH-542-HW/main/HW2/HW2.typ | typst | #import "@local/homework-template:0.1.0": *
// 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: "Math 542 HW2",
authors: ("<NAME>",),
)
#let (
theorem,
lemma,
corollary,
remark,
proposition,
example,
proof
)... | |
https://github.com/Nikudanngo/typst-ja-resume-template | https://raw.githubusercontent.com/Nikudanngo/typst-ja-resume-template/main/README.md | markdown | MIT License | # Typst履歴書テンプレート

## これは何?
[Typst](https://typst.app/)で履歴書のテンプレートを作成しました。
履歴書は[こちら](/main.pdf)をご覧ください。
自由に改変、利用してもいいです。
何かの規約とかに則って作っているわけではないので、おかしな点があればご指摘ください!
## 参考にした書式
[rireki-style](https://github.com/shigio/rireki-style)
[doda履歴書テンプレート](https://doda.jp/gui... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2900.typ | typst | Apache License 2.0 | #let data = (
("RIGHTWARDS TWO-HEADED ARROW WITH VERTICAL STROKE", "Sm", 0),
("RIGHTWARDS TWO-HEADED ARROW WITH DOUBLE VERTICAL STROKE", "Sm", 0),
("LEFTWARDS DOUBLE ARROW WITH VERTICAL STROKE", "Sm", 0),
("RIGHTWARDS DOUBLE ARROW WITH VERTICAL STROKE", "Sm", 0),
("LEFT RIGHT DOUBLE ARROW WITH VERTICAL STROKE... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/texts.typ | typst | #let translation = (
"MINEA_OBS": "МИНІ́А Ѻ҆́БЩА",
"M_PAN": "Пра́здникѡмъ Гдⷭ҇а на́шегѡ Їи҃са Хрⷭ҇та̀",
"M_BOHORODICKA": "Пра́здникѡмъ Бг҃орѡ́дичнымъ",
"M_KRIZ": "Чтⷭ҇но́мꙋ и҆ животворѧ́щемꙋ крⷭ҇тꙋ̀",
"M_ANJELI": "Ст҃ы̑мъ а҆́гг҃лѡмъ и҆ про́чымъ безплѡ́тнымъ",
"M_PREDCHODCA": "Іѡа́нна прⷣте́чи, прⷪ҇ро... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pad-03.typ | typst | Other | // Test that padding adding up to 100% does not panic.
#pad(50%)[]
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1BC00.typ | typst | Apache License 2.0 | #let data = (
("DUPLOYAN LETTER H", "Lo", 0),
("DUPLOYAN LETTER X", "Lo", 0),
("DUPLOYAN LETTER P", "Lo", 0),
("DUPLOYAN LETTER T", "Lo", 0),
("DUPLOYAN LETTER F", "Lo", 0),
("DUPLOYAN LETTER K", "Lo", 0),
("DUPLOYAN LETTER L", "Lo", 0),
("DUPLOYAN LETTER B", "Lo", 0),
("DUPLOYAN LETTER D", "Lo", 0),
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/cite-locate_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 180pt)
#set heading(numbering: "1")
#outline(
title: [List of Figures],
target: figure.where(kind: image),
)
#pagebreak()
= Introduction <intro>
#figure(
rect[-- PIRATE --],
caption: [A pirate @arrgh in @intro],
)
#loca... |
https://github.com/daniel-eder/typst-template-jku | https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/definitions/programme_types.typ | typst | // SPDX-FileCopyrightText: 2023 <NAME>
//
// SPDX-License-Identifier: Apache-2.0
#let programme_types = (
diploma: "Diploma Programme",
doctorate: "Doctoral Programme",
master: "Master's Programme"
) | |
https://github.com/antran22/typst-cv-builder | https://raw.githubusercontent.com/antran22/typst-cv-builder/main/lib/resume/language.typ | typst | MIT License |
#let ResumeLanguageSection(languages) = {
stick_together(
threshold: 60pt,
[= Languages],
stack(
dir: ltr,
spacing: 24pt,
..languages.map(project => {
ResumeEntry(
title: project.name,
title-r: project.description,
subtitle: project.date,
... |
https://github.com/LEXUGE/poincare | https://raw.githubusercontent.com/LEXUGE/poincare/main/src/notes/math_methods/main.typ | typst | MIT License | #import "@preview/physica:0.9.2": *
#import "@preview/gentle-clues:0.4.0": *
#import "@lexuge/templates:0.1.0": *
#import shorthands: *
#import pf3: *
#show: simple.with(
title: "Mathematical Methods", authors: ((name: "<NAME>", email: "<EMAIL>"),),
)
#let unproven = text(red)[This is not proven yet.]
#let unfinish... |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw3.typ | typst | #import "../../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: note.with(
title: "作业3",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false
)
#set heading(outlined: false)
= 9.25
(上周没有注意到我们周四要交周一的作业,这里补上)
==... | |
https://github.com/JvandeLocht/assignment-template-typst-hfh | https://raw.githubusercontent.com/JvandeLocht/assignment-template-typst-hfh/main/utils/feedback.typ | typst | MIT License | #let feedback(
feedback: "",
response: "",
) = {
counter("feedback").step()
block(
breakable: false,
(
par(
justify: true,
text(weight: 700, counter("feedback").display() + ". Feedback: ") +
feedback +
... |
https://github.com/pku-typst/ichigo | https://raw.githubusercontent.com/pku-typst/ichigo/main/src/themes/simple/lib.typ | typst | MIT License | #let theme(meta) = {
return (
title: (
whole-page: () => {
return [
#v(40pt)
#align(center)[
#set text(font: (
"New Computer Modern",
"Source Han Serif SC",
))
#text(size: 28pt, weight: "bold")[
#meta.c... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tools/support/README.md | markdown | Apache License 2.0 | # Language support
This VS Code extension provides minimal language support for Typst. It contains
a syntax definition and a language configuration for comment toggling,
autoclosing etc.
The extension was created for development purposes only. It is not maintained
and its grammar is not 100% accurate. For a more activ... |
https://github.com/jujimeizuo/ZJSU-typst-template | https://raw.githubusercontent.com/jujimeizuo/ZJSU-typst-template/master/template/cover.typ | typst | Apache License 2.0 | // 封面
#import "font.typ": *
#import "../contents/info.typ": *
#set page(footer: none)
// 封面页码置0
#counter(page).update(0)
#align(center)[
#v(20pt)
#table(
columns: (auto, auto, auto),
align: horizon,
stroke: none,
[],
[#image("./images/zjgsu_name.png", width: 90%, height: 9%)],
)
#table(
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/figure-caption_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test figure.caption element for specific figure kinds
#show figure.caption.where(kind: table): underline
#figure(
[Not a table],
caption: [Not underlined],
)
#figure(
table[A table],
caption: [Underlined],
)
|
https://github.com/heloineto/utfpr-tcc-template | https://raw.githubusercontent.com/heloineto/utfpr-tcc-template/main/template/approval-page.typ | typst | #let months = (
"janeiro",
"fevereiro",
"março",
"abril",
"maio",
"junho",
"julho",
"agosto",
"setembro",
"outubro",
"novembro",
"dezembro",
)
#let approver-field(
name: "",
degree: "",
institution: "",
) = {
[
#set text(size: 10pt, weight: "regular")
#line(length: 100%, strok... | |
https://github.com/cspr-rad/kairos-spec | https://raw.githubusercontent.com/cspr-rad/kairos-spec/main/requirements/main.typ | typst | #let title = [
Kairos: Zero-knowledge Casper Transaction Scaling
]
#let time_format = "[weekday] [month repr:long] [day padding:none], [year]"
#set page(paper: "a4", numbering: "1", margin: (x: 3.2cm, y: 4.0cm))
#set heading(numbering: "1.")
#set text(
// font: "Linux Libertine",
size: 12pt,
)
#show link: underli... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-15.typ | typst | Other | // Error: 2:16-2:18 missing argument: index
#let numbers = ()
#numbers.insert()
|
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z053.typ | typst | Pane, zachráň ma pre svoje meno a svojou mocou obráň moje právo. \* Bože, vyslyš moju modlitbu a vypočuj slová mojich úst.
Lebo pyšní povstávajú proti mne a násilníci mi striehnu na život, \* nechcú mať Boha na očiach.
Ale mne Boh pomáha a môj život udržiava Pán. \* Na mojich protivníkov obráť nešťastie a rozpráš ich... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list-attach_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// ... even if forced to.
Hello
#list(tight: false)[A][B]
World
|
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework6.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Calculus Homework #6",
authors: ((
name: "<NAME> (#47)",
email: "<EMAIL>",
phone: "3230104585"
),),
date: "October 31, 2023",
)
= P98 习题2-1 12
#prob[求导数:$display(y = 1/x^2 + root(3,x^2) + 1/root(3,x) + root(3,2))$]
$ y'
= (x^(-2) + x^(2/3) ... | |
https://github.com/nhuongmh/nhuongmh.cv | https://raw.githubusercontent.com/nhuongmh/nhuongmh.cv/main/README.md | markdown | Do What The F*ck You Want To Public License | Using Typst template from <https://github.com/ice-kylin/typst-cv-miku>
## Usage
1. Read [typst](https://typst.app/docs/) documentation.
2. Install fonts needed by this template:
- [kpfonts](https://ctan.org/pkg/kpfonts)
- [Source Han Sans](https://github.com/adobe-fonts/source-han-sans)
- [Source Han Serif... |
https://github.com/coljac/swinburne-phd-typst | https://raw.githubusercontent.com/coljac/swinburne-phd-typst/main/template.typ | typst | /*
Swinburne PhD Thesis template
See github.com/coljac/swinburne-phd-typst for updates, documents and questions
*/
#let stt = state("stt", " ")
#let sttf = state("sttf", 0)
#let begun = state("begun", false)
#let pb() = {
stt.update(" ")
pagebreak(to: "odd")
}
#let thesis(
title: "My PhD Thesis",
subti... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/080.%20colleges.html.typ | typst | colleges.html
News from the Front
September 2007A few weeks ago I had a thought so heretical that it really surprised
me. It may not matter all that much where you go to college.For me, as for a lot of middle class kids, getting into a good
college was more or less the meaning of life when I was growing up.
What was I... | |
https://github.com/yichenchong/game_theory_cw1 | https://raw.githubusercontent.com/yichenchong/game_theory_cw1/main/report/main.typ | typst | #import "template.typ": *
#show: ams-article.with(
title: "Pure Strategy Equilibria in Generalisations of the Election Game",
authors: (
(
name: "<NAME>",
department: [Department of Computing],
organization: [Imperial College London],
location: [London, SW7 2AZ],
email: "<EMAIL>",
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fruitify/0.1.0/README.md | markdown | Apache License 2.0 | # Fruitify
Make your equations more fruity!
This package automatically replaces any single letters in equations with fruit emoji.
Refer to `example-documentation.typ` for more detail.
## Emoji support
At the time of writing this, typst does not yet have good emoji support for PDF.
This means that even though this ... |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/draw/index.typ | typst | #import "shapes.typ"
#import "utils.typ"
#import "brace.typ": brace
#import "@preview/cetz:0.2.2"
#let canvas = cetz.canvas
#let set-style = cetz.draw.set-style
| |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/abstract_classes.typ | typst | == Clases abstractas
Una clase abstracta es un tipo de clase que no está completa por sí misma; es decir, no puede ser instanciada directamente.
Estas clases son útiles como base para otras clases, permitiendo compartir métodos y propiedades comunes mientras se obliga a las clases derivadas a implementar ciertos métod... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/viewers/gradient.typ | typst | Apache License 2.0 | #show quote.where(block: true): it => {
align(center)[
#rect(
radius: 2mm,
inset: 5mm,
width: 100%,
fill: gradient.linear(luma(240), luma(210)),
)[
#place(top + left, dy: -7mm)[
#rect(
radius: 1mm,
width: 7mm,
height:... |
https://github.com/ufodauge/master_thesis | https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/main.typ | typst | MIT License | #import "@preview/algorithmic:0.1.0"
#import "@preview/ctheorems:1.1.0": *
#import "template/index.typ": template
#import algorithmic : algorithm
#show: template.with(
title : "卒業論文、修士論文のタイトル",
student-number: "22MM305",
author : "<NAME>",
mentor : "山田 敏規",
mentor-post : "准教授... |
https://github.com/peterpf/modern-typst-resume | https://raw.githubusercontent.com/peterpf/modern-typst-resume/main/template/main.typ | typst | The Unlicense | #import "@preview/modern-resume:0.1.0": modern-resume, experience-work, experience-edu, project, pill
#show: modern-resume.with(
author: "<NAME>",
job-title: "Data Scientist",
bio: lorem(5),
avatar: image("avatar.png"),
contact-options: (
email: link("mailto:<EMAIL>")[<EMAIL>],
mobile: "+43 1234 5678... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/041%20-%20Kaldheim/003_Episode%202%3A%20Awaken%20the%20Trolls.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2: Awaken the Trolls",
set_name: "Kaldheim",
story_date: datetime(day: 13, month: 01, year: 2021),
author: "<NAME> & <NAME>",
doc
)
In the bottom of the longship of Cosima, Kaya lay back and watched the night sky above drift by. It ... | |
https://github.com/catppuccin/typst | https://raw.githubusercontent.com/catppuccin/typst/main/src/flavors/catppuccin-frappe.typ | typst | MIT License | #let frappe = (
name: "Frappé",
emoji: "🪴",
order: 1,
dark: true,
light: false,
colors: (
rosewater: (
name: "Rosewater",
order: 0,
hex: "#f2d5cf",
rgb: rgb(242, 213, 207),
accent: true,
),
flamingo: (
name: "Flamingo",
order: 1,
hex: "#eebebe",
... |
https://github.com/mohe2015/not-tudabeamer-2023 | https://raw.githubusercontent.com/mohe2015/not-tudabeamer-2023/main/template/main.typ | typst | The Unlicense | #import "@preview/not-tudabeamer-2023:0.1.0": *
#show: not-tudabeamer-2023-theme.with(
config-info(
title: [Title],
short-title: [Title],
subtitle: [Subtitle],
author: "Author",
short-author: "Author",
date: datetime.today(),
department: [Department],
institute: [Institute],
logo:... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/components/timeline.typ | typst | #import "/config.typ": theme
#let timeline(body) = {
set list(marker: circle(radius: 4pt, fill: black, stroke: none))
show list: l => {
layout(((width,)) => {
let items = ()
for (i, child) in l.children.enumerate() {
let (height,) = measure(
block(
width: width,
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/README.md | markdown | Apache License 2.0 | # Typst Packages
The package repository for Typst, where package authors submit their packages.
The packages submitted here are available on [Typst Universe][universe].
## Package format
A package is a collection of Typst files and assets that can be imported as a
unit. A `typst.toml` manifest with metadata is require... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/image_07.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 2-22 unknown image format
// #image("./image.typ") |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/enums.typ | typst | == Enumeraciones
Vamos a desarrollar un sistema para una tienda en línea que necesita manejar distintos estados de pedidos:
- Pendiente
- Pagado
- Enviado
- Entregado
- Cancelado
=== Primer Enfoque: Strings
```
fun handleOrderState(state: String) = when (state) {
"Pending" -> println("Order is pending")
"Pa... | |
https://github.com/PhilChodrow/cv | https://raw.githubusercontent.com/PhilChodrow/cv/main/src/metadata.typ | typst | /* Personal information */
#let firstName = "<NAME>."
#let lastName = "Chodrow"
#let personalInfo = (
pronouns: "he/him",
email: "<EMAIL>",
homepage: "philchodrow.prof",
// github: "PhilChodrow",
location: "Middlebury, VT"
//extraInfo: "",
)
#let tagline = "Assistant Professor of Computer Scie... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/testing.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## Building a testing environment
== 构造测试环境
// XXX
// 增加内容,当前原文缺
// ### Using hb-shape for feature testing
=== 使用 hb-shape 进行特性测试
// Now is a good time to introd... |
https://github.com/dssgabriel/master-thesis | https://raw.githubusercontent.com/dssgabriel/master-thesis/main/src/main.typ | typst | Apache License 2.0 | // Entry file
#set page(paper: "a4")
#set par(leading: 0.55em, first-line-indent: 1.8em, justify: true)
#set list(indent: 0.8em)
#set enum(indent: 0.8em)
#set figure(numbering: "1-1")
#include "titlepage.typ"
#pagebreak()
#set page(numbering: "1 / 1")
#pagebreak()
#outline(indent: true, fill: repeat[` ·`], title: "T... |
https://github.com/Isaac-Fate/booxtyp | https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/outline.typ | typst | Apache License 2.0 | #import "colors.typ": color-schema
#let outline-rules(body) = {
set outline(title: [Contents], depth: 3, indent: auto)
show outline.entry.where(level: 1): it => {
// Add some space above
v(12pt, weak: true)
// Entry style
// If the entry refers to a numbered chapter
// then show "Chapter" at ... |
https://github.com/rlpundit/typst | https://raw.githubusercontent.com/rlpundit/typst/main/Typst/fr-Rapport/chaps/outro.typ | typst | MIT License | /* ------------------------------- NE PAS MODIFIER ------------------------------ */
#import "../common/metadata.typ": title
#set page(header: smallcaps(title) + h(1fr) + emph("Conclusion générale") + line(length: 100%))
#text(white)[= Conclusion générale]#v(-1cm)
/* ---------------------------------------------------... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/docs/param_in_init.typ | typst | Apache License 2.0 | // Docs for f.
#let f(a) = {
show it: it => /* ident after */ it;
}; |
https://github.com/pedrofp4444/BD | https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[3] Modelação Concetual/abordagem.typ | typst | #let abordagem = {
[
== Apresentação da Abordagem de Modelação Realizada
Com a conclusão da definição dos requisitos, é então possível passar à organização da informação neles contida. Para isso, a equipa “Quatro em linha” submeteu-se ao desenvolvimento de um modelo concetual capaz de estruturar e representa... | |
https://github.com/8LWXpg/jupyter2typst | https://raw.githubusercontent.com/8LWXpg/jupyter2typst/master/test/test3.typ | typst | MIT License | #import "template.typ": *
#show: template
#block[
#code-block("using Plots
gr()
default(fmt = :png)
using DataFrames"
, lang: "julia", count: 2)
]
#block[
]
#block[
== Using Plots.jl
Plots.jl outputs plots in different formats. It is written in #link("https://julialang.org")[Julia]:
#image("img/e4f510a108a52350c25b6... |
https://github.com/FrightenedFoxCN/typst-math-chinese | https://raw.githubusercontent.com/FrightenedFoxCN/typst-math-chinese/main/test/basic-en.typ | typst | #import "../template-en.typ": *
#show: doc => conf(doc)
#outline()
= Introduction
This is test for English documents.
The outline can be directly generated by `outline` as usual.
_This block is emphasized._
$ a^2 + b^2 = c^2 $
*This block is bold*
== The following paragraph will be numbered directly
#lorem(50... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap7/1_whats_a_series_parallel_circuit.typ | typst | Other | #import "../../core/core.typ"
=== What is a series-parallel circuit?
With simple series circuits, all components are connected end-to-end to
form only one path for electrons to flow through the circuit:
#image("static/00082.png")
With simple parallel circuits, all components are connected between the
same two sets ... |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/Anhang/06_Jira/03_dev_stories.typ | typst | === Open Dev-Stories
Hier sind die noch offenen Developer-Stories aufgeführt. Dies sind Stories die nicht direkt den Nutzer betreffen, aber für die Entwicklung der Anwendung notwendig sind.
#figure(
table(
columns: (auto, auto, auto, auto),
align: left,
[*Issue Key*], [*Summary*], [*Prio*], [*Epic*],
[D... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/utils.typ | typst | #let project(title: "", authors: (), body) = {
set page(paper:"a4", numbering: "1 / 1", number-align: center, )
set text(font: "Monomakh Unicode", lang: "cu")
// HEADINGS
show heading.where(level: 1): it => [
#align(center, text(0pt, rgb("dd1111"), upper(it)))
]
show heading.where(level: 2): it => ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-FE10.typ | typst | Apache License 2.0 | #let data = (
("PRESENTATION FORM FOR VERTICAL COMMA", "Po", 0),
("PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA", "Po", 0),
("PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC FULL STOP", "Po", 0),
("PRESENTATION FORM FOR VERTICAL COLON", "Po", 0),
("PRESENTATION FORM FOR VERTICAL SEMICOLON", "Po", 0),
("PRESE... |
https://github.com/SeniorMars/tree-sitter-typst | https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/layout/container.typ | typst | MIT License | // Test the `box` and `block` containers.
---
// Test box in paragraph.
A #box[B \ C] D.
// Test box with height.
Spaced \
#box(height: 0.5cm) \
Apart
---
// Test fr box.
Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World
---
// Test block over multiple pages.
#set page(height: 60pt)
First!
#block[
... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/07-localisation/arabic-urdu-sindhi.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/template/lang.typ": arabic, arabic-amiri
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## Arabic, Urdu and Sindhi
== 阿拉伯语、乌尔都语、信德语
// In the various languages which make use of the Arabic script, the... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/package/local-link.typ | typst | Apache License 2.0 |
#import "@preview/typst-ts-templates:0.1.0": *;
|
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical | https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch20.typ | typst | MIT License | #import "../functions.typ": heading_center, images, italic,linkb, dots
#import "../tablex.typ": tablex, cellx, rowspanx, colspanx, hlinex
#let finchapiter = text(fill:rgb("#1E045B"),"■")
// #linebreak()
// #linebreak()
// #counter("tabl").update(n=>n+20)
= DÉTECTION DES NODULES PULMONAIRES DU CANCER.
== Introduction... |
https://github.com/mav3ri3k/public_notes | https://raw.githubusercontent.com/mav3ri3k/public_notes/main/main.typ | typst | #import "@preview/dvdtyp:1.0.0": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#set document(title: [So you want to build rust procedural macro with with wasm], author: "<NAME>")
#show link: name => box(
fill: rgb("#f1ce33"),
radius: 4pt,
outset: (x: 2pt, y: 3pt),
)[#underline[#text(... | |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/src/types/string.typ | typst | Other | #import "../base-type.typ": base-type
#import "../assertions-util.typ": assert-base-type
#import "../ctx.typ": z-ctx
#import "../assertions-util.typ": *
#import "../assertions/string.typ": matches
/// Valkyrie schema generator for strings
///
/// -> schema
#let string(
assertions: (),
min: none,
max: none,
..a... |
https://github.com/tingerrr/finger-tree | https://raw.githubusercontent.com/tingerrr/finger-tree/main/thesis/README.md | markdown | # Project structure
The project is structured as follows:
- `src`: the language agnostic document source files like figures and bibliographies
- `src/de`: the german thesis document files
- `src/de/thesis.typ`: the entnry point of the german thesis document
- `assets`: other relevant assets for compilation and styling
... | |
https://github.com/vimkat/typst-ohm | https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/templates/presentation.typ | typst | MIT License | #import "_presentation.typ": ohm-theme, title-slide, section-slide, agenda-slide, slide, metadata-line
|
https://github.com/tingerrr/chiral-thesis-fhe | https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/core/authors.typ | typst | #import "/src/packages.typ" as _pkg
#import "/src/utils.typ" as _utils
#let _std = (
link: link,
)
#let _eat-title(value) = {
let rest = value.trim(at: start)
let (main, rest) = _utils.token.eat-any(rest, (
"Dr.", "Prof.", regex("Dipl-\\w+\\."), "M.", "B.",
))
if main == none {
return (err: _pkg.o... | |
https://github.com/cidremt/QFT_memo | https://raw.githubusercontent.com/cidremt/QFT_memo/main/main.typ | typst | #import ".config.typ":*
#import "@preview/ouset:0.1.1":*
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#show: doc => init(doc)
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.8.0/template/content/preface.typ | typst | Apache License 2.0 | /*** preface.typ
*
* Write the preface (alkusanat) of your work here.
*
**/
This #link("https://typst.app/docs/")[typst] document template is intended to
support writing theses in the technical fields in Tampere University. The
template is based on the earlier one from the Tampere University of Technology,
but it ... |
https://github.com/dead-summer/math-notes | https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/Analysis/ch1-measures/1-d-lebesgue-measure.typ | typst | #import "/book.typ": book-page
#import "../../../templates/conf.typ": *
#import "@preview/mitex:0.2.4": *
#show: thmrules.with(qed-symbol: $square$)
#show: book-page.with(title: "1-D Lebesgue Measure")
= 1-D Lebesgue Measure
Let $F: RR -> RR$ be increasing and right-continuous.
Consider intervals of the type "h-inte... | |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/cns-report-02/contents/02-Kali.typ | typst | = Tìm hiểu Kali Linux và các công cụ liên quan
== Kali Linux là gì?
Kali Linux là một phát triển debian Linux - một phân phối của phiên bản linux. Mục tiêu của Linux là tập hợp lại các công cụ kiểm tra bảo mật trong môi trường hệ điều hành giúp người dùng tiện lợi hơn trong việc tìm kiếm phần mềm kiểm thử, hạcking, tấ... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/themes/metropolis.typ | typst | // This theme is inspired by https://github.com/matze/mtheme
// The polylux-port was performed by https://github.com/Enivex
// Consider using:
// #set text(font: "Fira Sans", weight: "light", size: 20pt)
// #show math.equation: set text(font: "Fira Math")
// #set strong(delta: 100)
// #set par(justify: true)
#import ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.