repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/03-unicode/icu.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/template/util.typ"
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## ICU
== ICU 程序库
// For those of you reading this book because you're planning on developing applications or libraries to handle comp... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/lexical_hierarchy/destructing.typ | typst | Apache License 2.0 | #let (a, b) = (1, 1);
#let (a, b) = (b, a); |
https://github.com/jneug/typst-tools4typst | https://raw.githubusercontent.com/jneug/typst-tools4typst/main/README.md | markdown | MIT License | # Tools for Typst (v0.3.2)
> A utility package for typst package authors.
**Tools for Typst** (`t4t` in short) is a utility package for [Typst](typst/typst) package and template authors. It provides solutions to some recurring tasks in package development.
The package can be imported or any useful parts of it copied... |
https://github.com/peng1999/typst-pyrunner | https://raw.githubusercontent.com/peng1999/typst-pyrunner/main/test/example.typ | typst | MIT License | #import "@local/pyrunner:0.0.1" as py
#let compiled = py.compile(
```python
def find_emails(string):
import re
return re.findall(r"\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\b", string)
def sum_all(*array):
return sum(array)
def add(a, b):
return f'{a+b=}'
```)
#let txt = "My email address is... |
https://github.com/Meisenheimer/Notes | https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/Combinatorics.typ | typst | MIT License | #import "@local/math:1.0.0": *
= Combinatorics
== Generating function
== Inclusion–exclusion principle
== Special Numbers
=== Catalan number
=== Stirling number |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/hint-02.typ | typst | Other | #{
// Error: 3-6 unknown variable: a-1 – if you meant to use subtraction, try adding spaces around the minus sign.
a-1 = 2
}
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Single ticks should not have a language.
`rust let`
|
https://github.com/saYmd-moe/note-for-statistical-mechanics | https://raw.githubusercontent.com/saYmd-moe/note-for-statistical-mechanics/main/contents/PartII/Chp07.typ | typst | #import "../../template.typ": *
== 统计系综理论
=== 系综 几率密度和刘维尔定理
==== 系综和几率密度
一个自由度为 $s$ 的力学系统,其微观状态可以使用 $2 s$ 个变量($s$ 个广义坐标和 $s$ 个广义动量)来描述:$
q_1,dots.c,q_s,p_1,dots.c,p_s
$在经典力学中,系统的一个微观状态由相空间中的一个点来表示,遵从正则方程;在量子力学中,系统的一个微观态就是一个量子态,遵从 _Schrödinger_ 方程。
接下来我们引入*系综*的概念。在统计力学中,我们认为对系统宏观量的一次测量所需的时间尺度远大于微观状态发生变化的时间尺度,因此对宏观量... | |
https://github.com/morrisfeist/cvgen | https://raw.githubusercontent.com/morrisfeist/cvgen/master/template/sidebar.typ | typst | MIT License | #import "data.typ": data
#import "theme.typ": theme
#let photo = if data.photo != "" [
#image(data.photo, width: 100%)
] else [
#block(
width: 100%,
height: 25%,
fill: gradient.linear(theme.primary, theme.secondary, angle: 305deg),
)[
#align(center + horizon)[
#text(size: 16pt, fill: theme.... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/seminars/2024-09-16.typ | typst | = Условная вероятность
Обозначение $A$ при $B$: $P(A|B)$ или $P_B (A)$
$ P(A) P(B|A) = P(A B) = P(B) P(A|B) $
= Гипотезы
Формула полной вероятности: $ P(A) = sum^n_(j = 1) P(H_j) P(A|H_j) $
Формула Баеса: $ P(H_i|A)
= (P(H_i)P(A|H_i)) / (sum^n_(j = 1) P(H_j) P(A|H_j))
= (P(H_i)P(A|H_i))/P(A) $
$H_i$ --- г... | |
https://github.com/DustVoice/dustypst | https://raw.githubusercontent.com/DustVoice/dustypst/main/lang_de.typ | typst | #import "langs.typ"
#import "dustypst.typ"
#let default_lang = langs.de
#let pkgtable(core: "", extra: "", /*community: "",*/ aur: "", multilib: "", groups: "") = pkgtable_(lang: default_lang, core: "", extra: "", /*community: "",*/ aur: "", multilib: "", groups: "")
#let note(content) = dustypst.note(lang: default_l... | |
https://github.com/GolemT/BA-Template | https://raw.githubusercontent.com/GolemT/BA-Template/main/template.typ | typst | #import "lib/glossar-lib.typ": *
#import "lib/acronym-lib.typ": *
#import "glossar.typ": Glossar
#import "acronyms.typ": Acronyms
#import "lib/shared-lib.typ": comment, todo
#let project(
//Settings der Template
title: "Projektarbeit an der Berufsakademie Rhein-Main",
authors: (
(name: "Student", Matrikelnum... | |
https://github.com/galaxia4Eva/galaxia4Eva | https://raw.githubusercontent.com/galaxia4Eva/galaxia4Eva/main/notes/reading-lists/Working%20Environment.md | markdown | #plugins #reading-list
# Triage
1. https://twitter.com/amasad/status/1663332051582619648?s=12
2. https://twitter.com/lisperati/status/1671304178705248256?s=20
3. https://colemak.com/FAQ
# tty
1. https://github.com/kovidgoyal/kitty
# cli
1. [fish shell](https://fishshell.com/)
2. https://github.com/elves/elvish
3. [G... | |
https://github.com/ymgyt/techbook | https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/specification/tuple.md | markdown | # Tuple
```typescript
function tuple(): [number, string, boolean] {
//...
return [1, "ok", true];
}
```
* `[]`の中に型を書くと、tupleになる
| |
https://github.com/huyufeifei/grad | https://raw.githubusercontent.com/huyufeifei/grad/master/docs/paper/src/ch1.typ | typst | = 引言
== 研究背景
操作系统的最初目的是调度硬件资源和促进计算机上多项任务的执行,而现在已经有了长足的发展。随着计算机硬件和软件的不断进步,出现了 Windows 和 Linux 等主流操作系统,其特点是包含了操作系统所需的大部分基本功能。然而,这种功能集成带来了潜在的安全漏洞,因为操作系统中的任何错误都可能导致整个系统崩溃。操作系统中错误的来源多样,可能由于用户的误操作带来负面影响,也可能有恶意攻击者对操作系统或其中的某些部分进行攻击。@y1
多用户操作系统的出现要求了操作系统对于用户进行的权限管理和隔离,以避免不同用户之间的相互影响。而多核处理器的出现与多线程操作系统又带来了新的攻击方式、新的安全问题和挑战。操作系统... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/123.%20organic.html.typ | typst | organic.html
Organic Startup Ideas
Want to start a startup? Get funded by
Y Combinator.
April 2010The best way to come up with startup ideas is to ask yourself the
question: what do you wish someone would make for you?There are two types of startup ideas: those that grow organically
out of your own life, and th... | |
https://github.com/mschulist/typst-table | https://raw.githubusercontent.com/mschulist/typst-table/master/README.md | markdown | A small website that assists in making typst tables from a spreadsheet.
Heavily inspired by [tablesgenerator.com](https://www.tablesgenerator.com/) | |
https://github.com/GYPpro/DS-Course-Report | https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/13.typ | typst | #import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx
#import "@preview/codelst:2.0.1": sourcecode
// Display inline code in a small box
// that retains the correct baseline.
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(230),
ins... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/op_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test styled operator.
$ bold(op("bold", limits: #true))_x y $
|
https://github.com/npujol/chuli-cv | https://raw.githubusercontent.com/npujol/chuli-cv/main/modules/section.typ | typst | MIT License | #import "styles.typ": *
#let create-section-title(
title
) = {
text(
size: section-style.title.size,
weight: section-style.title.weight,
fill: section-style.title.font-color,
title
)
h(section-style.margins.right-to-hline)
hline()
} |
https://github.com/pauladam94/curryst | https://raw.githubusercontent.com/pauladam94/curryst/main/README.md | markdown | MIT License | # Curryst
A Typst package for typesetting proof trees.
## Import
You can import the latest version of this package with:
```typst
#import "@preview/curryst:0.3.0": rule, proof-tree
```
## Basic usage
To display a proof tree, you first need to create a tree, using the `rule` function. Its first argument is the co... |
https://github.com/name1e5s/typst-font-awesome | https://raw.githubusercontent.com/name1e5s/typst-font-awesome/main/README.md | markdown | MIT License | # Font Awesome with Typst
## Usage
1. Download the font files from [Font Awesome](https://use.fontawesome.com/releases/v6.4.0/fontawesome-free-6.4.0-desktop.zip).
2. Unzip the downloaded file and install the fonts in the `otfs` folder to your system.
3. Copy the `fa.typ` file in this repository to your typst projec... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/emph-strong.typ | typst | // Test emph and strong.
--- emph-syntax ---
// Basic.
_Emphasized and *strong* words!_
// Inside of a word it's a normal underscore or star.
hello_world Nutzer*innen
// CJK characters will not need spaces.
中文一般使用*粗体*或者_楷体_来表示强调。
日本語では、*太字*や_斜体_を使って強調します。
中文中混有*Strong*和_Emphasis_。
// Can contain paragraph in nest... | |
https://github.com/herbertskyper/HITsz_Proposal_report_Template | https://raw.githubusercontent.com/herbertskyper/HITsz_Proposal_report_Template/main/templates/thesis.typ | typst | MIT License | #import "../theme/type.typ": *
#import "../utils/numbering.typ": *
#import "../utils/counters.typ": cover_end_before_counter, cover_end_after_counter
#let conf(content) = {
let show_if_after_cover_end_before(content) = {
locate(loc => {
if cover_end_before_counter.at(loc).first() > 0 {
content
... |
https://github.com/jijinbei/typst_template | https://raw.githubusercontent.com/jijinbei/typst_template/main/report/example/example.typ | typst | #import "../template.typ": *
#import "@preview/physica:0.9.0": *
#show: project.with(
title: "シャルピー衝撃試験レポート",
authors: (
"伊豆大学1年 今村 耕平",
),
date: true,
titlepage: true,
)
= 目的
#cbox([目的])[
本実験の主な目的は、特定の材料(例:鋼、アルミニウムなど)の衝撃エネルギー吸収能力を定量的に測定し、材料の特性を深く理解することです。
また、実験装置の安全性にも注目し、衝撃試験中の安全管理についての知見を深めることも目的... | |
https://github.com/EpicEricEE/typst-droplet | https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/src/util.typ | typst | MIT License | // Elements that can be split and have a 'body' field.
#let splittable = (strong, emph, underline, stroke, overline, highlight)
// Element function of spaces.
#let space = [ ].func()
// Converts the given content to a string.
#let to-string(body) = {
if type(body) == str {
body
} else if body.has("text") {
... |
https://github.com/sardorml/vantage-typst | https://raw.githubusercontent.com/sardorml/vantage-typst/main/README.md | markdown | MIT License | # Vantage Typst
An ATS friendly simple Typst CV template, inspired by [alta-typst by <NAME>](https://github.com/GeorgeHoneywood/alta-typst). See [`example.pdf`](example.pdf) for the rendered PDF output.

## Features
- **Two-column layout**: Experience on the left and other important detail... |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/report-week-5/contents/06-plan.typ | typst | = Tổng kết và kế hoạch tuần tới
Trong tuần, nhóm đã thực hiện phân tích các yêu cầu cho website và tìm kiếm các nguồn dữ liệu đáng tin cậy cho mô hình, cùng với đó phác thảo sơ đồ use-case cho hệ thống và đặc tả các use-case quan trọng.
Tuần tới, nhóm sẽ tiếp tục đặc tả các use-case còn lại để hoàn thiện phần phân tí... | |
https://github.com/El-Naizin/cv | https://raw.githubusercontent.com/El-Naizin/cv/main/modules_fr/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Expérience Professionnelle")
#cvEntry(
title: [Directeur de la Science des Données],
society: [XYZ Corporation],
date: [2020 - Présent],
location: [San Francisco, CA],
description: list(
[Diriger une équipe de scientifiques et d'analystes... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0008.typ | typst | #import "../helpers.typ": *
#let string-to-integer-ref(s) = {
let numerics = "0123456789"
let d = ("0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9)
let s = s.clusters()
let n = s.len()
let i = 0
let sign = 1
let ans = 0
while i < n and s.at(i) == " " {
i += 1
}
if... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/linear/components/decision-matrix.typ | typst | The Unlicense | #import "../colors.typ": *
#import "/utils.typ"
#let decision-matrix = utils.make-decision-matrix((properties, data) => {
let title-cell(body) = table.cell(
fill: surface-2,
inset: 0.8em,
text(size: 13pt, body),
)
let body-cell(total: false, highest: none, body) = table.cell(
fill: if highest ==... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/cover.typ | typst | Other | #import "template/consts.typ"
#import "template/util.typ"
#import "template/template.typ": web-page-template
#show: web-page-template
#set page(numbering: none) if util.is-pdf-target()
#set page(paper: "a4") if util.is-web-target()
#show: align.with(center)
#v(1fr)
#text(size: 3em, weight: "bold")[#consts.title]
... |
https://github.com/MALossov/YunMo_Doc | https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/template/appendix.typ | typst | Apache License 2.0 | #import "font.typ": *
#import "utils.typ": * |
https://github.com/remigerme/typst-polytechnique | https://raw.githubusercontent.com/remigerme/typst-polytechnique/main/polytechnique.typ | typst | MIT License | #import "page.typ"
#import "heading.typ"
#import "outline.typ"
#import "cover.typ"
#let apply(doc, despair-mode: false) = {
show: page.apply.with(despair-mode: despair-mode)
show: heading.apply
show: outline.apply
doc
} |
https://github.com/yonatanmgr/university-notes | https://raw.githubusercontent.com/yonatanmgr/university-notes/main/README.md | markdown | # סיכומי הרצאות - אוניברסיטת תל אביב
מוקלד ב-[Typst](https://typst.app).
| |
https://github.com/weihanglo/weihanglo.github.io | https://raw.githubusercontent.com/weihanglo/weihanglo.github.io/sources/resume/template.typ | typst | Other | #let cv(author: "", img: "", contacts: (), body) = {
set document(author: author, title: author)
show heading: it => [
#pad(bottom: -10pt, [#smallcaps(it.body)])
#line(length: 100%, stroke: 1pt)
]
if img.len() > 0 {
align(center)[#image(img, height: 3em)]
}
// Author
align(center)[
#blo... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/cancel_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Inline
$a + 5 + cancel(x) + b - cancel(x)$
$c + (a dot.c cancel(b dot.c c))/(cancel(b dot.c c))$
|
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/todo.typ | typst | #import "styles.typ" as sx
#import "util.typ" as ux
#let o = (0,0)
#let p34 = (3, 4)
#import "@preview/cetz:0.2.0"
#import cetz.draw as draw
#set text(size: 20pt)
#let block-stack(n) = {
box({
cetz.canvas({
let size = 20pt
for i in range(-n, n) {
draw.rect((0, i * size), (size, i * size))
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/bibliography_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 200pt)
#set heading(numbering: "1.")
#show bibliography: set heading(numbering: "1.")
= Multiple Bibs
Now we have multiple bibliographies containing @glacier-melt @keshav2007read
#bibliography(("/assets/files/works.bib", "/assets/... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week5.typ | typst | #import "../../utils.typ": *
#section("JHipster")
- Generator for complex applications
- angular, react, vue supported
- spring boot
- maven/gradle, npm
- postgres, mongodb, elasticsearch, cassandra, etc.
- monolith or microservices
- tsets, CI/CD, deployment
- User Management, Login, Registration
- CRUD f... | |
https://github.com/daskol/typst-templates | https://raw.githubusercontent.com/daskol/typst-templates/main/tmlr/appendix.typ | typst | MIT License | = Appendix
You may include other additional sections here.
|
https://github.com/chendaohan/bevy_tutorials_typ | https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/09_commands/commands.typ | typst | #set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3")
#set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei")
#set raw(theme: "themes/Material-Theme.tmTheme")
= 1. Commands (命令)
使用 Commands 从系统中生成/删除实体,添加/删除实体上的组件,管理资源。
```Rust
fn change_player(mut commands: Commands, players: Q... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/layout.typ | typst | --- layout-in-fixed-size-block ---
// Layout inside a block with certain dimensions should provide those dimensions.
#set page(height: 120pt)
#block(width: 60pt, height: 80pt, layout(size => [
This block has a width of #size.width and height of #size.height
]))
--- layout-in-page-call ---
// Layout without any conta... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/crates/reflexo-typst/README.md | markdown | Apache License 2.0 | # reflexo-typst
Bridge Typst to Web Rendering, with power of typst.
See [Typst.ts](https://github.com/Myriad-Dreamin/typst.ts)
|
https://github.com/qujihan/typst-book-template | https://raw.githubusercontent.com/qujihan/typst-book-template/main/example/README.md | markdown | # Quick Start
```shell
cd typst-book-template/example
typst c main.typ main.pdf --font-path ../fonts --root ../../
``` | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/05-group-theory/02-related-classes.typ | typst | Other | #import "../../utils/core.typ": *
== Смежные классы
#ticket(step-fn: x => x + 2)[Левые и правые смежные классы. Индекс подгруппы]
#denote[
Пусть $H < G$.
Будем писать $g_1 sim g_2$ для $g_1, g_2 in G$, если $g_2 = g_1 h$, где $h in H$. Равносильно, если $g_1^(-1) g_2 in H$.
]
#lemma[
$sim$ --- отношени... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/bibliography-ordering_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 300pt)
@mcintosh_anxiety
@psychology25
@netwok
@issue201
@arrgh
@quark
@distress,
@glacier-melt
@issue201
@tolkien54
@sharing
@restful
#bibliography("/assets/files/works.bib")
|
https://github.com/pryhodkin/cv | https://raw.githubusercontent.com/pryhodkin/cv/master/cv.typ | typst | #import "template.typ": cv_heading, cv_section, cv_skillset, cv_entry
#set page(
paper: "a4",
margin: (top: 1.5cm, right: 1.5cm, bottom: 1cm, left: 1.5cm),
// fill: rgb("#e0e0e0"),
)
#set text(
font: ("CMU Serif"),
size: 0.8em,
)
#let author = "<NAME>"
#let title = "DevOps Engineer"
#let github = "pryhodki... | |
https://github.com/tony-rsa/thonifho.muhali.cv | https://raw.githubusercontent.com/tony-rsa/thonifho.muhali.cv/main/src/template.typ | typst | MIT License | #import "@preview/fontawesome:0.1.0": *
// Personal Information
#let firstName = (
"en": "Georgii (Jora)",
"ru": "Георгий (Жора)",
)
#let lastName = (
"en": "Troosh",
"ru": "Труш",
)
#let handle = "tensorush"
#let personalInfo = (
site: handle,
email: handle,
github: handle,
telegram: handle... |
https://github.com/tingerrr/masters-thesis | https://raw.githubusercontent.com/tingerrr/masters-thesis/main/src/figures/listings.typ | typst | #import "util.typ": *
//
// t4gl
//
#let t4gl-ex-array1 = ```t4gl
String[Integer] map
map[42] = "Hello World!"
String[Integer, Integer] nested
nested[-1, 37] = "T4gl is wacky!"
String[10] staticArray
staticArray[9] = "Truly wacky!"
```
#let t4gl-ex-array2 = ```t4gl
String[10] a1
String[10] a2 = a1
array1[0] = "He... | |
https://github.com/ludwig-austermann/modpattern | https://raw.githubusercontent.com/ludwig-austermann/modpattern/main/main.typ | typst | MIT License | /// currently the only function which creates the corresponding pattern
/// - size is the as size for patterns
/// - body is the inside/body/content of the pattern
/// - dx, dy allow for translations
/// - background allows any type allowed in the box fill argument. It gets applied first
#let modpattern(size, body, dx:... |
https://github.com/jneug/typst-codetastic | https://raw.githubusercontent.com/jneug/typst-codetastic/main/codetastic.typ | typst | MIT License |
#import "bits.typ"
#import "bitfield.typ"
#import "util.typ"
#import "checksum.typ"
#import "ecc.typ"
/// Encode a digit into seven bits according to the
/// EAN-13 standard.
/// Each digit is encoded into seven bits via one
/// of three encoding tables, determined by
/// #arg[i] and #arg[odd].
#let ean13-encode( i,... |
https://github.com/peterw16/da_typst_vorlage | https://raw.githubusercontent.com/peterw16/da_typst_vorlage/main/main.typ | typst | #import "template/template.typ": *
#show: diplomarbeit.with(
title: "Hunting Shadows",
aufgabenstellungen: (
// infos <NAME>
(
schüler: "<NAME>",
betreuer: "Prof. Dr.DI <NAME>, Prof. DI <NAME>, MBA",
aufgabe: "Web-Development3, Frontend, Backend, Produktvideo",
arbeitsaufteilung: [
... | |
https://github.com/storopoli/Bayesian-Statistics | https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/backup_slides.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#import "utils.typ": *
#new-section-slide("Backup Slides")
#slide(title: [How the Normal distribution arose
#footnote[Origins can be traced back to Abraham de Moivre in 1738. A better explanation
can be found by
#link(
"http://www.stat.yale... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/148.%20hw.html.typ | typst | hw.html
The Hardware Renaissance
Want to start a startup? Get funded by
Y Combinator.
October 2012One advantage of Y Combinator's early, broad focus is that we
see trends before most other people. And one of the most conspicuous
trends in the last batch was the large number of hardware startups.
Out of 84 comp... | |
https://github.com/boladouro/ME | https://raw.githubusercontent.com/boladouro/ME/main/2/relatorio/relatorio.typ | typst | // Falta o cabeçalho
#import "template.typ": *
#show: project
#v(20pt)
#align(center, text(17pt)[
*Passeio Aleatório: Comentário Curto*
])
#grid(
columns: (1fr, 1fr),
align(center)[
<NAME> \
105289, CDC2 \
#link("mailto:<EMAIL>")
],
align(center)[
Dr. <NAME> \
Artos Institute \
#link(... | |
https://github.com/jneug/typst-mantys | https://raw.githubusercontent.com/jneug/typst-mantys/main/src/mantys.typ | typst | MIT License | #import "@preview/hydra:0.4.0": hydra
// Import main library functions
#import "./mty.typ"
// Import t4t functions
#import "./mty.typ": is-none, is-auto, is, def
// Import main user api
#import "api.typ"
#import "./api.typ": *
#import "./theme.typ"
// Import tidy theme
#import "./mty-tidy.typ"
/// Generate the def... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2015/MS-11.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [<NAME>], [CHN], [3625],
[2], [<NAME>], [CHN], [3404],
[3], [XU Xin], [CHN], [3345],
[4], [OVTCHAROV Dimitrij], [GER... | |
https://github.com/stuxf/basic-typst-resume-template | https://raw.githubusercontent.com/stuxf/basic-typst-resume-template/main/src/resume.typ | typst | The Unlicense | #let resume(
author: "",
pronouns: "",
location: "",
email: "",
github: "",
linkedin: "",
phone: "",
personal-site: "",
accent-color: "#000000",
font: "New Computer Modern",
body,
) = {
// Sets document metadata
set document(author: author, title: author)
// Document-wide formatting, inclu... |
https://github.com/kadykov/tagsnuage | https://raw.githubusercontent.com/kadykov/tagsnuage/main/README.md | markdown | MIT License | # tagsnuage
Tag cloud for typst
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/modern-russian-dissertation/0.0.1/template/parts/intro.typ | typst | Apache License 2.0 | #import "@preview/modern-russian-dissertation:0.0.1": *
#set heading(numbering: none)
= Введение <intro> // Название и ссылка на него
*Актуальность* Обзор, введение в тему, место в мировой науке.
Данные для диссертации и автореферата берутся из файла `common/data.typ`.
*Целью* данной работы является ...
Для до... |
https://github.com/kpindur/rinko.typst | https://raw.githubusercontent.com/kpindur/rinko.typst/main/rinko.typ | typst | MIT License | #let maketitle(
title: [Default Title],
title_fontsize: 17pt,
corners: ()
) = {
let top-left = corners.at(0)
let top-right = corners.at(1)
let bot-left = corners.at(2)
let bot-right = corners.at(3)
rect()[
#align( left + horizon, [ #top-left #h(1fr) #top-right] )
#set align(center)
#text... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas6/6_Sobota.typ | typst | #let V = (
"HV": (
("","Vsjú otložívše","Christóvych strastéj po stopám choďá vsé múčeničeskoje soslóvije, krípko zájde k podvihóm mnóhim, i tohó pred nečestívymi mučíteli, i bezzakónnymi carí Bóha propovídaša, i mnóhi múki preterpíša, póčesti čájušče nebésnyja vosprijáti. íchže nýňi víďašče rádujutsja, i so vsím... | |
https://github.com/kokkonisd/typst-phd-template | https://raw.githubusercontent.com/kokkonisd/typst-phd-template/main/src/fonts.typ | typst | The Unlicense | #let MAIN_FONT = "Albert Sans"
#let CODE_FONT = "Inconsolata"
|
https://github.com/FlyinPancake/bsc-thesis | https://raw.githubusercontent.com/FlyinPancake/bsc-thesis/main/thesis/pages/glossary.typ | typst | #import "@preview/glossarium:0.2.4": print-glossary
#page[
= Glossary
#print-glossary(
(
(
key: "crd",
short: "CRD",
long: "Custom Resource Definition",
desc: [A CRD is a Kubernetes resource that allows you to define your own custom
resources. Kubernetes operators use CRDs to exten... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue17.typ | typst | Other | $n(a)^(b)$
$a_1(x)$
$a_f(x)$
$sum_(j = 0)^3$
$sum^3_(j = 0)$
$sum_3^(j = 0)$
$sum^(j=0)_3$
$sum_(j=0)^pi$
$sum^pi_(j=0)$
|
https://github.com/catg-umag/inach-workshop-2024 | https://raw.githubusercontent.com/catg-umag/inach-workshop-2024/main/document/sections/3_quality.typ | typst | #import "@preview/gentle-clues:1.0.0": *
#import "../catgconf.typ": cmd, github-pill, doi-pill
= Control y Filtros de Calidad
El control de calidad es una fase fundamental en el análisis de datos de secuenciación, especialmente en tecnologías de tercera generación debido a su mayor tasa de error. Entre las tareas má... | |
https://github.com/qujihan/typst-book-template | https://raw.githubusercontent.com/qujihan/typst-book-template/main/template/parts/cover.typ | typst | #import "../params.typ": *
#let show-cover(book-title, author) = [
#set page(
paper: "a4",
margin: (x: 0pt, y: 0pt),
header: none,
footer: none,
background: none,
fill: white,
)
#align(
center + horizon,
block(width: 100%, height: 30%, fill: gray.transparentize(40%))[
#text... | |
https://github.com/Ombrelin/adv-java | https://raw.githubusercontent.com/Ombrelin/adv-java/master/Slides/0-intro.typ | typst | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#show: clean-theme.with(
logo: image("images/efrei.jpg"),
footer: [<NAME>, EFREI Paris],
short-title: [EFREI LSI L3 ALSI62-CTP : Java Avancé],
color: rgb("#EB6237")
)
#title-slide(
title: [Java Avancé],
subtitle: [Cours 0 : Présentation],
auth... | |
https://github.com/SkiFire13/master-thesis | https://raw.githubusercontent.com/SkiFire13/master-thesis/master/chapters/background/3-fixpoint-system.typ | typst | #import "../../config/common.typ": *
== Systems of fixpoint equations
We will now define what is a system of fixpoint equations and what is its solution, following the definition given in @baldan_games. Intuitively this will be very similar to a normal system of equations, except for the fact that each equation is in... | |
https://github.com/stuPETER12138/Tymplates | https://raw.githubusercontent.com/stuPETER12138/Tymplates/main/just_for_fun/simpleone.typ | typst | MIT License | // a simple template for 劳动教育(或其他
#let indent = h(2em)
#let sb = bibliography
#let conf(
title: none,
author: (),
abstract: [],
doc,
bibliography: none,
) = {
set page(
paper: "a4",
numbering: "1",
)
set par(justify: true)
set text(
font: "SimSun", // 宋体
size: 12pt, // 小四号字
)
se... |
https://github.com/3w36zj6/textlint-plugin-typst | https://raw.githubusercontent.com/3w36zj6/textlint-plugin-typst/main/test/fixtures/Emphasis/input.typ | typst | MIT License | _emphasis_
_ a b c _
\
This is _emphasized_.
|
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/planning/main.typ | typst | #import "@preview/grape-suite:1.0.0": exercise
#import exercise: project, task, subtask
#show: project.with(
title: "Project Planning P3",
university: [Aalborg University],
institute: [Datalogiske Institut],
seminar: [3. Semester],
author: "",
show-solutions: false
)
= Gruppekontrakt
== Mø... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/feature/language.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book-page.with(title: "Tinymist Language and Editor Features")
#include "language-content.typ"
|
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/mod.typ | typst | MIT License | #import "../../lib/mod.typ": *
= Methodology <methodology>
This section covers the methodology and work produced as part of the thesis. The different work items related to each hypothesis in @intro-research-hypothesis, will be presented in turn.
All work on the reproduction part is done by assessment of the openly a... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/mathe/main.typ | typst | = Mathematische Grundlagen
== Fibonacci-Folge
Eine _Differenzengleichung_ der Ordnung $k$ definiert jedes Glied $x_n$ einer Folge in Abhängigkeit der Vorgänger $x_(n-1), x_(n-2), ..., x_(n-k)$. Es müssen $k$ Initialwerte definiert werden, sodass die Rekursion beendet werden kann.
$
x_n = f(n, x_(n-1), x_(n-2), ..., ... | |
https://github.com/An-314/typst-templates | https://raw.githubusercontent.com/An-314/typst-templates/main/README.md | markdown | 这是AnZrew的typst模板,希望能够涵盖一般作业、实验、笔记等的需求。
# 使用方法
## 放在同一文件夹下
将`template.typ`放入同文件夹,并且在撰写的文档中使用
```typst
#import "template.typ": *
```
即可使用模板。
## 放置本地的Local packages中
也可以将改文件配置到本地的packages仓库中,参考[官方文档](https://github.com/typst/packages?tab=readme-ov-file#local-packages)。放置在`%APPDATA%\typst\packages\local\mytemplate\1.0... | |
https://github.com/hyskr/touying-bjtu | https://raw.githubusercontent.com/hyskr/touying-bjtu/main/examples/main.typ | typst | MIT License | #import "@preview/cetz:0.2.2"
#import "@preview/fletcher:0.4.5" as fletcher: node, edge
#import "@preview/touying:0.4.2": *
#import "../lib.typ" as bjtu-theme
// cetz 和 fletcher 绑定到 touying
#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))
#let fletcher-diagram = to... |
https://github.com/QuadnucYard/pavemat | https://raw.githubusercontent.com/QuadnucYard/pavemat/main/examples/logo.typ | typst | MIT License | #import "../src/lib.typ": pavemat
#let logo = {
set math.mat(row-gap: 0.25em, column-gap: 0.1em)
set text(size: 2em)
pavemat(
pave: (
"SDS(dash: 'solid')DDD]WW",
(path: "sdDDD", stroke: aqua.darken(30%))
),
stroke: (dash: "dashed", thickness: 1pt, paint: red),
fills: (
"0-0": g... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/collection.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## Font Collections
== 字体集
// In OpenType, each instance of a font's family lives in its own file. So <NAME>'s Minion Pro family - available in two widths, four we... |
https://github.com/a-kkiri/CUMCM-typst-template | https://raw.githubusercontent.com/a-kkiri/CUMCM-typst-template/main/template/main.typ | typst | Apache License 2.0 | #import "../lib.typ": *
#show: thmrules
#show: cumcm.with(
title: "全国大学生数学建模竞赛 Typst 模板",
problem-chosen: "A",
team-number: "1234",
college-name: " ",
member: (
A: " ",
B: " ",
C: " ",
),
advisor: " ",
date: datetime(year: 2024, month: 9, day: 8),
cover-display: true,
abstract: [
... |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/knowledge/groups.typ | typst | #import "../cfg.typ": cfg
#show: cfg
= Groups
A group $:=$ a monoid where all elements are invertible.
A group is abelian $:=$ it's commutative.
A general linear group over a ring $R$ of an order $n :=
op("GL"_n) R :=
{A in op(L_n) R mid(|) det A != 0}$.
A special linear group over a ring $R$ of an order $n :=
op("... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/board-n-pieces/0.1.0/chess-sym.typ | typst | Apache License 2.0 | #let pawn = symbol(
("filled", "♟"),
("stroked", "♙"),
("white", "♙"),
("black", "♟"),
)
#let knight = symbol(
("filled", "♞"),
("stroked", "♘"),
("white", "♘"),
("black", "♞"),
)
#let bishop = symbol(
("filled", "♝"),
("stroked", "♗"),
("white", "♗"),
("black", "♝"),
)
#let rook = symbol(
... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-18.typ | typst | Other | // Error: 2-24 array index out of bounds (index: -4, len: 3)
#(1, 2, 3).slice(0, -4)
|
https://github.com/jxpeng98/typst-coverletter | https://raw.githubusercontent.com/jxpeng98/typst-coverletter/main/CHANGELOG.md | markdown | MIT License | ## Update
- Update typst-fontawesome to 0.5.0
- Work with Typst 0.12.0
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-07.typ | typst | Other | // Test raw features.
#text(features: ("smcp",))[Smcp] \
fi vs. #text(features: (liga: 0))[No fi]
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/yagenda/0.1.0/template/main.typ | typst | Apache License 2.0 | #import "@preview/yagenda:0.1.0": *
#show: agenda.with(
name: "Pumpkins and peanuts committee",
date: "03/01/2000",
time: "2 pm",
location: "baseball field",
invited: [Sally, Shroeder, Pig-pen, Marcie]
)
// load external yaml
#let topics = yaml("agenda.yaml")
// alternative: embed yaml in-place
// #let... |
https://github.com/ckunte/m-one | https://raw.githubusercontent.com/ckunte/m-one/master/inc/unconditional.typ | typst | = Unconditional
Some years ago, while fixing an _UnboundLocalError_ in my code, I realised that I tint my scripts unconsciously with cyclomatic complexity --- an avoidable habit I picked up as a young engineer. Back then, time-sharing was still very much a necessity, and so I would spend much of my time buckling-down ... | |
https://github.com/ashl3y-v/cv | https://raw.githubusercontent.com/ashl3y-v/cv/main/cv.typ | typst | #show text: set text(font: "EB Garamond")
#show link: underline
#show link: set text(fill: rgb("#318CE7"))
#set list(indent: 4pt, marker: [--])
= <NAME>
#link("mailto:<EMAIL>")[`<EMAIL>`] | #link("mailto:<EMAIL>")[`<EMAIL>`] | `480-869-2096` | #link("https://github.com/ashl3y-v")[`ashl3y-v`] on Github
== Education
... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/保研/PPT(16-9)/main.typ | typst | #import "@preview/touying:0.4.0": *
#import "university.typ"
#import "@preview/pinit:0.1.4": *
// #import "@preview/grayness:0.1.0":*
#let data=yaml("./example.yml")
// 设置16比9的幻灯片
#let s = university.register(aspect-ratio: "16-9")
#let s = (s.methods.info)(
self: s,
title: [#data.标题页.主标题 ],
subtitle: [#data.标题页.... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-rect-03.typ | typst | Other | // Error: 15-21 expected length, color, dictionary, stroke, none, or auto, found array
#rect(stroke: (1, 2))
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-08.typ | typst | Other | // Error: 8-10 expected at least one variant
#symbol()
|
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week11.typ | typst | #import "../../utils.typ": *
#section("PWA")
- "native" applications on the web
- cross platform, obviously
#subsection("Firebase")
- from google
- serverless stuff
- E2E testing with cypress
#align(
center,
[#image("../../Screenshots/2023_11_30_06_42_09.png", width: 80%)],
)
#columns(2, [
#text(green)[Benefit... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056%20-%20Outlaws%20of%20Thunder%20Junction/008_A%20Pleasant%20Family%20Outing.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"A Pleasant Family Outing",
set_name: "Outlaws of Thunder Junction",
story_date: datetime(day: 21, month: 03, year: 2024),
author: "<NAME>",
doc
)
THE EFFECTS OF TRANS-PLANAR RELOCATION ON INDIVIDUAL MAGICAL MANIFESTATIONS: #linebreak() A MO... | |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/meta-and-state.typ | typst | Apache License 2.0 |
#import "sys.typ": target, page-width
// Export typst.ts variables again, don't use sys arguments directly
/// The default target is _pdf_.
/// `typst.ts` will set it to _web_ when rendering a dynamic layout.
///
/// Example:
/// ```typc
/// #let is-web-target() = target.starts-with("web")
/// #let is-pdf-target() =... |
https://github.com/marcantoinem/CV | https://raw.githubusercontent.com/marcantoinem/CV/main/cv-marcantoinem.typ | typst | #import "src/style.typ": conf, name, contacts
#import "en/work-experience.typ"
#import "en/education.typ"
#import "en/awards.typ"
#import "en/project.typ"
#conf(
"en",
[
#name("<NAME>")
#contacts((
link("mailto:<EMAIL>", "<EMAIL>"),
link("https://github.com/marcantoinem", "github.com/marcantoin... | |
https://github.com/claudiomattera/typst-modern-cv | https://raw.githubusercontent.com/claudiomattera/typst-modern-cv/master/src/icon.typ | typst | MIT License | // Copyright <NAME> 2023-2024.
//
// Distributed under the MIT License.
// See accompanying file License.txt, or online at
// https://opensource.org/licenses/MIT
/// House icon.
#let house = text(font: "Font Awesome 6 Free", str.from-unicode(0xf015))
/// Phone icon.
#let phone = text(font: "Font Awesome 6 Free", str.... |
https://github.com/Origami404/kaoyan-shuxueyi | https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/线性代数.typ | typst | #import "./template.typ": sectionline, gray_table, colored
= 线性代数
== 行列式
#set list(marker: ([★], [⤥], [›]))
- 基本算法
- 上下三角直接主对角线之积
- 对于非主对角线 (另一个方向的对角线), 需要对应乘以 $(-1)^((n-1) + (n-2) + ... + 0)$ 次方
- 二阶行列式交叉算, 三阶行列式往旁边写两行算
- 变换法
- 交换行乘 $-1$, 行乘 $k$ 行列式要乘 $1/k$
- $|k A| = colored(k^n) |A|$, 尤其注意 $k = -1$ 的情况... | |
https://github.com/SeniorMars/tree-sitter-typst | https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/compute/data.typ | typst | MIT License | // Test reading structured data and files.
// Ref: false
---
// Test reading plain text files
#let data = read("/hello.txt")
#test(data, "Hello, world!")
---
// Error: 18-32 file not found (searched at /missing.txt)
#let data = read("/missing.txt")
---
// Error: 18-28 file is not valid utf-8
#let data = read("/bad.t... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/156.%20mean.html.typ | typst | mean.html
Mean People Fail
November 2014It struck me recently how few of the most successful people I know
are mean. There are exceptions, but remarkably few.Meanness isn't rare. In fact, one of the things the internet has
shown us is how mean people can be. A few decades ago, only famous
people and professional wr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.