repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/053%20-%20Wilds%20of%20Eldraine/001_Episode%201%3A%20Pure%20of%20Heart.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 1: Pure of Heart",
set_name: "Wilds of Eldraine",
story_date: datetime(day: 08, month: 08, year: 2023),
author: "<NAME>",
doc
)
There was a king who dwelled in Eldraine, a good king, who had at his side a good queen. Together they h... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/team.typ | typst | The Unlicense | #import "../colors.typ": *
/// Display information about your team.
///
/// Example Usage:
/// ```typ
/// #team(
/// (
/// name: "<NAME>",
/// picture: image("./path-to-image.png", width: 90pt, height: 90pt),
/// about: [
/// Likes Coding
/// ],
/// ),
/// )
/// ```
/// - ..member... |
https://github.com/Gekkio/gb-ctr | https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cartridges/mbc3.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "../../common.typ": *
== MBC3 mapper chip
MBC3 supports ROM sizes up to 16 Mbit (128 banks of #hex("4000") bytes), and RAM sizes up to 256 Kbit (4 banks of #hex("2000") bytes). It also includes a real-time clock (RTC) that can be clocked with a quartz crystal on the cartridge even when the Game Boy is powered... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/modules/chap2.typ | typst | // SKIP
#import "chap1.typ"
#let name = "Peter"
== Chapter 2
#name had not yet conceptualized their consequences.
| |
https://github.com/dssgabriel/master-thesis | https://raw.githubusercontent.com/dssgabriel/master-thesis/main/src/chapters/2-context.typ | typst | Apache License 2.0 | #show raw.where(block: true): it => {
set text(font: "Intel One Mono", size: 8pt)
set align(left)
set block(fill: luma(240), inset: 10pt, radius: 4pt, width: 100%)
it
}
#show raw.where(block: false): box.with(
fill: luma(240),
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
radius: 2pt
)
#show raw.wh... |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/tests/presets_difficulties/test.typ | typst | Other | #import "/lib/lib.typ" as ucpc
#import ucpc.presets: difficulties as lv
#lv.easy
#lv.normal
#lv.hard
#lv.challenging
#lv.bronze
#lv.silver
#lv.gold
#lv.platinum
#lv.diamond
#lv.ruby
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/enum-numbering-03.typ | typst | Other | // Test numbering with closure and nested lists.
#set enum(numbering: n => super[#n])
+ A
+ B
+ C
|
https://github.com/Arrata-TTRPG/Arrata-TTRPG | https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/sections/quirks.typ | typst | Other | #import "../typst-boxes.typ": *
= Quirks
Quirks are the backbone of any character. They help you as a player or GM define who exactly a character is, how they operate, and how you should be representing them. The point of Quirks is to allow a degree of freedom in roleplaying a character without letting you lose what... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/document-07.typ | typst | Other | #box[
// Error: 4-15 pagebreaks are not allowed inside of containers
#pagebreak()
]
|
https://github.com/vimkat/typst-ohm | https://raw.githubusercontent.com/vimkat/typst-ohm/main/src/lib/elements.typ | typst | MIT License | #import "vars.typ"
#let pipe = text(fill: vars.red, "|")
|
https://github.com/hugo-s29/typst-algo | https://raw.githubusercontent.com/hugo-s29/typst-algo/master/README.md | markdown | MIT License | # The `typst-algo` package.
This package helps you typeset algorithms in Typst.
To learn more about this package, take a look at the [manual](docs/manual.pdf).
## Examples of algorithms (extracted from the manual)
This is Bogosort, a _very efficent_ sorting algorithm.

