repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/fsr/rust-lessons | https://raw.githubusercontent.com/fsr/rust-lessons/master/src/slides.typ | typst | #let section = state("section", none)
#let subslide = counter("subslide")
#let logical-slide = counter("logical-slide")
#let repetitions = counter("repetitions")
#let global-theme = state("global-theme", none)
#let new-section(name) = section.update(name)
#let _slides-cover(mode, body) = {
if mode == "invisible"... | |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/04_Python建模操作系统.typ | typst | #import "../template.typ": *
#pagebreak()
= Python 建模操作系统
== 理解操作系统的新途径
=== 回顾:程序/硬件的状态机模型
计算机软件
- 状态机 (C/汇编)
- 允许执行特殊指令 (syscall) 请求操作系统
- 操作系统 = API + 对象
计算机硬件
- “无情执行指令的机器”
- 从 CPU Reset 状态开始执行 Firmware 代码
- 操作系统 = C 程序
=== 一个大胆的想法
无论是软件还是硬件,都是状态机
- 而状态和状态的迁移是可以 “画” 出来的!
- 理论上说,只需要两个 API
- `dump_s... | |
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/notebook-toc.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: "Typst Showcase: Table of Contents",
type: "notebook",
date: datetime(year: 2023, month: 7, day: 31),
author: "<NAME>",
witness: "<NAME>",
)
In past years our digital n... |
https://github.com/WinstonMDP/knowledge | https://raw.githubusercontent.com/WinstonMDP/knowledge/master/complex_numbers.typ | typst | #import "cfg.typ": cfg
#show: cfg
= Комплексные числа
Поле комплексных чисел $CC$:
- $RR subset.eq CC$
- $i in CC: i^2 = -1$
- оно минимально
Поле комплексных чисел существует и единственно с точностью до изоморфизма.
Комплексное сопряжение:
$overline(a + b i) = a - b i$
$overline(alpha + beta) = overline(alpha) + ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-08.typ | typst | Other | // Error: 3-12 cannot divide by zero
#(1.2 / 0.0)
|
https://github.com/vimkat/typst-ohm | https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/lib.typ | typst | MIT License | // Colors
#import "lib/vars.typ": font, red, blue, yellow, light-blue, green, violet, dark-green
// Elements
#import "lib/elements.typ": pipe
// Components
#import "components/logo.typ": logo, logo-omega
// Templates
#import "templates/document.typ": document
#import "templates/event-sign.typ": event-sign
#import "t... |
https://github.com/simon-epfl/notes-ba3-simon | https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/comparch/notes.typ | typst | == Arithmetic/Logic instructions
"easy": two operands or one operand and a constant (immediate)
like `sll`, `add`, `xor`, `slt`, etc.
because immediate are limited in terms of space, we can use a register with `lui` (12 bits), then `addiu` (add unsigned) and `xor` to copy
== Assembler directives
Like `.text`, `.da... | |
https://github.com/seven-mile/blog-ng-content | https://raw.githubusercontent.com/seven-mile/blog-ng-content/master/_typst_ts_tmpl/physics.typ | typst | // Copyright 2023 Leedehai
// Use of this code is governed by a MIT license in the LICENSE.txt file.
// Current version: 0.7.3. Please see physics-manual.pdf for user docs.
// Returns whether a Content object holds an integer. The caller is responsible
// for ensuring the input argument is a Content object.
#let __con... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap4/2_arithmetic_with_scientific_notation.typ | typst | Other | #import "../../core/core.typ"
=== Arithmetic with scientific notation
The benefits of scientific notation do not end with ease of writing and
expression of accuracy. Such notation also lends itself well to
mathematical problems of multiplication and division. Let\'s say we
wanted to know how many electrons would flow... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/version.typ | typst | Apache License 2.0 | #let version = version(0,3,0)
|
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/intake-rebuild/identify.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: Intake Rebuild",
type: "identify",
date: datetime(year: 2024, month: 2, day: 10), // TODO: fix date
author: "<NAME>",
witness: "<NAME>",
)
At our past tourna... |
https://github.com/yonatankremer/matrix-utils | https://raw.githubusercontent.com/yonatankremer/matrix-utils/main/test.typ | typst | MIT License | #import "src/complex.typ": *
#import "src/matrix2.typ": *
//#madd($mat(1,2;3,5)$,$mat(1,2;3,4)$,)
//#mrow-switch($mat(1,2;3,5)$,0,1)
//#mrow-mul($mat(1,2;3,5)$,0,2)
//#mrow-add($mat(1,2;3,5)$,0,1,1)
#let c = cadd(1,2)
#_cunform(c) |
https://github.com/YDX-2147483647/statistical-dsp | https://raw.githubusercontent.com/YDX-2147483647/statistical-dsp/main/report.typ | typst | #import "@preview/physica:0.8.1": pdv, order
#import "template.typ": project
#show: project.with(
title: "Experimental and Simulation Training",
author: yaml("assets/author.yaml"),
date: "2023-11 – 2023-12",
info: (
Course: [Statistical Digital Signal Processing],
Teacher: [杨小鹏、曾小路],
"Student name"... | |
https://github.com/hekzam/typst-lib | https://raw.githubusercontent.com/hekzam/typst-lib/main/test/basic.typ | typst | Apache License 2.0 | #import "../lib.typ": rect-box, gen-copies
#let bcol = json("./input-fill-colors.json")
#let f-color = white
#let copy-two-pages = int(sys.inputs.at("copy-two-pages", default: "0")) == 1
#let copy-content = [
#set align(left+top)
= Exercise 1
#rect-box("b0", 5cm, 1cm, fill-color: color.rgb(bcol.at("b0")))
In... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/edu/homeworks/book_table/main.typ | typst | #set text(lang: "ru", size: 11pt)
#set par(justify: true)
#align(center)[
#text(size: 20pt, weight: "bold")[Ответы на вопросы\ по книге "<NAME>"\ Кендзиро Хайтани]
#text(size: 18pt)[<NAME>\ БПИ233]
]
#text(weight: "bold", size: 14pt)[
Как вы думаете, почему японская пословица "Не нужно быть Буддой, чтобы... | |
https://github.com/wenjia03/JSU-Typst-Template | https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/Templates/实验报告(无框)/template/body.typ | typst | MIT License | #import "../utils/style.typ": *
#import "../utils/utils.typ": *
#import "../config/thesisInfo.typ": *
#import "@preview/cuti:0.2.0": show-cn-fakebold
#show: show-cn-fakebold
#pagebreak()
#set page(numbering: "1")
#counter(page).update(1)
// 章节计数器,记录公式层级
// -----------------
// 2023/4/11 update log:
// - 增加计数器,把元素序号转为... |
https://github.com/francescoo22/kt-uniqueness-system | https://raw.githubusercontent.com/francescoo22/kt-uniqueness-system/main/src/annotation-system/rules/unification.typ | typst | #import "../../proof-tree.typ": *
#import "../../vars.typ": *
// *********** Unify ***********
#let Ctx-Lub-Empty = prooftree(
axiom($$),
rule(label: "Ctx-Lub-Empty", $dot space lub space dot space = space dot$),
)
#let Ctx-Lub-Sym = prooftree(
axiom($$),
rule(label: "Ctx-Lub-Sym", $Delta_1 lub Delta_2 = Del... | |
https://github.com/astrale-sharp/typst-assignement-template | https://raw.githubusercontent.com/astrale-sharp/typst-assignement-template/main/libs/expression.typ | typst | MIT License | #import "science.typ" : sfmt
#let node(label, value) = {
assert(type(label)=="string")
assert(type(value) in ("float","integer"))
(label : label, value : value, type : "node")
}
// #let is_node(node) = {
// type(node)=="dictionary" and node.type == "node"
// }
#let show_node(node) = {
eval("$" + node.label... |
https://github.com/rem3-1415926/Typst_Thesis_Template | https://raw.githubusercontent.com/rem3-1415926/Typst_Thesis_Template/main/sec/appendix.typ | typst | MIT License |
#let appendix = [
#include("../appendix/app1.typ")
#include("../appendix/app2.typ")
#include("../appendix/app3.typ")
] |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-05.typ | typst | Other | // Error: 8-15 invalid float: 1.2.3
#float("1.2.3")
|
https://github.com/swouf/alina-poster-template | https://raw.githubusercontent.com/swouf/alina-poster-template/main/README.md | markdown | Creative Commons Attribution Share Alike 4.0 International | # Alina Poster Template
This is a simple and naive template for making academic posters with Typst.
This is an ongoing, unfinished project. Use it at your own risk.
Feel free to modify it and adapt it. Please, mind the _CC-BY-SA 4.0_ license and respect the terms of it (respect attribution and share any derivatives ... |
https://github.com/FlandiaYingman/typstfmt-ext | https://raw.githubusercontent.com/FlandiaYingman/typstfmt-ext/master/README.md | markdown | # typstfmt Ext
A Chromium extension that calls `typstfmt` on the current [Typst App](https://typst.app/) Document!
> [!CAUTION]
> This extension is in early development and may break your document. Backup your work before using it.
## Installation
> [!NOTE]
> I have submitted the extension
> to [Edge Add-ons](https... | |
https://github.com/ryuryu-ymj/mannot | https://raw.githubusercontent.com/ryuryu-ymj/mannot/main/docs/doc-template.typ | typst | MIT License | #import "/src/lib.typ": *
#let entrypoint = toml("/typst.toml").package.entrypoint
#let usage = "#import \"/" + entrypoint + "\": *\n" + "#show: mannot-init\n"
#let example(source) = {
grid(
columns: (2fr, 1fr),
rows: (auto),
align: center + horizon,
gutter: 5pt,
{
set text(0.8em)
ra... |
https://github.com/NOOBDY/formal-language | https://raw.githubusercontent.com/NOOBDY/formal-language/main/template.typ | typst | The Unlicense | #let project(title: "", authors: (), date: none, body) = {
// Set the document's basic properties.
set document(author: authors, title: title)
set page(numbering: "1", number-align: center)
set text(font: "<NAME>", lang: "en")
// Title row.
align(center)[
#block(text(weight: 700, 1.75em, title))
#v... |
https://github.com/linhduongtuan/BKHN-Thesis_template_typst | https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/contents/info.typ | typst | Apache License 2.0 | // Title in Vietnamese
#let vn_title = "CÁCH SỬ DỤNG CHATGPT ĐỂ HỖ TRỢ VIẾT LUẬN VĂN BẰNG TIẾNG ANH?"
// Title in English
#let en_title = "HOW TO USE CHATGPT TO IMPROVE THE QUALITY OF A THESIS WRITTEN IN ENGLISH?"
// College/School/Faculty
#let college = "SoICT"
// Major/Discipline
#let major = "Computer Science"
// St... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/quill/0.2.0/README.md | markdown | Apache License 2.0 | <h1 align="center">
<img alt="Quantum Circuit" src="docs/images/logo.svg" style="max-width: 100%; width: 300pt">
</h1>
**Quill** is a package for creating quantum circuit diagrams in [Typst](https://typst.app/).
Repository: https://github.com/Mc-Zen/quill
_Note, that this package is in beta and may still be und... |
https://github.com/tairahikaru/old-typst-japanese | https://raw.githubusercontent.com/tairahikaru/old-typst-japanese/main/README.typ | typst | Other | // README.typ
// https://github.com/tairahikaru/old-typst-japanese
// This file is CC BY-SA 4.0
//
// Require Typst 0.2.0 (23/04/11)
#let 現在 = "2023年4月19日現在"
#let LaTeX = { // based on LaTeX kernel
let body = {
[L]
h(-0.36em)
box(height:1em,align(top, smallcaps([a])))
h(-0.15em)
[T]
h(-0.1667... |
https://github.com/Tiggax/famnit_typst_template | https://raw.githubusercontent.com/Tiggax/famnit_typst_template/main/README.md | markdown | MIT No Attribution | # FAMNIT



*University of Primorska,*
*Faculty of Mathematics, Natural Sc... |
https://github.com/simon-epfl/notes-ba3-simon | https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/comparch/resume.typ | typst | == Tricks
=== Multiplication avec shift et log
Quand on veut calculr $a dot b$, si on dispose du $log_a$ on peut faire $b << log_a$.
=== Charger un mot au milieu
Toutes les adresses doivent être alignées sur la taille des données qu'elles manipulent (donc quand on fait un `lw` ça doit être un multiple de 4). Mais R... | |
https://github.com/galaxia4Eva/galaxia4Eva | https://raw.githubusercontent.com/galaxia4Eva/galaxia4Eva/main/typst/Economist%20Dec%202023/document.typ | typst | #set page(width: 1558pt, height:2048pt, background: image("./images/economist.jpeg"), margin: 0pt)
#align(bottom)[
#grid(
columns:(1fr,1fr,1fr),
rows:(256pt),
[
#align(left)[
#image("./images/Two_orangutani.png")
]
],
[],
[
#align(right)[
#image("./images/One_... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/import.typ | typst | Apache License 2.0 | #import "@preview/fletcher:0.4.0" as fletcher: node, edge
|
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst | https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/template/abstract.typ | typst | #import "font.typ" : *
#import "../body/info.typ": *
#import "../body/abstract.typ": *
#pagebreak()
// 中文摘要页
#v(2em)
#align(center)[
#text(font:heiti, size:26pt)[#title]
#v(26pt)
#text(font:heiti, size:18pt)[摘要]
]
#par(
justify: false,
leading: 1.5em,
first-line-indent: 2em)[#text(fo... | |
https://github.com/ukihot/igonna | https://raw.githubusercontent.com/ukihot/igonna/main/const.typ | typst | #let me="<NAME>"
#let title="Introduction to Development" | |
https://github.com/congyu711/matroidslides5min | https://raw.githubusercontent.com/congyu711/matroidslides5min/main/main.typ | typst | MIT License | #import "@preview/touying:0.4.2": *
// #import "@preview/a2c-nums:0.0.1": int-to-cn-ancient-num
#import "@preview/octique:0.1.0": *
#import "@preview/lovelace:0.3.0": *
#import "@preview/ctheorems:1.1.2": *
#show: thmrules.with(qed-symbol: $square$)
#set page(width: 16cm, height: auto, margin: 1.5cm)
#set heading(numb... |
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/classes/cs6840/notes.typ | typst | #import "@local/preamble:0.1.0": *
#import "@preview/lovelace:0.2.0": *
#show: project.with(
course: "CS6840",
sem: "FA24",
title: "Algorithmic Game Theory",
subtitle: "Notes",
authors: (
"<NAME>",
),
)
#show: setup-lovelace
= Introduction
=
=
#pagebreak()
= The Multiplicative Weights Algorithm... | |
https://github.com/fenjalien/cirCeTZ | https://raw.githubusercontent.com/fenjalien/cirCeTZ/main/utils.typ | typst | Apache License 2.0 | #import "../typst-canvas/vector.typ"
#import "../typst-canvas/draw.typ": anchor
#let vector-dist(v1, v2) = {
return calc.abs(
vector.len(
vector.sub(
v2,
v1
)
)
)
}
#let get-angle(v1, v2, debug: false) = {
// panic(v1, v2)
let (x,y,z) = vector.sub(v2, v1)
return calc.at... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/underover-02.typ | typst | Other | // Test brackets.
$ underbracket([1, 2/3], "relevant stuff")
arrow.l.r.double.long
overbracket([4/5,6], "irrelevant stuff") $
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-31F0.typ | typst | Apache License 2.0 | #let data = (
("KATAKANA LETTER SMALL KU", "Lo", 0),
("KATAKANA LETTER SMALL SI", "Lo", 0),
("KATAKANA LETTER SMALL SU", "Lo", 0),
("KATAKANA LETTER SMALL TO", "Lo", 0),
("KATAKANA LETTER SMALL NU", "Lo", 0),
("KATAKANA LETTER SMALL HA", "Lo", 0),
("KATAKANA LETTER SMALL HI", "Lo", 0),
("KATAKANA LETTER... |
https://github.com/ooliver1/a-level-project | https://raw.githubusercontent.com/ooliver1/a-level-project/master/writeup/palettes/xcolor.typ | typst | /* The colors provided by xcolor
*
* Source: https://en.wikibooks.org/wiki/LaTeX/Colors
* Accessed: 2023-03-31
*/
#let xcolor = (
apricot : rgb("#fbb982"),
aquamarine : rgb("#00b5be"),
bittersweet : rgb("#c04f17"),
black : rgb("#221e1f"),
blue : rgb("#2d2f92"),
blu... | |
https://github.com/MrToWy/Bachelorarbeit | https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/getValue.typ | typst | #import("../Template/customFunctions.typ"): *
#codly(
highlights:(
(line:13, label: <getValueFromPath>),
(line:22, label: <getNestedProperty>),
(line:26, fill:green, label: <reduce>),
(line:28, fill:red, label: <detectArray>),
(line:32, fill:blue, label: <ignoreVar>),
)
)
```ts
private async getValue(modul... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/1_minea.typ | typst | #include "03_november.typ"
#include "04_december.typ"
| |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/06-field-theory/05-finite-fields.typ | typst | Other | #import "../../utils/core.typ": *
== Классификация конечных полей
#ticket[Эндоморфизм возведения в степень $p$ поля характеристики $p$]
#pr[
Пусть $char F = p in PP_(>0)$. Существует эндоморфизм $Phi$, который ведет себя следующим образом:
$
F &limits(-->)^(Phi) F \
x &maps x^p.
$
Так... |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/multicore/pset4.typ | typst | #import "template.typ": *
#show: template.with(
title: "6.5081 PSET 4",
subtitle: "<NAME>",
pset: true
)
= Problem 1
== (a)
*Consensus Number*: $infinity$
Recall that using the regular FIFO queue raised problems for any $n > 2$ consensus number, as there was no possible combination of operations at the critic... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/typearea/0.1.0/typearea.typ | typst | Apache License 2.0 | #let typearea(div: 9, bcor: 0mm, two-sided: true, ..rest, body) = {
let width = 100% - bcor
let height = 100%
set page(
..rest,
margin: if two-sided {
(
"top": height / div,
"bottom": height / div * 2,
"inside": width / div + bcor,
"outside": width / div * 2,
)... |
https://github.com/arinbasu/typst_docs | https://raw.githubusercontent.com/arinbasu/typst_docs/main/paper.typ | typst | = Human digital twins
== Abstract
| |
https://github.com/julius2718/entempura | https://raw.githubusercontent.com/julius2718/entempura/main/0.0.1/main.typ | typst | MIT License |
#let sans(it) = {
set text(font: ("Source Sans 3", "Arial"), size: 11pt,)
it
}
#let gtheading(it) = {
set par(first-line-indent: 0em)
text(sans[*#it* #h(1em)])
}
#let today = {
datetime.today().display("[day] [month repr:long] [year]")
}
#let signature(title: "", date: "", author: "") = {
align(center,... |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/quoted/quoted_inserted.typ | typst | #quote[I know that I know nothing.]
#quote[Only the dead have seen the end of war.]
#quote[Ignorance, the root and stem of every evil.] | |
https://github.com/RiccardoTonioloDev/Bachelor-Thesis | https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/structure.typ | typst | Other | // Frontmatter
#include "./preface/firstpage.typ"
#include "./preface/dedication.typ"
#include "./preface/summary.typ"
#include "./preface/table-of-contents.typ"
// Mainmatter
#counter(page).update(1)
#show link: set text(fill: blue.darken(70%), weight: "medium")
#include "./chapters/introduction.typ"
#include "./c... |
https://github.com/tiankaima/typst-notes | https://raw.githubusercontent.com/tiankaima/typst-notes/master/b298e5-sobolev/main.typ | typst | #align(
center,
text(20pt, font: "New Computer Modern Math")[
*Lecture Notes: Sobolev inequalities*
],
)
#align(
center,
text(12pt)[
<NAME>
],
)
#align(
center,
text(12pt)[
#datetime.today().display("[year]-[month]-[day]")
],
)
#set math.equation(numbering: "(1)")
// = Abstract
// In thi... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/054%20-%20Lost%20Caverns%20of%20Ixalan/005_Episode%205.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 5",
set_name: "Lost Caverns of Ixalan",
story_date: datetime(day: 20, month: 10, year: 2023),
author: "<NAME>",
doc
)
== Quint
What would it be like to touch the sun?
Quint stood on a hill overlooking the valley that housed the Th... | |
https://github.com/JosephBoom02/Appunti | https://raw.githubusercontent.com/JosephBoom02/Appunti/main/Anno_3_Semestre_1/Controlli%20Automatici/equation_numbering.typ | typst | #let equation_numbering(doc) = {
set heading(numbering: "1.")
show heading.where(level: 1): h => {
h
// reset equation counter for each chapter
counter(math.equation).update(0)
}
set math.equation(numbering: eqCounter => {
locate(eqLoc => {
// numbering of the equation: change this to fi... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tgm-hit-thesis/0.1.0/CHANGELOG.md | markdown | Apache License 2.0 | # [v0.1.0](https://github.com/TGM-HIT/typst-diploma-thesis/releases/tags/v0.1.0)
Initial Release
|
https://github.com/LucaCiucci/tesi-triennale | https://raw.githubusercontent.com/LucaCiucci/tesi-triennale/main/README.md | markdown | Creative Commons Zero v1.0 Universal | # tesi-triennale (Physics bachelor thesis)
Slides for my bachelor thesis in Physics.
This repository contains the code for the slides of my bachelor thesis in Physics.
[](https://github.com/LucaCiucci/tesi-triennale/releases/tag/final)
See the [final release page](https://github.com/LucaCi... |
https://github.com/donabe8898/typst-slide | https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/並行prog/03/Go3.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/Bzero/typstwriter | https://raw.githubusercontent.com/Bzero/typstwriter/master/README.md | markdown | Other | # 
An integrated editor for the [typst](https://github.com/typst/typst) typesetting system.

## Features
* Integrated Document Viewer
* Integrated File System viewer
* Syntax highlighting
## Configuration
Typstwriter ca... |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/Lateinit.typ | typst |
== Null-safety: Inicialización tardía
A veces no es posible inicializar una variable en el momento de su declaración sin comprometer la
limpieza del código o la eficiencia. Para estos casos, Kotlin ofrece dos herramientas útiles:
`lateinit` y `Delegates.notNull()`.
=== Uso de `lateinit`
- *Propósito*: La palabra ... | |
https://github.com/exAClior/touying-simpl-hkustgz | https://raw.githubusercontent.com/exAClior/touying-simpl-hkustgz/master/README.md | markdown | MIT License | # Touying Slide Theme for HKUST GZ
Inspired by [Touying Slide Theme for Beihang University](https://github.com/Coekjan/touying-buaa)
## Use as Typst Template Package
Use `typst init @preview/touying-simpl-hkustgz` to create a new project with this theme.
```console
$ typst init @preview/touying-simpl-hkustgz
Succe... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cades/0.2.0/lib.typ | typst | Apache License 2.0 | #import "@preview/jogs:0.2.0": compile-js, call-js-function
#let qrcode-src = read("./qrcode.js")
#let qrcode-bytecode = compile-js(qrcode-src)
#let qr-code(
content,
width: auto,
height: auto,
color: black,
background: white,
) = {
let result = call-js-function(qrcode-bytecode, "qrcode", content, col... |
https://github.com/crd2333/Astro_typst_notebook | https://raw.githubusercontent.com/crd2333/Astro_typst_notebook/main/src/docs/here/test/第三方包.typ | typst | ---
order: 3
---
#import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "This is a title",
// show_toc: false,
lang: "zh",
)
Pay attention to the order.
This file has order: $3$.
从第三方包中(or自己编写)预先挑选了一些比较实用的工具,比如:
= Fletcher
Typst 中的 cetz 就像 LaTeX 中的 tikz 一样,提供强大的画图功能,但是个人感觉略繁琐。#link("h... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231121/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/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/几何学/main.typ | typst | #import "../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: note.with(
title: "几何学",
author: "YHTQ",
date: none,
logo: none,
)
= 前言
- 考核:作业10%,期中30%,期末60%
- 课程主页:www.math.pku.edu.cn/teachers/wangjj/2023fall/index.html
-... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/style_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test forcing math size
$a/b, display(a/b), display(a)/display(b), inline(a/b), script(a/b), sscript(a/b) \
mono(script(a/b)), script(mono(a/b))\
script(a^b, cramped: #true), script(a^b, cramped: #false)$
|
https://github.com/shunichironomura/ukaren-typst-template | https://raw.githubusercontent.com/shunichironomura/ukaren-typst-template/main/README.md | markdown | # 宇宙科学技術連合講演会予稿集原稿用Typstテンプレート
宇宙科学技術連合講演会の予稿集原稿をTypstで作成するためのテンプレートを含むレポジトリです。
## [`template.typ`](template.typ)
[予稿集原稿投稿ページ](https://smartconf.jp/content/ukaren68/abstructionupload)およびそこからダウンロード可能な予稿集原稿テンプレートをもとに筆者が作成したテンプレートです。
## [`example.typ`](example.typ)
テンプレートを用いて、公式に提供されている[予稿集原稿テンプレート(Wordファイル)](https:/... | |
https://github.com/qujihan/typst-cv-template | https://raw.githubusercontent.com/qujihan/typst-cv-template/main/utils.typ | typst | #import "params.typ": *
#let icon-text-box(
icon-path,
txt,
size: 16pt,
baseline: 3.5em,
h-size: 0.5em,
icon-factor: 1.2,
) = {
box(baseline: baseline, outset: (x: 0pt))[#image(
project-root + icon-path,
height: size * icon-factor,
)]
h(h-size)
box(outset: (y: 0pt), height: auto)[#tex... | |
https://github.com/QuadnucYard/pigeonful-typ | https://raw.githubusercontent.com/QuadnucYard/pigeonful-typ/main/README.md | markdown | MIT License | # Pigeonful
Are you dreaming of becoming a pigeon? Now let's start!
This is a typst package for creating splendid document similar to [研招网推免](https://yz.chsi.com.cn/tm/student/dlqtz/list.action) style. Have fun!
## Examples
All of the examples below derive from web images.
### KFC

```t... |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/esbuild.typ | typst | #import "/components/glossary.typ": gls
== ESBuild
<sec-esbuild>
ESBuild is a relatively new JavaScript bundler that has gained significant
attention due to its exceptional performance and innovative approach. We will
explore the key features, benefits, and challenges of using ESBuild for
bundling JavaScript applicat... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/e.typ | typst | #import "../cfg.typ": *
#show: cfg
$ "Prove that" (RR, +), (RR without 0, *) "aren't isomorphic groups" $
Suppose the opposite
$(RR without 0, *) tilde.eq (RR_+, *)$
$1 = phi(1) = phi(-1^2) = phi(-1) phi(-1)$
$phi(-1) = 1 = phi(1)$
$bot$
| |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-08.typ | typst | Other | // Error: 2-21 string index -1 is not a character boundary
#"🏳️🌈".slice(0, -1)
|
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/ab.typ | typst | MIT License | #import "_imports.typ": *
#let arbeitsblatt(
..args,
body,
) = {
let (
doc,
page-init,
tpl,
) = base-template(
type: "AB",
type-long: "Arbeitsblatt",
//_tpl: (:),
..args,
body,
)
{
show: page-init
tpl
}
}
|
https://github.com/OrangeX4/typst-sympy-calculator | https://raw.githubusercontent.com/OrangeX4/typst-sympy-calculator/main/tests/test.typ | typst | MIT License | #import "cal.typ": *
// set variances
#let a = 1
#let b = $a + 1$
|
https://github.com/Lypsilonx/boxr | https://raw.githubusercontent.com/Lypsilonx/boxr/main/README.md | markdown | MIT License | # Boxr
Boxr is a modular, and easy to use, package for creating cardboard cutouts in Typst.
## Usage
Create a boxr structure in your project with the following code:
```
#import "@preview/boxr:0.1.0": *
#render-structure(
"box",
width: 100pt,
height: 100pt,
depth: 100pt,
tab-size: 20pt,
[
Hello from b... |
https://github.com/icpmoles/politypst | https://raw.githubusercontent.com/icpmoles/politypst/main/aside/appendix_B.typ | typst | #let app_B = [
#heading(numbering: none)[Appendix B]
It may be necessary to include another appendix to better organize the presentation of
supplementary material.
] | |
https://github.com/giZoes/justsit-thesis-typst-template | https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/layouts/appendix.typ | typst | MIT License | #import "@preview/i-figured:0.2.4"
#import "../utils/custom-numbering.typ": custom-numbering
// 后记,重置 heading 计数器
#let appendix(
numbering: custom-numbering.with(first-level: "", depth: 4, "1.1 "),
// figure 计数
show-figure: i-figured.show-figure.with(numbering: "1-1"),
// equation 计数
show-equation: i-figured... |
https://github.com/kyliancc/mathematics | https://raw.githubusercontent.com/kyliancc/mathematics/main/Infomation%20and%20Entropy/cpt1/cpt1.typ | typst | #set page("a4")
#align(left, text(25pt)[
*Information and Entropy*
])
#align(left, text(20pt)[
*Chapter 1: Bits*
])
*The bit, is the fundamental unit of information.*
We use a common understanding *code*, which are sequence of 0 and 1, to convey information. For an instance, we use 0 and 1 to describe each side... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/knowledge/residue_fields.typ | typst | #import "../cfg.typ": cfg
#show: cfg
= Residue classes
$a equiv_n b := n divides a - b$.
$[a]_n := {x in ZZ mid(|) x equiv_n a}$.
A residue ring $a$ modulo $n := ZZ_n := ZZ op(slash) equiv_n$.
$ZZ_n$ is an associative commutative ring with a unit.
$ZZ_n$ is a field $<-> n$ is prime.
$[z]_n$ is invertible in $ZZ_n... | |
https://github.com/MichaelFraiman/TAU_template | https://raw.githubusercontent.com/MichaelFraiman/TAU_template/main/README.md | markdown | # Readme
## What is this?
This is a template used to produce ODE materials for semester א of the year ה׳תשפ׳׳ד at TAU.
Apart from the style files, one actual use-case file is shared.
## What state is it in?
Raw.
The design has been adapted to the fonts which are not shared here (Meta Serif, Helvetica).
Although, yo... | |
https://github.com/Sepax/Typst | https://raw.githubusercontent.com/Sepax/Typst/main/DIT323/Assignments/A3/main.typ | typst |
#import "template.typ": *
#show: template.with(
title: [Finite automata and formal languages #linebreak() Assignment 3],
short_title: "DIT084",
description: [
DIT323 (Finite automata and formal languages)\ at Gothenburg University
],
authors: ((name: "<NAME>"),),
lof: false,
lot: false,
lol: false,... | |
https://github.com/alikindsys/aula | https://raw.githubusercontent.com/alikindsys/aula/master/Core/packages.typ | typst | // Acronym manager
#import "@preview/acrostiche:0.3.1" as acrostiche
// Callouts
#import "@preview/gentle-clues:0.6.0" as gentle-clues
// Qr Codes
#import "@preview/cades:0.3.0" as cades
// Fancy Headers and Footers
#import "@preview/chic-hdr:0.4.0" as chic-hdr
// Glossary
#import "@preview/gloss-awe:0.0.5" as glos... | |
https://github.com/romero-kenny/Programming-Studio | https://raw.githubusercontent.com/romero-kenny/Programming-Studio/main/programming_studio.typ | typst | Creative Commons Zero v1.0 Universal | #import "./ieee-typst-template/template.typ": *
#show: ieee.with(
title: "Programming Studio: How Games Can Better Prepare Software Engineers",
abstract: [
// The complexity of modern software, built upon interconnected systems, presents a
// challenge for new software engineers. Traditional teaching metho... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/songb/0.1.0/tests/autobreak.typ | typst | Apache License 2.0 | // SPDX-FileCopyrightText: 2024 <NAME> <<EMAIL>>
//
// SPDX-License-Identifier: CC0-1.0
#import "../autobreak.typ": autobreak;
#autobreak[
= Paragraph 1
]
#autobreak[
= Paragraph 2
should not break (enough space below Paragraph 1)
#lorem(500)
]
#autobreak[
= Paragraph 3
Paragraph 3 should break (not en... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/grayness/0.1.0/example.typ | typst | Apache License 2.0 | #import "@local/grayness:0.1.0":*
#let data = read("Arturo_Nieto-Dorantes.webp",encoding: none)
#set page(height: 12cm, columns: 3)
Unmodified WebP-Image:
#show-image(data, width:90%)
Grayscale:
#grayscale-image(data, width:90%)
#colbreak()
Flip (vertically):
#flip-image-vertical(data,width:90%)
Transparency:
#tra... |
https://github.com/ericthomasca/resume | https://raw.githubusercontent.com/ericthomasca/resume/main/modules_en/skills.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.1": cvSection, cvSkill, hBar
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#cvSection("Skills")
#cvSkill(
type: [Languages],
info: [C\# #hBar() Python #hBar() Java #hBar() Go #hBar() Bash #hBar() JavaScript #hBar() TypeS... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/globals.typ | typst | The Unlicense | #let frontmatter-entries = state("frontmatter-entries", ())
#let entries = state("entries", ())
#let appendix-entries = state("appendix-entries", ())
#let glossary-entries = state("glossary-entries", ())
|
https://github.com/MultisampledNight/flow | https://raw.githubusercontent.com/MultisampledNight/flow/main/src/gfx/maybe-stub.typ | typst | MIT License | // Intends to reduce query times hugely.
// When not calling any cetz functions, only importing and parsing it takes a significant amount of
// time.
// Hence this module wraps cetz and imports it only if cfg.render=true.
// Otherwise it offers do-nothing stubs in place.
#import "../cfg.typ"
#let cetz = if cfg.render... |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/class-handouts/class-wood_101-shop_basics.typ | typst |
#import "/meta-environment/env-protohaven-class_handouts.typ": *
#show: doc => class_handout(
title: "Basic Equipment Clearance",
category: "Wood",
number: "101",
clearances: ("Table Saw", "Band Saw (Wood)", "Drill Press (Wood)", "Sanding Table", "Miter Saw", "Spindle Sander", "Disc/Belt Sander"),
instructo... | |
https://github.com/ilsubyeega/circuits-dalaby | https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/2/46.typ | typst | #set enum(numbering: "(a)")
#import "@preview/cetz:0.2.2": *
#import "../common.typ": answer
2.46 다음 회로에서 $I$를 구하라. 이때 모든 저항의 단위는 $ohm$ 이다.
#answer[
Delta to Y를 사용한다.
2, 2, 4옴으로 이루어진 Delta를 Y로 변환한다.
위에서부터
$"sum" = 2+2+4 = 8$
$R_1 = (2 dot 2) / 8 = 0.5 ohm$
$R_2 = (2 dot 4) / 8 = 1 ohm$
$R_3 = (4 do... | |
https://github.com/CaldeCrack/Typst-Templates | https://raw.githubusercontent.com/CaldeCrack/Typst-Templates/main/README.md | markdown | # Typst-Templates
Typst personal templates for various purposes
## Templates
- [Default](template.typ): Creada basándose en la template de auxiliares de <NAME> [[fuente](https://latex.ppizarror.com/auxiliares)]
## Modules
- [Auto Rectangle](modules/auto_rect.typ): Creación más rápida de rectángulos con valor del pa... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify-cjk_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Japanese typography is more complex, make sure it is at least a bit sensible.
#set page(width: auto)
#set par(justify: true)
#set text(lang: "jp", font: ("Linux Libertine", "Noto Serif CJK JP"))
#rect(inset: 0pt, width: 80pt, fill: rgb("eee"))[
... |
https://github.com/vsheg/intermediate-ml | https://raw.githubusercontent.com/vsheg/intermediate-ml/main/03-nonlinear/01-nonlinear-ls.typ | typst | #import "@preview/physica:0.9.3": *
#import "../defs.typ": *
#import "../template.typ": *
#show: template
= Non-linear Optimization: Newton --- Gauss Method
The Newton–Gauss method is a second-order optimization technique for quadratic functions,
utilizing a linear approximation of the optimized function at each ste... | |
https://github.com/edgarogh/f4f1eb | https://raw.githubusercontent.com/edgarogh/f4f1eb/main/demo_long.typ | typst | #import "template.typ": *
#set page(numbering: "1")
#show: project.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 ... | |
https://github.com/1939323749/typst-zuotiben | https://raw.githubusercontent.com/1939323749/typst-zuotiben/main/README.md | markdown | # 25竟成计组做题本
基于typst制作的25竟成计组选择题做题本
## 使用方法
```bash
typst compile main.typ 25竟成计组选择题做题本.pdf
```
| |
https://github.com/michalrzak/muw-typst-template | https://raw.githubusercontent.com/michalrzak/muw-typst-template/main/template.typ | typst | // Template created after the requirements in https://ub.meduniwien.ac.at/fileadmin/content/OE/ub/dokumente/Leitfaden_Studierende_Hochschulschriften_MedUni_Wien.pdf
#let project(
type: "",
title_en: "",
title_de: "",
targeted_acadmic_degree: "",
study_program: "",
conducted_at: "",
supervisors: (),
you... | |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/ziele_und_aufgaben/kompetenzen.typ | typst | Other | #import "/src/template.typ": *
== #ix("Kompetenzen", "Kompetenz")
// #show table: it => align(center, block(align(left, block(it))))
#def("Kompetenz")[
Kompetenzen "sind die bei Individuen verfügbaren oder durch sie erlernbaren kognitiven Fähigkeiten, um bestimmte Probleme zu lösen, sowie die damit verbundenen m... |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/bullet_list/bullet_list_updated.typ | typst | - updated item
- second item
| |
https://github.com/HollowNumber/DDU-Rapport-Template | https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/src/chapters/ordliste.typ | typst | #import "@preview/glossarium:0.2.3": make-glossary, print-glossary, gls, glspl
#set page(columns: 1)
#heading("Ordliste", numbering: none)
#print-glossary((
(
key: "moscow-method",
short: "MoSCoW",
long: "MoSCoW metoden",
desc: [
MoSCoW metoden er en prioriteringsmetode, der bruges til at prio... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/pattern-simple_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: auto, height: auto, margin: 0pt)
#let pat = pattern(size: (10pt, 10pt), {
place(line(stroke: 4pt, start: (0%, 0%), end: (100%, 100%)))
place(line(stroke: 4pt, start: (100%,0%), end: (200%, 100%)))
place(line(stroke: 4p... |
https://github.com/stefanocoretta/lexa-dict | https://raw.githubusercontent.com/stefanocoretta/lexa-dict/main/main.typ | typst | #let dict(contents) = {
// define abbreviations
show "noun": [n.]
show "verb": [v.]
show "adjective": [adj.]
show "adverb": [adv.]
show "particle": [ptc.]
show "numeral": [num.]
// Typeset each entry
for (entry, value) in contents [
// lexeme
#let has_hom = value.at("homophone", default: fals... | |
https://github.com/takotori/PhAI-Spick | https://raw.githubusercontent.com/takotori/PhAI-Spick/main/sections/leistung.typ | typst | = Leistung $P$
#grid(
columns: (auto, auto, auto),
gutter: 5pt,
[*Mittlere Leistung:*], $ macron(P) = W_"AB" /(Delta t) = (Delta E)/(Delta t) $, [],
[*Momentane \ Leistung:*], $ (d W)/(d t) = arrow(F) dot arrow(v) $, [],
[*Wirkungsgrad:*], $ eta = W_2/W_1 = P_2/P_1 $, [$W_1 P_1$: aufgenommene Leistung bzw. Ar... | |
https://github.com/rabotaem-incorporated/probability-theory-notes | https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/04-discrete-random-processes/04-random-walk.typ | typst | #import "../../utils/core.typ": *
== Случайные блуждания
#th[
Случайное блуждание в соседние точки на прямой возвртано тогда и только тогда, когда $p = 1/2$.
]
#proof[
Не будем рассматривать дурацкие ситуации, когда $p = 0$ или $p = 1$. Тогда все состояние сообщающиеся, поэтому достаточно рассмотреть одно конкре... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_240322/meta.typ | typst | MIT License | #let data_incontro = "22-03-2024"
#let inizio_incontro = "08:00"
#let fine_incontro = "10:00"
#let luogo_incontro = "Discord" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.