repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/footnote-invariant-00.typ | typst | Other | #set page(height: 120pt)
#lorem(13)
There #footnote(lorem(20))
|
https://github.com/leo1oel/CSAPP | https://raw.githubusercontent.com/leo1oel/CSAPP/main/Homework/Homework2.typ | typst | #import "template.typ": *
#import "@preview/codly:0.2.0": *
#show: project.with(
title: "Homework Set 2 - Practical Skills and Concurrency",
authors: (
"<NAME> 2023010747",
)
)
#show: codly-init.with()
#codly(languages: (
c: (name: "C", icon: none, color: none),
))
#show table: set align(center)
#sho... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/document_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // This, too.
// // Error: 23-29 expected string, found integer
// #set document(author: (123,))
// What's up? |
https://github.com/nasyxx/lab-weekly-report | https://raw.githubusercontent.com/nasyxx/lab-weekly-report/master/example.typ | typst | // other packages in https://typst.app/docs/packages/
#import "@preview/chordx:0.2.0": *
#import "smwr.typ": smwr
#show: body => smwr("Nasy", datetime(year: 2024, month: 1, day: 5), body)
// abstract
This week's main tasks include:
- #lorem(10)
- #lorem(15)
- #lorem(5)
- Total time: 40 hours
= #lorem(10)
#lorem(1... | |
https://github.com/Amelia-Mowers/typst-tabut | https://raw.githubusercontent.com/Amelia-Mowers/typst-tabut/main/doc/example-snippets/tablex.typ | typst | MIT License | #import "@preview/tabut:<<VERSION>>": tabut-cells
#import "usd.typ": usd
#import "example-data/supplies.typ": supplies
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx
#tablex(
auto-vlines: false,
header-rows: 2,
/* --- header --- */
rowspanx(2)[*Name*], colspanx(2)[*Price*], (), rowspanx(2)[*Quan... |
https://github.com/jimipj/kamk-typst-templates | https://raw.githubusercontent.com/jimipj/kamk-typst-templates/main/README.md | markdown | MIT License | # KAMK Typst Templates
Typst templates trying to copy the appearance of KAMK's official Word templates.
## Fonts
If you are **not** running Windows, you will have to install [Calibri](https://wiki.debian.org/ppviewerFonts) font, or alternatively [Carlito](https://fonts.google.com/specimen/Carlito) font.
Carlito is ... |
https://github.com/catppuccin/typst | https://raw.githubusercontent.com/catppuccin/typst/main/src/lib.typ | typst | MIT License | #import "version.typ": version
#import "catppuccin.typ": catppuccin, themes, get-palette
#import "tidy/show-module.typ": show-module
|
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-04-21/24-04-21.typ | typst | #import "/template.typ": *
#show: project.with(
date: "21/04/24",
subTitle: "Meeting di retrospettiva e pianificazione",
docType: "verbale",
authors: (
"<NAME>",
),
timeStart: "15:00",
timeEnd: "16:00",
);
= Ordine del giorno
- Valutazione del progresso generale;
- Analisi retrospettiva;
- Candidatu... | |
https://github.com/Dherse/masterproef | https://raw.githubusercontent.com/Dherse/masterproef/main/masterproef/parts/5_examples.typ | typst | #import "../ugent-template.typ": *
= Examples of photonic circuit programming <sec_examples>
Several different application areas were mentioned in
@photonic_processors_use_cases, and in this section, some of these areas will be
demonstrated using the @phos programming language. The examples are meant to be
mockups of... | |
https://github.com/jdsee/htw_titlepage_typst | https://raw.githubusercontent.com/jdsee/htw_titlepage_typst/main/example.typ | typst | Apache License 2.0 | #import("htw_titlepage.typ"): *
#show: titlepage.with(
title: "A thesis written in Typst",
subtitle: "Bachelorarbeit",
subject: (name: "Angewandte Informatik", area: 4),
author: "<NAME>",
examiners: (
first: "Erstgutachter:in: Prof. Dr. X",
second: "Zweitgutachter:in: Dr. Y"
)
)
|
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/figures/neldermead.typ | typst | #import "@preview/cetz:0.2.2": canvas, plot, draw, vector
#let triangle = canvas(
{
import draw: *
line((0,0),(3,0),(1,2),(0,0), name: "line")
content("line.1%", anchor: "east")[$x_1$]
content("line.35%", anchor: "west", padding: .2)[$x_2$]
content("line.70%", anchor: "south", padding: .2)[$x_3... | |
https://github.com/8LWXpg/jupyter2typst | https://raw.githubusercontent.com/8LWXpg/jupyter2typst/master/test/test2.typ | typst | MIT License | #import "template.typ": *
#show: template
#block[
= 1.
== (a)
]
#block[
#code-block("using Plots
gr()
p = 0:0.01:1
I(p) = -p * log2(p)
H(p) = I(p) + I(1 - p)
plot(p, [I.(p), I.(1 .- p), H.(p)], label=[\"I(p)\" \"I(1-p)\" \"H(p)\"])"
, lang: "julia", count: 1)
]
#block[
#image("./img/985daaaacb50fe430f2a5eae9d7411... |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/0.typ | typst | #import "../cfg.typ": *
#show: cfg
$
"Prove that"
lim_(x -> a) f(x) = A <-> all({x_n} subset.eq E without a):
lim_(n -> oo) x_n = a -> lim_(n -> oo) f(x_n) = A
$
That is,
$(
all(epsilon > 0) ex(delta > 0) all(x in E):
0 < abs(x - a) < delta -> abs(f(x) - A) < epsilon
) <-> \
(
all({x_n} subset.eq E without a)... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/color.typ | typst | Apache License 2.0 | // Test color modification methods.
---
// Test CMYK color conversion.
#let c = cmyk(50%, 64%, 16%, 17%)
#stack(
dir: ltr,
spacing: 1fr,
rect(width: 1cm, fill: cmyk(69%, 11%, 69%, 41%)),
rect(width: 1cm, fill: c),
rect(width: 1cm, fill: c.negate()),
)
#for x in range(0, 11) {
box(square(size: 9pt, fill: c... |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/5-discussion/study-1.typ | typst | MIT License | #import "../../lib/mod.typ": *
== #study.H-1.full.n <s.d.study-1>
// Hypothesis 1:
// Reimplementing the original GBP Planner in a modern, flexible multi-agent simulator framework using a modern programming language will enhance the software's scientific communication and extendibility. This redevelopment will not onl... |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/imports/workarounds.typ | typst | Other | #import "@preview/codelst:2.0.1": sourcecode, sourcefile
#let shell(body) = {
let body = raw(body)
let kinds = (
"$": green.darken(30%),
"#": blue.darken(10%),
">": luma(40%),
" ": luma(100%),
)
let lines = body.text.split("\n").map(line => {
if line.at(0, default: "") in kinds and line.at(... |
https://github.com/maucejo/cnam_templates | https://raw.githubusercontent.com/maucejo/cnam_templates/main/src/presentation/_presentation_template.typ | typst | MIT License | #import "@preview/touying:0.5.2": *
#import "_slides.typ": *
#let cnam-presentation(
composante: "cnam",
color-set: "red",
..args,
body
) = {
show: touying-slides.with(
config-info(
title: none,
subtitle: none,
author: none,
over-title: none,
facade: "image"
),
conf... |
https://github.com/yomannnn/yomannnn.github.io | https://raw.githubusercontent.com/yomannnn/yomannnn.github.io/main/projects.typ | typst | #import "/book.typ": book-page
#show: book-page.with(title: "2023_11_02")
= My Projects | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/space_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that linebreak consumed surrounding spaces.
#align(center)[A \ B \ C]
|
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/brainstorm-auton-movement/entry.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "Brainstorm: Autonomous Movement",
type: "brainstorm",
date: datetime(year: 2023, month: 9, day: 11),
author: "<NAME>",
witness: "Violet Ridge",
)
In order to move the ... |
https://github.com/kazuyanagimoto/quarto-awesomecv-typst | https://raw.githubusercontent.com/kazuyanagimoto/quarto-awesomecv-typst/main/_extensions/awesomecv/typst-show.typ | typst | MIT License | // Typst custom formats typically consist of a 'typst-template.typ' (which is
// the source code for a typst template) and a 'typst-show.typ' which calls the
// template's function (forwarding Pandoc metadata values as required)
//
// This is an example 'typst-show.typ' file (based on the default template
// that shi... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/exploring/head.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### The `head` table
=== `head` 表
// `head` is a general header table with some computed metadata and other top-level information about the font as a whole:
`head`... |
https://github.com/fsr/rust-lessons | https://raw.githubusercontent.com/fsr/rust-lessons/master/src/lesson7.typ | typst | #import "slides.typ": *
#show: slides.with(
authors: ("<NAME>", "<NAME>"), short-authors: "H&A",
title: "Wer rastet, der rostet",
short-title: "Rust-Kurs Lesson 7",
subtitle: "Ein Rust-Kurs für Anfänger",
date: "Sommersemester 2023",
)
#show "theref": $arrow.double$
#show link: underline
#new-se... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/algo/seminars/main.typ | typst | #import "/utils/template.typ": conf
#import "/utils/datestamp.typ": datestamp
#show: body => conf(
title: "Алгоритмы",
subtitle: "Семинары",
author: "<NAME>, БПИ233",
year: [2024--2025],
body,
)
#datestamp("2024-09-09")
#include "./2024-09-09.typ"
#datestamp("2024-09-14")
#include "./2024-09-14.t... | |
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/notes/cs-masterclass.typ | typst | #import "@local/preamble:0.1.0": *
#show: project.with(
course: "",
sem: "Summer",
title: "Cauchy-Schwarz Masterclass",
subtitle: "Notes",
authors: ("<NAME>",),
)
= Starting with Cauchy
== Proofs
#prop(
"Cauchy-Schwarz",
)[For $a_i, b_i in RR$ we have $ a_1b_1 + a_2b_2 + dots.c + a_n b_n <= sqrt(a_1^2 +... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10980.typ | typst | Apache License 2.0 | #let data = (
("MEROITIC HIEROGLYPHIC LETTER A", "Lo", 0),
("MEROITIC HIEROGLYPHIC LETTER E", "Lo", 0),
("MEROITIC HIEROGLYPHIC LETTER I", "Lo", 0),
("MEROITIC HIEROGLYPHIC LETTER O", "Lo", 0),
("MEROITIC HIEROGLYPHIC LETTER YA", "Lo", 0),
("MEROITIC HIEROGLYPHIC LETTER WA", "Lo", 0),
("MEROITIC HIEROGLYP... |
https://github.com/dark-flames/apollo-typst | https://raw.githubusercontent.com/dark-flames/apollo-typst/main/packages/typst-apollo/lib.typ | typst | Apache License 2.0 | #import "./pages.typ"
#import "./book.typ" |
https://github.com/Mineorbit/cryptOgraph | https://raw.githubusercontent.com/Mineorbit/cryptOgraph/master/cryptograph.typ | typst | #let secpar = [#sym.lambda]
#let concat = [#sym.bar.v.double]
#let add_share(content) =
{
#sym.angle.l#content#sym.angle.r
}
| |
https://github.com/loreanvictor/master-thesis | https://raw.githubusercontent.com/loreanvictor/master-thesis/main/README.md | markdown | MIT License | # thesis-template-typst
This repository provides a comprehensive Typst template for writing your Bachelor's or Master's thesis at the CIT School of TUM (Technical University of Munich). It includes two types of documents: a proposal template and a thesis template, both specifically designed for students in the field of... |
https://github.com/Jollywatt/typst-wordometer | https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/tests/custom-counters/test.typ | typst | MIT License | #import "/src/lib.typ": *
#set page(width: 15cm, height: auto)
#let el = [
Hello there are 10 vowels here.
]
#rect(el)
#word-count-of(el, counter: txt => (vowels: lower(txt).matches(regex("[aeiou]")).len()))
|
https://github.com/gianzamboni/cancionero | https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/entre-oraculos.typ | typst | #import "../theme/project.typ": *;
#cancion("Entre oráculos","<NAME>", withCords: true, notas: [
#grid(columns: (1fr, 1fr))[
*Transporte III* \
#rasgeo("p", "r", "r")
][
#grid(columns: (1fr, 1fr, 1fr))[
#drawScaledChord("Am")
][
#drawScaledChord("Dm")
][
#drawScaledChord("E")
... | |
https://github.com/pku-typst/PKU-typst-template | https://raw.githubusercontent.com/pku-typst/PKU-typst-template/main/templates/通用/作业/themes/simple.typ | typst | MIT License | #import "@preview/linguify:0.4.1": load_ftl_data, linguify
#let languages = (
"zh",
"en",
)
#let lgf_db = eval(load_ftl_data("../L10n", languages))
#let linguify = linguify.with(from: lgf_db)
#let title(
course_name: none,
hw_no: none,
hw_week: none,
student_id: none,
student_name: none,
..args,
) = c... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/functions.typ | typst | #import "base-utils.typ": *
#import "prose.typ": prose-ref
// simple components
#let multiple-choice(
show-answer: false,
answer: "aaa",
lettering: "abcd",
choices: ("a", "b", "aaa", "xxx"),
layout: "vertical",
question
) = {
let letters = "ABCD"
let answerIndex = if exists(answer)... | |
https://github.com/typst/package-check | https://raw.githubusercontent.com/typst/package-check/main/README.md | markdown | Apache License 2.0 | # Typst package check
A tool to report common errors in Typst packages.
This tool can be used in three ways:
- `typst-package-check check`, to check a single package, in the current directory.
- `typst-package-check check @preview/NAME:VERSION` to check a given package in a clone of the `typst/packages` repository.
... |
https://github.com/juicebox-systems/ceremony | https://raw.githubusercontent.com/juicebox-systems/ceremony/main/instructions/README.md | markdown | MIT License | # Ceremony Instructions
This directory contains the ceremony instructions in source form.
## Build the PDF
You can build using Docker, which creates reproducible output:
```sh
./build.sh
```
Or, install [Typst](https://github.com/typst/typst) and then run:
```sh
typst compile --root .. ceremony.typ
```
This way ... |
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/calc/ens_fct.typ | typst | #import "../lib.typ": *
#show heading: heading_fct
On se propose ici de créer une structure de donnée permettant de représenter un ensemble infini sous la forme d’une fonction de `'a -> bool` déterministe et qui *termine toujours*. On fixe dans cet exercice $X$ un ensemble quelconque. On défini donc le type suivant en... | |
https://github.com/chen-qingyu/Typst-Code | https://raw.githubusercontent.com/chen-qingyu/Typst-Code/master/integral%202.typ | typst | #let LF = {v(3em); linebreak()}
$
& integral sqrt(1+x^2) dif x space ("let" x = tan t)
LF
=& I
LF
=& integral sec t dif tan t
LF
=& sec t tan t - integral tan t dif sec t
LF
=& sec t tan t - integral tan^2 t sec t dif t
LF
=& sec t tan t - integral (sec^2 t - 1) sec t dif t
LF
=& sec t tan t - integral ... | |
https://github.com/nogula/tufte-memo | https://raw.githubusercontent.com/nogula/tufte-memo/main/README.md | markdown | MIT License | # tufte-memo
A memo document template inspired by the design of <NAME> books for the Typst typesetting program.
For usage, see the usage guide [here](https://github.com/nogula/tufte-memo/blob/main/template/main.pdf).
The template provides handy functions: `template`, `note`, and `wideblock`. To create a document with... |
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/note-2/5.曲线积分与曲面积分.typ | typst | #import "../template.typ": *
#show: project.with(
course: "Calculus II",
course_fullname: "Calculus (A) II",
course_code: "821T0160",
semester: "Spring-Summer 2024",
title: "Note #5: 曲线积分与曲面积分",
authors: (
(
name: "memset0",
email: "<EMAIL>",
id: "3230104585",
),
),
date: "Apr... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/assert.typ | typst | --- assert-fail ---
// Test failing assertions.
// Error: 2-16 assertion failed
#assert(1 == 2)
--- assert-fail-message ---
// Test failing assertions.
// Error: 2-51 assertion failed: two is smaller than one
#assert(2 < 1, message: "two is smaller than one")
--- assert-bad-type ---
// Test failing assertions.
// Err... | |
https://github.com/augustebaum/tenrose | https://raw.githubusercontent.com/augustebaum/tenrose/main/internals.typ | typst | MIT License | #let plugin = plugin("tenrose.wasm")
#let double-precision = 1000
#let length-to-int(value) = {
calc.round(value * double-precision / 1pt)
}
#let int-to-length(value) = {
value / double-precision * 1pt
}
/// Encodes a 32-bytes integer into big-endian bytes.
#let encode-int(value) = {
bytes((
calc.rem(ca... |
https://github.com/rdboyes/resume | https://raw.githubusercontent.com/rdboyes/resume/main/modules_zh/professional.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("职业经历")
#cvEntry(
title: [数据科学主管],
society: [XYZ 公司],
logo: image("../src/logos/xyz_corp.p... | |
https://github.com/tuto193/typst-uos-thesis | https://raw.githubusercontent.com/tuto193/typst-uos-thesis/main/template.typ | typst | MIT License | #import "languages.typ": dict
// https://github.com/zagoli/simple-typst-thesis/blob/main/template.typ
// Small fancy stuff for creating tables
#let fancy-align(col, row) = {
if row == 0 { center }
else if col == 0 {left + horizon}
else {right + horizon}
}
#let fancy-fill(col, row) = {
if row == 0 {gray}
els... |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/l.typ | typst | #import "../cfg.typ": *
#show: cfg
$
"Prove that"
all("convergent series with positive members" sum_(n = 1)^oo a_n): \
A_n = sqrt(sum_(k = n)^oo a_k) - sqrt(sum_(k = n + 1)^oo a_k) ->
sum_(n = 1)^oo A_n "converges" and a_n =_(n -> oo) o(A_n)
$
$A_1 + A_2 + A_3 + ... + A_n =
sqrt(sum_(k = 1)^oo a_k) - sqrt(sum_(k = 2... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046%20-%20Streets%20of%20New%20Capenna/004_What%20You%20Expect%20to%20See.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"What You Expect to See",
set_name: "Streets of New Capenna",
story_date: datetime(day: 29, month: 03, year: 2022),
author: "<NAME>",
doc
)
The sun glittered off the glass and steel buildings of New Capenna, and a pair of green and red birds... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/destruction.typ | typst | Apache License 2.0 | #let (n, ..) = layout-node(node, 0, ctx)
#grid(
columns: (1fr,) * calc.min(3, authors.len()),
gutter: 1em,
..authors.map(author => align(center, text(font: author-font, author))),
)
#let books = (
Shakespeare: "Hamlet",
Homer: ("The Odyssey", "The Iliad"),
Austen: "Persuasion",
)
#let (Austen,) = books
A... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/substitution/manjari.typ | typst | Other | #import "/lib/draw.typ": *
#import "/template/lang.typ": malayalam
#let start = (0, 0)
#let end = (900, 350)
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (100, 100))
txt(malayalam[\u{0D15}\u{0D4D} + \u{0D38} = \u{0D15}\u{0D4D}\u{0D38}], (0, 350), anchor: "lt", size: 144 * ux)
txt(malayalam[\u{0D15}\... |
https://github.com/francescoo22/masters-thesis | https://raw.githubusercontent.com/francescoo22/masters-thesis/main/structure.typ | typst | // Frontmatter
#include "./preface/firstpage.typ"
#include "./preface/copyright.typ"
#include "./preface/abstract.typ"
#include "./preface/acknowledgements.typ"
#include "./preface/table-of-contents.typ"
// Mainmatter
#counter(page).update(1)
#set heading(numbering: "1.1", supplement: [Chapter])
// TODO: decide whe... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/4.typ | typst | #import "../cfg.typ": *
#show: cfg
$ "Prove that" all(x) in II: lim_(QQ in.rev r -> x) a^r = a^x $
$a^x = sup_(QQ in.rev r < x) a^r = inf_(QQ in.rev r > x) a^r$
$ex(r' < x): a^x - a^r' < epsilon$
$ex(r'' > x): a^r'' - a^x < epsilon$
$all(r in (r', r'')): abs(a^x - a^r) < epsilon$
| |
https://github.com/ivhacks/resume-template | https://raw.githubusercontent.com/ivhacks/resume-template/main/resume.typ | typst | #let author = "<NAME>"
#let accent_color = rgb("#d43520")
#let text_size = 11.3pt
#let name_font = "P052"
#let main_font = "Lato"
#let bullet_baseline = 1.6pt
#let contact_info(linkedin, email, phone) = {
set text(size: 12pt)
// Personal Info
align(center, [
#h(1fr)
#box(baseline: 25%, ima... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/scrutinize/0.1.0/src/question.typ | typst | Apache License 2.0 | #let _label = <scrutinize-question>
#let _builtin_counter = counter
#let _metadata_to_dict(m) = (..m.value, location: m.location())
/// The question counter
///
/// Example:
///
/// ```typ
/// #show heading: it => [Question #question.counter.display()]
/// ```
///
/// -> counter
#let counter = _builtin_counter(_label... |
https://github.com/thudep/award-cert-printer | https://raw.githubusercontent.com/thudep/award-cert-printer/master/template.typ | typst | #set page(paper: "a4",flipped: true, margin: (x: 0em,y:0em),background: image("bg.svg"))
#let tsinghua_purple=rgb(106,8,116)
#set text(tracking: 1.5pt)
#set underline(offset: 4pt)
#place(center,dy:12em, text(font: "Source Han Serif", lang: "zh", region: "cn",[*获奖证书*], size: 40pt,fill:tsinghua_purple))
#place(left,... | |
https://github.com/YunkaiZhang233/a-level-further-maths-topic-questions-david-game | https://raw.githubusercontent.com/YunkaiZhang233/a-level-further-maths-topic-questions-david-game/main/core-pure.typ | typst | #import "template.typ": *
#import "shortcut.typ": *
#let title = "Core Pure Topic Questions"
#let author = "<NAME>"
#let course_id = "Further Mathematics"
#let instructor = "<NAME>"
#let school_name = "David Game College"
#let written_time = "Spring 2024"
#show: assignment_class.with(title, author, course_id, instructo... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/themes/gallery/simple.md | markdown | # Simple theme

This theme is rather unobstrusive and might still be considered bare-bones.
It uses a minimal amount of colour and lets you define your slides' content very
freely.
Use it via
```typ
#import "@preview/polylux:0.2.0": *
#import themes.simple: *
#show: simple-theme.with(...)
```
... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/attach-p1.typ | typst | Apache License 2.0 | // Test t and b attachments, part 1.
---
// Test basics, postscripts.
$f_x + t^b + V_1^2 + attach(A, t: alpha, b: beta)$
---
// Test basics, prescripts. Notably, the upper and lower prescripts' content need to be
// aligned on the right edge of their bounding boxes, not on the left as in postscripts.
$
attach(upright... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-styling_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test inset.
#grid(
columns: (1fr,) * 3,
stroke: 2pt + rgb("333"),
inset: 5pt,
[A], [B], [C], [], [], [D \ E \ F \ \ \ G], [H],
)
#grid(
columns: 3,
inset: 10pt,
fill: blue,
[A], [B], [C]
)
#grid(
columns: 3,
inset: (y: 10pt... |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/examples/exam-mathematics-sugar.typ | typst | MIT License | #import "../src/lib.typ": *
#show: g-exam.with(
author: (
name: "<NAME>, <NAME>,",
email: "<EMAIL>",
watermark: "Teacher: Möbius",
),
school: (
name: "Sunrise Secondary School",
logo: read("./logo.png", encoding: none),
),
exam-info: (
academic-period: "Academic year 20... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/math-realize_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
$ x^2 #hide[$(>= phi.alt) union y^2 0$] z^2 $
Hello #hide[there $x$]
and #hide[$ f(x) := x^2 $]
|
https://github.com/agarmu/typst-templates | https://raw.githubusercontent.com/agarmu/typst-templates/main/apa/template.typ | typst | MIT License | #let script-size-rel = 0.75;
#let footnote-size-rel = 0.933;
#let small-size-rel = 0.90;
#let apa-paper(
title: "Paper Title",
running-head: "RUNNING HEAD",
subtitle: "subtitle",
first-page-omits-running-head: true,
abstract: none,
keywords: (),
authors: (),
affiliation: [],
bibliography-file: none,
fontname... |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_155%20-%20Differential%20Analysis%201/Assignments/Midterm.typ | typst | #import "/Templates/generic.typ": latex, header
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#import "/Templates/assignment.typ": *
#show: doc => header(title: "Midterm", name: "<NAME>", doc)
#show: latex
#show: NumberingAfter
#show: thmrules
#let col(x, clr) = text(fill: clr)[$#x$]
#let pb() ... | |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/18-lovci-hlav.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": dilo
#dilo("Lovci hlav", "lovci", "<NAME>", "<NAME>", "současnost", "Norsko", "2011", "epika", "severská detektivka")
#columns(2, gutter: 1em)[
*Téma*\
Záchrana vlastního života kvůli korporátnímu spiknutí.
*Motivy* -- vražda, nevěra, krádež, pomsta
*Časoprostor* -- současnost, běhe... |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/src/shapes.typ | typst | MIT License | #import "deps.typ": cetz
#import cetz: draw, vector
/// The standard rectangle node shape.
///
/// A string `"rect"` or the element function `rect` given to
/// #the-param[node][shape] are interpreted as this shape.
///
/// #diagram(
/// node-stroke: green,
/// node-fill: green.lighten(90%),
/// node((0,0), `rect`,... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/020%20-%20Prologue%20to%20Battle%20for%20Zendikar/004_Catching%20Up.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Catching Up",
set_name: "Prologue to Battle for Zendikar",
story_date: datetime(day: 22, month: 07, year: 2015),
author: "<NAME>",
doc
)
#emph[The mind mage <NAME> is many things to many people. Chief among his current responsibilities is t... | |
https://github.com/skyl4b/typst-templates | https://raw.githubusercontent.com/skyl4b/typst-templates/main/README.md | markdown | MIT License | # typst-templates
Some academic typst templates for university related work
|
https://github.com/hchap1/Typst-Renderer-Discord-Bot | https://raw.githubusercontent.com/hchap1/Typst-Renderer-Discord-Bot/main/buf.typ | typst | #set text(fill: rgb("eeeeee"))
#set page(fill: rgb("313338"), width: auto, height: auto, margin: (top: 0.3cm, bottom: 0.3cm, left: 0.3cm, right: 0.3cm))
$2$ | |
https://github.com/xhalo32/constructive-logic-course | https://raw.githubusercontent.com/xhalo32/constructive-logic-course/master/notes/muistiinpanot.typ | typst | Formalisointi-kappaleen tehtäväideoita:
- Löydä tyyppi todistukselle
- Täytä todistus
- Muodosta sanalliselle lauseelle formaali versio
Muuta formalisointi-kappaleeseen:
- Lean-blueprint
- Suuret formalisointiprojektit
- Fermat'n suuri lause ja korollaareja | |
https://github.com/RakuJa/Space_Communication_Notes | https://raw.githubusercontent.com/RakuJa/Space_Communication_Notes/main/template.typ | typst | MIT License | #import "@preview/chic-hdr:0.4.0": *
#import "@preview/physica:0.9.3": *
#let buildMainHeader(mainHeadingContent) = {
[
#align(center, smallcaps(mainHeadingContent))
#line(length: 100%)
]
}
#let buildSecondaryHeader(mainHeadingContent, secondaryHeadingContent) = {
[
#smallcaps(mainHeadingContent) ... |
https://github.com/vncsb/desec-typst-template | https://raw.githubusercontent.com/vncsb/desec-typst-template/main/cover.typ | typst | #show link: underline
#set page(
paper: "us-letter",
margin: 0pt,
background: image("images/cover.jpg", width: 101%),
)
#v(26cm)
#h(7cm)
#place(left, dx: 4.5cm)[
#set text(font: "Roboto", size: 10pt)
#align(center)[
*CONFIDENCIAL* \
Copyright © Desec Security \
#link("(https://www.desecsecurity.co... | |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/upsa-bo/estudio-de-factibilidad/template/capítulos/4.estudio%20de%20la%20materia%20prima%20e%20insumos.typ | typst | MIT License | = Estudio de la Materia Prima e Insumos
== Identificación
=== Nombre Científico y Comercial
=== Características Organolépticas
=== Características Físico-Químicas
=== Atributos de Calidad a Analizar
=== Métodos de Toma de Muestra
=== Equipos para el Análisis
=== Atributos de Aceptación
== Procesos de Transporte, Manipu... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/WS-05.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Women's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [陈梦], [CHN], [3419],
[2], [刘诗雯], [CHN], [3408],
[3], [朱雨玲], [MAC], [3408],
[4], [丁宁], [CHN], [3312],
[5], [王曼昱], [CHN], [3310],
... | |
https://github.com/Enter-tainer/typst-preview | https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/config.typ | typst | MIT License | #import "./book.typ": book-page
#import "./templates/gh-page.typ": page-width, is-dark-theme
#import "@preview/fontawesome:0.1.0": *
#import "@preview/colorful-boxes:1.1.0": *
#show: book-page.with(title: "Configuration")
#show link: underline
= Extension Configuration Options
The following are the available options... |
https://github.com/andreasKroepelin/TypstJlyfish.jl | https://raw.githubusercontent.com/andreasKroepelin/TypstJlyfish.jl/main/typst/lib.typ | typst | MIT License | #import "jlyfish.typ": jl, jl-raw, jl-pkg, read-julia-output
|
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/016.%20spam.html.typ | typst | spam.html
A Plan for Spam
Like to build things? Try Hacker
News.
August 2002(This article describes the spam-filtering techniques
used in the spamproof web-based mail reader we
built to exercise Arc. An
improved algorithm is described in Better
Bayesian Filtering.)I think it's possible to stop spam, and that
co... | |
https://github.com/td-org-uit-no/assignment-template-typst | https://raw.githubusercontent.com/td-org-uit-no/assignment-template-typst/main/template.typ | typst | // This function gets your whole document as its `body`.
#let template(
// The Assignment's title.
title: [Assignment Title],
// An array of authors. For each author you can specify a name,
// department, organization, location, and email. Everything but
// but the name is optional.
authors: (),
// The as... | |
https://github.com/ice1000/website | https://raw.githubusercontent.com/ice1000/website/main/dtt-dev/assemble.typ | typst | #let setup-authors(authors) = {
pad(
top: 0.5em,
bottom: 0.5em,
x: 2em,
grid(
columns: (1fr,) * calc.min(3, authors.len()),
gutter: 1em,
..authors.map(author => align(center)[
*#author.name* \
#author.email
]),
),
)
}
#import "config.typ": *
#show: dtt.wit... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-10.typ | typst | Other | // Error: 3-15 cannot divide by zero
#(15deg / 0deg)
|
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/labels.md | markdown | MIT License | # Labels
## Get chapter of label
```typ
#let ref-heading(label) = context {
let elems = query(label)
if elems.len() != 1 {
panic("found multiple elements")
}
let element = elems.first()
if element.func() != heading {
panic("label must target heading")
}
link(label, element.body)
}
= Design <desig... |
https://github.com/3akev/autofletcher | https://raw.githubusercontent.com/3akev/autofletcher/main/autofletcher.typ | typst | MIT License | #import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge
// math helpers
#let vecadd(v1, v2) = v1.zip(v2).map(x => x.sum())
#let vecmult(v1, v2) = v1.zip(v2).map(x => x.product())
#let vecmultx(v, s) = (v.at(0) * s, v.at(1))
/// Calculates the relative position of a child node, like in a tree
///
/// Don... |
https://github.com/LDemetrios/Conspects-4sem | https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/styles/theme-dispatch.typ | typst | #import "/typst/styles/themes/sepia.typ": *
| |
https://github.com/tzx/NNJR | https://raw.githubusercontent.com/tzx/NNJR/main/resume_yaml.typ | typst | MIT License | #import "yml.typ": yml_resume
#let resume_data = yaml("example.yml")
#yml_resume(resume_data)
|
https://github.com/matnut2/SlidesBSc | https://raw.githubusercontent.com/matnut2/SlidesBSc/master/README.md | markdown | # polylux-unipd
[Polylux](https://github.com/andreasKroepelin/polylux) theme inspired by [beamer-padova](https://www.math.unipd.it/~burattin/other/tema-latex-beamer-padova/), roughly based on [typst-slides-unipd](https://github.com/SkiFire13/typst-slides-unipd) and [polylux-university](https://github.com/andreasKroepe... | |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/infix.typ | typst | == Funciones Infijas
Las funciones infijas en Kotlin permiten llamar a una función sin usar un punto y paréntesis, haciendo el código más legible.
Estas funciones solo requieren un argumento y tienen ciertos requisitos para ser definidas.
=== Requisitos para Funciones Infijas
- Debe ser miembro de una clase o una ex... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/frontend/main.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book-page.with(title: "Tinymist Editor Frontends")
Leveraging the interface of LSP, tinymist provides frontends to each editor, located in the #link("https://github.com/Myriad-Dreamin/tinymist/tree/main/editors")[editor folders]. They are minimal, meaning that LSP should finish its main LS... |
https://github.com/pauladam94/curryst | https://raw.githubusercontent.com/pauladam94/curryst/main/examples/rule-as-premise.typ | typst | MIT License | #import "../curryst.typ": rule, proof-tree
#set document(date: none)
#set page(width: auto, height: auto, margin: 0.5cm, fill: white)
#proof-tree(
rule(
name: $R$,
$C_1 or C_2 or C_3$,
rule(
name: $A$,
$C_1 or C_2 or L$,
rule(
$C_1 or L$,
$Pi_1$,
),
),
rule... |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap6/2_kirchhoffs_voltage_law.typ | typst | Other | #import "../../core/core.typ"
=== Kirchhoff\'s Voltage Law (KVL)
Let\'s take another look at our example series circuit, this time
numbering the points in the circuit for voltage reference:
#image("static/00110.png")
If we were to connect a voltmeter between points 2 and 1, red test lead
to point 2 and black test l... |
https://github.com/RiccardoTonioloDev/Bachelor-Thesis | https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/appendix/bibliography/bibliography.typ | typst | Other | #pagebreak(to: "odd")
// Hayagriva format
#bibliography("bibliography.yml") |
https://github.com/Henriquelay/pathsec-checker | https://raw.githubusercontent.com/Henriquelay/pathsec-checker/main/presentation/figures/detour_boxes.typ | typst | #set page(width: auto, height: auto, margin: (x: 0pt, y: 0pt))
#set text(font: "DejaVu Sans Mono")
#let myswitch(name, digest, expected) = {
box[
#table(
columns: 2,
fill: if (digest == expected) {
lime
} else {
red
},
align: (right, left),
[name], [#name],
... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/hover/builtin_var2.typ | typst | Apache License 2.0 |
#(/* ident after */ sys.version);
|
https://github.com/barddust/Kuafu | https://raw.githubusercontent.com/barddust/Kuafu/main/src/BeforeMathematics/logic.typ | typst | #import "/mathenv.typ": *
= Mathematical Logic
== Statements
#definition(name: "statements")[
*Statements* are one of the basic sentences in linguistics. A statement consists of at least two objects:
+ The subject, say $x$;
+ The predicate, which a description or a property to modify the subject, say $P$.
Th... | |
https://github.com/nafkhanzam/typst-common | https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/touying-themes/its-mooc.typ | typst | #import "its-theme.typ": *
#let its-mooc-theme(
title,
subtitle,
author: [<NAME>, S.T., M.T.],
institution: [
Department of Informatics \
Faculty of Intelligent Electrical and Informatics Technology \
Institut Teknologi Sepuluh Nopember
],
logo: image("its-logo.png", width: 4em),
copyright: [... | |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/religion/quiz1.typ | typst | #import "template.typ": *
#show: template.with(
title: "Quiz 1 Prep",
subtitle: "24.05"
)
= Audi
== Secular Motivation
| |
https://github.com/dldyou/Operation-System | https://raw.githubusercontent.com/dldyou/Operation-System/main/typst/template.typ | typst | #let team_name = "dldyou"
#let title = "운영체제 기말 정리본"
#let sub_title = "2024-1"
#let authors = (
team_name,
)
#let head = {
[
#text(weight: 700)[#team_name]
#text(weight: 400)[#sub_title]
#h(1fr)
#text(weight: 400)[#title]
#line(length: 100%, stroke: 0.2pt)
]
}
#let prompt(content, lang:... | |
https://github.com/JakMobius/courses | https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem05/cheat-sheet/main.typ | typst |
#import "../../theme/asm.typ": *
#import "../../theme/theme.typ": *
#set page(width: 297mm, height: 210mm)
#set page(margin: 10mm)
#place(bottom + center, dy: 0.45cm)[
Архитектура компьютеров и операционные системы, МФТИ, 10 октября 2024.
]
#grid(columns: (50%, 50%),
[
= Семинар 5 - Ассемблер AArch64.
== Зад... | |
https://github.com/isaacew/aiaa-typst | https://raw.githubusercontent.com/isaacew/aiaa-typst/master/main.typ | typst | //***************************************************************
// AIAA TYPST TEMPLATE
//
// The author of this work hereby waives all claim of copyright
// (economic and moral) in this work and immediately places it
// in the public domain; it may be used, distorted or
// in any manner whatsoever without further ... | |
https://github.com/ckunte/m-one | https://raw.githubusercontent.com/ckunte/m-one/master/inc/stormsafety.typ | typst | = Storm safety
Jacket resting on its bottom remains exposed to oncoming waves in its pre and partially piled states during installation. In these states, it is susceptible to sliding and overturning from environmental actions. It is deemed storm-safe when secured with sufficient number of piles to withstand installati... | |
https://github.com/ticks-tan/wtu-typst | https://raw.githubusercontent.com/ticks-tan/wtu-typst/main/template/wtu-essays.typ | typst | #import "@preview/codelst:2.0.0": sourcecode
#import "@preview/tablem:0.1.0": tablem
// World 字号对应 pt
#let FontSize = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
... | |
https://github.com/shiki-01/typst | https://raw.githubusercontent.com/shiki-01/typst/main/lib/conf.typ | typst | #import "component/comment.typ": comment
#import "component/title.typ": head
#import "component/description.typ": description
#import "@preview/whalogen:0.1.0": ce as whalogen
#let come(title, type, body) =[ #comment(title, type, body) ]
#let desc(name, body) = [ #description(name, body) ]
#let ce(body) = [ $#whalog... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/image_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test all three fit modes.
#set page(height: 50pt, margin: 0pt)
#grid(
columns: (1fr, 1fr, 1fr),
rows: 100%,
gutter: 3pt,
image("/assets/files/tiger.jpg", width: 100%, height: 100%, fit: "contain"),
image("/assets/files/tiger.jpg", widt... |
https://github.com/rxt1077/it610 | https://raw.githubusercontent.com/rxt1077/it610/master/markup/exercises/hello-k8s.typ | typst | #import "/templates/exercise.typ": exercise, code, admonition
#show: doc => exercise(
course-name: "Systems Administration",
exercise-name: "Hello Kubernetes",
doc,
)
== Goals
+ Start the built-in version of Kubernetes in Docker Desktop
+ Build a custom Docker image for a web app
+ Create a Kubernetes deployme... | |
https://github.com/arthurcadore/eng-telecom-workbook | https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-8/COM2/homework1/homework.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#import "@preview/codelst:2.0.1": sourcecode
#show heading: set block(below: 1.5em)
#show par: set block(spacing: 1.5em)
#set text(font: "Arial", size: 12pt)
#set text(lang: "pt")
#set page(
footer: "Engenharia de Telecomunicações - IFSC-SJ",
)
#show: doc => report(
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.