repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/stats-tgeorge/SJ_stats_course_JSM24 | https://raw.githubusercontent.com/stats-tgeorge/SJ_stats_course_JSM24/master/README.md | markdown | ## Materials JSM 2024 Speed 6 Talk and Poster
### \"Course: Statistics for Social Justice\"
August 6th, 2024
#### Speed Talk Materials Website:
<https://stats-tgeorge.github.io/SJ_stats_course_JSM24/>
#### Overview Presentation Slides at:
<https://stats-tgeorge.github.io/SJ_stats_course_JSM24/Slides_SJ_stats_cours... | |
https://github.com/jeffa5/typstfmt | https://raw.githubusercontent.com/jeffa5/typstfmt/main/.github/ISSUE_TEMPLATE/reformat-bug-report.md | markdown | MIT License | ---
name: Reformat bug report
about: Reformatting the output would not pass check
title: "[Reformat]"
labels: bug, reformat
assignees: ''
---
**To Reproduce**
Code snippet:
```typst
<your problematic snippet here, or upload the file>
```
**Version**
`X.X.X`
**Additional context**
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.1/styles.typ | typst | Apache License 2.0 | #let resolve(current, new, root: none) = {
let global
if root != none and type(current) == "dictionary" {
(global, current) = (current, current.at(root))
}
if new == auto {
return current
} else if type(current) != "dictionary" {
return new
}
assert.ne(current, none, message: repr((global, cur... |
https://github.com/TideDra/seu-thesis-typst | https://raw.githubusercontent.com/TideDra/seu-thesis-typst/main/translation_thesis.typ | typst | #import "template.typ": translation_conf
#import "utils.typ": set_doc_footnote
// 由于Typst目前的缺陷,footnote必须在开头设置。未来可能会改进
#show: doc => set_doc_footnote(doc)
#let info = (
raw_paper_name: "Name of Raw Paper",
translated_paper_name: "论文中文标题",
student_id: "123456",
name: "张三",
college: "霍格沃兹学院",
major: "母猪产后护理... | |
https://github.com/yingziyu-llt/blog | https://raw.githubusercontent.com/yingziyu-llt/blog/main/typst_document/ml/content/chapter2.typ | typst | #import "../template.typ":*
= 线性模型
== 基本形式
实际上就是找到一种对于各个属性的线性组合,使得其最接近真实的lable。
整体的形式是$f(x) = w^T x + b$. w,b 两者学习到之后,模型就被确定。通过 w,我们可以看出每个元素的重要性,从而有一定的可解释性。
== 线性回归
对于各种属性,怎么将其转换为数字呢?
+ 数字元素 直接使用就可以
+ 有序的属性 如高、中、低,可以分别用1,0.5,0来表示
+ 无序的属性 如红、黄、蓝,进行one-hot编码
如何确定两个参数呢?这取决于如何定义最接近。最常见的做法是用最小二乘法,即使得预测结果和目标的欧式距离最短。即... | |
https://github.com/monaqa/typscrap.nvim | https://raw.githubusercontent.com/monaqa/typscrap.nvim/master/class/states.typ | typst | #let slug = state("slug")
| |
https://github.com/dangh3014/postercise | https://raw.githubusercontent.com/dangh3014/postercise/main/themes/better.typ | typst | MIT License | /*
betterposter originally developed by <NAME>
https://osf.io/ef53g/
*/
#import "../utils/scripts.typ": *
// Different behavior than for basic.typ
#let theme(
primary-color: rgb(28,55,103), // Dark blue
background-color: white,
accent-color: rgb(243,163,30), // Yellow
titletext-color: black,
titletext-s... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/_general/casoslov/vecierne.typ | typst | #show <X>: it => {
if it.location().position().y > 480pt [$ $ #colbreak() #it]
else [#it]
}
#set text(font: "Monomakh Unicode", lang: "sk", fill: black)
#include "/SK/casoslov/vecierne/vecierenBezKnaza.typ"
#pagebreak()
#set text(font: "Monomakh Unicode", lang: "sk", fill: black)
#include "/SK/casoslov/veciern... | |
https://github.com/donabe8898/typst-slide | https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/並行prog/03/Go1.typ | typst | MIT License | #show link: set text(blue)
#set text(font: "Noto Sans CJK JP",size:13pt)
#show heading: set text(font: "Noto Sans CJK JP")
#show raw: set text(font: "0xProto Nerd Font")
#show raw.where(block: true): block.with(
fill: luma(245),
inset: 10pt,
radius: 10pt
)
#align(center)[
```go
// 今回はコメント書かなくてOKです
package main
... |
https://github.com/bennyhandball/PA1_LoB_Finance | https://raw.githubusercontent.com/bennyhandball/PA1_LoB_Finance/main/PA/codelst/2.0.1/README.md | markdown | # codelst (v2.0.1)
**codelst** is a [Typst](https://github.com/typst/typst) package for rendering sourcecode with line numbers and some other additions.
## Usage
Import the package from the typst preview repository:
```js
#import "@preview/codelst:2.0.1": sourcecode
```
After importing the package, simply wrap any... | |
https://github.com/gianzamboni/cancionero | https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/the-lobster-quadrille.typ | typst | #import "../theme/project.typ": *;
#cancion("The Lobster Quadrille","<NAME>", withCords: true)[
Will you #chord[walk][Em][0] a little faster?
Said a whiting to a snail
"There's a #chord[porpoise][A][0] close behind us
Treading on my tail.
#new-stanza
See how #chord[eagerly][Em][0] the lobsters
... | |
https://github.com/Goldan32/brilliant-cv | https://raw.githubusercontent.com/Goldan32/brilliant-cv/main/modules_hu/projects.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Projektek")
#cvEntry(
title: [Rust Használata Többmagos STM32H7 Mikrokontrolleren],
date: [2023],
society: [],
location: [],
description: list(
[Egy szoftver keretrendszer, ami lehetővé teszi a fejlesztést egy STM32H745 mikrokontroller mindkét magjár... |
https://github.com/mariunaise/HDA-Thesis | https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/plots/temperature/25_5_re.typ | typst | #import "@preview/cetz:0.2.2": canvas, plot
#let data5 = csv("../../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_5.csv")
#let ndata5 = data5.map(value => value.map(v => calc.log(float(v))))// fucking hell is that cursed
#let data25 = csv("../../../data/errorrates/2bit_temp/reconstruction/errorrates_... | |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/block.typ | typst | == Block
The block functionality is used to logically group or encapsulate functionalities.
The block is usually used to separate functionalities related to particular peripherals such as UART, I2C transceivers, timers, ADCs, DACs etc.
The block might also be used to limit the access for particular provider to only a ... | |
https://github.com/Shuenhoy/modern-zju-thesis | https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/utils/fakebold.typ | typst | MIT License | // Orignal source: https://github.com/csimide/cuti
#let fakebold(base-weight: none, s, ..params) = {
set text(weight: base-weight) if base-weight != none
set text(..params) if params != ()
context {
set text(stroke: 0.02857 * 4 / 3 * text.size + text.fill)
s
}
}
#let regex-fakebold(reg-exp: ".", base-... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/boxwhisker.typ | typst | Apache License 2.0 | #import "/src/cetz.typ": draw, util
/// Add one or more box or whisker plots
///
/// #example(```
/// plot.plot(size: (2,2), x-tick-step: none, y-tick-step: none, {
/// plot.add-boxwhisker((x: 1, // Location on x-axis
/// outliers: (7, 65, 69), // Optional outlier values
/// min: 15, max: 60, ... |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/conf.typ | typst | #let conf(doc, color: black, title: "", pageHeader: "", credits: "") = {
set text(11pt, font: "Linux Libertine", lang: "RU", region: "RU")
set par(justify: true)
show heading: i => {
set text(fill: color)
i
}
align(center, title)
credits
outline(title: [Содержание], depth: 2, indent: true)
se... | |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/1%20-%20Candidatura/Verbali/Interni/18-10-23/18-10-23.typ | typst | ERROR\_418 \
Verbale 18/10/23
#figure(
align(center)[#table(
columns: 2,
align: (col, row) => (left,left,).at(col),
inset: 6pt,
[Mail:],
[<EMAIL>],
[Redattori:],
[<NAME>, <NAME>],
[Verificatori:],
[<NAME>, <NAME>, <NAME>],
[Amministratori:],
[<NAME>, <NAME>],
[Destinatari:],
[<NAME>, <NAME>],... | |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/0-predoc/abstract.typ | typst | MIT License | #import "../../lib/mod.typ": *
= Abstract <abstract>
Automation advancements ultimately lead to sophisticated autonomous systems in fields like agriculture and transportation, requiring efficient path planning to optimize movement and prevent collisions. As such, this thesis explores enhancing multi-agent path plannin... |
https://github.com/shealligh/typst-template | https://raw.githubusercontent.com/shealligh/typst-template/main/readme.md | markdown | # Assignment template based on Typst
## Basic usage
Create another file, e.g. hw1.typ, import this template and config basic information.
```typ
#import "conf.typ": *
#show: doc => conf(
course: [course name],
homework: [Homework 1/2/3/4/],
due_time: [Sep 16/17/18, 2024],
instructor: [someone],
... | |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/abstract.typ | typst | Other | #import "theme/abstract.typ": *
#abstract[
The concept of reproducibility has long been a cornerstone in scientific
research, ensuring that results are robust, repeatable, and can be
independently verified. This concept has been extended to computer science,
focusing on the ability to recreate identical softwa... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/data-02.typ | typst | Other | // Error: 18-28 file is not valid utf-8
#let data = read("test/assets/files/bad.txt")
|
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/code/code.typ | typst | `print("first line")`
`print("second line")` | |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/complex/num/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": *
#set page(width: auto, height: auto, margin: 1cm)
#complex(1, 1)
#complex(1, 45deg)
#complex(1, 1, complex-mode: "cartesian")
#complex(1, 45deg, complex-mode: "cartesian", round-mode: "places")
#complex(1, 1, complex-mode: "polar", round-mode: "places", round-pad: false)
#complex(1, 45d... |
https://github.com/pths-prog-paradigms/Home | https://raw.githubusercontent.com/pths-prog-paradigms/Home/main/maven-guide.typ | typst |
#set par(justify: true)
= Запуск программ без среды разработки
Собирать проекты из больше чем одного файла вручную --- занятие довольно
болезненное. Поэтому воспользуемся средой разработки Maven
== Установка
Предполагается, что вы уже установили java необходимой версии (17+), а также
Git. Проверьте, что у вас перем... | |
https://github.com/han0126/MCM-test | https://raw.githubusercontent.com/han0126/MCM-test/main/2024校赛typst/chapter/chapter4.typ | typst | #import "../template/template.typ": *
= 符号说明
#figure(
table(
columns: (1fr,1fr),
align: horizon + center,
stroke: none,
table.hline(stroke: 1.5pt),
table.header(
[符号],[说明]
),
table.hline(stroke: 0.8pt),
[$a_0$],[线性回归方程常数项],
[$a_1$],[线性回归方程一次项],
[$a_2$],[线性... | |
https://github.com/howardlau1999/sysu-thesis-typst | https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/chapters/acknowledgement.typ | typst | MIT License | 感谢 Typst 开发者的辛勤付出。们断的? 明民人是男,难是体士育然机影小中都等拿大环集为理十的各是却没热名这说不有用展一农答的; 的引然于技望一没痛港样! 着西结爸轮。 接买了紧身分物的前类这时求一。 人家去的有...... 学事的共于传的代字近眼活不计台己美可半天及一保易内湾过到经人在,法中当书那间...... 学容尽人花每的清小跟法我本其。 福称当近我有,出条的会山们新医、些美理不,管也仍任我山间日和现论底管诗大大至销且人子不心我每...... 委面任力不成另科务奇象皮,以是族相车政什资理的电因当,年才球调称。
是虽成有动是。 好标而,爱我停智怎在要结感身但是话美。
获谢改微传正大上实他益政告动是! 共是异。 合会以价领... |
https://github.com/howardlau1999/sysu-thesis-typst | https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/thesis.typ | typst | MIT License | #import "template.typ": *
#show: doc => conf(
outlinedepth: 3,
blind: false,
listofimage: true,
listoftable: true,
listofcode: true,
alwaysstartodd: true,
doc,
)
#include "chapters/ch01.typ"
#include "chapters/ch02.typ"
#include "chapters/ch03.typ"
#appendix()
#include "chapters/appendix01.typ"
#inclu... |
https://github.com/mdm/igotist | https://raw.githubusercontent.com/mdm/igotist/main/scale.typ | typst | #let fit(label, width, height) = {
let stretch = if label.len() > 1 { 50% } else { 100% }
set text(font: "Inter", size: height, stretch: stretch)
style(styles => {
let size = measure(label, styles)
let x = 70% * (width / size.width)
scale(x: x, label)
})
}
#circle(radius: 25pt)... | |
https://github.com/daskol/typstd | https://raw.githubusercontent.com/daskol/typstd/main/doc/subsection.typ | typst | Apache License 2.0 | #import "template.typ": *
== Subsection
@hu2021lora
|
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/notes/aluffi.typ | typst | #import "@local/preamble:0.1.0": *
#import "@preview/commute:0.2.0": node, arr, commutative-diagram
#show: project.with(
course: "Algebra",
sem: "Summer",
title: "Algebra",
subtitle: "Aluffi",
authors: ("<NAME>",),
)
#set enum(indent: 15pt, numbering: "a.")
#let Obj = $"Obj"$
#let Hom = (c, a, b) => $"Hom"_... | |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Statistica4AI/Introduction/Statistics.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Stats4AI_definitions.typ": *
The discipline of statistics instructs how to make intelligent judgments
and informed decisions in the presence of uncertainty and variation.
Collections of facts are called *data*: statistics provides methods
for organizing, summarizing and drawing conclusions based on inform... |
https://github.com/GuilloteauQ/qcv | https://raw.githubusercontent.com/GuilloteauQ/qcv/main/README.md | markdown | MIT License | # QCV
Typst template for CV

## Example
```typst
#import "qcv.typ": *
#show: qcv.with()
#header("<NAME>",
email: "<EMAIL>",
webpage: "https://john.doe.org",
orcid: "1111-1111-1111-1111")
#let max_year = 2024
#let min_year = 2017
#let... |
https://github.com/T1mVo/shadowed | https://raw.githubusercontent.com/T1mVo/shadowed/main/src/lib.typ | typst | MIT License | #import "shadowed.typ": shadowed
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-19.typ | typst | Other | // Test the `position` method.
#test(("Hi", "❤️", "Love").position(s => s == "❤️"), 1)
#test(("Bye", "💘", "Apart").position(s => s == "❤️"), none)
#test(("A", "B", "CDEF", "G").position(v => v.len() > 2), 2)
|
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/rahmenplaene/themen.typ | typst | Other | #import "/src/template.typ": *
/*
== #ix("Themen")
To do#todo[]
*/ |
https://github.com/pluttan/typst-g7.32-2017 | https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/utils/image.typ | typst | MIT License | #import "../g7.32-2017.config.typ":config
// Выводит изображение
#let img(data, lable, f:(i)=>{i.display()}) = {
align(center)[
#data
#config.image.counter.step()
]
align(center)[
Рисунок #f(config.image.counter) #sym.bar.h _ #lable _
]
}
#let рис(данные, описание, ф:(i)=>{i.di... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-marker-01.typ | typst | Other | // Test that last item is repeated.
#set list(marker: ([--], [•]))
- A
- B
- C
|
https://github.com/grnin/Zusammenfassungen | https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/ParProg/ParProg_Spick_FS24_NG_JT.typ | typst | // Compiled with Typst 0.11.1
#import "../template_zusammenf.typ": *
#import "@preview/wrap-it:0.1.0": wrap-content
#show: project.with(
authors: ("<NAME>", "<NAME>"),
fach: "ParProg",
fach-long: "Parallel Programming",
semester: "FS24",
language: "en",
column-count: 5,
font-size: 4pt,
landscape: true,... | |
https://github.com/AHaliq/DependentTypeTheoryReport | https://raw.githubusercontent.com/AHaliq/DependentTypeTheoryReport/main/preamble/style.typ | typst | #import "lemmas.typ": *
#let std-bibliography = bibliography
#let setup(
title,
author,
authorid: "",
subtitle: "",
date: datetime.today(),
preface: none,
table-of-contents: outline(),
bibliography: none,
body,
) = {
set text(lang: "en")
set page(paper: "a4")
set document(title: title, author:... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas4/5_Piatok.typ | typst | #let V = (
"HV": (
("", "Dál jesí známenije", "Jehdá ťa raspinájema tvár vsjá víďi, izmiňášesja i trepetáše: zemľá že trjasúščisja vsjá kolebášesja, dolhoterpilíve Slóve, i zavísa cerkóvnaja stráchom razdirášesja, dosaždájemu tebí, i kámenije raspadášesja ot strácha, i sólnce lučý skrý, tvorcá svojehó vídušči ťá.... | |
https://github.com/Fviramontes8/polylux_lobo_theme | https://raw.githubusercontent.com/Fviramontes8/polylux_lobo_theme/main/README.md | markdown | MIT License | # Lobo theme for Polylux package in Typst
## Installing Polylux locally
You can use [polylux](https://github.com/andreasKroepelin/polylux) normally by importing it like this:
```typst
#import "@preview/polylux:0.3.1": *
```
But to use the lobo theme we need to use the package locally
#### Installing Polylux locally
... |
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/documents/a4xmanual/main.typ | typst | #import "@preview/hydra:0.2.0": hydra
#set page(header: hydra(paper: "us-letter"), paper: "us-letter")
#set document(title: "A4X Firmware Manual")
#set text(font: "IBM Plex Mono", size: 9pt)
#show math.equation: set text(font: "Fira Math")
#show raw: set text(font: "Cascadia Code", size: 9pt)
#set heading(numbering: ... | |
https://github.com/typst-community/glossarium | https://raw.githubusercontent.com/typst-community/glossarium/master/tests/non-regression/only-one-empty-group.typ | typst | MIT License | #import "../../themes/default.typ": *
#show: make-glossary
#let entries = (
// (
// key: "key",
// short: "111111",
// group: "vvv"
// ),
(
key: "key2",
short: "222222",
// group: "vvv"
),
(
key: "key1",
short: "111111",
// group: "voila",
)... |
https://github.com/Dherse/ugent-templates | https://raw.githubusercontent.com/Dherse/ugent-templates/main/masterproef/main.typ | typst | MIT License | #import "@preview/codly:0.1.0": *
#import "@preview/tablex:0.0.6": *
#import "ugent-template.typ": *
#import "../common/typstguy.typ": typstguy
// This can be removed if you don't include code:
#let code-icon(icon) = text(
font: "tabler-icons",
fallback: false,
weight: "regular",
size: 8pt,
icon,
)
// Insta... |
https://github.com/SergeyGorchakov/russian-phd-thesis-template-typst | https://raw.githubusercontent.com/SergeyGorchakov/russian-phd-thesis-template-typst/main/README.md | markdown | MIT License | # Шаблон русской кандидатской диссертации
Шаблон русской кандидатской диссертации на языке разметки [Typst](https://typst.app/) - современной альтернативы LaTeX.
## Использование
В веб-приложении нажмите "Start from template" и на панели найдите `modern-russian-dissertation`.
Вы также можете инициализировать проек... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/018_Modern%20Masters%202015.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Modern Masters 2015", doc)
#include "./018 - Modern Masters 2015/001_The Dragon's Errand.typ"
| |
https://github.com/Anastasia-Labs/project-close-out-reports | https://raw.githubusercontent.com/Anastasia-Labs/project-close-out-reports/main/close-out-report-template/close-out-template.typ | typst | // Set the background image for the page
#let image-background = image("../images/Background-Carbon-Anastasia-Labs-01.jpg", height: 100%)
#set page(
background: image-background,
paper :"a4",
margin: (left : 20mm,right : 20mm,top : 40mm,bottom : 30mm)
)
// Set default text style
#set text(15pt, font: "Barlow")
... | |
https://github.com/oliversssf2/do-math | https://raw.githubusercontent.com/oliversssf2/do-math/main/OHara/notes1.typ | typst | #set page("a5")
= Chapter 1 Markets and Market Making
- how trading mechanisms affect the formation of prices
= Chapter 2 Inventory Model
== Stoll's Model
Let $W_0$ be the initial wealth.
$tilde(W) = W_0 (1+tilde(R^*)) + (1+tilde(R_i))Q_i - (1+R_f)(Q_i-C_i)$
Also let $Q_i$ denote the true value of a transaction i... | |
https://github.com/SillyFreak/typst-packages-old | https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/tidy-types/gallery/test.typ | typst | MIT License | #import "@preview/tidy:0.1.0"
#import "../src/lib.typ" as tt
// #import "@local/tidy-types:0.0.1" as tt
// make the PDF reproducible to ease version control
#set document(date: none)
#let style = tidy.styles.default
#show raw.where(lang: "tidy-type"): it => style.show-type(it.text)
= Test
#tt.arr(tt.int)
|
https://github.com/zenor0/FZU-report-typst-template | https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/templates/report.typ | typst | MIT License | #import "../utils/fonts.typ": 字体, 字号
#import "../utils/set-report.typ": set-report
#import "../utils/bilingual-bibliography.typ": appendix
#import "../utils/states.typ": part-state
#import "../utils/thanks.typ": thanks
#import "../utils/packages.typ": *
#import "../pages/cover-report-fn.typ": report-cover-con... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/text/case.typ | typst | // Test the `upper` and `lower` functions.
--- lower-and-upper ---
#let memes = "ArE mEmEs gReAt?";
#test(lower(memes), "are memes great?")
#test(upper(memes), "ARE MEMES GREAT?")
#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
--- upper-bad-type ---
// Error: 8-9 expected string or content, found integer
#upper(1)
| |
https://github.com/EricWay1024/Homological-Algebra-Notes | https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/a-kc.typ | typst | #import "../libs/template.typ": *
= Koszul Complexes and (Co)homology
<koszul>
We generally follow @weibel[Section 4.5]. In this section, by an $R$-module we mean either a left or a right $R$-module.
== Koszul Complexes
#definition[
Let $R$ be a ring and let $x in Z lr((R))$ be a central element. Then we
define the... | |
https://github.com/swaits/typst-collection | https://raw.githubusercontent.com/swaits/typst-collection/main/finely-crafted-cv/0.1.0/lib.typ | typst | MIT License | #import "src/resume.typ": cv, resume, company-heading, job-heading, school-heading, degree-heading
|
https://github.com/deb06/typst-templates | https://raw.githubusercontent.com/deb06/typst-templates/main/cornell_note.typ | typst | #let cornell_note(
title: [],
date: [],
name: [],
topic: [],
notes: [],
main_ideas: [],
summary: [],
) = {
let col_header = rgb("#778da9");
let col_title = rgb("#415a77");
let col_bg = rgb("#e0e1dd");
set align(left)
set text(font: "Times New Roman", size: 12pt)
page(
numbering: "1",
... | |
https://github.com/SkytAsul/fletchart | https://raw.githubusercontent.com/SkytAsul/fletchart/main/src/internals.typ | typst | #import "@preview/fletcher:0.5.1": diagram, node, edge
#let internal-element(id, content, links, style-resolver) = {
metadata((
class: "element",
id: id,
content: content,
links: links,
style-resolver: style-resolver
))
}
#let internal-link(destination, label) = {
if type(destination) == con... | |
https://github.com/MaxAtoms/T-705-ASDS | https://raw.githubusercontent.com/MaxAtoms/T-705-ASDS/main/content/fletcher-reliability.typ | typst | #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#let reliabilityExample=diagram(
//debug: true,
node-stroke: black,
spacing: (.5cm, .5cm),
edge-stroke: 1pt,
node-corner-radius: 0pt,
edge-corner-radius: 0pt,
edge((0,1), "r,u,r"),
node((2,0), [A], shape: fletcher.shapes.rec... | |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/types/dictionary/test.typ | typst | Other | #import "/src/lib.typ" as z
#let test-dictionary = (
string: "world",
number: 1.2,
email: "<EMAIL>",
ip: "172.16.31.10",
)
#z.parse(
test-dictionary,
z.dictionary((
string: z.string(assertions: (z.assert.length.min(5),), optional: true),
number: z.number(optional: true),
email: z.email(optiona... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0013.typ | typst | #import "../helpers.typ": *
#import "../solutions/s0013.typ": *
= Roman to Integer
Roman numerals are represented by seven different symbols: `I`, `V`, `X`, `L`, `C`, `D` and `M`.
#align(center)[#table(
columns: (auto, auto),
align: center,
[*Symbol*], [*Value*],
[I], [1],
[V], [5],
[X], [10],
[L], [50... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A960.typ | typst | Apache License 2.0 | #let data = (
("<NAME> TIKEUT-MIEUM", "Lo", 0),
("<NAME> TIKEUT-PIEUP", "Lo", 0),
("<NAME>ONG TIKEUT-SIOS", "Lo", 0),
("<NAME> TIKEUT-CIEUC", "Lo", 0),
("<NAME>UL-KIYEOK", "Lo", 0),
("<NAME> RIEUL-SSANGKIYEOK", "Lo", 0),
("<NAME>ONG RIEUL-TIKEUT", "Lo", 0),
("<NAME>UL-SSANGTIKEUT", "Lo", 0),
("<NAME>-... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Evidence.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: project.with(
title: "Evidence",
authors: (
"<NAME>",
),
date: "30 Juin, 2024",
)
#set heading(numbering: "1.1.")
== Pseudos
<pseudos>
- Hirew
- Δoxa
- 荣耀归... | |
https://github.com/PgBiel/iterino | https://raw.githubusercontent.com/PgBiel/iterino/main/src/lib.typ | typst | Apache License 2.0 | #let yield(x, state) = (x, state, false)
#let done = (none, none, true)
#let new(state, fn) = (state, fn)
#let next(iter) = {
let (state, fn) = iter
let (value, next-state, is-done) = fn(state)
(value, (next-state, fn), is-done)
}
#let from-fn(fn) = {
assert.eq(type(fn), function)
(none, fn)
}
#let from-a... |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/cli/main.typ | typst | Apache License 2.0 | #import "/github-pages/docs/book.typ": book-page, cross-link
#show: book-page.with(title: "Command Line Tool")
= Command Line Tool
// todo: cross link
The `shiroa` command-line tool is used to create and build books.
After you have #cross-link("/guide/installation.typ")[installed] `shiroa`, you can run the `shiroa h... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/loading/xml.typ | typst | --- xml ---
// Test reading XML data.
#let data = xml("/assets/data/hello.xml")
#test(data, ((
tag: "data",
attrs: (:),
children: (
"\n ",
(tag: "hello", attrs: (name: "hi"), children: ("1",)),
"\n ",
(
tag: "data",
attrs: (:),
children: (
"\n ",
(tag: "hello... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/197.%20donate.html.typ | typst | donate.html
Donate Unrestricted
March 2021The secret curse of the nonprofit world is restricted donations.
If you haven't been involved with nonprofits, you may never have
heard this phrase before. But if you have been, it probably made
you wince.Restricted donations mean donations where the donor limits what can
be d... | |
https://github.com/ntjess/typst-tada | https://raw.githubusercontent.com/ntjess/typst-tada/main/lib.typ | typst | The Unlicense | #import "src/ops.typ"
#import "src/tabledata.typ"
#import "src/display.typ"
#import "src/helpers.typ"
#import display: to-tablex
#(import tabledata:
add-expressions,
count,
drop,
from-columns,
from-rows,
from-records,
item,
stack,
subset,
TableData,
transpose,
update-fields
)
#import ops: agg,... |
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/identify-tracking.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "Identify: Position Tracking",
type: "identify",
date: datetime(year: 2023, month: 7, day: 28),
author: "<NAME>",
witness: "<NAME>",
)
During our Tipping Point and Spin... |
https://github.com/Ryoga-itf/differential-equations | https://raw.githubusercontent.com/Ryoga-itf/differential-equations/main/template.typ | typst | #let textL = 1.8em
#let textM = 1.6em
#let fontSerif = ("Noto Serif", "Noto Serif CJK JP")
#let fontSan = ("Noto Sans", "Noto Sans CJK JP")
#let project(week: -1, authors: (), date: none, body) = {
let title = "微分方程式 " + str(week) + "レポート"
set document(author: authors.map(a => a.name), title: title)
set page(num... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-36.typ | typst | Other | // Error: 2-26 cannot order content and content
#([Hi], [There]).sorted()
|
https://github.com/arthurcadore/eng-telecom-workbook | https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/MEC/finalproject/homework.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#import "@preview/codelst:2.0.1": sourcecode
#show heading: set block(below: 1.5em)
#show par: set block(spacing: 1.5em)
#set text(font: "Arial", size: 12pt)
#set highlight(
fill: rgb("#c1c7c3"),
stroke: rgb("#6b6a6a"),
extent: 2pt,
radius: 0.2em,
)
#show: doc... |
https://github.com/mintyfrankie/brilliant-CV | https://raw.githubusercontent.com/mintyfrankie/brilliant-CV/main/lib.typ | typst | Apache License 2.0 | /*
* Entry point for the package
*/
/* Packages */
#import "./cv.typ": *
#import "./letter.typ": *
#import "./utils/lang.typ": isNonLatin
#import "./utils/styles.typ": overwriteFonts
/* Layout */
#let cv(
metadata,
profilePhoto: image("./template/src/avatar.png"),
doc,
) = {
// Non Latin Logic
let lang = me... |
https://github.com/compsci-adl/Constitution | https://raw.githubusercontent.com/compsci-adl/Constitution/master/README.md | markdown | # The University of Adelaide Computer Science Club Constitution
This repository contains the Constitution of the club, as well as Schedule 1 to the Constitution, titled "Committee Composition"
The documents are written in Typst. More information can be found [here](https://github.com/typst/typst).
| |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/algo/lectures/main.typ | typst | #import "/utils/template.typ": conf
#import "/utils/datestamp.typ": datestamp
#show: body => conf(
title: "Алгоритмы",
subtitle: "Лекции",
author: "<NAME>, БПИ233",
year: [2024--2025],
body,
)
#datestamp("2024-09-03")
#include "2024-09-03.typ"
#datestamp("2024-09-10")
#include "2024-09-10.typ"
#... | |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/dynamic/alternatives-match.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 50pt)
#polylux-slide[
#alternatives-match((
"1, 3-5": [this text has the majority],
"2, 6": [this is shown less often]
))
]
| |
https://github.com/RyushiAok/iml-resume-typst | https://raw.githubusercontent.com/RyushiAok/iml-resume-typst/main/README.md | markdown | # iml-resume-typst
```sh
cd resume
typst watch --font-path c:\Windows\Fonts main.typ
```
| |
https://github.com/tingerrr/chiral-thesis-fhe | https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/core/styles.typ | typst | #import "/src/utils.typ" as _utils
// TODO: separate optional and mandatory styling, let the user control optional styling
#let _std = (
heading: heading,
raw: raw,
table: table,
figure: figure,
math: math,
bibliography: bibliography,
outline: outline,
)
#let outline(
_fonts: (:),
) = body => {
set... | |
https://github.com/ludwig-austermann/typst-din-5008-letter | https://raw.githubusercontent.com/ludwig-austermann/typst-din-5008-letter/main/examples/nice_defaults.typ | typst | MIT License | #import "../letter.typ" : letter, letter-styling, block-hooks, debug-options
#let styling-options = letter-styling(
text-params: (lang: "en"),
hole-mark: false,
theme-color: green.darken(40%),
)
#let block-hooks = block-hooks(
letter-head: pad(10mm)[To be found at #link("https://github.com/ludwig-austermann/t... |
https://github.com/AHaliq/CategoryTheoryReport | https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/main.typ | typst | #import "preamble/style.typ"
#import "preamble/lemmas.typ": *
#show: style.setup.with(
"Category Theory",
"<NAME> <NAME>",
authorid: "202303466",
subtitle: "Projektarbejde i Datalogi 10ECTS (E24.520202U002.A)",
preface: [This report is written for the course on Category Theory undertaken as a project module:... | |
https://github.com/mrknorman/evolving_attention_thesis | https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/09_conclusion/09_conclusion.typ | typst | = Conclusion <conclusion-sec>
Gravitational wave science will soon graduate from its infancy and into the routine. One could be forgiven for thinking that the most exciting days are behind us and that all that remains is an exercise in stamp collecting --- perhaps it will be a useful project to map the features of th... | |
https://github.com/bejaouimohamed/labs-EI2 | https://raw.githubusercontent.com/bejaouimohamed/labs-EI2/main/Lab%20%234%20ROS2%20using%20RCLPY%20in%20Julia/Lab-4.typ | typst | #import "Class.typ": *
#show: ieee.with(
title: [#text(smallcaps("Lab #4: ROS2 using RCLPY in Julia"))],
/*
abstract: [
#lorem(10).
],
*/
authors:
(
(
name: "<NAME>",
department: [Dept. of EE],
organization: [ISET Bizerte --- Tunisia],
profile: "bejaouimohamed",
),
... | |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/26.typ | typst | #import "../conf.typ": *
= Самосопряжённые преобразования евклидовых пространств, свойства их собственных значений и собственных векторов.
#definition[
Пусть $phi: U -> V$ -- линейное отображение, $e = (bold(e_1), ..., bold(e_k))$ -- базис
в $U$, $cal(F) = (bold(f_1), ..., bold(f_n))$ -- базис в $V$.
*Матрицей ... | |
https://github.com/wenjia03/JSU-Typst-Template | https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/Templates/实验报告(无框)/index.typ | typst | MIT License | // 封面
#include "template/cover.typ"
// 目录
// #include "template/toc.typ"
// 正文
#include "template/body.typ"
|
https://github.com/fabriceHategekimana/master | https://raw.githubusercontent.com/fabriceHategekimana/master/main/3_Theorie/C3PO.typ | typst | #import "../src/module.typ" : *
#pagebreak()
= Système C3PO
Jusqu'à présent nous avons parlé de modèles de calcul déjà existant et abordé leur particularités fondamentales et leur apport à notre langage prototype. Nous allons maintenant commencer à explorer des routes un peu plus aventureuses et rendre le design de ... | |
https://github.com/rousbound/typst-lua | https://raw.githubusercontent.com/rousbound/typst-lua/main/tests/templates/test_json.typ | typst | Apache License 2.0 | #set text(font: "New Computer Modern")
-- JSON: Nested Object
Hello #_LUADATA.json.at("nested_object").at("key")\
-- JSON:Arr.json
Hello #_LUADATA.json.at("array").at(0)\
Hello #_LUADATA.json.at("array").at(1)\
-- JSON: Mix.json
Hello #_LUADATA.json.at("mixed_types").at("key1")\
Hello #_LUADATA.json.a... |
https://github.com/Turkeymanc/notebook | https://raw.githubusercontent.com/Turkeymanc/notebook/main/main.typ | typst | #import "/packages.typ": *
// applies the template
// the show rule essentially passes the entire document into the `notebook` function.
#show: notebook.with(
team-name: "53E", // TODO: put your team name here
season: "High Stakes",
year: "2024-2025",
theme: radial-theme, // TODO: change the theme to one you ... | |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/math/content.typ | typst | Apache License 2.0 | // Test arbitrary content in math.
---
// Test images and font fallback.
#let monkey = move(dy: 0.2em, image("/monkey.svg", height: 1em))
$ sum_(i=#emoji.apple)^#emoji.apple.red i + monkey/2 $
---
// Test tables.
$ x := #table(columns: 2)[x][y]/mat(1, 2, 3)
= #table[A][B][C] $
---
// Test non-equation math direc... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-16.typ | typst | Other | #show raw: it => text(font: "PT Sans", eval("[" + it.text + "]"))
Interacting
```
#set text(blue)
Blue #move(dy: -0.15em)[🌊]
```
|
https://github.com/fufexan/cv | https://raw.githubusercontent.com/fufexan/cv/typst/modules/education.typ | typst | #import "../src/template.typ": *
#cvSection("Education")
#cvEntry(
title: [Bachelor's degree in Electronics, Telecommunications and Information Technology],
society: [Technical University of Cluj-Napoca],
date: [2021 - 2025],
location: [Cluj-Napoca],
logo: "../src/logos/utcn.svg",
description: list(),
)
#cvEnt... | |
https://github.com/Dherse/ugent-templates | https://raw.githubusercontent.com/Dherse/ugent-templates/main/masterproef/parts/preface.typ | typst | MIT License | #import "../ugent-template.typ": *
#show: ugent-preface
= Remark on the master's dissertation and the oral presentation
This master's dissertation is part of an exam. Any comments formulated by the assessment committee during the oral
presentation of the master's dissertation are not included in this text.
= Acknowle... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-refs_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Footnote ref in footnote
#footnote[Reference to next @fn]
#footnote[Reference to myself @fn]<fn>
#footnote[Reference to previous @fn]
|
https://github.com/Az-21/typst-components | https://raw.githubusercontent.com/Az-21/typst-components/main/components/code.typ | typst | Creative Commons Zero v1.0 Universal | #let code(content, background: rgb("d2f0d4"), foreground: rgb("#000000")) = box(
fill: background,
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
radius: 2pt,
)[#text(fill: foreground)[#raw(content)]]
/*
// @override default #raw style
#show raw.where(block: false): box.with(
fill: #rgb(#d2f0d4),
inset: (x: 3p... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/009_Last%20Day.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Last Day",
set_name: "Dragon's Maze",
story_date: datetime(day: 05, month: 06, year: 2013),
author: "<NAME>",
doc
)
#figure(image("009_Last Day/01.png", height: 40%), caption: [], supplement: none, numbering: none)
Hearth Fountain Academic... | |
https://github.com/cyp0633/hnu-bachelor-thesis-typst-template | https://raw.githubusercontent.com/cyp0633/hnu-bachelor-thesis-typst-template/master/template.typ | typst | #import "frontpage.typ"
#import "authenticity.typ"
#import "abstract.typ"
#import "outlines.typ"
#import "@preview/i-figured:0.2.4"
// 页眉
#let page_header = [
#set text(font: "Source Han Serif", size: 9pt)
#align(center + bottom)[
#pad(bottom: -6pt)[湖南大学本科生毕业论文(设计)]
]
#line(length: 100%, stroke: 1pt)
#pa... | |
https://github.com/cronokirby/paper-graphical-framework-for-cryptographic-games | https://raw.githubusercontent.com/cronokirby/paper-graphical-framework-for-cryptographic-games/main/main.typ | typst | #import "paper.typ"
#import paper: definition
#let abstract = [
Ahoy
]
#show: doc => paper.template(
title: "Graphical Foundations for Cryptography",
author: (name: "<NAME>", email: "<EMAIL>"),
abstract: abstract,
doc,
)
= Introduction
= Category Theory and String Diagrams
The Fibonacci sequence is defin... | |
https://github.com/arthurcadore/eng-telecom-workbook | https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-8/CSF/homework1/homework1.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#import "@preview/codelst:2.0.1": sourcecode
#show heading: set block(below: 1.5em)
#show par: set block(spacing: 1.5em)
#set text(font: "Arial", size: 12pt)
#set text(lang: "pt")
#set page(
footer: "Engenharia de Telecomunicações - IFSC-SJ",
)
#show: doc => report(
t... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/ref-01.typ | typst | Other | // Error: 1-5 label does not exist in the document
@foo
|
https://github.com/tingerrr/masters-thesis | https://raw.githubusercontent.com/tingerrr/masters-thesis/main/src/de/chapters/1-intro.typ | typst | #import "/src/util.typ": *
#import "/src/figures.typ"
= Motivation
In der Automobilindustrie gibt es verschiedene Systeme, welche die Automation von Prüfständen erleichtern oder ganz übernehmen.
Eines dieser Systeme ist T4gl, eine Programmiersprache und gleichnamiges Laufzeitsystem zur Interpretation von Testskripten ... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/hover/builtin_var3.typ | typst | Apache License 2.0 |
#(sys.version /* ident */ );
|
https://github.com/maxds-lyon/lokiprint | https://raw.githubusercontent.com/maxds-lyon/lokiprint/main/templates/typst/.template/shared/flex.typ | typst | #let column(gap, children) = grid(
columns: 1,
gutter: gap,
..children
)
#let row(gap, children) = {
let (first, ..other) = children
// set par(leading: gap)
first
for child in other {
h(gap)
child
}
}
#let flex(gap: 0pt, direction: column, body) = {
let non-empty-children = body.childre... | |
https://github.com/justmejulian/typst-documentation-template | https://raw.githubusercontent.com/justmejulian/typst-documentation-template/main/utils/pintorita.typ | typst | #let pintorita(body, caption: [], factor: none) = {
import "@preview/pintorita:0.1.1"
let content = {
if factor == none {
pintorita.render(body.text)
} else {
pintorita.render(body.text, factor: factor)
}
}
figure(
content,
caption: caption
)
}
#let pintoritaFile(url, captio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.