repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/YKamataki/typst_templates | https://raw.githubusercontent.com/YKamataki/typst_templates/main/README.md | markdown | Creative Commons Zero v1.0 Universal | # typst templates
[Typst](https://typst.app/) templates for Japanese writing.
## What is this
There are templates for Japanese writing such as reports and memo.
So you can write documents in typst.
## How to install
At first clone this repo.
```sh
git clone https://ghithub.com/YKamataki/typst_templates
```
You ca... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A500.typ | typst | Apache License 2.0 | #let data = (
("VAI SYLLABLE EE", "Lo", 0),
("VAI SYLLABLE EEN", "Lo", 0),
("VAI SYLLABLE HEE", "Lo", 0),
("VAI SYLLABLE WEE", "Lo", 0),
("VAI SYLLABLE WEEN", "Lo", 0),
("VAI SYLLABLE PEE", "Lo", 0),
("VAI SYLLABLE BHEE", "Lo", 0),
("VAI SYLLABLE BEE", "Lo", 0),
("VAI SYLLABLE MBEE", "Lo", 0),
("VAI... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-09.typ | typst | Other | // Ref: true
// Should output `Some` in red, `Some` in blue and `Last` in green.
// Everything should be in smallcaps.
#for color in (red, blue, green, yellow) [
#set text(font: "Roboto")
#show: it => text(fill: color, it)
#smallcaps(if color != green [
Some
] else [
Last
#break
])
]
|
https://github.com/jakemorris32/BScProject | https://raw.githubusercontent.com/jakemorris32/BScProject/main/notebook.typ | typst | #import "@preview/colorful-boxes:1.3.1": *
// ----------------------------------------------
// Template
// ----------------------------------------------
#let title = [Scintillator detectors for ionising radiation]
#let subtitle = [Project Notebook]
#set page(
"a4",
)
#set text(font: "New Computer Modern")
// TITL... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/results/results_poc.typ | typst | #import "../../../acronyms.typ": *
= Proof of Concept
The project produced a proof of concept application that implements the design concept as described in @design-iteration-2.
Although the application doesn't offer visualizations for some of the most common aspects of functional programming, such as the constructio... | |
https://github.com/0xPARC/0xparc-intro-book | https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/easy.typ | typst | #import "src/preamble.typ":*
#set page(
width: 5.5in,
height: 8.5in,
margin: (inside: 0.6in, outside: 0.6in, top: 0.8in, bottom: 0.5in),
header-ascent: 40%,
)
#let chapter(filename) = {
include filename
}
#show: evan.with(
title: "Four Easy Pieces in Programmable Cryptography",
long-title: [Four Easy Pi... | |
https://github.com/Champitoad/typst-slides | https://raw.githubusercontent.com/Champitoad/typst-slides/main/eg.typ | typst | Creative Commons Zero v1.0 Universal | #import "utils.typ": *
#let juxt = h(1em)
#let get_colors(inv) = {
let fg = if inv { white } else { black }
let bg = if inv { black } else { white }
(fg: fg, bg: bg)
}
#let cut(eg, inv: false, inset: 5pt) = {
let (fg, bg) = get_colors(inv)
circle(fill: bg, stroke: none, inset: inset)[
#set text(fill: f... |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ARO/docs/3-Fetch/fetch.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Fetch
],
lesson: "ARO",
chapter: "3 - Fetch",
definition: "La documentation suivante traite du fonctionnement du registre de compteur de programme (PC) dans les architectures informatiques. Elle explique comment le PC stocke l... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/math-number-spacing.typ | typst | Apache License 2.0 | // Test spacing after numbers in math.
---
$
10degree \
10 degree \
10.1degree \
10.1 degree
$
|
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/README.md | markdown | Other | # ucpc-solutions
[ucpc-solutions](https://github.com/ShapeLayer/ucpc-solutions__typst) is the template for solutions editorial of algorithm contests, used widely in the ["Baekjoon Online Judge"](https://acmicpc.net) users community in Korea.
The original version of ucpc-solution is written in LaTeX([ucpcc/2020-soluti... |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/031.typ | typst | #let date = datetime(
year: 2022,
month: 8,
day: 28,
)
#metadata((
title: "费马小定理",
subtitle: [math,数论],
author: "dashuai009",
description: "费马小定理及其证明",
pubDate: date.display(),
))<frontmatter>
#import "../__template/style.typ": conf
#show: conf
== 费马小定理
<费马小定理>
设p为素数,a是任意整数,且$a equiv.not 0 (m o d med... | |
https://github.com/duskmoon314/THU_AMA | https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch3/1-基本概念与例子.typ | typst | Creative Commons Attribution 4.0 International | #import "/book.typ": *
#show: thmrules
#show: book-page.with(title: "基本概念与例子")
= 基本概念与例子
== 定义
#definition()[
非空集合$R$中有两种运算,记为$+$和$dot.op$,若满足:
+ $lr((R , +))$为交换群
+ $lr((R , dot.op))$为半群
+ 左右分配律成立:$a lr((b + c)) = a b + a c , lr((a + b)) c = a c + b c$
则称代数系统$lr((R ; + , dot.op))$为一个#strong[环(ring)]。... |
https://github.com/jeremiahdanielregalario/BS-Mathematics-UP-Diliman-Course-Notes | https://raw.githubusercontent.com/jeremiahdanielregalario/BS-Mathematics-UP-Diliman-Course-Notes/main/Math%20110.1%20(Abstract%20Algebra%20I)/Math%20110.1%20Unit%203.typ | typst | #set text(font: "Fira Sans Math")
#set page(paper: "a4")
#set text(size: 30pt)
#set align(horizon)
= Math 110.1
ABSTRACT ALGEBRA I: Unit III
#set text(size: 14pt, )
#emph[Course Notes by: <NAME>] \
#emph[II-BS Mathematics] \
#emph[University of the Philippines - Diliman] \
#emph[Dr. <NAME>]
#pagebreak()
#set page... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/content/personal.typ | typst | Apache License 2.0 | #import "../../lib.typ": *
#import "../../metadata.typ": *
#import "@preview/fontawesome:0.2.1": *
== #fa-icon("brain") #h(5pt) #getHeaderByLanguage("Personality", "Personalidad")
#v(5pt)
#if isEnglish() [
- Analytic thinking
- Quality conscious
- Good communicator
- Independent
- Team player
- Preempt... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-attach-03.typ | typst | Other | // Test non-attached tight list.
#set block(spacing: 15pt)
Hello
- A
World
- B
- C
More.
|
https://github.com/shunichironomura/ukaren-typst-template | https://raw.githubusercontent.com/shunichironomura/ukaren-typst-template/main/template.typ | typst | #let phantom-paragraph() = {
set text(size: 11pt)
let a = par(box())
a
context v(-0.8 * measure(2 * a).width)
}
#let project(
id: "",
title-ja: "",
title-en: "",
abstract: [],
authors: (),
affiliations: (),
keywords: (),
n-columns: 2,
body,
) = {
// General settings
set document(author: a... | |
https://github.com/typst-jp/typst-jp.github.io | https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/changelog/0.10.0.md | markdown | Apache License 2.0 | ---
title: 0.10.0
description: Changes in Typst 0.10.0
---
# Version 0.10.0 (December 4, 2023)
## Bibliography management
- Added support for citation collapsing (e.g. `[[1]-[3]]` instead of
`[[1], [2], [3]]`) if requested by a CSL style
- Fixed bug where an additional space would appear after a group of citations
... |
https://github.com/8LWXpg/jupyter2typst | https://raw.githubusercontent.com/8LWXpg/jupyter2typst/master/template/template.typ | typst | MIT License | #import "@preview/ansi-render:0.6.1": *
// only used in inline LaTeX with \xarrow
#import "@preview/xarrow:0.3.1": xarrow as _xarrow
// workaround before set is implemented
#let xarrow = _xarrow.with(margin: .5em)
#let radius = 3pt
#let inset = 8pt
#let code-block(body, lang: "python", count: 0) = context {
block(... |
https://github.com/chrischriscris/Tareas-CI5651-EM2024 | https://raw.githubusercontent.com/chrischriscris/Tareas-CI5651-EM2024/main/tarea07/src/main.typ | typst | #import "@preview/tablex:0.0.8": tablex, cellx, hlinex, vlinex
#import "template.typ": conf, question, pseudocode, GITFRONT_REPO
#import "ej3/prefix-suffix.typ": prefix-suffix
#show: doc => conf(
"Tarea 7: Cadenas de caracteres/Geometría computacional",
doc
)
#question[
Sea $n$ una cadena de caracteres que ti... | |
https://github.com/saYmd-moe/note-for-statistical-mechanics | https://raw.githubusercontent.com/saYmd-moe/note-for-statistical-mechanics/main/contents/PartI/Chp02.typ | typst | #import "../../template.typ": *
== 均匀系的平衡关系
=== _Maxwell_ 关系
通过热力学基本微分方程 $dif U = T dif S - p dif V$ 二阶微商可换序的性质,我们可以得到一系列_Maxwell_关系式:$
&dif U = ((diff U)/(diff S))_V dif S + ((diff U)/(diff V))_S dif V = T dif S - p dif V\
arrow.double& T = ((diff U)/(diff S))_V, quad p = - ((diff U)/(diff V))_S
$
考虑二阶微商:$
((diff T... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/document_color/advanced.typ | typst | Apache License 2.0 | #let t = luma(240);
#let t = luma(70%);
#let t = color.hsl(1deg, 1, 1); |
https://github.com/linhduongtuan/DTU-typst-presentation | https://raw.githubusercontent.com/linhduongtuan/DTU-typst-presentation/main/latex_symbol.typ | typst | #let latex-symbol = [
#set text(font: "New Computer Modern")
L#box[#move(dx: 0em, dy: -0.20em)[
#box[
#pad(left: -0.3em)[
#text(size: 0.7em)[A]
]
]
]]#box[
#pad(left: -0.15em)[T]
]#box[#move(dx: 0em, dy: 0.24em)[
#box[
#pad(left: -0.2em)[E]
]
]]#box[
#pad(left... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/hydra/0.3.0/README.md | markdown | Apache License 2.0 | # hydra
Hydra is a [typst] package allowing you to easily display the heading like elements anywhere in your
document. In short, it will show you the currently active element only when it is not visible.
Some of hydra's features rely on the size of the top-margin, if you use a different page size than
`a4` or a custom... |
https://github.com/TheRiceCold/resume | https://raw.githubusercontent.com/TheRiceCold/resume/main/modules/certificates.typ | typst | #import "../src/template.typ": *
#cvSection("Certificates")
#cvHonor(
date: [2022],
title: [#link("https://drive.google.com/file/d/1Ahga9TNBsfRH_j3DBIsywD5D3XRbzElf/view")[Complete React Native: Zero to Mastery (with Hooks)]],
issuer: [Udemy],
)
#cvHonor(
date: [2023],
title: [#link("https://www.udemy.com/certi... | |
https://github.com/MooersLab/manuscriptInTypst | https://raw.githubusercontent.com/MooersLab/manuscriptInTypst/main/README.md | markdown | MIT License | 
[](https://opensource.org/licenses/MIT)
# First submission manuscript template in typst
## Purpose
Prepare PDF for initial manuscript submission by usin... |
https://github.com/tingerrr/hydra | https://raw.githubusercontent.com/tingerrr/hydra/main/doc/util.typ | typst | MIT License | #let package = toml("/typst.toml").package
#let load-examples(example) = {
let path = "/doc/examples/" + example
// NOTE: this breaks for docs with more than 10 pages, but at this point the example is too large
// anyway
let example = (v, i) => image(path + "/out/" + v + str(i) + ".png")
let r = range(... |
https://github.com/horaoen/typstempl | https://raw.githubusercontent.com/horaoen/typstempl/master/note.typ | typst | #import "@preview/fontawesome:0.1.0": *
#let note(
title: none,
doc
) = {
show heading: it => {
it
h(1em)
v(-1em)
}
set page(
paper: "a4",
numbering: "1",
number-align: right,
header: "practice makes perfect."
)
set par(
justify: true,
first-line-indent: 2em,
)
se... | |
https://github.com/Alignof/typst_template | https://raw.githubusercontent.com/Alignof/typst_template/master/README.md | markdown | MIT License | # typst\_template
My typst template.
|
https://github.com/Hucy/cv_typst_template | https://raw.githubusercontent.com/Hucy/cv_typst_template/main/cv_zh.typ | typst | MIT License | #let primary_color = rgb("#7F96AD")
#show link: underline
#set text(
size: 12pt,
weight: "regular",
font: ("linux libertine", "Microsoft YaHei", "PingFang SC"),
)
#set list(indent: .6em, marker: ([•]))
#set page(
paper: "a4",
margin: (left: 1.4cm, right: 1.4cm, top: .8cm, bottom: .8cm),
)
#set par(justify: ... |
https://github.com/jcbhmr/typst-docs | https://raw.githubusercontent.com/jcbhmr/typst-docs/main/README.md | markdown | MIT License | <p align=center>
<b>You're probably looking for <a href="https://typst.community/typst-docs/">typst.community/typst-docs</a></b>
</p>
## Development


== 1.0 La commande `od`
Quelle option permet d'afficher les adresses en hexadécimal au lieu d'octal ? --address-radix=x
Quelle option permet d'afficher chaque octet d'un fichier en hexadécimal ?
format=x
Quelle option permet de sauter un certain nomb... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/template.typ | typst | // 字体
#import "tablex.typ": tablex, rowspanx,colspanx
#let data=yaml("use.yaml");
// set text(font:("Times New Roman","Source Han Serif"),size: 12pt)
#let font = (
main: "Source Han Serif",
mono: "Source Han Serif",
cjk: "Times New Roman",
english:"Times New Roman"
)
// 图标
#let icon(path) = box(
baseline... | |
https://github.com/orkhasnat/resume | https://raw.githubusercontent.com/orkhasnat/resume/master/modern-1P/resume.typ | typst | #import "resume-lib.typ": *
// #import "fa-lib.typ": *
#show: resume.with(
author: (
firstname: "Tasnimul",
lastname: "Hasnat",
email: "<EMAIL>",
phone: "+880-1731969827",
github: "orkhasnat",
linkedin: "tasnimul-hasnat-37515025a",
positions: (
"Software Developer",... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/math-number-spacing_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
$
10degree \
10 degree \
10.1degree \
10.1 degree
$
|
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/机器学习数学导引/作业/hw3.typ | typst | #import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark
#import "../../template.typ": *
#import "../main.typ": *
#show: note.with(
title: "作业3",
author: "YHTQ",
date: datetime.today().display(),
logo: none,
withOutlined : false,
withTitle : false,
)
#let index = $bo... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-01.typ | typst | Other | // Test full reset.
#show heading: [B]
#show heading: set text(size: 10pt, weight: 400)
A #[= Heading] C
|
https://github.com/topdeoo/Course-Slides | https://raw.githubusercontent.com/topdeoo/Course-Slides/master/Survey/NAE-SAT/main.typ | typst | #import "@preview/elsearticle:0.2.1": *
#show: elsearticle.with(
title: [`NAE-SAT` Survey],
authors: (
(
name: "<NAME>",
affiliation: "NENU",
corr: "<EMAIL>",
id: none,
),
),
journal: "Notebook '24",
keywords: ("NAE-SAT", "MAX NAE-SAT"),
format: "review",
)
#set quote(block... | |
https://github.com/raygo0312/Typst_template | https://raw.githubusercontent.com/raygo0312/Typst_template/main/template.typ | typst | #import "template-document.typ": *
#import "template-slide.typ": *
#import "prooftree.typ": * | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/GR_old/texts.typ | typst | #import "/utilsMenlive.typ": *
#let h_st = (
"Ἐξάγαγε ἐκ φυλακῆς τὴν ψυχήν μου, τοῦ ἐξομολογήσασθαι τῷ ὀνόματί σου.",
"Ἐμὲ ὑπομενοῦσι δίκαιοι, ἕως οὐ ἀνταποδῷς μοι.",
"Ἐκ βαθέων ἐκέκραξά σοι, Κύριε, Κύριε εἰσάκουσον τῆς φωνῆς μου.",
"Γενηθήτω τὰ ὦτά σου προσέχοντα εἰς τὴν φωνὴν τῆς δεήσεώς μου.",
"Ἐὰν... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/012%20-%20Conspiracy/001_Betrayal.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Betrayal",
set_name: "Conspiracy",
story_date: datetime(day: 14, month: 05, year: 2014),
author: "<NAME>",
doc
)
#emph[Far from Theros, on the plane of Fiora, the High City of Paliano is home to countless intrigues and plots. The high lords... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/012_The%20Gathering%20Storm%3A%20Chapter%2018.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Gathering Storm: Chapter 18",
set_name: "Ravnica Allegiance",
story_date: datetime(day: 09, month: 10, year: 2019),
author: "<NAME>",
doc
)
"The failure is mine," Niv-Mizzet said, his bass rumble resonating in Ral’s bones. "Once again, ... | |
https://github.com/OCamlPro/ppaqse-lang | https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/Rust.typ | typst | #import "defs.typ": *
#import "links.typ": *
#language(
name:"Rust",
introduction: [
#Rust est un langage de programmation créé par <NAME> en 2006,
soutenu par la fondation Mozilla à partir de 2009, et dont la première
version stable fût publiée en 2015. Le projet est devenu indépendant de
Mozill... | |
https://github.com/Isaac-Fate/booxtyp | https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/theorems/note.typ | typst | Apache License 2.0 | #import "new-plain-template.typ": new-plain-template
#import "../colors.typ": color-schema
#let note = new-plain-template(
"Note",
title-color: color-schema.orange.primary,
title-prefix: emoji.notepad,
body-text-style: "italic",
)
|
https://github.com/ymgyt/techbook | https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/debug.md | markdown | # Debug
```typescript
console.log('%o', obj);
```
| |
https://github.com/zenor0/FZU-report-typst-template | https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/utils/states.typ | typst | MIT License | #let chapter-l1-name-str-state = state("chapter-l1-name-str")
#let chapter-l1-name-show-state = state("chapter-l1-name-show")
#let chapter-l1-true-loc-state = state("chapter-l1-true-loc")
#let chapter-l1-numbering-show-state = state("chapter-l1-numbering-show")
#let chapter-l1-page-number-show-state = state("chapter-l1... |
https://github.com/SwampertX/cv | https://raw.githubusercontent.com/SwampertX/cv/main/simple-cv.typ | typst | #import "simple-cv-template.typ": *
#show: resume
#header(
name: "<NAME>",
phone: "+33 7 52 04 32 55",
email: "<EMAIL>",
// linkedin: "linkedin.com/in/yeejian-tan",
site: "yeejian.dev",
)
#resume_heading[Education]
#edu_item(
name: "École Polytechnique",
degree: [
Master of Theoretical Computer Scien... | |
https://github.com/EGmux/TheoryOfComputation | https://raw.githubusercontent.com/EGmux/TheoryOfComputation/master/final/q1.typ | typst | #set heading(numbering: "1.")
=== 1. *Considere $L_1 = (0 ⋃ 1 1)^m 2(0 ⋃ 1)^n 3(0 ⋃ 1)^+$, com $m,n >= 0, m "par e" n "impar"$.*
*Prove que $L_1$ é uma*
*linguagem regular construindo um AFD com no máximo 7 estados que a reconheça*
#figure(image("../assets/q1.png", width: 50%)) <fig-q1>
=== 2. *Diga se $L_2 = {w in {... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/bugs/flow-2-00.typ | typst | Other | #set page(height: 60pt)
#v(19pt)
#block[
But, soft! what light through yonder window breaks?
It is the east, and Juliet is the sun.
]
|
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS1332/Modules/AVL.typ | typst | #import "../../../template.typ": *
= AVL Trees
#definition[
The *balance factor* of a node is the left child's height - right child's height
]
- What do different values of the balance factor mean?
+ 0: Perfectly Balanced
+ 1: Leaning left but ok
+ neg 1: Leaning right but ok
+ >= 2: unlabaced to far... | |
https://github.com/gumelarme/nuist-master-thesis-proposal | https://raw.githubusercontent.com/gumelarme/nuist-master-thesis-proposal/main/proposal.typ | typst | #import "/strings/en.typ": *
#import "/pages/cover.typ": make-cover, default-label
#set page(
paper: "a4",
margin: (top: 2.1cm, left: 2.5cm, right: 2.5cm, bottom: 2.5cm),
)
#set text(font: ("Times New Roman"))
#make-cover()
#include "/pages/notes.typ"
#include "/pages/report.typ"
#include "/pages/work-plan.typ"... | |
https://github.com/rqy2002/typst-experiment | https://raw.githubusercontent.com/rqy2002/typst-experiment/main/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!
#let project(title: "", authors: (), date: none, body) = {
// Set the document's basic properties.
set document(author: authors, title: title)
set ... | |
https://github.com/LeoColomb/dotdocs | https://raw.githubusercontent.com/LeoColomb/dotdocs/main/test/fixture.typ | typst | MIT License | #import "@leocolomb/invoicing:1.0.0": template
#show: template.with(
type: "Fixture",
name: [Continuous Integration],
address: [
In Your Shell\
101 Internet
],
siret: [10142],
project: [Template Validation],
reference: [2084-07-B],
date: datetime.today().display("[day]/[month]/[year]"),
recip... |
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/program-auton-movement/entry.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: "Program: Autonomous Movement",
type: "program",
date: datetime(year: 2023, month: 9, day: 11),
author: "<NAME>",
witness: "Meghana Noojipady",
)
With the majority of t... |
https://github.com/0x1B05/algorithm-journey | https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/堆结构.typ | typst | #import "../template.typ": *
#pagebreak()
= 堆结构
堆的节点关系:
```
left = 2*parent + 1
right = 2*parent + 2
parent = (child-1)/2
```
完全二叉树和数组前缀范围来对应,大小,单独的变量size来控制
堆的调整:`heapInsert`(向上调整)、`heapify`(向下调整)
#tip(
"Tip",
)[
`heapInsert`、`heapify`方法的单次调用,时间复杂度`O(log n)`,完全二叉树的结构决定的
]
== 堆排序
=== 复杂... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-14.typ | typst | Other | #{
let f(..a, b, c, d) = none
// Error: 4-10 missing argument: d
f(1, 2)
}
|
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/show-closure-paren-complex.typ | typst | Apache License 2.0 | #show raw.where(block: false): it => if it.text.starts-with("<") and it.text.ends-with(">") {
set text(1.2em)
doc-style.show-type(it.text.slice(1, -1))
} else {
it
}
|
https://github.com/jakobjpeters/Typstry.jl | https://raw.githubusercontent.com/jakobjpeters/Typstry.jl/main/HISTORY.md | markdown | MIT License |
# History
## v0.3.0
### Strings
- `context`
- New default setting `backticks = 3` used for Typst `raw` blocks
- The `indent` setting is now `tab_size = 2`, to correspond with Typst's default parameter
- `show_typst`
- Implemented for `VersionNumber`, `Dates.Date`, `Dates.DateTime`, `Dates.Period`, `Date... |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/wire/mode/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 0pt)
#import "/src/quill.typ": *
#quantum-circuit(
gate($H$), slice(), setwire(2), gate($X$), setwire(0), meter(), [\ ],
setwire(0), gate($X$), setwire(1), 1, setwire(2), gate($X$),1, [\ ],
1, setwire(1, stroke: (paint: blue, dash: "dash-dotted", thickness: .7pt, )),... |
https://github.com/Steendly/Jeu-Dames | https://raw.githubusercontent.com/Steendly/Jeu-Dames/master/rapport/rapport.typ | typst | #import "@preview/fletcher:0.4.2" as fletcher: node, edge
#import "/templates/base_formatting.typ": project, heading_1, heading_2, commented_text
#import "/templates/algo.typ": algo, i, d, comment, shell
#show: project.with(
title: "Jeu de Dames",
subtitle: "Implémentation et résolution avec différents algorithme... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/ConsuntivoSprint/QuintoSprint.typ | typst | MIT License | #import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost
#import "../../functions.typ": rendicontazioneOreAPosteriori, rendicontazioneCostiAPosteriori, glossary
== Quinto #glossary[sprint]
*Inizio*: Venerdì 22/12/2023
*Fine*: Giovedì 28/12/2023
#rendicontazioneOreAPosteriori(sprintNumber: "... |
https://github.com/sysu/better-thesis | https://raw.githubusercontent.com/sysu/better-thesis/main/specifications/bachelor/abstract-en.typ | typst | MIT License | // 利用 state 捕获摘要参数,并通过 context 传递给渲染函数
#import "/utils/style.typ": 字号, 字体
#let abstract-en-keywords = state("keywords-en", (
"Sun Yat-sen University",
"thesis",
"specification",
))
#let abstract-en-content = state("abstract-en", [
英文摘要及关键词内容应与中文摘要及关键词内容相同。中英文摘要及其关键词各置一页内。
The English abstract and its keywords sh... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1E000.typ | typst | Apache License 2.0 | #let data = (
("COMBINING GLAGOLITIC LETTER AZU", "Mn", 230),
("COMBINING GLAGOLITIC LETTER BUKY", "Mn", 230),
("COMBINING GLAGOLITIC LETTER VEDE", "Mn", 230),
("COMBINING GLAGOLITIC LETTER GLAGOLI", "Mn", 230),
("COMBINING GLAGOLITIC LETTER DOBRO", "Mn", 230),
("COMBINING GLAGOLITIC LETTER YESTU", "Mn", 23... |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/mornstajnova.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": autor
#autor("<NAME>", "1963", "", "spisovatelka", "Ostravská univerzita", "moderní romány", "/cj-autori/media/mornstajnova.jpg")
Narodila se ve #underline[Valašském Meziříčí]. Původně se chtěla stát překladatelkou, ale za režimu několikrát nebyla přijata na FF UK. Chvíli učila na jazykové škol... |
https://github.com/suspenss/Undergraduate-mathematics | https://raw.githubusercontent.com/suspenss/Undergraduate-mathematics/main/mathmatics-analysis/main.typ | typst | #import "./../setup/templates.typ": *
#import "./../setup/theorem.typ": *
#show: thmrules
// #show math.equation: set text(font: "New Computer Modern Math")
// #show math.equation: set text(font: "Libertinus Math")
#show: project.with(
title: "Mathmatics Analysis", authors: ("epoche",), language: "ch", outl: [
... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/text_font3.typ | typst | Apache License 2.0 | #text(font: /* position after */ ("Test",))[] |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/002%20-%20Return%20to%20Ravnica/003_Epic%20Experiment.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Epic Experiment",
set_name: "Return to Ravnica",
story_date: datetime(day: 12, month: 09, year: 2012),
author: "<NAME>",
doc
)
#figure(image("003_Epic Experiment/02.jpg", width: 100%), caption: [Art by David Rapoza], supplement: none, numbe... | |
https://github.com/Mc-Zen/pillar | https://raw.githubusercontent.com/Mc-Zen/pillar/main/tests/examples/measurement-results/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1pt)
#import "/src/pillar.typ"
#let clr = if "dark" in sys.inputs { white } else { black }
#set page(fill: white) if clr == black
#set text(fill: clr)
#set table.hline(stroke: clr)
#set table.vline(stroke: clr)
#pillar.table(
cols: "ccc ||[.7pt] ccc",
..([\#], [$α$ ... |
https://github.com/jamesrswift/journal-ensemble | https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/src/lib.typ | typst | The Unlicense | #import "article.typ" as article: *
#import "contents.typ" as contents: *
#import "ensemble.typ" as ensemble: *
#import "elements.typ" as elements: *
#import "part.typ" as part: *
#import "pages.typ"
|
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/README.md | markdown | MIT License | # fletcher
[](docs/manual.pdf?raw=true)

[ = {
// 摘要使用罗马字符的页码
set page(numbering: "I", number-align: center)
counter(page).update(1)
set text(font: 字体.... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/goto_definition/module_select_alias.typ | typst | Apache License 2.0 | // path: variable.typ
#let f(x) = 2;
-----
#import "variable.typ" as this-module
#(this-module.f /* position after */ );
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Just empty page.
// Should result in auto-sized page, just like nothing.
#page[]
|
https://github.com/EGmux/ControlTheory-2023.2 | https://raw.githubusercontent.com/EGmux/ControlTheory-2023.2/main/prova2.typ | typst | #set heading(numbering: "1.")
=== 1. Reduza o sistema abaixo para um único bloco
#figure(image("assets/2024-03-19-20-59-17.png", width: 80%)) <fig-2024-03-19-20-59-17>
#figure(image("assets/2024-03-19-21-08-59.png", width: 80%)) <fig-2024-03-19-21-08-59>
para o seguinte diagrama de blocos a redução pode ser computa... | |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/monaco-vs-vscode.typ | typst | #import "/components/glossary.typ": gls
== Monaco Editor vs. Visual Studio Code
This section provides a comparative analysis of the Monaco Editor (@sec-monaco) and Visual Studio Code (@sec-vscode), examining their architectural underpinnings, core features, and performance characteristics. The primary goal is to ... | |
https://github.com/cunhapaulo/typst_styles | https://raw.githubusercontent.com/cunhapaulo/typst_styles/main/README.md | markdown | MIT License | # Just released (31.oct.2023) - ABNT ready
This time it is for real. Both templates are in compliance with ABNT, including bibliography and references.
# Typst Themes - `typst_styles`
Hello, there.
It´s been with great joy that I found [Typst](https://typst.app/). It gave me even greater pleasure to know it has be... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-20.typ | typst | Other | // Error: 14-36 exponent may not be infinite, subnormal, or NaN
#calc.pow(2, calc.pow(2.0, 10000.0))
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/cancel_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Cross
$a + cancel(b + c + d, cross: #true, stroke: #red) + e$
$ a + cancel(b + c + d, cross: #true) + e $
|
https://github.com/hemmrich/CV_typst | https://raw.githubusercontent.com/hemmrich/CV_typst/master/cv.typ | typst | // Imports
#import "./template/lib.typ": cv
#let metadata = toml("./metadata.toml")
#let importModules(modules, lang: metadata.language) = {
for module in modules {
include {
"modules/" + module + ".typ"
}
}
}
#show: cv.with(
metadata,
profilePhoto: image("./src/headshot.png")
)
#importModules(... | |
https://github.com/tfachada/thesist | https://raw.githubusercontent.com/tfachada/thesist/main/src/utils.typ | typst | MIT License | // Import subfigure package and make it work with the chapter-relative numbering
#import "@preview/subpar:0.1.1"
#let subfigure-grid(in-appendix: none, ..args) = {
let numbering-format = "1.1"
if in-appendix{
numbering-format = "A.1"
}
subpar.grid(
numbering: super => numbering(numbering-format, cou... |
https://github.com/ls1intum/thesis-template-typst | https://raw.githubusercontent.com/ls1intum/thesis-template-typst/main/content/proposal/transparency_ai_tools.typ | typst | MIT License | #import "/utils/todo.typ": TODO
#TODO[
Change this paragraph to reflect the tools you used in your proposal
]
/*
Categories of AI Usage:
Grammar and Style Correction
Tools: Grammarly, Hemingway
Purpose: To correct grammatical errors, improve sentence structure, and enhance overall writing style.
Transla... |
https://github.com/isaacholt100/isaacholt | https://raw.githubusercontent.com/isaacholt100/isaacholt/main/public/maths-notes/4-cambridge%3A-part-III/quantum-computation/quantum-computation.typ | typst | MIT License | #import "../../template.typ": *
#show: doc => template(doc, hidden: (), slides: false)
#let poly = math.op("poly")
#let ip(a, b) = $angle.l #a, #b angle.r$
#let ket(arg) = $#h(0.2pt) | #h(0.2pt) arg #h(0.2pt) angle.r$
#let bra(arg) = $angle.l #h(0.2pt) arg #h(0.2pt) | #h(0.2pt)$
#let braket(..args) = $angle.l #h(1pt) ... |
https://github.com/Breadp4ck/typst-nstu-template | https://raw.githubusercontent.com/Breadp4ck/typst-nstu-template/main/README.md | markdown | ## Typst титульник
[Typst](https://typst.app/) шаблоны для сдачи работ в НГТУ. Просто скачайте и запихайте содержимое папки `nstu_template` в корень проекта. Или, что ещё удобнее, скопируйте его [отсюда](https://typst.app/project/rbKylpB-zyQXlHTANjBIZz).
`main.typ` в таком случае может выглядеть как-то так:
```typst... | |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/configuration.typ | typst | MIT License | #import "mod.typ": *
#show: book-page.with(title: "Configuration")
= Header
The template will include a header in the exam, with the information entered in the template. We can
indicate a logo of the educational center, a description of the exam, subject, content, academic level, …
```typst
#show: g-exam.with(
... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week2.typ | typst | #import "../../utils.typ": *
#subsection("Memento")
#set text(size: 14pt)
Problem | *History* -> Object should remember its own state\
Category | *Behavioral*\
Participants | Originator -> Object in question, Memento -> History, e.g. stack,
Caretaker -> storage, e.g. database
#set text(size: 11pt)
#align(
center, [#... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/examples/cetz-karl-circle.typ | typst | // #import "@preview/cetz:0.2.1"
#import "@preview/cetz:0.2.0"
#set page(width: auto, height: auto, margin: .5cm)
#show math.equation: block.with(fill: white, inset: 1pt)
// this is a pretty nifty feature.
#cetz.canvas(length: 3cm, {
import cetz.draw: *
set-style(
mark: (fill: black, scale: 2),
stroke: ... | |
https://github.com/cwreed/cv | https://raw.githubusercontent.com/cwreed/cv/main/README.md | markdown | # Connor's CV
This is a small library I use to create my CV and resume(s) with [typst](https://github.com/typst/typst). The template and style is heavily inspired by the [brilliant-CV](https://github.com/mintyfrankie/brilliant-CV/tree/main) project.
## Commands
```
make download-fonts # download open source f... | |
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/xr17032handbook/chapcache.typ | typst | = Memory Caching
== Introduction
Modern computer systems contain memory subsystems that produce results in a time several factors slower than the processing unit can accept them, creating a substantial performance bottleneck. The general solution to this is to add fast "cache" memory close to the processor, in which fr... | |
https://github.com/mitsuyukiLab/grad_thesis_typst | https://raw.githubusercontent.com/mitsuyukiLab/grad_thesis_typst/main/lib/grad_thesis_lib.typ | typst | #let textL = 24pt
#let textM = 20pt
#let textS = 16pt
#let text_main = 12pt
#let mincho = ("Times New Roman", "MS Mincho", "IPAMincho", "Noto Serif CJK JP", "Hiragino Mincho Pro")
#let gothic = ("Times New Roman", "MS Gothic", "IPAGothic", "Noto Sans CJK JP", "Hiragino Kaku Gothic Pro")
// Store theorem environment n... | |
https://github.com/david-davies/typst-prooftree | https://raw.githubusercontent.com/david-davies/typst-prooftree/main/examples/prooftree_test.typ | typst | MIT License | #import "../src/prooftrees.typ"
#import "../src/internal.typ"
#let vdash = [⊢]
#set rect(stroke: .5pt)
#let mk_err_str(message) = "Prooftrees INTERNAL ERROR: " + message
#set table(stroke: none)
#let asmN = [assumption#sub[n]]
#let sans_font = "DejaVu Sans"
#let sans_font_opts = (font: sans_font, size: .82em)
#let ts... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2010/MS-10.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [马龙], [CHN], [3264],
[2], [张继科], [CHN], [3142],
[3], [王皓], [CHN], [3134],
[4], [蒂姆 波尔], [GER], [3115],
[5], [马琳], [CHN], [3108],
... | |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/blackbox.typ | typst | == Blackbox
The blackbox functionality is used to incorporate blocks implemented manually or generated by external tools.
For example, a user may want to explicitly manage some particular registers' layouts.
In such a case, a register-centric tool might be used, and the generated block can be incorporated into the wra... | |
https://github.com/EricWay1024/Computational-AT-mini-project | https://raw.githubusercontent.com/EricWay1024/Computational-AT-mini-project/main/main.typ | typst | #import "template.typ": *
#show: thmrules
#show: project.with(
title: "Discrete Morse Theory for Persistent Homology for Sequences of Cosheaves",
subtitle: [A mini-project submitted for the course of
_C3.9 Computational Algebraic Topology_],
author: "Candidate Number 1079278",
date: "Hilary Term, 2024"
)... | |
https://github.com/mps9506/quarto-lapreprint | https://raw.githubusercontent.com/mps9506/quarto-lapreprint/main/_extensions/quarto-lapreprint/typst-show.typ | typst | MIT License | // Typst custom formats typically consist of a 'typst-template.typ' (which is
// the source code for a typst template) and a 'typst-show.typ' which calls the
// template's function (forwarding Pandoc metadata values as required)
//
// This is an example 'typst-show.typ' file (based on the default template
// that shi... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/009%20-%20Born%20of%20the%20Gods/005_Dance%20of%20the%20Flitterstep.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Dance of the Flitterstep",
set_name: "Born of the Gods",
story_date: datetime(day: 19, month: 02, year: 2014),
author: "<NAME>",
doc
)
#emph["More children taken. This is an evil we will track without mercy."]
—Anthousa
#emph[My child, wh... | |
https://github.com/simon-epfl/notes-ba2-simon | https://raw.githubusercontent.com/simon-epfl/notes-ba2-simon/main/analyse/analyse-tricks.typ | typst | #set text(font: "DejaVu Sans")
#show heading.where(level: 1): contents => text(size: 20pt, contents)
#show heading: contents => pad(bottom: 10pt, contents)
#set quote(block: true)
#set heading(numbering: (ignore_first, ..n) => {
if (n.pos().len() != 0) {
numbering("1.1.", ..n)
}
})
#let stick-together(a, thresh... | |
https://github.com/ahenshaw/ksu_dissertation_template | https://raw.githubusercontent.com/ahenshaw/ksu_dissertation_template/main/dissertation_template.typ | typst | Creative Commons Zero v1.0 Universal | #let thesis(
title: "",
abstract: [],
author: "",
degree: "Ph.D. in Data Science and Analytics",
institute: "Kennesaw State University",
body,
) = {
// Set the document's basic properties.
set document(author: author, title: title)
set page(
paper: "us-letter",
number-align: center,
margin... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/cyberdef/weeks/week5.typ | typst | #import "../../utils.typ": *
#section("Man in the Middle Attack")
#subsection("DLL Preloading Attack")
The idea is to put a dll in the same folder as the program that is being run,
this means that windows will automatically load the new dll, which might just be
malicious. With the SetDLLPath("") you can disable this ... | |
https://github.com/eneoli/kit-thesis-template | https://raw.githubusercontent.com/eneoli/kit-thesis-template/main/meta.typ | typst | #let isDraft = true
#let author = "<NAME>"
#let title = [Guarded Type Theory - An Overview]
#let thesisType = [Bachelor's Thesis]
#let keywords = ("Natural Deduction", "proofs as programs", "Curry-Howard isomorphism")
#let reviewerOne = [Prof. A.]
#let reviewerTwo = [Prof. B] // set to none to remove
#let advisorOne ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/link_07.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Link containing a block.
#link("https://example.com/", block[
My cool rhino
#box(move(dx: 10pt, image("/assets/files/rhino.png", width: 1cm)))
])
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.