repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/026%20-%20Eldritch%20Moon/007_Battle%20of%20Thraben.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Battle of Thraben",
set_name: "Eldritch Moon",
story_date: datetime(day: 20, month: 07, year: 2016),
author: "<NAME>",
doc
)
#emph[When we last saw Jace, he had just laid eyes on the third Eldrazi titan, Emrakul. Realizing the enormity of t... | |
https://github.com/jmigual/typst-efilrst | https://raw.githubusercontent.com/jmigual/typst-efilrst/main/README.md | markdown | MIT License | # Typst efilrst
A simple referenceable list library for Typst. If you ever wanted to reference elements in a list by a key, this library is for you. The name comes from "reflist" but sorted alphabetically because we are not allowed to use descriptive names for packages in Typst 🤷🏻♂️.
## Example
```typst
#import "... |
https://github.com/tingerrr/subpar | https://raw.githubusercontent.com/tingerrr/subpar/main/src/_pkg.typ | typst | MIT License | #import "@preview/t4t:0.3.2"
|
https://github.com/jredondoyuste/TypstReport | https://raw.githubusercontent.com/jredondoyuste/TypstReport/main/main.typ | typst | The Unlicense | #import "report.typ": report
#show: doc => report(
title: [
Nobel acceptance speech
],
event:
"Nobel Prize Ceremony",
author:
"<NAME>",
supervisor: "Supervisor: <NAME>",
placedate: "Copenhagen, May 12th 2023.",
doc,
)
#lorem(200)
#lorem(100)
#lorem(150)
|
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework4.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Calculus Homework #4",
authors: ((
name: "<NAME> (#47)",
email: "<EMAIL>",
phone: "3230104585"
),),
date: "October 20, 2023",
)
= 课堂例题 10.17
#prob[求极限:$ lim_(x->pi)(sin m x)/(sin n x) $]
*(细节有点多的)*
= P55 习题1-3 11
#prob[
1. 由 $display(lim_(x->... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pagebreak-parity_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 30pt, width: 80pt)
// Test when content extends to more than one page
First
Second
#pagebreak(to: "odd")
Third
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-03.typ | typst | Other | // Block directly in markup also creates a scope.
#{ let x = 1 }
// Error: 7-8 unknown variable: x
#test(x, 1)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/pinit/0.1.0/lib.typ | typst | Apache License 2.0 | #import "simple-arrow.typ": simple-arrow
#import "pinit-core.typ": *
// -----------------------------------------------
// Libs
// -----------------------------------------------
#let pinit-rect(
dx: 0em,
dy: -1em,
extented-width: 0em,
extented-height: 1.4em,
..args,
) = {
pinit(args.pos(), (positions) =>... |
https://github.com/bennyhandball/PA1_LoB_Finance | https://raw.githubusercontent.com/bennyhandball/PA1_LoB_Finance/main/PA/codelst/2.0.1/codelst.typ | typst |
#let codelst-counter = counter("@codelst-line-numbers")
// Counts the number of blanks (of a specific type)
// the line starts with.
#let codelst-count-blanks( line, char:"\t" ) = {
let m = line.match(regex("^" + char + "+"))
if m != none {
return m.end
} else {
return 0
}
}
// Counts the maximum num... | |
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/chapters/design.typ | typst | #import "../custom.typ": *
= Design
== Graphical User Interface
== Architectural design
== System Processes
== Component design
== Final Model Prototype
| |
https://github.com/kaplanz/resume | https://raw.githubusercontent.com/kaplanz/resume/main/src/main.typ | typst | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: resume.with(
author: (
name: "<NAME>",
email: "<EMAIL>",
affiliation: "Intel Corporation",
location: "Kingston, ON",
phone: "+1.416.602.2925",
),... | |
https://github.com/k0tran/cont_labs | https://raw.githubusercontent.com/k0tran/cont_labs/master/reports/lab6.typ | typst | #import "template.typ": *
#show: lab.with(n: 6)
= Конфигурация виртуальных машин
#pic(img: "lab6/vagrant.png")[Настройка виртуальных машин]
= Инициализация роя
#pic(img: "lab6/swarm_init.png")[Инициализация роя на машине manager1]
#pic(img: "lab6/swarm_join_link.png")[Получение команды для добавления машины в рой]
... | |
https://github.com/kaarmu/splash | https://raw.githubusercontent.com/kaarmu/splash/main/README.md | markdown | MIT License | # splash
Add a splash of color to your project with these palettes for [Typst](https://github.com/typst/typst).
This library provides different color palettes with human-readable names in
Typst dictionaries. Currently there are just a few different palettes to choose
from. Any contributions or suggestions are welcome... |
https://github.com/ustctug/ustc-thesis-typst | https://raw.githubusercontent.com/ustctug/ustc-thesis-typst/main/chapters/publications.typ | typst | MIT License | #block[
= 已发表论文
<已发表论文>
+ A A A A A A A A A
+ A A A A A A A A A
+ A A A A A A A A A
= 待发表论文
<待发表论文>
+ A A A A A A A A A
+ A A A A A A A A A
+ A A A A A A A A A
= 研究报告
<研究报告>
+ A A A A A A A A A
+ A A A A A A A A A
+ A A A A A A A A A
]
|
https://github.com/Me0wzz/study-note | https://raw.githubusercontent.com/Me0wzz/study-note/main/wrtt/240416.typ | typst | 258 페이지
10번 실효값 0.023
20logVrms = 16.99dB
= 실험 1
#image("assets/2024-04-16-16-26-05.png")
5.12 (offset 2)
#image("assets/2024-04-16-16-27-29.png")
7.16 (offset 4)
#image("assets/2024-04-16-16-27-05.png")
10.2 (offset 8)
= 실험 2
#image("assets/2024-04-16-16-28-51.png")
1.08
#image("assets/2024-04-16-16-29-24.png"... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/attach-00.typ | typst | Other | // Test basics, postscripts.
$f_x + t^b + V_1^2 + attach(A, t: alpha, b: beta)$
|
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/auton/disrupt/disrupt.typ | typst | #import "../auto-util.typ": *
#auton(
"Close Side Disrupt",
datetime(year: 2024, month: 2, day: 19),
"disrupt.cpp",
[This auton both moves the center triballs such that the opposing alliance cannot
use them. and hopefully pushes them over to the other side to score 4 swing
points for our team. It also ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/layout-infinite-lengths_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// #set page(width: auto, height: auto)
//
// // Error: 17-41 cannot create line with infinite length
// #layout(size => line(length: size.width)) |
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/tournament-states/entry.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator, diagraph
#import notebookinator: *
#import themes.radial.components: *
#import "/utils.typ": tournament-from-csv
#import diagraph: *
#show: create-body-entry.with(
title: "Tournament: State Championship",
type: "test",
date: datetime(year: 2024, month: 3, day: 2),
auth... |
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024 | https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/chap10/main.typ | typst | #set text(lang: "zh", cjk-latin-spacing: auto, font: "Noto Serif CJK SC")
#set page("iso-b5", numbering: "1", margin: (left: 1.4cm, right: 1.9cm))
#set par(leading: 1.1em)
#show table: set text(font: "Zhuque Fangsong (technical preview)")
#show figure.caption: set text(font: "Zhuque Fangsong (technical preview)")
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/finite/0.1.0/cmd.typ | typst | Apache License 2.0 | #import "@preview/t4t:0.3.0": is, assert, def
#import "@preview/cetz:0.0.2"
#import "./draw.typ"
#import "./layout.typ"
/// Draw an automaton from a transition table.
///
/// The transition table #arg[states] has to be a dictionary of dictionaries, having
/// the names of all states as keys in the first level dictio... |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/main.typ | typst | #import "conf.typ": conf
#show: rest => conf(rest,
title: [
= Билеты к экзамену по Арх. ЭВМ (Первый семестр)
],
pageHeader: [
Билеты к экзамену по Арх. ЭВМ
],
credits: [
#align(center)[#text(gray)[
Created by <NAME>, <NAME>, <NAME>\
January 2023
]]
],
color: blue,
)
#{
// A... | |
https://github.com/0x1B05/english | https://raw.githubusercontent.com/0x1B05/english/main/cnn10/main.typ | typst | #import "template.typ": *
#show: template.with(
title: [CNN10-Notes],
short_title: "CNN10",
description: [
CNN10 练习(听力,回译).
],
date: datetime(year: 2024, month: 3, day: 22),
authors: (
(
name: "0x1B05",
github: "https://github.com/0x1B05",
homepage: "https://github.com/0x1B05", //... | |
https://github.com/drupol/ipc2023 | https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/history.typ | typst | #import "imports/preamble.typ": *
#focus-slide[
#set align(center + horizon)
#set text(size: 1.5em, fill: white, font: "Virgil 3 YOFF")
Brief history
#pdfpc.speaker-note(```md
I haven't explained yet what Nix is, but this will come, no worries... Let's
start with a brief history
```)
]
#slide(titl... | |
https://github.com/matteopolak/resume | https://raw.githubusercontent.com/matteopolak/resume/main/utils.typ | typst | MIT License | #let config = toml("config.toml")
// Create a consistent vertical spacing
#let space(h: 0.6em) = v(h, weak: true)
// Shortcut for evaluating a string as markup
#let markup(str) = eval(str, mode: "markup")
// Format a job entry
#let job(title: "", company: "", location: "", start: "", end: "Present", achievements: ()... |
https://github.com/PA055/5839B-Notebook | https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/entries.typ | typst | #include "./Game_Discussion/pre_reveal.typ"
#include "./Game_Discussion/post_reveal.typ"
#include "./First-Steps/first-steps.typ"
#include "./First-Steps/3d-design-software.typ"
#include "./file-structure-model-management/file-structure-model-management.typ"
#include "./inventory/taking-inventory.typ"
#include "./inv... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/exploring/post.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### The `post` table
=== `post` 表
// While we're on the subject of PostScript Type 1 representation, let's briefly look at the `post` table, which is used to assem... |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-算法/滑动窗口与双指针/删除有序数组中的重复项.typ | typst | #import "../../../../lib.typ":*
=== #Title(
title: [删除有序数组中的重复项],
reflink: "https://leetcode.cn/problems/remove-duplicates-from-sorted-array/description/",
level: 1,
)<删除有序数组中的重复项>
#note(
title: [
删除有序数组中的重复项
],
description: [
给你一个 非严格递增排列 的数组 nums ,请你 原地 删除重复出现的元素,使每个元素 只出现一次 ,返回删除后数组的新长度。元素的 相对顺序 应该保持 ... | |
https://github.com/ckunte/offshore-lifts | https://raw.githubusercontent.com/ckunte/offshore-lifts/master/offshore-lifts.typ | typst | // preamble
#import "@preview/polylux:0.3.1": *
#import themes.simple: *
#set page(paper: "presentation-16-9")
#show: simple-theme.with(
footer: [OFFSHORE LIFTS],
)
#set text(
font: "Segoe UI",
top-edge: "cap-height",
bottom-edge: "baseline",
number-type: "old-style",
size:21pt
) ... | |
https://github.com/thotypous/telecom-slides | https://raw.githubusercontent.com/thotypous/telecom-slides/main/aula1/main.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/fletcher:0.4.2" as fletcher: node, edge
#import "@preview/cetz:0.2.2": canvas, plot
#import themes.university: *
// Make the paper dimensions fit for a presentation and the text larger
#set page(paper: "presentation-16-9")
#set text(font: "Inria Sans", size: 25pt)... | |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/meta/cite-footnote.typ | typst | Apache License 2.0 | Hello @netwok
And again: @netwok
#pagebreak()
#bibliography("/works.bib", style: "chicago-notes")
|
https://github.com/lyzynec/hys-or-kys | https://raw.githubusercontent.com/lyzynec/hys-or-kys/main/01/main.typ | typst | #import "../lib.typ": *
#knowledge[
#question(name: [Explain the concept of a discrete event.])[]
#question(name: [Contrast the concept of a time-driven continuous-variable (dynamical) system with that of a discrete-event system.])[]
#question(name: [Give a formal definition of a state automaton and show a... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/text_stroke1.typ | typst | Apache License 2.0 | #let tmpl2(stroke: ()) = text(stroke: stroke)
#tmpl2(stroke: (/* position */)) |
https://github.com/MattiaOldani/Informatica-Teorica | https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/complessità/21_ndtm.typ | typst | #import "../alias.typ": *
= Macchine di Turing non deterministiche (NDTM)
== Algoritmi non deterministici
Abbiamo visto come esistano problemi molto utili di cui non si conoscono ancora algoritmi deterministici efficienti in tempo.
Tuttavia, è possibile costruire degli *algoritmi non deterministici* che li risolva... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/030%20-%20Amonkhet/004_Servants.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Servants",
set_name: "Amonkhet",
story_date: datetime(day: 19, month: 04, year: 2017),
author: "<NAME>",
doc
)
#figure(image("004_Servants/01.png", width: 100%), caption: [], supplement: none, numbering: none)
#emph[Spending her days serve... | |
https://github.com/Rhinemann/mage-hack | https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Outline.typ | typst | #import "../templates/interior_template.typ": *
#show: chapter.with(chapter_name: "Table of Contents")
#set text(size: 10pt)
#show outline.entry.where(level: 1): it => {
set text(size: 14pt)
v(10pt, weak: true)
strong(it)
}
#show outline.entry.where(level: 2): it => {
set text(size: 12pt)
show strong: set t... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/dict-00.typ | typst | Other | // Ref: true
// Empty
#(:)
// Two pairs and string key.
#let dict = (normal: 1, "spacy key": 2)
#dict
#test(dict.normal, 1)
#test(dict.at("spacy key"), 2)
|
https://github.com/mcarifio/explore.typst | https://raw.githubusercontent.com/mcarifio/explore.typst/main/src/first.typ | typst | // #import "first.tym"
#import "author.tym"
#let me = (first: "Mike", last: "Carifio", email: "<EMAIL>", tel: "+1-978-377-8680")
#author.dump(me)
= Start Here
First sentence from #author.name(me) reached at #author.contact(me).
| |
https://github.com/Clamentos/FabRISC | https://raw.githubusercontent.com/Clamentos/FabRISC/main/src/spec/Section1.typ | typst | Creative Commons Attribution Share Alike 4.0 International | ///
#import "Macros.typ": *
///
#section(
[Introduction],
[This is the official document for the FabRISC instruction set architecture. This writing is intended to introduce and explain concepts, features and capabilities of the specification.],
[FabRISC is a feature rich, register-register, classically ... |
https://github.com/Mouwrice/resume | https://raw.githubusercontent.com/Mouwrice/resume/main/modules/education.typ | typst | #import "../brilliant-CV/template.typ": *
#cvSection("Education")
#cvEntry(
title: [Master of Science in Computer Science Engineering],
society: [Ghent University],
date: [2022 - 2024],
location: [Ghent, Belgium],
logo: "../src/logos/ugent.png",
description: list(
[Thesis: Air Drumming:... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/delimited_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test unmatched.
$[1,2[ = [1,2) != zeta\(x/2\) $
|
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework13.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Calculus Homework #13",
authors: ((
name: "<NAME> (#47)",
email: "<EMAIL>",
phone: "3230104585"
),),
date: "December 21, 2023",
)
#let int = math.integral
= P228 习题5-1 1(2) #ac
#prob[
利用定义求下列函数的定积分:
$
int_a^b (dx)/(x^2) sp (0<a<b)
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/root_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test precomposed vs constructed roots.
// 3 and 4 are precomposed.
$sqrt(x)$
$root(2, x)$
$root(3, x)$
$root(4, x)$
$root(5, x)$
|
https://github.com/antran22/typst-cv-builder | https://raw.githubusercontent.com/antran22/typst-cv-builder/main/README.md | markdown | MIT License | # Typst based CV Builder
## Use case
- You have a lot of experiences, projects that can be showcased in CVs.
- However, you can only include some of those in one CV to be sent to an employer.
- You need a way to centrally manage all your informations, but also quickly pick out some entries to construct into a CV.
- Yo... |
https://github.com/C0ffeeCode/typst-dhbw-technik-template | https://raw.githubusercontent.com/C0ffeeCode/typst-dhbw-technik-template/template/thesis.typ | typst | #import "template.typ" : *
#show: thesis.with(
title: "Creating a Typst template",
author: "<NAME>",
type: "TX000",
student_id: "change-me",
course: "TINF2XA",
date: datetime(
year: 1984,
month: 10,
day: 10,
),
time_period: "01.01.2023 - 00.00.2024",
confidentiality_clause: true,
langua... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/src/note.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.2.2": draw
#import "consts.typ": *
#let SIDES = (
"left",
"right",
"over",
"across"
)
#let SHAPES = (
"default",
"rect",
"hex"
)
#let _note(side, content, pos: none, color: COL-NOTE, shape: "default", aligned: false) = {
if side == "over" {
if pos == none {
panic("P... |
https://github.com/booleto/internship_report_2024 | https://raw.githubusercontent.com/booleto/internship_report_2024/main/main.typ | typst | #import "template.typ": *
#import "@preview/plotst:0.1.0": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
institutions: (
text("Đại học Quốc gia Hà nội", weight: 800),
text("Trường Đại học Khoa học Tự nhiên", weight:... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/unbalanced_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
$ 1/(2 (x) $
$ 1_(2 y (x) () $
$ 1/(2 y (x) (2(3)) $
|
https://github.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024 | https://raw.githubusercontent.com/OverflowCat/BUAA-Digital-Image-Processing-Sp2024/master/chap04/helper.typ | typst | #let problemCounter = counter("q")
#let Q = (body) => {
set text(weight: "semibold")
problemCounter.step()
problemCounter.display("1、")
body
}
#let FT = $cal(F)$
#let IFT = $FT^(-1)$
#let CONV = sym.star.filled
#let SUMOO = $sum^(oo)_(n=-oo)$
#let INTOO = $integral^(oo)_(-oo)$
| |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/beurteilen_bewerten/beispiel_kurzkontrolle.typ | typst | Other | #import "/src/template.typ": *
== Bewertung durch Bewertungsmatrizen
Bewertungsmatrizen sind #ix("Erwartungshorizonte", "Erwartungshorizont"), die eine standardisierte Möglichkeit für die Kontrolle eines Produkts von SuS darstellen. Durch Sie wird für etwa eine Lernerfolgskontrolle oder Klausur ein allgemeiner Maßstab... |
https://github.com/takotori/PhAI-Spick | https://raw.githubusercontent.com/takotori/PhAI-Spick/main/main.typ | typst | #import "ost-summary-template.typ": *
#show: doc => conf(lecture: "Physik Anwendung für Informatik", authors: "<NAME>, <NAME>, <NAME>", doc)
#include "sections/grundlagen.typ"
#include "sections/kinematik.typ"
#include "sections/messfehler.typ"
#include "sections/kraft.typ"
#include "sections/energie.typ"
#include "se... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/substitution/substitution.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// Types of Substitution Rule
== 各种类型的#tr[substitution]规则 <section:substitution-rule-types>
// The simplest type of substitution feature available in the `GSUB` table... |
https://github.com/pepega007xd/slplugin | https://raw.githubusercontent.com/pepega007xd/slplugin/master/ip1_report/main.typ | typst | #import "template.typ": *
#let ls(from, to) = {$ "ls"(from, to) $}
#let sep = $- #h(-0.12em) ast.circle$
#let nil = $"nil"$
#show: project.with(
title: "Shape Analysis Using Separation Logic",
authors: (
"<NAME>",
),
abstract: [
This work describes the implementation of a static analysis of C programs... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/作业/hw2.typ | typst | #import "../../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: note.with(
title: "作业1",
author: "YHTQ",
date: none,
logo: none,
withOutlined : false,
withTitle :false,
)
(应交时间为3月12日)
#set heading(numbering: none)
= ... | |
https://github.com/thornoar/lambda-calculus-course | https://raw.githubusercontent.com/thornoar/lambda-calculus-course/master/haskell-seminar/material.typ | typst | #import "@local/common:0.0.0": *
#set page(margin: (x: .5in, y: .5in))
#set text(lang: "ru", size: 12pt)
#set heading(numbering: "1.")
// #set raw(lang: "haskell")
#let rawblock = block.with(
stroke: (left: 1pt),
inset: (left: 10pt, top: 3pt, bottom: 3pt, right: 0pt),
radius: 0pt,
)
#show raw.where(lang: "haskel... | |
https://github.com/luiswirth/bsc-thesis | https://raw.githubusercontent.com/luiswirth/bsc-thesis/main/src/implementation.typ | typst | = Implementation
The concrete implementation of FEEC in Rust.
To show the functioning of the implementation, we will be solving one of multiple of these problems:
- Elliptic problem: Hodge Poisson Equation $ (delta d + d delta) u = f $
- Parabolic problem: Hodge Heat Equation $ u_t + (delta d + d delta) u = f $
- Hyp... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.1.0/README.md | markdown | Apache License 2.0 | # gentle-clues
Simple admonitions for typst. Add predefined or define your own.
Inspired from [mdbook-admonish](https://tommilligan.github.io/mdbook-admonish/).
## Usage
`#import " @preview/gentle-clues:0.1.0: info, success, warning, error`
Writing this,
```typst
#info[Whatever you want to say]
```
turns int... |
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-exam/lib/headers.typ | typst | MIT License | #import "@preview/ttt-utils:0.1.2": assignments
#import "i18n.typ": ling
#let header-block(
logo: none,
title,
subtitle: none,
class,
subject,
date,
) = {
date = if type(date) == datetime { date.display("[day].[month].[year]") } else { date }
table(
columns: (3fr, 5fr, 35mm),
rows: (25mm, 10mm... |
https://github.com/Otto-AA/definitely-not-tuw-thesis | https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/README.md | markdown | MIT No Attribution | # Unofficial thesis template for informatics at TU Wien
An example thesis can be viewed here: https://otto-aa.github.io/definitely-not-tuw-thesis/thesis.pdf
## Usage
You can download the template with:
```bash
typst init @preview/definitely-not-tuw-thesis
```
### Template overview
After setting up the template, y... |
https://github.com/DeveloperPaul123/modern-cv | https://raw.githubusercontent.com/DeveloperPaul123/modern-cv/main/README.md | markdown | Other | # Modern CV
[](https://github.com/DeveloperPaul123/modern-cv/stargazers)
[](https://discord.gg/CX2ybByRnt)
 = {
let (sx, sy) = if type(size) != array {
(size, size)
} else { size }
let bl(pt) = (rel: (-sx/2, -sy/2), to: pt)
let br(pt) = (rel: (sx/2, -sy/2), to: pt)
let tl(pt) = (rel: (-sx/2, sy/2), to: pt)
le... |
https://github.com/refparo/24xs-zh | https://raw.githubusercontent.com/refparo/24xs-zh/master/rules1.typ | typst | #import "common.typ": *
#show: typ-24xs
#show: rules-page
#logo
_#link("https://diceghost.itch.io/24xs")[diceghost.itch.io]_
#v(1.25em / 4)
基于 Jason Tocci 以 CC BY 4.0 协议授权的 24XX SRD。
#v(1.25em / 4)
*玩法*:决定你角色的行动,思考这需要付出代价还是带有风险。边玩边记录下你的故事,仅在有风险时掷骰。
*提示*:引入你不知道怎么解决的问题。用临时判决填补缺失的规则。叙述叙事上最合理的展开。从环境中寻找灵感。
*掷骰*:做有... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/章节/上半学期.typ | typst | #import "../../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
= 前言
== 课程介绍
- 学习内容:前半学期交换代数,后半学期同调代数
- 教师:阳恩林 https://www.math.pku.edu.cn/teachers/yangenlin/ce.htm
- 参考书:
- <NAME>, Introduction to Commutative Alge... | |
https://github.com/maucejo/book_template | https://raw.githubusercontent.com/maucejo/book_template/main/template/appendix/app1.typ | typst | MIT License | #import "../../src/book.typ": *
#show: chapter.with(
title: "Algorithmes",
toc: false
)
#lorem(100)
La Figure @fig:A illustre le cas d'industriels utilisant des absorbants.
#figure(
image("../images/chapitre1/cnam_region.png", width: 75%),
caption: [#lorem(10)],
) <fig:A>
#figure(
table(
co... |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/boomerang/boomerang.typ | typst | #import "/packages.typ": notebookinator, gentle-clues
#import notebookinator: *
#import themes.radial.components: *
#import gentle-clues: *
#import "/util.typ": qrlink
#show: create-body-entry.with(
title: "Concept: Boomerang",
type: "concept",
date: datetime(year: 2024, month: 2, day: 28),
author: "<NAME>",
... | |
https://github.com/storopoli/Bayesian-Statistics | https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/08-poisson_regression.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#import "utils.typ": *
#import "@preview/cetz:0.1.2": canvas, plot
#new-section-slide("Poisson Regression")
#slide(title: "Recommended References")[
- #cite(<gelman2013bayesian>, form: "prose") - Chapter 16: Generalized linear
models
- #cite(<mcelre... |
https://github.com/flaribbit/indenta | https://raw.githubusercontent.com/flaribbit/indenta/master/lib.typ | typst | MIT License | // https://github.com/flaribbit/indenta
#let fix-indent(unsafe: false)={
return it=>{
let _is_block(e,fn)=fn==heading or (fn==math.equation and e.block) or (fn==raw and e.has("block") and e.block) or fn==figure or fn==block or fn==list.item or fn==enum.item or fn==table or fn==grid or fn==align or (fn==quote and e.... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.2.2/template/chapters/8-conclusion.typ | typst | Apache License 2.0 | #import "global.typ": *
= Conclusion and Outlook
#lorem(55)
#todo(
[ Sum up the results achieved and give an outlook by suggesting further research
by explaining how others could built on your results. ],
)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/simple-preavis/0.1.0/template/example.typ | typst | Apache License 2.0 | #import "@preview/simple-preavis:0.1.0": lettre-preavis, locataire, adresse, proprietaire
#lettre-preavis(
locataire: locataire(
"<NAME>",
"Jean",
adresse(
"123 rue de la Paix",
"75000",
"Paris",
complement: "Appartement 2"
)
),
proprietaire: proprietaire(
"<NA... |
https://github.com/jamesrswift/musicaux | https://raw.githubusercontent.com/jamesrswift/musicaux/main/src/commands/time.typ | typst | #import "basic-content.typ": basic-content, basic-text-above, space
#import "../symbols.typ": *
#let common = basic-content.with(pitch: 3, symbols.time.common)
#let cut = basic-content.with(pitch: 3, symbols.time.cut)
#let signature(top, bottom) = {
let sized = text.with(size: 0.7em, weight: "bold", font:"Bravura")... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/014%20-%20Khans%20of%20Tarkir/008_The%20Salt%20Road.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Salt Road",
set_name: "Khans of Tarkir",
story_date: datetime(day: 12, month: 11, year: 2014),
author: "<NAME>",
doc
)
"Captain." The lieutenant jogged up beside him, kicking up a spray of dusty sand that drifted sideways in the breeze ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-AA60.typ | typst | Apache License 2.0 | #let data = (
("MYANMAR LETTER KHAMTI GA", "Lo", 0),
("MYANMAR LETTER KHAMTI CA", "Lo", 0),
("MYANMAR LETTER KHAMTI CHA", "Lo", 0),
("MYANMAR LETTER KHAMTI JA", "Lo", 0),
("MYANMAR LETTER KHAMTI JHA", "Lo", 0),
("MYANMAR LETTER KHAMTI NYA", "Lo", 0),
("MYANMAR LETTER KHAMTI TTA", "Lo", 0),
("MYANMAR LET... |
https://github.com/schang412/typst-whalogen | https://raw.githubusercontent.com/schang412/typst-whalogen/master/gallery/example.typ | typst | Apache License 2.0 | #import "@local/whalogen:0.2.0": ce
#set page(width: auto, height: auto)
$
#ce("HCl + H2O -> H3O+ + Cl-")
$
|
https://github.com/maucejo/tutorial_template | https://raw.githubusercontent.com/maucejo/tutorial_template/main/docs/manual.typ | typst | MIT License | #import "./manual-template.typ": *
#import "../src/tutorial.typ": *
#show: checklist.with(fill: eastern.lighten(95%), stroke: eastern, radius: .2em)
#let TeX = style(styles => {
set text(font: "New Computer Modern")
let e = measure("E", styles)
let T = "T"
let E = text(1em, baseline: e.height * 0.31, "E")
l... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/mmgg-morning-walk.typ | typst | #import "mmgg-template.typ": mmgg-template
#import "base-utils.typ": *
#import "pinyin-sentence-layout.typ": zhuyin-atom, zhuyin-sentence, zhuyin-wrapper, zhuyin-sentence-chunk
#let main(file) = {
let options = (
blockSpacing: 15,
englishNameSizing: 0.85,
sentence: (
k: 0.50,
... | |
https://github.com/Me0wzz/study-note | https://raw.githubusercontent.com/Me0wzz/study-note/main/LinearAlgebra/note.typ | typst | = Chapter 1.1 - 1.4
Linear Equation: $c_1 x_1 + c_2 +x_2 + ... + c_v x_v = b$ 형태
Matrix Equation: $mat(delim:"[",a_1,a_2,...,a_n) mat(
delim:"[",x_1;x_2;...;x_3)$ 형태
$A X = [m times n][m times o]->[m times o]$ form
Example 1)\
Linear Eq \
$
x_1 + 2x_2 - x_3 = 4 \
-5x_2 +3x_3 =1
$
Vector Eq \
$
x_1 mat(delim:"[",... | |
https://github.com/linsyking/messenger-manual | https://raw.githubusercontent.com/linsyking/messenger-manual/main/intro.typ | typst | #import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge
#import fletcher.shapes: hexagon
= Introduction
There are several Elm packages like #link("https://package.elm-lang.org/packages/evancz/elm-playground/latest/")[elm-playground], which offer simple APIs to create a game. However, these packages have ma... | |
https://github.com/wjakethompson/wjt-quarto-ext | https://raw.githubusercontent.com/wjakethompson/wjt-quarto-ext/main/wjt-letter/README.md | markdown | Creative Commons Zero v1.0 Universal | # WJT Letter Format
Based on the KU letterhead format for Accessible Teaching, Learning, and Assessment Systems.
**NOTE**: This format requires the pre-release version of Quarto v1.4, which you can download here: <https://quarto.org/docs/download/prerelease>.
## Installing
```bash
quarto use template wjakethompson/... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-radial_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#square(
size: 100pt,
fill: gradient.radial(..color.map.rainbow, space: color.hsl),
) |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/并行程序设计/上篇:并行程序设计导论/单元Ⅰ:并行程序设计基础.typ | typst | #import "../../../lib.typ": *
== 并行程序设计基础
=== 并行计算机系统与结构模型
=== PC机群的搭建
=== 并行程序设计简介
=== 并行编译简介
==== 数据依赖关系
#showybox(title: [Def1])[
/ $S #sym.delta^f T$ :若x #sym.in OUT(S)且 x#sym.in IN(T)且T使用S计算出的x的值,T流依赖于S;
/ $S #sym.delta^a T$ :若x #sym.in IN(S)且 x#sym.in OUT(T)但S使用x值先于T对x的定值;T反依赖于S;
/ $S #sym.delta^o T$ :若x #... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/027%20-%20Conspiracy%3A%20Take%20the%20Crown/005_Bloody%20Instructions.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Bloody Instructions",
set_name: "Conspiracy: Take the Crown",
story_date: datetime(day: 17, month: 08, year: 2016),
author: "<NAME> & <NAME>",
doc
)
#emph[The city of Paliano is quickly descending into political chaos. Meanwhile, the goblin... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/enum-05.typ | typst | Other | // Edge cases.
+
Empty \
+Nope \
a + 0.
|
https://github.com/tingerrr/hydra | https://raw.githubusercontent.com/tingerrr/hydra/main/tests/get-rules/text-dir/test.typ | typst | MIT License | // Synopsis:
// - a change in styles mid page is not observed in the footer
// - this assures that with an anchor, the resolved styles will still be correct if hydra is used
// in the footer
// - text dir is the only style which could change between an anchor and a hdyra call
// - given an in text use of hydra, this ... |
https://github.com/simon-epfl/notes-ba3-simon | https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/probastats/notes.typ | typst | == Combinatorics
We want to choose `k` elements among `n` elements.
#table(
columns: (auto, auto, auto),
table.header(
[], [*Repetition not allowed*], [*Repetition allowed*],
),
[*Order does not matter*], [$ n!/((n-k)!k!) $ (`n` choices, then `n-1` choices, etc. and we stop at `n-k`, we also remove `n!` ... | |
https://github.com/duskmoon314/THU_AMA | https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch1/0-序论与背景知识.typ | typst | Creative Commons Attribution 4.0 International | #import "/book.typ": book-page, cross-link
#show: book-page.with(title: "序论与背景知识")
= 序论与背景知识
- #cross-link("/docs/ch1/1-背景.typ")[背景]
- #cross-link("/docs/ch1/2-发展史.typ")[发展史]
- #cross-link("/docs/ch1/3-例题与应用.typ")[例题与应用] |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/github-pages/docs/readme.typ | typst | Apache License 2.0 |
// let style_color = rgb("#ffffff")
// background: rect(fill: rgb("#343541"), height: 100%, width: 100%),
#include "../../docs/cookery/introduction.typ"
+ #link("https://myriad-dreamin.github.io/typst.ts/cookery/introduction.html")[Full Documentation]
|
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/guide/faq.typ | typst | Apache License 2.0 | #import "/github-pages/docs/book.typ": book-page
#show: book-page.with(title: "Frequently Asked Questions")
We are collecting questions and answers about the `shiroa` project here. Feel free to ask questions in #link("https://github.com/Myriad-Dreamin/shiroa/issues")[Github Issues].
|
https://github.com/ern1/typiskt | https://raw.githubusercontent.com/ern1/typiskt/main/README.md | markdown | # Typst resume template
<img src="https://raw.githubusercontent.com/ern1/resume/main/output/resume.svg?token=<KEY>" width="60%"/>
| |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week13.typ | typst | #import "../../utils.typ": *
#subsubsection([Parameterize from Above])
#set text(size: 14pt)
Problem | How can I provide individual services that need to run independently
of each other with global data without using singletons?\
Solution | Parameterize from above, aka first define global services and put
them into t... | |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ISI/docs/TE/TE1.typ | typst | // In the main.typ
#import "/_settings/typst/template-te.typ": *
#show: resume.with(
"Résumé ISI",
"<NAME>",
cols: 3
)
= Type d’attaquants
- Script kiddy: Jouent avec des outils
- Pirates défi: Attirés par le defi
- Pirates vengeurs: Comme Sony (Par vengeance)
- Pirates par conviction: A but « politique »
- Pir... | |
https://github.com/5eqn/osa-fp-talk | https://raw.githubusercontent.com/5eqn/osa-fp-talk/main/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "如何用 143 行代码搓出新编程语言?",
authors: (
"5eqn",
),
)
= 前言
答案是用「函数式编程」!
本次 Talk 是个科普,旨在描绘函数式编程的美,不会深入进行逻辑推导。
即使你只是单纯好奇,也可以来听!
#figure(
image("res/tenet.png", width: 50%),
caption: [
《信条》剧照 / 不要试图理解它,要感受它
],
)
== 目标受众
推荐学习过 C 语言或其它相似语言的人参加本次 Talk... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PianificazioneSprint/UndicesimoSprint.typ | typst | MIT License | #import "../../functions.typ": glossary
=== Undicesimo #glossary[sprint]
*Inizio*: Venerdì 01/03/2024
*Fine*: Giovedì 07/03/2024
*Obiettivi dello #glossary[sprint]*:
- Proseguire la stesura del _Piano di Progetto_:
- Aggiornare pianificazione e preventivo pertinenti allo #glossary[sprint] 11 e inserire il co... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/src/vec.typ | typst | Apache License 2.0 | #let vec(x, y) = {
return (x: x, y: y)
}
#let add(v1, v2) = {
return vec(
v1.x + v2.x,
v1.y + v2.y
)
}
#let sub(v1, v2) = {
return vec(
v1.x - v2.x,
v1.y - v2.y
)
}
#let mul(v, f) = {
return vec(
v.x * f,
v.y * f
)
}
#let div(v, f) = {
return vec(
v.x / f,
v.y / f
)... |
https://github.com/zadigus/math | https://raw.githubusercontent.com/zadigus/math/main/number-theory/page-6/template.typ | typst | #import "@preview/ctheorems:1.0.0": *
#show: thmrules
// 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: (), body) = {
// Set the document's basic properties.
set document(... | |
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/vita/vita.typ | typst | MIT License | #import "src/resume.typ": *
#import "src/cv.typ": * |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/anchor/amiri-kern-2.typ | typst | Other | #import "/lib/draw.typ": *
#import "/template/lang.typ": arabic-amiri
#let start = (0, 0)
#let end = (500, 200)
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (50, 50))
txt([关闭`calt`#h(1fr)#arabic-amiri(text(features: ("calt": 0, "kern": 0))[(لبے)])], (0, 180), anchor: "lt", size: 42 * ux)
txt([开启`ca... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/grid-rtl-00.typ | typst | Other | #set text(dir: rtl)
- מימין לשמאל
|
https://github.com/AntoineCorbel/typst | https://raw.githubusercontent.com/AntoineCorbel/typst/main/info-box.typ | typst | // todo: key this by the provided label or just use dependency injection
#let this-counter = counter("info-box")
#let info-box(
title: none,
sections: none,
label: none,
caption: none,
radius: 3pt,
inset: 16pt,
outset: 0pt,
fill: luma(45),
) = {
set block(spacing: 0pt)
let title-radius = rad... | |
https://github.com/harrellbm/Bookletic | https://raw.githubusercontent.com/harrellbm/Bookletic/main/example/example.typ | typst | Apache License 2.0 | #import "@preview/bookletic:0.3.0" // To use through preview
//#import "..\src\lib.typ" // To use on a local clone of the library
//#import "bookletic.typ" // To use on a clone to the Typst app
#set document(author: "<NAME>", title: "Bookletic Example")
//Barebones example
#let my-eight-pages = (
[
= Cover Page ... |
https://github.com/donRumata03/aim-report | https://raw.githubusercontent.com/donRumata03/aim-report/master/lib/presentation-utilities.typ | typst | #import "@preview/codelst:1.0.0": sourcecode, code-frame
#import "@preview/polylux:0.3.1": only
#let codeblock(body, highlight: (), dark: false, nums: true, fill: none, size: 1em, width: 100%) = {
if dark {set text(fill: orange)}
let sourcecode = if not nums {
sourcecode.with(numbering: none)
} els... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.