repo stringlengths 27 90 | file stringlengths 57 176 | language stringclasses 2
values | license stringclasses 13
values | content stringlengths 25 180k |
|---|---|---|---|---|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/figure_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test localized default separator
#set text(lang: "fr", region: "CH")
#figure(
circle(),
caption: [Un cercle.],
)
#set text(lang: "es")
#figure(
polygon.regular(size: 1cm, vertices: 3),
caption: [Un triángulo.],
)
#set text(lan... |
https://github.com/tfachada/thesist | https://raw.githubusercontent.com/tfachada/thesist/main/template/Chapters/Appendix-B.typ | typst | MIT License | #import "@preview/thesist:0.2.0": flex-caption, subfigure-grid
#import "@preview/glossarium:0.5.0": gls, glspl
= Another appendix
#lorem(300)
#figure(
rect(),
caption: [An appendix image]
)<example_ref_B>
#subfigure-grid(
in-appendix: true,
figure(
rect(),
caption: [An image on the left.]
), <sub-... |
https://github.com/QuadnucYard/crossregex-typ | https://raw.githubusercontent.com/QuadnucYard/crossregex-typ/main/src/hex.typ | typst | MIT License | #import "layout.typ": *
#import "process.typ": *
#let r3 = calc.sqrt(3)
#let crossregex-hex(
size,
alphabet: regex("[A-Z]"),
constraints: (),
answer: none,
show-whole: true,
show-views: true,
cell: auto,
cell-config: (:),
deco-config: (:),
progress-creator: auto,
page-margin: 0.5em,
) = {
if c... |
https://github.com/EstebanMunoz/typst-template-informe | https://raw.githubusercontent.com/EstebanMunoz/typst-template-informe/main/README.md | markdown | MIT No Attribution | # typst-template-informe
Template para la creación de informes universitarios usando Typst.
|
https://github.com/Ryoga-itf/differential-equations | https://raw.githubusercontent.com/Ryoga-itf/differential-equations/main/report02/report.typ | typst | #import "../template.typ": *
#import "@preview/tenv:0.1.1": parse_dotenv
#import "@preview/physica:0.9.2": *
#let env = parse_dotenv(read("../.env"))
#show: project.with(
week: "第2回",
authors: (
(name: env.STUDENT_NAME, email: "学籍番号:" + env.STUDENT_ID, affiliation: "所属:情報科学類"),
),
date: "2024 年 10 月 10 日"... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/复变函数/main.typ | typst | #import "../template.typ": proof, note, corollary, lemma, theorem, definition, example, proposition, remark, der, partialDer
#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: "复变函数",
author: "YHT... | |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/其它/Git.typ | typst | #import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: none,
lang: "zh",
)
#warning()[
- 当你在实现一个大功能时,请将它分成小块并定期提交
- 长时间工作而不做提交并不是一个好主意
- 慎用复杂 or 不熟的 git 命令
- 实在不行你先 `mkdir ~/backrepo && cp -r ./* ~/backrepo/` 一下(不会匹配 `.git` 目录哒)
]
- 基础的东西不谈,记录一些(可能)比较危险的操作,多人情况下慎用
- *修改最近一次提交*... | |
https://github.com/CreakZ/mirea-algorithms | https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/README.md | markdown |
# Введение
В данном репозитории собраны <strike>все</strike> (кроме 6-й, не спрашивайте, как так получилось, быть может, она когда-нибудь будет сделана) работы по дисциплине СиАОД (вариант №22), встречающейся на пути студентов направления "Программная инженерия" (и, почти наверняка, каких-то еще) РТУ МИРЭА. <br>... | |
https://github.com/howardlau1999/sysu-thesis-typst | https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/chapters/ch01.typ | typst | MIT License | #import "../functions/allinone.typ": *
#import "../info.typ": *
= 基本功能 <intro>
== 标题
Typst 中的标题使用 `=` 表示,其后跟着标题的内容。`=` 的数量对应于标题的级别。
除了这一简略方式,也可以通过 `heading` 函数自定义标题的更多属性。具体可以参考#link("https://typst.app/docs/reference/meta/heading/", [文档中的有关内容])。
下面是一个示例:
#tablex(
columns: (1fr, 1fr),
[
#set align(center)
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/linebreak_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Multiline yet inline does not linebreak
#let hrule(x) = box(line(length: x))
#hrule(80pt)$a + b \ c + d$\
|
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/grid/positioning.typ | typst | // Test cell positioning in grids.
--- grid-cell-show-x-y ---
#{
show grid.cell: it => (it.x, it.y)
grid(
columns: 2,
inset: 5pt,
fill: aqua,
gutter: 3pt,
[Hello], [World],
[Sweet], [Home]
)
}
#{
show table.cell: it => pad(rest: it.inset)[#(it.x, it.y)]
table(
columns: 2,
gutt... | |
https://github.com/FinleyGe/typst-profile | https://raw.githubusercontent.com/FinleyGe/typst-profile/main/template/lib.typ | typst | #let container(
title: "Title",
body
) = {
[
#set align(left)
#grid(
rows: 2,
gutter: 0cm,
row-gutter: 0cm,
rect(
outset: 0pt,
width: 100%,
fill: blue,
radius: (
top: 0.1cm,
),
text(size: 16pt, fill: white, title),
),
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/georges-yetyp/0.1.0/README.fr.md | markdown | Apache License 2.0 | # Georges Yétyp
[Version anglaise](README.md)
Modèle Typst pour les rapports de stage à Polytech (Grenoble).
[](thumbnail.png)
## Utilisation
On peut soit passer par [l'application web Typst](https://typst.app/?template=georges-yetyp&version=0.1.0), ou utiliser la ligne de... |
https://github.com/a-dixon/typst-template-ieee | https://raw.githubusercontent.com/a-dixon/typst-template-ieee/main/chapters/introduction.typ | typst | #import "../template.typ": *
= Introduction
// your introduction goes here
#lorem(100)
| |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/07-localisation/other-scripts.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/template/lang.typ": devanagari
#import "/lib/glossary.typ": tr
#show: web-page-template
// ## Other complex scripts
== 其他复杂#tr[scripts]
// Designing for Indic scripts such as Devanagari is pretty much the same as ... |
https://github.com/poopsicles/bachelors-typst-template | https://raw.githubusercontent.com/poopsicles/bachelors-typst-template/main/covenant.typ | typst | MIT License | #import "@preview/i-figured:0.2.4"
// if none, give "blank page template"
#let blankify(thing) = {
if thing == none {
align(horizon + center)[
This page has been intentionally left blank.\
// Except for the line above this.\
// And this.
// You get the idea.
]
} else {
par[#thi... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/footnote-table.typ | typst | Apache License 2.0 | // Test footnotes in tables. When the table spans multiple pages, the footnotes
// will all be after the table, but it shouldn't create any empty pages.
---
#set page(height: 100pt)
= Tables
#table(
columns: 2,
[Hello footnote #footnote[This is a footnote.]],
[This is more text],
[This cell
#footnote[This ... |
https://github.com/skylee03/skylee-homework-typst | https://raw.githubusercontent.com/skylee03/skylee-homework-typst/main/README.md | markdown | MIT License | # Skylee's Typst Homework Template
A template & library for typesetting homework assignment submissions in Typst.
## Installation
To install, download the [`skylee-hw.typ`](./skylee-hw.typ) file and import it into your Typst document.
## Usage
Refer to [`example.typ`](./example.typ) and [`example.pdf`](./example.p... |
https://github.com/elteammate/typst-compiler | https://raw.githubusercontent.com/elteammate/typst-compiler/main/deobfuscated/ir-gen.typ | typst | #import "reflection-ast.typ": *
#import "reflection.typ": *
#import "pprint.typ": *
#import "typesystem.typ": *
#import "ir-def.typ": *
//#define RECURSE $AST
//# let __a = context.ast
//# context.ast = $AST
//# context = ir_from_ast_(context)
//# if context.errors.len() > 0 { return context }
//# let _... | |
https://github.com/topdeoo/Course-Slides | https://raw.githubusercontent.com/topdeoo/Course-Slides/master/Seminar/2024-01-12/main.typ | typst | #import "../../theme/iTalk.typ": *
#import "@preview/algo:0.3.3": algo, i, d, comment, code
#show: nenu-theme.with(
short-title: "PMSCP",
short-date: "24-01-12",
short-author: "Virgil"
)
#let argmax = math.op("arg max", limits: true)
#let argmin = math.op("arg min", limits: true)
#title-slide(
title: "Learni... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/mitex/0.1.0/examples/example.typ | typst | Apache License 2.0 | #import "../lib.typ": *
#set page(width: 500pt, height: auto, margin: 1em)
#assert.eq(mitex-convert("\alpha x"), "alpha x ")
Write inline equations like #mi("x") or #mi[y].
Also block equations (this case is from #text(blue.lighten(20%), link("https://katex.org/")[katex.org])):
#mitex(`
f(x) = \int_{-\infty}^\i... |
https://github.com/SidneyLYZhang/learnTypst | https://raw.githubusercontent.com/SidneyLYZhang/learnTypst/main/Documentation/Sources/011_guide-for-latex-users.typ | typst | #set text(font:("Consolas", "Source Han Sans SC"))
#set text(lang: "zh")
#show emph: text.with(font: ("Linux Libertine","STKaiti"))
#show link: text.with(fill: color.blue)
= LaTeX用户指南
| |
https://github.com/Personal-Data-Acquisition/PDA_paperwork | https://raw.githubusercontent.com/Personal-Data-Acquisition/PDA_paperwork/main/SDP/sdp.typ | typst | = Software Development Process(SDP)
#strong[Authors:] <NAME>, <NAME>, <NAME>, <NAME>
#strong[DATE:] 2023-11-16
= Principles
- We will respond to asynchronous communication within 24 hours
- We will be at meetings on time and pay attention
- All changes need to be isolated to their own git branch
- Each work item need... | |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/components/TypstTemplate/math.typ | typst | #import "@preview/quick-maths:0.1.0": shorthands
#import "@preview/mitex:0.2.4": *
// 以类似格式添加符号缩写
#let shorthand = shorthands.with(
($+-$, $plus.minus$),
($|-$, math.tack),
($=<$, $<=$), // =< becomes '≤'
($<==$, math.arrow.l.double), // Replaces '≤',似乎需要某一边有东西才能正常工作,原因未知
($~$, $med$),
)
// 文... | |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/src/g-sugar.typ | typst | MIT License | #import "./g-question.typ": *
#import "./g-solution.typ": *
#import "./g-clarification.typ": *
#let __sugar(content) = {
show regex("=\?"): it => {
let (sugar, ..rest) = it.text.split("?")
if sugar == "=" {
g-question[]
}
else {
[#it]
}
}
show regex("=\?(... |
https://github.com/OCamlPro/ppaqse-lang | https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/analyseurs.typ | typst | #import "defs.typ": *
#import "links.typ": *
= Analyseurs statiques <A-static>
== Généralités
Pour chaque langage étudié dans le rapport, nous présentons des outils d'analyse
statique permettant de déduire de l'information par une
interprétation abstraite du programme.
Les analyseurs statiques peuvent établir des m... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/archive.typ | typst |
---------------------------------------------------------------
// a cool way of drawing triangles
// a curved arrow
#inline-canvas({
import cetz.draw: *
let curved-arrow(a, b) = {
let c1x = calc.abs(a.at(0) - b.at(0)) / 2
let c1y = a.at(1) - 1
let c1 = (c1x, c1y)
let c2 = b
let c = c1
let... | |
https://github.com/sa-concept-refactoring/doc | https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/chapters/abstract.typ | typst | = Abstract <abstract>
With C++20, template parameter constraints @concept_iso_standard were introduced that allow to specify the expected functionality of the template parameters.
The objective of this project was to find novel refactoring operations related to concepts and to implement them as part of a language serve... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/accent.typ | typst | // Test math accents.
--- math-accent-sym-call ---
// Test function call.
$grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä \
breve(\&), dot(!), circle(a), caron(@), arrow(Z), arrow.l(Z)$
--- math-accent-align ---
$ x &= p \ dot(x) &= v \ dot.double(x) &= a \ dot.triple(x) &= j \ dot.quad(x) &= s $
--- ... | |
https://github.com/jamesrswift/typst-chem-par | https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/src/rules.typ | typst | MIT License | #import "rules/formulae.typ": formulae
#import "rules/isomers.typ": isomers
#import "rules/enantiomers.typ": enantiomers
#import "rules/greek.typ": greek
#import "rules/dropcaps.typ": fischer-dropcaps
#import "rules/deuterated.typ": deuterated |
https://github.com/morel-olivier/template-typst | https://raw.githubusercontent.com/morel-olivier/template-typst/master/basic-report/main.typ | typst | #import "conf.typ": conf
#show: doc => conf(
fontSize: 12pt,
title: "Mon Document",
company: "Ma Société",
authors: ("<NAME>", "<NAME>"),
frontPagePicture: none,
doc
)
= Introduction <intro>
#lorem(100)
#lorem(60)
== Sous-section 1
#lorem(50)
@intro is a test
== Sous-section 2
=== Sous-sous-section 1
#lor... | |
https://github.com/thomasschuiki/thomasschuiki | https://raw.githubusercontent.com/thomasschuiki/thomasschuiki/main/cv/metadata.typ | typst | #import "fontawesome.typ": *
#let lang = sys.inputs.LANG
#let data = yaml("vitae."+lang+".yml")
/* Personal Information */
#let firstName = data.Personal.FirstName
#let lastName = data.Personal.LastName
#let personalInfo = (
github: "thomasschuiki",
gitlab: "thomasschuiki",
email: data.Contact.email,
linkedi... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/dict-01.typ | typst | Other | // Test lvalue and rvalue access.
#{
let dict = (a: 1, "b b": 1)
dict.at("b b") += 1
dict.state = (ok: true, err: false)
test(dict, (a: 1, "b b": 2, state: (ok: true, err: false)))
test(dict.state.ok, true)
dict.at("state").ok = false
test(dict.state.ok, false)
test(dict.state.err, false)
}
|
https://github.com/rdboyes/resume | https://raw.githubusercontent.com/rdboyes/resume/main/modules_fr/skills.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": cvSection, cvSkill, hBar
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#cvSection("Compétences")
#cvSkill(
type: [Langues],
info: [Anglais #hBar() Français #hBar() Chinois],
)
#cvSkill(
type: [Tech Stack],
info:... | |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/tests/combine-range/test.typ | typst | MIT License | #import "../../src/util/util.typ": combine-ranges
#let cases = (
(1,),
(1, 2),
(1, 2, 3),
(1, 2, 3, 4),
(1, 2, 4, 6),
(1, 2, 4, 5, 6),
(3, 4, 5, 6),
(2, 3, 4, 5, 6, 12, 13, 14, 15, 16),
(1, 2, 3, 4, 5, 6),
(100, 100, 105, 104, 102, 103),
)
#for case in cases [
- #case #sym.arrow.r #combine-rang... |
https://github.com/ahxt/typst-TMLR | https://raw.githubusercontent.com/ahxt/typst-TMLR/main/typst_TMLR.typ | typst | #import "tmlr.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: tmlr.with(
title: "Formatting Instructions for TMLR
Journal Submissions",
authors: (
(name: "<NAME>", email: "<EMAIL>", affiliation: "Department of Computer Science... | |
https://github.com/jamesrswift/musicaux | https://raw.githubusercontent.com/jamesrswift/musicaux/main/tests/test.typ | typst | #import "/src/lib.typ": *
#set text(font: "New Computer Modern", size: 20pt)
#show: score.with(
//title: [Dance in D Major],
//subtitle: [Op 8 No. 3 Mov. 1--3],
author: [<NAME>]
)
#group({
notation(
{
cmd.bars.double-bold-open()
cmd.common.trebble()
cmd.common.key-signature(pitch: -4)
c... | |
https://github.com/liuguangxi/suiji | https://raw.githubusercontent.com/liuguangxi/suiji/main/src/random-fast.typ | typst | MIT License | //==============================================================================
// Random number generator (fast version)
//
// Public functions:
// gen-rng-f
// randi-f, integers-f, random-f, uniform-f, normal-f
// discrete-preproc-f, discrete-f
// shuffle-f, choice-f
//=======================... |
https://github.com/cnaak/blindex.typ | https://raw.githubusercontent.com/cnaak/blindex.typ/main/test/test-01-readme.typ | typst | MIT License | #set page(paper: "a7", fill: rgb("#eec"))
#import "lib.typ": iQuot, mkIndex
The Septuagint (LXX) starts with #iQuot([ΕΝ ἀρχῇ ἐποίησεν ὁ Θεὸς τὸν οὐρανὸν καὶ τὴν γῆν.],
"Gen", "en-logos", [1.1], "LXX", label("2012-LXX-SBB")).
#pagebreak()
Moreover, the book of Odes begins with: #iQuot([ᾠδὴ Μωυσέως ἐν τῇ ἐξόδῳ], "Ode"... |
https://github.com/daskol/typst-templates | https://raw.githubusercontent.com/daskol/typst-templates/main/iclr/iclr2025.typ | typst | MIT License | /**
* iclr2025.typ
*/
#let std-bibliography = bibliography // Due to argument shadowing.
#let font-family = ("Times New Roman", "CMU Serif", "Latin Modern Roman",
"New Computer Modern", "Times", "Serif")
#let font-family-sans = ("Nimbus Sans", "CMU Sans Serif", "Latin Modern Sans",
... |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/操作系统(选修)/实验/4.typ | typst | The Unlicense | #import "template.typ": *
#show: project.with(
title: "实验四 进程调度模拟程序",
authors: (
"absolutex",
)
)
#align(right)[]
+ *实验目的*
理解Linux系统中时间片轮转调度算法。
+ 实验内容:
编写程序完成单处理机系统中的进程调度,要求采用固定时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式,然后完成进程创建函数和进程调度函数,最后编写主函数对所做工作进行测试。要求:创建多个进程(所需执行时间不同),按照时间片轮转的调度算法将进程的执行顺序显示出... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/057%20-%20Bloomburrow/005_Episode%205%3A%20Nightfall%20in%20Fountainport.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 5: Nightfall in Fountainport",
set_name: "Bloomburrow",
story_date: datetime(day: 08, month: 07, year: 2024),
author: "<NAME>",
doc
)
#strong[Helga]
Fountainport loomed over the largest pond in Valley. The graceful spire of water ... | |
https://github.com/qlaush/template_thesis_stuttgart_imvt | https://raw.githubusercontent.com/qlaush/template_thesis_stuttgart_imvt/main/proposal.typ | typst | MIT License | #import "/layout/proposal_template.typ": *
#import "/metadata.typ": *
#set document(title: titleEnglish, author: author)
#show: proposal.with(
title: titleEnglish,
titleGerman: titleGerman,
degree: degree,
program: program,
supervisor: supervisor,
advisors: advisors,
author: author,
startDate: startDa... |
https://github.com/wuc9521/CS-scholars-report | https://raw.githubusercontent.com/wuc9521/CS-scholars-report/main/main.typ | typst | #set page(
paper: "a4",
margin: (top: 2.5cm, left: 2.5cm, right: 2.5cm, bottom: 2.5cm),
numbering: "1",
)
#set text(font: "Times New Roman", size: 11pt)
#set heading(numbering: "1.1.")
#set raw(tab-size: 4)
#show link: it => {
set text(fill: rgb(0, 0, 128))
underline(it)
}
#[
#set align(center)
#set tex... | |
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/main.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial: radial-theme, components
#show: notebook.with(theme: radial-theme, cover: align(center + horizon)[
#text(size: 24pt, font: "Tele-Marines")[
#text(size: 28pt)[
Engineering Notebook
]
#image("./assets/53E-logo-j... |
https://github.com/genericusername3/structogrammer | https://raw.githubusercontent.com/genericusername3/structogrammer/master/README.md | markdown | MIT License | # [structogrammer](https://gitlab.com/czarlie/structogrammer)
Draw Nassi-Shneiderman diagrams, also called structograms, in Typst.
## Basic Usage
Import with:
```typ
#import "@preview/structogrammer:0.1.1": structogram
```
You can then draw structograms, like so:
```typ
#structogram(
width: 30em,
... |
https://github.com/Dherse/codly | https://raw.githubusercontent.com/Dherse/codly/main/args.typ | typst | MIT License |
#let type_check(
ty,
function,
) = {
if type(ty) == array {
let tys = ty.map(t => eval(t, mode: "code"))
(value, use) => {
let value_ty = type(value)
value_ty in tys or (function and (not use) and value_ty == function)
}
} else {
let ty = eval(ty, mode: "code")
(value, use) => {... |
https://github.com/BoostCookie/systemd-tshirtd | https://raw.githubusercontent.com/BoostCookie/systemd-tshirtd/main/src/common.newlogo.typ | typst | //#set page(fill: rgb("#201a26"))
#set page(width: 256mm, height: auto, margin: (top: 0em, right: 0em, bottom: 2em, left: 0em))
#set align(center)
#set text(font: "Roboto", fill: white, weight: "bold")
#let brace_angle = 30deg
#let logo_height = 80%
#let line_width = 1.5em
#grid(
columns: (1fr, 38%, 1fr),
rows: 12... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.3/README.template.md | markdown | Apache License 2.0 | # fletcher
[](https://github.com/Jollywatt/typst-fletcher/raw/latest/docs/manual.pdf)
,
(name: "website", link: "https://mikevanbuskirk.io/", display: "mikevanbuskirk.io"),
(name: "github", link: "https://github.com/codevbus", display: "codevbus"),
(name: "... |
https://github.com/wangjiezhe/typst-syntax | https://raw.githubusercontent.com/wangjiezhe/typst-syntax/main/CHANGELOG.md | markdown | Apache License 2.0 | # Change Log
All notable changes to the "typst-syntax" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## v0.0.1
- Initial release |
https://github.com/mem-courses/calculus | https://raw.githubusercontent.com/mem-courses/calculus/main/recourses-2/quiz-1-2022.typ | typst | #import "../template.typ": *
#show: project.with(
course: "Calculus II",
course_fullname: "Calculus (A) II",
course_code: "821T0160",
title: "Quiz #1 (Spring-Summer 2023 ver.)",
authors: ((
name: "memset0",
email: "https://mem.ac/",
id: [_<EMAIL>_],
),),
semester: "Spring-Summer 2024",
date: "April 9, 20... | |
https://github.com/mriganksagar/cv | https://raw.githubusercontent.com/mriganksagar/cv/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Experience")
#cvEntry(
title: [Full Stack Software Engineer],
society: [Optum (UHG)],
logo: "../src/logos/optum-logo.png",
date: [2021 - Present],
location: [Gurugram, India],
description: list(
[#strong[Role and Project]: Key contrib... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/042%20-%20Strixhaven%3A%20School%20of%20Mages/009_Blue-Green%20Ribbons.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Blue-Green Ribbons",
set_name: "Strixhaven: School of Mages",
story_date: datetime(day: 23, month: 04, year: 2021),
author: "<NAME>",
doc
)
#align(center)[#strong[I.]]
#emph[One, one, two. . .]
<NAME> counts the clusters of bubbles floati... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/006.%20popular.html.typ | typst | #set page(
paper: "a5",
margin: (x: 1.8cm, y: 1.5cm),
)
#set text(
font: "Liberation Serif",
size: 10pt,
hyphenate: false
)
#set par(justify: true)
#set quote(block: true)
#v(10pt)
= Being Popular
#v(10pt)
_May 2001_
_(This article was written as a kind of business plan for a new language. So it is missing... | |
https://github.com/RolfBremer/in-dexter | https://raw.githubusercontent.com/RolfBremer/in-dexter/main/in-dexter.typ | typst | Apache License 2.0 | // Copyright 2023, 2024 <NAME>, <NAME>
// Use of this code is governed by the License in the LICENSE.txt file.
// For a 'how to use this package', see the accompanying .md, .pdf + .typ documents.
#let indexTypes = (
Start: "Start",
End: "End",
Cardinal: "Cardinal",
)
// Adds a new entry to the index
// @param f... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/op-02.typ | typst | Other | // Test scripts vs limits.
#set text(font: "New Computer Modern")
Discuss $lim_(n->oo) 1/n$ now.
$ lim_(n->infinity) 1/n = 0 $
|
https://github.com/denizenging/site | https://raw.githubusercontent.com/denizenging/site/master/page/home/_index.tr.typ | typst | #import "@local/pub-page:0.0.0": *
#show: template(title: "<NAME>", menu: (1, "home")) | |
https://github.com/1sSay/USPTU_conspects | https://raw.githubusercontent.com/1sSay/USPTU_conspects/main/src/discrete_math/GraphTheoryIntroduction.typ | typst | // Global settings and templates
#set text(14pt)
#let def(term, color: black) = {
box(stroke: color, inset: 7pt, text()[ #term ])
}
// Lecture header and date
#let lecture_header = text()[Основы теории графов]
#let date = text()[27.09.2024]
// Header
#align(center, heading(level: 1)[Дискретная математика. \ #lecture... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/025.%20gba.html.typ | typst | gba.html
The Word "Hacker"
April 2004To the popular press, "hacker" means someone who breaks
into computers. Among programmers it means a good programmer.
But the two meanings are connected. To programmers,
"hacker" connotes mastery in the most literal sense: someone
who can make a computer do what he wants—whether ... | |
https://github.com/christopherkenny/tufte | https://raw.githubusercontent.com/christopherkenny/tufte/main/_extensions/tufte/typst-show.typ | typst | Other | #show: doc => tufte(
$if(title)$
title: [$title$],
$endif$
$if(subtitle)$
subtitle: [$subtitle$],
$endif$
$if(shorttitle)$
shorttitle: [$shorttitle$],
$endif$
$if(document-number)$
document-number: [$document-number$],
$endif$
$if(by-author)$
authors: (
$for(by-author)$
$if(it.name.literal)$
( name: [$it.... |
https://github.com/huyufeifei/grad | https://raw.githubusercontent.com/huyufeifei/grad/master/docs/paper/src/ch4.typ | typst | = 在Alien中的适配
以上的驱动为满足通用性,都完全仅使用Rust库中所定义的结构写成,只依赖了一些在官方仓库中存在的包,而没有依赖任何操作系统中的结构。因此保证了该驱动的通用性,能够被多个系统代码级的复用。为验证其在实际操作系统中的可用性,在Alien中以隔离域的形式加入这些驱动并测试系统功能。这需要对驱动进行包装,使其满足隔离域的约束,能够与Alien系统进行交互。
== Alien结构
Alien是一个着眼于使用语言机制提高操作系统的健壮性与安全性,并加入多种实验性新功能的微内核操作系统。它使用了多种设计模式和约束。如模块化操作系统各组件、严格的隔离机制、各部分的动态加载与替换。这些新概念的引入使探究下一代操作系统可... | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/数学模型/作业/hw5.typ | typst | #import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec
#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: "作业5",
au... | |
https://github.com/drunkenQCat/typst-arknights-simulator | https://raw.githubusercontent.com/drunkenQCat/typst-arknights-simulator/master/README.md | markdown | # Typst Arknights Simulator
一个基于typst,用于生成明日方舟剧情文本风格图片的小项目。
生成效果如下:

## 配置需求
1. typst 0.10.0以上
2. [HarmonyOS Sans SC](https://github.com/ajacocks/harmonyos-sans-font)字体库
## 使用方法
1. 安装typst
2. 克隆本仓库
3. 在typst代码中引用
```latex
#import "typst arknights simulator/template.typ": arknights_sim
`... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/field-00.typ | typst | Other | // Test field on dictionary.
#let dict = (nothing: "ness", hello: "world")
#test(dict.nothing, "ness")
#{
let world = dict
.hello
test(world, "world")
}
|
https://github.com/kotatsuyaki/canonical-nthu-thesis | https://raw.githubusercontent.com/kotatsuyaki/canonical-nthu-thesis/main/README.md | markdown | MIT License | # canonical-nthu-thesis
A [Typst](https://typst.app/docs/) template for master theses and doctoral dissertations for NTHU (National Tsing Hua University).
國立清華大學碩士(博士)論文[Typst](https://typst.app/docs/)模板。
- [Typst Universe Package](https://typst.app/universe/package/canonical-nthu-thesis)
- [Codeberg Repo](https://c... |
https://github.com/quicktus/book-notes-template | https://raw.githubusercontent.com/quicktus/book-notes-template/main/template.typ | typst | #import grid : cell
#set page(
paper: "a4",
margin: (x: 1.5cm, y: 1.2cm),
)
#set text(
font: "Open Sans",
lang: "en",
size: 10pt,
fill: rgb("#5d5d5d")
)
#set rect(
inset: 10pt,
fill: rgb("#dbdbdb"),
width: 100%,
height: 50pt
)
// form box
#grid(
columns: (1fr, 1fr, 1fr, 1fr, 1fr, 1fr, 1fr, 1fr, ... | |
https://github.com/ScaleXY/pp03-laravel-typst | https://raw.githubusercontent.com/ScaleXY/pp03-laravel-typst/main/CHANGELOG.md | markdown | MIT License | # Changelog
All notable changes to `laravel-typst` will be documented in this file.
|
https://github.com/arthurcadore/eng-telecom-workbook | https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/COM_1/homework9/homework.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#import "@preview/codelst:2.0.1": sourcecode
#show heading: set block(below: 1.5em)
#show par: set block(spacing: 1.5em)
#set text(font: "Arial", size: 12pt)
#set highlight(
fill: rgb("#c1c7c3"),
stroke: rgb("#6b6a6a"),
extent: 2pt,
radius: 0.2em,
)
#show: doc... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/construct-02.typ | typst | Other | // The inner rectangle should also be yellow here.
// (and therefore invisible)
#[#set rect(fill: yellow);#text(1em, rect(inset: 5pt, rect()))]
|
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/01-number-theory/02-equiv-relation.typ | typst | Other | #import "../../utils/core.typ": *
== Отношение эквивалентности и разбиение на классы
#def[
Отношение эквивалентности --- бинарное отношение,
удовлетворяющее следующим свойствам: рефлексивность, симметричность, транзитивность.
]
#def[
Разбиение на классы множества $M$ --- это представление $M$ в виде
... |
https://github.com/jrihon/multi-bibs | https://raw.githubusercontent.com/jrihon/multi-bibs/main/chapters/01_chapter/bib_01_chapter.typ | typst | MIT License | #let dict_01_chapter = (
"Iupac1983nucleicacids": 1,
"Neese2021orca": 2,
"Cremer1975general": 3,
)
#let biblio = (
bibchapter: dict_01_chapter,
bibyml: "../chapters/01_chapter/01_chapter.yml",
)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/songb/0.1.0/tests/autobreak2.typ | typst | Apache License 2.0 | // SPDX-FileCopyrightText: 2024 <NAME> <<EMAIL>>
//
// SPDX-License-Identifier: CC0-1.0
#import "../autobreak.typ": autobreak;
#set page(paper: "a6",margin: (inside: 14mm, outside: 6mm, y: 10mm))
#pagebreak()
#autobreak[
== Allzeit bereit
#lorem(180)
]
#autobreak[
== <NAME>
#lorem(240)
]
#autobreak[
== Sc... |
https://github.com/VadimYarovoy/Networks2 | https://raw.githubusercontent.com/VadimYarovoy/Networks2/main/lab3/report/typ/questions.typ | typst | #import "@preview/colorful-boxes:1.2.0": *
= Ответы на вопросы
== Вопрос 1
#colorbox(
title: "TODO",
color: "blue",
radius: 2pt,
width: auto
)[
Зачем нужен протокол HTTP, принцип работы
]
- Назначение HTTP: Протокол передачи гипертекста (HTTP) является основным протоколом передачи данных в сети Интернет.... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/context.typ | typst | Apache License 2.0 | #set text(lang: "de")
#context [
#set text(lang: "fr")
#text.lang \
#context text.lang
]
|
https://github.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement | https://raw.githubusercontent.com/MyPedagogicalRessources/BUT1-R1-01-Initiation-developpement/main/TD/TD2-Trace-dessins-correction.typ | typst | #import "TD2-Trace-dessins.typ":*
#td2(isCorrection: true)
| |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-19.typ | typst | Other | // Error: 10-25 the result is too large
#calc.pow(2, 2147483647)
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/modules/cycle2.typ | typst | Apache License 2.0 | // Ref: false
#import "cycle1.typ": *
#let val = "much cycle"
This is the second element of an import cycle.
|
https://github.com/Canadauni/typst-static-dashboard | https://raw.githubusercontent.com/Canadauni/typst-static-dashboard/main/_extensions/typst_static_dashboard/typst-show.typ | typst | // Typst custom formats typically consist of a 'typst-template.typ' (which is
// the source code for a typst template) and a 'typst-show.typ' which calls the
// template's function (forwarding Pandoc metadata values as required)
//
// This is an example 'typst-show.typ' file (based on the default template
// that shi... | |
https://github.com/0x6e66/hbrs-typst | https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/README.md | markdown | # A [Typst](https://typst.app/) template for [HBRS](https://www.h-brs.de/)-theses
## Usage
Without changing the template, the only files you need to modify are:
- `ads/`
- `acronyms.typ`: define acronyms
- `abstract.typ`: define abstract in multiple languages
- `meta.typ`: set personal information and general me... | |
https://github.com/jakoblistabarth/tud-corporate-design-slides-typst | https://raw.githubusercontent.com/jakoblistabarth/tud-corporate-design-slides-typst/main/README.md | markdown | MIT No Attribution | # Typst template for slide in TU Dresden's the corporate design :microphone:
This template can be used to create presentations in [Typst](https://github.com/typst/typst) with the corporate design of [TU Dresden](https://www.tu-dresden.de/).
## Usage
Create a new typst project based on this template locally.
```bas... |
https://github.com/El-Naizin/cv | https://raw.githubusercontent.com/El-Naizin/cv/main/modules/publications.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Publications")
#cvPublication(
bibPath: "../src/publications.bib",
keyList: (
"smith2020",
"jones2021",
"wilson2022"),
refStyle: "apa"
) |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/代数学二/作业/hw1.typ | typst | #import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec
#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: "作业1",
au... | |
https://github.com/GYPpro/DS-Course-Report | https://raw.githubusercontent.com/GYPpro/DS-Course-Report/main/Rep/03.typ | typst | #import "@preview/tablex:0.0.6": tablex, hlinex, vlinex, colspanx, rowspanx
#import "@preview/codelst:2.0.1": sourcecode
// Display inline code in a small box
// that retains the correct baseline.
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(230),
ins... | |
https://github.com/dadn-dream-home/documents | https://raw.githubusercontent.com/dadn-dream-home/documents/main/contents/01-mo-dau/index.typ | typst | = Mở đầu
Nhà thông minh là một khái niệm ngày càng phổ biến trong thời đại công nghệ
số hiện nay. Nhà thông minh là nhà có khả năng tự động hóa và điều khiển các
thiết bị gia dụng thông qua Internet vạn vật (IOT) và các cảm biến. Nhà thông
minh mang lại nhiều lợi ích cho người sử dụng, như tiết kiệm năng lượng, tăng
c... | |
https://github.com/exusiaiwei/quarto-ilm | https://raw.githubusercontent.com/exusiaiwei/quarto-ilm/main/_extensions/ilm/typst-show.typ | typst | MIT License | #show: quarto-ilm.with(
$if(title)$
title: "$title$",
$endif$
$if(author)$
author: "$author$",
$endif$
$if(date)$
date: "$date$",
$endif$
$if(abstract)$
abstract: [$abstract$],
$endif$
$if(bibliography)$
bibliography-file: "$bibliography$",
$endif$
$if(biblio-style)$
bibliography-style... |
https://github.com/jdpieck/oasis-align | https://raw.githubusercontent.com/jdpieck/oasis-align/main/0.1.0/README.md | markdown | # oasis-align
`oasis-align` is a package that automatically sizes your content so that their heights are equal, allowing you to cleanly place content side by side.
To use `oasis-align` in your document, start by importing the package like this:
```typst
#import "@preview/oasis-align:0.1.0": *
```
This will give you ... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/def_use/import_ident.typ | typst | Apache License 2.0 | #import "base.typ"
#base
#import "base.typ": x
#base, #x |
https://github.com/chilingg/kaiji | https://raw.githubusercontent.com/chilingg/kaiji/main/part1/front_page.typ | typst | Other | #import "@preview/tablex:0.0.6": tablex, vlinex, hlinex, colspanx, rowspanx
#import "../template/main.typ": base_style, thin_line, normal_line, font_size_list, sans_font_cfg
#show : body => base_style(body)
#set heading(outlined: false)
#align(right + bottom)[
#block(width: 50%)[
#align(left)[
// ■本書の図版に示した書体に... |
https://github.com/piepert/logik-tutorium-wise2024-2025 | https://raw.githubusercontent.com/piepert/logik-tutorium-wise2024-2025/main/src/exams/exam01.typ | typst | Creative Commons Zero v1.0 Universal | #import "/src/templates/exams.typ": project, task
#import "/src/packages/inference.typ": *
#show: project.with(no: 1)
#task(lines: 10, points: 3, [Grundbegriffe], [
Erklären Sie, womit sich die Logik beschäftigt. Nennen Sie außerdem die zwei Gütekriterien von Argumenten.
], [], (
(1, [Bestimmung der Logik als... |
https://github.com/danilasar/conspectuses-3sem | https://raw.githubusercontent.com/danilasar/conspectuses-3sem/master/Клубы/Ассемблер/01/01_введение.typ | typst | #set par(
justify: true,
leading: 1.5em,
)
#set text(14pt)
= Введение в ассемблер
Всем привет, думаю, мне нет смысла представляться, так как все здесь присутствующие либо знакомы со мной, либо уже были на лекции по обратной разработки.
С сегодняшнего дня мы начинаем небольшой интенсив по ассемблеру, к концу которо... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1720.typ | typst | Apache License 2.0 | #let data = (
("HANUNOO LETTER A", "Lo", 0),
("HANUNOO LETTER I", "Lo", 0),
("HANUNOO LETTER U", "Lo", 0),
("HANUNOO LETTER KA", "Lo", 0),
("HANUNOO LETTER GA", "Lo", 0),
("HANUNOO LETTER NGA", "Lo", 0),
("HANUNOO LETTER TA", "Lo", 0),
("HANUNOO LETTER DA", "Lo", 0),
("HANUNOO LETTER NA", "Lo", 0),
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/linebreak_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// LR groups prevent linbreaking.
#let hrule(x) = box(line(length: x))
#hrule(76pt)$a+b$\
#hrule(74pt)$(a+b)$\
#hrule(74pt)$paren.l a+b paren.r$
|
https://github.com/tingerrr/subpar | https://raw.githubusercontent.com/tingerrr/subpar/main/examples/example.typ | typst | MIT License | #import "/src/lib.typ" as subpar
#set page(height: auto)
#set par(justify: true)
#subpar.grid(
figure(image("/assets/images/andromeda.jpg"), caption: [
An image of the andromeda galaxy.
]), <a>,
figure(image("/assets/images/mountains.jpg"), caption: [
A sunset illuminating the sky above a mountain range... |
https://github.com/liuguangxi/fractusist | https://raw.githubusercontent.com/liuguangxi/fractusist/main/src/lib.typ | typst | MIT License | #import "dragon.typ": dragon-curve
#import "hilbert.typ": hilbert-curve, peano-curve
#import "koch.typ": koch-curve, koch-snowflake
#import "sierpinski.typ": sierpinski-curve, sierpinski-square-curve, sierpinski-arrowhead-curve, sierpinski-triangle
|
https://github.com/qujihan/typst-book-template | https://raw.githubusercontent.com/qujihan/typst-book-template/main/template/parts/figure/tbl.typ | typst | #import "../../params.typ": *
#let tbl-num(_) = {
let chapter-num = counter(heading.where(level: 1)).display()
let type-num = counter(figure-kind-tbl + chapter-num).display()
str(chapter-num) + "-" + str(int(type-num) + 1)
}
#let tblIn(content) = align(center + horizon)[ #content ]
#let tbl(caption, tbl) = {
... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/gantt-chart.typ | typst | The Unlicense | #import "/packages.typ": timeliney
#import "../colors.typ": *
/// A gantt chart for task management
///
/// Example Usage:
///
/// ```typ
/// #gantt-chart(
/// start: datetime(year: 2024, month: 1, day: 27),
/// end: datetime(year: 2024, month: 2, day: 3),
/// tasks: (
/// ("Build Robot", (0,4)),
/// ("C... |
https://github.com/sky-y/pandoc-online-20240818 | https://raw.githubusercontent.com/sky-y/pandoc-online-20240818/master/README.md | markdown | # Pandoc ONLINE \#1 - Pandocのトレンド2024:DjotとTypst (藤原 惟)
[Pandoc ONLINE #1 - connpass](https://pandoc-jp.connpass.com/event/323815/)
## Reference
- Typstのテンプレート (template.typなど)
- [GitHub - satshi/typst-jp-template](https://github.com/satshi/typst-jp-template/tree/main)
## License
Create Commons BY 4.0 | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tgm-hit-thesis/0.1.1/CHANGELOG.md | markdown | Apache License 2.0 | # [v0.1.1](https://github.com/TGM-HIT/typst-diploma-thesis/releases/tags/v0.1.1)
- replaces some custom outline styling with [outrageous](https://typst.app/universe/package/outrageous)
- adds support for highlighting authors of individual pages of the thesis, which is a requirement for the thesis' grading
# [v0.1.0](h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.