repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/OCamlPro/ppaqse-lang | https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/C.typ | typst | #import "defs.typ": *
#import "links.typ": *
#language(
name: "C",
introduction: [
Le langage C est un langage de programmation créé en 1972 par Dennis
Ritchie pour le développement du système d'exploitation Unix. Il est
un des langages les plus utilisés dans le monde de l'informatique et
est souv... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/tracking-spacing-01.typ | typst | Other | // Test tracking for only part of paragraph.
I'm in#text(tracking: 0.15em + 1.5pt)[ spaace]!
|
https://github.com/HollowNumber/DDU-Rapport-Template | https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/readme.md | markdown | # DDU Report Template
This template was made for quick setting up of `DDU` reports
## How to use `appendix_adder.py`
To add new figures and code sources to `appendix.typ` procedurally you must follow these simple steps:
Go into `src/images/appendix` and add a sub folder, this folder's name will become the **head... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-10.typ | typst | Other | // Error: 11-17 cannot spread dictionary into array
#(1, 2, ..(a: 1))
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/darwin-arm64/README.md | markdown | Apache License 2.0 | # `@myriaddreamin/typst-ts-node-compiler-darwin-arm64`
This is the **aarch64-apple-darwin** binary for `@myriaddreamin/typst-ts-node-compiler`
|
https://github.com/andrin-geiger/hslu_template_typst | https://raw.githubusercontent.com/andrin-geiger/hslu_template_typst/master/chapters/06_evaluation.typ | typst | = Evaluation
#pagebreak() | |
https://github.com/neunenak/typst-leipzig-glossing | https://raw.githubusercontent.com/neunenak/typst-leipzig-glossing/master/abbreviations.typ | typst | MIT License | // See https://www.eva.mpg.de/lingua/resources/glossing-rules.php
#let standard-abbreviations = (
"1": "first person",
"2": "second person",
"3": "third person",
"A": "agent-like argument of canonical transitive verb",
"ABL": "ablative",
"ABS": "absolutive",
"ACC": "accusative",
"ADJ": "adjective",
"A... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/shadowed/0.1.0/lib.typ | typst | Apache License 2.0 | #let __renderer = plugin("renderer.wasm")
#let __render(
svg-height,
svg-width,
blur,
color,
rect-height,
rect-width,
x-offset,
y-offset,
radius,
) = {
assert(type(svg-height) == type(0pt), message: "svg-height must be of type: Length")
assert(type(svg-width) == type(0pt), message: "svg-width mus... |
https://github.com/EGmux/PCOM-2023.2 | https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q14.typ | typst | === Dado o fluxo de dados 1110010100, esboce a sequência de pulsos transmitida para cada código de linha a seguir:
\
==== a) NRZ-L
\
#figure(image("../assets/nrz-l.png", width: 80%), caption: [NRZ-L]) <fig-nrz-l>
==== b) NRZ-M
\
#figure(image("../assets/nrz-m.png", width: 80%), caption: [NRZ-M]) <fig-nrz-m>
==== c... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F650.typ | typst | Apache License 2.0 | #let data = (
("NORTH WEST POINTING LEAF", "So", 0),
("SOUTH WEST POINTING LEAF", "So", 0),
("NORTH EAST POINTING LEAF", "So", 0),
("SOUTH EAST POINTING LEAF", "So", 0),
("TURNED NORTH WEST POINTING LEAF", "So", 0),
("TURNED SOUTH WEST POINTING LEAF", "So", 0),
("TURNED NORTH EAST POINTING LEAF", "So", 0)... |
https://github.com/alperari/cyber-physical-systems | https://raw.githubusercontent.com/alperari/cyber-physical-systems/main/week10/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 10 Solution*
])
#grid(
columns: (1fr, 1fr),
align(center)[
<NAME> \
<EMAIL>
],
align(c... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliEsterni/VerbaleEsterno_231110/content.typ | typst | MIT License | #import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro, company
#import "functions.typ": glossary, team
#let participants = csv("participants.csv")
#let participants_company = csv("participants_company.csv")
= Partecipanti
/ Inizio incontro: #inizio_incontro
/ Fine incontro: #fine_incontro
/ Luogo incontro... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Physique_Ex_14_11_2023.typ | typst | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
title: "Physique Ex 14 11 2023",
authors: (
"<NAME>",
),
date: "11 Novembre, 2023",
)
#set heading(numbering: "1.1.")
== Exercice 16 page 252... | |
https://github.com/JakMobius/courses | https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/theme/theme.typ | typst |
#import "@preview/polylux:0.3.1": *
#import "@local/svg-emoji:0.1.0": setup-emoji
#let theme(content) = {
set page(paper: "presentation-16-9")
set text(font: "Roboto")
// Fix list marker baseline
show list.item: it => {
let current-marker = if type(list.marker) == array {
list.marker.at(0)
} el... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-11.typ | typst | Other | // Error: 9-11 failed to load file (is a directory)
#import "": name
|
https://github.com/PgBiel/typst-improv-tables-planning | https://raw.githubusercontent.com/PgBiel/typst-improv-tables-planning/main/README.md | markdown | Other | # typst-improv-tables-planning
Source code for the Typst Improved Tables Planning document
## Rendered
View the rendered document here: https://pgbiel.github.io/typst-improv-tables-planning/main.pdf
## License
- `main.typ` is licensed under the [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- Files under... |
https://github.com/Han-duoduo/mathPater-typest-template | https://raw.githubusercontent.com/Han-duoduo/mathPater-typest-template/main/chapter/chap5.typ | typst | Apache License 2.0 | #import "../template/template.typ":*
#import "../template/utils.typ"
= 模型的建立与求解
== 模型准备
本文从PCI冲突、PCI混淆和PCI模3干扰三方面降低不利影响,MR数作为指标,即从冲突MR数、混淆MR数和模3干扰的MR数这三个方面讨论。因此需要明确这三种情况发生的条件,冲突矩阵、混淆矩阵和干扰矩阵的概念以及其中的MR数的计算方式。
=== 发生条件
PCI冲突,主小区和其同频的邻小区之间由于被分配到了相同的PCI的情况下导致用户错误的连接。
PCI混淆,两个或多个同频小区之间由于被分配的PCI相同导致的信号连接错误,导致网络质量下降。
PCI模3干... |
https://github.com/catg-umag/inach-workshop-2024 | https://raw.githubusercontent.com/catg-umag/inach-workshop-2024/main/document/main.typ | typst | #import "@preview/codly:1.0.0": *
#import "@preview/gentle-clues:0.9.0": *
#import "catgconf.typ": conf, catg-colors
#show: doc => conf(
title: "Análisis de Datos de Oxford Nanopore",
authors: ("<NAME>.", "<NAME>."),
date: "Octubre 2024",
doc,
)
#show: codly-init.with()
#show: gentle-clues.with(
header-ins... | |
https://github.com/MaxAtoms/T-705-ASDS | https://raw.githubusercontent.com/MaxAtoms/T-705-ASDS/main/boxes.typ | typst | #let colorbox(title: "title", bgColor: rgb(255, 255, 255), strokeColor: luma(70), radius: 2pt, width: auto, body) = {
return box(
fill: bgColor,
stroke: 1pt + strokeColor,
radius: radius,
width: width
)[
#block(
fill: strokeColor,
inset: 4pt,
radius: (top-left: radius, bottom-... | |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/Classes.typ | typst | == Clases
Una clase en programación es un modelo o plantilla que define las características y comportamientos
de los objetos. En Kotlin, una clase sirve para crear objetos específicos, definiendo sus
propiedades (atributos) y sus capacidades (métodos).
Consideremos una clase `Player` para un juego. Esta clase defin... | |
https://github.com/Akida31/anki-typst | https://raw.githubusercontent.com/Akida31/anki-typst/main/typst/examples/more.typ | typst | #import "../src/lib.typ" as anki
#import anki.theorems: item
#show: anki.setup.with(
export: auto,
enable_theorems: true,
prefix_deck_names_with_numbers: true,
title: "TITLE",
)
#set heading(numbering: "1.")
#let theorem = item("Theorem", proof_name: "Precious Proof", initial_tags: ("proof",))
#let example = ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/002_Episode%202%3A%20Holding%20Your%20Breath.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2: Holding Your Breath",
set_name: "March of the Machine",
story_date: datetime(day: 16, month: 04, year: 2023),
author: "<NAME>",
doc
)
Chandra hates waiting.
She hates everything about this: the safe house they're all cooped up i... | |
https://github.com/skomaroh1845/TheoreticalInformaticsMIPT | https://raw.githubusercontent.com/skomaroh1845/TheoreticalInformaticsMIPT/main/HW1.typ | typst | = <NAME> ДЗ 1
#set par(
justify: true,
)
= Задача 1
Постройте1 машину Тьюринга, вычисляющую функцию $n arrow.r.bar$ (остаток от деления n на 5) в унарной кодировке аргументов. Оцените время вычислений на вашей машине в зависимости от n.
== Решение:
Машина едет по числу и по очереди меняет состояния в диапазоне $\{... | |
https://github.com/HenkKalkwater/aoc-2023 | https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/parts/day-4-1.typ | typst | #let parse = (input) => {
input
.trim("\n")
.split("\n")
.map(line => {
let parts = line.split(regex("[:|]"))
let numbers = parts.at(1).matches(regex("\d+")).map(match => int(match.text)).sorted()
let winning-numbers = parts.at(2).matches(regex("\d+")).map(match => int(match.text)).sorte... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/013%20-%20Magic%202015/006_Ajani's%20Vengeance.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Ajani's Vengeance",
set_name: "Magic 2015",
story_date: datetime(day: 23, month: 07, year: 2014),
author: "<NAME>",
doc
)
#emph[<NAME> is a member of the catlike leonin race and a Planeswalker wise beyond his years. You can read more of his... | |
https://github.com/thornoar/lambda-calculus-course | https://raw.githubusercontent.com/thornoar/lambda-calculus-course/master/main-lectures/material.typ | typst | #import "@local/common:0.0.0": *
#import "@local/theorem:0.0.0": *
#show: theorem
#import "./template.lib.typ": *
#show: formatting
#import "@preview/cetz:0.2.2" as cz
#set enum(numbering: "(1.a)")
#set page(numbering: "1")
#let myplainstyle(ident, head, ..args) = thmstyle(ident, head, breakable: false, titlefmt: it... | |
https://github.com/OrangeX4/typst-talk | https://raw.githubusercontent.com/OrangeX4/typst-talk/main/examples/conference.typ | typst | #let conf(
title: none,
authors: (),
abstract: [],
doc,
) = {
// 字体应为 11pt 的衬线字体
set text(font: "Linux Libertine", 11pt)
// 正文应两端对齐
set par(justify: true)
// 页面尺寸应为 US letter,编号在页脚的中心,
// 每页的左上角应包含论文的标题
set page(
"us-letter",
margin: auto,
header: align(
right + horizon,
t... | |
https://github.com/KrisjanisP/lu-icpc-notebook | https://raw.githubusercontent.com/KrisjanisP/lu-icpc-notebook/main/5-graph.typ | typst |
= Graph algorithms
== Bellman-Ford
```cpp
void solve()
{
vector<int> d(n, INF);
d[v] = 0;
for (;;) {
bool any = false;
for (Edge e : edges)
if (d[e.a] < INF)
if (d[e.b] > d[e.a] + e.cost) {
d[e.b] = d[e.a] + e.cost;
any =... | |
https://github.com/PraneethJain/IQIC | https://raw.githubusercontent.com/PraneethJain/IQIC/main/Mid-Sem/2022101093.typ | typst | MIT License | #align(center, text(17pt)[*Introduction to Quantum Information and Communication*])
#align(center, text(16pt)[Take Home Mid-Sem])
#align(center, text(13pt)[<NAME>, 2022101093])
#let ket(x) = $lr(|#x angle.r)$
#let bra(x) = $lr(angle.l #x |)$
#let braket(x, y) = $lr(angle.l #x|#y angle.r)$
#let tensor = $times.circle$
... |
https://github.com/planetoryd/notes | https://raw.githubusercontent.com/planetoryd/notes/master/topk2.typ | typst |
Notes for http://www.vldb.org/pvldb/vol9/p828-deng.pdf
- Theorems have been further generalized than what is in the paper
- Corretions for errors
- More precise defintions
- Better notation
#set heading(numbering: "1.")
#heading(numbering: "1.", "Matching prefix")
\
consider a full query string, $q=q[1,"len"]$
$... | |
https://github.com/QuadnucYard/pavemat | https://raw.githubusercontent.com/QuadnucYard/pavemat/main/src/lib.typ | typst | MIT License | #import "pavemat.typ": pavemat
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/logic/and.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.2.2": draw
#import "gate.typ"
#let draw-shape(id, tl, tr, br, bl, fill, stroke) = {
let (x, y) = bl
let (width, height) = (tr.at(0) - x, tr.at(1) - y)
let t = (x + width / 2, y + height)
let b = (x + width / 2, y)
let f = draw.group(name: id, {
draw.merge-path(
inset: 0.5... |
https://github.com/ilsubyeega/circuits-dalaby | https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/2/19.typ | typst | #import "@preview/cetz:0.2.2": *
#import "../common.typ": answer
2.19 다음 회로에서 $I_x$와 $I_y$를 구하라.
#answer[
1. $I_x = I + I_y$
2. $-10 + 2I_x + 4I = 0$
3. $-4I + 6I_y - 4I_x = 0$
$(because V = I R)$
$therefore I_x = 25/7 approx 3.5714, I_y = 20/7 approx 2.8571$
] | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types.typ | typst | Apache License 2.0 | #import "types/any.typ": *
#import "types/array.typ": *
#import "types/dictionary.typ": *
#import "types/logical.typ": *
#import "types/number.typ": *
#import "types/string.typ": *
#import "types/tuple.typ": * |
https://github.com/sarahzeller/tud | https://raw.githubusercontent.com/sarahzeller/tud/main/README.md | markdown | MIT License | # tud presentations
A template for a typst or beamer presentation in quarto, styled for the TUD.
## typst look

## beamer look

## Installing
This will install only the extension:
```bash
quarto add sarahzeller/tud
```
If you want to have a template installed, you can use the... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Allemand_13_01_2023.typ | typst | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
title: "Allemand 13 01 2023",
authors: (
"<NAME>",
),
date: "10 Août, 2024",
)
#set heading(numbering: "1.1.")
== Brasilien: eine neue Heimat... | |
https://github.com/matthew-e-brown/assignmatts | https://raw.githubusercontent.com/matthew-e-brown/assignmatts/main/src/palettes.typ | typst | MIT License | // cspell:ignoreRegExp /rgb\("[A-Fa-f0-9]{6}"\)/
/// The player colours from Super Smash Bros. Ultimate.
///
/// @see https://www.deviantart.com/thewolfbunny64/art/Super-Smash-Bros-Every-Player-Color-is-Here-754697613
#let smash-bros = (
rgb("ff3837"), // red
rgb("308aff"), // blue
rgb("ffbc16"), // yellow... |
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical | https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/main.typ | typst | MIT License | #import "template.typ": book
#import "cover.typ": cover
#import "functions.typ": heading_center, images, italic
#let finchapiter = text(size: 24pt, fill:rgb("#1E045B"),[■])
#let book_info = (
title: "DETECTION ET CLASSIFICATION DES NODULES PULMONAIRES À L’AIDE DU DEEP LEARNING",
// title: "DÉTECTION DES NODULES P... |
https://github.com/Ryoga-itf/differential-equations | https://raw.githubusercontent.com/Ryoga-itf/differential-equations/main/report03/report.typ | typst | #import "../template.typ": *
#import "@preview/tenv:0.1.1": parse_dotenv
#import "@preview/physica:0.9.2": *
#let env = parse_dotenv(read("../.env"))
#show: project.with(
week: "第3回",
authors: (
(name: env.STUDENT_NAME, email: "学籍番号:" + env.STUDENT_ID, affiliation: "所属:情報科学類"),
),
date: "2024 年 10 月 23 日"... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056%20-%20Outlaws%20of%20Thunder%20Junction/009_Episode%205%3A%20High%20Moon.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 5: High Moon",
set_name: "Outlaws of Thunder Junction",
story_date: datetime(day: 22, month: 03, year: 2024),
author: "<NAME>",
doc
)
Twelve chimes erupted from the molten clock tower. Its sharp edges glowed a sinister red, and its ... | |
https://github.com/almarzn/portfolio | https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/title.typ | typst | #import "@preview/splash:0.3.0": tailwind
#let title(
profile: (
name: "name",
title: "title",
tagline: "tagline",
)
) = {
let body = [
#grid(
gutter: 16pt,
[ == #profile.title ],
[ = #text(weight: "black", upper(profile.name)) ],
[ #profile.tagline ]
)
]
let image... | |
https://github.com/tinnamchoi/resumes | https://raw.githubusercontent.com/tinnamchoi/resumes/master/src/template/private.typ | typst | #import "@preview/fontawesome:0.2.1": *
// consts
#let color = rgb("#213983")
#let lightcolor = rgb("#6c88da")
// internal functions
// you can use these if the existing templates don't meet your needs
#let display_name(name: "") = {
text(size: 24pt, fill: rgb(color))[#name]
}
#let display_links(links: ()) = {
... | |
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/chapters/problem_domain_analysis.typ | typst | #import "../custom.typ": *
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx
#import table: cell, header
= Problem Domain Analysis
== Rich Picture
To effectively develop the necessary system, it is essential to have a clear understanding of the task that will be encountered by the system. One useful ap... | |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/visualize/image.typ | typst | Apache License 2.0 | // Test the `image` function.
---
// Test loading different image formats.
// Load an RGBA PNG image.
#image("/rhino.png")
// Load an RGB JPEG image.
#set page(height: 60pt)
#image("/tiger.jpg")
---
// Test configuring the size and fitting behaviour of images.
// Set width and height explicitly.
#box(image("/rhino... |
https://github.com/MDLC01/board-n-pieces | https://raw.githubusercontent.com/MDLC01/board-n-pieces/main/tests/api.typ | typst | MIT License | #import sys.inputs.lib as bnp
#set document(date: none)
#set page(
width: auto,
height: auto,
margin: 0.5cm,
)
#show "—": pagebreak()
// Tests start here.
// Tests are separated by `---`.
#bnp.board(bnp.starting-position)
---
#{
set text(dir: rtl)
bnp.board(
bnp.starting-position,
)
}
---
#bnp.... |
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical | https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch07-gpt.typ | typst | MIT License | #import "../functions.typ": heading_center, images, italic,linkb
#let finchapiter = text(size: 24pt, fill:rgb("#1E045B"),[■])
/*
*
* GPT 07
*
*/
= DETECTING LUNG CANCER NODULES.
= MÉTHODES, RÉSULTATS ET DISCUSSION
== Methods
=== Preprocessing of the data
The first step is to load and process the raw data files... |
https://github.com/ohmycloud/computer-science-notes | https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/doc_template.typ | typst | #import "@preview/splash:0.3.0": xcolor
#let make-title(title: none, author: none, date: none, description: none) = [
#set align(center)
= #title
#v(1em)
#text(style: "italic", description)
#v(1em)
/ 日期: #date
#v(3em)
]
#let make-outline(title: none, color: none) = [
#show outline.entry.where(
... | |
https://github.com/OctarineSourcerer/NeonInTheDark | https://raw.githubusercontent.com/OctarineSourcerer/NeonInTheDark/main/sections/terms.typ | typst | == M.O.L.D
// What's the MOLD's purpose? To allow for some interaction from the AI on the other side of the wall, giving connection to those eldritch beings. And also to allow peeps to get through walls a la ghost door even in newer places
Every wall has its cracks, and the Blackwall is no different. The AIs on the oth... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/silky-letter-insa/0.1.0/README.md | markdown | Apache License 2.0 | # INSA - Typst Template
Typst Template for short documents and letters for the french engineering school INSA.
## Example
By default, the template initializes with the `insa-short` show rule, with parameters that you must fill in by yourself.
Here is an example of filled template:
````typst
#import "@preview/silky-le... |
https://github.com/mrcinv/nummat-typst | https://raw.githubusercontent.com/mrcinv/nummat-typst/master/05_implicitna_interpolacija.typ | typst | = Interpolacija z implicitnimi funkcijami
<interpolacija-z-implicitnimi-funkcijami>
Implicitne enačbe oblike $F(x_1, x_2, dots) = 0$ so dober način za opis krivulj in ploskev. Hitri algoritmi za izračun nivojskih krivulj in ploskev kot sta #link("https://en.wikipedia.org/wiki/Marching_cubes")[korakajoče kocke] in #lin... | |
https://github.com/f14-bertolotti/bedlam | https://raw.githubusercontent.com/f14-bertolotti/bedlam/main/src/topology/main.typ | typst | #import "../theme.typ": definition, comment
= Topology
#let topology = (
tag : link(<topology>)[topology]
)
#definition("Topology")[
Let $X$ bet a set. A *topology over $X$* is a subset $#sym.Sigma$ of $2^X$ such that:
1. $A subset.eq Sigma ==> union.big_(E in A) E$. #comment[Infinite or finite unions of... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/op_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// With or without parens.
$ &sin x + log_2 x \
= &sin(x) + log_2(x) $
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-08.typ | typst | Other | // Test bad lvalue.
// Error: 2:3-2:15 type array has no method `yolo`
#let array = (1, 2, 3)
#(array.yolo() = 4)
|
https://github.com/sahasatvik/typst-theorems | https://raw.githubusercontent.com/sahasatvik/typst-theorems/main/differential_calculus.typ | typst | MIT License | #import "theorems.typ": *
#show: thmrules
// Define theorem environments
#let theorem = thmbox(
"theorem",
"Theorem",
fill: rgb("#e8e8f8")
)
#let lemma = thmbox(
"theorem", // Lemmas use the same counter as Theorems
"Lemma",
fill: rgb("#efe6ff")
)
#let corollary = thmbox(
"corollary",
"Coro... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/016%20-%20Fate%20Reforged/007_Khanfall.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Khanfall",
set_name: "Fate Reforged",
story_date: datetime(day: 18, month: 02, year: 2015),
author: "<NAME>",
doc
)
#emph[Several years have passed since Sarkhan Vol ] saved Ugin from death#emph[ at the hands of <NAME>. More than a thousand... | |
https://github.com/HenkKalkwater/aoc-2023 | https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/parts/day-3-2.typ | typst | #let input = "467..114..
...*......
..35..633.
......#...
617*......
.....+.58.
..592.....
......755.
...$.*....
.664.598.."
#let TYPE_EMPTY = 0
#let TYPE_SYMBOL = 1
#let TYPE_NUMBER = 2
#let parse_grid = (input) => {
// Pass 1: assemble a dictionary of (x, y, type)
let numbers = ()
let grid = ()
let cols = ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.react/README.md | markdown | Apache License 2.0 | # `@myriaddreamin/typst.react`
## Usage
```typescript
import { TypstDocument } from '@myriaddreamin/typst.react';
export const App = (artifact: Uint8Array) => {
return (
<div>
<h1>Demo: Embed Your Typst Document in React</h1>
<TypstDocument fill="#343541" artifact={artifact} />
</div>
);
};
... |
https://github.com/piepert/typst-hro-iph-seminar-paper | https://raw.githubusercontent.com/piepert/typst-hro-iph-seminar-paper/main/example2/example2.typ | typst | #import "@local/hro-iph-seminar-paper:0.1.0": seminar-paper
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: seminar-paper.with(
title: "Abhandlung über das Schreiben einer Hausarbeit",
authors: (
"<NAME>",
),
date: datetime.today... | |
https://github.com/jrihon/cv | https://raw.githubusercontent.com/jrihon/cv/main/README.md | markdown | # Curriculum Vitae
### Let's get in touch !
Download my cv here : [RihonJerome\_CurVitae.pdf](https://github.com/jrihon/cv/blob/main/output/RihonJerome_CurVitae.pdf)
- GitHub Mobile does not allow downloading files. Open the current URL on a computer or in a browser if you wish to properly access my CV.
- My `email`... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/simple.md | markdown | ---
sidebar_position: 1
---
# 简单动画
Touying 为简单的动画效果提供了两个标记:`#pause` 和 `#meanwhile`。
## pause
`#pause` 的用途很简单,就是用于将后续的内容放到下一张 subslide 中,并且可以使用多个 `#pause` 以创建多张 subslides,一个简单的例子:
```typst
#slide[
First #pause Second
#pause
Third
]
```
,
author: "<NAME>",
witness: "Violet Ridge",
)
= Drivetrain Type
... |
https://github.com/ist199211-ist199311/homeworks-nss | https://raw.githubusercontent.com/ist199211-ist199311/homeworks-nss/master/hw2.typ | typst | #import "common/template.typ": cover_page, header, footer, setup_page
#cover_page(title: "Homework 2", date: "January 2024")
#pagebreak()
#show: setup_page
#set page("a4", header: header(title: "HW2"), footer: footer)
#counter(page).update(1)
#outline()
#pagebreak()
= CASTOR
#set enum(numbering: "1)")
// unfort... | |
https://github.com/kaarmu/typst-kth-exam | https://raw.githubusercontent.com/kaarmu/typst-kth-exam/main/README.md | markdown | # KTH Exam Example
This example mimics exams given at KTH Royal Institute of Technology,
specifically of the EECS school. The goal of this project is to promote
[Typst](https://typst.app) and to show how it can be used.
The template can be used by anyone if logotype and affiliations are
replaced appropriately.
| |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/bullet_list/bullet_list.typ | typst | - first item
- second item | |
https://github.com/touying-typ/touying | https://raw.githubusercontent.com/touying-typ/touying/main/examples/aqua.typ | typst | MIT License | #import "../lib.typ": *
#import themes.aqua: *
#show: aqua-theme.with(
aspect-ratio: "16-9",
config-info(
title: [Title],
subtitle: [Subtitle],
author: [Authors],
date: datetime.today(),
institution: [Institution],
),
)
#title-slide()
#outline-slide()
= The Section
== Slide Title
#lorem(... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2800.typ | typst | Apache License 2.0 | #let data = (
("BRAILLE PATTERN BLANK", "So", 0),
("BRAILLE PATTERN DOTS-1", "So", 0),
("BRAILLE PATTERN DOTS-2", "So", 0),
("BRAILLE PATTERN DOTS-12", "So", 0),
("BRAILLE PATTERN DOTS-3", "So", 0),
("BRAILLE PATTERN DOTS-13", "So", 0),
("BRAILLE PATTERN DOTS-23", "So", 0),
("BRAILLE PATTERN DOTS-123", ... |
https://github.com/LEXUGE/poincare | https://raw.githubusercontent.com/LEXUGE/poincare/main/src/templates/main.typ | typst | MIT License | #import "/simple.typ": simple
#import "/shorthands.typ"
#import "/pf3.typ"
|
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/048.typ | typst | #let date = datetime(
year: 2024,
month: 9,
day: 22,
)
#metadata((
title: "黑神话",
subtitle: [qwen,win32com,python-docx,textextract],
author: "dashuai009",
description: "",
pubDate: date.display(),
))<frontmatter>
要打大石敢当,没有精魄`浪里个波`,回第一章去打青蛙,打完没钱升级。
查攻略刷钱,`碎玉池`可以。
发现没有变化`灰蛰`,回沙村门口,这才村口把这个门打开。
发现没有`三王子... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/counter-page.typ | typst | Apache License 2.0 | // Test the page counter.
#set page(height: 50pt, margin: (bottom: 20pt, rest: 10pt))
#lorem(12)
#set page(numbering: "(i)")
#lorem(6)
#pagebreak()
#set page(numbering: "1 / 1")
#counter(page).update(1)
#lorem(20)
|
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Matematica4AI/LinAlg/Matrices.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Math4AI_definitions.typ": *
//
// Add many results taken from previous courses
//
The *determinant* is a function that associates a number to a square
matrix. Given a $n times n$ matrix $A$, its determinant, denoted as
$det(A)$ or $| A |$, is defined recursively as follows:
$ det(A) =
cases(
sum_(j = ... |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/abstract.typ | typst | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis feugiat tempor enim id tempus. Ut dictum mollis magna non ultrices. Suspendisse metus massa, commodo et euismod quis, pharetra ut eros. Cras ac lacus sit amet urna convallis aliquet. Suspendisse sit amet metus non metus mattis mollis et et neque. Integer eu ... | |
https://github.com/yochem/apa-typst | https://raw.githubusercontent.com/yochem/apa-typst/main/examples/single-author-multi-affiliations.typ | typst | #import "../template.typ": apa7
#show: apa7.with(
title: "Example of APA7 Document in Typst",
authors: (
"<NAME>",
),
affiliations: (
"School of Psychology, University of Sydney",
"Center for Behavioral Neuroscience, American University"
),
)
#lorem(40)
| |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliEsterni/VerbaleEsterno_240402/meta.typ | typst | MIT License | #let data_incontro = "02-04-2024"
#let inizio_incontro = "15:30"
#let fine_incontro = "16:30"
#let luogo_incontro = "SyncLab srl, <NAME>, 28, 35127 Padova PD"
#let company = "Sync Lab" |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/scholarly-tauthesis/0.4.0/template/content/abstract.typ | typst | Apache License 2.0 | /** abstract.typ
*
* Fill in the English abstract of your thesis in this file. The
* preamble is imported, in case you wish to use commands defined
* there.
*
***/
#import "../preamble.typ": *
The abstract is a concise, self-containing one-page description of the work:
what was the problem, what was done, and wh... |
https://github.com/mangkoran/utm-thesis-typst | https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/utils.typ | typst | MIT License | #let empty(content) = {highlight(fill: red.lighten(80%))[#upper[empty #content]]}
#empty("foo")
|
https://github.com/Ttajika/class | https://raw.githubusercontent.com/Ttajika/class/main/math_for_basic_micro/slide_template.typ | typst | //fontawesomeの読み込み
#import "@preview/fontawesome:0.1.0": *
//CeTZの読み込み
#import "@preview/cetz:0.1.0"
//カラーとフォントの設定.
#let default_color = eastern.lighten(30%)
#let emph_color = white
#let strong_color = rgb("3cb371")
#let textcolor = black
//フォントはarrayで設定すれば,英字は英字用の,日本語は日本語用のフォントで設定してくれる
#let body-font = ("MPLUS2")
#l... | |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/src/schemas/author.typ | typst | Other | #import "../types.typ" as z;
#import "../coercions.typ" as coerce;
#let author = z.dictionary(
aliases: (
"affiliation": "affiliations",
"website": "url",
"homepage": "url",
"ORCID": "orcid",
"equal_contributor": "equal-contributor",
"equalContributor": "equal-contributor",
),
(
name:... |
https://github.com/university-makino/Microcomputer-control-and-exercises | https://raw.githubusercontent.com/university-makino/Microcomputer-control-and-exercises/master/report/本レポート4/report.typ | typst | // ライブラリの実装 //
#import "@preview/codelst:2.0.1": sourcecode
//フォント設定//
#let gothic = "YuMincho"
//本文フォント//
#set text(11pt, font: gothic, lang: "ja")
//タイトル・見出しフォント//
#set heading(numbering: "1.1")
#let heading_font(body) = {
show regex("[\p{scx: Han}\p{scx: Hira}\p{scx: Kana}]"): set text(font: gothic)
body
}... | |
https://github.com/mismorgano/UG-PartialDifferentialEquations-23 | https://raw.githubusercontent.com/mismorgano/UG-PartialDifferentialEquations-23/main/tareas/tarea-02/Tarea-02.typ | typst |
#set text(font: "New Computer Modern", size: 12pt)
#let e = counter("exercise")
#let exercise(label, body, number: none) = {
if number != none {
e.update(number)
} else {
e.step()
}
box(width: 100%,stroke: 1pt, inset: 5pt, [#text(size: 1.6em)[*Problema #e.display() #label*] \ #body],)
}
#align(cente... | |
https://github.com/typst-community/guidelines | https://raw.githubusercontent.com/typst-community/guidelines/main/src/chapters/api/interoperability.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/src/util.typ": *
#import mantys: *
= Interoperability
Ensuring interoperability between packages is an important part of API design.
Lack of interoperability, especially when it leads to bugs or panics will generally lead users to shy away from using one of the packages which are incompatible.
When designing... |
https://github.com/giZoes/justsit-thesis-typst-template | https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/custom-cuti.typ | typst | MIT License | #import "@preview/cuti:0.2.1": * |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11900.typ | typst | Apache License 2.0 | #let data = (
("DIVES AKURU LETTER A", "Lo", 0),
("DIVES AKURU LETTER AA", "Lo", 0),
("DIVES AKURU LETTER I", "Lo", 0),
("DIVES AKURU LETTER II", "Lo", 0),
("DIVES AKURU LETTER U", "Lo", 0),
("DIVES AKURU LETTER UU", "Lo", 0),
("DIVES AKURU LETTER E", "Lo", 0),
(),
(),
("DIVES AKURU LETTER O", "Lo",... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/import.typ | typst | // Test function and module imports.
--- import-basic ---
// Test basic syntax and semantics.
// Test that this will be overwritten.
#let value = [foo]
// Import multiple things.
#import "module.typ": fn, value
#fn[Like and Subscribe!]
#value
// Should output `bye`.
// Stop at semicolon.
#import "module.typ": a, c;... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tabut/1.0.1/doc/example-snippets/example-data/titanic.typ | typst | Apache License 2.0 | #import "@preview/tabut:1.0.1": records-from-csv
#let titanic = records-from-csv(csv("titanic.csv"));
#let classes = (
"N/A",
"First",
"Second",
"Third"
); |
https://github.com/schmidma/typst-workshop | https://raw.githubusercontent.com/schmidma/typst-workshop/main/examples/11-figures.typ | typst | Creative Commons Zero v1.0 Universal | Rivers as shown in @rivers are an important part of the earth's climate system.
#figure(
image(
"./assets/rivers.jpg",
width: 70%
),
caption: [
_River_ in a forest.
],
) <rivers>
|
https://github.com/FilipAndersson245/typst-pgo-db | https://raw.githubusercontent.com/FilipAndersson245/typst-pgo-db/master/README.md | markdown | MIT License | # typst-pgo-db
A database of typst code to be used for PGO sampling.
|
https://github.com/tweaselORG/ReportHAR | https://raw.githubusercontent.com/tweaselORG/ReportHAR/main/templates/en/notice.typ | typst | MIT License | #import "style.typ": tweaselStyle
#show: tweaselStyle
#text(weight: 700, 1.75em)[Data protection violations in {{ analysis.app.platform }} app "{{ analysis.app.name }}"]
= Introduction
I am a user of your {{ analysis.app.platform }} app "{{ analysis.app.name }}"{% if analysis.app.url %}#footnote[{{ analysis.app.url ... |
https://github.com/a-kkiri/CUMCM-typst-template | https://raw.githubusercontent.com/a-kkiri/CUMCM-typst-template/main/lib.typ | typst | Apache License 2.0 | #import "@preview/ctheorems:1.1.2": *
// 文本和代码的字体
#let songti = "SimSun"
#let heiti = "SimHei"
#let kaiti = "SimKai"
#let text-font = "Times New Roman"
#let code-font = "DejaVu Sans Mono"
#let cover(
title: "全国大学生数学建模竞赛 Typst 模板",
problem-chosen: "A",
team-number: "1234",
college-name: " ",
member: (
A:... |
https://github.com/MrHedmad/typst-paper | https://raw.githubusercontent.com/MrHedmad/typst-paper/main/src/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "The Paper Title",
authors: (
(
name: "<NAME>",
shortname: "J.D.",
email: "<EMAIL>",
affiliation: "*",
orcid: "0000-0000-0000-0000",
corresponding: true
),
(
name: "<NAME>",
shortname: "M.D.",
ema... | |
https://github.com/topdeoo/NENU-Thesis-Typst | https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/pages/bachelor-abstract.typ | typst | #import "../fonts/fonts.typ": font-family, font-size
#import "../utils/format.typ": invisible-heading, indent, fake-par, fakebold
#let bachelor-abstract(
//! 固定参数
two-side: false,
fonts: (:),
//! 摘要参数
display-lang: "cn",
keywords: (),
leading: 1em,
spacing: 1em,
//! 目录参数
toc-enable: true,
//! 摘要内... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/transform-layout_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that rotation impact layout.
#set page(width: 200pt)
#set rotate(reflow: true)
#let one(angle) = box(fill: aqua, rotate(angle)[Test Text])
#for angle in range(0, 360, step: 15) {
one(angle * 1deg)
}
|
https://github.com/mariunaise/HDA-Thesis | https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/plots/1bit_obs.typ | typst | #import "@preview/cetz:0.2.2": canvas, plot
#let data = csv("../../data/1bit.csv")
#let ndata = data.map(value => value.map(v => float(v)))// fucking hell is that cursed
#let dashed = (stroke: (dash: "dashed"))
#canvas({
plot.plot(size: (10,1),
x-tick-step: none,
x-ticks: ((1, [1]), (2, [2]), (3, [3]), (4, ... | |
https://github.com/medewitt/bio720 | https://raw.githubusercontent.com/medewitt/bio720/main/heyes.typ | typst | BSD 3-Clause "New" or "Revised" License | #import "template.typ": *
#show: ams-article.with(
title: "Reading notes: Simple minds: a qualified defence of associative learning",
authors: (
(
name: "<NAME>",
department: [Department of Biology],
organization: [Wake Forest University],
location: [Winston Salem, NC 27101],
email... |
https://github.com/cwickham/typst-div | https://raw.githubusercontent.com/cwickham/typst-div/main/README.md | markdown | # Typst-div Extension For Quarto
Adds a filter to pick up divs with a class that starts with `.typst_`. The contents of the div is passed to a function that matches the suffix of the class, e.g. `.typst_page` passes the content to the `page()` function. Attributes to the div are passed as named arguments.
## Install... | |
https://github.com/dmtr-m/typst-assignments-template | https://raw.githubusercontent.com/dmtr-m/typst-assignments-template/main/example.typ | typst | #import "template.typ": *
#let title = "Работа 1"
#let author = "<NAME>"
#let course = "Линейная Алгебра и Геометрия"
#let due_time = "1 января, 00:00"
#let group = "группа 1"
#show: footer_header.with(title, author, course, due_time, group)
#show: title_page.with(title, author, course, due_time, group)
#show: template... | |
https://github.com/loreanvictor/master-thesis | https://raw.githubusercontent.com/loreanvictor/master-thesis/main/thesis_typ/abstract_en.typ | typst | MIT License | #let abstract_en() = {
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: none,
number-align: center,
)
let body-font = "New Computer Modern"
let sans-font = "New Computer Modern Sans"
set text(
font: body-font,
size: 12pt,
lang: "en"
)
set par(
... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/grid-1.typ | typst | Apache License 2.0 | // Test that grid base for auto rows makes sense.
---
#set page(height: 150pt)
#table(
columns: (1.5cm, auto),
rows: (auto, auto),
rect(width: 100%, fill: red),
rect(width: 100%, fill: blue),
rect(width: 100%, height: 50%, fill: green),
)
---
#rect(width: 100%, height: 1em)
- #rect(width: 100%, height: 1em)... |
https://github.com/Lslightly/TypstTemplates | https://raw.githubusercontent.com/Lslightly/TypstTemplates/main/templates/pdfpage.typ | typst | MIT License | #let pdfPageURI(pdfAbsDir, pdfName, pageNum) = link("file://"+str(pdfAbsDir)+str(pdfName))[#pdfName page #pageNum]
|
https://github.com/Tyrn/wei | https://raw.githubusercontent.com/Tyrn/wei/master/case-of-the-azure-letter-ru.typ | typst | <NAME>. Дело о лазоревом письме
* ЧАСТЬ ПЕРВАЯ *
1
Позади столичной судебной управы, между каменной потрескавшейся
стеной и каналом, стоит памятник государю Иршахчану. Возле памятника день
и ночь горят четыре светильника, защищенных от дождя стеклянными
капюшонами, а пе... | |
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-worksheet/README.md | markdown | MIT License | # ttt-worksheet
`ttt-worksheet` is a *template* to create worksheets and belongs to the [typst-teacher-tools-collection](https://github.com/jomaway/typst-teacher-templates).
⚠️ **Only a placeholder right now will be added soon.**
## Usage
Run this command inside your terminal to init a new list.
```sh
typst ini... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.