repo stringlengths 27 90 | file stringlengths 57 176 | language stringclasses 2
values | license stringclasses 13
values | content stringlengths 25 180k |
|---|---|---|---|---|
https://github.com/lebinyu/typst-thesis-template | https://raw.githubusercontent.com/lebinyu/typst-thesis-template/main/template/cover_style.typ | typst | Apache License 2.0 | #let cover(
title:"",
supervisor: (),
group_name: "",
institute: "",
author: "",
ID: "",
address: (),
email: "",
closing_date: ""
) = {
set document(title: title, author: author)
set page(
margin: (x: 3cm),
numbering: none,
number-align: center... |
https://github.com/QuadnucYard/crossregex-typ | https://raw.githubusercontent.com/QuadnucYard/crossregex-typ/main/src/lib.typ | typst | MIT License | #import "hex.typ": crossregex-hex
#import "square.typ": crossregex-square
/// Make a wonderful cross-regex puzzle. This is a dispatcher function.
/// All of the arguments apply to `crossregex-hex` or `crossregex-square`.
///
/// - size (int): The size of the grids, namely the number of cells on the edge.
/// - alphabe... |
https://github.com/phinixplus/docs | https://raw.githubusercontent.com/phinixplus/docs/master/source/utilities.typ | typst | Other | #import "/source/config.typ": font-sans, font-mono
#import "/source/config.typ": interj-fg-color, text-fg-color, code-bg-color, code-fg-color
#import "/source/config.typ": text-weight-normal, text-weight-bold, code-weight
#import "/source/config.typ": text-size-2, text-size-5
#let code(file-path, language, tab-size: 4... |
https://github.com/dyc3/good-typst-template | https://raw.githubusercontent.com/dyc3/good-typst-template/main/main.typ | typst | The Unlicense | #let authors = (
(
name: "<NAME>",
email: "<EMAIL>",
department: [School of Systems and Enterprises],
organization: [Stevens Institute of Technology],
location: [Hoboken, NJ],
),
)
// import and use whatever document format you want here
#import "lib/glossary.typ": glossary, glossaryWords, glossaryShow
#... |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/grid/dense.typ | typst | Apache License 2.0 | #align(
center,
table(
columns: 4,
align: (right, left, right, left),
column-gutter: (1em, 1.5em, 1em),
[$alpha$], [`alpha`], [$xi$, $Xi$], [`xi`, `Xi`],
[$beta$], [`beta`], [$omicron$], [`omicron`],
[$gamma$, $Gamma$], [`gamma`, `Gamma`], [$pi$, $Pi$], [`pi`, `Pi`],
[$delta$, $Delta$], ... |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/05_Qualitätssicherung/02_unit_tests.typ | typst | #import "../Helpers/code-snippets.typ": code
== Unit Tests <headingUnitTests>
TODO: text
#figure(
code(
stepnumber:1,
numberfirstline: true,
numbers: true,
firstnumber: 138,
caption: "DateUtilsTest.java"
)[```java
@Test
void monthsBetweenDates_whenDifferentYear_thenTwoMonths() {
// given
... | |
https://github.com/TheBotlyNoob/ECE1551 | https://raw.githubusercontent.com/TheBotlyNoob/ECE1551/main/notes/template.typ | typst | #show link: underline
#show link: set text(blue)
#outline(indent: 2em, title: [ECE 1551 Chapter REPLACEME_CHAPTER: ])
| |
https://github.com/seanharmer/rails_typst | https://raw.githubusercontent.com/seanharmer/rails_typst/main/README.md | markdown | MIT License | # RailsTypst
TODO: Delete this and the text below, and describe your gem
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rails_typst`. To experiment with that code, run `bin/console` for an interactiv... |
https://github.com/typst/templates | https://raw.githubusercontent.com/typst/templates/main/wonderous-book/README.md | markdown | MIT No Attribution | # wonderous-book
A book template for fiction. The template contains a title page, a table of contents, and a chapter template.
Dynamic running headers contain the title of the chapter and the book.
## Usage
You can use this template in the Typst web app by clicking "Start from template"
on the dashboard and searching... |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Interi/Fermat.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Metodi_defs.typ": *
#theorem("Piccolo Teorema di Fermat")[
Sia $p in NN$ numero primo. Per qualsiasi $a in NN$ vale:
$ a^(p) equiv a mod p $
Inoltre, se $p$ non é divisore di $a$, vale anche:
$ a^(p − 1) equiv 1 mod p $
] <Fermat-little-theorem>
#proof[
/*
Si consideri innanzitutto il caso in cui ... |
https://github.com/Maso03/Bachelor | https://raw.githubusercontent.com/Maso03/Bachelor/main/Bachelorarbeit/chapters/conclusion.typ | typst | MIT License | = Conclusion
#lorem(100) @lorem-ipsum-generator |
https://github.com/Dherse/masterproef | https://raw.githubusercontent.com/Dherse/masterproef/main/masterproef/parts/2_ecosystem.typ | typst | #import "../ugent-template.typ": *
= Programming of photonic processors <sec_programming_photonic_processors>
The primary objective of this chapter is to explore the different aspects of
programming photonic processors. This chapter will start by looking at different
traditional programming ecosystems and how differe... | |
https://github.com/LDemetrios/Svart | https://raw.githubusercontent.com/LDemetrios/Svart/main/The%20road%20to%20Svartalfheim.typ | typst | #import "coloring.typ": show-rule
#show raw.where(lang: "svr"): show-rule
#set page(fill: black)
#set text(fill: white)
#let logo-blue = rgb("#08053f")
// #let logo-blue = rgb("#0e117c")
// #let logo-blue = rgb("#0b0a5e") // avg
#let smallcaps(body) = {
show regex("[a-z]"): letter => text(size: 0.65em, upper(lette... | |
https://github.com/SnowManKeepsOnForgeting/NoteofEquationsofMathematicalPhysics | https://raw.githubusercontent.com/SnowManKeepsOnForgeting/NoteofEquationsofMathematicalPhysics/main/main.typ | typst | #import "@preview/bubble:0.2.1": *
//#import "@preview/codelst:2.0.1": sourcecode
#show: bubble.with(
title: "Note of Mathematical Physics Equations",
subtitle: "Course Note",
author: "Lawrence",
//affiliation: "University",
date: datetime.today().display(),
year: "2024 Year",
class: "Fall Season Class",... | |
https://github.com/pepega007xd/slplugin | https://raw.githubusercontent.com/pepega007xd/slplugin/master/ip2_report/main.typ | typst | #import "template.typ": *
#let ls(from, to) = {$ "ls"(from, to) $}
#let sep = $- #h(-0.12em) ast.circle$
#let nil = $"nil"$
#show: project.with(
title: "Shape Analysis Using Separation Logic",
authors: (
"<NAME>",
),
abstract: [
This work describes the implementation of a static analysis of C programs... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-16D40.typ | typst | Apache License 2.0 | #let data = (
("KIRAT RAI SIGN ANUSVARA", "Lm", 0),
("KIRAT RAI SIGN TONPI", "Lm", 0),
("KIRAT RAI SIGN VISARGA", "Lm", 0),
("KIRAT RAI LETTER A", "Lo", 0),
("KIRAT RAI LETTER KA", "Lo", 0),
("KIRAT RAI LETTER KHA", "Lo", 0),
("KIRAT RAI LETTER GA", "Lo", 0),
("KIRAT RAI LETTER GHA", "Lo", 0),
("KIRAT... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/022%20-%20Commander%20(2015%20Edition)/001_All%20the%20Cairns%20of%20Jund.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"All the Cairns of Jund",
set_name: "Commander (2015 Edition)",
story_date: datetime(day: 04, month: 11, year: 2015),
author: "<NAME>",
doc
)
#emph[Far from Zendikar lies the fivefold world of Alara. Ages ago, Alara was divided into five sep... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/semantic_tokens/fn.typ | typst | Apache License 2.0 | #let f(x, y) = { x += y } |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/alignment_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test no alignment.
$
"right" \
"a very long line" \
"left" \
$
|
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/unit/inter-unit-product/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": unit
#set page(width: auto, height: auto)
#unit("farad squared lumen candela")
#unit("farad squared lumen candela", inter-unit-product: sym.dot.c) |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/README.md | markdown | Apache License 2.0 | # typstyle
[](https://repology.org/project/typstyle/versions)
## Usage
### Use as a CLI
#### Installation
1. Download the binary from the [release page](https://github.com/Enter-tainer/typstyle/releases/)
2. Install it from your package ... |
https://github.com/AHaliq/CategoryTheoryReport | https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter5/notes.typ | typst | #import "../../preamble/lemmas.typ": *
#import "../../preamble/catt.typ": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#definition(name: "Exponentials")[@sa[Definition 6.1]
$
"isExponential"(C^B, epsilon) =&
forall A, (arr(f,A times B, C)). exists! (arr(tilde(f),A,C^B)). epsilon comp (tilde(f... | |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0006.typ | typst | #import "../helpers.typ": *
#import "../solutions/s0006.typ": *
= Zigzag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this:
```
P A H N
A P L S I I G
Y I R
```
And then read line by line: "PAHNAPLSIIGYIR"
Write the code that will take a string and m... | |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/checks/overlapping-virtual-paths/main.typ | typst | MIT License | #lorem(100)
#image("icons/link.svg")
|
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/08-奈奎斯特稳定性.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "Nyquist 稳定性",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= Nyquist 稳定性
== 定义
对如下系统
#figure(
image("images/block/sensor.drawio.png", width: 40%),
caption: "传感器",
supplement: "图",
... | |
https://github.com/Wh4rp/Typst-PUC | https://raw.githubusercontent.com/Wh4rp/Typst-PUC/master/README.md | markdown | # Template para ayudantías PUC
Este repositorio contiene un template para ayudantías de la PUC en [Typst](https://typst.app/).
## ¿Cómo usarlo?
El modulo de template está en la carpeta `modules`. Copia dicha carpeta en tu proyecto y crea tu archivo typst más o menos así:
```yaml
#import "modules/template.typ": *
#s... | |
https://github.com/tedaco1/typst-example | https://raw.githubusercontent.com/tedaco1/typst-example/main/README.md | markdown | MIT License | # typst-example
Typst example for a presentation |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/template.typ | typst | // | 🙑 dismint
// | YW5uaWUgPDM=
// FUNCTIONS //
#let colorbox(
title: "Title",
color: "95b8d1",
type: "DEFAULT",
body
) = {
box(
stack(
block(
width: 100%,
fill: rgb(color),
stroke: (left: (black + 0.2em), right: (rgb(color) + 0.2em)),
inset: (left: 1em, top: 0.... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-04.typ | typst | Other | // This is a fun one.
#set par(justify: true)
#show regex("\S"): letter => box(stroke: 1pt, inset: 2pt, upper(letter))
#lorem(5)
|
https://github.com/glocq/typst-forthright-cv | https://raw.githubusercontent.com/glocq/typst-forthright-cv/master/src/template.typ | typst | MIT License | #import "settings.typ": *
/*****************************************
* Helper functions; to be hidden *
* once hiding becomes possible in Typst *
*****************************************/
// Layout two texts side by side,
// aligned respectively left and right.
// Make sure that the right content is not t... |
https://github.com/EunTilofy/Compiler2024 | https://raw.githubusercontent.com/EunTilofy/Compiler2024/main/lab2/Report_of_Lab2.typ | typst | #import "../template.typ": *
#show: project.with(
course: "编译原理",
title: "Compilers Principals - Lab2",
date: "2024.4.21",
authors: "<NAME>, 3210106357",
has_cover: false
)
= 实验内容
本次实验,我们基于 lab1 的语法分析,
实现了代码的语法树的构建,
并基于语法树,构建出了符号表,实现了更加复杂的语义分析功能,包括类型检查,数组初始化检查。
通过
```
make compiler
./compiler <input file>
```
... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw8.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: "作业8",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false
)
= P36
== 14
设 $a^n = 0, b^m = 0$ ,只需验证:
- $r a$ 幂零,$forall r ... | |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/045.typ | typst |
#let date = datetime(
year: 2023,
month: 10,
day: 11,
)
#metadata((
title: "gltf-transform使用记录",
subtitle: [gltf],
author: "dashuai009",
description: "",
pubDate: date.display(),
))<frontmatter>
#import "../__template/style.typ": conf
#show: conf
```text
-> ~ gltf-transform --help
node:internal/mo... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/octique/0.1.0/sample/sample.typ | typst | Apache License 2.0 | #import "@preview/octique:0.1.0": *
= typst-octique
https://github.com/0x6b/typst-octique
== Installation
```typst
#import "@preview/octique:0.1.0": *
```
== Usage
```typst
// Returns an image for the given name.
octique(name, color: rgb("#000000"), width: 1em, height: 1em)
// Returns a boxed image for the given... |
https://github.com/hei-templates/hevs-typsttemplate-thesis | https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/main.typ | typst | MIT License | //
// Description: Main document to stitch everything together
//
#import "00-templates/template-thesis.typ": *
#import "01-settings/metadata.typ": *
//-------------------------------------
// Template config
//
#show: thesis.with(
title: title,
subtitle: subtitle,
version: version,
author: author,
professor... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/block-math.typ | typst | #import "base-utils.typ": *
#let eq(s, spacing: 0) = {
return box(baseline: -50%, equation(s))
}
#let parser(s) = {
let get-type(x) = {
return if x == " " {
none
} else if test(x, "\d") {
"number"
} else if test(x, "[+-/*]") {
"operator"
} ... | |
https://github.com/ngoetti/knowledge-key | https://raw.githubusercontent.com/ngoetti/knowledge-key/master/template/main.typ | typst | MIT License | #import "@preview/knowledge-key:1.0.0": *
#show: knowledge-key.with(
title: [Title],
authors: "Author1, Author2"
)
#include "sections/01-introduction.typ"
#include "sections/02-devops-with-gitlab.typ"
#include "sections/03-terraform.typ" |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/203.%20fn.html.typ | typst | fn.html
<NAME>
May 2021Most people think of nerds as quiet, diffident people. In ordinary
social situations they are — as quiet and diffident as the star
quarterback would be if he found himself in the middle of a physics
symposium. And for the same reason: they are fish out of water.
But the apparent diffidence of ne... | |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2010/MS-10.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [<NAME>], [CHN], [3264],
[2], [ZHANG Jike], [CHN], [3142],
[3], [WANG Hao], [CHN], [3134],
[4], [<NAME>], [GER], [31... | |
https://github.com/Dr00gy/Typst-thesis-template-for-VSB | https://raw.githubusercontent.com/Dr00gy/Typst-thesis-template-for-VSB/main/thesis_template/template.typ | typst | #import "show_rules.typ": *
#import "pages.typ": *
#import "outlines.typ": *
#import "misc.typ": *
// TODO support for thesis other than bachelor's is not finished
// PhD thesis has some additional requirements
/*
Template author: Dr00g on Discord / Dr00gy on GitHub and Astra3
Sources and references for the template... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pad-02.typ | typst | Other | // Test that the pad element doesn't consume the whole region.
#set page(height: 6cm)
#align(left)[Before]
#pad(10pt, image("test/assets/files/tiger.jpg"))
#align(right)[After]
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/frackable/0.1.0/src/impl.typ | typst | Apache License 2.0 | #let _generate-symbol(
super,
sub
) = {
(:
"superscript": super,
"subscript": sub,
)
}
#let symbols = (:
"0": _generate-symbol("⁰", "₀"),
"1": _generate-symbol("¹", "₁"),
"2": _generate-symbol("²", "₂"),
"3": _generate-symbol("³", "₃"),
"4": _generate-symbol("⁴", "₄"),
"5": _generate-symbol... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/quotes_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test nested double and single quotes.
"'test statement'" \
"'test' statement" \
"statement 'test'"
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11FC0.typ | typst | Apache License 2.0 | #let data = (
("TAMIL FRACTION ONE THREE-HUNDRED-AND-TWENTIETH", "No", 0),
("TAMIL FRACTION ONE ONE-HUNDRED-AND-SIXTIETH", "No", 0),
("TAMIL FRACTION ONE EIGHTIETH", "No", 0),
("TAMIL FRACTION ONE SIXTY-FOURTH", "No", 0),
("TAMIL FRACTION ONE FORTIETH", "No", 0),
("TAMIL FRACTION ONE THIRTY-SECOND", "No", 0... |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/hydraulic_press.typ | typst |
#import "/meta-environments/env-templates.typ": *
= TOOL
(Overview paragraph(s))
== Notes
=== Safety
=== Common Hazards
=== Care
=== Use
=== Consumables
=== Tooling
=== Materials
== Parts of the TOOL
===
== Basic Operation
=== Setting Up
=== Workholding
=== USE
=== Cleaning Up
=== SPECIAL TOPICS | |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/comptheory/pset2.typ | typst | #import "template.typ": *
#show: template.with(
title: "PSET 2",
subtitle: "18.404",
pset: true,
)
= Problem 1
Recall that the CFL Pumping Lemma specifies that for a CFL $bold(L)$, there is a string of length at least $p$ in the language such that:
+ $u v^i x y^i z$ is in $bold(L)$ for all $i >= 0$
+ $v y != e... | |
https://github.com/JulianJ-mtz/EvidenciaInvestigacion | https://raw.githubusercontent.com/JulianJ-mtz/EvidenciaInvestigacion/main/main.typ | typst | // #import "@preview/in-dexter:0.5.3": *
#import "content/content.typ": Introduccion, MarcoTeorico, ObjetivosDelProyecto, ResultadosEsperados, PlanDeTrabajo, TrabajoRealizado, Concluciones, Bibliografia, Anexos
#import "content/portada.typ": Portada
// #import "content/content2.typ": Bibliografia
#set page(
width:... | |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/resources/typst/my-app-graph-not-ok.typ | typst | Other | #import "../../src/thesis/imports/preamble.typ": *
#{
set text(
font: "Inconsolata Nerd Font Mono",
size: 1em,
)
render(
read("../../resources/graphviz/my-app-not-ok.dot"),
width: 100%,
labels: (
"pzf6dnxg8gf04xazzjdwarm7s03cbrgz-python3-3.10.12": [my-app-1.2.3],
"6947mfg2jlid97cn... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-13A0.typ | typst | Apache License 2.0 | #let data = (
("CHEROKEE LETTER A", "Lu", 0),
("CHEROKEE LETTER E", "Lu", 0),
("CHEROKEE LETTER I", "Lu", 0),
("CHEROKEE LETTER O", "Lu", 0),
("CHEROKEE LETTER U", "Lu", 0),
("CHEROKEE LETTER V", "Lu", 0),
("CHEROKEE LETTER GA", "Lu", 0),
("CHEROKEE LETTER KA", "Lu", 0),
("CHEROKEE LETTER GE", "Lu", 0... |
https://github.com/jiamingluuu/notes | https://raw.githubusercontent.com/jiamingluuu/notes/main/cyber-security/notes.typ | typst | #set text(size: 12pt)
#set heading(numbering: "1.")
#set page(numbering: "1")
#outline(indent: auto)
#pagebreak()
= Definitions
- Safety: for reasonable inputs, get reasonable outputs.
- Security: for unreasonable inputs, get reasonable outputs.
*Security Theatre*
- Threat: Possibility of damage,
- Countermeasure: Li... | |
https://github.com/sxdl/MCM-Typst-template | https://raw.githubusercontent.com/sxdl/MCM-Typst-template/main/README.md | markdown | Apache License 2.0 | # mcm-scaffold
This is a Typst template for COMAP's Mathematical Contest in MCM/ICM.
## Usage
You can use this template in the Typst web app by clicking "Start from template"
on the dashboard and searching for `mcm-scaffold`.
Alternatively, you can use the CLI to kick this project off using the command
```
typst init... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/kgv_primes.typ | typst | #import "@preview/cetz:0.2.2": canvas, draw
#let arrow = (d, c) => canvas(length: 24pt, {
import draw: *
if d == "down" {
set-style(mark: (end: ">"))
} else {
set-style(mark: (start: ">"))
}
line((), (0, -2), name: "arrow")
content("arrow.mid", anchor: "west", padding: 4pt, c)
})
#let down = c => ... | |
https://github.com/TomVer99/Typst-checklist-template | https://raw.githubusercontent.com/TomVer99/Typst-checklist-template/main/README.md | markdown | MIT License | # Typst Checklist Template


[
#set text(size: 12pt)
#AuthorName.at(1).
#ProjectTitle.
#ProjectType.
#ProjectSupervisor.join(" ").
#ProjectFaculty, Kauno technologijos universitetas.
Studijų kryptis ir sritis: #ProjectStudyFieldAndArea.
Reikšminiai žodžiai: #ProjectKeywords.
#Pro... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-recursive-00.typ | typst | Other | // Test basic identity.
#show heading: it => it
= Heading
|
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/inline/cjk.typ | typst | // Test CJK-specific features.
--- text-chinese-basic ---
// Test basic Chinese text from Wikipedia.
#set text(font: "Noto Serif CJK SC")
是美国广播公司电视剧《迷失》第3季的第22和23集,也是全剧的第71集和72集
由执行制作人戴蒙·林道夫和卡尔顿·库斯编剧,导演则是另一名执行制作人杰克·本德
节目于2007年5月23日在美国和加拿大首播,共计吸引了1400万美国观众收看
本集加上插播广告一共也持续有两个小时
--- text-cjk-latin-spacing ---
#set page... | |
https://github.com/31core/prescription | https://raw.githubusercontent.com/31core/prescription/main/config.typ | typst | #let block_medicine(name, amount, method) = [
#name #h(1fr) #text(size: 8pt)[#amount]
#text(size: 7pt, top-edge: 1pt)[用法: #method]
]
#let medicines = state("medicines", ())
#let add_medicine(name, amount, method) = {
context medicines.update(medicines => {
medicines.push(block_medicine(name, amount, metho... | |
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/layers/drawing/shapes/polygon.typ | typst | The Unlicense | #import "/src/primitives/lib.typ" as primitives
#let polygon(
position: primitives.position((0,0)),
vertices,
fill: none,
stroke: auto,
..args
) = ({
primitives.pipeline.assembled(tags: ("draw", "polygon"), ..args )
primitives.pipeline.positioned(
positions: arguments(..vertices.map(primitives.positi... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/set.typ | typst | Apache License 2.0 | #set text(fill: red);
#set text(fill: red)
#set text("")
#set text(red)
#set list.item(red);
#set list.item(fill: red);
#set (text(fill: red));
#set ((text(fill: red)));
#set text("") if {}
#set text("") if []
#set text("") if ()
#set text("") if {}{}
#set text("") if [][]
#set text("") if ()()
#set text("") if {} {}
#... |
https://github.com/topdeoo/Course-Slides | https://raw.githubusercontent.com/topdeoo/Course-Slides/master/Seminar/2024-04-09/main.typ | typst | #import "../../theme/iTalk.typ": *
#import "@preview/algo:0.3.3": algo, i, d, comment, code
// TODO fill all "TODO" with your information
#show: nenu-theme.with(
short-title: "Stochastic Search",
short-date: "2024-04-09",
short-author: "Virgil"
)
#let argmax = math.op("arg max", limits: true)
#let argmin = ma... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/slide.typ | typst | #import "utils/utils.typ"
#import "utils/states.typ"
#import "utils/pdfpc.typ"
// touying pause mark
#let pause = metadata((kind: "touying-pause"))
// touying meanwhile mark
#let meanwhile = metadata((kind: "touying-meanwhile"))
// touying slides-end mark
#let slides-end = metadata((kind: "touying-slides-end"))
// tou... | |
https://github.com/daskol/typst-templates | https://raw.githubusercontent.com/daskol/typst-templates/main/tmlr/tmlr.typ | typst | MIT License | #let std-bibliography = bibliography
// We prefer to use CMU Bright variant instead of Computer Modern Bright when
// ever it is possible.
#let font-family = ("CMU Serif", "Latin Modern Roman", "New Computer Modern",
"Serif")
#let font-family-sans = ("CMU Sans Serif", "Latin Modern Sans",
... |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PreventivoSprint/PrimaRevisione.typ | typst | MIT License | #import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost
#import "../../functions.typ": glossary
#let ruoli_ore = (
Re: 40,
Am: 61,
An: 42,
Pt: 0,
Pr: 27,
Ve: 64,
)
#let costo_ruoli_ore=(
Costo_Re: Re_cost * ruoli_ore.at("Re"),
Costo_Am: Am_cost * ruoli_ore.at("Am"),
Costo... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/set.typ | typst | Apache License 2.0 | // General tests for set.
---
// Test that text is affected by instantiation-site bold.
#let x = [World]
Hello *#x*
---
// Test that lists are affected by correct indents.
#let fruit = [
- Apple
- Orange
#list(body-indent: 20pt)[Pear]
]
- Fruit
#[#set list(indent: 10pt)
#fruit]
- No more fruit
---
// Test th... |
https://github.com/herbertskyper/HITsz_Proposal_report_Template | https://raw.githubusercontent.com/herbertskyper/HITsz_Proposal_report_Template/main/utils/counters.typ | typst | MIT License | #let cover_end_before_counter = counter("before_cover_end_counter")
#let cover_end_after_counter = counter("after_cover_end_counter")
|
https://github.com/sofianedjerbi/Resume | https://raw.githubusercontent.com/sofianedjerbi/Resume/main/modules/education.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Education")
#cvEntry(
title: [Master in Mathematics],
society: [Université Grenoble Alpes],
date: [2022 - 2023],
location: [Grenoble, France],
)
#cvEntry(
title: [Bachelor in Computer Science],
society: [Université Grenoble Alpes],
dat... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/keyle/0.1.1/src/keyle.typ | typst | Apache License 2.0 | #import "sym.typ": mac-key, biolinum-key
#let _inset = 4pt
#let _outset = 2pt
#let _radius = 3pt
#let gen-examples(kbd) = [
#kbd("Ctrl", "Alt", "A") #h(2em)
#kbd("Ctrl", "Shift", "A", compact: true) #h(2em)
#kbd("Home") #kbd("End") #kbd("Ins") #kbd("Del")
]
/// Theme function to render keys in a standard style... |
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis | https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/my-outline.typ | typst | #let my-outline-row( textSize:none,
textWeight: "regular",
insetSize: 0pt,
textColor: blue,
number: "0",
title: none,
heading_page: "0",
location: none) = {
set text(size: textSi... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/024.%20say.html.typ | typst | say.html
What You Can't Say
January 2004
Have you ever seen an old photo of yourself and
been embarrassed at the way you looked? Did we actually
dress like that? We did. And we had no idea how
silly we looked.
It's the nature of fashion to be invisible, in the
same way the movement of the earth is invisible to all... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1B100.typ | typst | Apache License 2.0 | #let data = (
("HENTAIGANA LETTER RE-3", "Lo", 0),
("HENTAIGANA LETTER RE-4", "Lo", 0),
("HENTAIGANA LETTER RO-1", "Lo", 0),
("HENTAIGANA LETTER RO-2", "Lo", 0),
("HENTAIGANA LETTER RO-3", "Lo", 0),
("HENTAIGANA LETTER RO-4", "Lo", 0),
("HENTAIGANA LETTER RO-5", "Lo", 0),
("HENTAIGANA LETTER RO-6", "Lo"... |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/knowledge/limits.typ | typst | #import "../cfg.typ": *
#show: cfg
= Limits
$lim_(n -> oo) x_n :=
a: all(epsilon > 0) ex(N in NN) all(n > N): abs(x_n - a) < epsilon$
A sequence is convergent $:=$ it has a limit.
A sequence is fundamental $:=
all(epsilon > 0) ex(N) all(n\, m > N): abs(x_n - x_m) < epsilon$.
*The Cauchy criterion:* A sequence is fu... | |
https://github.com/Dherse/ugent-templates | https://raw.githubusercontent.com/Dherse/ugent-templates/main/masterproef/parts/appendix.typ | typst | MIT License | #import "../ugent-template.typ": *
#show: ugent-appendix
= First appendix
#ufigure(
caption: [ An overview of the hierarchy of the programmable PIC. Source: <NAME>, et al.],
outline: [ Hierarchy of programmable PICs. ],
image("../assets/programmable-pic-hierarchy.png")
) |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/template.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
|
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap1/4_voltage_and_current.typ | typst | Other | #import "../../core/core.typ"
=== Voltage and current
As was previously mentioned, we need more than just a continuous path (circuit) before a continuous flow of electrons will occur: we also need some means to push these electrons around the circuit. Just like marbles in a tube or water in a pipe, it takes some kin... |
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/main.typ | typst | #import "@preview/sunny-famnit:0.2.0": project
#import "/src/additional.typ" as ab
#let meta = toml("metadata.toml")
#let res = meta.insert("ključne_besede", meta.kljucne_besede)
#let res = meta.remove("kljucne_besede")
// - - - - - Add to template - - - - -
#set outline(fill: repeat[.#h(8pt)], indent: 2em)
#show h... | |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/嵌入式系统/实验/报告/template.typ | typst | The Unlicense | #let 字号 = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
小六: 6.5pt,
七号: 5.5pt,
小七: 5pt,
)
#let 字体 = (
仿宋: ("Times New Roman", "FangSong"),
宋体: ("Times New Roman", "SimSun"),
黑体: ("Ti... |
https://github.com/EGmux/PCOM-2023.2 | https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q9.typ | typst | === A relação sinal-ruído de quantização SNR em um sistema PCM pode ser definida como a razão da potência média do sinal pela petência média do ruído de quantização. Para um sinal de modulação senidal de escala cheia de amplitude A, mostre que
#math.equation(block: true, $ "SNR" = (S/N_q) = 3/2L^2 $)
*ou*
#math.equatio... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/themes/your-own.md | markdown | # Build your own theme
Again, there is no right or wrong when it comes to how a polylux theme works.
If you consider building a theme that you would like to contribute to the
package ([which you are cordially invited to do!](https://github.com/andreasKroepelin/polylux/pulls)),
we kindly ask you to follow the conventio... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046_Streets%20of%20New%20Capenna.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Streets of New Capenna", doc)
#include "./046 - Streets of New Capenna/001_Episode 1: Homecoming.typ"
#include "./046 - Streets of New Capenna/002_The Contract Breaker.typ"
#include "./046 - Streets of New Capenna/003_Episode 2: Dirty Laundry.typ"
#include "./046... | |
https://github.com/antonWetzel/prettypst | https://raw.githubusercontent.com/antonWetzel/prettypst/master/readme.md | markdown | MIT License | # Prettypst
## Formatter for Typst!
| Before | Default Style | OTBS Style |
| :-------------------------------------: | :----------------------------------: | :----------------------------: |
|  | ![Def... |
https://github.com/Champitoad/typst-slides | https://raw.githubusercontent.com/Champitoad/typst-slides/main/svg-emoji/lib.typ | typst | Creative Commons Zero v1.0 Universal | #let noto = (
dict: json("noto.json"),
regex: read("noto.regex"),
)
#let github = json("./github.json")
#let emoji-image(svg, alt: "", height: 1em) = {
style(styles => {
let h = measure([X], styles).height
box(
align(horizon, image(svg, format: "svg", height: height,... |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/Lab02/contents/01-bia.typ | typst | #let m = yaml("/metadata.yml")
#set align(center)
#[
#show: upper
#set par(leading: 1.2em)
Đại học Quốc gia Thành phố <NAME> \
Trường Đại học Bách Khoa \
*Khoa Khoa học và Kỹ thuật Máy tính*
]
#v(2fr)
#align(center, image("/components/logo.png", height: 5cm))
#v(2fr)
#[
#set text(size: 15pt)
#set... | |
https://github.com/zenor0/simple-neat-typst-cv | https://raw.githubusercontent.com/zenor0/simple-neat-typst-cv/master/cv/utils/blocks.typ | typst | MIT License |
#let main_head(title, prefix: [\/\/], postfix: []) = {
let prefix = text(size: 12pt)[#prefix]
let postfix = text(font: "Cascadia Code")[#postfix]
text(weight: "black", size: 16pt)[#prefix #title #postfix]
v(-8pt)
line(length: 100%, stroke: (thickness: 0.5pt, paint: rgb("#0000006F")))
}
#let time_... |
https://github.com/antonWetzel/Masterarbeit | https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/stand_der_technik.typ | typst | #import "setup.typ": *
= Stand der Technik <stand_der_technik>
== Punktdaten
Die Erfassung von Punktwolken kann durch verschiedene Lidar-Scanverfahren erfolgen. Aufnahmen vom Boden oder aus der Luft bieten dabei verschiedene Vor- und Nachteile @scantech. Bei einem Scan vom Boden aus wird eine kleinere Fläche mit h... | |
https://github.com/cmoog/tex2typst | https://raw.githubusercontent.com/cmoog/tex2typst/master/example.typ | typst | MIT License | frac(123, 34) sin (123) space pi space f (omega) = (frac(alpha, beta))
|
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/glossar.typ | typst | / Glossar: Eine Ansammlung an Begriffen, die in erklärt werden müssen. | |
https://github.com/ludwig-austermann/typst-din-5008-letter | https://raw.githubusercontent.com/ludwig-austermann/typst-din-5008-letter/main/documentation.md | markdown | MIT License | # Reference
## Letter options
| Option | Type | Deutsch | English |
|---|---|---|---|
| `title` | `content` | Betreff | Subject of letter |
| `address-zone` | `content` | Empfängeradresse /-zone | recipient address /-zone |
| `return-information` | `content` | Rücksendehinweis | return information |
| `information-fiel... |
https://github.com/schweller/cv | https://raw.githubusercontent.com/schweller/cv/main/resume.typ | typst | #import "@preview/modern-cv:0.2.0": *
#show: resume.with(
author: (
firstname: "Inacio",
lastname: "Schweller",
email: "<EMAIL>",
phone: "x",
github: "schweller",
linkedin: "ischweller",
address: "x",
positions: (
"Director of Engineering",
"VP of Eng... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/043_Innistrad%3A%20Midnight%20Hunt.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Innistrad: Midnight Hunt", doc)
#include "./043 - Innistrad: Midnight Hunt/001_Episode 1: The Witch of the Woods.typ"
#include "./043 - Innistrad: Midnight Hunt/002_Tangles.typ"
#include "./043 - Innistrad: Midnight Hunt/003_Episode 2: The Motives of the Wolf.typ... | |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/meta-content-layouts/extended.typ | typst | #import "@local/typkit:0.1.0": *
#let extended-meta-content(meta) = {
let description = meta.at("description", default: none)
if empty(description) {
return do-simple-meta-content(meta)
}
let subtitle = meta.at("subtitle", default: none)
let subject = meta.at("subject", default: none)
l... | |
https://github.com/Vikingu-del/Resume | https://raw.githubusercontent.com/Vikingu-del/Resume/main/DeutchResume/main.typ | typst | MIT License | #import "template.typ": *
#set page(
margin: (
left: 5mm,
right: 5mm,
top: 5mm,
bottom: 5mm
),
)
#set text(font: "Mulish")
#show: project.with(
theme: rgb("#0F83C0"),
name: "<NAME>",
title: "Softwareentwickler", // Translated Title
contact: (
contact(
text: "+49 176 361 713 2... |
https://github.com/tiankaima/typst-notes | https://raw.githubusercontent.com/tiankaima/typst-notes/master/eda4a9-math_analysis_mid_2023/main.typ | typst | #set text(
font: "Source Han Serif SC",
size: 10pt,
)
= 2023-2024 数学分析(B1)期中
1. 用极限的定义证明: 若$limits(lim)_(n->infinity) a_n = limits(lim)_(n->infinity) b_n = c$, 则$limits(lim)_(n->infinity) max {a_n,b_n} = c$.
2. 计算下列各题
1. $limits(lim)_(n->infinity) ((n+1) / (n-1))^n$
2. $limits(lim)_(n->infinity) ((n+1)^k-n^... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-4_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that all three kinds of rows use the correct bases.
#set page(height: 4cm, margin: 0cm)
#grid(
rows: (1cm, 1fr, 1fr, auto),
rect(height: 50%, width: 100%, fill: conifer),
rect(height: 50%, width: 100%, fill: forest),
rect(height: 50... |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/main.typ | typst | #import "template.typ": *
#show: template.with(
title: [OS - JYY Lecture Notes],
short_title: "Lecture Notes",
description: [
JYY OS-2024 课程笔记
],
date: datetime(year: 2023, month: 09, day: 22),
authors: (
(
name: "0x1B05",
github: "https://github.com/0x1B05",
homepage: "https://gi... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/smartquotes-in-outline.typ | typst | Apache License 2.0 | #set page(width: 15em)
#outline()
= "This" "is" "a" "test"
|
https://github.com/lyzynec/orr-go-brr | https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/08/main.typ | typst | #import "../lib.typ": *
#knowledge[
#question(name: [Give the problem statement for the indirect approach to
continuous--time optimal control. Explain the essence of one or two
algorithms that are based on the indirect approach (for example, iteration
over the control, shooting, multiple shooting, coll... | |
https://github.com/StandingPadAnimations/papers | https://raw.githubusercontent.com/StandingPadAnimations/papers/main/README.md | markdown | This is a collection of all of my papers that I've written with https://github.com/typst/typst. Each folder has the source files for a single paper as well as their built PDFs.
To build a paper, open a terminal and go into the source folder of the paper in question, then type:
```sh
typst compile <name_of_paper>.typ
`... | |
https://github.com/lkndl/typst-bioinfo-thesis | https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/modules/front-matter.typ | typst | #import "styles.typ": *
#import "footers.typ": *
#import "@preview/outrageous:0.1.0"
#let submission-info-table(args) = {
set align(center + bottom)
set par(leading: .5em)
set text(size: 14pt)
let opts = (
columns: 2,
//inset: 0pt,
align: left + top,
column-gutter: 5pt,
row-gutter: 5pt,
... | |
https://github.com/RiccardoTonioloDev/TypUrNotes | https://raw.githubusercontent.com/RiccardoTonioloDev/TypUrNotes/main/README.md | markdown | MIT License | # TypUrNotes
A Typst template for both effective and aesthetic note taking.
# Installation
To use the template you just have to install the fonts you can find inside of `tun_template/fonts/`.
After you installed the fonts, just download the `tun_template` folder, move it into your project folder, and follow the _Usage... |
https://github.com/crystalsolenoid/typst-resume-template | https://raw.githubusercontent.com/crystalsolenoid/typst-resume-template/main/src/resume.typ | typst | #let accent = gray
#let quad(a, b, c, d) = {
grid(
columns: (1fr, auto),
[
=== #a\
#b
],
align(right)[
#c\
#d
]
)
}
#let bullets(details) = {
if details != none {
for detail in details [
- #detail
]
}
}
#let header-link(title: none, url: none, text-ur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.