This is a... |
https://github.com/Meisenheimer/Notes | https://raw.githubusercontent.com/Meisenheimer/Notes/main/src/IVP.typ | typst | MIT License | #import "@local/math:1.0.0": *
= Initial Value Problem
#env("Notation")[
To numerically solve the IVP, we are given initial condition $mathbf(u)_0 = mathbf(u) (t_0)$, and want to compute approximations ${ mathbf(u)_k, k = 1, 2, dots }$ such that
$ mathbf(u)_k approx mathbf(u)(t_k), $
where $k$ is the uniform ... |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/Deep%20Learning/LLM.typ | typst | #import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "Deep Learning for Language Models",
lang: "zh",
)
#let softmax = math.op("softmax")
#let QKV = $Q K V$
#let qkv = QKV
#let Concat = math.op("Concat")
#let MultiHead = math.op("MultiHead")
#let Attention = math.op("Attention")
#let hea... | |
https://github.com/monaqa/typst-easytable | https://raw.githubusercontent.com/monaqa/typst-easytable/master/src/elem.typ | typst | MIT License | /// Sets column width.
#let cwidth(..columns) = {
((
_kind: "easytable.set_column",
length: columns.pos().len(),
value: columns.pos(),
),)
}
/// Sets column style.
#let cstyle(..columns) = {
let layout_func = columns.pos().map((e) => {
if type(e) == "alignment" {
return _content => align(e,... |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/utils/make-prob-meta.typ | typst | Other | #import "/lib/i18n.typ": en-us
#let __make-answer-stat(stat, i18n) = {
let keys = stat.keys()
let builder = ()
if "submit-count" in keys {
builder.push(i18n.submitted_prefix + str(stat.submit-count) + i18n.submitted_postfix)
}
if "ac-count" in keys {
builder.push(i18n.passed_prefix + str(stat.ac-coun... |
https://github.com/ymgyt/techbook | https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/specification/keyof.md | markdown | # keyof
* 型を引数にとってその型のpropertyのstringのunionを返す
```typescript
interface Person {
name: string
age: number
location: string
}
// SomeNewType ( "name" | "age" | "location" )
type SomeNewType = keyof Person
```
| |
https://github.com/htlwienwest/da-vorlage-typst | https://raw.githubusercontent.com/htlwienwest/da-vorlage-typst/main/lib/pages/arbeitsaufteilung.typ | typst | MIT License | #let arbeitsaufteilung(aufteilungen: ()) = [
= Arbeitsaufteilung
#{
set heading(outlined: false)
set heading(numbering: none)
table(
columns: (auto, auto),
[*Person*], [*Folgende Punkte der Diplomarbeit wurden inklusive aller Unterpunkte von folgenden Personen verfasst:*],
..for (p, a) in auft... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2200.typ | typst | Apache License 2.0 | #let data = (
("FOR ALL", "Sm", 0),
("COMPLEMENT", "Sm", 0),
("PARTIAL DIFFERENTIAL", "Sm", 0),
("THERE EXISTS", "Sm", 0),
("THERE DOES NOT EXIST", "Sm", 0),
("EMPTY SET", "Sm", 0),
("INCREMENT", "Sm", 0),
("NABLA", "Sm", 0),
("ELEMENT OF", "Sm", 0),
("NOT AN ELEMENT OF", "Sm", 0),
("SMALL ELEMENT... |
https://github.com/ofurtumi/formleg | https://raw.githubusercontent.com/ofurtumi/formleg/main/h06/H6.typ | typst | #import "@templates/ass:0.1.1": *
#import "@preview/finite:0.3.0"
#import "@preview/cetz:0.1.1"
#import cetz.draw: set-style
#import finite.draw: state, transition, loop
#show: doc => template(
project: "Homework 6",
class: "TÖL301G",
doc
)
#set heading(numbering: "1.a)")
#set enum(numbering: "i.")
= Four lan... | |
https://github.com/chubetho/Bachelor_Thesis | https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/chapters/conclusion.typ | typst | = Evaluation <section_evaluation>
In this chapter, the results of the experiment are evaluated and compared with those of a monolithic architecture using a single-page application (SPA). The decision to use the monolithic @spa approach for comparison stems from its close alignment with the experiment’s solution, as bo... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/grid/cell.typ | typst | // Test basic styling using the grid.cell element.
--- grid-cell-override ---
// Cell override
#grid(
align: left,
fill: red,
stroke: blue,
inset: 5pt,
columns: 2,
[AAAAA], [BBBBB],
[A], [B],
grid.cell(align: right)[C], [D],
align(right)[E], [F],
align(horizon)[G], [A\ A\ A],
grid.cell(align: hor... | |
https://github.com/thomasschuiki/thomasschuiki | https://raw.githubusercontent.com/thomasschuiki/thomasschuiki/main/cv/lib-impl.typ | typst | #let fa-icon(
/// The name of the icon.
///
/// This can be used with the ligature feature or the unicode of the glyph.
name,
/// Whether the icon is solid or not.
solid: false,
..args
) = {
text(
font: (
"Font Awesome 6 Free" + if solid { " Solid" },
"Font Awesome 6 Brands",
),
... | |
https://github.com/Lucas-Wye/tech-note | https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/Zotero.typ | typst | = Zotero
#label("zotero")
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share research.
== Tips
#align(center)[#table(
columns: 2,
align: (col, row) => (auto, auto).at(col),
inset: 6pt,
[Requirements], [Operations],
[查看文献条目所属的分类], [选中该条目后按住Ctrl/Option/Alt,该文献所在的文件夹就会高亮... | |
https://github.com/Blezz-tech/math-typst | https://raw.githubusercontent.com/Blezz-tech/math-typst/main/test/template.typ | typst | #import "/lib/my.typ": *
=== Задание
#task("Задание")
// #include "/Картинки/0000-0000.typ"
#answer("Решение")
Ответ: $$
| |
https://github.com/adelhult/typst-hs-test-packages | https://raw.githubusercontent.com/adelhult/typst-hs-test-packages/main/README.md | markdown | MIT License | # Clone the Typst packages repo
```
git submodule update --init --recursive
```
# Run the test-suite
```sh
cabal test --test-show-details=streaming
```
# Results
Running the `typst-hs` parser on all `.typ` files in the packages repo results
in:
```
Cases: 1246 Tried: 1246 Errors: 0 Failures: 76
```
See `test/cou... |
https://github.com/JakMobius/courses | https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem06/utils.typ | typst |
#let cell-color(base-color) = {
if base-color == none {
base-color = blue
}
let background-color = color.mix((base-color, 20%), (white, 80%))
let stroke-color = color.mix((base-color, 50%), (black, 50%))
(
base-color: base-color, background-color: background-color, stroke-color: stroke-color,
)
} | |
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Sections/Section4.typ | typst | #import "../../../template.typ": *
#set page(
header: align(right)[
<NAME>
]
)
#align(center)[
= Section 3 Guide
]
#set text(
font: "New Computer Modern",
size: 11pt
)
#set heading(
numbering: "1."
)
= Quote
#blockquote[
"To possess a virtue is to be a certain sort of person with a certain complex ... | |
https://github.com/olligobber/Matrixst | https://raw.githubusercontent.com/olligobber/Matrixst/master/matrix.typ | typst | // verifies a matrix is valid and returns (height, width)
#let dimension(m) = {
// check input is valid types
if type(m) != array {
panic("matrix is not valid: not an array")
}
for row in m {
if type(row) != array {
panic("matrix is not valid: rows are not arrays")
for val in row {
... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/001%20-%20Magic%202013/007_The%20Stonekiller.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Stonekiller",
set_name: "Magic 2013",
story_date: datetime(day: 08, month: 08, year: 2012),
author: "<NAME>",
doc
)
#figure(image("007_The Stonekiller/01.jpg", height: 40%), caption: [], supplement: none, numbering: none)
The pebble wa... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/examples.typ | typst | #import "@preview/cetz:0.1.2"
#cetz.canvas({
import cetz.draw: *
import cetz.tree
tree.tree(
spread:3,
grow:4,
([root],[A],[B]),
draw-node: (node, parentnode) => {
content((),text(4pt,[#node]),padding:.1,name:"content")
rect("content.top-left","content.bottom-right")
}
)
})
---... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pad_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that padding adding up to 100% does not panic.
#pad(50%)[]
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/012_Episode%207%3A%20Divine%20Intervention.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 7: Divine Intervention",
set_name: "March of the Machine",
story_date: datetime(day: 23, month: 04, year: 2023),
author: "<NAME>",
doc
)
#emph[Tell her not to follow me. None of you should. Not ever.]
The first time Karn tried to s... | |
https://github.com/pluttan/trps | https://raw.githubusercontent.com/pluttan/trps/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",
discipline_name: "Технология разработки програм... | |
https://github.com/janekx21/bachelor-thesis | https://raw.githubusercontent.com/janekx21/bachelor-thesis/main/main.typ | typst | #import "template.typ": *
#import "@preview/cetz:0.2.2": canvas, draw, tree
#import "@preview/pintorita:0.1.1"
#show: project.with(
title: "Design and development of an OWL 2 manchester syntax language server", authors: ((name: "<NAME>", email: "<EMAIL>"),), date: "December 6, 2023", topleft: [
Otto-von-Guericke... | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/03-permutations-cont.typ | typst | Other | #import "../../utils/core.typ": *
== Перестановки
#ticket[Разложение перестановки в произведение транспозиций и элементарных транспозиций]
#def[
$M$ --- множество. _Перестановкой_ множества $M$ называется биекция на себя.
$S(M)$ = ${"перестановка" M}$
$S(M) times S(M) -> S(M)$
$(g, f) |-> g compose f$
]
... |
https://github.com/donRumata03/aim-report | https://raw.githubusercontent.com/donRumata03/aim-report/master/lib/presentation-template.typ | typst | #import "@preview/polylux:0.3.1": *
#import "pdfpc.typ"
#import themes.simple: title-slide, logic
#import "presentation-utilities.typ": timeblock, codeblock, superblock, set-code, set-code-for-bad-projector
#import "todos.typ": *
#import "generic-utils.typ": *
#let simple-theme(
aspect-ratio: "16-9",
background: ... | |
https://github.com/Shuenhoy/modern-zju-thesis | https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/utils/structure.typ | typst | MIT License | #let frontmatter(s) = {
set page(numbering: "I")
counter(page).update(1)
s
}
#let mainmatter(s) = {
set page(numbering: "1")
counter(page).update(1)
s
} |
https://github.com/DaAlbrecht/thesis-TEKO | https://raw.githubusercontent.com/DaAlbrecht/thesis-TEKO/main/content/Requirements.typ | typst | #import "@preview/tablex:0.0.5": tablex, cellx
#import "@preview/codelst:1.0.0": sourcecode
#show figure.where(kind: raw): set block(breakable: true)
The following Stakeholders are identified:
#figure(
tablex(
columns: (auto, 1fr, 2fr),
rows: (auto),
align: (center + horizon, center + horizon, left),
... | |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/main.typ | typst | #set text(
//font: "Open Sans",
size: 11pt
)
#set document(
title: [Functional Bus Description Language - Specification],
author: "<NAME>"
)
#import "vars.typ"
#include "cover.typ"
#set page(
numbering: "1",
header: [
#text(9pt)[Rev. #vars.rev]
#h(1fr)
#text(9pt)[FBDL Specification]
]
)
#... | |
https://github.com/TOMATOFQY/MyChiCV | https://raw.githubusercontent.com/TOMATOFQY/MyChiCV/main/chicv.chinese.typ | typst | MIT License | #import "fontawesome.typ": *
#let italic_fonts = ("Source Han Serif SC VF")
#let title_fonts = ("FZJinLS-B-GB")
#let fonts = (
// "Source Han Serif SC VF",
// "FZJinLS-B-GB",
"Songti SC",
"Avenir Next LT Pro", // original chi-cv font\
"Manrope", // a font available in the typst environm... |
https://github.com/tingerrr/hydra | https://raw.githubusercontent.com/tingerrr/hydra/main/src/util.typ | typst | MIT License | #import "/src/util/assert.typ"
#import "/src/util/core.typ": *
|
https://github.com/bejaouimohamed/labs-EI2 | https://raw.githubusercontent.com/bejaouimohamed/labs-EI2/main/Lab%20%233%20Web%20Application%20with%20Genie/Lab-3.typ | typst | #set heading(numbering: "1.")
#import "Class.typ": *
#show: ieee.with(
title: [#text(smallcaps("Lab #3: Web Application with Genie"))],
/*
abstract: [
#lorem(10).
],
*/
authors:
(
(
name: "<NAME>",
department: [Dept. of EE],
organization: [ISET Bizerte --- Tunisia],
pr... | |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/report-week-5/contents/05-use-case-diagram.typ | typst |
= Use-case diagram
== Use-case diagram toàn hệ thống
#block(
width: 100%,
inset: 10pt,
radius: 3pt,
stroke: rgb(87, 127, 230),
fill: rgb(87, 127, 230, 40),
par(
justify: true,
"Xem chi tiết sơ đồ use-case của nhóm tại: " + link("https://drive.google.com/file/d/1EtNV2Po7mtwW4zg2rioz8HqAY8J... | |
https://github.com/refparo/24xx-typst | https://raw.githubusercontent.com/refparo/24xx-typst/master/24xx.typ | typst | Creative Commons Attribution 4.0 International | // inline styling
#set text(
9pt, top-edge: 9pt, luma(10%),
font: "Barlow",
stretch: 87.5%,
number-width: "tabular",
)
#show "₡": set text(font: "IBM Plex Sans", stretch: 100%)
#show "➡": set text(7.5pt, font: "Noto Sans CJK SC")
// block styling
#let leading = 3pt
#let top-edge = 9pt
#let line-height = lead... |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/Lab03/contents/02-introduce.typ | typst | = Mã xác thực thông điệp MAC
== Câu 1: Sử dụng công cụ Cryptool để tính toán HMAC cho một thông điệp theo các
bước như bên dưới
=== Tính Hmac cho hàm MD5
- H(k,m): key in front of message
#image("/images/md5_b1.jpg")
#pagebreak()
- H(m,k): key in back of message
#image("/images/md5_b2.jpg")
#pagebreak()
- H(k,m,... | |
https://github.com/grnin/Zusammenfassungen | https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/05_Threads.typ | typst | // Compiled with Typst 0.11.1
#import "../template_zusammenf.typ": *
#import "@preview/wrap-it:0.1.0": wrap-content
/*#show: project.with(
authors: ("<NAME>", "<NAME>"),
fach: "BSys2",
fach-long: "Betriebssysteme 2",
semester: "FS24",
tableofcontents: (enabled: true),
language: "de"
)*/
= Threads
#wrap-co... | |
https://github.com/nicolasfara/Curriculum-Vitae | https://raw.githubusercontent.com/nicolasfara/Curriculum-Vitae/master/data-it.typ | typst | Apache License 2.0 | #import "@preview/fontawesome:0.1.0": *
#let contact-entries = (
(icon-path: fa-envelope(), content: link("mailto:<EMAIL>")),
(icon-path: fa-phone(), content: link("tel:+39 3402876022")),
(icon-path: fa-location-dot(), content: [Bertinoro, Italy]),
(icon-path: fa-icon("github", fa-set: "Brands"), content: link... |
https://github.com/feiyangyy/Learning | https://raw.githubusercontent.com/feiyangyy/Learning/main/linear_algebra/矩阵的秩和线性方程组的解.typ | typst | #set text(
font: "New Computer Modern",
size: 6pt
)
#set page(
paper: "a5",
margin: (x: 1.8cm, y: 1.5cm),
)
#set par(
justify: true,
leading: 0.52em,
)
#set heading(numbering: "1.")
= 矩阵的行空间、列空间,以及矩阵的秩
== 定义
=== 矩阵的行列空间
矩阵的行空间定义为矩阵的各行向量所生成的空间,矩阵的行秩定义为矩阵行向量组的秩
矩阵的列空间定义为矩阵的各列向量所生成的空间,矩阵的列秩定义为矩阵的列向量组的秩
=== ... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/mockmt2.typ | typst | MIT License | #import "@local/evan:1.0.0":*
#show: evan.with(
title: [18.02 Mock Midterm 2],
author: "<NAME>",
date: [10 October 2024],
maketitle: false,
)
#block[
#show heading: set align(center)
#set heading(numbering: none)
= 18.02 Mock Midterm 2 Instructions
- Don't turn the page until the signal to start is given (... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/link-11.typ | typst | Other | Text <hey>
Text <hey>
// Error: 2-20 label occurs multiple times in the document
#link(<hey>)[Nope.]
|
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/version-0.2.x/start.md | markdown | ---
sidebar_position: 2
---
# 开始
在开始之前,请确保您已经安装了 Typst 环境,如果没有,可以使用 [Web App](https://typst.app/) 或 VS Code 的 [Typst LSP](https://marketplace.visualstudio.com/items?itemName=nvarner.typst-lsp) 和 [Typst Preview](https://marketplace.visualstudio.com/items?itemName=mgt19937.typst-preview) 插件。
要使用 Touying,您只需要在文档里加入
``... | |
https://github.com/Tetragramm/flying-circus-typst-template | https://raw.githubusercontent.com/Tetragramm/flying-circus-typst-template/main/src/FlyingCircus.typ | typst | MIT License | #import "Impl.typ" : FlyingCircus, FCPlane, FCShip, FCVehicleFancy, FCVehicleSimple, FCWeapon, KochFont, HiddenHeading, FCPlaybook, FCPRule, FCPSection, FCPStatTable, FCShortNPC, FCShortAirship |
https://github.com/kdog3682/typkit | https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/typography.typ | typst | #import "resolve.typ": *
#import "patterns.typ"
#import "ao.typ": build-attrs
#let factory(x, newline: false, ..sink) = {
if x == none {
hide(text("hi"))
} else {
text(resolve-content(x), ..sink)
}
if newline == true {
parbreak()
}
}
#let sm-text = factory.with(size: 0.8em)
... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/delimited-07.typ | typst | Other | // Test predefined delimiter pairings.
$floor(x/2), ceil(x/2), abs(x), norm(x)$
|
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/dear/dear.typ | typst | MIT License | #import "src/letter.typ": *
#import "src/cover.typ": *
#import "src/statement.typ": * |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/Lab03/contents/03-datahandling.typ | typst | #pagebreak()
= Chữ ký số
== Câu 1: Mô phỏng chữ ký số bằng chương trình Cryptool, thực hiện theo các bước như hướng dẫn tham khảo bên dưới, với đầu vào là tập tin msg.txt chứa thông tên đầy đủ và mã số sinh viên. Chụp ảnh màn hình từng bước như phần tham khảo.
_Ví dụ: sinh viên có tên <NAME> và MSSV là 123456789, tập... | |
https://github.com/hojelse/typst | https://raw.githubusercontent.com/hojelse/typst/main/README.md | markdown | # typst
Trying out typst
| |
https://github.com/swablab/documents | https://raw.githubusercontent.com/swablab/documents/main/datenschutz.typ | typst | Creative Commons Zero v1.0 Universal | #import "templates/tmpl_page.typ": tmpl_page
#show: doc => tmpl_page(
title: "Datenschutzhinweise",
version: "v2.0",
change_date: "16.10.2024",
doc,
)
== Verantwortlicher
Verantwortlicher für die Datenverarbeitung ist der swablab e. V., vertreten durch den Vorstand: <NAME>, <NAME>, den weiteren einzelvertret... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/036%20-%20Guilds%20of%20Ravnica/006_The%20Ascension%20of%20Reza.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Ascension of Reza",
set_name: "Guilds of Ravnica",
story_date: datetime(day: 27, month: 02, year: 2019),
author: "<NAME>",
doc
)
#emph[Quiet mind, quiet steps.]
I ascend the staircase to the Old Laws Library. I've practically memorized... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/anchor/mark-to-lig.typ | typst | Other | #import "/lib/draw.typ": *
#import "/template/lang.typ": thai
#let start = (0, 0)
#let end = (500, 350)
#let f0nt = text.with(
font: ("F0nt",),
weight: 500,
lang: "tha", region: "TH", script: "thai",
)
#let graph = with-unit((ux, uy) => {
// mesh(start, end, (50, 50))
txt(f0nt[\u{0E19}\u{0E15}], (20, 20),... |
https://github.com/rousbound/typst-compiler | https://raw.githubusercontent.com/rousbound/typst-compiler/main/tests/test.typ | typst | Apache License 2.0 | #set text(font:"New Computer Modern")
Hello World!
|
https://github.com/LordJatonyas/B1-Project | https://raw.githubusercontent.com/LordJatonyas/B1-Project/main/report/report.typ | typst | #import "tablex.typ": *
// document setting
#set document(title: "B1 Project: Optimisation", author: "<NAME>")
// Require 20mm margins
#set page(paper: "a4", numbering: "1", margin: (x: 20mm, y: 20mm))
// require Arial, 11pt font
#set text(lang: "en", region: "UK",
size: 11pt,
hyphenate: false,
font: (
"Ari... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/06-automated-modularization/01-introduction.typ | typst | #import "@preview/acrostiche:0.3.1": *
#import "@preview/sourcerer:0.2.1": code
#import "/helpers.typ": *
= Automated modularization <automatedmodularization>
In this chapter, we investigate the state of the art in (semi-)automated technologies for modularization of monolith codebases.
Using a systematic literature ... | |
https://github.com/pncnmnp/typst-poster | https://raw.githubusercontent.com/pncnmnp/typst-poster/master/examples/example.typ | typst | MIT License | #import "../poster.typ": *
#show: poster.with(
size: "36x24",
title: "A typesetting system to untangle the scientific writing process",
authors: "<NAME>, <NAME>, <NAME>, <NAME>",
departments: "Department of Computer Science",
univ_logo: "./images/ncstate.png",
footer_text: "Conference on Typesetting System... |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Courses/计算机图形学.typ | typst | #import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "计算机图形学",
lang: "zh",
)
- 主要是 Games 101 的笔记,然后如果 ZJU 课上有新东西的话可以加进来
#quote()[
- 首先上来贴几个别人的笔记,#strike[自己少记点]
+ #link("https://www.bilibili.com/read/readlist/rl709699?spm_id_from=333.999.0.0")[B站笔记]
+ #link("https://iewug.githu... | |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/math321/briefAppliedAnalysis.typ | typst | #set page("us-letter")
#set heading(numbering: "I.1")
#set page(margin: (x: 3cm, y: 1cm))
#set text(12pt)
#show math.equation: set text(13pt)
#text(font: "Cambria",size: 14pt,weight: "black")[Awesome applied analysis\
Notes on MATH 321]
<NAME>
The course contents could be better had it been Fabien's class, but probab... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/quote_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Spacing with other blocks
#set quote(block: true)
#set text(8pt)
#lorem(10)
#quote(lorem(10))
#lorem(10)
|
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/zero-decimal-as-symbol/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": num, metro-setup
#set page(width: auto, height: auto)
#num[123.00]
#metro-setup(zero-decimal-as-symbol: true)
#num[123.00]
#num(zero-symbol: sym.dash.wave)[123.00] |
https://github.com/daniel-eder/typst-template-jku | https://raw.githubusercontent.com/daniel-eder/typst-template-jku/main/src/template/template.typ | typst | // SPDX-FileCopyrightText: 2023 <NAME>
//
// SPDX-License-Identifier: Apache-2.0
#import "./styles/default.typ": default as default_style
#import "./styles/content.typ": content as content_style
#import "./pages/title.typ": title as title_page
#import "./pages/abstract.typ": abstract as abstract_page
#import "./pages/... | |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2013/MS-07.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [MA Long], [CHN], [3420],
[2], [ZHANG Jike], [CHN], [3373],
[3], [XU Xin], [CHN], [3291],
[4], [WANG Hao], [CHN], [3... | |
https://github.com/rlpundit/typst | https://raw.githubusercontent.com/rlpundit/typst/main/Typst/en-Report/chaps/outro.typ | typst | MIT License | /* --------------------------------- DO NOT EDIT -------------------------------- */
#import "../Class.typ": *
#show: report.with(isAbstract: false)
#chap("General Conclusion") // GC
#set page(header: smallcaps(title) + h(1fr) + emph("General Conclusion") + line(length: 100%))
/* --------------------------------------... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-11.typ | typst | Other | // Test destructuring assignments.
#let a = none
#let b = none
#let c = none
#((a,) = (1,))
#test(a, 1)
#((_, a, b, _) = (1, 2, 3, 4))
#test(a, 2)
#test(b, 3)
#((a, b, ..c) = (1, 2, 3, 4, 5, 6))
#test(a, 1)
#test(b, 2)
#test(c, (3, 4, 5, 6))
#((a: a, b, x: c) = (a: 1, b: 2, x: 3))
#test(a, 1)
#test(b, 2)
#test(c, 3... |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/docs/images/create-image.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 0pt)
#let scale-factor = 100%
#let content = include("/examples/composition.typ")
#context {
let size = measure(content)
rect(
stroke: none,
radius: 3pt,
inset: (x: 6pt, y: 6pt),
fill: white,
box(
width: size.widt... |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/auton/pre-skills/pre-skills.typ | typst | #import "../auto-util.typ": *
#auton(
"Skills Matchloading Macro",
datetime(year: 2024, month: 2, day: 25),
"matchload.cpp",
directory: "src/auton/actions/",
[
Before driver skills and auton skills we run a matchload macro to first push
alliance triballs into blue goal and then position the bot such that it is ready
t... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/012_Asphodel.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Asphodel",
set_name: "Theros",
story_date: datetime(day: 11, month: 12, year: 2013),
author: "<NAME>",
doc
)
Maia picked her way through the ruined building with bare and careful feet. They were already covered in soot, but she could wash t... | |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/unit/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": unit, units, prefixes
#import units: *
#import prefixes: *
#set page(width: auto, height: auto)
$unit(kg m/s^2)$
#unit($kilo gram metre / second^2$)
$unit(joule / mole / kelvin)$
#unit("kilo gram metre per square second")
#unit("kilo gram metre second^2")
#unit("per square becquerel")
#un... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/ref_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set heading(numbering: "1.", supplement: [Chapter])
#set math.equation(numbering: "(1)", supplement: [Eq.])
= Intro
#figure(
image("/assets/files/cylinder.svg", height: 1cm),
caption: [A cylinder.],
supplement: "Fig",
) <fig1>
#figure(
i... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/quote.typ | typst | Apache License 2.0 | // Test the quote element.
---
// Text direction affects author positioning
And I quote: #quote(attribution: [<NAME>])[cogito, ergo sum].
#set text(lang: "ar")
#quote(attribution: [عالم])[مرحبًا]
---
// Text direction affects block alignment
#set quote(block: true)
#quote(attribution: [<NAME>])[cogito, ergo sum]
#s... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/README.md | markdown | Other | # Typst-hs
Typst-hs is a Haskell library for parsing and evaluating typst
syntax. Typst (<https://typst.app>) is a document formatting
and layout language, like TeX.
Currently this library targets v0.12.0 of typst, and offers only
partial support. There are two main components:
- a parser, which produces an AST fr... |
https://github.com/ajayfoo/math-notes | https://raw.githubusercontent.com/ajayfoo/math-notes/main/college_algebra.typ | typst | MIT License | #import "templates/plain.typ": *
#show: project.with(title: "College Algebra", authors: ("Ajay",), date: "March 6, 2024")
= Prerequisites
== Real Numbers: Algebra Essentials
=== Number Sets
+ *Natural Numbers(#sym.NN)*: Counting Numbers. ${1,2,3,...}$
+ *Whole Numbers(#sym.WW)*: Natural Numbers including the zero.... |
https://github.com/HenkKalkwater/aoc-2023 | https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/parts/day-1-2.typ | typst | #let numbers = (
"zero",
"one",
"two",
"three",
"four",
"five",
"six",
"seven",
"eight",
"nine",
"ten"
)
#let num_reg = "(" + numbers.join("|") + "|\d)"
#let to_num = (str) => {
let val = numbers.position(x => x == str)
if val == none {
val = int(str)
}
val
}
#let solve = (input) => ... | |
https://github.com/JWangL5/CAU-ThesisTemplate-Typst | https://raw.githubusercontent.com/JWangL5/CAU-ThesisTemplate-Typst/master/ref/template.typ | typst | MIT License | #import "./booktab.typ": *
#import "@preview/codly:0.2.0": *
#import "@preview/codelst:2.0.1": sourcecode
#import "./acronyms.typ": acro, usedAcronyms, acronyms
#let project(
kind: "硕士",
title: "中国农业大学论文模板",
abstract-en: [],
abstract-zh: [],
title-en:[],
title-zh:[],
authors: [],
teacher: [],
// co-t... |
https://github.com/clysto/polylux-ustc-theme | https://raw.githubusercontent.com/clysto/polylux-ustc-theme/main/examples/example.typ | typst | #import "../ustc.typ": *
#show: ustc-theme.with(
aspect-ratio: "16-9",
footer: "University of Science and Technology of China",
)
#set par(leading: 1em)
#title-slide(
title: "中国科学技术大学Polylux主题 (USTC Polylux Theme)",
subtitle: "毛亚琛"
)
#slide(title: "引言(Introduction)", alignment: horizon, title-size: 30pt)[
... | |
https://github.com/faria-s/CV | https://raw.githubusercontent.com/faria-s/CV/main/example.typ | typst | #import "twentysecondcv.typ": *
#set text(font: "PT Sans")
#main(
[
#profile(
name: "<NAME>",
jobtitle: "Software Engineering Student",
)
#show_contacts(
(
(
icon: "linkedin",
fa-set: "Brands",
text: "<NAME>",
),
(
icon:... | |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/0-predoc/acronym-index.typ | typst | MIT License | #import "../../lib/mod.typ": *
// == Acronym Index
// #v(1em)
// #todo[Make acronym table break, so it starts on this page]
// #print-index(title: "", delimiter: "")
#let print-acronyms(level: 1, outlined: false, sorted:"", title:"Acronyms Index", delimiter:":") = {
//Print an index of all the acronyms and their... |
https://github.com/lphoogenboom/typstThesisDCSC | https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/chapters/tableOfContents.typ | typst | #import "../typFiles/specialChapter.typ": *
// You should not have to edit this file
#show: specialChapter.with(
content: outline(title: none,),
chapterTitle: "Table of Contents", showInOutline: false
) | |
https://github.com/paugarcia32/CV | https://raw.githubusercontent.com/paugarcia32/CV/main/modules_es/personalSummary.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Resumen Personal")
Graduado en Ingeniería Telemática por la UPC de Castelldefels, con una sólida formación en IoT y ciberseguridad. Apasionado por la tecnología y siempre dispuesto a aprender, busco contribuir con mis conocimientos y entusiasmo a proyectos innova... |
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/xrcomputerbook/chapamtsu.typ | typst | #import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx
= Amtsu Peripheral Bus
== Introduction
The XR/computer platform supports up to 4 low-speed peripheral devices connected to the system via the Amtsu peripheral bus. These devices include things such as mice and keyboards.
The Amtsu bus interface is pr... | |
https://github.com/lyzynec/orr-go-brr | https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/01/main.typ | typst | #import "../lib.typ": *
#knowledge[
#question(name: [Give a rigorous definition of a _local minimum_ (and
_maximum_) and explain how it differs from a _global minimum_
(_maximum_).])[
Local minimum (maximum) $e_x$ of a function is a point in the domain of
the function for which exists some... | |
https://github.com/Turkeymanc/notebook | https://raw.githubusercontent.com/Turkeymanc/notebook/main/appendix.typ | typst | #import "./packages.typ": *
#glossary.add-term(
"Example word",
)[
This is an example word which will appear in the glossary.
]
#create-appendix-entry(title: "Glossary")[
#components.glossary()
]
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/chic-hdr/0.1.0/internal.typ | typst | Apache License 2.0 | /*
* Chic-header - A package for Typst
* <NAME> (c) 2023
*
* internal.typ -- The package's file containing
* the internal functions
*
* This file is under the MIT license. For more
* information see LICENSE on the package's main folder.
*/
/*
* chic-valid-type
*
* Checks if a given argument is a valid elem... |
https://github.com/eduardz1/UniTO-typst-template | https://raw.githubusercontent.com/eduardz1/UniTO-typst-template/main/README.md | markdown | MIT License | # UniTO Thesis Typst Template
This is a thesis template for the University of Turin (UniTO) based on [my thesis](https://github.com/eduardz1/Bachelor-Thesis), since there are no strict templates (notable mention to [Eugenio's LaTeX template though](https://github.com/esenes/Unito-thesis-template)) take my choices with... |
https://github.com/Rhinemann/mage-hack | https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Distinctions.typ | typst | #import "../templates/interior_template.typ": *
#show: chapter.with(chapter_name: "Distinctions")
#set table(align: horizon + center)
#show table: set text(hyphenate: true)
#show table.cell.where(y: 0): strong
#show table.cell.where(x: 0): strong
#show table.cell: set block(breakable: false)
// #show table.cell.wher... | |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/Reinforce%20Learning/其它技巧.typ | typst | ---
order: 5
---
#import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "AI 笔记之强化学习",
lang: "zh",
)
#let ba = $bold(a)$
#let bw = $bold(w)$
= Other Technique
== 完全去中心化学习(FDMARL)
- 之前讲的 MA 都是基于 CTDE 的假设,即智能体在学习的过程中可以获取全局信息,但是在执行的过程中是分布式的。但是在一些情况下,智能体在学习和执行的过程中都是分布式的,这就是完全去中心化学习
#fig("/p... | |
https://github.com/widsnoy/algorithms | https://raw.githubusercontent.com/widsnoy/algorithms/typst/widsnoy_template.typ | typst | #set page(
paper: "a4",
header: align(left)[
_hdu-t05: widsnoy, WQhuanm, xu826281112_
]
)
#set heading(
numbering: "1."
)
#set text(
size: 12pt,
font: ("Linux libertine", "Noto Sans CJK SC"), lang: "zh", region: "cn")
#set page(numbering: "(i)")
#let style-number(number) = text(gray)[#number]
#show ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-21.typ | typst | Other | // Error: 10-19 the result is not a real number
#calc.pow(-1, 0.5)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/frackable/0.1.0/src/lib.typ | typst | Apache License 2.0 | #import "impl.typ": frackable |
https://github.com/shiki-01/typst | https://raw.githubusercontent.com/shiki-01/typst/main/lib/component/description.typ | typst | #let description(name, body) = [
#underline[#name]\
#pad(
top: -5pt,
bottom: 5pt,
[
#grid(
columns: 2,
[…],
[#body]
)
]
)
] | |
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical | https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch09-wil-fr.typ | typst | MIT License | #import "../functions.typ": heading_center, images, italic,linkb, dots
#let finchapiter = text(size: 24pt, fill:rgb("#1E045B"),[■])
#let S1 = "S1"
#let S2 = "S2"
#let S3 = "S3"
= DÉTECTION DES NODULES PULMONAIRES DU CANCER PAR MGI-CNN.
== Introduction.
Dans le monde entier, le cancer du poumon est la cause principa... |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/ConsuntivoSprint/SettimoSprint.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
== Settimo #glossary[sprint]
*Inizio*: Venerdì 05/01/2024
*Fine*: Giovedì 11/01/2024
#rendicontazioneOreAPosteriori(sprintNumber: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.