repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/subelement-panic_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// List item (pre-emptive)
#list.item[Hello]
|
https://github.com/akrantz01/resume | https://raw.githubusercontent.com/akrantz01/resume/main/template/common.typ | typst | MIT License | #let section(title) = {
show heading: set text(size: 1em, weight: "bold")
block(above: 1.25em)[
= #smallcaps(title)
#v(-2pt)
#line(length: 100%, stroke: 2pt + black)
]
}
#let icon(name) = box(
height: 9pt,
move(dx: -2pt, dy: 2pt, image("icons/" + name + ".svg")),
)
#let parse-date(raw) = {
if... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/substitution/multiple.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### Multiple substitution
=== #tr[multiple substitution]
// Single substitution was one-to-one. Multiple substitution is one-to-many: it decomposes one glyph into ... |
https://github.com/pedrofp4444/BD | https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[1] Definição do sistema/execucao.typ | typst | #let execucao = {
[
== Plano de Execução do Projeto
#align(center)[
#figure(
kind: image,
caption: "Ilustração do diagrama de Gantt inicial.",
image("../../images/Captura_GANTT_inicial.png", width: 100%)
)
]
No decorrer da confirmação do projeto, a equipa da “... | |
https://github.com/feiyangyy/Learning | https://raw.githubusercontent.com/feiyangyy/Learning/main/linear_algebra/线性方程组求解.typ | typst | #set text(
font: "New Computer Modern",
size: 6pt
)
#set page(
paper: "a6",
margin: (x: 1.8cm, y: 1.5cm),
)
#set par(
justify: true,
leading: 0.52em,
)
= 摘要
这些系列文档主要是复习线性代数的课堂笔记,现在稍微涉及到数学算法的地方通常都和线性代数脱不了关系,以下是一些不完全的举例:
#list(
[OpenGL中图形的生成、位置变换、投影变换等],
[数字信号分析中的各类变换的向量表示],
[数字图像处理中的卷积过程,图像变换等]
)
线性代数的出发点是求... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Trimming.
// Space between "rust" and "let" is trimmed.
The keyword ```rust let```.
// Trimming depends on number backticks.
(``) \
(` untrimmed `) \
(``` trimmed` ```) \
(``` trimmed ```) \
(``` trimmed```) \
|
https://github.com/Robotechnic/alchemist | https://raw.githubusercontent.com/Robotechnic/alchemist/master/src/utils.typ | typst | MIT License | #import "@preview/cetz:0.2.2"
#let convert-length(ctx, num) = {
// This function come from the cetz module
if type(num) == length {
if repr(num).ends-with("em") {
float(repr(num).slice(0, -2)) * ctx.em-size.width / ctx.length
} else {
float(num / ctx.length)
}
} else {
float(num)
}
... |
https://github.com/pluttan/typst-g7.32-2017 | https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/g7.32-2017.config.typ | typst | MIT License | #let config = (
raw:(
theme:"",
bg: luma(240),
num: false,
size: 14pt,
splitter: "|",
counter: counter("listing")
),
toc:(
title:(
label: "Содержание",
size: 16pt,
weight: "bold",
align: "center"
... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0015.typ | typst | #import "../helpers.typ": *
#let _3sum-ref(nums) = {
let nums = nums.sorted()
let n = nums.len()
let ans = ()
for i in range(n) {
if i > 0 and nums.at(i) == nums.at(i - 1) {
continue
}
let l = i + 1
let r = n - 1
while l < r {
let sum = nums.at(i) + nums.at(l) + nums.at(r)
... | |
https://github.com/benjamineeckh/kul-typst-template | https://raw.githubusercontent.com/benjamineeckh/kul-typst-template/main/src/core/component/declaration-of-originality.typ | typst | MIT License | #let insert-dec-of-orig(declaration-of-originality, lang:"en") = {
if declaration-of-originality != none{
heading(
level: 1,
numbering: none,
outlined: false,
if lang == "en" {
"Declaration of Originality"
} else {
"Declaratie van originaliteit"
}
)
text(style: "italic", decl... |
https://github.com/matsumo0922/typst-keio-b2-template | https://raw.githubusercontent.com/matsumo0922/typst-keio-b2-template/master/README.md | markdown | # はじめに
慶應義塾大学理工学部2年生向けの理工学基礎実験 Typst テンプレートです
# 参考
- https://github.com/tora223/report_template
- https://github.com/yukukotani/typst-coins-thesis
| |
https://github.com/paugarcia32/CV | https://raw.githubusercontent.com/paugarcia32/CV/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Professional Experience")
#cvEntry(
title: [Cybersecurity Intern],
society: [Marsh McLennan],
logo: "../src/logos/marsh.png",
date: [2024 - Actualidad],
location: [Barcelona, ES],
description: list(
[Evaluate cybersecurity maturity us... |
https://github.com/alberto-lazari/computer-science | https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-cs/module-3/personal.typ | typst | I think the paper provides a very useful and interesting improvement in the theory of ML systems.
What I find particularly interesting is the fact that it is not an incremental step over an already established concept.
The authors really tried to provide an alternative to other models, but thinking outside of the box t... | |
https://github.com/Tyrn/wei | https://raw.githubusercontent.com/Tyrn/wei/master/BUILDME.md | markdown | # Wei
## Notes
- [A Fight for a Robinson Crusoe TOC](https://www.reddit.com/r/typst/comments/1brnchc/create_a_chapterbychapter_synopsis_mirrored_in/)
- [A great contribution](https://github.com/aarneng/Outline-Summaryst)
## Plain text reformatting
- Comment out code, if any
- Add newlines before each paragraph
```... | |
https://github.com/han0126/MCM-test | https://raw.githubusercontent.com/han0126/MCM-test/main/2024亚太杯typst/chapter/chapter5.typ | typst | #import "../template/template.typ": *
= 问题二的模型建立与求解
== 问题分析
为了深入探讨洪水概率的分布特性,本组采用了$K-m e a n s$聚类算法对洪水概率进行了分析。通过设定$K=3$,算法将数据集划分为三个具有不同风险等级的集群,并确定了相应的中心点,从而形成了三个等风险级。这一步骤为后续的风险评估提供了坚实的基础。
基于$K-m e a n s$聚类的结果,本研究进一步采用$X G B o o s t$算法对三个风险等级进行了模型构建。$X G B o o s t(e X t r e m e G r a d i e n t B o o s t i n g)$是一... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/023.%20ffb.html.typ | typst | ffb.html
Filters that Fight Back
August 2003
We may be able to improve the accuracy of Bayesian spam filters
by having them follow links to see what's
waiting at the other end. <NAME> of
death2spam now does
this in borderline cases, and reports that it works well.Why only do it in borderline cases? And why only do i... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/line.typ | typst | Apache License 2.0 | // Test lines.
---
#set page(height: 60pt)
#box({
set line(stroke: 0.75pt)
place(line(end: (0.4em, 0pt)))
place(line(start: (0pt, 0.4em), end: (0pt, 0pt)))
line(end: (0.6em, 0.6em))
}) Hello #box(line(length: 1cm))!
#line(end: (70%, 50%))
---
// Test the angle argument and positioning.
#set page(fill: rgb("... |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/07-proposed-solution/07-evaluation.typ | typst | #import "/helpers.typ": *
== Evaluation
Several quality metrics were considered to evaluate the quality of the microservice decomposition.
#cite_full(<carvalho_etal_2019>) conducted an analysis of the criteria used to evaluate the quality of microservices architectures and found that the most common metrics are cohes... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-19.typ | typst | Other | // Error: 3-11 cannot divide integer by length
#(3 / 12pt)
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/transform.typ | typst | Apache License 2.0 | // Test transformations.
---
// Test creating the TeX and XeTeX logos.
#let size = 11pt
#let tex = {
[T]
h(-0.14 * size)
box(move(dy: 0.22 * size)[E])
h(-0.12 * size)
[X]
}
#let xetex = {
[X]
h(-0.14 * size)
box(scale(x: -100%, move(dy: 0.26 * size)[E]))
h(-0.14 * size)
[T]
h(-0.14 * size)
box... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/保研/cv.typ-main 一页/resume.typ | typst | #import "template.typ": *
// 设置图标, 来源: https://fontawesome.com/icons/
// 如果要修改图标颜色, 请手动修改 svg 文件中的 fill="rgb(38, 38, 125)" 属性
#let faAward = icon("icons/fa-award.svg")
#let faBuildingColumns = icon("icons/fa-building-columns.svg")
#let faCode = icon("icons/fa-code.svg")
#let faEnvelope = icon("icons/fa-envelope.svg")
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/README.md | markdown | Apache License 2.0 | # Grotesk CV
A simple, one-page CV template with a clean and modern design. Inspired by https://github.com/mintyfrankie/brilliant-CV and Skywalker template from Typst.
## Requirements
You will need to install the following fonts in your local system:
- [Hanken Grotesk](https://fonts.google.com/specimen/Hanken+Grotes... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-00.typ | typst | Other | // Compare both ways.
#test(rgb(0%, 30%, 70%), rgb("004db3"))
// Alpha channel.
#test(rgb(255, 0, 0, 50%), rgb("ff000080"))
// Test color modification methods.
#test(rgb(25, 35, 45).lighten(10%), rgb(48, 57, 66))
#test(rgb(40, 30, 20).darken(10%), rgb(36, 27, 18))
#test(rgb("#133337").negate(), rgb(236, 204, 200))
#t... |
https://github.com/tingerrr/chiral-thesis-fhe | https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/core/component/abstract.typ | typst | #import "/src/utils.typ" as _utils
#let make-abstract(
title: "Abstract",
body: lorem(100),
_fonts: (:),
) = {
_utils.assert.text("body", body)
set align(horizon)
set heading(numbering: none, outlined: false, offset: 0)
show heading: set text(16pt, font: _fonts.sans)
show heading: set block(below: 1.8... | |
https://github.com/isaacholt100/isaacholt100.github.io | https://raw.githubusercontent.com/isaacholt100/isaacholt100.github.io/master/maths-notes/4-cambridge%3A-part-III/combinatorics/combinatorics.typ | typst | #import "../../template.typ": *
#show: doc => template(doc, hidden: (), slides: false) | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-01.typ | typst | Other | // Another classic example.
#show "TeX": [T#h(-0.145em)#box(move(dy: 0.233em)[E])#h(-0.135em)X]
#show regex("(Lua)?(La)?TeX"): name => box(text(font: "New Computer Modern")[#name])
TeX, LaTeX, LuaTeX and LuaLaTeX!
|
https://github.com/voXrey/cours-informatique | https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/logique.typ | typst | #set text(
font: "Noto Sans Imperial Aramaic",
size: 11pt
)
= Partie 5 - Logique
== Chapitre ? - Logique Propositionnelle
=== I - Syntaxe
Nos valeurs booléennes "vrai" et "faux" sont
- $top$ top
- $bot$ bot
Il existe différents ordres pour la logique
Ordre 0 : $not, and, or, -->, <--$
Ordre 1 : $forall, exis... | |
https://github.com/Gewi413/typst-autodoc | https://raw.githubusercontent.com/Gewi413/typst-autodoc/master/example.typ | typst | MIT License | #import "typst-autodoc.typ": main
#main("typst-autodoc.typ")
|
https://github.com/swaits/typst-collection | https://raw.githubusercontent.com/swaits/typst-collection/main/finely-crafted-cv/0.1.0/README.md | markdown | MIT License | # Finely Crafted CV Template
This Typst template provides a clean and professional format for creating a
curriculum vitae (CV) or résumé. It comes with functions and styles to help you
easily generate a well-structured document, complete with sections for
education, experience, skills, and more.
## Features
- **Mode... |
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/sources/CarolineInterview.typ | typst | #import "../custom.typ": *
== Interview with Caroline <InterviewCaroline>
00:00 - 00:02
Caroline: Skal jeg starte med at fortælle ham, hvem jeg er?
00:02 - 00:03
Mads: Ja, det må du meget gerne.
00:03 - 00:09
Caroline: Så I har den baggrund. Altså, mit navn er Caroline, og I optager nu?
00:15 - 00:21
Caroline: ... | |
https://github.com/kiwiyou/algorithm-lecture | https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/basic/05-associated-data.typ | typst | #import "@preview/cetz:0.1.2"
#import "@preview/algorithmic:0.1.0"
#import "../slide.typ"
#show: slide.style
#show link: slide.link
#show footnote.entry: slide.footnote
#let algorithm(..args) = text(font: ("linux libertine", "Pretendard"), size: 17pt)[#algorithmic.algorithm(..args)]
#let func(body) = text(font: ("linu... | |
https://github.com/mrknorman/evolving_attention_thesis | https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/08_infrastructure/08_infrastructure.typ | typst | = Software Development <software-dev-sec>
== cuPhenom <cuphenom-sec> | |
https://github.com/Karolinskis/KTU-typst | https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/mainPages/ImageList.typ | typst | #page(header: none)[
#align(center)[
= Paveikslų sąrašas
]
#outline(
title: "", target: figure.where(kind: image)
)
]
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.2/lib/plot.typ | typst | Apache License 2.0 | // CeTZ Library for drawing charts
#import "axes.typ"
#import "palette.typ"
#import "../util.typ"
#import "../draw.typ"
#import "../vector.typ"
// Compute list of linear paths for data points, clipped to
// the bounding box of [min-x, max-x][min-y, max-y].
//
// - data (array): List of (x, y) data points
// - min-x (... |
https://github.com/0x1B05/algorithm-journey | https://raw.githubusercontent.com/0x1B05/algorithm-journey/main/practice/note/content/有序表.typ | typst | #import "../template.typ": *
#pagebreak()
= 有序表
所有的操作都是log(n) 红黑树,AVL树,SB树,跳表(skiplist)都可以实现有序表
上面所有结构实现的时间复杂度没有区别.知识原理不同,常数时间有区别.
通常用SB树(好改.)
> 跳表不是一个系列的,其他三个都属于平衡搜索二叉树系列.
== 搜索二叉树
若有重复节点,例如5,5.则可以使用5*2 例如5,a;5,b.则可以使用5,{a,b}
重复节点不影响复杂度.
删除: 没有孩子,直接删 左右孩子不全,也简单,让唯一的节点替代.
都有的话,左树的最右,或者右树上最左.替代的节点的子树直接接到替代节点的父去.
缺点:... | |
https://github.com/howardlau1999/sysu-thesis-typst | https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/custom.typ | typst | MIT License | #let 行距 = 1em
#let 字体 = (
仿宋: ("Times New Roman", "Adobe Fangsong Std", "FangSong"),
宋体: ("Times New Roman", "Source Han Serif SC", "SimSun"),
黑体: ("Times New Roman", "Arial", "Adobe Heiti Std", "SimHei"),
楷体: ("Times New Roman", "Adobe Kaiti Std R", "KaiTi"),
代码: ("Inconsolata", "Source Han Sans HW SC", "Ti... |
https://github.com/KaarelKurik/conditional-plasticity | https://raw.githubusercontent.com/KaarelKurik/conditional-plasticity/main/presentation.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/ctheorems:1.1.2": *
#import themes.simple: *
#show: simple-theme.with(
footer: [],
)
#set par(justify:true)
#title-slide[
= Banachi ruumi ühikkera plastilisus ning mõned seotud tulemused
#v(2em)
<NAME>
]
#slide[
= Meetrilise ruumi plastilisus
*Defi... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/field-02.typ | typst | Other | // Test fields on function scopes.
#enum.item
#assert.eq
#assert.ne
|
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2004/WS-01.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Women's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [ZHANG Yining], [CHN], [2608],
[2], [WANG Nan], [CHN], [2549],
[3], [NIU Jianfeng], [CHN], [2455],
[4], [GUO Yan],... | |
https://github.com/MrToWy/Bachelorarbeit | https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/endpointBefore.typ | typst | #import("../Template/customFunctions.typ"): *
#codly(annotations:(
(
start: 1,
end: 14,
label: <extractComplexFields>
),
(
start: 20,
end: 22,
label: <connectResponsible>
),
(
start: 45,
end: 49,
label: <clearModules2>
)
),
highlights:(
(line:12, label: <moduleData>),
... | |
https://github.com/elteammate/typst-compiler | https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/ir-def.typ | typst | #import "utils.typ": *
#let flags = mk_enum(
debug: true, // do not remove
"terminates_function"
)
#let ir_instruction = mk_enum(
debug: true,
"const",
"load",
"load_addr",
"store",
"store_fast",
"drop",
"cast",
"goto",
"goto_if_not",
"add",
"sub",
"mul",
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.1/README.md | markdown | Apache License 2.0 | # Fletcher
[](https://github.com/Jollywatt/typst-fletcher/raw/master/docs/manual.pdf)
 ||x||_(cal(l)_2) $ |
https://github.com/felsenhower/kbs-typst | https://raw.githubusercontent.com/felsenhower/kbs-typst/master/examples/17.typ | typst | MIT License | #set text(font: "Comic Sans MS")
#show heading: set text(fuchsia)
= Einführung
Mein erster Text mit Typst!
#lorem(20)
|
https://github.com/Robotechnic/iridis | https://raw.githubusercontent.com/Robotechnic/iridis/master/README.md | markdown | MIT License | # iridis
Iridis is a package to colorize parenthesis in your typst document. Iridis is a latin word that means "rainbow". This package is inspired by the many rainbow parenthesis plugins available for code editors.
<!--EXCLUDE-->
You can import the module with:
```typ
#import "@preview/iridis:0.1.0": *
```
<!--END-->... |
https://github.com/cwreed/cv | https://raw.githubusercontent.com/cwreed/cv/main/src/modules/education.typ | typst | #import "../template.typ": cvEntry, colors
#let nyu-resume = cvEntry(
title: [Master of Science, Data Science],
institution: [New York University],
date: [2020 -- 2022],
location: [New York, NY],
description: [],
)
#let yale-resume = cvEntry(
title: [Bachelor of Science, Environmental Studies _with distin... | |
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/docs/tidy-guide.typ | typst | MIT License | #import "template.typ": *
#import "/src/tidy.typ"
#include "/tests/test_tidy.typ" // ensure that tests pass
#let version = toml("/typst.toml").package.version
#let import-statement = "#import \"@preview/tidy:" + version + "\""
#show: project.with(
title: "Tidy",
subtitle: "Keep your code tidy.",
authors: (
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/numblex/0.1.0/lib/circle_numbers.typ | typst | Apache License 2.0 | /// Circled numbers
/// - `n`: integer
/// - returns: circled number like ①
#let circle_numbers(n) = {
return "①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳㉑㉒㉓㉔㉕㉖㉗㉘㉙㉚㉛㉜㉝㉞㉟㊱㊲㊳㊴㊵㊶㊷㊸㊹㊺㊻㊼㊽㊾㊿".at(n - 1)
} |
https://github.com/mrtz-j/typst-thesis-template | https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/template/chapters/introduction.typ | typst | MIT License | #import "global.typ": *
#import "../utils/symbols.typ": *
This typst template is intended for use by UiT students to write their Bachelor's or Master's thesis, or any other document requiring a similar format. Although it meets the official requirements set by the UiT, this template is *unofficial*, and students shoul... |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap4/1_scientific_notation.typ | typst | Other | === Scientific notation
In many disciplines of science and engineering, very large and very
small numerical quantities must be managed. Some of these quantities are
mind-boggling in their size, either extremely small or extremely large.
Take for example the mass of a proton, one of the constituent particles
of an atom... |
https://github.com/DrakeAxelrod/cvss.typ | https://raw.githubusercontent.com/DrakeAxelrod/cvss.typ/main/bak/cvss.typ | typst | MIT License | #let _cvss = plugin("cvss.wasm")
#str(_cvss.cvss(bytes("CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P")))
#str(_cvss.cvss(bytes("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H")))
#str(_cvss.cvss(bytes("CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H")))
#str(_cvss.cvss(bytes("CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:... |
https://github.com/CreakZ/mirea-algorithms | https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/title_page_template.typ | typst | #let title_page(work_num, theme) = {
set par(justify: false)
align(
center, [
#image("mirea.png")
#text(size: 10pt, [
МИНИСТЕРСТВО НАУКИ И ВЫСШЕГО ОБРАЗОВАНИЯ РОССИЙСКОЙ ФЕДЕРАЦИИ
])
#text([
Федеральное государственное бюджетное образовательное учреждение высшего о... | |
https://github.com/SeniorMars/tree-sitter-typst | https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/layout/par-justify.typ | typst | MIT License |
---
#set page(width: 180pt)
#set block(spacing: 5pt)
#set par(justify: true, first-line-indent: 14pt, leading: 5pt)
This text is justified, meaning that spaces are stretched so that the text
forms a "block" with flush edges at both sides.
First line indents and hyphenation play nicely with justified text.
---
// Te... |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/19-edison.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": dilo, poezie
#dilo("Edison", "edison", "<NAME>", "", "1. p. 20. st.; poetismus", "ČSR", "1928", "lyricko-epický", "báseň")
#columns(2, gutter: 1em)[
*Téma*\
podstata a význam vynálezce Thomase Alvy Edisona
*Motivy*\
smysl tvorby, života, smrti a života; sebevrazi, hazardní hráči, prost... |
https://github.com/VZkxr/Typst | https://raw.githubusercontent.com/VZkxr/Typst/master/Seminario/Preliminares/pre.typ | typst | #set page(header: [
Preliminares
#h(1fr)
Demo 3])
#highlight(fill: rgb("#FF75B5"), radius: 8pt, stroke: black, extent: 3pt)[Definición 1] #h(2pt) (Espacio muestral). Consideremos un experimento aleatorio. El conjunto de posibles resultados de ese experimento se conoce como #text(fill: rgb("#B10040"))[espacio mue... | |
https://github.com/antonWetzel/typst-languagetool | https://raw.githubusercontent.com/antonWetzel/typst-languagetool/main/example/main.typ | typst | MIT License | #import "lt.typ": lt
#show: lt()
#set text(lang: "de")
Das ist ein Satz mit einem Tipfehler. Ich glaube, dass Wowow ein Wort ist.
#set text(lang: "en")
What a beautiful color.
#include "other.typ"
|
https://github.com/kdog3682/typkit | https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/ao.typ | typst | #import "validation.typ": *
#import "resolve.typ": resolve-array
#let masterattrs = (
line: (
"fill",
"stroke",
"radius",
),
circle: (
"fill",
"stroke",
"radius",
),
rect: (
"fill",
"stroke",
"radius",
),
text: (
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/win32-arm64-msvc/README.md | markdown | Apache License 2.0 | # `@myriaddreamin/typst-ts-node-compiler-win32-arm64-msvc`
This is the **aarch64-pc-windows-msvc** binary for `@myriaddreamin/typst-ts-node-compiler`
|
https://github.com/EpicEricEE/typst-equate | https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/tests/alignment/test.typ | typst | MIT License | #import "/src/lib.typ": equate
#set page(width: 6cm, height: auto, margin: 1em)
#show: equate
// Test correct number position when using `set align`.
#set math.equation(numbering: "(1)")
#for number-align in (left, right) {
set math.equation(number-align: number-align)
$ a + b $
show math.equation: set align... |
https://github.com/0x1B05/english | https://raw.githubusercontent.com/0x1B05/english/main/kaoyan/content/writing.typ | typst | #import "../template.typ": *
#pagebreak()
= Writing
== 应用文
=== 05
Two months ago you got a job as an editor for the magazine Designs & Fashions. But now you find that the work is not what you expected. You decide to quit. Write a letter to your boss, <NAME>, telling him your decision, stating your reason (s), and ma... | |
https://github.com/RubixDev/typst-tabley | https://raw.githubusercontent.com/RubixDev/typst-tabley/main/README.md | markdown | MIT License | # typst-tabley
Basic experimental tables in CeTZ.
## Example
See [`example.typ`](./example.typ) for the source. But don't get too excited,
column and row spanning isn't really supported.

## What is this
This package is just a small attempt to see how feasible it is to create a CeTZ
based... |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/driver/driver.typ | typst | #import "/packages.typ": notebookinator, codetastic, gentle-clues
#import notebookinator: *
#import themes.radial.components: *
#import gentle-clues: *
#import codetastic: qrcode
#show: create-body-entry.with(
title: "Program: Driver Control Code",
type: "program",
date: datetime(year: 2024, month: 1, day: 15),... | |
https://github.com/LeoColomb/dotdocs | https://raw.githubusercontent.com/LeoColomb/dotdocs/main/README.md | markdown | MIT License | # .docs
> 📄 Paper documents templates
## Getting Started
### Files
* `assets/fonts`: Fonts (`TYPST_FONT_PATHS`)
* `packages/**`: Packages (https://github.com/typst/packages)
## Usage
### Direct
```console
typst compile src/main.typ dist/main.pdf
```
### Container
```console
docker run --rm \
-v "${PWD}/src:... |
https://github.com/astrojhgu/nsfc_typ | https://raw.githubusercontent.com/astrojhgu/nsfc_typ/master/nsfc.typ | typst | #let nsfc_content(doc)={
let en_sans_serif = "Georgia"
let en_serif = "Times New Roman"
let zh_hei = ("FZHei-B01", "FZHei-B03")
let zh_kai = ("AR PL UKai",)
let zh_shusong = ("FZShuSong-Z01", "FZShuSong-Z01S")
let title_font = (en_serif, ..zh_kai)
let body-font = (en_serif, ..zh_shusong)
let heading-fon... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/heading.typ | typst | Apache License 2.0 | == Level 2
== Level 2 with // comments
|
https://github.com/masaori/exact-solution-of-2d-ising-model | https://raw.githubusercontent.com/masaori/exact-solution-of-2d-ising-model/main/theorem.typ | typst | #let theorem_counter_str = (loc) => {
let heading_counter = counter(heading)
let theorem_counter = counter(figure.where(kind: "lib:theroem"))
let heading_counter_number = heading_counter.at(loc)
let theorem_counter_number = theorem_counter.at(loc)
let number = heading_counter_number + theorem_counter_number
... | |
https://github.com/ohmycloud/computer-science-notes | https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/destructure_binding.typ | typst | #import "@preview/splash:0.3.0": *
#let make-title(title: none, author: none, date: none, description: none) = [
#set align(center)
= #title
#v(1em)
#text(style: "italic", description)
#v(1em)
/ 设计者: #author
/ 日期: #date
#v(3em)
]
#make-title(
title: "绑定时解构",
author: "ohmycloud",
date: "202... | |
https://github.com/howardlau1999/sysu-thesis-typst | https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/functions/numbering.typ | typst | MIT License | #let partcounter = counter("part")
#let chaptercounter = counter("chapter")
#let appendixcounter = counter("appendix")
#let footnotecounter = counter(footnote)
#let rawcounter = counter(figure.where(kind: "code"))
#let imagecounter = counter(figure.where(kind: image))
#let tablecounter = counter(figure.where(kind: tabl... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/github-pages/docs/data-flow-standalone.typ | typst | Apache License 2.0 |
#import "graphs.typ": data-flow-graph
#set page(height: auto, width: auto, margin: 0.5em)
#show link: underline
#figure(
data-flow-graph(stroke: black, bg-color: white, light-theme: true),
caption: [Figure: Browser-side module needed: $dagger$: compiler; $dagger.double$: renderer. ],
numbering: none,
)
|
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/utilities/fit-to.md | markdown | ---
sidebar_position: 2
---
# Fit to height / width
感谢 [ntjess](https://github.com/ntjess) 的代码。
## Fit to height
如果你需要将图片占满剩余的 slide 高度,你可以来试试 `fit-to-height` 函数:
```typst
#utils.fit-to-height(1fr)[BIG]
```
函数定义:
```typst
#let fit-to-height(
width: none, prescale-width: none, grow: true, shrink: true, height, ... | |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/management_summary.typ | typst | #set heading(
outlined: false,
numbering: none,
)
== Ausgangslage
== Aufgabenstellung
== Vorgehen
== Technologien
== Analyse
== Umsetzung
== Ausblick
| |
https://github.com/19pdh/suplement-sprawnosci | https://raw.githubusercontent.com/19pdh/suplement-sprawnosci/master/suplement.typ | typst | #import "style.typ": proba
#set document(
author: "<NAME>",
title: "Suplement sprawności",
)
#show heading: it => [
#set text(1.4em, weight: "bold")
#block(it.body)
]
#set par(justify: true)
#set text(
font: "Century Gothic",
size: 11pt
)
#set align(center + horizon)
= Suplement sprawności
IV <NAME> “Rot... | |
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/Build%20Entry/Intake-Sleds-Battery-Mount.typ | typst | //notebook start
//Note: "\" adds a line between text
#set page(header: [ VR
#h(1fr)
October 27, 2023
])
= INTAKE SLEDS + BATTERY MOUNT
\
== Stand-Up Notes
#let cell = rect.with(
inset: 8pt,
fill: rgb("#E3E3E3"),
width: 100%,
radius: 10pt
)
#grid(
columns: (170pt, 170pt, 170pt),
rows: (80pt, 80pt),
... | |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/appendix/examples/main.typ | typst | = Beispiele
== AC-Laufzeit beim Inkrementieren <ex-average-case>
Sei $A$ der Algorithmus, der eine binäre Zahl der Länge $n$ um 1 erhöht.
Es gibt $|Sigma^n| = 2^n$ binäre Zahlen der From ${0, 1}^n$.
$
T^"AC"_A (n) &= 1/2^n sum_(x in {0, 1}^n) T(x) \
$
Beim inkrementieren wird jede 1 am Ende zu einer Null, und ansc... | |
https://github.com/PA055/5839B-Notebook | https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/Game_Discussion/post_reveal.typ | typst | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "<EDP Stage>: <your title here>",
type: "identify",
date: datetime(year: 1982, month: 1, day: 1),
author: "<NAME>",
witness: "<NAME>",
)
Write your content here. | |
https://github.com/azzamsa/cv-template | https://raw.githubusercontent.com/azzamsa/cv-template/master/cv.typ | typst | Apache License 2.0 | #import "utils.typ"
// set rules
#let setrules(uservars, doc) = {
set text(
font: uservars.bodyfont,
size: uservars.fontsize,
hyphenate: false,
)
set list(spacing: uservars.linespacing)
set par(
leading: uservars.linespacing,
justify: true,
)
doc
}
// show rules
#let showrules(userv... |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/DecimoSprint.typ | typst | MIT License | #import "../../functions.typ": glossary
=== Decimo #glossary[sprint]
*Inizio*: Venerdì 16/02/2024
*Fine*: Giovedì 22/02/2024
*Obiettivi dello #glossary[sprint]*:
- Proseguire la stesura del _Piano di Progetto_:
- Aggiornare pianificazione e preventivo pertinenti allo #glossary[sprint] 10 e inserire il consu... |
https://github.com/astro-group-bristol/paper-management | https://raw.githubusercontent.com/astro-group-bristol/paper-management/main/presentation/main.typ | typst | Other | #import "@preview/polylux:0.3.1": *
#import "tamburlaine.typ": *
#let HANDOUT_MODE = false
#enable-handout-mode(HANDOUT_MODE)
#show: tamburlaine-theme.with(aspect-ratio: "4-3")
#show link: item => underline(text(blue)[#item])
#let COLOR_CD = color.rgb("#56B4E9")
#let COLOR_REFL = color.rgb("#D55E00")
#let COLOR_CONT... |
https://github.com/ufodauge/master_thesis | https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/main-section/index.typ | typst | MIT License | #import "../common/page.typ" : Page
#import "../common/heading.typ": H1, H2, H3-6
#import "../../constants/page.typ": PAGE_NUMBERING_MAIN
#let MainSection(
references: none,
body
) = [
#set page(numbering: PAGE_NUMBERING_MAIN)
#counter(page).update(1)
#let NUMBERING_H1 = "第1章"
#let NUMBERING_H2-6 =... |
https://github.com/Dav1com/minerva-report-fcfm | https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/minerva-report-fcfm.typ | typst | MIT No Attribution | /// Esta función permite obtener ayuda sobre cualquier función
/// del template. Para saber qué funciones y variables define
/// el template simplemente deja que el autocompletado te guíe,
/// luego puedes llamar esta función para obtener más ayuda.
///
/// - nombre (str): Puede ser el nombre de una función o
/// ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/showybox/0.2.0/showy.typ | typst | Apache License 2.0 | /*
* ShowyBox - A package for Typst
* <NAME> (c) 2023
*
* showy.typ -- The package's main file containing the
* public and (more) useful functions
*
* This file is under the MIT license. For more
* information see LICENSE on the package's main folder.
*/
/*
* Function: showybox()
*
* Descrip... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-circle-04.typ | typst | Other | // Radius wins over width and height.
// Error: 23-34 unexpected argument: width
#circle(radius: 10pt, width: 50pt, height: 100pt, fill: eastern)
|
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/dear/src/statement.typ | typst | MIT License | //
// Preamble
//
#import "../../rolo/rolo.typ": *
#let statement(
sender: author(),
logo: none,
title: "Statement of Purpose",
date: datetime.today().display("[month repr:long] [day], [year]"),
divider: true,
theme: black,
header: none,
footer: none,
body,
) = {
set stack(spacing: 1em)
set... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/anatomy/0.1.0/lib.typ | typst | Apache License 2.0 | #let metrics(
size, typeface,
_text,
top-edges: ( "ascender", "cap-height", "x-height", "baseline" ),
bottom-edges: ( "descender", ),
typeset: ((:)) => []
) = style(styles => {
let edges = top-edges + bottom-edges
let get-metric(edge, above-baseline: true) = {
let frame = measure(text(
size,
... |
https://github.com/pta2002/typst-timeliney | https://raw.githubusercontent.com/pta2002/typst-timeliney/main/timeliney.typ | typst | MIT License | #import "@preview/cetz:0.2.2": canvas, draw, coordinate, util
#let timeline(
body,
spacing: 5pt,
show-grid: false,
grid-style: (stroke: (dash: "dashed", thickness: .5pt, paint: gray)),
tasks-vline: true,
line-style: (stroke: 3pt),
milestone-overhang: 5pt,
milestone-layout: "in-place",
box-milestones:... |
https://github.com/fywc/Resume_Template | https://raw.githubusercontent.com/fywc/Resume_Template/main/README.md | markdown | # Resume Template
A resume template written in typst, designed for zh_CN.
## How to use
Create a project on [typst.app](https://typst.app/), then copy and paste everything in `main.typ` and `template.typ`, and all done!
Online [preview](https://typst.app/project/rL4K5AXmR67yYXwlws9nh5). (The first compilation may be ... | |
https://github.com/cnaak/blindex.typ | https://raw.githubusercontent.com/cnaak/blindex.typ/main/lib.typ | typst | MIT License | //============================================================================================//
// Includes //
//============================================================================================//
#import "./books.typ": iBoo,... |
https://github.com/coco33920/.files | https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/moderncv.typst/README.md | markdown | # ModernCV for Typst
* [How to use](#how-to-use)
* [Examples](#examples)
* [How to customize colors](#how-to-customize-colors)

This is a [typst](https://github.com/typst/typst) template inspired by LaTeX's [moderncv](https://github.com/moderncv/moderncv).
Currently it features a ver... | |
https://github.com/augustebaum/tenrose | https://raw.githubusercontent.com/augustebaum/tenrose/main/examples/filerender.typ | typst | MIT License | #import "@preview/diagraph:0.2.2": *
#render(read("./filerender.dot"))
|
https://github.com/Wybxc/typst-nix | https://raw.githubusercontent.com/Wybxc/typst-nix/main/examples/handout.typ | typst | Apache License 2.0 | #import "@local/handout:0.2.0": *
#show: project.with(
title: "Handout 01",
authors: (
"Wybxc",
),
date: "September 2023",
)
= Bounded Subset Sum
== (a)
Consider the case where $a_1 = 1/(1+ρ) C, a_2 = a_3 = dots.c = (1+ρ)/(2+ρ) C$. In this case, we have $a_1 + a_2 > C$, so according to the greedy algori... |
https://github.com/fsr/rust-lessons | https://raw.githubusercontent.com/fsr/rust-lessons/master/src/lesson3.3.typ | typst | #import "slides.typ": *
#show: slides.with(
authors: ("<NAME>", "<NAME>"), short-authors: "H&A",
title: "Wer rastet, der rostet", short-title: "Rust-Kurs Lesson 3", subtitle: "Ein Rust-Kurs für Anfänger",
date: "Sommersemester 2023",
)
#show "theref": $arrow.double$
#show link: underline
#new-section("O... | |
https://github.com/chrischriscris/Tareas-CI5651-EM2024 | https://raw.githubusercontent.com/chrischriscris/Tareas-CI5651-EM2024/main/skel2/src/template.typ | typst | #let conf(font: "CMU Concrete", math_font: "Neo Euler", title, doc) = {
// Document configuration
set document(title: [#title], author: "<NAME>")
set page(margin: 2cm, numbering: "1")
// Style configuration
set text(font: font, lang: "es")
show raw: set text(font: "JetBrains Mono")
show math.equation: se... | |
https://github.com/arthurcadore/eng-telecom-workbook | https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/DLP2/project1/project.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#import "@preview/codelst:2.0.1": sourcecode
#show heading: set block(below: 1.5em)
#show par: set block(spacing: 1.5em)
#set text(font: "Arial", size: 12pt)
#show: doc => report(
title: "Dispositivos Lógicos Progamáveis II",
subtitle: "Consumo de área em bin2bcd e co... |
https://github.com/silverling/resume | https://raw.githubusercontent.com/silverling/resume/main/resume.typ | typst | #import "template.typ": *
#show: resume.with(
name-zh: [凌少鹏],
name-en: [ShaopengLing],
wechat: [this-silver-ling],
email: [#link("mailto:<EMAIL>")[<EMAIL>]],
phone: [18580098284],
github: [#link("https://github.com/silverling")[github.com/silverling]],
avatar: "imgs/id_white.jpg"
)
= 教育背景
西安电子科技大学 #h(2... | |
https://github.com/francescoo22/kt-uniqueness-system | https://raw.githubusercontent.com/francescoo22/kt-uniqueness-system/main/src/annotation-system/rules/relations.typ | typst | #import "../../proof-tree.typ": *
#import "../../vars.typ": *
// ************** Annotations Relations **************
#let A-id = prooftree(
axiom($$),
rule(label: "A-Id", $alpha beta rel alpha beta$),
)
#let A-trans = prooftree(
axiom($alpha beta rel alpha' beta'$),
axiom($alpha' beta' rel alpha'' beta''$),
... | |
https://github.com/AlvaroRamirez01/Analisis_de_Algoritmos_2024-1 | https://raw.githubusercontent.com/AlvaroRamirez01/Analisis_de_Algoritmos_2024-1/master/Tarea_05_Busquedas/Tarea05.typ | typst | #import "conf.typ": *
#import "@preview/algorithmic:0.1.0"
#import algorithmic: *
#import "@preview/lovelace:0.1.0": *
#show: doc => conf(
materia: "Análisis de Algoritmos",
tarea: "Tarea 5: Búsquedas.",
profesor: (
nombre: "<NAME>",
sexo: "F",
),
ayudantes: (
"<NAME>",
"<NAME>"
),
alumno... | |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0016.typ | typst | #import "../helpers.typ": *
#import "../solutions/s0016.typ": *
= 3Sum Closest
Given an integer array `nums` of length `n` and an integer `target`, find three integers in `nums` such that the sum is closest to `target`.
Return the sum of the three integers.
You may assume that each input would have exactly one solu... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/relative.typ | typst | --- relative-fields ---
// Test relative length fields.
#test((100% + 2em + 2pt).ratio, 100%)
#test((100% + 2em + 2pt).length, 2em + 2pt)
#test((100% + 2pt).length, 2pt)
#test((100% + 2pt - 2pt).length, 0pt)
#test((56% + 2pt - 56%).ratio, 0%)
| |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/013_Episode%208%3A%20Wrenn%20and%20Eight.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 8: Wrenn and Eight",
set_name: "March of the Machine",
story_date: datetime(day: 24, month: 04, year: 2023),
author: "<NAME>",
doc
)
Wrenn used to think that no matter where she went, she'd always be home. Hard to argue otherwise fo... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/springer-spaniel/0.1.0/src/package/board-n-pieces.typ | typst | Apache License 2.0 | #import "@preview/board-n-pieces:0.4.0": *
#let board = board.with(
white-square-fill: white,
highlighted-white-square-fill: rgb("#aee9da"),
black-square-fill: luma(50%),
highlighted-black-square-fill: rgb("#326b67"),
arrow-stroke: .35em + green,
stroke: 0.5pt,
display-numbers: true,
square-size:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.