repo stringlengths 27 90 | file stringlengths 57 176 | language stringclasses 2
values | license stringclasses 13
values | content stringlengths 25 180k |
|---|---|---|---|---|
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/examples/sincx-doc.typ | typst | MIT License | #import "/src/tidy.typ"
#set text(font: "Arial")
#set page(width: auto, height: auto, margin: 0em)
#import "/examples/sincx.typ"
#let docs = tidy.parse-module(
read("/examples/sincx.typ"),
scope: (sincx: sincx),
preamble: "#import sincx: *;"
)
#set heading(numbering: none)
#block(
width: 12cm,
fill: ... |
https://github.com/kamack38/cram-snap | https://raw.githubusercontent.com/kamack38/cram-snap/main/template/main.typ | typst | MIT License | #import "@preview/cram-snap:0.2.0": cram-snap, theader
#set page(
paper: "a4",
flipped: true,
margin: 1cm,
)
#set text(font: "Arial", size: 11pt)
#show: cram-snap.with(
title: [Git Cheatsheet],
icon: image("git-icon.svg"),
)
#table(
theader[Adding changes],
[`git add -u <path>`], [Add all tracked files... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/visualize/ellipse.typ | typst | // Test the `ellipse` function.
--- ellipse ---
// Default ellipse.
#ellipse()
--- ellipse-auto-sizing ---
#set rect(inset: 0pt)
#set ellipse(inset: 0pt)
Rect in ellipse in fixed rect.
#rect(width: 3cm, height: 2cm, fill: rgb("2a631a"),
ellipse(fill: forest, width: 100%, height: 100%,
rect(fill: conifer, width... | |
https://github.com/parallel101/cppguidebook | https://raw.githubusercontent.com/parallel101/cppguidebook/main/misc/typst/unicode.typ | typst | Other | #set text(
font: "Noto Serif CJK SC",
size: 7pt,
)
#set page(
paper: "a6",
margin: (x: 1.8cm, y: 1.5cm),
header: align(right, text(5pt)[
Unicode 宇宙
]),
numbering: "1",
)
#set par(justify: true)
#set heading(numbering: "1.")
#show "Unicode": name => box[
#text(fill: rgb("#4d932e"))[*#name*]
]
#show... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/001_Episode%201%3A%20Triumph%20of%20the%20Fleshless.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 1: Triumph of the Fleshless",
set_name: "March of the Machine",
story_date: datetime(day: 16, month: 04, year: 2023),
author: "<NAME>",
doc
)
It is good to be Phyrexian.
It is good to be Elesh Norn.
This has always been true, but ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/win32-x64-msvc/README.md | markdown | Apache License 2.0 | # `@myriaddreamin/typst-ts-node-compiler-win32-x64-msvc`
This is the **x86_64-pc-windows-msvc** binary for `@myriaddreamin/typst-ts-node-compiler`
|
https://github.com/augustebaum/petri | https://raw.githubusercontent.com/augustebaum/petri/main/src/fletcher-shapes.typ | typst | MIT License | #import "@preview/cetz:0.2.2" as cetz: draw
#import "@preview/fletcher:0.4.2" as fletcher: node, edge, shapes
#let _label(label, anchor: "north", padding: 0.5em, name: "node", ..args) = {
let opposite-anchor = (
"north-west": "south-east",
"north": "south",
"north-east": "south-west",
"west": "east",... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/shaping-layout.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
== #tr[shaping]和#tr[layout]
// I've called this book "Fonts and Layout for Global Scripts", because I wanted it to be about the whole journey of getting text through ... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-bare-02.typ | typst | Other | // Test style precedence.
#set text(fill: eastern, size: 1.5em)
#show: text.with(fill: red)
Forest
|
https://github.com/japanoise/strategos-m | https://raw.githubusercontent.com/japanoise/strategos-m/main/README.md | markdown | Creative Commons Attribution Share Alike 4.0 International | # Strategos M
A medieval wargame inspired by <NAME>'s "Valley Forge" and "Strategos N",
and the [Twin Cities group's use of <NAME>'s
Strategos][twincities] in the pre-historic days of the fantasy roleplaying
hobby.
[twincities]: https://playingattheworld.blogspot.com/2013/01/strategos-in-twin-cities.html
## Download... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/linebreak-08.typ | typst | Other | // Test comments at the end of a line
First part//
Second part
// Test comments at the end of a line with pre-spacing
First part //
Second part
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/page-style-00.typ | typst | Other | // Empty with styles
// Should result in one green-colored A11 page.
#set page("a11", flipped: true, fill: green)
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/packages.typ | typst | Apache License 2.0 | // Test package imports
// Ref: false
---
// Test import without items.
#import "@test/adder:0.1.0"
#test(adder.add(2, 8), 10)
---
// Test import with items.
#import "@test/adder:0.1.0": add
#test(add(2, 8), 10)
---
// Test too high required compiler version.
// Error: 9-29 package requires typst 1.0.0 or newer (cur... |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw12.typ | typst | #import "../../template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: note.with(
title: "作业12",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false
)
= 12.14
== P125
===
设 $f(x) = x^(p^e) - alpha$ 的分裂域为... | |
https://github.com/Complex2-Liu/macmo | https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-06.typ | typst | #import "../lib/math.typ": problem, proof, note, ans
#problem[
已知 $A B C D$ 是凸四边形, 求证以下不等式
$ max(A B + C D, A D + B C) < A C + B D < A B + B C + C D + D A. $
]
#proof[
设 $A C, B D$ 的交点为 $O$. 我们有 $ O A + O B &> A B \ O C + O D &> C D $
所以 $A C + B D > A B + C D$. 同理可证 $A C + B D > A D + B C$.
另一方面, 我们有 $ A B... | |
https://github.com/maucejo/presentation_polylux | https://raw.githubusercontent.com/maucejo/presentation_polylux/main/template/main.typ | typst | MIT License | #import "@preview/presentation-template:0.3.0": *
#import "../src/presentation-template.typ": *
// Titre - Facultatif - Peut être écrit directement dans le #title-slide
#let title = [Titre
#v(-0.5em)
#line(length: 15%, stroke: 0.075em + colors.red)
#v(-0.5em)
#text(size: 0.8em, [Sous-titre])
]
// Laboratoire - Facult... |
https://github.com/Origami404/kaoyan-shuxueyi | https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/概率与统计.typ | typst | #import "./template.typ": sectionline, gray_table, colored
#let Ex = $upright(E)$
#let Var = $upright(D)$
#let Cov = $"Cov"$
= 概率与统计
== 常用概念
#set list(marker: ([★], [⤥], [›]))
- 抽签原理: 不放回抽样, 第 $k$ 次抽到的概率和第一次抽到的概率是一样的
- 多个变量互相独立 $=>$ 两两独立, 反之不然
- 随机变量是样本空间到 $RR$ 的函数
- 累积分布函数 (CDF) $F(x) = P{X <= x}$
- 概率分布函数 PD... | |
https://github.com/azzamsa/cv-template | https://raw.githubusercontent.com/azzamsa/cv-template/master/utils.typ | typst | Apache License 2.0 | // Helper Functions
#let monthname(n, display: "short") = {
n = int(n)
let month = ""
if n == 1 {
month = "January"
} else if n == 3 {
month = "March"
} else if n == 2 {
month = "February"
} else if n == 4 {
month = "April"
} else if n == 5 {
month = "May"
} else if n == 6 {
mon... |
https://github.com/AnsgarLichter/hka-thesis-template | https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/chapters/1_introduction.typ | typst |
#import "/common/todo.typ": *
#import "@preview/glossarium:0.2.6": gls, glspl
#import "/thesis/template.typ": flex-caption
= Introduction
#lorem(800)
== Motivation
#lorem(250)
#lorem(36)
#lorem(30)
=== Third Level
#lorem(550)
== Objective
#lorem(300)
This is an example citation @Smith.2020. #gls("oidc") mea... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/with.typ | typst | Apache License 2.0 | #let f(x) = x;
#let g = f.with(1);
#let x = g() |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-10.typ | typst | Other | // Error: 14-15 divisor must not be zero
#calc.rem(5, 0)
|
https://github.com/HeZeBang/shtthesis-typst | https://raw.githubusercontent.com/HeZeBang/shtthesis-typst/main/README.md | markdown | MIT License | # [Building] ShangHaiTech university THESIS (shtthesis-typst)
An unofficial **Typst** thesis template for ShanghaiTech University. (Building)
> [!warning]
>
> This project is currently under development! Despite our efforts, we are unable to guarantee the accuracy of the template.
>
> Additionally, **Typst** is cont... |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/states/states.md | markdown | MIT License | # States
<div class="warning">This section is outdated. It may be still useful, but it is strongly recommended to study new context system (using the reference).</div>
Before we start something practical, it is important to understand states in general.
Here is a good explanation of why do we _need_ them: [Official... |
https://github.com/veilkev/jvvslead | https://raw.githubusercontent.com/veilkev/jvvslead/Typst/files/7_prices.typ | typst | #import "../sys/packages.typ": *
#import "../sys/sys.typ": *
#import "../sys/header.typ": *
| |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/orwell.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": autor
#autor("jorjor wel", "1903", "1950 (46 let)", "žurnalista, esejista, literární kritik", "Eton College", "antiautoritářský, dystopie", "/cj-autori/media/orwell.jpg")
<NAME>, vlastním jménem <NAME>, byl britský spisovatel, novinář a esejista, známý svou ostrou kritikou totalitních režimů a ... |
https://github.com/justmejulian/typst-documentation-template | https://raw.githubusercontent.com/justmejulian/typst-documentation-template/main/theme/constant.typ | typst | #let body-font = "Helvetica Neue"
#let sans-font = "Helvetica Neue"
#let font-size = 12pt
| |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliEsterni/VerbaleEsterno_240313/meta.typ | typst | MIT License | #let data_incontro = "13-03-2024"
#let inizio_incontro = "16:30"
#let fine_incontro = "17:00"
#let luogo_incontro = "Google Meet"
#let company = "Sync Lab" |
https://github.com/piepert/philodidaktik-hro-phf-ifp | https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/main.typ | typst | Other | //#ONLY_COMPILE_US
//#COMPILE_NAME:KÜK.pdf
//#COMPILE_NAME:KÜK-{YEAR}-{MONTH}.pdf
#import "/src/template.typ": *
#show: project.with()
#include "parts/ephid/ephid.typ"
#include "parts/spue/spue.typ" |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/2105-linebreak-tofu_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#linebreak()中文
|
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/examples/funny-math/custom-style.typ | typst | MIT License | #import "../../src/tidy.typ"
#import tidy.utilities: *
// Color to highlight function names in
#let fn-color = rgb("#4b69c6")
// Colors for Typst types
#let type-colors = (
"content": rgb("#a6ebe6"),
"color": rgb("#a6ebe6"),
"string": rgb("#d1ffe2"),
"none": rgb("#ffcbc4"),
"auto": rgb("#ffcbc4"),
"boole... |
https://github.com/furkan/cv | https://raw.githubusercontent.com/furkan/cv/main/modules/experience.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Experience")
#cvEntry(
title: [Team Lead],
society: [Novit.AI],
date: [Oct 2023 - Present],
location: [Ankara, TR],
description: list(
[Lead a tech team of seven engineers.],
[Operated accumulation and distribution of know-how in th... |
https://github.com/MattiaOldani/Informatica-Teorica | https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/template.typ | typst | #let project(title: "", body) = {
set document(title: title)
set text(font: "Source Sans Pro", lang: "it")
set par(justify: true)
set heading(numbering: "1.")
set list(indent: 1.2em)
set enum(indent: 1.2em)
set page(numbering: "1")
align(center)[
#block(text(weight: 700, 1.... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/src/mt2.typ | typst | MIT License | #import "@local/evan:1.0.0":*
= Practice midterm 2 <ch-mt2>
Here is a practice midterm that I wrote to help students prepare for the actual exam.
(It was given on October 21, 2024 from 3:05pm-3:55pm.)
Unlike @ch-mt1, these are meant to be normal-ish difficulty problems,
not special hand-crafted challenges.
#prob[
... |
https://github.com/jw2476/cslog | https://raw.githubusercontent.com/jw2476/cslog/master/devlogs/mod.typ | typst | = Devlogs
#include("triangle/mod.typ")
#include("buffer_race_conditions/mod.typ")
#include("client_server_data_representation/mod.typ") | |
https://github.com/typst-tud/tud-slides | https://raw.githubusercontent.com/typst-tud/tud-slides/main/example/example.typ | typst | Apache License 2.0 | #import "@preview/touying:0.4.2": *
#import "../tud-slides.typ"
#let s = tud-slides.register(aspect-ratio: "16-9", debug: false)
#let s = (s.methods.info)(
self: s,
title: [Your Title],
subtitle: [Your Subtitle],
author: [<NAME>],
date: datetime.today(),
institution: [Institution],
location: [Location],
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/salsa-dip/0.1.0/examples/74ls00.typ | typst | Apache License 2.0 | #import "@preview/salsa-dip:0.1.0": dip-chip-label
#set text(font: ("JetBrains Mono", "Fira Code", "DejaVu Sans Mono"), weight: "extrabold")
#set page(width: auto, height: auto, margin: .125cm)
/// Settings Values:
/// chip-label-size: Font size for the chip label
/// pin-number-margin: Margin to give next to pin num... |
https://github.com/CardboardTurkey/CV | https://raw.githubusercontent.com/CardboardTurkey/CV/main/main.typ | typst | MIT License | #import "twentysecondcv.typ": *
#set text(font: "PT Sans")
#let blue_link(url, desc) = {
link(url, text(fill: blue, underline(desc)))
}
/*
#1 period, like From - To
#2 title
#3 note, basic note
#4 addtional_note
#5 body: the main body
*/
#let openwork(
period: "",
title: "",
note: "",
addtional_note: "",
... |
https://github.com/mdgrs/resume-typst | https://raw.githubusercontent.com/mdgrs/resume-typst/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Professional Experience")
#cvEntry(
title: [Senior Machine Learning Engineer],
society: [Inpher],
logo: "../src/logos/inpher.png",
date: [2020 - Present],
location: [Lausanne, Switzerland],
description: list(
[Design and adapt machine le... |
https://github.com/Enter-tainer/delimitizer | https://raw.githubusercontent.com/Enter-tainer/delimitizer/main/demo.typ | typst | MIT License | #import "lib.typ": big, Big, bigg, Bigg, paired-delimiter
#set page(height: auto, width: auto, fill: white)
=== `delimitizer`: customize the size of the delimiter
#let parn = paired-delimiter("(", ")")
$
parn(size: bigg,
parn(size: big, (a+b)times (a-b))
div
parn(size: big, (c+d)times (c-d))
) + d \ = (a^2-b^2) ... |
https://github.com/jrihon/cv | https://raw.githubusercontent.com/jrihon/cv/main/sections/other_skills.typ | typst | #import "../brilliant-template/template.typ": *
#pagebreak()
#cvSection("Other skills")
#columns(2, gutter: 11pt)[
#cvSubSection("Student Associations")
- *LHC Plutonica* #text("Secretary (2020-2021)", fill: regularColors.lightgray): Design template for annual magazine. Document and virtualise all activities.
- *LH... | |
https://github.com/dariakoz/Typst-Template | https://raw.githubusercontent.com/dariakoz/Typst-Template/main/Abschnitte/Thema%202.typ | typst | #import "@preview/sourcerer:0.2.1": code
= Analyse
== Ist-Zustand
=== Mobile Anwendung
Test:
#figure(
caption: [Auszug aus der `MainActivity.cs`],
kind: raw,
code(
number-align: right,
lang: "C#",
```cs
protected override void OnActivityResult([GeneratedEnum] int requestCode, Result resultCode, I... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/g-exam/0.3.0/src/g-question.typ | typst | Apache License 2.0 | #import"./global.typ": *
/// Show a question.
///
/// *Example:*
/// ```
/// #g-question(point:2)[This is a question]
/// ```
///
/// - point (none, float): Points of the question.
/// - point-position (none, left, right): Position of points. If none, use the position defined in G-Exam.
/// - body (string, content... |
https://github.com/lyzynec/hys-or-kys | https://raw.githubusercontent.com/lyzynec/hys-or-kys/main/02/main.typ | typst | #import "../lib.typ": *
#knowledge[
#question(name: [Enumerate and explain the components of a Petri net
graph.])[]
#question(name: [Show how to encode the state of a system modelled by a
Petri net (graph).])[]
#question(name: [Write down a general form of state transition equations for
a Petri... | |
https://github.com/MrAMS/FUJIFILM-X-T3-Note | https://raw.githubusercontent.com/MrAMS/FUJIFILM-X-T3-Note/master/FUJIFILM%20XT-3%20Note.typ | typst | #set text(
lang: "zh",
font: "Noto Serif CJK SC"
)
#set heading(numbering: "1.")
#show outline.entry.where(
level: 1
): it => {
v(12pt, weak: true)
strong(it)
}
#show outline.entry.where(
level: 2
): it => {
h(1em)
it
}
#let wordblock(term) = {
block(
fill: luma(230),
inset: 8pt,
radius: 4... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/syntax/escape.typ | typst | // Test escape sequences.
--- escape ---
// Escapable symbols.
\\ \/ \[ \] \{ \} \# \* \_ \+ \= \~ \
\` \$ \" \' \< \> \@ \( \) \A
// No need to escape.
( ) ;
// Escaped comments.
\//
\/\* \*\/
\/* \*/ *
// Unicode escape sequence.
\u{1F3D5} == 🏕
// Escaped escape sequence.
\u{41} vs. \\u\{41\}
// Some code stuf... | |
https://github.com/EGmux/PCOM-2023.2 | https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q2.typ | typst |
=== Um sinal contínuo no tempo *$x(t)$* é obtido na saída de um filtro passa-baixas ideal com frequência de corte *$ω_c = 1000 π$* rad/s. Se um trem de impulsos for aplicado a*$x(t$*, quais dos seguintes períodos de amostragem garantem que*$x(t)$* pode ser recuperado a partir de suas amostras?
Ora se o filtro é passa... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/alternatives.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 40pt)
#polylux-slide[
#alternatives[Ann][Bob][Christopher]
likes
#alternatives[chocolate][strawberry][vanilla]
ice cream.
This sentence is a visual reference.
]
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.1/manual.typ | typst | Apache License 2.0 | #import "canvas.typ": canvas
#import "styles.typ"
#let canvas-background = gray.lighten(75%)
#let example(body, source, ..args, vertical: false) = {
block(if vertical {
align(
center,
stack(
dir: ttb,
spacing: 1em,
block(
canvas(body, ..args),
fill: canva... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/draw.typ | typst | Apache License 2.0 | #import "draw/grouping.typ": intersections, group, anchor, copy-anchors, place-anchors, set-ctx, get-ctx, for-each-anchor, on-layer, place-marks, hide
#import "draw/transformations.typ": set-transform, rotate, translate, scale, set-origin, move-to, set-viewport
#import "draw/styling.typ": set-style, fill, stroke
#impor... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Vectors%20Formula.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: "Vectors Formula",
authors: (
"<NAME>",
),
date: "30 Octobre, 2023",
)
#set heading(numbering: "1.1.")
= Vectors Formula
<vectors-form... | |
https://github.com/liuguangxi/suiji | https://raw.githubusercontent.com/liuguangxi/suiji/main/src/chinese.typ | typst | MIT License | //==============================================================================
// Blind text (Lorem ipsum) generator for Chinese
//
// Public functions:
// rand-sc
//==============================================================================
#import "random-fast.typ": gen-rng-f, integers-f, choice-f
... |
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/cover_sheet.typ | typst | MIT License | #let get-cover-sheet(
primary-color: none, // required
secondary-color: none, // required
text-color: none, // required
background-color: none, // required
visualise-content-boxes: ( // required
flag: false, // required
fill: none, // required
... |
https://github.com/kacper-uminski/math-notes | https://raw.githubusercontent.com/kacper-uminski/math-notes/main/tams11/notes.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/cetz:0.2.2"
#import "@preview/fletcher:0.4.2" as fletcher: node, edge
#import "book.typ": *
#show: doc => book_template(
title: "A Concise Course in Probability and Statistics",
author: [<NAME> #footnote[
Department of Mathematics, Linköping University,
#link("https://liu.se/en/employee/xi... |
https://github.com/Raunak12775/aloecius-aip | https://raw.githubusercontent.com/Raunak12775/aloecius-aip/main/lib.typ | typst | // Dependencies
#import "@preview/physica:0.9.3": *
#import "@preview/cetz:0.2.2"
#import "@preview/whalogen:0.2.0": ce
// Global functions and variables
#let indent = h(1em)
// Author Metadata
#let author-meta(
..affiliation,
email: none,
alias: none,
address: none,
cofirst: false
) = {
let info = (
"... | |
https://github.com/daniel-eder/typst-template-jku | https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/definitions/thesis_types.typ | typst | // SPDX-FileCopyrightText: 2023 <NAME>
//
// SPDX-License-Identifier: Apache-2.0
#let thesis_types = (
diploma: "Diploma Thesis",
doctorate: "Doctoral Thesis",
master: "Master's Thesis"
) | |
https://github.com/yankydoo/repro-typst-stroke-issue | https://raw.githubusercontent.com/yankydoo/repro-typst-stroke-issue/main/repro.typ | typst | #set text(
font: "REM",
fallback: false,
)
#text("AKQR bkmqu",
weight: "bold",
fill: rgb("#BF8F00"),
stroke: black,
size: 40pt
)
#text("AKQR bkmqu",
weight: "semibold",
fill: white,
stroke: black,
size: 24pt
)
#text("AKQR bkmqu",
fill: white,
stroke: black,
size: 24pt
)
| |
https://github.com/platformer/typst-homework-template | https://raw.githubusercontent.com/platformer/typst-homework-template/main/hw-template.typ | typst | MIT License | // counter to track the total number of problems,
// regardless of problem titles
#let _problem-count-ckey = "_problem-count"
// counter to track problem number
#let _problem-number-ckey = "_problem-number"
// state value to store height of content area
#let _content-area-size = state("_hw-content-area-size", none)... |
https://github.com/leesum1/brilliant-cv | https://raw.githubusercontent.com/leesum1/brilliant-cv/master/modules_en/projects.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": *
#import "@preview/fontawesome:0.4.0": *
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Projects & Associations")
#cvEntry(
society: [One Student One Chip - P... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/hide.typ | typst | Apache License 2.0 | // Test the `hide` function.
---
AB #h(1fr) CD \
#hide[A]B #h(1fr) C#hide[D]
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/terms-02.typ | typst | Other | // Test multiline.
#set text(8pt)
/ Fruit: A tasty, edible thing.
/ Veggie:
An important energy source
for vegetarians.
|
https://github.com/pklaschka/typst-hidden-bib | https://raw.githubusercontent.com/pklaschka/typst-hidden-bib/main/README.md | markdown | MIT License | # Typst Hidden-Bib
[GitHub Repository including Examples](https://github.com/pklaschka/typst-hidden-bib)
A Typst package to create hidden bibliographies or bibliographies with unmentioned (hidden) citations.
## Use Cases
### Hidden Bibliographies
In some documents, such as a letter, you may want to cite a referenc... |
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/build-catapult-upgrade/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: "Build: Catapult Upgrade",
type: "build",
date: datetime(year: 2023, month: 10, day: 31),
author: "<NAME>",
witness: "<NAME>",
)
#grid(
columns: (2fr, 1fr),
gutter:... |
https://github.com/DashieTM/nix-introduction | https://raw.githubusercontent.com/DashieTM/nix-introduction/main/nix.typ | typst | #import "./utils.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 20pt, font: "DejaVu Sans")
// #set text(size: 20pt,
#pdfpc.config(
default-transition: (
type: "push", duration-seconds: 0.2, angle: rtl, alignment: "vertical", direction: "outward",
),
)
// pdfpc ReSetPresentation.pdf --duration=3... | |
https://github.com/weeebdev/cv | https://raw.githubusercontent.com/weeebdev/cv/main/modules/projects.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Projects & Associations")
#cvEntry(
title: [Volunteer Translator],
society: [WikigapKazakhstan, Wikipedia],
date: [Mar 2021 - Apr 2021],
location: [Almaty, Kazakhstan],
description: list(
[Participated in the \#WikigapKazakhstan project to close the ... |
https://github.com/artemist/typstcard | https://raw.githubusercontent.com/artemist/typstcard/canon/labels_lettersheet.typ | typst | #{
set page("us-letter", margin: 0em)
import "common.typ"
let options = json("options.json")
let cards = options.cards
let args = options.args
let printer_offset = 1in/16
let label_position(idx) = {
let offset_idx = idx + args.skip
let col = calc.rem(offset_idx, 3)
let row = calc.rem(ca... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/chuli-cv/0.1.0/README.md | markdown | Apache License 2.0 | # CV in Typst
These are a minimalistic and modern CV and cover letter written in Typst.

## Setup
- Install [Typst](https://typst.app) and the font awesome fonts on your system, see [guide](https://github.com/duskmoon314/typst-fontawesome).
- Run `typst init @preview/chuli-cv:0.1.0` to st... |
https://github.com/bpkleer/typst-modern-acad-cv | https://raw.githubusercontent.com/bpkleer/typst-modern-acad-cv/main/template/example.typ | typst | MIT License | // #import "modern-acad-cv.typ": *
#import "@preview/modern-acad-cv:0.1.0": *
// loading meta data and databases (needs to be ad this directory)
#let metadata = yaml("metadata.yaml")
#let multilingual = yaml("dbs/i18n.yaml")
#let work = yaml("dbs/work.yaml")
#let education = yaml("dbs/education.yaml")
#let grants = y... |
https://github.com/EstebanMunoz/typst-template-auxiliar | https://raw.githubusercontent.com/EstebanMunoz/typst-template-auxiliar/main/README.md | markdown | MIT No Attribution | # typst-template-auxiliar
Template para la creación de clases auxiliares usando Typst.
|
https://github.com/magicwenli/keyle | https://raw.githubusercontent.com/magicwenli/keyle/main/README.md | markdown | MIT License | # keyle
<p align="center">
<a href="https://raw.githubusercontent.com/magicwenli/keyle/main/doc/keyle.pdf">
<img alt="Documentation" src="https://img.shields.io/website?down_message=offline&label=manual&up_color=007aff&up_message=online&url=https://raw.githubusercontent.com/magicwenli/keyle/main/doc/keyle.pdf" /... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/032%20-%20Ixalan/001_Jace%2C%20Alone.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"<NAME>",
set_name: "Ixalan",
story_date: datetime(day: 06, month: 09, year: 2017),
author: "<NAME> & <NAME>",
doc
)
The man opened his eyes.
He lay on his back, looking up through a canopy of delicate green toward the darkening blue of the... | |
https://github.com/IANYEYZ/epigraph | https://raw.githubusercontent.com/IANYEYZ/epigraph/main/epigraph.typ | typst | MIT License | #let stroke-pattern = (
top: 0pt,
right: 0pt,
left: 0pt,
bottom: 0.5pt
)
#let epigraph-position = (
align: alignment.right,
dx: 0pt,
dy: 15pt
)
#let epigraph-box(w, doc) = {[
#box(width: w)[
#doc
]
]}
#let epigraph-quote-box(doc) = {[
#box(stroke: stroke-pattern)[
#doc
#v(5pt)
]
]}
#... |
https://github.com/zenor0/FZU-report-typst-template | https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/README.md | markdown | MIT License | # FZU-report-typst-template
Typst 福州大学实验报告模板 | 自用非官方 | UNOFFICIAL
> [!WARNING]
> 本模板为自用的实验报告模板, 非官方模板. 仅供参考,不保证格式符合要求,使用时请自行检查!!!
本模板为自用模板, 在 [SEU-Typst-Template](https://github.com/csimide/SEU-Typst-Template) 基础上魔改而成的.
## 预览

## 使用
> [!NOTE]
> 使用前请确保你的系统上已经安装了 `typst`
首先请克隆本仓库
```bas... |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/docs/src/general/changelog.md | markdown | Apache License 2.0 | ---
description: |
Learn what has changed in the latest Typst releases and move your documents
forward.
---
# Changelog
## Version 0.5.0 (June 9, 2023) { #v0.5.0 }
- Text and Layout
- Added [`raw`]($func/raw) syntax highlighting for many more languages
- Added support for Korean [numbering]($func/numbering)
... |
https://github.com/RakuJa/Space_Communication_Notes | https://raw.githubusercontent.com/RakuJa/Space_Communication_Notes/main/main.typ | typst | MIT License |
#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: "Space communication systems",
subtitle: "",
subject: "Notes",
guide: (
name: "<NAME>",
designation: "Professor of Space Communicat... |
https://github.com/Ttajika/class | https://raw.githubusercontent.com/Ttajika/class/main/microecon/functions.typ | typst | #import "@preview/showybox:2.0.1": showybox
#import "@preview/suiji:0.3.0": *
#let default-quiz-style(name:"問題", question:[], answer:[], commentary:[], point:[], tag:[], id:[], hide-id:false, ) = {
show figure: it => {
showybox(frame: (border-color: blue.darken(10%),
body-color: white, title-color: blue.lighten(9... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas2/6_Sobota.typ | typst | #let V = (
"HV": (
("", "Jehdá ot dréva", "Plóť predajúšče ránam i horčájšyja múki terpjášče, i núžnuju smérť múčenicy vsechváľniji, i mučítelej posramíste, i čésti ídoľskija voístinnu potrebíli jesté, Christá propovídajušče jedínaho Bóha i Vladýku: jemúže so ánheľskimi líki, vincenóscy slávniji, predstoité."),
... | |
https://github.com/sthenic/technogram | https://raw.githubusercontent.com/sthenic/technogram/main/src/tree.typ | typst | MIT License | #let tree-stroke = state("tree-stroke", 1pt + black)
#let tree-depth = state("tree-depth", 20pt)
/* Insert a tree. The nodes are ideally defined using the "tight" list syntax. */
#let tree(breakable: true, body) = context {
let line-height = measure("M").height
let indent = 0pt /* TODO: Dynamically set this someho... |
https://github.com/simon-epfl/notes-ba3-simon | https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/analyseiii/resume.typ | typst | == Line integrals
On veut intégrer $f(x, y) = z$ (en bleu) selon le cercle, que l'on paramétrise comme $arrow(r)(t) = g(t)arrow(i) + h(t)arrow(j)$.
#image("./posts/res_lineintegrals_bef.png", width: 50%)
On peut d'abord réécrire notre fonction comme $f(t) = f(g(t), h(t))$. Pourquoi ? Parce que les seuls points qui n... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/block-alignment.typ | typst | Apache License 2.0 | // Test alignment of block equations.
---
// Test unnumbered
#let eq(alignment) = {
show math.equation: set align(alignment)
$ a + b = c $
}
#eq(center)
#eq(left)
#eq(right)
#set text(dir: rtl)
#eq(start)
#eq(end)
---
// Test numbered
#let eq(alignment) = {
show math.equation: set align(alignment)
$ a + b =... |
https://github.com/gdahia/typst-ams-fullpage-template | https://raw.githubusercontent.com/gdahia/typst-ams-fullpage-template/main/README.md | markdown | # Typst fullpage AMS template
This repository contains a customization of [Typst's standard AMS template](https://github.com/typst/templates/blob/2b629bdc1eb0edb91375b5b873725290d3bba0d7/ams/template.typ) so that it looks like TeX's `amsart` using the `fullpage` package.
We created this to match the common $\LaTeX$ for... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap3/2_physiological_effects_of_electricity.typ | typst | Other | #import "../../core/core.typ"
=== Physiological effects of electricity
Most of us have experienced some form of electric "shock," where electricity causes our body to experience pain or trauma.
If we are fortunate, the extent of that experience is limited to tingles or jolts of pain from static electricity buildup d... |
https://github.com/mitsuyukiLab/grad_thesis_typst | https://raw.githubusercontent.com/mitsuyukiLab/grad_thesis_typst/main/contents/abstract.typ | typst | #import "../lib/grad_thesis_lib.typ": abstract
#abstract[
// ここに書く
#lorem(300) // ダミーテキストを表示させている
] | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/spacing-03.typ | typst | Other | // Missing spacing.
// Error: 11-13 missing argument: amount
Totally #h() ignored
|
https://github.com/jneug/typst-nassi | https://raw.githubusercontent.com/jneug/typst-nassi/main/assets/example-1.typ | typst | MIT License | #set page(width: 13cm, height:auto, margin: 5mm)
#import "../src/nassi.typ"
#show: nassi.shneiderman()
```nassi
function ggt(a, b)
while a > 0 and b > 0
if a > b
a <- a - b
else
b <- b - a
end if
end while
if b == 0
return a
else
return b
end if
end function
```
|
https://github.com/benjft/CV | https://raw.githubusercontent.com/benjft/CV/master/experience.typ | typst | == Experience
=== Software Developer, June 2023 -- Present
*Gold-Vision CRM*, Northampton, Hybrid
- Full stack developer, specialising in MSSQL Server, .Net, and React.
- Contributed to development of the core CRM product.
- Helped produce and optimize the Marketing product, improving response
times by up to 90%.
... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/template/lang.typ | typst | Other | #import "/template/consts.typ": font
// 阿拉伯文,多国使用
#let arabic = text.with(
font: ("Noto Naskh Arabic",),
// do not effect line height calculation
top-edge: "baseline",
lang: "ara", region: none, script: "arab"
)
// 阿拉伯文,Amiri 字体
#let arabic-amiri = text.with(
font: ("Amiri",),
lang: "ara", region: none, s... |
https://github.com/daniel-eder/typst-template-jku | https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/pages/acknowledgements.typ | typst | // SPDX-FileCopyrightText: 2023 <NAME>
//
// SPDX-License-Identifier: Apache-2.0
#import "../styles/pre_content_heading.typ": pre_content_heading
#let acknowledgements(
acknowledgements,
) = {
set page(numbering: "i", number-align: center)
pre_content_heading([Acknowledgements])
acknowledgements
} | |
https://github.com/Robotechnic/alchemist | https://raw.githubusercontent.com/Robotechnic/alchemist/master/README.md | markdown | MIT License | # alchemist
Alchemist is a typst package to draw skeletal formulae. It is based on the [chemfig](https://ctan.org/pkg/chemfig) package. The main goal of alchemist is not to reproduce one-to-one chemfig. Instead, it aims to provide an interface to achieve the same results in Typst.
<!--EXAMPLE(links)-->
````typ
#skele... |
https://github.com/Quaternijkon/Typst_FLOW | https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/theme.typ | typst | // This theme is inspired by https://github.com/zbowang/BeamerTheme
// The typst version was written by https://github.com/OrangeX4
// #import "../src/exports.typ": *
#import "src/exports.typ": *
#import "lib.typ": *
#let SFD=("SF Pro Display")
#let SFT=("SF Pro Text")
#let _typst-builtin-repeat = repeat
#set text... | |
https://github.com/markcda/unitech-typst | https://raw.githubusercontent.com/markcda/unitech-typst/master/01-university-work-example.typ | typst | MIT License | #import "00-university-template.typ": *
#show: student_work.with(
title: "Пример",
header: "unitech-2023-header.png",
department_name: "Кафедра информационной безопасности",
institute_name: "Институт инфокоммуникационных систем и технологий",
work_type: "контрольная работа",
discipline_name: "Теория графов... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2B740.typ | typst | Apache License 2.0 | #let data = (
"0": ("<CJK Ideograph Extension D, First>", "Lo", 0),
"dd": ("<CJK Ideograph Extension D, Last>", "Lo", 0),
)
|
https://github.com/mangkoran/utm-thesis-typst | https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/06_title.typ | typst | MIT License | #import "utils.typ": empty
#let content(
title: empty[title],
author: empty[author],
degree: empty[degree],
school: empty[school],
faculty: empty[faculty],
) = [
#set align(center)
#upper[#title]
#v(1fr)
#upper[#author]
#v(1fr)
A thesis submitted in fulfillment of the requirements
for the ... |
https://github.com/pawarherschel/typst | https://raw.githubusercontent.com/pawarherschel/typst/main/modules/certificates.typ | typst | Apache License 2.0 | #import "../template/template.typ": *
#import "../helpers/helpers.typ": *
#let SOT = yaml("../SOT.yaml")
#let certificates = ()
#if SOT.keys().contains("certificates") {
certificates = SOT.certificates
}
#if certificates.len() != 0 {
cvSection("Certificates")
for certificate in certificates {
let date = ce... |
https://github.com/jredondoyuste/TypstReport | https://raw.githubusercontent.com/jredondoyuste/TypstReport/main/README.md | markdown | The Unlicense | # TypstReport
Simple template for a report or official 1 page document in Typst.
Changing the fonts, colors, sizes and logos should be reasonably straightforward by playing with report.typ.
See main.typ and example.pdf for a simple usage.
|
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_compiler_ghc.typ | typst | #import "../../../acronyms.typ": *
= GHC <ghc>
The most obvious choice for a Haskell compiler platform is #ac("GHC")
#footnote("https://www.haskell.org/ghc/"). In combination with build tooling,
such as Cabal #footnote("https://www.haskell.org/cabal/") and the language
server HLS #footnote("https://github.com/haskell... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/gallery/example3.typ | typst | Apache License 2.0 | #import "/src/lib.typ" as chronos
#set page(width: auto, height: auto)
#let TYPST = image("typst.png", width: 1.5cm, height: 1.5cm, fit: "contain")
#let FERRIS = image("ferris.png", width: 1.5cm, height: 1.5cm, fit: "contain")
#let ME = image("me.jpg", width: 1.5cm, height: 1.5cm, fit: "contain")
#chronos.diagram({
... |
https://github.com/VectorFrankenstein/Resume | https://raw.githubusercontent.com/VectorFrankenstein/Resume/main/resume.typ | typst | #let content = yaml("information.yaml") // Get the content file
// Set global params and values
#set page(
margin: 0.5cm,
numbering: "1",
)
#set text(
size: 10pt,
hyphenate: false,
)
#set list(
spacing: 6pt
)
#set par(
leading: 6pt,
justify: true,
)
// #show par: set block(spacing: 4pt)
#show heading... | |
https://github.com/Geson-anko/vconf24_template_typst | https://raw.githubusercontent.com/Geson-anko/vconf24_template_typst/main/vconf2024.typ | typst | // vconf2024.typ
#let to-string(content) = {
if content.has("text") {
content.text
} else if content.has("children") {
content.children.map(to-string).join("")
} else if content.has("body") {
to-string(content.body)
} else if content == [ ] {
" "
}
}
#let conf(
title: "",
authors: (),
... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/base-utils.typ | typst | #import "very-base-utils.typ": *
#import "attrs.typ"
#let align-apart(col, row, length: none) = {
if col == 0 {
left + horizon
} else if col == length - 1 {
right + horizon
} else {
center + horizon
}
}
#let justify-space-between(arg, i, a) = {
if i == 0 {
return ... | |
https://github.com/TideDra/seu-thesis-typst | https://raw.githubusercontent.com/TideDra/seu-thesis-typst/main/README.md | markdown | # SEU-Thesis-Typst
东南大学 Typst 论文模板库。

[点击查看完整 PDF 样本](./bachelor_thesis.pdf)
# 什么是 Typst?
[Typst](https://typst.app/)是一种全新的现代化排版语言,语法简洁堪比 Markdown,功能强大堪比 Latex,更有众多优秀的特性,例如毫秒级实时编译预览。下表是 Word、Markdown、Latex、Typst 一些方面的对比。
| | Word | Markdown | Latex | Typst |
| :... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.