repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/linebreak_07.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Verify empty rows are handled ok.
$ $\
Nothing: $ $, just empty.
|
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/page1.typ | typst | MIT License | #import "mod.typ": *
#show: book-page.with(title: "Página 1")
= Página 1
== Prueba de pagina 1
#lorem(100)
== Prueba de página 2
#lorem(100)
#let t = cross-link("/page2.typ")[Página 2]
En lace a #t muy bonito.
*Ejemplo*:
```typ
= Página 1
== Prueba de pagina 1
#lorem(100)
== Prueba de página 2
#lorem(100)... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-13.typ | typst | Other | // Parameter unpacking.
#let f((a, b), ..c) = (a, b, c)
#test(f((1, 2), 3, 4), (1, 2, (3, 4)))
#let f((k: a, b), c: 3, (d,)) = (a, b, c, d)
#test(f((k: 1, b: 2), (4,)), (1, 2, 3, 4))
// Error: 22-23 duplicate parameter: a
#let f((a: b), (c,), a) = none
// Error: 8-14 expected identifier, found array
#let f((a, b): 0... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/diy/hello-world.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 25pt)
#polylux-slide[
Hello, world!
]
| |
https://github.com/T1mVo/shadowed | https://raw.githubusercontent.com/T1mVo/shadowed/main/README.md | markdown | MIT License | # shadowed
Box shadows for [Typst](https://typst.app/).
## Usage
```typ
#import "@preview/shadowed:0.1.2": shadowed
#set par(justify: true)
#shadowed(radius: 4pt, inset: 12pt)[
#lorem(50)
]
```

## Reference
The `shadowed` function takes the following arguments:
- **blur: Leng... |
https://github.com/han0126/MCM-test | https://raw.githubusercontent.com/han0126/MCM-test/main/2024亚太杯typst/chapter/appendix.typ | typst | #import "../template/template.typ": *
#let code1 = ```python
import matplotlib
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
matplotlib.rcParams['font.family']='Microsoft YaHei'
file_path = r"C:\Users\典总\Desktop\train.xlsx"
data = pd.read_excel(file_path)
plt.figure(figsize=(10, 8... | |
https://github.com/spidersouris/touying-unistra-pristine | https://raw.githubusercontent.com/spidersouris/touying-unistra-pristine/main/README.md | markdown | MIT License | # touying-unistra-pristine
> [!WARNING]
> This theme is **NOT** affiliated with the University of Strasbourg. The logo and the fonts are the property of the University of Strasbourg.
**touying-unistra-pristine** is a [Touying](https://github.com/touying-typ/touying) theme for creating presentation slides in [Typst](h... |
https://github.com/WinstonMDP/knowledge | https://raw.githubusercontent.com/WinstonMDP/knowledge/master/vector_space.typ | typst | #import "cfg.typ": cfg
#show: cfg
= Векторное пространство
$(V, +, *)$ - векторное пространство над полем F:
- $(V, +)$ - абелева группа
- умножение на скаляр замкнуто
- $lambda(a + b) = lambda a + lambda b$
- $(lambda + mu)a = lambda a + mu a$
- $(lambda mu)a = lambda (mu a)$
- $1a = a$
где $a, b in V, lambda, mu in ... | |
https://github.com/angelcerveraroldan/notes | https://raw.githubusercontent.com/angelcerveraroldan/notes/main/abstact_algebra/notes/groups/free_groups.typ | typst | #import "../../../preamble.typ" : *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
== Free Groups
#def(title: "Free Group", columns(2, gutter: 11pt)[
Given some set $X$, the group $F_X subset.eq X$ is called the free group of $X$ if for any $f : X -> G$ (where $G$ is any group), there exist a... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A490.typ | typst | Apache License 2.0 | #let data = (
("YI RADICAL QOT", "So", 0),
("YI RADICAL LI", "So", 0),
("YI RADICAL KIT", "So", 0),
("YI RADICAL NYIP", "So", 0),
("YI RADICAL CYP", "So", 0),
("YI RADICAL SSI", "So", 0),
("YI RADICAL GGOP", "So", 0),
("YI RADICAL GEP", "So", 0),
("YI RADICAL MI", "So", 0),
("YI RADICAL HXIT", "So",... |
https://github.com/prettyroseslover/CV_July_24 | https://raw.githubusercontent.com/prettyroseslover/CV_July_24/main/resume.typ | typst | #import "data.typ": data
#import "style.typ"
#import "@preview/fontawesome:0.2.0" as fa
#let data = data(sys.inputs.at("lang", default: "ru"))
#set text(size: 13pt, font: ("Roboto Mono"))
#show raw: set text(font: "Roboto Mono")
#show link: it => underline(offset: 2pt, stroke: 1.5pt, extent: 1pt, it)
#let upper = {
... | |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/anj.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "helper.typ": *
Ústní maturita z angličtiny je docela bolest, protože je zhruba 50% šance, že dostanete otázku na zeměpis/osobnost, která se anglicky jenom tváří. Ostatní otázky jsou spíše o vlastních názorech, proto pro tebe moje výpisky pravděpodobně nebudou moc relevantní. Následují poznámky ke všem tématům... |
https://github.com/Aphoh/flash-attention-703 | https://raw.githubusercontent.com/Aphoh/flash-attention-703/main/main.typ | typst | #import "@preview/touying:0.5.2": *
#import "@preview/cetz:0.2.2"
#import "@preview/fletcher:0.5.1" as fletcher: node, edge, diagram
#import themes.university: *
#show: university-theme.with(
aspect-ratio: "16-9",
config-common(handout: false),
config-info(
title: [Flash Attention 1],
author: [<NAME>],
... | |
https://github.com/MattiaOldani/Informatica-Teorica | https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/complessità/15_utilizzare_le_dtm.typ | typst | #import "@preview/lemmify:0.1.5": *
#let (
theorem, lemma, corollary,
remark, proposition, example,
proof, rules: thm-rules
) = default-theorems("thm-group", lang: "it")
#show: thm-rules
#show thm-selector("thm-group", subgroup: "theorem"): it => block(
it,
stroke: red + 1pt,
inset: 1em,
breakable: tru... | |
https://github.com/Wh4rp/OCI-Solutions | https://raw.githubusercontent.com/Wh4rp/OCI-Solutions/main/README.md | markdown | # OCI Solutions Book
Este proyecto es un libro escrito en Typst que contiene las soluciones de la OCI (Olimpiada Chilena de Informática) desde el año 2015 hasta el 2023. El objetivo de este libro es proporcionar una referencia completa de las soluciones de los problemas planteados en la OCI.
## Contribuciones
Este l... | |
https://github.com/dark-flames/resume | https://raw.githubusercontent.com/dark-flames/resume/main/libs.typ | typst | MIT License | #import "libs/trans.typ": *
#import "libs/version.typ": * |
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/styles.typ | typst | MIT License | #import "styles/default.typ"
#import "styles/minimal.typ"
#import "styles/help.typ"
|
https://github.com/EpicEricEE/typst-plugins | https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/outex/src/lib.typ | typst | #import "outex.typ": outex, repeat
| |
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/README.md | markdown | MIT License | # typst-teacher-tools (ttt)
Collection of tools, which makes the teacher life easier. This repo contains multiple packages and templates.
> Old version of this repo is still available under the branch [deprecated](https://github.com/jomaway/typst-teacher-templates/tree/deprecated)
⚠️ **Still a work in progress**
##... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/main.typ | typst | = Einfache Algorithmen
== ggT
Man sagt "$x$ teilt $a$", wenn $a$ ohne Rest durch $x$ teilbar ist.
$
x divides a
$
Der größte gemeinsame Teiler von $a$ und $b$ $gcd(a, b)$ ist der größte Wert, für den gilt:
$
x divides a and x divides b
$
=== Primfaktorzerlegung
Um den ggT von $a$ und $b$ zu ermitteln, können wir ... | |
https://github.com/ice1000/website | https://raw.githubusercontent.com/ice1000/website/main/lnl-modal/report.typ | typst | #import "tizart.typ": *
#import "prooftree.typ": prooftree, axiom, rule
#show: thmrules.with(qed-symbol: $square$)
#import "/book.typ": book-page
#show: book-page.with(
title: "Linear/Non-Linear Contextual Modal Logic",
show-title: true,
authors: ((
name: "<NAME>",
email: "<EMAIL>"
), (
name: "<NAM... | |
https://github.com/moamenhredeen/cv | https://raw.githubusercontent.com/moamenhredeen/cv/main/cv.typ | typst |
#show heading: set text(font: "Linux Biolinum")
#show link: underline
#set text( size: 10pt, font: "New Computer Modern")
#set page(
paper: "a4",
margin: (
top: 10mm,
bottom: 15mm,
left: 15mm,
right: 15mm,
),
)
#set par(justify: true)
#let skill(percentage) = {
rect(
inset: 0pt,
width: ... | |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/README.md | markdown | MIT License | # marge
A package for easy-to-use but powerful and smart margin notes.
## Usage
The main function provided by this package is `sidenote`, which allows you to create margin notes. The function takes a single positional argument (the text of the note) and several optional keyword arguments for customization:
... |
https://github.com/antonWetzel/typst-languagetool | https://raw.githubusercontent.com/antonWetzel/typst-languagetool/main/readme.md | markdown | MIT License | # typst-languagetool
Spellcheck typst files with LanguageTool.
## Overview
1. compile the document
1. extract text content
1. check text with languagetool
1. map results back to the source
## Use special styling for spellchecking
```typst
// use styling for spellcheck only in the spellchecker
// keep the correct ... |
https://github.com/liamaxelrod/Resume | https://raw.githubusercontent.com/liamaxelrod/Resume/main/README.md | markdown |
# <NAME> Resume/CV
## Requirements
- [Typst](https://typst.app)
## VSCODE Extensions
- nvarner.typst-lsp
- mgt19937.typst-preview
| |
https://github.com/matteopolak/resume | https://raw.githubusercontent.com/matteopolak/resume/main/cover.typ | typst | MIT License | #import "utils.typ": *
#let config = toml("config.toml")
#set page(paper: "us-letter", margin: 0.4in)
#set document(
title: config.at("title", default: config.name + "'s Cover Letter"),
author: config.at("author", default: config.name),
keywords: "cover letter, software engineer, developer, programmer",
)
#set te... |
https://github.com/sicheng1806/typst-book-for-sicheng | https://raw.githubusercontent.com/sicheng1806/typst-book-for-sicheng/main/scr/basic_pkg/board.typ | typst | #let background-board(width:auto,out-fill:luma(90%),in-fill:white,radius: 0pt,out-inset: 0pt,_align: center,in-inset:10pt,body) = {
set align(_align)
block(
radius: radius,width: width,fill:out-fill,inset: out-inset,
block(width: 100%,fill:in-fill,inset:in-inset,body)
)
}
#let result-board(width:auto,bo... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056%20-%20Outlaws%20of%20Thunder%20Junction/006_A%20Long%20Way%20from%20Home.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"A Long Way from Home",
set_name: "Outlaws of Thunder Junction",
story_date: datetime(day: 19, month: 03, year: 2024),
author: "<NAME>",
doc
)
Nashi stood beneath a canopy of oversized cacti. Sunlight slipped through the mess of short prickl... | |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/label-wrapper/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
#diagram(
crossing-fill: blue.lighten(80%),
edge($ f $, label-wrapper: it => rect(
it.label, fill: it.label-fill, inset: 0pt, stroke: .1pt + blue,
))
)
#diagram(
label-wrapper: it => circle(
align(cen... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week1.typ | typst | #import "../../utils.typ": *
#section("Single Page Application (SPA)")
Definition: *SPA is a website that fits on a single web page with the goal of
providing a
user experience similar to that of a desktop application.*\
In an SPA, either _all necessary code_ is retrieved with a _single page load_ or
the appropriate r... | |
https://github.com/EricWay1024/Homological-Algebra-Notes | https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/5-cc.typ | typst | #import "../libs/template.typ": *
= Chain Complexes
<chain-complex>
== Definitions
Let $cA$ be an abelian category.
#definition[
A *chain complex* $Ccx$ in $cA$ is a family ${C_n}_(n in ZZ)$ of objects in $cA$ with morphisms $d_n : C_n -> C_(n-1)$ such that $d_n oo d_(n-1) = 0$, where $d_n$ are called *different... | |
https://github.com/sjedev/typst-notetaking-template | https://raw.githubusercontent.com/sjedev/typst-notetaking-template/main/example.typ | typst | The Unlicense | #import "template.typ": *
#show: doc => conf(
[Philosophy], // Subject
[*iv ii i*], // Locator
doc,
)
#align(left, text(18pt)[
====== Metaphysics of mind
])
#align(left, text(18pt)[
*Substance dualism*
])
#lorem(60)
#lorem(70)
= This is a title
#lorem(65)
$A+B->C$
== This is a second-level title
#lor... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-FB50.typ | typst | Apache License 2.0 | #let data = (
("ARABIC LETTER ALEF WASLA ISOLATED FORM", "Lo", 0),
("ARABIC LETTER ALEF WASLA FINAL FORM", "Lo", 0),
("ARABIC LETTER BEEH ISOLATED FORM", "Lo", 0),
("ARABIC LETTER BEEH FINAL FORM", "Lo", 0),
("ARABIC LETTER BEEH INITIAL FORM", "Lo", 0),
("ARABIC LETTER BEEH MEDIAL FORM", "Lo", 0),
("ARABI... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/construct-03.typ | typst | Other | // The inner rectangle should not be yellow here.
A #box(rect(fill: yellow, inset: 5pt, rect())) B
|
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/external/external.md | markdown | # External tools
Most users will only come across Typst itself and some off-the-shelf PDF viewer.
However, there are some additional tools that might come in handy and Polylux
supports some of their special needs.
So far, this support is limited to the pdfpc presentation tool.
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/modern-uit-thesis/0.1.1/README.md | markdown | Apache License 2.0 | # Modern UiT Thesis Template
Port of the [uit-thesis](https://github.com/egraff/uit-thesis)-latex template to Typst.
`thesis.typ` contains a full usage example, see `thesis.pdf` for a rendered pdf.
## Usage
Using the Typst Universe package/template:
```console
typst init @preview/modern-uit-thesis:0.1.1
```
### F... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-10.typ | typst | Other | // Test failing assertions.
// Error: 11-19 inequality assertion failed: value 11 was equal to 11
#assert.ne(11, 11)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/silky-slides-insa/0.1.0/README.md | markdown | Apache License 2.0 | # INSA - Slides Typst Template
<p align="center">
<img alt="thumbnail" src="thumbnail-full.png" style="width: 80%"/>
</p>
Typst Template for presentation for the french engineering school INSA.
## Table of contents
1. [Example](#examples)
1. [Usage](#usage)
1. [Fonts information](#fonts)
1. [Notes](#notes)
1. [Li... |
https://github.com/sitandr/conchord | https://raw.githubusercontent.com/sitandr/conchord/main/examples/simple.typ | typst | MIT License | #set page(height: auto, width: auto, margin: 1em)
#import "../lib.typ": new-chordgen
#let chord = new-chordgen()
#box(chord("x32010", name: "C"))
#box(chord("x33222", name: "F#m/C#"))
#box(chord("x,9,7,8,9,9"))
|
https://github.com/nikhilweee/nikipedia-typst | https://raw.githubusercontent.com/nikhilweee/nikipedia-typst/main/papers/2305-18290.typ | typst | == Direct Preference Optimization
http://arxiv.org/abs/2305.18290
=== Abstract
Existing methods for LLM steerability involve the following steps:
1. Make humans score model generations and obtain relative scores.
2. Fine tune the unsupervised LM to align with these preferences.
The second step is often performed usi... | |
https://github.com/tingerrr/subpar | https://raw.githubusercontent.com/tingerrr/subpar/main/test/chapter-relative/test.typ | typst | MIT License | // Synopsis:
// - adding contextual numbering like chapter-relative numbering preserves the correct subfigure
// numbering and supplements
#import "/test/util.typ": *
#import "/src/lib.typ" as subpar
#let sub-figure-numbering = (super, sub) => numbering("1.1a", counter(heading).get().first(), super, sub)
#let figur... |
https://github.com/linhduongtuan/DTU-typst-presentation | https://raw.githubusercontent.com/linhduongtuan/DTU-typst-presentation/main/th_bipartite.typ | typst | // This theme is inspired by https://slidesgo.com/theme/modern-annual-report
#import "slides.typ": *
#let slide_footnote_counter = page
#let bipartite-theme() = data => {
let my-dark = rgb("#192e41")
let my-bright = rgb("#fafafa")
let my-accent = rgb("#fc9278")
let title-slide = {
block(
width: 100... | |
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-exam/example/abi.typ | typst | MIT License | #import "@preview/ttt-exam:0.1.0": *
#import "@preview/wrap-it:0.1.0": *
#set text(size: 13pt, font: ("Rubik"), weight: 300, lang: "de")
#let logo = image("logo.jpg")
#show: exam.with(title: "ABI", subtitle: "2023", subject: "Mathe", logo: logo, authors: "ISB", date: datetime(year:2023, month:05, day:03) );
= Teil ... |
https://github.com/piepert/typst-seminar | https://raw.githubusercontent.com/piepert/typst-seminar/main/Beispiele/Essay/main.typ | typst | #import "template.typ": *
#import "fullcite.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: "Wie plausibel ist Descartes' Methodik des radikalen Zweifelns?",
authors: (
(
affiliation: "Universtität Ro... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/002_Rage%20of%20the%20Unsung.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Rage of the Unsung",
set_name: "Ravnica Allegiance",
story_date: datetime(day: 30, month: 01, year: 2019),
author: "<NAME>",
doc
)
I crouch in the brown grass, eyes locked on my prey. Not twenty feet away, a maaka sniffs the air, feline tai... | |
https://github.com/hyrious/typst-syntax-highlight | https://raw.githubusercontent.com/hyrious/typst-syntax-highlight/main/README.md | markdown | MIT License | # Typst syntax highlight
[](./LICENSE.txt)
[](https://www.sublimetext.com/blog/articles/sublime-text-4)
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://user... |
https://github.com/cloudsftp/zivi.typ | https://raw.githubusercontent.com/cloudsftp/zivi.typ/latest/README.md | markdown | Apache License 2.0 | # Zivi
This is a [typst](https://github.com/typst/typst) template based on [ModernCV for Typst](https://github.com/giovanniberti/moderncv.typst) which was in turn inspired by [moderncv](https://github.com/moderncv/moderncv), a LaTeX template.
## How to use
Currently, there is no documentation.
The example file serve... |
https://github.com/dyc3/ssw-555-agile-methods | https://raw.githubusercontent.com/dyc3/ssw-555-agile-methods/main/README.md | markdown | # ssw-555-agile-methods
## How to build
1. Clone the repo
2. Download typst: https://github.com/typst/typst#installation
3. Build the paper with
```
typst compile main.typ
```
Recommended vscode extension: `nvarner.typst-lsp`
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.angular/README.md | markdown | Apache License 2.0 | # Typst.angular
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.6.
See [Angular Library Docs](https://myriad-dreamin.github.io/typst.ts/cookery/guide/renderer/angular.html).
|
https://github.com/dccsillag/minienvs.typ | https://raw.githubusercontent.com/dccsillag/minienvs.typ/main/minienvs.typ | typst | MIT License | #let _counter_prefix = "minienvs:"
#let _current = state("minienvs:current", none)
#let _config = state("minienvs:config", (
no-numbering: (
proof: true,
),
bbox: (:),
head-style: (
proof: it => [_#{it}_],
),
transforms: (
proof: it => [#it #h(1fr) $space qed$],
)
))
#let _recognize(term_cont... |
https://github.com/3w36zj6/textlint-plugin-typst | https://raw.githubusercontent.com/3w36zj6/textlint-plugin-typst/main/README.md | markdown | MIT License | # textlint-plugin-typst
[](https://www.npmjs.com/package/textlint-plugin-typst?activeTab=versions)
[](https://www.npmjs.com/package/textlint-plugin-typst)
[,
author: "<NAME>",
doc
)
It had been hours since Oko's crew evaded the Sterling Company, but Kellan couldn't stop f... | |
https://github.com/liuguangxi/suiji | https://raw.githubusercontent.com/liuguangxi/suiji/main/examples/random-permutation.typ | typst | MIT License | #set document(date: none)
#import "/src/lib.typ": *
#set page(width: auto, height: auto, margin: 0.5cm)
#{
let rng = gen-rng-f(42)
let a = ()
for i in range(5) {
(rng, a) = shuffle-f(rng, range(10))
[#raw(a.map(it => str(it)).join(" ") + "\n")]
}
}
|
https://github.com/peterw16/da_typst_vorlage | https://raw.githubusercontent.com/peterw16/da_typst_vorlage/main/README.md | markdown | # Voraussetzungen:
Installation der vs-code Erweiterung Typst LSP, damit ein pdf generiert wird. | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/path-02.typ | typst | Other | // Error: 7-47 path vertex must have 1, 2, or 3 points
#path(((0%, 0%), (0%, 0%), (0%, 0%), (0%, 0%)))
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/space_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that space at start of non-backslash-linebreak line isn't trimmed.
A#"\n" B
|
https://github.com/hrbrmstr/2023-10-20-wpe-quarto-typst | https://raw.githubusercontent.com/hrbrmstr/2023-10-20-wpe-quarto-typst/main/blank-test/blank-deno.typ | typst | // needed for callout support
#import "@preview/fontawesome:0.1.0": *
// Some definitions presupposed by pandoc's typst output.
#let blockquote(body) = [
#set text( size: 0.92em )
#block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
]
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#l... | |
https://github.com/Dicarbene/note-typst | https://raw.githubusercontent.com/Dicarbene/note-typst/master/README.md | markdown | MIT License | # note-typst
notes taking with typst (also for template storages)
|
https://github.com/Scriptor25/Seminararbeit | https://raw.githubusercontent.com/Scriptor25/Seminararbeit/master/template.typ | typst | #let project(
title: "",
author: "",
school: "",
location: "",
subject: "",
teacher: "",
years: "",
deadline: "",
body,
) = {
set page(
paper: "a4",
margin: (left: 2.5cm, right: 2.5cm, top: 3.5cm, bottom: 3.5cm),
) // paper format
set text(font: "Arial", lang: "de") // font
// Set par... | |
https://github.com/mariuslb/thesis | https://raw.githubusercontent.com/mariuslb/thesis/main/content/05-ergebnisse.typ | typst | #import "../template.typ": Template, code
#let translations = json("../translations.json").at("de")
= Zusammenfassung der Ergebnisse
In diesem Kapitel werden die Ergebnisse der Analyse dargestellt, wie sie in Kapitel 4 dargestellt erhoben wurden.
== Key Performance Indicators (KPIs)
=== EPI
#figure(
image("../im... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-00.typ | typst | Other | // Don't parse closure directly in content.
// Ref: true
#let x = "x"
// Should output `x => y`.
#x => y
|
https://github.com/BackThePortal/typst-plugin-jetbrains | https://raw.githubusercontent.com/BackThePortal/typst-plugin-jetbrains/main/README.md | markdown | # typst-plugin-jetbrains

[](https://plugins.jetbrains.com/plugin/PLUGIN_ID)
[](https://plug... | |
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode | https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/02-background/isabelle.typ | typst | #import "/utils/todo.typ": TODO
#import "/utils/isabelle.typ": *
== Isabelle
From proving the prime number theorem @prime-number-theorem over a verified microkernel @verified-microkernel to a formalization of a sequential Java-like programming language @jinja, Isabelle has been used for numerous formalizations and pr... | |
https://github.com/alperari/cyber-physical-systems | https://raw.githubusercontent.com/alperari/cyber-physical-systems/main/week14/solution.typ | typst | #import "@preview/diagraph:0.1.2": *
#set text(
size: 15pt,
)
#set page(
paper: "a4",
margin: (x: 1.8cm, y: 1.5cm),
)
#align(center, text(21pt)[
*Cyber Physical Systems - Discrete Models \
Exercise Sheet 14 Solution*
])
#grid(
columns: (1fr, 1fr),
align(center)[
<NAME> \
<EMAIL>
],
align(c... | |
https://github.com/ice1000/website | https://raw.githubusercontent.com/ice1000/website/main/resume.typ | typst | #import "resume/main.typ": *;
#import "/book.typ": book-page
#show: book-page.with(title: "<NAME>")
The content in this page is automatically synced from the #link("https://github.com/ice1000/resume")[resume repository].
#runReader(EnglishFull)
| |
https://github.com/donghoony/KUPC-2023 | https://raw.githubusercontent.com/donghoony/KUPC-2023/master/README.md | markdown | # KUPC 2023 Editorial
2023 건국대학교 프로그래밍 경진대회의 에디토리얼입니다. [**Typst**](https://typst.app/)로 작성되었습니다.
에디토리얼은 [이곳에서](https://github.com/donghoony/KUPC-2023/blob/master/Editorial.pdf) 확인하실 수 있습니다.
## Environment
로컬 환경에서 작업하는 것을 추천합니다. 개인적으로 사용한 툴은 아래와 같습니다.
- Visual Studio Code
- [Typst LSP (VS Code Extension)](https://mark... | |
https://github.com/matthiasGmayer/structural-independence-typst | https://raw.githubusercontent.com/matthiasGmayer/structural-independence-typst/Typst/symbols.typ | typst | #let AS = math.cal("A")
#let BS = math.cal("B")
#let CS = math.cal("C")
#let DS = math.cal("D")
#let NS = math.cal("N")
#let ms = [#h(0pt)-measurable]
#let Lip = "Lip"
#let loc = "loc"
#let Val = "Val"
#let PA = "PA"
#let angles(a,b) = $angle.l #a, #b angle.r$
#let duality = angles
#let supp = "supp"
#let comp = math.o... | |
https://github.com/EGmux/ControlTheory-2023.2 | https://raw.githubusercontent.com/EGmux/ControlTheory-2023.2/main/classNotes/main.typ | typst | #include "./functions.typ"
#include "./dicasDeProva.typ"
#include "./comentarioResolucao.typ"
| |
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis | https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/src/assets.typ | typst | MIT License | #import "utils.typ": *
// Card
#let card(
primary-color: dark-blue,
background-color: light-blue,
title: none,
img: none,
body
) = {
show par: set block(spacing: 1em)
rect(fill: background-color, stroke: none, inset: 1.3em)[
#text(1.2em, fill: primary-color, weight: "bold", title)
#grid(
... |
https://github.com/HKFoggyU/hkust-thesis-typst | https://raw.githubusercontent.com/HKFoggyU/hkust-thesis-typst/main/hkust-thesis/templates/lof-page.typ | typst | LaTeX Project Public License v1.3c | #import "../imports.typ": *
#import "../utils/invisible-heading.typ": invisible-heading
// 目录生成
#let lof-page(
// documentclass 传入参数
config: (:),
info: (:),
// 其他参数
depth: 3,
// 间距
vspace: (25pt, 14pt),
indent: (0pt, 4.25em, 1.6em),
// 不显示点号
fill: (none, none),
..args,
) = {
set text(
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.2/lib/axes.typ | typst | Apache License 2.0 | // CeTZ Library for drawing graph axes
#import "../util.typ"
#import "../draw.typ"
#import "../vector.typ"
#import "../styles.typ"
// Global defaults
#let tic-limit = 100
#let default-style = (
fill: none,
stroke: black,
label: (
offset: .2,
),
tick: (
fill: none,
stroke: black,
length: .1,
... |
https://github.com/EpicEricEE/typst-plugins | https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/outex/src/outex.typ | typst | // Repeat the given content to fill the full space.
//
// Parameters:
// - gap: The gap between repeated items. (Default: none)
// - justify: Whether to increase the gap to justify the items. (Default: false)
//
// Returns: The repeated content.
#let repeat(
gap: none,
justify: false,
body
) = layout(size => cont... | |
https://github.com/MALossov/YunMo_Doc | https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/contents/context.typ | typst | Apache License 2.0 | = 绪论
== 上海大学开源爱好者的交流平台
In real open source, you have the right to control your own destiny. —— <NAME>
+ 「自由、开放、平等」:我们秉承自由软件运动之精神,弘扬黑客(Hacker)文化,传播先进的开源技术方案,鼓励源代码开放,培养自由平等的社区氛围,致力为世界开源事业作出贡献@shuosc。
+ 公共社区服务:我们面向全校师生举办定期的技术分享活动,并通过自建的平台服务进行线上弹幕直播。同时,我们每周会在微信公众号、博客等平台推送原创的翻译资料与技术文章。 我们提供开源镜像、校内&谷歌代理、代码托管、验证码识别等服务,为广大师... |
https://github.com/patricoferris/typst-template | https://raw.githubusercontent.com/patricoferris/typst-template/main/template/main.typ | typst | #import "./lib/lib.typ": *
#set text(lang: "en")
#let layout = {
ilm.with(
title: [The Scientific Method\ in the Computational Age], author: "<NAME>", date: datetime(year: 2024, month: 06, day: 30), abstract: [
_Department of Computer Science and Technology
\
Pembroke College_
\
\
Superviso... | |
https://github.com/MrLadas/resume | https://raw.githubusercontent.com/MrLadas/resume/main/README.md | markdown | # Resume
### [My resume](https://github.com/MrLadas/resume/releases/latest/download/resume.pdf) written in [Typst](https://github.com/typst/typst)
This repository contains my personal resume written in Typst. These documents are compiled using the Typst compiler in a GitHub Actions workflow. The compiler extracts in... | |
https://github.com/dssgabriel/master-thesis | https://raw.githubusercontent.com/dssgabriel/master-thesis/main/src/chapters/4-conclusion.typ | typst | Apache License 2.0 | = Conclusion
This internship aimed to explore Rust's viability for GPGPU programming in scientific computing use cases. On the one hand, HPC is shifting towards an ever-growing reliance on hardware accelerators, especially GPUs, and it is crucial to write robust code that efficiently exploits these new heterogeneous a... |
https://github.com/sofianedjerbi/ResumeOld | https://raw.githubusercontent.com/sofianedjerbi/ResumeOld/main/modules/skills.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Compétences")
#let lightbold(str) = text(weight: 501, str)
#cvSkill(
type: [Langages],
info: [#lightbold("Java"), #lightbold("C++"), #lightbold("Python"), #lightbold("Kotlin"), SQL, Bash, Rust, C, UML, JavaScript, Julia, TypeScript, Haskell]
)
#cvSkill(
ty... |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/complex/qty/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": *
#import units: *
#set page(width: auto, height: auto, margin: 1cm)
#complex(1, 1, ohm)
#complex(1, 1deg, watt) |
https://github.com/MrToWy/Bachelorarbeit | https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/modulePrismaNew.typ | typst | #import("../Template/customFunctions.typ"): *
#text(size: 9.5pt)[
```prisma
model Module {
id Int @id @default(autoincrement())
name String?
degreeProgram DegreeProgram @relation(fields: [degreeProgramId], references: [id])
degreeProgramId Int
...
model DegreeProgram {
id ... | |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/text_formats/text_formats.typ | typst | = Heading1
Paragraph with quotes “This is in quotes.”
#strong[Date:] 26.12.2022 \
Date used in paragraph #strong[Date:] 26.12.2022 \
#strong[Topic:] Infrastructure Test \
#strong[Severity:] High \
= Heading3
#emph[emphasis]
Some normal text
#text(font: "Linux Libertine", style: "italic")[Italic]
#upper[*my text... | |
https://github.com/An-314/Notes-of-Fundamentals_of_Electronics | https://raw.githubusercontent.com/An-314/Notes-of-Fundamentals_of_Electronics/main/chap2.typ | typst | #import "@local/mytemplate:1.0.0": *
#import "@preview/physica:0.9.2": *
*数字电路——用电压来编码信息*
电压优点:
- 容易产生
- 检测需要大量工程知识
- 稳态功率可能较低(追求为0)
电压缺点:
- 容易受环境影响
- 需要直流连接
#figure(
image("pic/2024-03-21-08-37-06.png", width: 80%),
caption: [
信号的处理过程
],
)
数据处理——运算
- 模拟的信号在处理过程中会有噪声干扰
- *数字系统具有抗干扰能... | |
https://github.com/HKFoggyU/hkust-thesis-typst | https://raw.githubusercontent.com/HKFoggyU/hkust-thesis-typst/main/hkust-thesis/templates/cover-page.typ | typst | LaTeX Project Public License v1.3c | #import "../imports.typ": *
#import "../utils/invisible-heading.typ": invisible-heading
#let cover-page(
config: (:),
info: (:),
) = {
let (degreeFull, degreeShort) = set-degree(info.degree)
set align(center)
// Main text
[
#pagebreak(weak: true, to: if config.twoside { "odd" })
#... |
https://github.com/songoffireandice03/simple-template | https://raw.githubusercontent.com/songoffireandice03/simple-template/main/templates/maths.typ | typst | #let sc(it) = math.class("normal",
text(font: "", stylistic-set: 1, $cal(it)$) + h(0em)
)
#import "@preview/physica:0.9.2": *
#import "@preview/quick-maths:0.1.0": *
// The math stuff
#let mkdisplay(func) = (..args) => math.display(func(..args))
#let mkinline(func) = (..args) => inl(func(..args))
#let ds = math.disp... | |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/cli/init.typ | typst | Apache License 2.0 | #import "/github-pages/docs/book.typ": book-page, cross-link
#show: book-page.with(title: "CLI Init Command")
= The init command
The `init` command will try to initialize your book to build your book successfully by default. It is hence including all of the #cross-link("/cli/build.typ")[options] from `build` command... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.3.0/template/acronyms.typ | typst | Apache License 2.0 | // Define your acronyms here
// For more information look at the used package https://typst.app/universe/package/acrostiche
#let acronyms = (
"API": ("Application Programming Interface"),
"AWS": ("Amazon Web Services"),
) |
https://github.com/mcarifio/explore.typst | https://raw.githubusercontent.com/mcarifio/explore.typst/main/src/examples/example-merged-dicts.typ | typst | // pandoc -t html example-merged-dicts.typ
#let defaults = (x:1, y:2)
#let overrides = (x:3, z:4)
#let merged = overrides + defaults // first key wins
#for (k,v) in merged { [ #k: #v ] }
| |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/032_Ixalan.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Ixalan", doc)
#include "./032 - Ixalan/001_Jace, Alone.typ"
#include "./032 - Ixalan/002_A Question of Confidence.typ"
#include "./032 - Ixalan/003_The Talented Captain Vraska.typ"
#include "./032 - Ixalan/004_The Shapers.typ"
#include "./032 - Ixalan/005_Somethi... | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/main.typ | typst | Other | #import "utils/core.typ": notes
#show: notes.with(
name: "Конспект лекций по алгебре за первый курс",
short-name: "Алгебра",
lector: "<NAME>",
info: "СПБГУ МКН, Современное программирование, 2022-2023",
)
#include "sections/01-number-theory/!sec.typ"
#include "sections/02-complex-numbers/!sec.typ"
#include "s... |
https://github.com/monaqa/typst-class-memo | https://raw.githubusercontent.com/monaqa/typst-class-memo/master/src/code.typ | typst | MIT License | //! target: ../.memo.local/memo.typ
// code 記述における便利関数
#let normal_raw_block(body) = {
block(
width: 100%,
fill: luma(95%),
inset: (x: 4pt, top: 6pt, bottom: 6pt),
radius: 2pt,
body
)
}
#let console_block(body) = {
block(
width: 100%,
stroke: (left:3pt + luma(30%), rest: 1pt + luma(... |
https://github.com/elpekenin/access_kb | https://raw.githubusercontent.com/elpekenin/access_kb/main/typst/content/parts/hardware/scanning.typ | typst | #import "@preview/glossarium:0.4.2": gls
==== Conexión directa <conexión-directa>
La opción más sencilla que se nos puede ocurrir para conectar diversos interruptores a nuestro microcontrolador es soldarlos directamente a los pines de entrada/salida (GPIO). Para hacer esto tenemos 2 opciones:
#figure(
grid(
col... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/data-03.typ | typst | Other | // Test reading CSV data.
// Ref: true
#set page(width: auto)
#let data = csv("test/assets/files/zoo.csv")
#let cells = data.at(0).map(strong) + data.slice(1).flatten()
#table(columns: data.at(0).len(), ..cells)
|
https://github.com/skomaroh1845/TheoreticalInformaticsMIPT | https://raw.githubusercontent.com/skomaroh1845/TheoreticalInformaticsMIPT/main/HW4.typ | typst | = <NAME> ДЗ №4
#set par(
justify: true,
)
= Задача 1
Какие из включений $subset.eq, supset.eq$ имеют место между классами TIME($n^2$) и SPACE($n^2 log n$)?
== Решение
Для МТ имеем теорему о соотношении между T и S: $S_M (arrow(x)) lt.eq.slant T_M (arrow(x))$.
TIME($n^2$) $arrow.r.double$ $T_M (arrow(x)) = O(n^2... | |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/beurteilen_bewerten/missverstaendnisse_bewertung.typ | typst | Other | #import "/src/template.typ": *
== Missverständnisse der Leistungsbewertung
Bewertungen im Phosophieunterricht werden verschiedene Sachen unterstellt. "#ix("Bewertung")" und "#ix("Beurteilung")" werden verwechselt, Philosophie wird als "unbewertbar" bezeichnet, bestimmte Beurteilungsformen werden abgelehnt. Auf einige... |
https://github.com/brynne8/typst-undergradmath-zh | https://raw.githubusercontent.com/brynne8/typst-undergradmath-zh/main/README.md | markdown | Creative Commons Attribution Share Alike 4.0 International | # typst-undergradmath-zh
[typst-undergradmath](https://github.com/johanvx/typst-undergradmath)的中文翻译。预计会跟踪原仓库进行更新。
|
https://github.com/OrangeX4/typst-pinit | https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/examples/fletcher.typ | typst | MIT License | #import "../lib.typ": *
#import "@preview/fletcher:0.5.1"
Con#pin(1)#h(4em)#pin(2)nect
#pinit-fletcher-edge(
fletcher, 1, end: 2, (1, 0), [bend], bend: -20deg, "<->",
decorations: fletcher.cetz.decorations.wave.with(amplitude: .1),
) |
https://github.com/Shedward/dnd-charbook | https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/page/attacks.typ | typst | #import "../core/core.typ": *
#let attacks = {
let headerCell(colspan: 1, body) = grid.cell(
colspan: colspan,
tableHeader(body)
)
let emptyCell(colspan: 1) = grid.cell(colspan: colspan, [])
let vline(row) = grid.vline(stroke: strokes.hairline, start: row, end: row + 1)
let hline = grid.hline(stroke:... | |
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/packages.typ | typst | Creative Commons Attribution Share Alike 4.0 International | // Provides a centralized way to specify package versions
#import "@local/notebookinator:1.0.0"
#import "@preview/codetastic:0.2.2"
#import "@preview/diagraph:0.1.0"
|
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/multiline.typ | typst | // Test multiline math.
--- math-align-basic ---
// Test basic alignment.
$ x &= x + y \
&= x + 2z \
&= sum x dot 2z $
--- math-align-wider-first-column ---
// Test text before first alignment point.
$ x + 1 &= a^2 + b^2 \
y &= a + b^2 \
z &= alpha dot beta $
--- math-align-aligned-in-source ---
... | |
https://github.com/swaits/typst-collection | https://raw.githubusercontent.com/swaits/typst-collection/main/glossy/0.1.0/examples/readme.typ | typst | MIT License | // a minimal example, also listed in the README
#import "@preview/glossy:0.1.0": *
#let myGlossary = (
(key: "html", short: "HTML", long: "Hypertext Markup Language", description: "A standard language for creating web pages", group: "Web"),
(key: "css", short: "CSS", long: "Cascading Style Sheets", descriptio... |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%20591%20-%20Mathematical%20Logic/Assignments/Assignment%205.typ | typst | #import "/Templates/generic.typ": latex, header
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#import "/Templates/assignment.typ": *
#import "@preview/commute:0.2.0": node, arr, commutative-diagram
#import "@preview/cetz:0.2.0"
#let head(doc) = header(doc, title: "Assignment 5")
#show: head
#sh... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.