repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/tilman151/pypst | https://raw.githubusercontent.com/tilman151/pypst/main/docs/examples/table/my-table.typ | typst | MIT License | #figure(
table(
columns: 3,
stroke: none,
align: (x, _) => if calc.odd(x) {left} else {right},
table.hline(y: 1, stroke: 1.5pt),
table.hline(y: 3, stroke: 1.5pt),
table.header[][Name][Age],
[Los Angeles], [1], [30.0],
[New York], [2], [30.0]
),
caption: "This is my table."
) |
https://github.com/yochem/apa-typst | https://raw.githubusercontent.com/yochem/apa-typst/main/examples/single-author-single-affiliation.typ | typst | #import "../template.typ": apa7
#show: apa7.with(
title: "Example of APA7 Document in Typst",
authors: (
"<NAME>",
),
affiliations: (
"Department of Psychology, George Mason University",
),
)
#lorem(40)
| |
https://github.com/01mf02/jq-lang-spec | https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/values.typ | typst | #import "common.typ": *
= Values <values>
In this section, we will define values, errors, exceptions, and streams.
While jq has originally been limited to operate on JSON values,
we will define the jq semantics for a general value type.
For this value type, there must be a type of numbers and a type of strings, such... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/pagebreak-parity.typ | typst | Apache License 2.0 | // Test clearing to even or odd pages.
---
#set page(width: 80pt, height: 30pt)
First
#pagebreak(to: "odd")
Third
#pagebreak(to: "even")
Fourth
#pagebreak(to: "even")
Sixth
#pagebreak()
Seventh
#pagebreak(to: "odd")
#page[Ninth]
---
#set page(width: auto, height: auto)
// Test with auto-sized page.
First
#pagebreak(... |
https://github.com/icpmoles/politypst | https://raw.githubusercontent.com/icpmoles/politypst/main/aside/acknowledgements.typ | typst | #let acknowledgements = [
#heading(numbering: none)[Acknowledgements]
Here you might want to acknowledge someone.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut al... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/cyberdef/weeks/week1.typ | typst | #import "../../utils.typ": *
| |
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode | https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/template.typ | typst | #let thesis(
title-primary: [],
title-secondary: [],
degree: "",
program: "",
supervisor: "",
advisors: (),
author: "",
start-date: datetime,
submission-date: datetime,
acknowledgements: [],
abstract: [],
appendix: none,
doc,
) = {
set document(title: title-primary, author: author, date: sub... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/drafting/0.1.0/drafting.typ | typst | Apache License 2.0 | #let pos-tracker = state("pos", none)
#let margin-note-defaults = state(
"margin-note-defaults", (margin-right: 0in, margin-left: 0in, stroke: red, side: right, page-width: none, text-kwargs: none)
)
#let absolute-place(dx: 0em, dy: 0em, content) = {
locate(loc => {
let pos = loc.position()
if pos-tracker.... |
https://github.com/maucejo/cnam_templates | https://raw.githubusercontent.com/maucejo/cnam_templates/main/src/report/_report-utils.typ | typst | MIT License | #import "../common/_colors.typ": *
#import "../common/_utils.typ": *
#let title-page(config-titre) = {
let logo-height = 4.08cm
let decx = 1.5cm
let decy = -1.45cm
if config-titre.composante != "cnam" {
logo-height = 10cm
decx = 1.5cm
decy = -2cm
}
let box-width = 125%
let box-height = 115%... |
https://github.com/SnowManKeepsOnForgeting/NoteofFluidMechanics_WuWangyi | https://raw.githubusercontent.com/SnowManKeepsOnForgeting/NoteofFluidMechanics_WuWangyi/main/Chapter_1.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/physica:0.9.3": *
#import "@preview/i-figured:0.2.4"
#set heading(numbering: "1.1")
#show math.equation: i-figured.show-equation.with(level: 2)
#show heading: i-figured.reset-counters.with(level: 2)
= Field Theory
== Definition
First,let us define scalar field $phi$ as $phi = phi(bold(r),t)=phi(x,y,... |
https://github.com/TideDra/seu-thesis-typst | https://raw.githubusercontent.com/TideDra/seu-thesis-typst/main/template.typ | typst | #import "constants.typ": 字体, 字号, 行距
#import "utils.typ": set_doc, set_doc_footnote, part_state
#import "@preview/cuti:0.2.0": show-cn-fakebold
// 论文翻译封面
#let translation_cover(
raw_paper_name: none,
translated_paper_name: none,
student_id: none,
name: none,
college: none,
major: none,
supervisor: none,
... | |
https://github.com/antonWetzel/Masterarbeit | https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/verteidigung/theme.typ | typst | #import "@preview/polylux:0.3.1": *
#let footer_state = state("footer")
#let color-light = rgb("a5a5a5")
#let color-important = rgb("ff7900")
#let color-important-2 = rgb("003359")
#let color-contrast = rgb("007479")
#let distibution = (6fr, 14fr, 3fr)
#let distibution_no_title = (20fr, 3fr)
#let setup(footer: none... | |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/src.md | markdown | MIT License | <!-- markdownlint-disable-file first-line-h1 -->
[Source](../../recipes/specifying-sources.md) containing all local files
needed in your Typst project.
|
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/pipeline/canvas/process.typ | typst | The Unlicense | #import "/src/math/lib.typ": *
#let individual(element, anchors: (:)) = {
let bounds = none
let element = element // mutable
if "drawables" in element {
if type(element.drawables) == dictionary {
element.drawables = (element.drawables,)
}
for drawable in element.drawables {
bounds = aa... |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/01_Einleitung/04_technologies.typ | typst | == Verwendete Technologien <headingUsedTechnologies>
| |
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/sec/uvod/2.%20bioreactors.typ | typst | #set heading(offset: 1)
#import "../../additional.typ": todo
#import "/src/figures/mod.typ": reactor, batch_reactor
A bioreactor is typically described as an apparatus containing a chamber in which organisms such as bacteria or yeast are grown.
The purpose of it is the production of biomolecular metabolites or biop... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum-numbering_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test numbering pattern.
#set enum(numbering: "(1.a.*)")
+ First
+ Second
2. Nested
+ Deep
+ Normal
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10000.typ | typst | Apache License 2.0 | #let data = (
("LINEAR B SYLLABLE B008 A", "Lo", 0),
("LINEAR B SYLLABLE B038 E", "Lo", 0),
("LINEAR B SYLLABLE B028 I", "Lo", 0),
("LINEAR B SYLLABLE B061 O", "Lo", 0),
("LINEAR B SYLLABLE B010 U", "Lo", 0),
("LINEAR B SYLLABLE B001 DA", "Lo", 0),
("LINEAR B SYLLABLE B045 DE", "Lo", 0),
("LINEAR B SYLL... |
https://github.com/Pablo-Gonzalez-Calderon/apuntes-botanica | https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/apuntes-botanica/main/src/template.typ | typst | Other | #import "@preview/showybox:2.0.1": showybox
#let properties(body) = {
set heading(numbering: "1.")
set text(lang: "es", font: "Linux Libertine")
set par(justify: true)
show heading.where(level: 4, numbering: "1."): it => {
heading(level: 4, numbering: none, it.body.text)
}
set page(numbering: ("1"))
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/par/paragraph.typ | typst | Apache License 2.0 |
#let template(content) = {
set text(size: 14pt)
set par(justify: true, first-line-indent: 2em)
content
}
#show: template
#show raw: rect
#linebreak()
比起我们最初想要的representation theorem,这里证明的版本多出了一个条件:$η_1$ 和 $η_2$ 之间要存在至少一个relation $R in "Rel"_Σ (η_1, η_2)$。。但是,不是所有 $η_1$ 和 $η_2$ 之间都存在至少一个relation。例如,考虑一个abstr... |
https://github.com/gvallinder/KTHThesis_Typst | https://raw.githubusercontent.com/gvallinder/KTHThesis_Typst/main/preface.typ | typst | MIT License | #pagebreak(to: "odd")
#heading(outlined: false, level: 1)[Preface]<preface>
The fonts used in this template are:
- Figtree, which is used for headings, headers and captions. You can download it at #link("https://fonts.google.com/specimen/Figtree")
- Georgia, which is used for body text. It is a serif font that is bas... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/hyphenate_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test hyphenating english and greek.
#set text(hyphenate: true)
#set page(width: auto)
#grid(
columns: (50pt, 50pt),
[Warm welcomes to Typst.],
text(lang: "el")[διαμερίσματα. \ λατρευτός],
)
|
https://github.com/PabloRuizCuevas/numty | https://raw.githubusercontent.com/PabloRuizCuevas/numty/master/README.md | markdown | MIT License | ## Numty
### Numeric Typst
A library for performing mathematical operations on matrices, vectors/arrays, and numbers in Typst, with support for broadcasting and handling NaN values. Numty’s broadcasting rules and API are inspired by NumPy.
```typ
#import "numty.typ" as nt
// Define vectors and matrices
#let a = (1,... |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/types/content/test.typ | typst | Other | #import "/src/lib.typ" as z
#set page(height: 1cm, width: 1cm)
#{
_ = z.parse([123465], z.content())
}
|
https://github.com/Az-21/typst-components | https://raw.githubusercontent.com/Az-21/typst-components/main/components/boxed_link.typ | typst | Creative Commons Zero v1.0 Universal | #let boxed_link(url, background: rgb("#d2e7f0"), foreground: rgb("#000000"), size: 10pt, width: 100%) = block(
width: width,
fill: background,
inset: (x: 3pt, y: 0pt),
outset: (y: 12pt),
radius: 2pt,
)[
#align(center,
text(fill: foreground, size: size, link(url))
)
]
|
https://github.com/MALossov/YunMo_Doc | https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/contents/info.typ | typst | Apache License 2.0 | #let ReportTitle = "云MO监控"
#let Authors = () |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap5/7_component_failure_analysis.typ | typst | Other | #import "../../core/core.typ"
=== Component failure analysis
The job of a technician frequently entails \"troubleshooting\" (locating
and correcting a problem) in malfunctioning circuits. Good
troubleshooting is a demanding and rewarding effort, requiring a
thorough understanding of the basic concepts, the ability to... |
https://github.com/el-ev/simple-assignment-template | https://raw.githubusercontent.com/el-ev/simple-assignment-template/main/template.typ | typst | MIT License | #let justify_align(left_body, right_body) = {
block[
#box(width: 1fr)[
#align(left)[
#left_body
]
]
#box(width: 1fr)[
#align(right)[
#right_body
]
]
]
}
#let box(contents) = {
rect(
fill: rgb(242,242,242),
stroke: 0pt,
width: 100%,
align(le... |
https://github.com/jackkyyh/ZXCSS | https://raw.githubusercontent.com/jackkyyh/ZXCSS/main/import.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/physica:0.8.1":bra, ket
#import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, cellx
#import "@preview/xarrow:0.2.0": xarrow
// #import "@preview/commute:0.2.0": node, arr, commutative-diagram
#import themes.metropolis: *
#let write_footer(footer) = {m-footer.... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-03.typ | typst | Other | // Subtraction.
#test(1-4, 3*-1)
#test(4cm - 2cm, 2cm)
#test(1e+2-1e-2, 99.99)
// Multiplication.
#test(2 * 4, 8)
// Division.
#test(12pt/.4, 30pt)
#test(7 / 2, 3.5)
// Combination.
#test(3-4 * 5 < -10, true)
#test({ let x; x = 1 + 4*5 >= 21 and { x = "a"; x + "b" == "ab" }; x }, true)
// With block.
#test(if true ... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/010_Paper%20Trail.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Paper Trail",
set_name: "Dragon's Maze",
story_date: datetime(day: 12, month: 06, year: 2013),
author: "<NAME>",
doc
)
#box(inset: (left: 2.0mm), stroke: (left: 0.5mm + gray))[Diary,
Today is the best day ever! Mama bought me a snapjaw egg... | |
https://github.com/LeeWooQM/TypstNote | https://raw.githubusercontent.com/LeeWooQM/TypstNote/main/README.md | markdown | MIT License | # Simple Note for Typst
This project uses the code of
https://github.com/Fr4nk1in-USTC/typst-notebook
### How to use it
- Copy temp.typ to your document's folder
- Adding these codes at the top of your source code
```typst
#import "temp.typ": note
#import "temp.typ": theorem
#import "temp.typ": definition
#import "temp... |
https://github.com/detypstify/detypstify | https://raw.githubusercontent.com/detypstify/detypstify/main/paper/README.md | markdown | # Neural Information Processing Systems (NeurIPS)
## Usage
You can use this template in the Typst web app by clicking _Start from
template_ on the dashboard and searching for `bloated-neurips`.
Alternatively, you can use the CLI to kick this project off using the command
```shell
typst init @preview/bloated-neurips... | |
https://github.com/pank-su/typst-gost | https://raw.githubusercontent.com/pank-su/typst-gost/main/main.typ | typst | #import "templates/index.typ": *
#import "templates/utils.typ": *
// Тут указываем только авторов [authors] и название работы [title]
#show: index.with(authors: ("<NAME>", ), )
#ch("Introduction")
#lorem(60)
= In this paper
#lorem(20)
=== Contributions
#lorem(40)
= Related Work
#lorem(500)
| |
https://github.com/veilkev/jvvslead | https://raw.githubusercontent.com/veilkev/jvvslead/Typst/files/count.typ | typst | #import "../sys/packages.typ": *
#import "../sys/sys.typ": *
#import "../sys/header.typ": *
#import "@preview/bob-draw:0.1.0": *
// Space between header
#v(150pt)
// Shows heading
#text(size: 12pt
)[= Counting In/Out]
#note("Description")
Bank 99 \
#sym.arrow.r Bank Till (_for general store use_)\
#sym.arrow.r New... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10D40.typ | typst | Apache License 2.0 | #let data = (
("GARAY DIGIT ZERO", "Nd", 0),
("GARAY DIGIT ONE", "Nd", 0),
("GARAY DIGIT TWO", "Nd", 0),
("GARAY DIGIT THREE", "Nd", 0),
("GARAY DIGIT FOUR", "Nd", 0),
("GARAY DIGIT FIVE", "Nd", 0),
("GARAY DIGIT SIX", "Nd", 0),
("GARAY DIGIT SEVEN", "Nd", 0),
("GARAY DIGIT EIGHT", "Nd", 0),
("GARAY... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/cli/README.md | markdown | Apache License 2.0 | # typst-ts-cli
See [Typst.ts](https://github.com/Myriad-Dreamin/typst.ts)
|
https://github.com/HPDell/typst-starter-journal-article | https://raw.githubusercontent.com/HPDell/typst-starter-journal-article/main/template/main.typ | typst | MIT License | #import "@preview/starter-journal-article:0.3.1": article, author-meta
#show: article.with(
title: "Article Title",
authors: (
"Author One": author-meta(
"UCL", "TSU",
email: "<EMAIL>",
),
"Author Two": author-meta(
"TSU",
cofirst: true
),
"Author Three": author-meta(
... |
https://github.com/donabe8898/typst-thesis-template | https://raw.githubusercontent.com/donabe8898/typst-thesis-template/main/template/main.typ | typst | Apache License 2.0 | #import "../resume/titlepage.typ": *
// ページ設定
#set par(leading: 1em)
#set enum(indent: 1em)
#set table(inset: 8pt)
#set heading(numbering: "1.1.")
#set ref(supplement: "式")
// 表紙
#show: titlepage.with(
title: "ハンバーガー4個分指数に関する研究",
author: "XDG1991L 小倉=ノルト=オグラノ",
date: "2023 年 12 月 hoge 日",
year:"2023 年度",
te... |
https://github.com/Wallbreaker5th/fuzzy-cnoi-statement | https://raw.githubusercontent.com/Wallbreaker5th/fuzzy-cnoi-statement/main/fuzzy-cnoi-statement.typ | typst | MIT No Attribution | // Typst template for making NOI-like problems
// Author: Wallbreaker5th
// MIT-0 License
#import "@preview/codelst:2.0.0": sourcecode
#let 字号 = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-06.typ | typst | Other | // Test default value.
#test((1, 2, 3).at(2, default: 5), 3)
#test((1, 2, 3).at(3, default: 5), 5)
|
https://github.com/zurgl/typst-resume | https://raw.githubusercontent.com/zurgl/typst-resume/main/templates/letter/main.typ | typst | #import "../../metadata.typ": *
#import "../commun.typ": *
#import "@preview/fontawesome:0.1.0": *
#let letterHeaderNameStyle(str) = { text(fill: accentColor, weight: "bold", str) }
#let letterHeaderAddressStyle(str) = { text(fill: gray, size: 0.9em, smallcaps(str)) }
#let letterDateStyle(str) = { text(size: 0.9em,... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/bibliography.typ | typst | Apache License 2.0 | // Test citations and bibliographies.
---
#set page(width: 200pt)
= Details
See also @arrgh #cite(<distress>, supplement: [p.~22]), @arrgh[p.~4], and @distress[p.~5].
#bibliography("/files/works.bib")
---
// Test unconventional order.
#set page(width: 200pt)
#bibliography(
"/files/works.bib",
title: [Works to be... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/003%20-%20Gatecrash/013_Behind%20the%20Black%20Sun.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Behind the Black Sun",
set_name: "Gatecrash",
story_date: datetime(day: 27, month: 03, year: 2013),
author: "<NAME>",
doc
)
The candle flickered.
"I am a gateway for life," the cleric said.The dancing light added some numinous gravity to t... | |
https://github.com/LucaCiucci/bob-typ | https://raw.githubusercontent.com/LucaCiucci/bob-typ/main/README.md | markdown | MIT License | # bob-draw-typ
svgbob for typst, powered by wasm
See [`typst-package/README.md`](typst-package/README.md) for more information.
## Build
```sh
cargo build --release --target wasm32-unknown-unknown; cp ./target/wasm32-unknown-unknown/release/bob_typ.wasm ./typst-package
``` |
https://github.com/Thumuss/truthfy | https://raw.githubusercontent.com/Thumuss/truthfy/main/example.typ | typst | MIT License | #import "main.typ": *
#set page(width: auto, height: 500pt)
#truth-table($u_7 => u_(22) => u$, $u_7 ? u_22 : u$)
#truth-table($A xor B$, $A and B$)
#truth-table($A and B$, $B or A$, $A => B$)
#truth-table($p => q$, $not p => (q <=> p)$, $p or q$, $not p xor q$)
#truth-table(sc: (a) => {if (a) {"a"} else {"b"}... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/anchor/anchor.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## Anchor attachment
== #tr[anchor attachment]
// XXX
// 原文少一段介绍待补
|
https://github.com/EunTilofy/NumComputationalMethods | https://raw.githubusercontent.com/EunTilofy/NumComputationalMethods/main/Chapter10/Chapter10-1.typ | typst | #import "../template.typ": *
#show: project.with(
course: "Computing Method",
title: "Computing Method - Chapter10-1",
date: "2024.5.21",
authors: "<NAME>, 3210106357",
has_cover: false
)
*Problems:Chapter9-3,Chapter10-3*
#HWProb(name: "9-3")[
试证明 Jacobi 方法计算公式 (9.33) 可写成,
$
&d = cot 2 phi, t = d + text("... | |
https://github.com/pm3512/resume | https://raw.githubusercontent.com/pm3512/resume/main/Alexander_Obolenskiy_resume.typ | typst | #let useAddress = false
#show heading: set text(font: "Linux Biolinum")
#show link: underline
#set text(size: 11.7pt)
#set page(
margin: (x: 0.9cm, y: 1.3cm),
)
// text with an icon and link (used in header)
#let iconText(icon, text, dest, dy, imageSize) = {
box(move(dy: dy, image(
width: imageSize,
ic... | |
https://github.com/diogro/memorial | https://raw.githubusercontent.com/diogro/memorial/master/IB-USP-2024/memorial.typ | typst | #align(left + horizon, text(35pt, font: "Skolar Sans PE TEST", weight: "extrabold")[
*Memorial de Atividades, Títulos e Publicações*
])
#align(left, text(20pt, font: "Skolar Sans PE TEST", weight: "bold")[
*Concurso de Professor Doutor em RDIDP no Departamento de Botânica*
])
#align(left, text(15pt, font: "Skolar... | |
https://github.com/MichaelFraiman/TAU_template | https://raw.githubusercontent.com/MichaelFraiman/TAU_template/main/mfraiman-TAU-TA.typ | typst | // **** imports ****
// boxes
#import "mfraiman-boxes.typ" as box
// problem setup
#import "mfraiman-problem.typ" as problem
// theorems setup
#import "mfraiman-theorem.typ" as th
// lists
#import "mfraiman-lists.typ" as li
// Global parameters for the handout
#let g_les_num = state("LessonNumber", none)
#let g_les_da... | |
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/figures/simulation.typ | typst | #import "../additional.typ": todo
#import "@preview/cetz:0.2.2": canvas, plot, draw, vector
#import "@preview/oxifmt:0.2.1": strfmt
#let get_plot(target) = {
let plots = csv(target + ".csv", row-type: dictionary).map(
((minutes, volume, vcd,glutamin,glucose,DO,c_O2,oxygen,product)) => (
minutes: float(minute... | |
https://github.com/dark-flames/resume | https://raw.githubusercontent.com/dark-flames/resume/main/resume.typ | typst | MIT License | #import "chicv.typ": *
#import "libs.typ": *
#import "data.typ": *
#let resume(env) = [
#show: chicv
#name(env)
#links(env)
#edu(env)
#interest(env)
#research(env)
#work(env)
#openSource(env)
#project(env)
#if is-cv(env) {
new-page(env)
}
#skill(env)
#award(env)
#pub(env)
... |
https://github.com/ymgyt/techbook | https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/specification/module.md | markdown | # module
* moduleとは、import or exportを1つ以上含むjs fileのこと
* moduleは常にstrict mode
* 1回目のimportのときだけ評価され、以降はcacheされる
## ES Module
* typescriptではこれ
## CommonJS
```typescript
const pkg1 = require("package1");
```
* serverside(node)で使う場合はこれ
* `require()`を使う
* `.js`,`.ts`を読み込む(`.js`が優先される)
* `node_modules` dir配下に存在する必要がある
... | |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_785%20-%20Number%20Theory/Assignments/Assignment%201.typ | typst | #import "/Templates/generic.typ": latex, header
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#import "/Templates/assignment.typ": *
#show: doc => header(title: "Assignment 1", name: "<NAME>", doc)
#show: latex
#show: NumberingAfter
#show: thmrules
#let col(x, clr) = text(fill: clr)[$#x$]
#let ... | |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-03-22/24-03-22.typ | typst | #import "/template.typ": *
#show: project.with(
date: "22/03/24",
subTitle: "Meeting post colloquio con il Proponente",
docType: "verbale",
authors: (
"<NAME>",
),
reviewers: (
"<NAME>",
),
missingMembers: (
"<NAME>",
),
timeStart: "16:30",
timeEnd: "17:00",
);
= Ordine del giorno
A ... | |
https://github.com/ice-kylin/typst-cv-miku | https://raw.githubusercontent.com/ice-kylin/typst-cv-miku/main/data.typ | typst | Do What The F*ck You Want To Public License | #import "template.typ": *
#let name = "<NAME>"
#let namezh = "中野三玖"
#let email = [
#icon("email.svg") <EMAIL>
]
#let phone = [
#icon("phone.svg")
(+81) 0906914373641
]
#let home = [
#icon("home.svg")
#link("https://miku.example.com")[ miku.example.com ]
]
#let github = [
#icon("github.svg")
#link("https:... |
https://github.com/KrisjanisP/lu-icpc-notebook | https://raw.githubusercontent.com/KrisjanisP/lu-icpc-notebook/main/4-structures.typ | typst | = Data structures
#block(breakable:false,[
== Treap
```cpp
struct Node{
int value, cnt, pri; Node *left, *right;
Node(int p) : value(p), cnt(1), pri(gen()),
left(NULL), right(NULL) {};
};
typedef Node* pnode;
int get(pnode q){if(!q) return 0; return q->cnt;}
void update_cnt(pnode &q){
if(!q) retur... | |
https://github.com/zSnails/StreamX | https://raw.githubusercontent.com/zSnails/StreamX/master/paper/doc.typ | typst | #import "template.typ": ieee_conference as ieee
// #import "@preview/charged-ieee:0.1.2": ieee
#let keywords = (
"HTTP Live Streaming (HLS)",
"StreamX",
"Multimedia content delivery",
"Scalability",
"Load balancing",
"PostgreSQL blob storage",
"Network performanc... | |
https://github.com/Caellian/UNIRI_voxels_doc | https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/content/realno_vrijeme.typ | typst | = Prikaz u realnom vremenu
- https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/
- https://www.reddit.com/r/VoxelGameDev/comments/j89l6j/texturing_with_greedy_meshing/
- Vokseli sa teksturama nisu vokseli, no ovo je temelj za povezivanje drugih podataka (boje u praktičnom dijelu, occlusion, normale, ...)
== GP... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/038%20-%20War%20of%20the%20Spark/002_The%20Path%20to%20Opulent.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Path to Opulent",
set_name: "War of the Spark",
story_date: datetime(day: 15, month: 05, year: 2019),
author: "<NAME>",
doc
)
#align(center)[#strong[I.]]
Hekara was dead.
That's all I knew.
It was lucky, I guess, that I was standing ... | |
https://github.com/xkevio/parcio-typst | https://raw.githubusercontent.com/xkevio/parcio-typst/main/parcio-thesis/appendix.typ | typst | MIT License | #counter(heading).update(0)
#heading(numbering: "A.", supplement: "Appendix")[Appendix]<appendix>
#figure(
caption: "Caption",
numbering: n => numbering("A.1", counter(heading).get().first(), n))[
```c
printf("Hello World!\n");
// Comment
for (int i = 0; i < m; i++) {
for (int j = 0; j < n; j++) {
... |
https://github.com/Karolinskis/KTU-typst | https://raw.githubusercontent.com/Karolinskis/KTU-typst/main/main.typ | typst | #set text(font: "Times New Roman")
#import "variables.typ": *
#include "mainPages/TitlePage.typ"
#include "mainPages/SecondPage.typ"
#include "mainPages/ThirdPage.typ"
#include "mainPages/PageSummaryLT.typ"
#include "mainPages/PageSummaryEN.typ"
#include "mainPages/TableOfContents.typ"
#include "mainPages/TableList.ty... | |
https://github.com/yonatanmgr/university-notes | https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661111-%5BLinear%20Algebra%201A%5D/src/lectures/03661111_lecture_14.typ | typst | #import "/template.typ": *
#import "@preview/colorful-boxes:1.2.0": *
#show: project.with(
title: "אלגברה לינארית 1א׳ - שיעור 14",
authors: ("<NAME>",),
date: "20 בפברואר, 2024",
)
#set enum(numbering: "(1.א)")
= הפיכת מטריצות
הכרנו את המטריצה המשוחלפת: $trs(A_(i j)) = A_(j i)$.
==== למה היא טובה?
תהי $A in ... | |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/lerna.typ | typst | == Lerna and NX <sec-lerna>
Lerna and NX are powerful tools designed to manage complex JavaScript monorepo
projects efficiently. This section will explore their key features, benefits,
and challenges, as well as their integration with each other to create a robust
development environment.
Lerna and NX offer a powerfu... | |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ISI/docs/2-Intrusions/intrusion-web.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Intrusions web
],
lesson: "ISI",
chapter: "2 - Intrusions",
definition: "Ce document traite de la cryptographie, une discipline essentielle pour sécuriser les communications en ligne. Il couvre les concepts fondamentaux des ap... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/218.%20best.html.typ | typst | best.html
The Best Essay
March 2024Despite its title this isn't meant to be the best essay. My goal
here is to figure out what the best essay would be like.It would be well-written, but you can write well about any topic.
What made it special would be what it was about.Obviously some topics would be better than others... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/casoslov/velkaVecierenBezKnaza.typ | typst | #import "../../style.typ": *
#import "/CSL/texts.typ": *
#import "../styleCasoslov.typ": *
= Velikaja večerňa <X>
#show: rest => columns(2, rest)
#nacaloBezKnaza
#include "../zalmy/Z103.typ"
#si
#lettrine("Allilúia, allilúia, allilúia. Sláva tebí, Bóže.") #primText[(3x)]
#ektenia(12)
#note[Nasleduje predpísaná ... | |
https://github.com/kotatsuyaki/canonical-nthu-thesis | https://raw.githubusercontent.com/kotatsuyaki/canonical-nthu-thesis/main/lib.typ | typst | MIT License | #import "pages/zh-cover.typ": zh-cover-page
#import "pages/en-cover.typ": en-cover-page
#import "pages/outlines.typ": outline-pages
#import "layouts/preface.typ": preface-impl
#import "layouts/body.typ": body-impl
#import "layouts/doc.typ": doc-impl
#let cover-pages-impl(info: (:), style: (:)) = {
zh-cover-page(in... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/heapsort/heapify_step_0.typ | typst | #import "/components/lefttree.typ": lefttree, draw_node, note, connect, bent_line, fade
#import "@preview/cetz:0.3.0"
#cetz.canvas({
import cetz.draw: *
import cetz.tree: tree
tree(
lefttree((34, 45, 38).map(n => str(n))),
draw-node: draw_node.with(hl_primary: 0),
spread: 2,
name: "tree"
)
... | |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/sverak-smoljak.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": autor
#autor("<NAME>", "1936", "", "režisér a scénárista", "učitelství češtiny", "novodobý", "/cj-autori/media/sverak.jpg")
#autor("<NAME>", "1931", "2010 (78 let)", "režisér a scénárista", "učitelství matematiky a fyziky", "novodobý", "/cj-autori/media/smoljak.jpg")
Oba pracovali ve filmových... |
https://github.com/alberto-lazari/computer-science | https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-cs/quantum-algorithms/chapters/deepening.typ | typst | #import "/common.typ": *
= Shor's factorization algorithm
An interesting quantum algorithm, that brings great performance improvements and has real-world implications is Shor's integer factorization algorithm.
== Classical integer factorization
Factorizing an integer $n$ is generally intractable on classical computat... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/return-00.typ | typst | Other | // Test return with value.
#let f(x) = {
return x + 1
}
#test(f(1), 2)
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/stroke_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Some simple test lines
#line(length: 60pt, stroke: red)
#v(3pt)
#line(length: 60pt, stroke: 2pt)
#v(3pt)
#line(length: 60pt, stroke: blue + 1.5pt)
#v(3pt)
#line(length: 60pt, stroke: (paint: red, thickness: 1pt, dash: "dashed"))
#v(3pt)
#line(le... |
https://github.com/GYPpro/ACM_res | https://raw.githubusercontent.com/GYPpro/ACM_res/main/0_Template/geo/Distance.typ | typst | #import "@preview/codelst:2.0.1": sourcecode
// Display inline code in a box
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(230),
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
radius: 2pt,
)
#show raw.where(block: true): block.with(
fill: luma(240),
... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/grid-1-01.typ | typst | Other | #set rect(inset: 0pt)
#grid(
columns: (auto, auto, 40%),
column-gutter: 1fr,
row-gutter: 1fr,
rect(fill: eastern)[dddaa aaa aaa],
rect(fill: green)[ccc],
rect(fill: rgb("dddddd"))[aaa],
)
|
https://github.com/LDemetrios/ProgLectures | https://raw.githubusercontent.com/LDemetrios/ProgLectures/main/kotlinheader.typ | typst | #import "@local/ldemetrios-commons:0.1.0" : * // https://github.com/LDemetrios/LDemetrios-Typst-Commons
//////////// Icons
#let JVM = [#box[#pad(bottom:-0.2em)[#image(height: 1.2em, "JVM icon.png")]] *JV**M*]
#let Kotlin = [ #box[#pad(bottom:-0.05em,right: -0.3em)[#image(height: 0.8em, "Kotlin.png")]] otlin]
#let IEE... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/minimalistic-latex-cv/0.1.0/lib.typ | typst | Apache License 2.0 | #let cv(
name: "",
metadata: (),
photo: none,
lang: "en",
body,
) = {
set document(author: name, title: name + " CV")
set page(
margin: (x: 30pt, y: 30pt),
)
set text(0.9em, font: "New Computer Modern", lang: lang)
show heading.where(level: 1): it => {
set text(0.9em, weight: "light")
sma... |
https://github.com/mrtz-j/typst-thesis-template | https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/modules/epigraph.typ | typst | MIT License | #let epigraph-page(body) = {
// --- Epigraphs ---
page(
numbering: none,
align(right + bottom)[
#body
],
)
}
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p3_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test limit.
$ lim_(n->oo \ n "grows") sum_(k=0 \ k in NN)^n k $
|
https://github.com/pluttan/typst-bmstu | https://raw.githubusercontent.com/pluttan/typst-bmstu/main/README.md | markdown | MIT License | # [BMSTU typst](https://github.com/pluttan/typst-bmstu)
В данном репозитории представлены основные шаблоны работ для студентов, оформленные в типографической системе [Typst](https://typst.app):
## Установка
Склонируйте репозиторий в `$HOME`
```bash
git clone https://github.com/pluttan/typst-bmstu $HOME/typst-bmstu
... |
https://github.com/MH0386/MH0386 | https://raw.githubusercontent.com/MH0386/MH0386/main/resume.typ | typst | #set text(size: 10pt)
#align(center)[
#smallcaps[#text(weight: "black", size: 20pt)[<NAME>]] \
Undergraduate Student \
#link("mailto:<EMAIL>")[<EMAIL>] |
#link("tel:+201126748566")[+201126748566] |
Ezz El-Deen Omar Street, Giza, Egypt \
#strong[
#link("https://mh0386.github.io")[My Website] |
#li... | |
https://github.com/schmidma/typst-workshop | https://raw.githubusercontent.com/schmidma/typst-workshop/main/examples/12-bibliography.typ | typst | Creative Commons Zero v1.0 Universal | This is a citation to a paper by @johnson2022ai. Followed by a work of <NAME> @smith2023modern.
#bibliography("literature.bib") |
https://github.com/data-niklas/typst_live | https://raw.githubusercontent.com/data-niklas/typst_live/main/README.md | markdown | MIT License | # Typst live
Create beautiful PDF's right in your browser using [Typst](https://typst.app). This project brings Typst into your browser using WASM.
## Features
- Create PDF's completely locally (after loading the page, no further internet connection is required, except to load further packages)
- Support for Typst pac... |
https://github.com/Jollywatt/typst-wordometer | https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/README.md | markdown | MIT License | # `wordometer`
[](docs/manual.pdf)

[
#set text(
font:("Times New Roman","Source Han Serif SC"),
style:"normal",
weight: "regular",
size: 13pt,
)
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(240),
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
... | |
https://github.com/RiccardoTonioloDev/Bachelor-Thesis | https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/chapters/attention.typ | typst | Other | #pagebreak(to: "odd")
= _Attention_ <ch:attention>
Le reti neurali convoluzionali, sebbene funzionino particolarmente bene per essere addestrate su immagini e video, hanno un problema alla base, ovvero non sono in grado di considerare delle dipendenze a lungo raggio tra i vari _pixel_ o _patch_ del contenuto in analisi... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Nvim.md | markdown | ## Plugins
- Lazy
- Catppuccin
- Typst
- Telescope
- Treesitter
- Lualine
- Mason
- nvim-cmp
- LuaSnip
| |
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/src/impl.typ | typst | MIT License | // Access to implementation for third-party packages. Note: this API may be unstable.
#import "formatting.typ"
#import "parsing.typ"
#import "utility.typ"
#import "rounding.typ" |
https://github.com/fredguth/typst-business-model-canvas | https://raw.githubusercontent.com/fredguth/typst-business-model-canvas/main/biz_canvas.typ | typst | #import "@preview/tablex:0.0.5": tablex, rowspanx, colspanx, hlinex, cellx
#let canvas(
title:[],
business:[],
problems:[],
activities:[],
metrics:[],
proposition:[],
unfair:[],
channels:[],
clients:[],
costs:[] ,
revenues:[],
) = {
set page(
"a4",
flipped: true,
fill... | |
https://github.com/Nikudanngo/typst-ja-resume-template | https://raw.githubusercontent.com/Nikudanngo/typst-ja-resume-template/main/main.typ | typst | MIT License | #import "template.typ": *
#let title = [#text(tracking: 1em,size: 14pt,[履歴書])]
#let fontSerif = ("Noto Serif", "Noto Serif CJK JP")
#let fontSan = ("Noto Sans", "Noto Sans CJK JP")
#set text(font: fontSerif, size: systemFontSize)
#set page(paper: "jis-b5",margin: 1.5cm)
= #title
// 使い方の説明。
// "私"と"アドレス"など日本語名の関数の引数を... |
https://github.com/wangwhh/AETG-algorithm | https://raw.githubusercontent.com/wangwhh/AETG-algorithm/master/report/assets/report-template.typ | typst | #let song = ("Times New Roman", "SimSun")
// #let song = "Source Han Serif SC"
#let san = 16pt
#let xiaosan = 15pt
#let si = 14pt
#let xiaosi = 12pt
#let fake-par = {
v(-1em)
show par: set block(spacing: 0pt)
par("")
}
#let cover(
course: "",
name: "",
college: "",
department: "",
major: "",
id: "",... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/drawable.typ | typst | Apache License 2.0 | #import "path-util.typ"
#import "vector.typ"
#import "util.typ"
#import "path-util.typ"
#let apply-transform(transform, drawables) = {
if type(drawables) == dictionary {
drawables = (drawables,)
}
if drawables.len() == 0 {
return ()
}
for drawable in drawables {
assert(type(drawable) != array,
... |
https://github.com/jackkyyh/ZXCSS | https://raw.githubusercontent.com/jackkyyh/ZXCSS/main/scripts/2_encoder.typ | typst | #import "../import.typ": *
#slide(title: [CSS codes])[
/ CSS codes: stabilizer codes whose stabilizers can be divided into\ 2 types: *X-type* or *Z-type*.
]
#slide(title: [CSS codes])[
$cal(S)=angle.l Z Z I, Z I Z angle.r$
$cal(S)=angle.l Z Z, X X angle.r$
$cal(S)=angle.l Z Z Z Z, X X X X angle.r$
#paus... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-number-align_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(
height: 100pt,
margin: 30pt,
numbering: "(1)",
number-align: top + right,
)
#block(width: 100%, height: 100%, fill: aqua.lighten(50%))
|
https://github.com/ofurtumi/formleg | https://raw.githubusercontent.com/ofurtumi/formleg/main/h05/H5.typ | typst | #import "@templates/ass:0.1.1": *
#show: doc => template(
project: "Homework 5",
class: "Töl301G",
doc
)
#set heading(numbering: "1a.")
= Parse trees and derivations
==
#align(center + horizon, [#image("../imgs/h5-v1-a.png", height: 100pt) $E -> T -> F -> a$])
==
#align(center + horizon, [#image("../imgs/h5-... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-text_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that gradient fills on text work for globally defined gradients.
#set page(width: 200pt, height: auto, margin: 10pt, background: {
rect(width: 100%, height: 30pt, fill: gradient.linear(red, blue))
})
#set par(justify: true)
#set text(fil... |
https://github.com/Gavinok/typst-res | https://raw.githubusercontent.com/Gavinok/typst-res/master/skills.typ | typst | #import "layout.typ": skill_set
#skill_set("Programming Languages")[
Java, C++, Python, TypeScript, Bash, Common Lisp, Clojure, and ClojureScript
]
#skill_set("Office Software")[
Adobe Photoshop, Inkscape, Blender, and Microsoft Office
]
#skill_set("Frameworks and Databases")[
Agile,
Selenium,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.