repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/TheRiceCold/resume | https://raw.githubusercontent.com/TheRiceCold/resume/main/modules/education.typ | typst | #import "../src/template.typ": *
#cvSection("Education")
#cvEntry(
title: [Software Engineering (Bootcamp)],
logo: "../src/logos/avion.png",
society: [Avion School],
location: [Philippines],
date: [2021 - 2022],
description: list(),
)
#cvEntry(
title: [Bachelor's degree in Entertainment and Multimedia Compu... | |
https://github.com/xsro/xsro.github.io | https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/nlct/math/space.typ | typst | #import "common.typ": definition,theorem,proposition,proposition
#pagebreak(weak: true)
= Topological Space
- 拓扑学 http://staff.ustc.edu.cn/~wangzuoq/Courses/22S-Topology/
== Metic Space
#definition[
A *metric space* $(M,d)$ consists of a set $M$ and a mapping,
called distance, $d: M times M arrow RR$,
which ... | |
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs | https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/categories/task1/1.1.typ | typst | Apache License 2.0 | = Requirement elicitation
== Giới thiệu về bối cảnh miền của hệ thống phát triển dịch vụ in ấn thông minh. Những bên liên quan, nhu cầu hiện tại và lợi ích SPSS mang lại cho từng bên liên quan
=== _Giới thiệu về bối cảnh miền của dịch vụ in ấn thông minh cho sinh viên đại học Bách Khoa thành phố Hồ Chí Minh_
Bối cảnh... |
https://github.com/YouXam/bupt-network-resources-guide | https://raw.githubusercontent.com/YouXam/bupt-network-resources-guide/main/template.typ | typst | MIT License | #let 字号 = (
初号: 42pt,
小初: 36pt,
一号: 26pt,
小一: 24pt,
二号: 22pt,
小二: 18pt,
三号: 16pt,
小三: 15pt,
四号: 14pt,
中四: 13pt,
小四: 12pt,
五号: 10.5pt,
小五: 9pt,
六号: 7.5pt,
小六: 6.5pt,
七号: 5.5pt,
小七: 5pt,
)
#let skippedstate = state("skipped", false)
#let forewordcounter = counter("foreword")
#let partcou... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types/string.typ | typst | Apache License 2.0 | #import "../base-type.typ": base-type, assert-base-type
#import "../context.typ": context
/// Valkyrie schema generator for integer- and floating-point numbers
///
/// - name (internal):
/// - default (string): Default value to set if none is provided. *MUST* respect all other validation requirements.
/// - min (integ... |
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/05-比例积分控制.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "比例积分控制",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= 比例控制
<比例控制>
== 体重变化
<体重变化>
已知,7000 kcal ∼ 1 kg
于是,有
$ dv(m, t) = frac(E_i - E_e, 7000) $
其中,$m$为体重,$E_i$为饮食摄入热量,$E_e$为消耗(expendi... | |
https://github.com/levinion/typst-dlut-templates | https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/thesis/introduction.typ | typst | MIT License | #import "../util/style.typ":font_family,font_size
#import "../util/functions.typ":invisible_heading
#let introduction(content)={
if content != none {
set align(center)
set text(font: font_family.heiti, size: font_size.xiao_san)
set par(leading: 0.7em)
[引#h(2em)言 \
\
]
invisible_heading(... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/042_Strixhaven%3A%20School%20of%20Mages.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Strixhaven: School of Mages", doc)
#include "./042 - Strixhaven: School of Mages/001_Episode 1: Class Is in Session.typ"
#include "./042 - Strixhaven: School of Mages/002_A Cry of Magic.typ"
#include "./042 - Strixhaven: School of Mages/003_Episode 2: Lessons.typ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-bidi-05.typ | typst | Other | // Test spacing.
L #h(1cm) ריווחR \
Lריווח #h(1cm) R
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/def_use/import_star.typ | typst | Apache License 2.0 | // path: base.typ
#let x = 1;
#x
-----
#import "base.typ"
#base
#import "base.typ": *
#base, #x |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/figures/multi-robot-path-planning-classification.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
// #set page(width: 140pt, height: 140pt, margin: 1em)
#import "@preview/cetz:0.2.2"
#import "@preview/funarray:0.4.0": windows
#import "../lib/vec2.typ"
#import "../lib/catppuccin.typ": catppuccin
#let theme = catppuccin.theme
// #import "common.typ": *
#set align(c... |
https://github.com/RandomcodeDev/FalseKing-Design | https://raw.githubusercontent.com/RandomcodeDev/FalseKing-Design/main/game/input.typ | typst | = Input
Keyboard/mouse and controllers will both be supported. Haptics for better immersion when using supported controllers should be possible as well. There will be inputs for attacking, jumping, dashing, changing elements, interacting, pausing, and accessing the different screens. | |
https://github.com/MultisampledNight/interpretation | https://raw.githubusercontent.com/MultisampledNight/interpretation/main/interpretation.typ | typst | Other | #import "util/graphics.typ"
#let version = "0.1.2"
#set page(
numbering: "1 / 1",
)
#set par(
justify: true,
)
#set text(
size: 14pt,
font: "IBM Plex Serif",
lang: "de",
)
#set heading(
numbering: "1.1",
)
#align(
right,
)[
#text(2em)[hilfe Interpretation wie] \
Von MultisampledNight \
Version #... |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/util.typ | typst | #import "/packages.typ": codetastic
#import codetastic: qrcode
#let qrlink(
url,
quiet-zone: 4,
min-version: 1,
ecl: "l",
mask: auto,
size: auto,
width: auto,
colors: (white, black),
debug: false,
) = link(url)[#qrcode(
url,
quiet-zone: quiet-zone,
min-version: min-version,
ecl: ecl,
... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/attrs.typ | typst | #import "very-base-utils.typ": *
#import "strokes.typ"
#let known = (
fill: color,
color: color,
paint: color,
stroke: stroke,
width: length,
length: length,
thickness: length,
size: length,
height: length,
align: alignment,
)
#let fills = (
black: black,
gray: gray,
... | |
https://github.com/Big-Ouden/ensiie_rapport | https://raw.githubusercontent.com/Big-Ouden/ensiie_rapport/main/0.1.5/ensiie_rapport.typ | typst | // Template for reports ENSIIE
// v0.1.5 - mui 2024
//
// Missing features :
// - page and locations (above, under) references for figures not available yet
// Fancy pretty print with line numbers and stuff
// found on typst.app : codelst is a Typst package for rendering sourcecode with line numbers and some other ad... | |
https://github.com/vsheg/intermediate-ml | https://raw.githubusercontent.com/vsheg/intermediate-ml/main/01-formalism/07-information.typ | typst | #import "@preview/physica:0.9.3": *
#import "../defs.typ": *
#import "../template.typ": *
#show: template
= Information Theory
== Messages
=== Communication.
Information theory was originally developed to provide a theoretical framework for
addressing an engineering problem of communication. Formally, consider a sc... | |
https://github.com/Walfisch115/thb-typst-template | https://raw.githubusercontent.com/Walfisch115/thb-typst-template/main/thesis/conf.typ | typst | #let conf(
title: none,
author: none,
matrikelNumber: none,
supervisor: none,
secondReviewer: none,
place: none,
date: datetime.today().display(),
abstract: [],
doc
) = {
// GENERAL SETTINGS
set page(paper: "a4", numbering: "1", number-align: right)
set text(lang: "de")
set text(size: 12pt)
... | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/06-field-theory/04-decomposition-field.typ | typst | Other | #import "../../utils/core.typ": *
== Поля разложения
#ticket[Поле разложения многочлена. Примеры]
#def[
Пусть $f in K[x]$. Расширение $L fg K$ называется полем разложения $f$ над $K$, если
+ $f$ раскладывается в $L[x]$ на линейные множители
+ $L = K(a_1, ..., a_n)$, где $a_1, ..., a_n$ --- корни $f$ в $L... |
https://github.com/GartmannPit/Praxisprojekt-II | https://raw.githubusercontent.com/GartmannPit/Praxisprojekt-II/main/Praxisprojekt%20II/PVA-Templates-typst-pva-2.0/README.typ | typst | #set text(
font: "Linux Libertine",
size: 12pt
)
#set par(justify: true, leading: 1em)
#set heading(numbering: none)
#show figure: set text(size: 0.85em)
= README for Typst Template following the BHH style guide
\
This readme is about the technical specifications and information about the project and less about ... | |
https://github.com/0x6e66/hbrs-typst | https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/ads/abstract.typ | typst | #import "../template/utils.typ": *
#let abstract = {
let abstract_de = {
lorem(200)
}
let abstract_en = {
lorem(200)
}
abstract("de", abstract_de)
abstract("en", abstract_en)
} | |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/16_Linux操作系统.typ | typst | #import "../template.typ": *
#pagebreak()
= Linux 操作系统
== Linux 操作系统
_25 Aug 1991, The Birthday of Linux > Hello, everybody out there using minix – I’m doing a (free) operating system (just a hobby, won’t be big and professional like gnu) for 386(486) AT clones. This has been brewing since April, and is starting to g... | |
https://github.com/timon-schelling/uni-phi111-essay-2023-12-01 | https://raw.githubusercontent.com/timon-schelling/uni-phi111-essay-2023-12-01/main/src/template/template.typ | typst | #let project(
title: "",
authors: (),
date: datetime.today().display(),
title-page-infos: [],
bib: "../refs.yml",
bib-urls: false,
lang: "de",
font: "Calibri",
font-size: 1.2em,
leading: 0.85em,
heading-padding: 0.4em,
numbering-skip-outline: true,
body,
) = {
// Set general document settin... | |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/Physics311/reviewNotes/briefMechanics.typ | typst | #set page("us-letter")
#set heading(numbering: "1.1")
#show heading: text.with(size: 11pt, weight: 1000, font: "Libre Baskerville")
#set text(11pt)
#set page(margin: (x: 3cm, y: 3cm),numbering: "1/1", columns: 1, flipped: false)
#set math.equation(numbering:"1")
#show math.equation: set text(11pt)
#set math.cases(gap... | |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-grammar.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.page.with(title: [参考:语法示例检索表])
#let table-lnk(name, ref, it, scope: (:), res: none, ..args) = (
align(center + horizon, ref(name)),
it,
align(
horizon,
{
set heading(
bookmarked: false,
outlined: false,
)
eval(it.text, mode: "markup", sc... |
https://github.com/GreyCorbel/docs | https://raw.githubusercontent.com/GreyCorbel/docs/main/main.typ | typst | MIT License | #import "gcdocs.typ": *
#show: doc => gc-docs(
title: lorem(3),
version: "v0.1.0",
logo: "./img/gc.png",
doc,
)
= Kapitola
#lorem(50)
@gc-config-Schedule
#gc-config("Schedule", "ServiceSchedule", "1 * * * *", lorem(50))
== Kapitola
#lorem(20)
== Kapitola
#lorem(20)
= Kapitola
#lorem(50)
|
https://github.com/luiswirth/diff-form-pres | https://raw.githubusercontent.com/luiswirth/diff-form-pres/main/src/main.typ | typst | #import "setup.typ": *
#import "math.typ": *
#show: my-config
#show: slides-config
#show: math-config
#align(center, text(size: 40pt, weight: "bold")[
Discrete Differential Forms\ for Computational Modeling
])
#text(size: 20pt, grid(
columns: (1fr, 1fr, 1fr),
align(center)[
<NAME>\
Applied Geometry Lab... | |
https://github.com/DashieTM/nix-introduction | https://raw.githubusercontent.com/DashieTM/nix-introduction/main/topics/nix-lang.typ | typst | #import "../utils.typ": *
#polylux-slide[
== What is Nix?
#v(15pt)
- just a programming language
- functional
- lazy
- everything is an expression
- turing complete
- made to configure environments
- native paths
- tooling for environments -> nixos etc
#pdfpc.speaker-note(```md
```)
]
#polylux-slide[
== ... | |
https://github.com/kristoferssolo/Mafia-the-Game-Description | https://raw.githubusercontent.com/kristoferssolo/Mafia-the-Game-Description/main/abstract.typ | typst | #import "layout.typ": indent-par
#pagebreak()
#heading(
level: 1,
outlined: false,
numbering: none,
"Anotācija",
)
#indent-par([
Sociālā lomu spēle "Mafija" ir plaši pazīstama. Tā ir pieejama vairākos
paveidos un formātos, kā arī piedāvā neierobežotu konfigurāciju un lomu skaitu.
Spēlētāju ērtībai tiek n... | |
https://github.com/PhilChodrow/cv | https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/pd.typ | typst | #import "../template.typ": *
#cvSection("Professional Development")
#pad(left: 0.5cm,
table(
columns: 2,
stroke: none,
align: (left, left),
[2024 -- present], [Cultural Competency in Computing (3C) Fellowship],
[2023], [Middlebury College Engaged Listening Project],
[2021], [MAA Project NeXT],
[2020], ... | |
https://github.com/akrantz01/resume | https://raw.githubusercontent.com/akrantz01/resume/main/template/heading.typ | typst | MIT License | #import "common.typ": icon
#let format_phone_number(phone) = {
if phone.starts-with("+") == false {
panic("Phone number must start with a country code")
}
"+" + phone.split(regex("[^0-9]+")).filter(part => part.len() > 0).join("-")
}
#let account_link(base, identifier, full: false) = {
let base = "https:... |
https://github.com/felsenhower/kbs-typst | https://raw.githubusercontent.com/felsenhower/kbs-typst/master/examples/01.typ | typst | MIT License | = Einführung
Mein erster Text mit Typst!
#lorem(20)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/content/other_experience.typ | typst | Apache License 2.0 | #import "../lib.typ": *
#import "@preview/fontawesome:0.2.1": *
== #fa-icon("wrench") #h(5pt) #get-header-by-language("Other experience", "Otra experiencia")
#v(5pt)
#if is-english() [
#experience-entry(
title: [Combat Training],
date: [2029],
company: [Resistance],
location: [Los Angeles, CA],
... |
https://github.com/RodolpheThienard/typst-template | https://raw.githubusercontent.com/RodolpheThienard/typst-template/main/README.md | markdown | MIT License | # Typst template
## Beamer
### Use template
```typ
#import "beamer.typ" : beamer
#show: beamer.with(
title: "Title page",
author: "author",
date: [#datetime.today().display(" [Month repr:numerical], [day] [year]")],
end: "End Slide",
)
```
### Render
<details>
<summary>Outline</summary>
<img title="a title" ... |
https://github.com/F-actorio/vedtaegter | https://raw.githubusercontent.com/F-actorio/vedtaegter/main/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "F-actorio Vedtægter",
authors: (
(name: "<NAME>", email: "<EMAIL>"),
(name: "<NAME>", email: ""),
),
)
#set enum(numbering: "§1", tight: false)
= Formål
+ Foreningens navn er F-actorio, udtales ...
+ Foreningens sprog er først og fremmest dansk, d... | |
https://github.com/donghoony/typst_editorial | https://raw.githubusercontent.com/donghoony/typst_editorial/main/result.typ | typst | MIT License | #import "colors.typ": *
#let result_page() = {
let page_title = text.with(
weight: "black",
size: 30pt
)
let score_title = text.with(
weight: "bold",
size: 20pt
)
let name_handle(name, handle) = {
let name_style = text.with(
weight: "light",
size: 15pt
)
let... |
https://github.com/DrGo/typst-tips | https://raw.githubusercontent.com/DrGo/typst-tips/main/refs/samples/tufte-handout/README.md | markdown | Provides a template for Tufte-style handouts modeled on the [Tufte-LaTeX](https://github.com/Tufte-LaTeX/tufte-latex) project.
The key feature of this template is the `margin-note` function whichs renders content in the right margin area.
## Preview
### Portrait

### La... | |
https://github.com/iyno-org/Holistic-Clinical-Neurosurgery | https://raw.githubusercontent.com/iyno-org/Holistic-Clinical-Neurosurgery/main/old/example.typ | typst | = Introduction
<NAME> is an American statistician, professor, and pioneer in the field of data visualization, known for his work on the visual presentation of data and information. He is the author of influential books such as "The Visual Display of Quantitative Information" and is renowned for his principles on clarit... | |
https://github.com/csimide/cuti | https://raw.githubusercontent.com/csimide/cuti/master/demo-and-doc/demo-and-doc-cn.typ | typst | MIT License | #import "../lib.typ": *
#import "./otr/utils.typ": *
#set page(margin: 2cm)
#set par(justify: true)
#show heading: show-cn-fakebold
#show raw.where(block: false): set text(font: "Fira Code")
#show heading.where(level: 1): it => {pagebreak(weak: true); it}
#show heading.where(level: 2): it => {line(length: 100%); it}... |
https://github.com/noamzaks/Barvazim | https://raw.githubusercontent.com/noamzaks/Barvazim/main/writeups/template.typ | typst | #let MONTHS = ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
#let writeup(ctf: "", exercise: "", date: datetime.today(), body) = {
set document(author: "<NAME>", title: exercise, date: date)
set page(margin: 1.2cm, footer: [
#set align... | |
https://github.com/isaacholt100/isaacholt100.github.io | https://raw.githubusercontent.com/isaacholt100/isaacholt100.github.io/master/maths-notes/2-durham%3A-year-2/ent/ent.typ | typst | #import "../../template.typ": template
#show: template
= Introduction, the natural numbers
- $NN = {1, 2, 3, ...}$
- $NN_0 = {0, 1, 2, 3, ...} = NN union {0}$
- *Peano's axioms*: three primitive terms: $NN_0$, $0$ and *successor function*, $S$.
- $0 in NN_0$.
- $forall a in NN_0, S(a) != 0$.
- $S(a) = S(b) => a = ... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/184.%20fh.html.typ | typst | fh.html
Haters
January 2020(I originally intended this for startup founders, who are often
surprised by the attention they get as their companies grow, but
it applies equally to anyone who becomes famous.)If you become sufficiently famous, you'll acquire some fans who
like you too much. These people are sometimes call... | |
https://github.com/J3m3/poolc-fp | https://raw.githubusercontent.com/J3m3/poolc-fp/main/HFPDWE-02.typ | typst | MIT License | #import "@preview/fletcher:0.3.0" as fletcher: node, edge
#import "@preview/pinit:0.1.3": *
#import "@preview/sourcerer:0.2.1": code
#import "@preview/xarrow:0.3.0": xarrow
#import "lib/index.typ": *
#show: conf
// 1
#title-slide(title: "How FP Deals With Effects")[
#line(length: 65%, stroke: 2pt + color_medium)
... |
https://github.com/Complex2-Liu/macmo | https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/content/problem-05.typ | typst | #import "../lib/math.typ": problem, solution, note, ans
#problem[
求 $(b c) / (2a^2 + b c) + (a b) / (2c^2 + a b) + (a c) / (2b^2 + a c)$ 的最小值,
其中 $a, b, c$ 为任意正实数.
]
#solution[
作换元 $x = sqrt(b c), y = sqrt(a b), z = sqrt(a c)$, 问题归结于求
$ S := x^4 / (2y^2 z^2 + x^4) + y^4 / (2z^2 x^2 + y^4) + z^4 / (2x^2 y^2 + ... | |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/pros/pros.typ | typst | #import "/packages.typ": notebookinator, gentle-clues
#import notebookinator: *
#import themes.radial.components: *
#import gentle-clues: *
#import "/util.typ": qrlink
#show: create-body-entry.with(
title: "Decide: PROS",
type: "decide",
date: datetime(year: 2024, month: 1, day: 15),
author: "<NAME>",
)
= PR... | |
https://github.com/j10ccc/zjut-social-practice-report-typst | https://raw.githubusercontent.com/j10ccc/zjut-social-practice-report-typst/main/example.typ | typst | #import "/layout/project.typ": project
#let meta = (
"学 院": "我的学院",
"专 业": "我的专业",
"实践报告": "一个响亮的报告名",
"姓 名": "我的名字",
"学 号": "我的学号",
"指导老师": "项目的指导老师",
"完成日期": "项目的完成时间"
)
#show: project.with(..meta)
#rect()[
#text("为了展示目录和正文排版效果,下面的内容是 AI 生成的,不要当作模板来参考。")
]
= 实践目的和背景
本次社... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/strong.typ | typst | Apache License 2.0 | This is *strong.* \
This is #strong[too.] \
#show strong: set text(red)
And this is *evermore.*
|
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/super_script/super_script.typ | typst | First#super[super text]
Normal text
Second#super[super text] | |
https://github.com/wenjia03/JSU-Typst-Template | https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/Templates/实验报告(无框)/template/cover.typ | typst | MIT License | #import "../utils/style.typ":*
#import "../utils/utils.typ":*
#import "../config/thesisInfo.typ":*
#set page(footer: none)
#counter(page).update(0)
#let info_value(body) = {
rect(
width: 100%,
inset: 2pt,
stroke: (
bottom: 1pt + black
),
text(
font: 字体.宋体,
s... |
https://github.com/crystalsolenoid/typst-resume-template | https://raw.githubusercontent.com/crystalsolenoid/typst-resume-template/main/src/main.typ | typst | #import "items.typ"
#import "sections.typ"
#import "resume.typ": resume
#import "resume.typ" as res
#let name = "<NAME>"
#show: doc => resume(
name: name,
doc
)
= #name
#res.header-links(sections.links)
== Selected Projects
#for a in sections.projects [
#res.project(..a)
]
== Work Experience
#for a in sect... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-05.typ | typst | Other | // Test that scoping works as expected.
#{
let world = [ World ]
show "W": strong
world
{
set text(blue)
show: it => {
show "o": "Ø"
it
}
world
}
world
}
|
https://github.com/typst-community/mantodea | https://raw.githubusercontent.com/typst-community/mantodea/main/src/util.typ | typst | MIT License | #import "/src/_pkg.typ"
/// Draw an alert box.
///
/// - color (color): The color to use for the box and text color.
/// - size (size): The text size to use.
/// - ..args (any): Additional arguments to pass to `showybox`.
/// - body (content): The box body.
/// -> content
#let alert(
color: purple,
size: 0.8em,
... |
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/README.md | markdown | # typst-report
#### TO COMPILE LOCALLY RUN $ `typst watch main.typ`
#### TO VIEW PDF LOCALLY RUN $ `tinymist preview main.typ --partial-rendering`
### typst
[typst](https://github.com/typst/typst) \
macOS: `brew install typst` \
Windows: `winget install --id Typst.Typst`
### tinymist
[tinymist](https://github.com... | |
https://github.com/Lancern/resume-template | https://raw.githubusercontent.com/Lancern/resume-template/master/README.md | markdown | Creative Commons Zero v1.0 Universal | # resume
This repository contains a simple resume template written in [typst].
<div style="display:flex;">
<img src="figures/cn-example.png" height="300px" style="margin-right:4px;" />
<img src="figures/en-example.png" height="300px" />
</div>
## Usage and Build
You need to install [typst] before you start.
Th... |
https://github.com/alberto-lazari/computer-science | https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-pl/presentation/presentation.typ | typst | #import "common.typ": *
#show: slides.with(
authors: [<NAME> -- 2089120],
short-authors: "<NAME>",
title: "The Typst language",
subtitle: "Advanced Topics in Programming languages presentation",
short-title: [#v(.5em) The Typst language],
date: "September 14, 2023",
th... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/weeks/week5.typ | typst | #import "../../utils.typ": *
#section("Semantic Checker")
Checks language rules -> LSP
- each identifier is unique within its scope
- typerules are fulfilled
- method calls are compatible with parameters and return types
- no cyclic inheritance
#subsection("Tables and Scopes")
Per scope, we create a symbol table in o... | |
https://github.com/remggo/cookbook-typst | https://raw.githubusercontent.com/remggo/cookbook-typst/main/example.typ | typst | MIT License | #import "cookbook.typ": recipe_yaml, recipe
#set text(lang: "de", region: "DE")
#recipe_yaml("recipe.yaml")
#recipe(
title: "Suppe",
prep-time: [2h],
servings: [3 Personen],
ingredients: [
/ 100g: Käse
/ 100g: Butter
/ 100g: Milch
/ 100g: Mehl
],
instructions: (
[
First step
... |
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/styles/help.typ | typst | MIT License | #import "../utilities.typ": *
#import "default.typ"
// Color to highlight function names in
#let fn-color = rgb("#1f2a63")
#let fn-color = blue.darken(30%)
#let default-type-color = rgb("#eff0f3")
#let show-outline(module-doc, style-args: (:)) = {
let prefix = module-doc.label-prefix
let items = ()
for fn in... |
https://github.com/j10ccc/algorithm-analysis-homework-template-typst | https://raw.githubusercontent.com/j10ccc/algorithm-analysis-homework-template-typst/main/layout/headers/index.typ | typst | #import "introduction.typ": introduction
#import "title.typ": title
#import "identification.typ": identification
#import "../divider.typ": divider
#let headers(
homework_id: [0],
date: [2023.09.04],
deadline: [2023.9.24],
time_consume: [],
intro: [请用 LATEX 编辑所有解答。所有问题请给出简洁的回答,任何冗余的回答可能会得低分。提交文件格式为 PDF]
) = [... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/comment/block-comment.typ | typst | Apache License 2.0 | Our study design is as follows:
/* Somebody write this up:
- 1000 participants.
- 2x2 data design. */
#if draw-edge == auto {
draw-edge = (source-name, target-name, target-node) => {
let (a, b) = (source-name + "." + direction,
target-name + "." + opposite-dir.at(direction))
/* see th... |
https://github.com/Amelia-Mowers/typst-tabut | https://raw.githubusercontent.com/Amelia-Mowers/typst-tabut/main/README.typ | typst | MIT License | #let ex(input) = {
set align(center);
block(
fill: luma(97%),
inset: 8pt,
radius: 4pt,
breakable: false,
[
#set align(left);
#input
])
}
#let snippet(filename) = {[
#let version = toml("typst.toml").package.version;
#let snippet-code-path = "doc/example-snippets/" + filename + ".typ"
#let... |
https://github.com/typst-community/typst-install | https://raw.githubusercontent.com/typst-community/typst-install/main/README.md | markdown | MIT License | # Typst installer
🤖 `curl | sh` installer script for Typst \
💡 Inspired by [denoland/deno_install]
<table align=center><td>
```sh
# ✨🚀
curl -fsSL https://typst.community/typst-install/install.sh | sh
typst compile paper.typ
```
</table>
🚀 Easy to get started; just one shell command! \
🟦 Works on Windows too
... |
https://github.com/TheLukeGuy/backtrack | https://raw.githubusercontent.com/TheLukeGuy/backtrack/main/DOCS.md | markdown | Apache License 2.0 | # Backtrack Documentation
This document specifies and explains the Backtrack API in detail. See the
[README file](README.md) for installation instructions and a basic description
and example.
## Top-Level Items
There are only two top-level items in the library: `current-version` and
`versions`.
### Current Version
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/conchord/0.1.1/tabs.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.1.1": canvas, draw
#let new(
tabs,
extra: none,
eval-scope: none,
scale: 0.3cm,
s-num: 6,
one-beat-length: 8,
line-spacing: 2,
) = {
let sign(x) = if x > 0 { 1 } else if x == 0 { 0 } else { -1 }
layout(
size => {
let width = size.width / scale * 0.95
canvas(
... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas3/4_Stvrtok.typ | typst | #let V = (
"HV": (
("", "<NAME>", "Molítvami čestných i božéstvennych apóstol tvojích, čelovikoľúbče ščédryj, jedíne mílostive, smirénije tvojé podážď rabóm tvojím, i spasí ot bíd vospivájuščich ťá, i víroju poklaňájuščichsja."),
("", "", "Jehdá na prestóľich obojunádesjatich sjádete so vsích Sudijéju, sudíti... | |
https://github.com/danilasar/conspectuses-3sem | https://raw.githubusercontent.com/danilasar/conspectuses-3sem/master/Ассемблер/240927.typ | typst | = Элементы архитектуры ПК и ассемблер для IBM PC
Ассемблер может обрабатывать целые десятичные, шестнадцатеричные, действительные с плавающей точкой, строковые и символьные константы.
- Двоичные целые --- последовательность нулей и единиц, заканчивающихся символом b
- Десятичные --- обычные положительные и отрицательны... | |
https://github.com/GartmannPit/Praxisprojekt-II | https://raw.githubusercontent.com/GartmannPit/Praxisprojekt-II/main/Praxisprojekt%20II/PVA-Templates-typst-pva-2.0/README.md | markdown | # PVA-Templates
This template is a typst template with an in detail guide to use it. You can find all the information in the README.typ file.
Please note: the standard language of the tempate outcome is German, although the guide and files are written in English/ with English comment.
The places to change the languag... | |
https://github.com/herbhuang/utdallas-thesis-template-typst | https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/layout/titlepage.typ | typst | MIT License | #let titlepage(
title: "",
titleGerman: "",
degree: "",
program: "",
supervisor: "",
advisors: (),
author: "",
startDate: datetime,
submissionDate: datetime,
) = {
// Quality checks
assert(degree in ("Bachelor", "Master"), message: "The degree must be either 'Bachelor' or 'Master'")
set page(... |
https://github.com/lrmrct/CADMO-Template | https://raw.githubusercontent.com/lrmrct/CADMO-Template/main/thesis.typ | typst | #set document(title: [CADMO Template],
author: "<NAME>",
keywords: ("Template", "CADMO", "ETH Zurich"),
date: auto)
#import "template/layout.typ": layout
#import "template/cover.typ": cover
#import "template/abstract.typ": abstract
#import "template/theorems.typ": theorem, pr... | |
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS1332/Modules/Hashmaps.typ | typst | #import "../../../template.typ": *
= Hashmaps
#definition[
*Hashmaps*: array backed data structure that allows us to use "custom" or flexible keys instead of using only indices. It uses a _hashing_ function to dictate which indexes corresponds to what data in the backing array.
]
No 2 entries cannot have the sam... | |
https://github.com/nafkhanzam/typst-common | https://raw.githubusercontent.com/nafkhanzam/typst-common/main/src/common/gray.typ | typst | #let binary-to-gray(digits) = {
let str-res = str(digits.at(0))
for i in range(digits.len() - 1) {
let l = int(digits.at(i))
let r = int(digits.at(i + 1))
let xorr = if l == r {
0
} else {
1
}
str-res += str(xorr)
}
return str-res
}
#let gray-to-binary(digits) = {
let st... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/typstonomicon/index.md | markdown | MIT License | # Typstonomicon, or The Code You Should Not Write
Totally cursed examples with lots of quires, measure and other things to hack around current Typst limitations.
Generally you should use this code only if you really need it.
<div class="warning">
Code in this chapter may break in lots of circumstances and debuggin... |
https://github.com/d-mironov/typst-slides-uni-freiburg | https://raw.githubusercontent.com/d-mironov/typst-slides-uni-freiburg/main/slides.typ | typst | MIT License | #import "template.typ": slides, transition
#show: slides.with(
paper: "TensorFlow Lite Micro: Embedded Machine Learning",
title: "Related Work",
author: "",
date: "2023-11-13",
// display-lastpage: false,
// short-title: "The mechanical energy",
)
#outline(title: "Agenda")
= Why Machine Learning on Embedded Sy... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/document-00.typ | typst | Other | // This is okay.
#set document(title: "Hello")
What's up?
|
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/MS-08.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [马龙], [CHN], [3546],
[2], [樊振东], [CHN], [3422],
[3], [许昕], [CHN], [3374],
[4], [林高远], [CHN], [3328],
[5], [王楚钦], [CHN], [3249],
... | |
https://github.com/csimide/SEU-Typst-Template | https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/lib.typ | typst | MIT License | #import "templates/bachelor.typ": bachelor-conf, bachelor-utils
#import "templates/degree.typ": degree-conf, degree-utils |
https://github.com/ntjess/typst-tada | https://raw.githubusercontent.com/ntjess/typst-tada/main/docs/manual.typ | typst | The Unlicense | #import "@preview/tidy:0.1.0"
#import "../lib.typ" as tada
#import "_doc-style.typ"
// https://github.com/ntjess/showman.git
#import "@local/showman:0.1.0": formatter
#let _HEADING-LEVEL = 1
#show raw.where(lang: "example"): it => {
heading(level: _HEADING-LEVEL + 2)[Example]
it
}
#outline(indent: 1em, depth: _HE... |
https://github.com/sthenic/technogram | https://raw.githubusercontent.com/sthenic/technogram/main/src/common.typ | typst | MIT License | /* A function to get text color (white/black) that's appropriate for the background. */
/* See https://stackoverflow.com/a/3943023 */
#let get-text-color(col) = {
let (red, green, blue) = rgb(col).components(alpha: false)
if red * 29.9% + green * 58.7% + blue * 11.4% > 73% {
black
} else {
white
}
}
|
https://github.com/JeyRunner/tuda-typst-templates | https://raw.githubusercontent.com/JeyRunner/tuda-typst-templates/main/templates/tudapub/common/outline.typ | typst | MIT License |
#let tudapub-make-outline-table-of-contents(
// How the table of contents outline is displayed.
// Either "adapted": use the default typst outline and adapt the style
// or "rewritten": use own custom outline implementation which better reproduces the look of the original latex template.
// ... |
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/sec/uvod/3.%20num%20metode.typ | typst | #set heading(offset: 1)
#import "/src/additional.typ": todo
#import "@preview/cetz:0.2.2": canvas, plot, draw, vector
#set math.equation(numbering: "(1.1)")
Ordinary differential equations or shorter @ODE[s], are equations that for a unknown function $y(x)$ have a form
$
F(x, y(x),y'(x), dots, y^((n))(x)) = 0
$<ge... | |
https://github.com/MaxAtoms/T-705-ASDS | https://raw.githubusercontent.com/MaxAtoms/T-705-ASDS/main/content/week7.typ | typst | #import "../template.typ": example, exercise
#import "../boxes.typ": definition
#import "../tags.typ": week, barron
=== Method of Maximum Likelihood
#week("7") #barron("9.1.2")
Assume we have observed a sample $(X_1, X_2, dots, X_n)$.
Find parameters of the distribution that maximize the probability that this sample... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/container_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test fr box.
Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/040%20-%20Zendikar%20Rising/005_Episode%203%3A%20The%20Dangerous%20Climb%2C%20the%20Long%20Fall.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 3: The Dangerous Climb, the Long Fall",
set_name: "Zendikar Rising",
story_date: datetime(day: 16, month: 09, year: 2020),
author: "<NAME>",
doc
)
#figure(image("005_Episode 3: The Dangerous Climb, the Long Fall/01.jpg", width: 100%... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/concepts.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/heading.typ": chapter
#import "/template/components.typ": note
#import "/template/lang.typ": arabic
#import "/lib/glossary.typ": tr
#show: web-page-template
#chapter(label: <chapter:font-concepts>)[
// Font Concepts
字体中的术语和概念
]
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-radial_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#grid(
columns: 2,
square(
size: 50pt,
fill: gradient.radial(..color.map.rainbow, space: color.hsl, center: (0%, 0%)),
),
square(
size: 50pt,
fill: gradient.radial(..color.map.rainbow, space: color.hsl, center: (0%, 100%)),... |
https://github.com/alerque/polytype | https://raw.githubusercontent.com/alerque/polytype/master/content/hieroglyphs.md | markdown | +++
title = "Hieroglyphs"
description = "Language of the Pharaohs"
extra.typesetters = [ "sile", "typst" ]
+++
In ancient times pictographs –wielded in the hands of the Pharaohs– ruled the world .
| |
https://github.com/duskmoon314/typst-fontawesome | https://raw.githubusercontent.com/duskmoon314/typst-fontawesome/main/example.typ | typst | MIT License | #import "lib.typ": *
#set heading(numbering: (..nums) => nums.pos().slice(1).map(str).join("."))
= typst-fontawesome
duskmoon314
https://github.com/duskmoon314/typst-fontawesome
A Typst library for Font Awesome 6.6.0 icons through the desktop fonts.
#outline()
#pagebreak()
== Usage
=== Install the fonts
You c... |
https://github.com/mroberts1/nocturnal-cinema | https://raw.githubusercontent.com/mroberts1/nocturnal-cinema/main/index.typ | typst | // Some definitions presupposed by pandoc's typst output.
#let blockquote(body) = [
#set text( size: 0.92em )
#block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
]
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#let endnote(num, contents) = [
#stack(dir: ltr, spacing: 3pt, super[#n... | |
https://github.com/Quaternijkon/notebook | https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-算法/分治/逆序对.typ | typst | #import "../../../../lib.typ":*
=== #Title(
title: [逆序对],
reflink: "https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof/description/",
level: 2,
)<逆序对>
#note(
title: [
交易逆序对的总数
],
description: [
在股票交易中,如果前一天的股价高于后一天的股价,则可以认为存在一个「交易逆序对」。请设计一个程序,输入一段时间内的股票交易记录 record,返回其中存在的「交易逆序对」总数。
],
examp... | |
https://github.com/3w36zj6/typst-template | https://raw.githubusercontent.com/3w36zj6/typst-template/main/docs/example-article/main.typ | typst | #import "../../templates/article.typ": article
#show: article.with(
title: "タイトル",
subtitle: "サブタイトル",
author: "著者",
date: datetime(year: 2020, month: 10, day: 4).display("[year]/[month]/[day]"),
paginate: true,
bib: bibliography("references.bib", title: "参考文献", style: "ieee"),
)
= Writing in Typst
このレポート... | |
https://github.com/SillyFreak/typst-packages-old | https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/template/gallery/test.typ | typst | MIT License | // make the PDF reproducible to ease version control
#set document(date: none)
#import "../src/lib.typ": add
// #import "@preview/template:0.0.1": add
= Test
#add(2, 7)
|
https://github.com/KuangjuX/typst-resume | https://raw.githubusercontent.com/KuangjuX/typst-resume/main/resume.typ | typst | MIT License | #import "chicv.typ": *
#show: chicv
= <NAME>
#fa[#envelope] <EMAIL> |
#fa[#github] #link("https://github.com/KuangjuX")[github.com/KuangjuX] |
#fa[#globe] #link("https://kuangjux.top")[kuangjux.top] |
#fa[#linkedin] #link("https://www.linkedin.com/in/kuangjux/")[KungjuX]
== Education
#cventry(
tl: "University of ... |
https://github.com/maantjemol/Aantekeningen-Jaar-2 | https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/IBIA/aantekeningen.typ | typst | // Update this import to where you put the `lapreprint.typ` file
// It should probably be in the same folder
#import "../template/lapreprint.typ": template
#import "../template/frontmatter.typ": loadFrontmatter
#import "@preview/drafting:0.2.0": *
#let defaultColor = rgb("#f2542d")
#show: template.with(
title: "IBI... | |
https://github.com/Lucas-Wye/tech-note | https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/openmp.typ | typst | = OpenMP
#label("openmp")
- OpenMP是由OpenMP Architecture Review Board牵头提出的,并已被广泛接受的,用于共享内存并行系统的多线程程序设计的一套编译指令
(Compiler Directive)。
== Introduction
#label("introduction")
See detail at #link("https://en.wikipedia.org/wiki/OpenMP")[wiki].
== OpenMP Programming Example
#label("openmp-programming-example")
Here is a C ... | |
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/examples/funny-math/funny-math-docs.typ | typst | MIT License | #import "template.typ": *
// #import "@preview/tidy:0.1.0"
#import "../../src/tidy.typ"
#import "custom-style.typ"
#show: project.with(
title: "funny-math",
subtitle: "Because math should be fun",
authors: ("Euklid",),
abstract: [*funny-math* is a funny math package for #link("https://typst.app/", [Typst]). ]... |
https://github.com/kznr02/neet-cv | https://raw.githubusercontent.com/kznr02/neet-cv/main/template.typ | typst | MIT License | #let project(body) = {
set page(paper: "a4", margin: (x: 1.2cm, y: 1cm))
set text(font: "Noto Sans", lang: "zh", size:9pt)
// Main body.
set par(justify: true)
body
}
#let info(name, phone, email, age, grade, github, zhihu, bilibili, photo) = {
box(
width: 100%,
height: auto,
[
#set al... |
https://github.com/gigu003/typst-templates | https://raw.githubusercontent.com/gigu003/typst-templates/main/qcreport/README.md | markdown | MIT License | # Typst Qcreport Format
## Installing
```bash
quarto use template gigu003/typst-templates/qcreport
```
This will install the format extension and create an example qmd file
that you can use as a starting place for your document.
## Using
```bash
---
title: This is a report title
subtitle: "第一季度"
date: today
author... |
https://github.com/swablab/documents | https://raw.githubusercontent.com/swablab/documents/main/beitragsordnung.typ | typst | Creative Commons Zero v1.0 Universal | #import "templates/tmpl_doc.typ": tmpl_doc
#show: doc => tmpl_doc(
title: "Beitragsordnung",
changes: (
[v1.0], [19.10.2020], [erste Fassung],
[v1.1], [01.04.2023], [
- Anpassung Beitragshöhe Födermitglieder \ (@beitrag[§], Absatz 5)
- Hinzufügen neue Familienklausel (@beitrag[§], Absatz 2)
]),
doc... |
https://github.com/qjcg/typstry | https://raw.githubusercontent.com/qjcg/typstry/main/templates/professional-formal-letter/letter.typ | typst | MIT License | #let name = [Dr. <NAME>, PhD]
#show link: set text(blue)
#set text(13pt)
#grid(
columns: (20%, 80%),
rows: (14%),
gutter: 3.5%,
[#image("logo.jpg",width: 100%)],
[
#align(bottom)[
#grid(
columns: (50%,50%),
rows: (80%),
... |
https://github.com/Thumuss/truthfy | https://raw.githubusercontent.com/Thumuss/truthfy/main/main.typ | typst | MIT License | #let (
generate-empty,
generate-table,
truth-table,
truth-table-empty,
NAND,
NOR,
nand,
nor,
karnaugh-empty,
//karnaugh,
) = {
let symboles-conv(a) = {
if (a) {
"1"
} else { "0" }
}
/// Transform a simple math equation to a string
let _strstack(obj) = if obj.body.has("b") {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.