repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/01-history/ttf-to-otf.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## From TrueType to OpenType
== 从TrueType到OpenType
// But it was to no avail. There were many reasons why TrueType ended up winning the font wars. Some of these we... |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/common-policy/covid_protocols.typ | typst | = Covid Protocols
<covid-protocols>
== Before Coming to Protohaven
<covid-before-coming>
Before coming to Protohaven, we ask everyone to verify that you:
+ Pass a self-screen for common Covid symptoms, meaning:
- No fever
- No cough or shortness of breath
- No change in sense of taste or smell, and
+ Have ... | |
https://github.com/yangyangdy/mycv | https://raw.githubusercontent.com/yangyangdy/mycv/main/README.md | markdown | MIT License | # Chi CV template


Rip-off of [<NAME> (cxs/skyzh)](https://github.com/skyzh)'s
[CV](https://skyzh.github.io/files/cv.pdf) as a LaTeX template called `... |
https://github.com/maxlambertini/troika-srd-typst | https://raw.githubusercontent.com/maxlambertini/troika-srd-typst/main/main.typ | typst | #import "template.typ": *
#import "chap01.typ": *
#import "chap02.typ": *
#import "chap03.typ": *
#import "chap04.typ": *
#import "chap05.typ": *
#import "chap06.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: "... | |
https://github.com/SkiFire13/eh-presentation-shellcode | https://raw.githubusercontent.com/SkiFire13/eh-presentation-shellcode/master/task1.a.typ | typst | #import "@preview/polylux:0.3.1": *
#import "unipd.typ": *
#new-section[ Task 1.a ]
#slide[
TODO: Task
]
| |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/5-implementation/architecture-project.typ | typst | Im Folgenden wird auf die grundlegenden Technologien eingegangen, die zur Entwicklung der Anwendung verwendet wurden. Hierbei wird auf die verwendeten Frameworks und Bibliotheken eingegangen, die die Grundlage für die Entwicklung der Anwendung bilden. Zunächst wird Node.js als Laufzeitumgebung für JavaScript verwendet.... | |
https://github.com/deadManAlive/ui-thesis-typst-template | https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/primer/intro.typ | typst | #import "../config.typ":cfg
#let intro = [
#show par: set block(spacing: 1.5em)
= Kata Pengantar
#include "../intro.typ"
#[
#set align(right)
#grid(
columns: 1,
align: center,
[#cfg.location, #cfg.time],
[#v(2.5em) Penulis, #v(0.5em)],
[#cfg.name]
)
]
] | |
https://github.com/simon-isler/zhaw-summaries | https://raw.githubusercontent.com/simon-isler/zhaw-summaries/main/Template/sections/1-template.typ | typst | = Heading 1
#lorem(5)
== Heading 2
#lorem(50)
=== Heading 3
#lorem(50) | |
https://github.com/crd2333/Astro_typst_notebook | https://raw.githubusercontent.com/crd2333/Astro_typst_notebook/main/src/components/TypstTemplate/utils.typ | typst | // 导入本地包
#import "fonts.typ":*
// 导入 preview 包
// 树、图文包裹、图标、真值表
#import "@preview/syntree:0.2.0": syntree, tree
#import "@preview/treet:0.1.0": tree-list
#import "@preview/wrap-it:0.1.0": wrap-content, wrap-top-bottom
#import "@preview/cheq:0.1.0": checklist
#import "@preview/pinit:0.1.4": *
#import "@previe... | |
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/decide-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: "Decide: Autonomous Movement",
type: "decide",
date: datetime(year: 2023, month: 9, day: 11),
author: "<NAME>",
witness: "<NAME>",
)
We rated all of our choices by the ... |
https://github.com/JarKz/math_analysis_with_typst | https://raw.githubusercontent.com/JarKz/math_analysis_with_typst/main/README.md | markdown | MIT License | # Математический анализ
Все вопросы, собранные со всех сборников по предмету "Математический анализ для студентов-заочников", предназначенные для подготовки к экзамену.
## Использование
Вам необходимо воспользоваться либо онлайн сервисом [Typst](https://typst.app), либо закачать typst (Rust приложение) на свой компь... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.2.0/template/chapters/global.typ | typst | Apache License 2.0 | //
// About the fh-joanneum-iit-thesis package used:
//
// Note 1:
// following is an (indirect) import of the 'lib.typ' file
// The file lib.typ (and others) will be downloaded and cached
// by your system. The location of the @preview cache directory
// is explained in
// https://github.com/... |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/布局/fraction/fraction.typ | typst | = fraction
定义布局中剩余空间的分布方式。
每个分数大小的元素根据其分数与所有分数之和的比率获得空间。
有关详细信息,另请参阅 h 和 v 函数以及 grid 函数。
#image("屏幕截图 2024-04-16 151921.png") | |
https://github.com/Tiggax/famnit_typst_template | https://raw.githubusercontent.com/Tiggax/famnit_typst_template/main/examples/attachments.typ | typst | MIT No Attribution | #let a = [
#lorem(800)
]
|
https://github.com/An-314/Notes-of-DSA | https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "数据结构与算法 复习笔记",
authors: (
"Anzreww",
),
time: "癸卯隆冬于清华园",
)
#pagebreak(weak: true)
#include "introduction.typ"
#pagebreak(weak: true)
#include "vector.typ"
#pagebreak(weak: true)
#include "list.typ"
#pagebreak(weak: true)
#include "stack&queue.... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.1.0/template/chapters/6-implementation.typ | typst | Apache License 2.0 | #import "global.typ": *
= Implementation <implementation>
#lorem(35)
#todo([ Describe what is relevant and special about your working prototype. State how single features help to solve problem(s) at hand. You might implement only the most relevant features. Features you select from your prioritised feature list ass... |
https://github.com/kokkonisd/typst-phd-template | https://raw.githubusercontent.com/kokkonisd/typst-phd-template/main/src/colors.typ | typst | The Unlicense | #let MAIN_COLOR = rgb(138, 15, 29)
#let SECONDARY_COLOR = luma(240)
#let INTENSE_COLOR = rgb(255, 157, 28)
#let SYMPATHETIC_COLOR_1 = rgb(36, 181, 118)
#let CODE_SNIPPET_COLOR = luma(210)
#let WARN_PRIMARY_COLOR = INTENSE_COLOR
#let WARN_SECONDARY_COLOR = INTENSE_COLOR.darken(20%)
#let NOTE_PRIMARY_COLOR = SYMPATHETI... |
https://github.com/freundTech/typst-typearea | https://raw.githubusercontent.com/freundTech/typst-typearea/main/tests/basic.query.typ | typst | MIT License | #import "../typearea.typ": *
#show: typearea.with(
width: 100pt,
height: 100pt,
div: 10,
)
#context [
#layout(size => [
#metadata(here().position() + size)<result>
])
]
#metadata((
page: 1,
x: 10pt,
y: 10pt,
width: 70pt,
height: 70pt,
))<expected>
|
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/01-history/decasteljau.typ | typst | Other | #import "/template/theme.typ": theme
#import "/lib/draw.typ": *
#let start = (0, 0)
#let end = (1000, 600)
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (100, 100))
let p1 = (22, 166)
let p2 = (148, 576)
let p3 = (977, 274)
let p4 = (742, 16)
let main-point = point.with(radius: 18, thickness:... |
https://github.com/rabotaem-incorporated/calculus-notes-2course | https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/04-parametric-and-curves/!sec.typ | typst | #import "../../config.typ"
#import "../../utils/core.typ": *
= Интегралы с параметром и криволинейные интегралы
#include "01-parametric-integral.typ"
#include "02-improper-integral.typ"
#include "03-euler-integrals.typ"
#include "04-hypergeometric-function.typ"
#include "05-line-integrals.typ"
#include "06-closed-and... | |
https://github.com/giZoes/justsit-thesis-typst-template | https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/pages/bachelor-abstract-en.typ | typst | MIT License | #import "../utils/custom-cuti.typ": fakebold
#import "../utils/style.typ": 字号, 字体
#import "../utils/indent.typ": fake-par
#import "../utils/invisible-heading.typ": invisible-heading
// 本科生英文摘要页
#let bachelor-abstract-en(
// documentclass 传入的参数
anonymous: false,
twoside: false,
fonts: (:),
info: (:),
// 其他参... |
https://github.com/bennyhandball/PA1_LoB_Finance | https://raw.githubusercontent.com/bennyhandball/PA1_LoB_Finance/main/PA/supercharged-dhbw/2.1.0/confidentiality-statement.typ | typst | #let confidentiality-statement(
authors,
title,
confidentiality-statement-content,
university,
university-location,
date,
language,
many-authors,
date-format
) = {
v(2em)
text(size: 20pt, weight: "bold", if (language == "de") {
"Sperrvermerk"
} else {
"Confidentiality Statement"
})
v... | |
https://github.com/pku-typst/PKU-typst-template | https://raw.githubusercontent.com/pku-typst/PKU-typst-template/main/README.md | markdown | MIT License | # PKU Typst 模板库
## 使用指南
安装 [just](https://github.com/casey/just) 并克隆本项目到本地, 运行以下命令即可安装
```bash
just install
```
嫌麻烦也可以直接去 [scripts](./scripts/) 文件夹里运行 `install.sh` 脚本
> Q: 如何更新?
> A: 重新拉取 (`git pull`) 仓库源代码并重新执行 `just install` 即可
|
https://github.com/YDX-2147483647/herglotz | https://raw.githubusercontent.com/YDX-2147483647/herglotz/main/cantor.typ | typst | #import "template.typ": project, remark, pseudonyms, example, table-header
#show: project.with(title: "既连续又本质间断", date: "2023年10月23–24日,11月7、13–14、16–20日,12月16日,2024年1月3日")
#quote(
block: true,
attribution: [_Profiles of the Future_ (1962) ch. 2, <NAME>],
)[
The only way of discovering the limits of the possibl... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/017_Episode%209%3A%20The%20Old%20Sins%20of%20New%20Phyrexia.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 9: The Old Sins of New Phyrexia",
set_name: "March of the Machine",
story_date: datetime(day: 28, month: 04, year: 2023),
author: "<NAME>",
doc
)
Centuries ago, the angels staved off the oil of unlife on New Capenna. For centuries, ... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/11_jul.typ | typst | #import "../../../all.typ": *
#show: book
= #translation.at("M_11_jul")
#include "../11_jul/20.typ"
#pagebreak()
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/grid-styling_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 70pt)
#set grid(fill: (x, y) => if calc.even(x + y) { rgb("aaa") })
#grid(
columns: (1fr,) * 3,
stroke: 2pt + rgb("333"),
[A], [B], [C], [], [], [D \ E \ F \ \ \ G], [H],
)
|
https://github.com/piepert/logik-tutorium-wise2024-2025 | https://raw.githubusercontent.com/piepert/logik-tutorium-wise2024-2025/main/src/packages/goals.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/grape-suite:1.0.0": colors
#import colors: *
#let goal-list = (
// Grundlagen
definieren-logik: ["Logik" definieren],
wissen-phil-argumente: [wissen, was philosophische Argumente sind],
erkennen-phil-argumente: [philosophische Argumente erkennen],
definieren-argument: ["Argument" ... |
https://github.com/talal/ilm | https://raw.githubusercontent.com/talal/ilm/main/CHANGELOG.md | markdown | MIT No Attribution | # Changelog
All notable changes to 'Ilm will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
<!---
The changes should be grouped using the following categories (in orde... |
https://github.com/Critik-V/resume-tmpl-typst | https://raw.githubusercontent.com/Critik-V/resume-tmpl-typst/main/links.typ | typst | MIT License | // for Link
#let Link(l, label) = link(l)[#text(fill: black, underline(offset: 4pt,label))]
// for Email
#let Email(l) = link("mailto:" + l)[#text(fill: black, underline(offset: 4pt,l))]
|
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/documents/a4xmanual/chapintro.typ | typst | #import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx
= Overview
The *A4X* firmware forms the contents of the boot ROM of XR/computer platforms.#footnote([See the _XR/computer Systems Handbook_ for more information.]) This is the first code that executes in the system after processor reset, and is respon... | |
https://github.com/Hobr/njust_thesis_typst_template | https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/page/content.typ | typst | MIT License | // 正文
#let showContent(content) = columns(
2,
align(left, content),
)
|
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-utils/README.md | markdown | MIT License | # ttt-utils
`ttt-utils` is the core package of the [typst-teacher-tools collection](https://github.com/jomaway/typst-teacher-templates).
## Modules
It contains several modules:
- `assignments` contains functions for creating exams.
- `components` contains useful visual components such _lines_ or _caro pattern_, _tag... |
https://github.com/hash-roar/typst-math-template | https://raw.githubusercontent.com/hash-roar/typst-math-template/main/typst_simple_thesis/main.typ | typst | #import "./template.typ": *
#show: project.with(
title: "A Simple Template For Homework",
authors: (
(name: "<NAME>", email: "<EMAIL>"),
),
// Insert your abstract after the colon, wrapped in brackets.
// Example: `abstract: [This is my abstract...]`
date: "April 2, 2023",
)
#let inline_code(text)={
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/optimal-ovgu-thesis/0.1.0/abstract.typ | typst | Apache License 2.0 | #import "components.typ": body-font, variable-pagebreak
#let oot-abstract(lang: "en", is-doublesided: none, body) = {
set text(lang: lang)
v(0.1fr)
align(center, text(
font: body-font,
1em,
weight: "semibold",
if lang == "de" [Zusammenfassung] else [Abstract],
))
linebreak()
text(body)
... |
https://github.com/evgenymng/pl-exam | https://raw.githubusercontent.com/evgenymng/pl-exam/main/paper.typ | typst | MIT License | #set page(
paper: "a4",
margin: (x: 1.5cm, y: 1.5cm),
)
#set par(
justify: true,
)
#set text(
size: 12pt
)
#set heading(
numbering: "1.",
supplement: [Разделе]
)
#show raw: set block(
above: 1em,
below: 2em,
)
#let clr-caption = rgb("777777")
#let que = [*(?)*]
#let cred(url) = link(
url,
text... |
https://github.com/chubetho/THWS_Bachelor_Template | https://raw.githubusercontent.com/chubetho/THWS_Bachelor_Template/main/templates/abstract.typ | typst | #heading("Abstract", outlined: false)
#lorem(150)
#heading("Zusammenfassung", outlined: false)
#[
#set text(lang: "de")
#lorem(150)
]
#pagebreak(weak: true)
| |
https://github.com/tzx/NNJR | https://raw.githubusercontent.com/tzx/NNJR/main/yml.typ | typst | MIT License | #import "template.typ": resume, header, resume_heading, edu_item, exp_item, project_item, skill_item
#let yml_personal(d) = {
header(
name: d.name,
phone: d.phone,
email: d.email,
linkedin: d.linkedin,
site: d.site
)
}
#let yml_education(d) = {
resume_heading[Education]
for edu in d {
... |
https://github.com/topdeoo/NENU-Thesis-Typst | https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/pages/ackonwledge.typ | typst | //! 致谢页
#let acknowledgement(
two-side: false,
//! 本页参数
title: "致谢",
outlined: true,
body,
) = {
pagebreak(
weak: true,
to: if two-side {
"odd"
},
)
[
#heading(level: 1, numbering: none, outlined: outlined, title) <no-auto-pagebreak>
#body
]
} | |
https://github.com/typst-community/guidelines | https://raw.githubusercontent.com/typst-community/guidelines/main/src/chapters/style/linebreaks.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/src/util.typ": *
#import mantys: *
= Linebreaks
For documents with a lot of collaboration aided by version control such as git, consider using something similar to #text(eastern, link("https://sembr.org/")[Semantic Line Breaks]).
Avoid hard-wrapping by the editor, as it makes diffs in #mode.mark harder to re... |
https://github.com/wjwei-handsome/personal_poster_typst | https://raw.githubusercontent.com/wjwei-handsome/personal_poster_typst/main/poster.temp.typ | typst | // define a template, just edit body in your own way.
#let poster(
// The poster's title.
title: "Paper Title",
// A array of authors, a dict as inner like: (name:"<NAME>", staff:"1,2").
authors: (),
// A array of departments, a dict as inner line: (id: "1", name: "Insitute Name")
departments: (),
// ... | |
https://github.com/jerrita/CQUPTypst | https://raw.githubusercontent.com/jerrita/CQUPTypst/master/template/font.typ | typst | // 中文字号 到 pt 的转换
// https://www.runoob.com/w3cnote/px-pt-em-convert-table.html
#let fs_2 = 22pt
#let fs_l2 = 18pt
#let fs_3 = 16pt
#let fs_l3 = 15pt
#let fs_4 = 14pt
#let fs_l4 = 12pt
// 1.5 倍行距约为 18pt
#let s_par_gap = 18pt
#let content_numbering(..nums) = {
if nums.pos().len() == 1 {
"第 " + str(nums.pos().las... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/weeks/week14.typ | typst | #import "../../utils.typ": *
#section("JIT part 2")
#subsection("Native Code")
For CSharp, when trying to run native code, you need to copy the code into
memory and mark the page as executable. Then you need to wrap the code within
the Marshal.GetDelegateForFunctionPointer<>() and call this delegate.
The System.Runt... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas6/4_Stvrtok.typ | typst | #let V = (
"HV": (
("","Tridnéven voskrésl jesí","Velíkim tájnam Bóžijim služítelije býste, bohoslóvcy i bohovídcy, učenicý: i blahodáť iscilénij prijáste, i vsím čelovíkom boľízni isciľájete."),
("","","Velíkoje pribížišče i pokróv dušám nášym, duchóv ľútych prohnánije, vý jesté bohovídcy apóstoli Hospódni: ... | |
https://github.com/Alignof/typst_template | https://raw.githubusercontent.com/Alignof/typst_template/master/example.typ | typst | MIT License | #import "style/report.typ": *
#show: style.with(
title: "typst template",
authors: (
(
name: "n.takana",
organization: [University of xxx, yyyyyyyyy],
email: "<EMAIL>"
),
),
abstract: none,
index-terms: ("typst", "template", "report"),
bibliography-file: none,
)
#let quote_block(b... |
https://github.com/PorterLu/Typst | https://raw.githubusercontent.com/PorterLu/Typst/main/basic/typst_demo.typ | typst | Typst是一个新的文本编辑器,可以从某种程度上替代Latex,从文将记录笔者学习Typst的过程。在 www.typst.app 上,我们可以在左侧编辑文件,等待一段时间后右侧就会自动渲染完成。
= 介绍
== 段落
在行首添加 = 可以使得文件变为标题,两个 = 可以开启二级标题,同时使用 ‘\_’ 可以开启强调 _强调_, _Emphasize_,现在发现中文的强调不是很明显。
添加一个段落需要加入一个空行即可,如果要列出小点,只需要使用在每一行使用'\+'即可,同时在可以使用'\-'列出子弹列表,例如列出宝可梦三原色,同时举例两只火系宝可梦:
+ 红
- 小火龙
- 帝君
+ 绿
+ 蓝
== 图片
#fi... | |
https://github.com/csimide/SEU-Typst-Template | https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/utils/thanks.typ | typst | MIT License | #let thanks(title: "致谢", s) = {
heading(bookmarked: true, outlined: true, numbering: none, level: 1, title)
s
} |
https://github.com/ellmau/cv-typst | https://raw.githubusercontent.com/ellmau/cv-typst/main/cv_en.typ | typst | #import "cv.typ": *
#show: my-cv.with(language:"en") | |
https://github.com/Hobr/njust_thesis_typst_template | https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/page/header.typ | typst | MIT License | // 字体
#import "../util/font.typ": fonts, fontSize
// 标题
#let showTitle(title) = align(
center,
text(
font: (fonts.en, fonts.zh_黑体),
size: fontSize.三号,
)[#title],
)
// 作者
#let showAuthor(author) = {
let count = author.len()
let ncols = calc.min(count, 3)
grid(
columns: (1fr,) * ncols,
row-g... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/accent_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test function call.
$grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä \
breve(\&), dot(!), circle(a), caron(@), arrow(Z), arrow.l(Z)$
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-09.typ | typst | Other | // Error: 9-18 cannot import from user-defined functions
#import () => {5}: x
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// This doesn't work because of mixed tabs and spaces.
- A with 2 spaces
- B with 2 tabs
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cmarker/0.1.0/lib.typ | typst | Apache License 2.0 | #let _p = plugin("./plugin.wasm")
#let render(
markdown,
smart-punctuation: true,
blockquote: none,
h1-level: 1,
raw-typst: true,
scope: (:),
show-source: false,
) = {
let options = 0;
if smart-punctuation { options += 0b00000001; }
if blockquote != none { options += 0b00000010; }
if raw-typst { o... |
https://github.com/pascalguttmann/git-presentation | https://raw.githubusercontent.com/pascalguttmann/git-presentation/master/README.md | markdown | Git-Presentation
================
Presentation about Version Control with Git and GitHub written in Typst.
| |
https://github.com/kokkonisd/typst-cross | https://raw.githubusercontent.com/kokkonisd/typst-cross/main/src/clues.typ | typst | The Unlicense | #import "preprocessing.typ": *
// Produce a list of clues.
//
// This produces a simple enumerated list with all the clues from a clues dictionary (usually
// either `data.clues.across` or `data.clues.down`, coming from the crossword's TOML file), with
// each element having the appropriate clue number.
//
// Paramet... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas3/1_Pondelok.typ | typst | #let V = (
"HV": (
("", "<NAME>", "Veľmí sohrešájušča mjá, i tebé ohorčevájušča blaháho Vladýku, i mílostiva jestestvóm, obraščájuščasja, jáko blúdnaho prijimí mja, i jedínaho ot najémnik tvojích sotvorí mja, nebésnyj Ótče."),
("", "", "Ľínostiju žitijá míru preidóch, i k koncú užé okajánnyj priblížichsja, ne... | |
https://github.com/deadManAlive/ui-thesis-typst-template | https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/intro.typ | typst | #lorem(128):
#for i in range(5) [
+ #lorem(40 - 5 * i)
]
#lorem(80)
#v(4em)
// signature next | |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2024/WS-03.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Women's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [SUN Yingsha], [CHN], [3647],
[2], [CHEN Meng], [CHN], [3366],
[3], [WANG Manyu], [CHN], [3360],
[4], [HAYATA Hina... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/glossarium/0.1.0/README.md | markdown | Apache License 2.0 | # Typst glossary
> Glossarium is based in great part of the work of [<NAME>](https://github.com/Dherse) from his master thesis available at: <https://github.com/Dherse/masterproef>. His glossary is available under the MIT licence [here](https://github.com/Dherse/masterproef/blob/main/elems/acronyms.typ).
Glossarium i... |
https://github.com/usami-k/technote | https://raw.githubusercontent.com/usami-k/technote/main/2024/apple-vision-pro-eyes/apple-vision-pro-eyes.typ | typst | Creative Commons Attribution 4.0 International | #import "@preview/touying:0.4.2": *
#let s = themes.metropolis.register(
aspect-ratio: "16-9",
footer: self => "『" + self.info.title + "』" + states.current-section-title,
)
#let s = (s.methods.info)(
self: s,
title: [Apple Vision Proのフォーカス操作],
author: [宇佐見公輔],
date: [2024-07-17],
institution: [株式会社ゆめみ],
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/CHANGELOG/CHANGELOG-0.3.md | markdown | Apache License 2.0 | # v0.3.1
## Changelog since v0.3.1
**Full Changelog**: https://github.com/Myriad-Dreamin/typst.ts/compare/v0.3.0...v0.3.1
### Known Issues
- exporter::svg: tyring to fix baseline of bitmap glyph, but untested in https://github.com/Myriad-Dreamin/typst.ts/pull/249
### Security Notes
- compiler: safer path_for_id i... |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-syntax-analysis.typ | typst | Apache License 2.0 |
== variable identifier
// `let`关键字后紧接着跟随一个#term("variable identifier")。标识符是变量的“名称”。「变量声明」后续的位置都可以通过标识符引用该变量。
// + 标识符以Unicode字母、Unicode数字和#mark("_")开头。以下是示例的合法变量名:
// ```typ
// // 以英文字母开头,是Unicode字母
// #let a; #let z; #let A; #let Z;
// // 以汉字开头,是Unicode字母
// #let 这;
// // 以下划线开头
// #let _;
// ```
//... |
https://github.com/ohmycloud/computer-science-notes | https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/grokking_mk.typ | typst | = Grokking Machine Learning
#let chapter(title, subtitle, heading) = [
#grid(
columns: (auto, auto, auto),
rows: (auto, auto),
row-gutter: 10pt,
column-gutter: (10pt, 25pt),
text(gray, weight: "bold", size: 24pt)[#title],
[#line(length: 1.8cm, stroke: 3pt + red, angle: 90deg)],
text(red, ... | |
https://github.com/TomPlanche/typst-template | https://raw.githubusercontent.com/TomPlanche/typst-template/main/main.typ | typst | MIT License | #import "conf.typ": *
#import "@preview/codly:1.0.0": *
#show: codly-init.with()
#show: conf.with(
title: "Title",
author: "<NAME>",
class: "Class name",
subtitle: "Class subtitle",
logo: image("assets/cnam_logo.svg"),
start-date: datetime(day: 4, month: 9, year: 2024),
main-color: "#C4122E",
)
#codly(... |
https://github.com/peterw16/da_typst_vorlage | https://raw.githubusercontent.com/peterw16/da_typst_vorlage/main/template/template.typ | typst | #import "customs.typ"
#let diplomarbeit(
title: "",
kurzfassung: [],
abstract: [],
aufgabenstellungen: (),
body
) = {
// ------ global definitions -----
set text(font: "Helvetica")
set page(
paper: "a4",
margin: (x: 2cm, top: 4cm),
header: [
#set align(horizon)
#grid(
columns: (3cm,... | |
https://github.com/jemus42/typst-slides-bips | https://raw.githubusercontent.com/jemus42/typst-slides-bips/main/README.md | markdown | MIT License | # typst-slides-bips
Attempting to recreate the BIPS presentation style as a learning exercise for typst
|
https://github.com/mrcinv/nummat-typst | https://raw.githubusercontent.com/mrcinv/nummat-typst/master/nummat_jl.typ | typst |
#import "template.typ": conf
#set text(lang: "sl")
#show: doc => conf(
title: [Numerična matematika #linebreak() v programskem jeziku Julia],
authors: ("<NAME>",),
doc,
)
#include "00_uvod.typ"
#include "01_julia.typ"
#include "02_koren.typ"
#include "03_tridiag.typ"
#include "04_laplace.typ"
#include "0... | |
https://github.com/mattyoung101/uqthesis_eecs_hons | https://raw.githubusercontent.com/mattyoung101/uqthesis_eecs_hons/master/pages/title.typ | typst | ISC License | #let config = yaml("../config.yaml")
#align(center, [
#image("../util/assets/uqlogo.png", width: 65%)
])
#v(24pt)
#align(center, text(24pt)[
*#config.title*
])
#v(2em)
#align(center, text(14pt)[
by
])
#align(center, text(18pt)[
#config.author
])
#align(center, text(16pt)[
#box(width: 75%)... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/valkyrie/0.1.0/src/types/array.typ | typst | Apache License 2.0 | #import "../base-type.typ": base-type, assert-base-type
#import "../context.typ": context
#import "any.typ": any
/// Valkyrie schema generator for array types. Array entries are validated by a single schema. For arrays with positional requirements, see @@tuple.
///
/// - name (internal):
/// - default (array, none): D... |
https://github.com/nhuongmh/nhuongmh.cv | https://raw.githubusercontent.com/nhuongmh/nhuongmh.cv/main/template.typ | typst | Do What The F*ck You Want To Public License | // You may need to change this settings
#let sansen = "KpSans"
#let sanszh = "Source Han Sans SC"
#let serifen = "KpRoman"
#let serifzh = "Source Han Serif SC"
#let emj = "Segoe UI Emoji"
// #let info = author => align(center)[
// #author.email \
// #author.phone \
// #author.home · #author.github · #author.link... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/examples/clustered-barchart.typ | typst | #import "@preview/cetz:0.2.0": canvas, chart, draw
#set page(width: auto, height: auto, margin: .5cm)
#let data2 = (
([15-24], 18.0, 20.1, 23.0, 17.0),
([25-29], 16.3, 17.6, 19.4, 15.3),
([30-34], 14.0, 15.3, 13.9, 18.7),
([35-44], 35.5, 26.5, 29.4, 25.8),
([45-54], 25.0, 20.6, 22.4, 22.0),
([55+], 19.9... | |
https://github.com/typst-tud/tud-slides | https://raw.githubusercontent.com/typst-tud/tud-slides/main/tud-slides.typ | typst | Apache License 2.0 | // TUD Theme for Typst Touying
//
// based on https://touying-typ.github.io/touying/docs/build-your-own-theme
#import "@preview/touying:0.4.2": *
#import "colors.typ": *
/*
* Utility Functions
*/
#let tud-gradient(self, body) = {
rect(
stroke: self.colors.debug-stroke,
fill: gradient.linear(
s... |
https://github.com/jamesrswift/journal-ensemble | https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/src/part.typ | typst | The Unlicense | #import "elements.typ"
#let part-state = state("__journal-ensemble:part", none)
#let update(new) = {
part-state.update(new)
}
#let make-new-section(
body,
display: auto
) = {
display = if display == auto {body} else {display}
pagebreak(weak:true, to: "even")
update(body)
v(1fr)
move(
dx: -2.5cm,
... |
https://github.com/jrihon/cv | https://raw.githubusercontent.com/jrihon/cv/main/cv.typ | typst | #import "brilliant-template/template.typ": *
#show: layout
#cvHeader(hasPhoto: true, align: left)
#autoImport("education")
#autoImport("projects")
#autoImport("competencies")
#autoImport("other_skills")
#autoImport("publications")
#cvFooter()
| |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/system-implementation/server.typ | typst | === Ungrammar Language Server <subsec-impl-langserver>
The Ungrammar Language Server acts as a crucial intermediary, facilitating
communication between the Language Service and various code editors. By
implementing the JSON-RPC protocol and adhering to the Language Server Protocol
(LSP) specification, the Language Ser... | |
https://github.com/xdoardo/co-thesis | https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/index.typ | typst | #import "/includes.typ": *
#include "./introduction.typ"
#include "./recursive/index.typ"
#include "./delay/index.typ"
#include "./imp/index.typ"
#include "./conclusions.typ"
| |
https://github.com/horaoen/java-cheat-sheet | https://raw.githubusercontent.com/horaoen/java-cheat-sheet/main/cheat-sheet.typ | typst | MIT License | #import "./typstempl/cosheet.typ": cosheet
#show: doc => cosheet(doc)
= java基础
== 去除空格
```java
public String trim(String str) {
// "\u0020" 半角空格, office空格, 全角空格
return str.trim().replace("\u00a0", "").replace("\u3000", "");
}
```
= Spring
== 获取Servlet相关参数
```java
ServletRequestAttributes servletRequestAttribu... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/block-sizing_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Layout inside a block with certain dimensions should provide those dimensions.
#set page(height: 120pt)
#block(width: 60pt, height: 80pt, layout(size => [
This block has a width of #size.width and height of #size.height
]))
|
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/options_ui_decision.typ | typst | #import "../../../acronyms.typ": ac
= UI Framework Decision <option-ui-decision>
All technologies to implement UIs in a functional language are unfamiliar to
the authors.
Because of that, it is crucial to have a good abstraction between #ac("UI") and
business logic in place so that the #ac("UI") framework, if necess... | |
https://github.com/typst-community/mantodea | https://raw.githubusercontent.com/typst-community/mantodea/main/tests/author/test.typ | typst | MIT License | #import "/src/author.typ"
#show heading.where(level: 1): it => pagebreak(weak: true) + it
#set page(width: auto, height: auto)
= Name
#author.name("Knuth", short: 0)
#author.name("Donald", "Knuth", short: 0)
#author.name("Donald", "Ervin", "Knuth", short: 0)
#author.name("Knuth", short: 1)
#author.name("Donald", ... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/layout-infinite-lengths_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// #set page(width: auto, height: auto)
//
// // Error: 17-54 cannot create polygon with infinite size
// #layout(size => polygon((0pt,0pt), (0pt, size.width))) |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/stroke_08.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Converting to stroke
// #assert.eq(stroke(red).paint, red)
// #assert.eq(stroke(red).thickness, auto)
// #assert.eq(stroke(2pt).paint, auto)
// #assert.eq(stroke((cap: "round", paint: blue)).cap, "round")
// #assert.eq(stroke((cap: auto, p... |
https://github.com/steelpancake/cv-typst | https://raw.githubusercontent.com/steelpancake/cv-typst/main/cv.typ | typst | MIT License | //#import "@preview/modern-cv:0.6.0": *
#import "@local/modern-cv:0.7.0": *
#show: resume.with(
author: (
firstname: "Pranshu",
lastname: "Tanwar",
email: "<EMAIL>",
//homepage: "",
phone: "+90 534 297 5089",
github: "pranshuthegamer",
github2: "steelpancake",
//scholar: "",
birth... |
https://github.com/RandomcodeDev/FalseKing-Design | https://raw.githubusercontent.com/RandomcodeDev/FalseKing-Design/main/game/game.typ | typst | #set heading(numbering: "1.")
#show link: underline
#align(center, text(30pt)[*False King*])
#align(center, text(20pt)[By <NAME>])
#outline()
#pagebreak()
#include("intro.typ")
#pagebreak()
#include("concept.typ")
#pagebreak()
#include("platforms.typ")
#pagebreak()
#include("tools.typ")
#pagebreak()
#include("visual... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/004_The%20Ledger%20of%20Hidden%20Fortunes.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Ledger of Hidden Fortunes",
set_name: "Ravnica Allegiance",
story_date: datetime(day: 20, month: 02, year: 2019),
author: "<NAME>",
doc
)
#strong[Date: The 15th of Dhazo]
#strong[Location: Clover Heights]
Summary of Tithe Collection P... | |
https://github.com/Gavinok/typst-res | https://raw.githubusercontent.com/Gavinok/typst-res/master/projects.typ | typst | #import "layout.typ": project_subheading
#let project(url, name, language, body) = {
(
url: url,
name: name,
language: language,
body: body
)
}
#let project_to_text(project) = {
project_subheading(project.url, project.name + " (" + project.language + ")", project.body)
}
#let is_desired_project(desired_... | |
https://github.com/pabsantos/anpet-typst | https://raw.githubusercontent.com/pabsantos/anpet-typst/main/anpet-typst.typ | typst | #let anpet-typst(
// Título
title: [Título do trabalho],
// Vetor com a lista de autores. Para cada autor é possível incluir o nome, instituição, departamento e e-mail para o primeiro autor
authors: (),
// Resumo do trabalho
resumo: [#lorem(150)],
// Abstract do trabalho
abstract: [#lorem(150)],
... | |
https://github.com/AlexCid/CryptographieLaSalle | https://raw.githubusercontent.com/AlexCid/CryptographieLaSalle/main/td01.typ | typst | #set page(
paper: "a4",
numbering: "1"
)
#set heading(numbering: (..nums) => nums
.pos()
.slice(1)
.map(str)
.join(".")
)
#align(center, text(25pt)[Cryptographie])
#align(center, text(17pt)[TD n°1 : Introduction & Histoire de la cryptographie])
= Partie I
== Chiffrement Caesar
En utilisant la ... | |
https://github.com/Shuenhoy/modern-zju-thesis | https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/pages/undergraduate-cover.typ | typst | MIT License | #import "../utils/fonts.typ": 字号, 字体
#import "../utils/datetime-display.typ": datetime-display
#import "../utils/twoside.typ": *
#let undergraduate-cover(
info: (:),
// 其他参数
stoke-width: 0.5pt,
row-gutter: 11.5pt,
anonymous-info-keys: ("grade", "student-id", "author", "supervisor"),
) = {
info = (
tit... |
https://github.com/max-niederman/MATH51 | https://raw.githubusercontent.com/max-niederman/MATH51/main/hw/6.typ | typst | #import "../lib.typ": *
#show: homework.with(
title: "Math 51 Homework #6",
)
= 18.2
$B$ and $B'$ are inverses of the $n times n$ matrix $A$.
$
B A B' &= B A B' \
(B A) B' &= B (A B') \
I_n B' &= B I_n \
B' &= B
$
= 18.3
== a
Since $A$ is $2 times 2$,
we can use the formula for the inverse of a $2 times 2$ m... | |
https://github.com/BoostCookie/systemd-tshirtd | https://raw.githubusercontent.com/BoostCookie/systemd-tshirtd/main/src/tshirtd.newlogo.transparent.typ | typst | #set page(fill: rgb(0%, 0%, 0%, 0%))
#include "common.newlogo.typ"
| |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0009.typ | typst | #import "../helpers.typ": *
#let palindrome-number-ref(x) = {
if x < 0 {
return false
}
if x == 0 {
return true
}
if calc.rem(x, 10) == 0 {
return false
}
let rev = 0
while x > rev {
if rev > 214748364 or (rev == 214748364 and calc.rem(x, 10) > 7) {
return false
}
rev = r... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/软件分析/hw/2100012990-郭子荀-软分第四次作业.typ | typst | #import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark
#import "../../template.typ": *
#show: note.with(
title: "作业4",
author: "YHTQ",
date: datetime.today().display(),
logo: none,
withOutlined : false,
withTitle : false,
withHeadingNumbering: false
)
#let Node =... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/casoslov/styleCasoslov.typ | typst | #import "/style.typ": *
#import "../texts.typ": *
#import "../textsTmp.typ": *
#let si = [
#lettrine("Sláva:") #lettrine("I teraz:")
]
#let ektenia(num) = [
==== Ekténia <X>
#lettrine("Pane, zmiluj sa.") #primText[(#(num)x)]
#si
]
#let zoznam(verse, slava: false) = [
#let c = counter("verse")
#c.update... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cheq/0.1.0/lib.typ | typst | Apache License 2.0 | #let unchecked-sym(fill: white, stroke: rgb("#616161"), radius: .1em) = move(
dy: -.08em,
box(stroke: .05em + stroke, fill: fill, height: .8em, width: .8em, radius: radius),
)
#let checked-sym(fill: white, stroke: rgb("#616161"), radius: .1em) = move(
dy: -.08em,
box(
stroke: .05em + stroke,
fill: stro... |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/README.md | markdown | The Unlicense | <div align="center">

</div>
<div align="center">


._
В современном мире скорость доступа к памяти значительно медленее скорости работы процессора. Решением проблемы стал концепт кэш-памяти -- ... | |
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode | https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/utils/todo.typ | typst | #let TODO(color: yellow, body) = {
rect(
width: 100%,
fill: color,
body
)
}
| |
https://github.com/timetraveler314/Note | https://raw.githubusercontent.com/timetraveler314/Note/main/ICS/main.typ | typst | #import "@local/MetaNote:0.0.1" : *
#let detm = math.mat.with(delim: "|")
#show: doc => MetaNote(
title: [
Introduction to Computer Systems
],
authors: (
(
name: "timetraveler314",
affiliation: "University of Genshin",
email: "<EMAIL>",
),
),
doc,
) | |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/docs/src/reference/scripting.md | markdown | Apache License 2.0 | ---
description: Automate your document with Typst's scripting capabilities.
---
# Scripting
Typst embeds a powerful scripting language. You can automate your documents and
create more sophisticated styles with code. Below is an overview over the
scripting concepts.
## Expressions { #expressions }
In Typst, markup an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.