repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Shedward/dnd-charbook | https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/core/layout.typ | typst | #import "dimentions.typ": *
#import "graphics.typ": *
#import "styles.typ": *
// Set of available fittings
// Container shrink around container
#let shrink = "shrink"
// Content expand to all available space
#let expand = "expand"
// Content expand horizontally, but shrink vertically
#let expand-h = "expand-h"
// Con... | |
https://github.com/r8vnhill/keen-manual | https://raw.githubusercontent.com/r8vnhill/keen-manual/main/omp/rep_ev.typ | typst | BSD 2-Clause "Simplified" License | == Representation and evaluation
In the context of Keen, the representation of candidate solutions is fundamental.
These solutions are modeled as collections of "genetic material," mirroring the concept of genes and chromosomes in biological systems.
This genetic material, depending on its organization and granularity... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas7/5_Piatok.typ | typst | #let V = (
"HV": (
("","Ne ktomú vozbraňájemi","Da čelovíka Bóha soďílaješi, čelovík býl jesí preblahíj Christé, i raspjálsja jesí: sláva síľi tvojéj."),
("","","Jehdá na krest ťá Iisúse, sónm jevréjskij osudí, zemľá trjasášesja, i sólnca svít skryvášesja."),
("","","Térnijem ťá bezsmértne, vinčá sobór be... | |
https://github.com/andrin-geiger/hslu_template_typst | https://raw.githubusercontent.com/andrin-geiger/hslu_template_typst/master/README.md | markdown | # Typst Template for BAA/Wipro at HSLU
This is my personal template for the BAA/Wipro at HSLU using [Typst](https://typst.app).\
No guarantee for correctness or completeness.
## How to use this template
Fill in your details in the `#show: project.with()` section of the [Typst_Template.typ](Typst_Template.typ) file.\... | |
https://github.com/kradann/Anal-zis-zh-2 | https://raw.githubusercontent.com/kradann/Anal-zis-zh-2/main/masodik.typ | typst | #import "@preview/cetz:0.2.2"
#let colorS = color.rgb("#B4D3B4")
#set page(
paper: "a4",
numbering: "1.",
margin: (x: 40pt, y: 40pt)
)
#set document(
author: "<NAME> & <NAME>",
title: "Első Analízis II. ZH kérdései"
)
#set text(
size: 15pt,
font: "Times New Roman"
)
#set par(justify: true)
#set enum... | |
https://github.com/PhilChodrow/cv | https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/experience.typ | typst |
#import "../template.typ": *
#cvSection("Experience", vspace:0cm)
#cvEntry(
title: [Assistant Professor of Computer Science],
organisation: [Middlebury College],
// logo: "",
date: [2022 -- present],
location: [Middlebury, VT],
description: ""
// tags: ("Go", "TypeScript", "React", "Postg... | |
https://github.com/MDLC01/board-n-pieces | https://raw.githubusercontent.com/MDLC01/board-n-pieces/main/src/README.md | markdown | MIT License | > [!NOTE]
> This file is used to generate [the Typst Universe page](https://typst.app/universe/package/board-n-pieces). It is processed by [`/build.py`](/build.py).
# Board & Pieces
Display chessboards in Typst.
## Displaying chessboards
The main function of this package is `board`. It lets you display a specific... |
https://github.com/GuilloteauQ/typst-slides-unibas | https://raw.githubusercontent.com/GuilloteauQ/typst-slides-unibas/main/theme.typ | typst | #import "@preview/polylux:0.3.1": *
#let unibas-mint = rgb("#a5d7d2")
#let unibas-mint-light = rgb("#c0e3df")
#let unibas-theme(aspect-ratio: "16-9", body) = {
set page(
paper: "presentation-" + aspect-ratio,
fill: white,
margin: 0em,
header: none,
footer: none,
)
let unibas-marker = image(... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/edge_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 24-36 expected "baseline", "descender", "bounds", or length
// #set text(bottom-edge: "cap-height") |
https://github.com/waynr/rsume | https://raw.githubusercontent.com/waynr/rsume/main/templates/general-purpose.typ | typst | {% for keyword in keywords -%}
#show regex("(?i)\\b{{keyword}}\\b"): set text(weight: "black", fill: rgb("#39cccc"))
{% endfor %}
#let page_title(body) = {
set align(center)
set text(
size: 2.0em,
weight: "medium",
)
[#body]
}
#let data = yaml("data.yaml")
#let theme = {
let d = (:)
let t = yaml("... | |
https://github.com/mrknorman/cv | https://raw.githubusercontent.com/mrknorman/cv/main/michael_norman_cv.typ | typst | #import "template.typ": *
#show: project.with(
title: "Research Scientist",
author: "Dr <NAME>",
github: "mrknorman",
linkedin : "mrknorman",
phone: "+44 7956 775128",
email: "<EMAIL>"
)
= Education
#cventry(
start: (month: "September", year: 2019),
end: (month: "February", year: 2024),
role: [Grav... | |
https://github.com/Many5900/aau-typst | https://raw.githubusercontent.com/Many5900/aau-typst/main/README.md | markdown | # typst-report
#### TO COMPILE LOCALLY RUN $ `typst watch main.typ`
#### TO VIEW PDF LOCALLY RUN $ `tinymist preview main.typ --partial-rendering`
### typst
[typst](https://github.com/typst/typst) \
macOS: `brew install typst` \
Windows: `winget install --id Typst.Typst`
### tinymist
[tinymist](http... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test nested footnotes.
First \
Second #footnote[A, #footnote[B, #footnote[C]]] \
Third #footnote[D, #footnote[E]] \
Fourth
|
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/casoslov/postne_casy/cas1.typ | typst | #import "/style.typ": *
#import "/SK/texts.typ": *
#import "../styleCasoslov.typ": *
= Prvý pôstny čas
#show: rest => columns(2, rest)
#nacaloBezKnaza
#zalm(5)
#zalm(89)
#zalm(100)
#si
#lettrine("Aleluja, aleluja, aleluja, sláva tebe, Bože.") #note[(3x)]
#lettrine("Pane, zmiluj sa.") #note[(3x)]
== Katizma
#n... | |
https://github.com/EpicEricEE/typst-plugins | https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/qr/src/lib.typ | typst | #import "qr.typ": create
| |
https://github.com/angelcerveraroldan/notes | https://raw.githubusercontent.com/angelcerveraroldan/notes/main/algorithms_ds/inner/fenwick.typ | typst | #import "../../preamble.typ" : *
= Fenwick Trees
Fenwick trees can be used for efficient range / update queries. Both ranges and updates run in `O(log(n))`, and `O(n)` in memory. Fenwick trees are simpler to implement, and faster than segment trees, however there are many cases where a segment tree can be used, but a... | |
https://github.com/augustebaum/petri | https://raw.githubusercontent.com/augustebaum/petri/main/tests/fletcher/large-example/test.typ | typst | MIT License | #import "/src/lib.typ": *
#set page(width: auto, height: auto, margin: 1cm)
#import "@preview/cetz:0.2.2" as cetz
#import "@preview/fletcher:0.4.2" as fletcher: edge
// The example is taken from https://tikz.dev/library-petri#sec-64.4
#{
let p1 = (0,0)
let p2 = cetz.vector.add(p1, (0, 1))
let p3 = cetz.vector.... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/flow-4_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 105pt)
#block(lorem(20))
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/board-n-pieces/0.1.0/internals.typ | typst | Apache License 2.0 | #import "abi.typ"
#let functions = plugin("plugin.wasm")
#let parse-fen = abi.function(
(..args) => functions.parse_fen(..args),
bytes,
abi.position-from-bytes,
)
/// Returns the index of a file.
#let file-index(file) = file.to-unicode() - "a".to-unicode()
/// Returns the index of a rank.
#let rank-index(r) =... |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/tests/pause.typ | typst | #import "../polylux.typ": *
#set page(paper: "presentation-16-9")
#polylux-slide[
== Text like content
Hello
#pause
$a + b$
#pause
$ integral f(x) dif x $
#pause
- *item1*
- _item2_
- `item3`
#pause
+ #underline[item1]
+ #strike[item2]
+ #overline[item3]
#pause
/ def1: abc
/ ... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/07-proposed-solution/08-conclusion.typ | typst | == Conclusion
In this chapter, we proposed our solution for automated identification of microservice candidates within the context of monolith applications.
We answered the following research question:
#link(<research_question_3>)[*Research Question 3*]: How can static analysis of source code identify module boundari... | |
https://github.com/GuTaoZi/SUSTech-thesis-typst | https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/utils/style.typ | typst | MIT License | #let FSIZE = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
小六: 6.5pt,
七号: 5.5pt,
小七: 5pt,
)
#let FONTS = (
宋体: ("Times New Roman", "Source Han Serif SC", "Source Ha... |
https://github.com/freundTech/typst-typearea | https://raw.githubusercontent.com/freundTech/typst-typearea/main/tests/footer.query.typ | typst | MIT License | #import "../typearea.typ": *
#show: typearea.with(
width: 100pt,
height: 100pt,
div: 5,
footer-include: false,
footer-height: 10pt,
footer-sep: 5pt,
footer: context [
#layout(size => [
#metadata(here().position() + size + (align: align.alignment))<result>
])
]
)
#metadata((
page: 1,
... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0005.typ | typst | #import "../helpers.typ": *
#let longest-palindromic-substring-ref(s) = {
let s = s.clusters()
let t = ()
for c in s {
t.push("$")
t.push(c)
}
t.push("$")
let n = t.len()
let a = fill(0, n)
let l = 0
let r = -1
for i in range(n) {
let j = if i > r { 1 } else { calc.min(a.at(l + r - i), ... | |
https://github.com/k-84mo10/typst_modification | https://raw.githubusercontent.com/k-84mo10/typst_modification/main/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[Nineth]
---
#set page(width: auto, height: auto)
// Test with auto-sized page.
First
#pagebreak... |
https://github.com/Coekjan/touying-buaa | https://raw.githubusercontent.com/Coekjan/touying-buaa/master/README.md | markdown | MIT License | # Touying Slide Theme for Beihang University
Inspired by [Southeast University Touying Slide Theme](https://github.com/QuadnucYard/touying-theme-seu).
## Use as Typst Template Package
Use `typst init @preview/touying-buaa` to create a new project with this theme.
```console
$ typst init @preview/touying-buaa
Succes... |
https://github.com/Champitoad/typst-slides | https://raw.githubusercontent.com/Champitoad/typst-slides/main/contribs.typ | typst | Creative Commons Zero v1.0 Universal | #new-section-slide[Contributions]
#slide(title: [Textual vs. #titleWord[Graphical]])[
#set align(center)
#let user = text(size: 35pt)[🙇]
#let computer = text(size: 35pt)[💻]
*State-of-the art:* build proofs by writing *textual* commands
#centerFocus[
#uncover("2-")[
#user : #quote[Please apply ... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/image_09.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test parsing from svg data
#image.decode(`<svg xmlns="http://www.w3.org/2000/svg" height="140" width="500"><ellipse cx="200" cy="80" rx="100" ry="50" style="fill:yellow;stroke:purple;stroke-width:2" /></svg>`.text, format: "svg")
|
https://github.com/Ttajika/typst_template_tajika | https://raw.githubusercontent.com/Ttajika/typst_template_tajika/main/libs/template.typ | typst | #import "useful_functions.typ": *
#import "my_short_hand.typ": *
#let project(
title: "",
abstract: none,
keywords:none,
JEL: none,
authors: (),
institutions: (),
notes: (),
date: Today(),
body-font: ("STIX Two Text","<NAME>"),
sans-font: ("STIX Two Text","<NAME>"),
math-font: ("STIX Two Math","... | |
https://github.com/timon-schelling/uni-phi111-logic-essay-2023-2024 | https://raw.githubusercontent.com/timon-schelling/uni-phi111-logic-essay-2023-2024/main/src/handout.typ | typst | #let date = datetime.today().display()
#set heading(numbering: "1.1")
#set par(justify: true, leading: 0.4em)
<NAME> #date
Tutorium Einführung in die Theoretische Philosophie (4.03.1101f) WiSe 2023/24
Handout Essay Einführung in die Logik
#text(2.2em, weight: 700, [
Einführung in die Logik am Beispiel politische... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/babel/0.1.1/README.md | markdown | Apache License 2.0 | # <img src="./assets/logo.svg" alt="The logo of Babel: an icon of the Tower of Babel in a turquoise square" width="48px" /> <span style="font-variant: small-caps; color: #239dad">Babel</span>: Redact text by replacing it with random characters in Typst
[
#let sorbonne-red = rgb("#AC182E")
#let sorbonne-lightblue = rgb("#52B5E5")
#let sorbonne-yellow = rgb("#FFB700")
#let sorbonne-text = rgb("#263068")
#let primary-color = state("faculty-color", none)
#let logo-white = state("logo-white", none)
#l... | |
https://github.com/jbirnick/typst-rich-counters | https://raw.githubusercontent.com/jbirnick/typst-rich-counters/main/example.typ | typst | MIT License | #import "@preview/rich-counters:0.2.1": *
#set heading(numbering: "1.1")
#let mycounter = rich-counter(identifier: "mycounter", inherited_levels: 1)
// DOCUMENT
Displaying `mycounter` here: #context (mycounter.display)()
= First level heading
Displaying `mycounter` here: #context (mycounter.display)()
Stepping `m... |
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS1332/Modules/ArraysAndArrayLists.typ | typst | #import "../../../template.typ": *
= Arrays
Arrays allow you to store data in _contiguous space in memory_
#note[
*Pros:*
- Arrays are flexible in what they can store (primitives, reference types, etc)
- _Constant time access_ when the index is known
- Accessing when index is not known (searching) -> O(n)... | |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/scripting-block-and-expression.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.page.with(title: "块与表达式")
纵览Typst的编译流程,其大致分为4个阶段,解析、求值、排版和导出。
// todo: 介绍Typst的多种概念
// Source Code
// Value
// Type
// Content
// todo: 简化下面的的图片
#import "../figures.typ": figure-typst-arch
#align(center + horizon, figure-typst-arch())
// ,层层有缓存
为了方便排版,Typst首先使用了一个函数“解析和评估”你的代码。有趣... |
https://github.com/jamesrswift/ionio-illustrate | https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/src/extras/cetz-raw.typ | typst | MIT License | #import "@preview/cetz:0.1.2"
#let _prepare(self, ctx) = { return self}
#let _stroke(self, ctx) = {
self.body
}
#let cetz-raw(body, inset: 0.3em, ) = {
return ((
type: "raw",
body: body,
plot-prepare: _prepare,
plot-stroke: _stroke,
),)
} |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/机器学习数学导引/作业/hw2.typ | typst | #import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark
#import "../../template.typ": *
#import "../main.typ": *
#show: note.with(
title: "作业2",
author: "YHTQ",
date: datetime.today().display(),
logo: none,
withOutlined : false,
withTitle : false,
)
#set page(paper:... | |
https://github.com/Arsenii324/matap-p2 | https://raw.githubusercontent.com/Arsenii324/matap-p2/main/t-repo/lecture3.typ | typst | #import "macros.typ" : *
= Лекция
== Операции над числовыми рядами
=== Абсолютная и условная сходимость
$limits(sum)_(n=1)^(infinity) a_n $:
- сходится абсолютно, если сходится $limits(sum)_(n=1)^(infinity) abs(a_n)$
- сходится условно, если сходится $limits(sum)_(n=1)^(infinity) a_n$, но расходится $limits(sum)_(... | |
https://github.com/mattyoung101/musicvis3d | https://raw.githubusercontent.com/mattyoung101/musicvis3d/master/paper/major.typ | typst | ISC License | // Colour links blue like LaTeX
#show cite: set text(fill: blue)
#show link: set text(fill: blue)
#show ref: set text(fill: blue)
#show footnote: set text(fill: blue)
#set list(indent: 12pt)
#set heading(numbering: "1.")
#set math.equation(numbering: "(1)")
#set page(numbering: "1")
#align(center, text(18pt)[
*A ... |
https://github.com/nafkhanzam/typst-common | https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/touying-themes/its.typ | typst | #import "touying.typ": *
#import "its-theme.typ" as its-
#import "its-mooc.typ" as mooc
#let IS-MOOC = sys.inputs.at("MOOC", default: none) == "1"
#let its = if IS-MOOC {
mooc
} else {
its-
}
#let its-theme = if IS-MOOC {
its.its-mooc-theme
} else {
its.its-theme
}
#let announcement = its.announcement
#let sl... | |
https://github.com/kaarmu/splash | https://raw.githubusercontent.com/kaarmu/splash/main/src/palettes/tailwind-css.typ | typst | MIT License | /* The tailwindcss color palette.
*
* Source: https://tailwindcss.com/docs/customizing-colors
* Accessed: 2023-03-31
*/
#let tailwind = (
slate-50 : rgb("#f8fafc"),
slate-100 : rgb("#f1f5f9"),
slate-200 : rgb("#e2e8f0"),
slate-300 : rgb("#cbd5e1"),
slate-400 : rgb("#94a3b8"),
slate-500 : r... |
https://github.com/ls1intum/thesis-template-typst | https://raw.githubusercontent.com/ls1intum/thesis-template-typst/main/metadata.typ | typst | MIT License | // Enter your thesis data here:
#let titleEnglish = "(Title English)"
#let titleGerman = "(Title German)"
#let degree = "Bachelor"
#let program = "Information Systems"
#let supervisor = "Prof. Dr. <NAME>"
#let advisors = ("<NAME>, M.Sc.",)
#let author = "(Author)"
#let birthdate = datetime(day: 01, month: 01, year: 200... |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_240215/content.typ | typst | MIT License | #import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro
#import "functions.typ": glossary, team
#let participants = csv("participants.csv")
= Partecipanti
/ Inizio incontro: #inizio_incontro
/ Fine incontro: #fine_incontro
/ Luogo incontro: #luogo_incontro
#table(
columns: (3fr, 1fr),
[*Nome*], [*Durat... |
https://github.com/liuxu89/typstbook | https://raw.githubusercontent.com/liuxu89/typstbook/main/src/1-mao/别了司徒雷登.typ | typst | #import "/book.typ": book-page
#show: book-page.with(title: "Hello, typst")
= 别了,司徒雷登
(一九四九年八月十八日)
#highlight[美国的白皮书,选择在司徒雷登业已离开南京、快到华盛顿、但是尚未到达的日子——八月五日发表,是可以理解的,因为他是美国侵略政策彻底失败的象征。]
#underline(evade: false)[司徒雷登是一个在中国出生的美国人,在中国有相当广泛的社会联系,在中国办过多年的教会学校,在抗日时期坐过日本人的监狱,平素装着爱美国也爱中国,颇能迷惑一部分中国人,因此被马歇尔看中,做了驻华大使,成为马歇尔系统中的风云人... | |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/assets/example1/old.typ | typst | ZMIANY NA HEADERZE
= Introduction niezmieniony
ZMIANY NA PARAGRAFIE \
In this report, we will explore the
various factors that influence _fluid
dynamics_ in glaciers *and hZMIANA* they
contribute to the formation and
behaviour of these natural structures.
ZMIANY NA LISTACH
+ The climate
- Temperature
- Precipita... | |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/WEB/docs/8-AsynchronousProgramming/rest.typ | typst | #import "/_settings/typst/template-note-en.typ": conf
#show: doc => conf(
title: [
REPRESENTATIONAL STATE TRANSFER (REST),
],
lesson: "WEB",
chapter: "8 - Aynchronous Programming",
definition: "TBD",
col: 1,
doc,
) | |
https://github.com/kdog3682/typkit | https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/alignments.typ | typst | #let left = left
#let right = right
#let top = top
#let bottom = bottom
#let middle = center + horizon
#let center = center
#let horizon = horizon
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/umbra/0.1.0/src/shadow-path.typ | typst | Apache License 2.0 | // Gets the length of an arbitrary vector
#let _norm(p) = calc.sqrt(p.map(x => calc.pow(x.pt(), 2)).sum()) * 1pt
// Adds any number of arbitrary vectors
#let _add(..ps) = ps.pos().fold(
none,
(acc, x) => if acc == none { x } else { acc.zip(x).map(((y, z)) => y + z) },
)
// Takes the first vector and subtracts all s... |
https://github.com/cadojo/resume | https://raw.githubusercontent.com/cadojo/resume/main/cv.typ | typst | #import "exploration/src/options/options.typ": *
#import "exploration/src/vita/vita.typ": *
#import "exploration/src/rolo/rolo.typ": *
#let me = author(
name: name(
given: "Joseph",
family: "Carpinelli",
literal: "<NAME>",
),
affiliation: affiliation(
address: "1307 Welch St... | |
https://github.com/almarzn/portfolio | https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/page.typ | typst | #import "@preview/splash:0.3.0": tailwind
#import "./shared/sizes.typ": scale
#let page-background(
borders: (top: 4pt),
color: black
) = block(
width: 100%,
height: 100%,
inset: borders,
fill: color,
block(
width: 100%,
height: 100%,
fill: white
)
)
#let page-footer(
background: white,
... | |
https://github.com/EpicEricEE/typst-equate | https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/src/lib.typ | typst | MIT License | #import "equate.typ": equate, share-align
|
https://github.com/hekzam/test | https://raw.githubusercontent.com/hekzam/test/main/main.typ | typst | #import "template.typ": *
#let meta = json("meta.json")
#let source = json("source.json")
#set heading(numbering:"1.")
#set page(
footer: [
#place(center)[
#counter(page).display("1 / 1", both: true)
]
#place(right)[id: #source.examId]
],
foreground: [ // Prevent repeats!!
#place(bo... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/experiment/weeks/week6.typ | typst | #import "../../utils.typ": *
#section("Random Experiment")
An experiment that can be re-done as many times as one wants, it will *always be
random*.\
All possible endstates of the experiment is the result quantity $Omega$.
#align(
center,
[#image("../../Screenshots/2023_10_26_09_14_09.png", width: 70%)],
)
- parti... | |
https://github.com/roman-vanesyan/cv | https://raw.githubusercontent.com/roman-vanesyan/cv/main/cv.typ | typst | MIT License | #let color-neutral-500 = color.linear-rgb(115, 115, 115)
#let color-neutral-700 = color.linear-rgb(64, 64, 64)
#let color-neutral-900 = color.linear-rgb(23, 23, 23)
#let color-neutral-950 = color.linear-rgb(10, 10, 10)
// Coloring of icons is done in the svg sources themselves,
// currently defaulting to color-neutral... |
https://github.com/1sSay/USPTU_conspects | https://raw.githubusercontent.com/1sSay/USPTU_conspects/main/src/math/IntroductionToMathematicalAnalysis.typ | typst | // Global settings and templates
#set text(14pt)
#let def(term, color: black) = {
box(stroke: color, inset: 7pt, text()[ #term ])
}
// Lecture header and date
#let lecture_header = text()[Введение в математический анализ]
#let date = text()[27.09.2024]
// Header
#align(center, heading(level: 1)[Математика. \ #lectur... | |
https://github.com/hweissi/nix-typst-base | https://raw.githubusercontent.com/hweissi/nix-typst-base/main/main.typ | typst | == This is just a base typst file | |
https://github.com/SnowManKeepsOnForgeting/NoteofModernControlTheory | https://raw.githubusercontent.com/SnowManKeepsOnForgeting/NoteofModernControlTheory/main/Homework/Homework_5.typ | typst | #import "@preview/physica:0.9.3":*
#import "@preview/i-figured:0.2.4"
#let xb = $bold(x)$
#let xbd = $accent(bold(x),dot)$
#let xbl = $accent(bold(x),macron)$
#let yb = $bold(y)$
#let ub = $bold(u)$
#let Qb = $bold(Q)$
#let Abl = $accent(bold(A),macron)$
#let Bbl = $accent(bold(B),macron)$
+ Determine the observabil... | |
https://github.com/MilanR312/ugent_typst_template | https://raw.githubusercontent.com/MilanR312/ugent_typst_template/main/main.typ | typst | MIT License | #import "ugent_template.typ": ugent-template, gls, make-glossary, init_note_tables
#show: make-glossary
#show: init_note_tables
#show: ugent-template.with(
title: [
#text([A real thesis about colors], size: 25pt)
],
short_title: [Colors],
language: "nl",
team_text: none,
authors: (
(
name:... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/045%20-%20Kamigawa%3A%20Neon%20Dynasty/004_Episode%203%3A%20An%20Unexpected%20Alliance.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 3: An Unexpected Alliance",
set_name: "Kamigawa: Neon Dynasty",
story_date: datetime(day: 25, month: 01, year: 2022),
author: "<NAME>",
doc
)
Sunlight spilled through the trees, rippling over the bog. Kaito didn't wander from the ro... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fireside/1.0.0/.demo/demo_short.typ | typst | Apache License 2.0 | #import "@preview/fireside:1.0.0": *
#show: fireside.with(
title: [Anakin \ Skywalker],
from-details: [
Appt. x, \
Mos Espa, \
Tatooine \
<EMAIL> \ +999 xxxx xxx
],
to-details: [
Sheev Palpatine \
500 Republica, \
Ambassadorial Sector, Senate District, \
Galactic City, \ Corusca... |
https://github.com/rikhuijzer/phd-thesis | https://raw.githubusercontent.com/rikhuijzer/phd-thesis/main/chapters/2.typ | typst | The Unlicense | #import "../style.typ": citefig
#import "../functions.typ": chapter, textcite, parencite, note, header
// To go to right page.
#pagebreak()
#chapter(
[Personality Traits of Special Forces Operators: Comparing Commandos, Candidates and Controls],
label: [
<NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., & ... |
https://github.com/Tran-Thu-Le/typst-collection | https://raw.githubusercontent.com/Tran-Thu-Le/typst-collection/main/state-in-typst/main.typ | typst | #import "./tool.typ": sentence, init
The first sentence with parameter is: *"#sentence"*
We now change the parameter to 2024 with init function `#init(param: 2024)`
#init(param: 2024)
Then the new sentence with new parameter is: *"#sentence"*
| |
https://github.com/platformer/typst-algorithms | https://raw.githubusercontent.com/platformer/typst-algorithms/main/test/assertions/assert_no-emph_in_algo.typ | typst | MIT License | #import "../../algo.typ": no-emph
#no-emph[]
|
https://github.com/atareao/typst-templates | https://raw.githubusercontent.com/atareao/typst-templates/main/book/template.typ | typst | MIT License | #let template(
title: "",
subtitle: "",
front_page_image: none,
author: "",
date: datetime.today(),
keywords: (),
//
code_theme: "assets/halcyon.tmTheme",
code_font: "Ubuntu Mono",
code_font_size: 12pt,
doc_font: "Montserrat",
doc_font_size: 12pt,
header_font: "Montserrat",
header_font_size:... |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/07_26_24/main.typ | typst | #import "polylux/polylux.typ": *
#import themes.metropolis: *
#import "common.typ": *
#show: metropolis-theme.with(
footer: [#logic.logical-slide.display() / #utils.last-slide-number]
)
#set text(font: font, weight: wt, size: 25pt)
// #show math.equation: set text(font: "Fira Math")
#set strong(delta: 100)
#set par... | |
https://github.com/daskol/typst-templates | https://raw.githubusercontent.com/daskol/typst-templates/main/cvpr/cvpr2022.typ | typst | MIT License | /**
* cvpr2022.typ
*
* This template continues work done by [@dasayan05][1] (see [issue][3]). It is
* adopted from [dasayan05/typst-ai-conf-templates][2].
*
* [1]: https://github.com/dasayan05
* [2]: https://github.com/dasayan05/typst-ai-conf-templates.
* [3]: https://github.com/daskol/typst-templates/issues/8
... |
https://github.com/robertjndw/typst-tum-presentation | https://raw.githubusercontent.com/robertjndw/typst-tum-presentation/main/README.md | markdown | # TUM Typst Presentation Template
This is a Typst polylux template for presentations at the Technical University of Munich (TUM). It is based on the [TUM Corporate Design](https://www.it.tum.de/en/it/faq/media-production-design/corporate-design/where-can-i-find-templates-for-the-tum-corporate-design/).
It utilizes th... | |
https://github.com/qujihan/toydb-book | https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter1.typ | typst | #import "../typst-book-template/book.typ": *
#let path-prefix = figure-root-path + "src/pics/"
= 前言
== 为什么选择ToyDB
== ToyDB的整体架构
#pic(path-prefix + "architecture.svg", "ToyDB的整体架构") | |
https://github.com/cherryblossom000/typst-apa-bibliography | https://raw.githubusercontent.com/cherryblossom000/typst-apa-bibliography/main/README.md | markdown | # apa-bibliography
## :warning: Deprecated
[Typst v0.9.0](https://github.com/typst/typst/releases/tag/v0.9.0) has a new bibliography engine that now handles APA bibliographies correctly.
---
Typst’s default [`#bibliography(style: "apa")`][bib] has
[numerous issues][issue] with its output not conforming to APA 7th g... | |
https://github.com/Owl-Boy/Model-Repair-Of-Time-Aware-Models-Report | https://raw.githubusercontent.com/Owl-Boy/Model-Repair-Of-Time-Aware-Models-Report/main/README.md | markdown | # Model Repair of Time Aware Models
This repository is sharing the work that I have done in my summer internship at [ENS Paris Saclay](https://ens-paris-saclay.fr) under Professor <NAME>.
The paper was written using [Typst](https://typst.app/) and the [LaPreprint template](https://github.com/LaPreprint/typst).
| |
https://github.com/gmax9803/nd-assignment-templates | https://raw.githubusercontent.com/gmax9803/nd-assignment-templates/master/general/main.typ | typst | MIT License | /*
* This template was created by Max (gmax9803)
* Updated: 02/06/2024
*/
/* [SETTINGS] */
/* See [utils.typ] for all other settings */
#import "utils.typ": * // import everything from utils.typ `from utils import *`
#set page(paper: "us-letter", header: hdr, footer: ftr) // Page Data
#misc_settings
#init_header // i... |
https://github.com/jamesrswift/splendid-mdpi | https://raw.githubusercontent.com/jamesrswift/splendid-mdpi/main/src/lib.typ | typst | The Unlicense | #import "impl.typ": template, make-venue |
https://github.com/amanuensisfrances/LaTeX-math-expressions-in-Typst | https://raw.githubusercontent.com/amanuensisfrances/LaTeX-math-expressions-in-Typst/main/README.md | markdown | MIT License | # LaTeX-math-expressions-in-Typst
A collection of Typst math commands/shortcuts defined for the purpose of having the same/similar names as LaTeX math expressions. For references, I used the [`maths-symbols` package documentation](https://mirrors.ctan.org/info/symbols/math/maths-symbols.pdf) (which is the shorter prede... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/028%20-%20Kaladesh/005_Born%20of%20Aether.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Born of Aether",
set_name: "Kaladesh",
story_date: datetime(day: 21, month: 09, year: 2016),
author: "<NAME>",
doc
)
#emph[The aetherborn of Ghirapur are a race of pleasure-seekers and adrenaline junkies. With a lifespan of up to four years... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-prec-00.typ | typst | Other | // Multiplication binds stronger than addition.
#test(1+2*-3, -5)
// Subtraction binds stronger than comparison.
#test(3 == 5 - 2, true)
// Boolean operations bind stronger than '=='.
#test("a" == "a" and 2 < 3, true)
#test(not "b" == "b", false)
|
https://github.com/imtsuki/resume | https://raw.githubusercontent.com/imtsuki/resume/master/resume.typ | typst | MIT License | #import "template.typ": *
#let author = (
name: "<NAME>",
email: "<EMAIL>",
github: "https://github.com/imtsuki",
website: "https://tsuki.blog"
)
#show: project.with(
author: author,
)
== Education
*University of Toronto* #h(1fr) 2022 -- 2023
Master's Degree of Engineering #h(1fr) Toronto, Canada... |
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/docs/figures/anatomy.typ | typst | MIT License | #import "/src/zero.typ": *
#import "@preview/cetz:0.2.2"
#set text(1.4em)
#set page(width: auto, height: auto, margin: 1em)
#let clr = if "dark" in sys.inputs { white } else { black }
#set page(fill: white) if clr == black
#set text(fill: clr)
#let anatomy = cetz.canvas({
import cetz.draw: *
scale(140%)
rect((0... |
https://github.com/dalon-work/aoc2023 | https://raw.githubusercontent.com/dalon-work/aoc2023/master/README.md | markdown |
# AOC 2023
In [typst](https://typst.app/docs)!
Have all the answers generated directly into a pdf! (Well, at least Day 1)
Who knows how far I'll get...
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test columns for a sized page.
#set page(height: 5cm, width: 7.05cm, columns: 2)
Lorem ipsum dolor sit amet is a common blind text
and I again am in need of filling up this page
#align(bottom, rect(fill: eastern, width: 100%, height: 12pt))
#co... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/test/notes.typ | typst | /*
Keep track of a running note counter, and associated notes.
*/
#let note_state_prefix = "notes-"
#let note_default_group = "default"
#let note_default_display_fn(note) = {
h(0pt, weak: true)
super([[#note.index]])
}
#let add_note(
// The location of the note. This is used to derive
// what the note coun... | |
https://github.com/jneug/typst-codetastic | https://raw.githubusercontent.com/jneug/typst-codetastic/main/ecc.typ | typst | MIT License |
#import "bits.typ"
#let crc(data, generator: "110101") = {
generator = bits.from-str(generator)
let n = generator.len()
let frame = bits.shift(bits.trim(data), n - 1)
while frame.len() >= n {
let s = frame.len() - n
frame = bits.xor(frame, bits.shift(generator, s))
frame = bits.trim(frame)
}
... |
https://github.com/colinstfni/ba1-heig | https://raw.githubusercontent.com/colinstfni/ba1-heig/main/prg1/notes/main.typ | typst | #import "../../typst/config.typ": *
#import "@preview/gentle-clues:1.0.0": *
#import "@preview/codly:1.0.0": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#set text(lang: "fr")
#show: doc => conf(
title: [= PRG1 C++ - 2024 S1],
title_color: color.lighten(color.blue, 60%),
authors: [<NAME>... | |
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/07-频域响应分析.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "频域响应分析",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= 一阶系统
<一阶系统>
== LTI 系统
<lti-系统>
对 LTI 系统,已知输入和输出
$
& M_i sin(ω_i t + ϕ_i)\
& M_o sin(ω_i t + ϕ_o)
$
其中,$M_i$和$M_o$为输入和输出振福,$ϕ_... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/layout/placed%20items/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 0pt)
#import "/src/quill.typ": *
#quantum-circuit(
1, $H$, [\ ],
1, $H$, [\ ],
1, $H$, [\ ],
..range(3).map(i => mqgate($+$, x: i + 2, y: i, n: 2)),
..range(3).map(i => meter(x: 6, y: i)),
..range(3).map(i => ctrl(0, x: 7, y: i)),
..range(3).map(i => lstick($|... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-02.typ | typst | Other | // Test parenthesised assignments.
// Ref: false
#let (a) = (1, 2)
|
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/431/hw/1/hw8.typ | typst | #set math.equation(numbering: "(1)")
#set page(margin: (x: 1cm, y: 1cm))
= HW 8, <NAME>
// 6.28. 6.30, 7.2, 7.16, 7.20, 7.24, 7.28, 7.30
// Note that 6.30 has a typo: you should compute P(X-1=Y) (as opposed to P(X+1=Y)).
// For 7.2 you should provide the probability mass function of X+Y.
- 6.28
Let $p=1-q$. Need t... | |
https://github.com/Chwiggy/thesis_bachelor | https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/chapters/03_methodology.typ | typst | #import "../preamble.typ": *
#import "@preview/fletcher:0.4.4" as fletcher: diagram, node, edge
#import fletcher.shapes: pill, diamond, hexagon
#set heading(numbering: "1.")
= Methodological Approach
This thesis project started as an exploratory data analysis project, trying to find easy to implement metrics for pub... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/005_Modern%20Masters.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Modern Masters", doc)
#include "./005 - Modern Masters/001_Preparation.typ"
| |
https://github.com/mvuorre/quarto-preprint | https://raw.githubusercontent.com/mvuorre/quarto-preprint/main/_extensions/preprint/typst-template.typ | typst | Creative Commons Attribution 4.0 International | #let preprint(
title: none,
running-head: none,
authors: none,
affiliations: none,
abstract: none,
keywords: none,
wordcount: none,
authornote: none,
citation: none,
date: none,
branding: none,
leading: 0.6em,
spacing: 1em,
first-line-indent: 0cm,
linkcolor: black,
margin: (x: 3.2cm, y: ... |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/src/appendix.typ | typst | MIT License | #import "@local/evan:1.0.0":*
= Appendix
This entire section is not for exam, obviously.
== If you are thinking of majoring in math... <appendix-math-major>
During the course, one of the students asked me about academic advice
saying they wanted to become a math major at MIT.
If that also describes you, here's what... |
https://github.com/saveriogzz/curriculum-vitae | https://raw.githubusercontent.com/saveriogzz/curriculum-vitae/main/modules/education.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Education")
#cvEntry(
title: [M.Sc. Industrial Engineering and Management],
society: [Politecno di Torino],
date: [2016 - 2018],
location: [Turin, Italy],
logo: "../src/logos/polito_square.png",
description: list(
[Thesis: Predicting ... |
https://github.com/tingerrr/hydra | https://raw.githubusercontent.com/tingerrr/hydra/main/tests/regressions/fallback-to-future/test.typ | typst | MIT License | // Synopsis:
// - When both last and prev candidates where none hydra would fall back to a heading defined on a future page.
// Headings defined after the current page should never be displayed.
#import "/src/lib.typ": hydra
#set page(
paper: "a7",
header: context hydra(),
)
#set heading(numbering: "1.1")
#show... |
https://github.com/ohmycloud/computer-science-notes | https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/edits_inprogress.typ | typst | #show heading: it => {
set text(red)
[#it.body]
v(1em)
}
#show heading.where(level: 1): it => {
set text(red)
align(center)[#it.body]
}
#outline(
title: "目 录",
target: heading.where(level: 2)
)
= 记一次因为删除 HDFS 数据导致的集群故障修复历程
== 问题描述
NameNode 重启失败, 重要报错日志如下:
```
FATAL org/apache.hdfs.server.nameno... | |
https://github.com/Jollywatt/typst-wordometer | https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/docs/manual.typ | typst | MIT License | #import "@preview/tidy:0.1.0"
#import "/src/lib.typ" as wordometer: *
#set page(numbering: "1")
#set par(justify: true)
#show link: underline.with(stroke: blue.lighten(50%))
#let VERSION = toml("/typst.toml").package.version
#let show-module(path) = {
show heading.where(level: 3): it => {
align(center, line(lengt... |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options.typ | typst | #import "../../../style.typ": include_section
#import "../../../acronyms.typ": ac
= Implementation Options
Different implementation options were considered for the
#ac("PoC"). The following sections describe the options that were considered and
choices that have been made.
== Deployment platform <deployment-platform... | |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/util/typst.typ | typst | MIT License | // ================================
// = Aliases =
// ================================
//
// Aliases for some native Typst functions and types
#let pagebreak = pagebreak
#let measure = measure
#let type = type
#let stroke = stroke
#let document = document
#let numbering = numbering
#let text = tex... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z142.typ | typst | Pane, vyslyš moju modlitbu, pre svoju vernosť vypočuj moju úpenlivú prosbu, \* pre svoju spravodlivosť ma vyslyš.
A svojho služobníka na súd nevolaj, \* veď nik, kým žije, nie je spravodlivý pred tebou.
Nepriateľ ma prenasleduje, zráža ma k zemi, \* do temnôt ma vrhá ako dávno mŕtveho.
Duch sa mi zmieta v úzkosti... | |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/math321/hw10.typ | typst | = HW 10 <NAME> <EMAIL>
== 1.
$
integral_(C) &(y^2 + sin x) dif x+ (3x y + y^(4) )dif y, quad D={(r,theta)| r in [0,2], theta in [0,pi/2]} \
&= integral_D ((diff( 3x y + y^(4) ))/(diff x) - (diff y^2 + sin x)/(diff y)) dif A \
&= integral_D (3y - 2y) dif A \
& = integral_D y dif A quad quad quad... | |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/tests/utils_make-prob-meta/test.typ | typst | Other | #import "/lib/lib.typ" as ucpc
#import ucpc.utils: make-prob-meta
#make-prob-meta(
tags: ("a", ),
difficulty: "diff",
authors: "author",
i18n: ucpc.i18n.en-us.make-prob-meta
)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.