repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/catppuccin/typst | https://raw.githubusercontent.com/catppuccin/typst/main/src/catppuccin.typ | typst | MIT License | #import "flavors.typ": latte, frappe, macchiato, mocha
#import "valkyrie/typst-schema.typ": *
#import "@preview/valkyrie:0.2.1" as z
/// The available flavors for Catppuccin. Given simply by the dictionary
/// ```typ
/// #let themes = (
/// latte: "latte",
/// frappe: "frappe",
/// macchiato: "macchiato",
//... |
https://github.com/supersurviveur/typst-math | https://raw.githubusercontent.com/supersurviveur/typst-math/main/CHANGELOG.md | markdown | MIT License | # Change Log
All notable changes to the "typst-math" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## [v0.1.7]
- Fix version number and publish on openvsx
## [v0.1.6]
- Update dependencies
## [v0.1.5]
- Fix fonts l... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/for-02.typ | typst | Other | // Uniterable expression.
// Error: 11-15 cannot loop over boolean
#for v in true {}
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/document-06.typ | typst | Other | #box[
// Error: 4-18 page configuration is not allowed inside of containers
#set page("a4")
]
|
https://github.com/spidersouris/touying-unistra-pristine | https://raw.githubusercontent.com/spidersouris/touying-unistra-pristine/main/example/example.typ | typst | MIT License | #import "@preview/touying:0.5.3": *
#import "@preview/touying-unistra-pristine:1.1.0": *
#show: unistra-theme.with(
aspect-ratio: "16-9",
config-info(
title: [Title],
subtitle: [_Subtitle_],
author: [Author],
date: datetime.today().display("[month repr:long] [day], [year repr:full]"),
logo: ima... |
https://github.com/kimushun1101/rengo2024-typst | https://raw.githubusercontent.com/kimushun1101/rengo2024-typst/main/sample.typ | typst | MIT No Attribution | // MIT No Attribution
// Copyright 2024 <NAME>
// https://github.com/kimushun1101/rengo2024-typst
#import "libs/rengo/lib.typ": rengo, definition, lemma, theorem, corollary, proof
#show: rengo.with(
title: [自動制御連合講演会サンプル原稿],
authors: [◯ 自動太郎,制御花子(連合大学),自動次郎 (連合会社)],
etitle: [Sample Manuscript for the Japan Join... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tidy/0.3.0/src/parse-module.typ | typst | Apache License 2.0 | #import "tidy-parse.typ"
#import "styles.typ"
/// Parse the docstrings of a typst module. This function returns a dictionary
/// with the keys
/// - `name`: The module name as a string.
/// - `functions`: A list of function documentations as dictionaries.
/// - `label-prefix`: The prefix for internal labels and refer... |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/基础/assert/assert.typ | typst | #set par(
justify: true,
leading: 0.52em,
)
#image("1.png")
#image("2.png")
#image("3.png")
| |
https://github.com/sysu/better-thesis | https://raw.githubusercontent.com/sysu/better-thesis/main/specifications/bachelor/lib.typ | typst | MIT License | #import "/specifications/bachelor/cover.typ": cover
#import "/specifications/bachelor/titlepage.typ": titlepage
#import "/specifications/bachelor/declaration.typ": declaration
#import "/specifications/bachelor/abstract.typ": abstract, abstract-page
#import "/specifications/bachelor/abstract-en.typ": abstract-en, abstra... |
https://github.com/duskmoon314/thu-polylux | https://raw.githubusercontent.com/duskmoon314/thu-polylux/main/lib.typ | typst | MIT License | #import "@preview/polylux:0.3.1": *
#let tsinghua = rgb("#82318E")
#let TITLE = state("title", [])
#let SUBTITLE = state("subtitle", [])
#let AUTHOR = state("author", [])
#let INSTITUTE = state("institute", [])
#let thu-polylux(
aspect-ratio: "4-3",
body
) = {
set text(size: 24pt)
set page(
paper: "pres... |
https://github.com/LeoColomb/dotdocs | https://raw.githubusercontent.com/LeoColomb/dotdocs/main/packages/leocolomb/invoicing/1.0.0/src/lib.typ | typst | MIT License | #import "@leocolomb/logotype:1.0.0": *
#let rule(margin: 1.2em) = {
v(margin)
line(
length: 100%,
stroke: 0.5pt + gray,
)
v(margin)
}
// This function gets your whole document as its `body`
// and formats it as a corporate.
#let template(
type: "Facture",
// The name with wich the CV opens.
nam... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-square-04.typ | typst | Other | // Test that square does not overflow page.
#set page(width: 100pt, height: 75pt)
#square(fill: green)[
But, soft! what light through yonder window breaks?
]
|
https://github.com/Entoryvekum/TypstTemplate | https://raw.githubusercontent.com/Entoryvekum/TypstTemplate/main/NoteTemplate/0.1.0/template.typ | typst | #import("@local/MathBasic:0.1.0"):*
#let Note(
headline:none,
title:none,
author:none,
email:none,
time:datetime.today().year(),
pagebreakBeforeOutline:false,
body) = {
//Page
let Header(l,m,r)={
grid(
columns: (1fr,auto,1fr),
align(left,text(9pt,par... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/src/paraint.typ | typst | MIT License | #import "@local/evan:1.0.0":*
= Parametrized integrals
#sample[
Compute the line integral of the vector field
$bf(F) (x , y) = vec(2 x , 3 y)$ along the curve $C$
which is the upper half of the circle $x^2 + y^2 = 1$, oriented counterclockwise.
]
#soln[
The line integral of a vector field $bf(F)$ along a cu... |
https://github.com/Joelius300/hslu-typst-template | https://raw.githubusercontent.com/Joelius300/hslu-typst-template/main/template.typ | typst | MIT License | // TODO Check list of packages and select those you need
// https://typst.app/docs/packages/
#import "@preview/i-figured:0.2.4"
#import "@preview/anti-matter:0.1.1": anti-matter, fence, set-numbering
#import "@preview/big-todo:0.2.0": todo
// Universal underlines (used in set in template)
#let underline-thickness = 0... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/module/query.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book-page.with(title: "Tinymist Languague Queries")
== Base Analyses
There are five basic analysis APIs:
- _lexical hierarchy_ matches crucial lexical structures in the source file.
- _def use info_ is computed based on _lexical hierarchy_\s.
- _type check info_ is computed with _def use ... |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/networks/pset4.typ | typst | #import "template.typ": *
#show: template.with(
title: "14.15 PSET 4",
subtitle: "<NAME>",
pset: true
)
= Problem 1
== (a)
To solve, let us find the number of total possible triangles, then multiply by the probability that any given one exists. The number of triangles can be enumerated as:
$ (n (n+1) (n+2)) /... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/README.md | markdown | MIT License | <h1 align="center">
<img alt="Quill" src="docs/images/logo.svg" style="max-width: 100%; width: 300pt">
</h1>
<div align="center">
[,
author: "<NAME>",
doc
)
#emph[Planeswalker Gideon Jura has a problem—there's only one of him. Zendikar is a world ravaged by otherwo... | |
https://github.com/Ofure004/Project-stuff | https://raw.githubusercontent.com/Ofure004/Project-stuff/main/Ofure's%20project.typ | typst | #import "template/bach.typ": bach, table-figure, code-figure
#show: content => bach(
title: "Intelligent Software Tool for Scheduling Nurses in Hospitals: A comparative study of two Ant Colony Optimisation Hyper-heuristic schemes",
author: "<NAME>",
matric: "20CG028069",
dedication: [I dedicate this proj... | |
https://github.com/saimnaveediqbal/thesis-NTNU-typst | https://raw.githubusercontent.com/saimnaveediqbal/thesis-NTNU-typst/main/README.md | markdown | MIT License | # NTNU thesis template
Port of [thesis-NTNU](https://github.com/COPCSE-NTNU/thesis-NTNU) template to Typst. [main.pdf](https://github.com/saimnaveediqbal/thesis-NTNU-typst/blob/main/template/main.typ) contains a full usage example, see [example.pdf](https://github.com/saimnaveediqbal/thesis-NTNU-typst/blob/main/example... |
https://github.com/SillyFreak/typst-pre-plantuml | https://raw.githubusercontent.com/SillyFreak/typst-pre-plantuml/main/README.md | markdown | MIT License | # pre-plantuml
This package provides a [prequery](https://typst.app/universe/package/prequery) for UML diagrams specified using [PlantUML](https://www.plantuml.com/) syntax. The diagrams can be extracted either as source code, or as URLs to a specific PlantUML Webservice.
## Getting Started
To add this package to yo... |
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst | https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/body/context.typ | typst | = 绪论
== #lorem(1)
嘉人们,谁懂啊@jiaran2021。公式@eq-1
// [ ] Todo: 公式引用为中文
$ sum_(n=1)^infinity 1/n^2 = pi^2/6 $ <eq-1>
=== #lorem(2)
#lorem(200)
= 第二章
== #lorem(1)
#lorem(100)
=== #lorem(2)
#lorem(200) | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week14.typ | typst | #import "../../utils.typ": *
#section("Shepherding Process")
#align(
center, [#image("../../Screenshots/2023_12_22_10_14_32.png", width: 80%)],
)
- Three Iterations
- How to budget your time and effort to make shepherding effective
- The Shepherd Knows the Sheep
- How to establish a productive relationship betw... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/concept_questionnaire/concept_questionnaire.typ | typst | #import "../style.typ": *
#show heading.where(level: 1): it => { text(it, size: 1.3em); v(2em); }
#set page(footer: sa_footer((authors-short: [<NAME>, <NAME>])))
#set text(size: 1.2em)
#let concept(data) = [
#set page(
margin: (bottom: 2cm, top: 1cm, left: 1cm, right: 1cm))
#let scenario(title, content) = blo... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/复习/补考/补考.typ | typst | #set text(font: "STSong")
= 基础
二极管的正向电流大,反向
== 半导体基本方程
由麦克斯韦方程组结合固体物理特性给出
#align(center,image("./1.png",width: 50%))
- 能带:容纳电子的一系列能级
- 禁带:不容na电子的能级
- 价带:0K最高能级
#align(center,image("./2.png",width: 40%))
假象的例子为空穴,没有真实存在。
== 半导体 导体 绝缘体
#align(center,image("./3.png",width: 60%))
#align(center,image("./4.png",width: 8... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/align_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test start and end alignment.
#rotate(-30deg, origin: end + horizon)[Hello]
#set text(lang: "de")
#align(start)[Start]
#align(end)[Ende]
#set text(lang: "ar")
#align(start)[يبدأ]
#align(end)[نهاية]
|
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/regexes.typ | typst | let dashed-line = "^-{10,}"
| |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/08-linear-dep-and-indep.typ | typst | Other | #import "../../utils/core.typ": *
== Линейная зависимость и независимость
#ticket[Линейно зависимые семейства, свойства]
#def[
Набор $v_1, ..., v_n in V$ называется _линейно зависимым семейством_ (ЛЗС), если $exists alpha_1, ..., alpha_m in K space.quad alpha_1 v_1 + ... + alpha_m v_m = 0$ и не все $alpha$ равны 0... |
https://github.com/linhduongtuan/BKHN-Thesis_template_typst | https://raw.githubusercontent.com/linhduongtuan/BKHN-Thesis_template_typst/main/template/template.typ | typst | Apache License 2.0 | #import "font.typ": *
//#import "tablex.typ": *
#import "tablex.typ": tablex, cellx, rowspanx, colspanx, hlinex, vlinex, gridx, default-if-auto
#let Thesis(
// File path to Reference bib
) = {
set page(paper: "a4",
margin: (
top: 2.54cm,
bottom: 2.54cm,
left: ... |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/i18n.typ | typst | Other | #import "./i18n/en-us.typ"
#import "./i18n/ko-kr.typ"
#let supports = (
// Insert locales here
("en-us", en-us),
("ko-kr", ko-kr)
)
|
https://github.com/PeiPei233/typst-template | https://raw.githubusercontent.com/PeiPei233/typst-template/main/zju-exp-report/report-template.typ | typst | #let song = ("Times New Roman", "SimSun")
// #let song = "Source Han Serif SC"
#let san = 16pt
#let xiaosan = 15pt
#let si = 14pt
#let xiaosi = 12pt
#let fake-par = {
v(-1em)
show par: set block(spacing: 0pt)
par("")
}
#let update_arg(dict1, dict2) = {
for (k,v) in dict2 {
if k in dict1{
dict1.inser... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/src/ints.typ | typst | MIT License | #import "@local/evan:1.0.0":*
= Double integrals
One common theme from 18.02 that you might have noticed in part Foxtrot is that,
unlike in 18.01 where you were hyper-focused on the function $f$ you were optimizing,
in 18.02 the _region_ you're working with deserves a lot of attention.
This will be true for the mater... |
https://github.com/Trebor-Huang/HomotopyHistory | https://raw.githubusercontent.com/Trebor-Huang/HomotopyHistory/main/beginnings.typ | typst | #import "common.typ": *
= 开端
本章主要参考 Poincaré 的 _Analysis Situs_ 英译 @AnalysisSitusTranslation.
数学在很长一段时间中都依赖于直觉和不严谨的论证. Weierstrass 对分析学的重建是数学走向严格的开端. 尽管这在 1880 年代就已经在分析学中确立了标准, 在拓扑学的研究中仍然有许多凭借直觉的部分. 一部分原因是十九世纪晚期的数学各分支间的交流仍然不多. @ATDTHistory 因此, 对于这部分历史, 无需过分纠结具体定义上的不严格之处.
== Poincaré 前的拓扑学
在 Poincaré 之前, 可以说拓扑中唯一重要的... | |
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/src/rounding.typ | typst | MIT License | #import "assertations.typ": *
#let count-leading-zeros(integer-string) = {
integer-string.len() - integer-string.trim("0", at: start).len()
}
/// Rounds an integer given as a string of digits to a given digit place.
/// The rounding direction may be `"nearest"`, `"up"`, or `"down"`.
#let round-integer(num-string... |
https://github.com/mrtz-j/typst-thesis-template | https://raw.githubusercontent.com/mrtz-j/typst-thesis-template/main/modules/abstract.typ | typst | MIT License | #let abstract-page(body) = {
pagebreak(weak: true, to: "even")
// --- Abstract ---
align(left)[
= Abstract
#v(1em)
#body
]
}
|
https://github.com/qujihan/typst-cv-template | https://raw.githubusercontent.com/qujihan/typst-cv-template/main/README.md | markdown | # Quick Start
```shell
# Add this project as a git submodule
git submodule add https://github.com/qujihan/typst-cv-template.git typst-cv-template
git submodule update --init --recursive
# Real-time preview
python typst-cv-template/op.py w
# Compile
python typst-cv-template/op.py c
# Format typst code
python typst-c... | |
https://github.com/mkhoatd/Typst-CV-Resume | https://raw.githubusercontent.com/mkhoatd/Typst-CV-Resume/main/CoverLetter/example_Coverletter.typ | typst | MIT License | #import "typstcoverletter.typ": *
// Remember to set the fonttype in `typstcv.typ`
#show: mainbody => main(
name: [#lorem(2)], //name:"" or name:[]
address: [#lorem(4)],
contacts: (
(text:"08856",link:""),
(text:"example.com",link:"https://www.example.com"),
(text:"github.com",link:"https://www.github.com"),
(text:"... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/006%20-%20Magic%202014/003_The%20Path%20of%20Bravery.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Path of Bravery",
set_name: "Magic 2014",
story_date: datetime(day: 10, month: 07, year: 2013),
author: "<NAME>",
doc
)
They stood in silence.
Zaala watched the squire strap and buckle her father's armor onto his body, plate by plate. ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pad_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Use for indentation.
#pad(left: 10pt, [Indented!])
// All sides together.
#set rect(inset: 0pt)
#rect(fill: conifer,
pad(10pt, right: 20pt,
rect(width: 20pt, height: 20pt, fill: rgb("eb5278"))
)
)
Hi #box(pad(left: 10pt)[A]) there
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11BC0.typ | typst | Apache License 2.0 | #let data = (
("SUNUWAR LETTER DEVI", "Lo", 0),
("SUNUWAR LETTER TASLA", "Lo", 0),
("SUNUWAR LETTER EKO", "Lo", 0),
("SUNUWAR LETTER IMAR", "Lo", 0),
("SUNUWAR LETTER REU", "Lo", 0),
("SUNUWAR LETTER UTTHI", "Lo", 0),
("SUNUWAR LETTER KIK", "Lo", 0),
("SUNUWAR LETTER MA", "Lo", 0),
("SUNUWAR LETTER AP... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ascii-ipa/1.0.0/test.typ | typst | Apache License 2.0 | #import("lib.typ"): *
#let run-tests = (tests, translator, name) => {
for test in tests {
assert(
translator(test.at(0)) == test.at(1),
message: name + ": " + test.at(0) + " -> " + test.at(1)
)
assert(
translator(test.at(1), reverse: true) == test.at(0),
message: name + " " + test... |
https://github.com/MultisampledNight/flow | https://raw.githubusercontent.com/MultisampledNight/flow/main/src/lib.typ | typst | MIT License | // Feel free to import this file's contents via a glob!
// See `doc/manual.typ` for an example of how usage in practise looks like!
#import "callout.typ": question, remark, hint, caution
#import "cfg.typ"
#import "checkbox.typ"
#import "gfx.typ" as gfx: invert, fxfirst
#import "info.typ"
#import "keywords.typ"
#import... |
https://github.com/philipsd6/typst-yearly-planner | https://raw.githubusercontent.com/philipsd6/typst-yearly-planner/main/README.md | markdown | MIT License | # Typst Remarkable Calendar
Inspired by https://github.com/kudrykv/latex-yearly-planner
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-11.typ | typst | Other | #assert(range(2, 5) == (2, 3, 4))
|
https://github.com/s1syph0s/cv | https://raw.githubusercontent.com/s1syph0s/cv/main/template.typ | typst | #import "imprecv/cv.typ": *
#let cvdata = yaml("template.yml")
#let uservars = (
headingfont: "Linux Libertine",
bodyfont: "Linux Libertine",
fontsize: 10pt, // 10pt, 11pt, 12pt
linespacing: 6pt,
sectionspacing: 0pt,
showAddress: true, // true/false show address in contact info
showNumber... | |
https://github.com/MasiarNovine/typst_resume_template | https://raw.githubusercontent.com/MasiarNovine/typst_resume_template/main/template.typ | typst | MIT License | #let template(fontsize: 11pt,
fonttype: "Fira Sans",
doc
) = {
set page(
paper: "a4",
margin: (left: 2.5cm, right: 2.5cm, top: 2cm, bottom: 3cm),
number-align: center,
numbering: "1",
footer: context [
#counter(page).display("1/1", both: true)
]
)
set par(... |
https://github.com/piepert/typst-hro-iph-seminar-paper | https://raw.githubusercontent.com/piepert/typst-hro-iph-seminar-paper/main/example1/example1.typ | typst | #import "@local/hro-iph-seminar-paper:0.1.0": seminar-paper
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: seminar-paper.with(
title: "Abhandlung über das Schreiben einer Hausarbeit",
authors: (
"<NAME>",
),
date: datetime.today... | |
https://github.com/cetz-package/cetz-venn | https://raw.githubusercontent.com/cetz-package/cetz-venn/master/tests/venn2/test.typ | typst | Apache License 2.0 | #set page(width: auto, height: auto)
#import "/src/lib.typ": venn2
#import "/tests/helper.typ": *
#import cetz.draw: content, set-style
#test-case({
venn2(name: "v")
content("v.a", [A])
content("v.b", [B])
content("v.ab", [AB])
content("v.not-ab", [not AB], anchor: "south-west")
})
#test-case({
venn2(a... |
https://github.com/pluttan/os | https://raw.githubusercontent.com/pluttan/os/main/lab1/lab1.typ | typst | #import "@docs/bmstu:1.0.0":*
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx
#show: student_work.with(
caf_name: "Компьютерные системы и сети",
faculty_name: "Информатика и системы управления",
work_type: "лабораторной работе",
work_num: 1,
study_field: "09.03.01 Информатика и вычислител... | |
https://github.com/mem-courses/linear-algebra | https://raw.githubusercontent.com/mem-courses/linear-algebra/main/note/4.矩阵的迹和秩.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Linear Algebra #4",
authors: (
(name: "<NAME>", email: "<EMAIL>", phone: "3230104585"),
),
date: "November 13, 2023",
)
#let AA = math.bold("A")
#let BB = math.bold("B")
#let CC = math.bold("C")
#let DD = math.bold("D")
#let EE = math.bold("E")
#let ... | |
https://github.com/donRumata03/aim-report | https://raw.githubusercontent.com/donRumata03/aim-report/master/lib/split-box.typ | typst | #let counter-family(id) = {
let parent = counter(id)
let parent-step() = parent.step()
let get-child() = counter(id + str(parent.get().at(0)))
return (parent-step, get-child)
}
#let default-border = (
// The starting and ending lines
above: line(length: 100%),
below: line(length: 100%),
// Lines to put... | |
https://github.com/jrihon/multi-bibs | https://raw.githubusercontent.com/jrihon/multi-bibs/main/chapters/01_chapter/results.typ | typst | MIT License | #import "../../lib/multi-bib.typ": *
#import "bib_01_chapter.typ": biblio
== Results
#lorem(50)
In terms of formalisms, the Cremer-Pople formalism is top notch #mcite(("Cremer1975general"), biblio).
but still, this thing is also fine #mcite(("Iupac1983nucleicacids", "Cremer1975general"), biblio).
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test page fill.
#set page(width: 80pt, height: 40pt, fill: eastern)
#text(15pt, font: "Roboto", fill: white, smallcaps[Typst])
#page(width: 40pt, fill: none, margin: (top: 10pt, rest: auto))[Hi]
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-02.typ | typst | Other | // Test alternates and stylistic sets.
#set text(font: "IBM Plex Serif")
a vs #text(alternates: true)[a] \
ß vs #text(stylistic-set: 5)[ß]
|
https://github.com/rabotaem-incorporated/calculus-notes-2course | https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/05-complex-functions/04-logarithm.typ | typst | #import "../../utils/core.typ": *
== Логарифм
#ticket[Теорема о существовании логарифма голоморфной функции. Логарифм. Полная аналитическая функция Ln z и ее свойства. Следствия.]
#th[
Пусть $f in H(Omega)$, $Omega$ --- односвязна и $f != 0$ в $Omega$. Тогда существует $g in H(Omega)$ такая, что $e^g = f$.
]
#p... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tiaoma/0.1.0/lib.typ | typst | Apache License 2.0 | #let zint-wasm = plugin("./zint_typst_plugin.wasm")
#let ean(data, ..args) = image.decode(zint-wasm.ean_gen(bytes(data)), format: "svg", ..args)
#let code128(data, ..args) = image.decode(zint-wasm.code128_gen(bytes(data)), format: "svg", ..args)
#let code39(data, ..args) = image.decode(zint-wasm.code39_gen(bytes(dat... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/multiline-08.typ | typst | Other | // Test multiple trailing line breaks.
$
"abc" &= c \ \ \
$
Multiple trailing line breaks.
|
https://github.com/jamesrswift/musicaux | https://raw.githubusercontent.com/jamesrswift/musicaux/main/src/commands/common.typ | typst | #import "basic-content.typ": basic-content
#import "../symbols.typ": *
// Clefs
// TO DO: Move to separate service that handles tune's key
#let trebble = basic-content.with(pitch: 3, symbols.clef)
#let bass = basic-content.with(pitch: 3, symbols.bass)
// Key Signature
// TO DO: Move to separate service that handles t... | |
https://github.com/N3M0-dev/Notes | https://raw.githubusercontent.com/N3M0-dev/Notes/main/Math/Probability/Ch_1/note.typ | typst | #import "@local/note_template:0.0.1": *
#set page(numbering: "1", number-align: center)
#set heading(numbering: "1.1")
#set par(justify: true)
#set text(12pt)
#set outline(indent: true)
#frontmatter(authors: ("Nemo",), title: "Sample Space and Probability", date: "2023.7.10")
#outline()
#pagebreak()
// #let authors... | |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/src/g-option.typ | typst | MIT License | #import"./global.typ": *
/// Define a new block of options.
///
/// *Example:*
/// ```
/// #g-subquestion(points:2)[This is a sub-question]
/// ```
///
/// - body (string, content): Body of option label.
#let g-option(
body) = {
body
} |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/editors/vscode/CHANGELOG.md | markdown | Apache License 2.0 | # Change Log
All notable changes to the "tinymist" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## v0.12.0 - [2024-10-19]
### Document Link
* Identifying static path references in documents in https://github.com/M... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0010.typ | typst | #import "../helpers.typ": *
#import "../solutions/s0010.typ": *
= Regular Expression Matching
Given an input string s and a pattern p, implement regular expression matching with support for `'.'` and `'*'` where:
- `'.'` Matches any single character.
- `'*'` Matches zero or more of the preceding element.
The mat... | |
https://github.com/skriptum/diatypst | https://raw.githubusercontent.com/skriptum/diatypst/main/README.md | markdown | MIT License | # Diatypst
*easy slides in typst*
Features:
- easy delimiter for slides and sections (just use headings)
- sensible styling
- dot counter in upper right corner (like LaTeX beamer)
- adjustable color-theme
- default show rules for terms, code, lists, ... that match color-theme
Example Presentation
| Title Slide ... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/image-07.typ | typst | Other | // Error: 8-21 unknown image format
#image("./image.typ")
|
https://github.com/Ttajika/class | https://raw.githubusercontent.com/Ttajika/class/main/seminar/lib/useful_package.typ | typst | #import "@preview/showybox:2.0.1": showybox
| |
https://github.com/pku-typst/PKU-typst-template | https://raw.githubusercontent.com/pku-typst/PKU-typst-template/main/templates/通用/作业/example.typ | typst | MIT License | #import "@local/PKU-Typst-Template:0.1.0": 通用作业
#set text(lang: "zh")
#show: 通用作业.config.with(
course_name: "实验测试中的测试方法",
student_id: 2200011001,
student_name: "张测试",
hw_no: 14,
)
#let QED = sym.square.stroked
#通用作业.hw_prob("习题 11.4")[
已知若 $p$ 为真则 $q$ 为真, 给定 $q$ 为假求证 $p$ 为假
][
显然
#QED
] |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Research/Summer%202024/Geometry%20School/Minimal%20cones.typ | typst | #import "/Templates/generic.typ": latex
#import "/Templates/notes.typ": chapter_heading
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#show: latex
#show: chapter_heading
#show: thmrules
#show: symbol_replacing
//#show: equation_references
//#show: equation_numbering
#set pagebreak(weak: true)
#... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/040_Zendikar%20Rising.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Zendikar Rising", doc)
#include "./040 - Zendikar Rising/001_Episode 1: In the Heart of the Skyclave.typ"
#include "./040 - Zendikar Rising/002_Red Route.typ"
#include "./040 - Zendikar Rising/003_Episode 2: Race to the Murasa Skyclave.typ"
#include "./040 - Zend... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z103.typ | typst | Dobroreč, duša moja, Pánovi; \* Pane, Bože môj, ty si nesmierne veľký.
Odel si sa do slávy a veleby, \* do svetla si sa zahalil ako do rúcha.
Nebesia rozpínaš ako stan, \* nad vodami si buduješ komnaty.
Po oblakoch vystupuješ ako po schodoch, \* na krídlach vánku sa prechádzaš.
Vetry sú tvojimi poslami, \* ohnivé p... | |
https://github.com/valentinvogt/npde-summary | https://raw.githubusercontent.com/valentinvogt/npde-summary/main/src/chapters/09.typ | typst | #import "../setup.typ": *
#show: thmrules
= Second-Order Linear Evolution Problems
<ch:9>
#counter(heading).update((9, 1))
== Parabolic Initial-Boundary Value Problems
<sub:parabolic-ivps>
=== Heat Equation
<sub:heat-equation>
In local form the heat equation is given by
#neq(
$ frac(partial, partial t) (rho u) - di... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas3/3_Streda.typ | typst | #let V = (
"HV": (
("", "Vélija krestá tvojehó", "Tvár izminísja Slóve, raspjátijem tvojím, sólnce lučý sprjáta stráchom, i chráma zavísa razdrásja, i vsják vírnyj spasésja. Ťímže slávim tvojé bezmírnoje bohátstvo."),
("", "", "Íže plóť nášu za milosérdije vosprijím, Bóh že i Vladýka, na drévi prihvozdísja, ... | |
https://github.com/Duolei-Wang/modern-sustech-thesis | https://raw.githubusercontent.com/Duolei-Wang/modern-sustech-thesis/main/template/lib.typ | typst | MIT License | // Construct the sections as aranged.
#import "./configs/cover.typ": cover
#import "./configs/commitment.typ": commitment
#import "./configs/abstract.typ": abstract
#import "./configs/outline.typ": toc
#import "configs/mathstyle.typ": mathstyle
#let std-bibliography = bibliography
#let sustech-thesis(
isCN: true,
... |
https://github.com/jamesrswift/ionio-illustrate | https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/dist/0.2.0/src/util.typ | typst | MIT License | /// Merge dictionary a and b and return the result
/// Prefers values of b.
///
/// - a (dictionary): Dictionary a
/// - b (dictionary): Dictionary b
/// -> dictionary
#let merge-dictionary(a, b, overwrite: true) = {
if type(a) == dictionary and type(b) == dictionary {
let c = a
for (k, v) in b {
if not... |
https://github.com/spherinder/ethz-infk-thesis | https://raw.githubusercontent.com/spherinder/ethz-infk-thesis/master/pages/declaration-of-originality.typ | typst | #import "@preview/cheq:0.2.1": checklist
#let declaration-of-originality(
author: "",
author-email: "",
title: "",
document-type: "",
supervisor: "",
tutor: "",
semester: "",
student-nr: "",
sans-font: "CMU Sans Serif",
declaration-of-originality-choice: none,
..rest
) = {
set page(header: cont... | |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/27.typ | typst | #import "../conf.typ": *
= Приведение квадратичных форм в линейном пространстве к каноническому виду. Положительно определённые квадратичные формы. <NAME>.
== Приведение квадратичных форм в линейном пространстве к каноническому виду.
#definition[
Пусть $b in cal(B)^plus.minus (V)$.
- Векторы $bold(u), bold(v) in V... | |
https://github.com/kimushun1101/typst-jp-conf-template | https://raw.githubusercontent.com/kimushun1101/typst-jp-conf-template/main/main.typ | typst | MIT No Attribution | // MIT No Attribution
// Copyright 2024 <NAME>
#import "libs/rsj-conf/lib.typ": rsj-conf, gothic
#show: rsj-conf.with(
title: [Typst を使った国内学会論文の書き方 \ - 国内学会予稿集に似せたフォーマットの作成 - ],
authors: [◯ 著者姓1 著者名1,著者姓2 著者名2(○○○大学),著者姓3 著者名3 (□□□株式会社)],
abstract: [#lorem(80)],
bibliography: bibliography("refs.yml", full: fa... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/017.%20desres.html.typ | typst | desres.html
Design and Research
January 2003(This article is derived from a keynote talk at the fall 2002 meeting
of NEPLS.)Visitors to this country are often surprised to find that
Americans like to begin a conversation by asking "what do you do?"
I've never liked this question. I've rarely had a
neat answer to it. ... | |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/preact.typ | typst | #import "/components/glossary.typ": gls
== Preact <sec-preact>
Preact is a popular JavaScript library that serves as a lightweight alternative
to React. Designed to be smaller and faster, Preact offers many of the same
features and benefits while maintaining a minimal footprint. This section will
explore the key char... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_240322/content.typ | typst | MIT License | #import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro
#import "functions.typ": glossary, team
#let participants = csv("participants.csv")
= Partecipanti
/ Inizio incontro: #inizio_incontro
/ Fine incontro: #fine_incontro
/ Luogo incontro: #luogo_incontro
#table(
columns: (3fr, 1fr),
[*Nome*], [*Durat... |
https://github.com/FlyinPancake/bsc-thesis | https://raw.githubusercontent.com/FlyinPancake/bsc-thesis/main/thesis/pages/abstract.typ | typst | #import "@preview/big-todo:0.2.0": todo
#page[
#set text(lang: "hu")
= Kivonat
A szakdolgozat célja a virtuális Kubernetes klaszterekkel
kapcsolatos jelenlegi állapot felmérése. A virtuális klaszterek ebben az összefüggésben egyetlen Kubernetes klaszteren belül létrehozott elszigetelt Kubernetes ... | |
https://github.com/remggo/cookbook-typst | https://raw.githubusercontent.com/remggo/cookbook-typst/main/README.md | markdown | MIT License | # Cookbook Typst
A recipe template for [Typst](https://typst.app).
## Features
- Nice Layout for recipes
- Use YAML to separate your recipe data from the presentation
- Very configurable
**Note**: The package only creates the layout of a recipe. Page setup and margins are left intentionally untouched.
## Screenshot... |
https://github.com/yasemitee/Teoria-Informazione-Trasmissione | https://raw.githubusercontent.com/yasemitee/Teoria-Informazione-Trasmissione/main/2023-10-10.typ | typst | #import "@preview/lemmify:0.1.4": *
#let (
theorem, lemma, corollary,
remark, proposition, example,
proof, rules: thm-rules
) = default-theorems("thm-group", lang: "it")
#show: thm-rules
#show thm-selector("thm-group", subgroup: "proof"): it => block(
it,
stroke: green + 1pt,
inset: 1em,
breaka... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/equation.typ | typst | // Test alignment of block equations.
// Test show rules on equations.
--- math-equation-numbering ---
#set page(width: 150pt)
#set math.equation(numbering: "(I)")
We define $x$ in preparation of @fib:
$ phi.alt := (1 + sqrt(5)) / 2 $ <ratio>
With @ratio, we get
$ F_n = round(1 / sqrt(5) phi.alt^n) $ <fib>
--- math... | |
https://github.com/AHaliq/CategoryTheoryReport | https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter4/notes.typ | typst | #import "../../preamble/lemmas.typ": *
#import "../../preamble/catt.typ": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#definition(name: "Subobjects")[@sa[Definition 5.1, Remark 5.2, Example 5.3]
- A subobject of an object $X$ is a monomorphism $mono(m, M, X)$ in $bold(C)$
- $"Sub"_bold(C)(... | |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/ConsuntivoSprint/OttavoSprint.typ | typst | MIT License | #import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost
#import "../../functions.typ": rendicontazioneOreAPosteriori, rendicontazioneCostiAPosteriori, glossary
== Ottavo #glossary[sprint]
*Inizio*: Venerdì 12/01/2024
*Fine*: Giovedì 18/01/2024
#rendicontazioneOreAPosteriori(sprintNumber: "... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/quote_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Text direction affects author positioning
And I quote: #quote(attribution: [<NAME>])[cogito, ergo sum].
#set text(lang: "ar")
#quote(attribution: [عالم])[مرحبًا]
|
https://github.com/jassielof/IT425-P1 | https://raw.githubusercontent.com/jassielof/IT425-P1/main/Documento%20de%20Parcial.typ | typst | MIT License | #import "template/apa7/lib.typ": *
#show: apa7.with(
title: [Documento de Parcial: Preguntas sobre el «Caso El Periódico Parte B» y 14 puntos de Deming para la gestión de la calidad],
custom-authors: [<NAME>],
custom-affiliations: [Facultad de Ingeniería, Universidad de Santa Cruz de la Sierra],
course: [IT425... |
https://github.com/MattiaOldani/Informatica-Teorica | https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/calcolabilità/01_richiami_matematici.typ | typst | #import "../alias.typ": *
= Richiami matematici: funzioni e prodotto cartesiano
== Funzioni e insiemi di funzioni
Una *funzione* da un insieme $A$ a un insieme $B$ è una legge, spesso indicata con $f$, che definisce come associare agli elementi di $A$ un elemento di $B$.
Una funzione può essere di due tipi differe... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.0.0/lib.typ | typst | Apache License 2.0 | #import "@preview/codelst:2.0.1": sourcecode
#import "titlepage.typ": *
#import "confidentiality-statement.typ": *
#import "declaration-of-authorship.typ": *
#import "acronyms-list.typ": *
#import "template/appendix.typ": *
// Workaround for the lack of an `std` scope.
#let std-bibliography = bibliography
#let superc... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-17.typ | typst | Other | // Error: 7-17 expected identifier, named pair or argument sink, found keyed pair
#((a, "named": b) => none)
|
https://github.com/tingerrr/chiral-thesis-fhe | https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/core/component/appendix.typ | typst |
// TODO: is the numbering here and for headings in general correct? is the trailing dot expected?
#let number-appendices(..args) = if args.pos().len() == 1 {
numbering("A", ..args.pos())
} else {
numbering("1.", ..args.pos().slice(1))
}
#let make-appendix(
body: lorem(100),
) = {
set heading(numbering: number... | |
https://github.com/OrangeX4/typst-test-sync-repo | https://raw.githubusercontent.com/OrangeX4/typst-test-sync-repo/main/packages/local/mytemplate/0.1.0/mytemplate.typ | typst | #import "@preview/tablex:0.0.6": *
#import "@preview/quick-maths:0.1.0": shorthands
#import "@preview/showybox:2.0.1": showybox
#let theorem-box(title: "", it) = {
showybox(
frame: (
border-color: orange.darken(10%),
title-color: orange.lighten(0%),
body-color: orange.lighten(90%),
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/elsearticle/0.1.0/src/elsearticle.typ | typst | Apache License 2.0 | // elsearticle.typ
// Author: <NAME>
// Github: https://github.com/maucejo
// License: MIT
// Date : 07/2024
#let font-size = (
script: 7pt,
footnote: 8pt,
small: 10pt,
normal: 11pt,
author: 12pt,
title: 17pt,
)
#let linespace = (
preprint: 1em,
review: 1.5em,
)
#let indent-size =... |
https://github.com/An-314/Notes-of-DSA | https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/binary_tree.typ | typst | = 二叉树Binary Tree
- 树是有层次结构的表示:
- 表达式
- 文件系统
- URL
- 树是综合性的数据结构
- 兼具Vector和List的优点
- 兼顾高效的查找、 插入、 删除
- 树是半线性的结构
- 不再是简单的线性结构,但在确定某种次序之后,具有线性特征
== 二叉树Binary Tree
=== 图论基础
==== 有根树Rooted tree
树是极小连通图、极大无环图$T(V,E)$,节点数$n=|V|$,边数$e=|E|$。
指定一个节点$r in V$作为根节点,其他节点到根节点有唯一路径,称为有根树。
若$T_1,T_2,...T_d$为有根树,则$T =( ... | |
https://github.com/eliapasquali/typst-thesis-template | https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/appendix/bibliography/bibliography.typ | typst | Other | #pagebreak(to: "odd")
// Hayagriva format
#bibliography("bibliography.yml")
// Biblatex
// #bibliography("bibliography.bib") |
https://github.com/mumblingdrunkard/mscs-thesis | https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/computer-architecture-fundamentals/high-performance-processor-architecture.typ | typst | #import "../utils/utils.typ": *
== High-Performance Processor Architecture <sec:high-performance-processor-architecture>
With the basics covered, we can move on to the state of the art of processing:
out-of-order (OoO) processors.
In-order (InO) processors execute instructions in program order and later instructions ... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw-syntaxes_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 180pt)
#set text(6pt)
#set raw(syntaxes: "/assets/files/SExpressions.sublime-syntax")
```sexp
(defun factorial (x)
(if (zerop x)
; with a comment
1
(* x (factorial (- x 1)))))
```
|
https://github.com/v411e/optimal-ovgu-thesis | https://raw.githubusercontent.com/v411e/optimal-ovgu-thesis/main/acknowledgement.typ | typst | MIT License | #import "components.typ": body-font, variable-pagebreak
#let oot-acknowledgement(heading: "Acknowledgements", is-doublesided: none, body) = {
set align(center)
v(0.1fr)
if heading.len() > 0 {
text(font: body-font, 1em, weight: "semibold",
heading
)
v(1em)
}
text(body)
v(1fr)
v... |
https://github.com/Dherse/masterproef | https://raw.githubusercontent.com/Dherse/masterproef/main/masterproef/parts/preface.typ | typst | #import "../ugent-template.typ": *
#show: ugent-preface
= Remark on the master's dissertation and the oral presentation
This master's dissertation is part of an exam. Any comments formulated by the
assessment committee during the oral presentation of the master's dissertation
are not included in this text.
= Acknowle... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.