repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/SkiFire13/eh-presentation-shellcode | https://raw.githubusercontent.com/SkiFire13/eh-presentation-shellcode/master/task1.b.typ | typst | #import "@preview/polylux:0.3.1": *
#import "unipd.typ": *
#new-section[ Task 1.b ]
#slide[
#let code = text(size: 18pt, ```asm
; Store the argument string on stack
xor eax, eax
push eax ; Use 0 to terminate the string
push "//sh"
push "/bin"
mov ebx, esp ; Get the string add... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/029%20-%20Aether%20Revolt/002_Quiet%20Moments.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Quiet Moments",
set_name: "<NAME>",
story_date: datetime(day: 07, month: 12, year: 2016),
author: "<NAME>",
doc
)
#emph[Under the oppression of the Consulate crackdown, the Gatewatch are limited in their ability to discover what the dangero... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/construct-01.typ | typst | Other | // Test gray color conversion.
// Ref: true
#stack(dir: ltr, rect(fill: luma(0)), rect(fill: luma(80%)))
|
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/05-features/shaping/apply.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### Lookup application
=== 应用#tr[lookup]
// Now we have a list of lookups, which each contain rules. These rules are then applied to the glyph stream, lookup by lo... |
https://github.com/NiklasEi/ndc_spin | https://raw.githubusercontent.com/NiklasEi/ndc_spin/main/templates/invoice/template.typ | typst | #import "invoice.typ": *
#let input = if sys.inputs.keys().contains("input") {json.decode(sys.inputs.input);} else {json("sample.json");}
#show: invoice.with(
language: "de", // or "en"
banner-image: image(input.banner),
invoice-id: input.id,
// // Uncomment this to create a cancellation invoice
// cancella... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.3/template/cv.typ | typst | Apache License 2.0 | #import "@preview/grotesk-cv:0.1.3": cv
#let metadata = toml("info.toml")
#let left-pane = (
"profile",
"experience",
"education",
)
#let right-pane = (
"skills",
"languages",
"other_experience",
"references",
)
#show: cv.with(
metadata,
use-photo: true,
left-pane: left-pane,
right-pane: right... |
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/notes/discrete-prob.typ | typst | #import "@local/preamble:0.1.0": *
#show: project.with(
course: "CS",
sem: "Summer",
title: "Discrete Probability",
subtitle: "",
)
= Events and Probability
== Events
Random phenonmenon are observed by means of experiments. Each experiment results
in an _outcome_. The collection of all possible outcomes $om... | |
https://github.com/mattyoung101/uqthesis_eecs_hons | https://raw.githubusercontent.com/mattyoung101/uqthesis_eecs_hons/master/pages/abstract.typ | typst | ISC License | = Abstract
In this paper, we present a novel approach to writing a thesis at the University of Queensland. Whereas
previous theses were written in LaTeX, they can now be written in Typst. We demonstrate that this creates a
420% improvement in productivity and ease of use.
#lorem(100)
|
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/examples/floating-label-barchart.typ | typst | #import "@preview/cetz:0.2.0"
#cetz.canvas({
import cetz.draw: *
let data = (
(0, 60),
(1, 10),
(2,-20),
(3, 2),
(4, 5),
)
let month = (
"Jan", "Feb", "Mar", "Apr", "May"
)
// this works
set-style(
axes: (
grid: (
stroke: blue
),
minor-grid: (
str... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Edge cases.
+
Empty \
+Nope \
a + 0.
|
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/src/assertions-util.typ | typst | Other |
#let assert-base-type(arg, scope: ("arguments",)) = {
assert(
"valkyrie-type" in arg,
message: "Invalid valkyrie type in " + scope.join("."),
)
}
#let assert-base-type-array(arg, scope: ("arguments",)) = {
for (name, value) in arg.enumerate() {
assert-base-type(value, scope: (..scope, str(name)))
... |
https://github.com/donabe8898/typst-report | https://raw.githubusercontent.com/donabe8898/typst-report/main/README.md | markdown | Apache License 2.0 | # typst-report
シン・おれのレポート環境
usage
- typstのドキュメントにすべてを置いてきた
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/spacing-01.typ | typst | Other | // Test spacing collapsing before spacing.
#set align(right)
A #h(0pt) B #h(0pt) \
A B \
A #h(-1fr) B
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/genealotree/0.1.0/examples/full_example.typ | typst | Apache License 2.0 | #import "@preview/genealotree:0.1.0": genealogy-init, add-phenos, add-person, add-persons, add-union, add-unions, draw-tree
#import "@preview/cetz:0.2.2": canvas, draw
#import draw: *
#set page(width: auto, height: auto, margin: .5cm)
#set text(size: 11pt)
#let my-geneal = genealogy-init()
#(my-geneal.config.union... |
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/mid_season/driver.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/templates/entries.typ": *
#import "/templates/headers.typ": *
#import "/templates/text.typ": *
#create_default_entry(
title: [Driver & Auton Practice],
date: [November 18th, 2023],
witness: [Juan],
design: [Imaad],
content: [
#box_header(
title: [Driver Practice],
color:... |
https://github.com/kdog3682/typkit | https://raw.githubusercontent.com/kdog3682/typkit/main/0.1.0/src/types.typ | typst |
#let RatioObjectArray = (
(fill: "blue", value: 4),
(fill: "purple", value: 5),
)
#let Integer = 63
#let RatioObjectArray = none
#let Integer = none
#let ContentString = none
#let Array = none
#let String = none
#let StudentObject = (
grade: 6,
name: "<NAME>",
)
#let DateObject = (
season: "Autum... | |
https://github.com/0x1B05/nju_os | https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/02_应用视角的操作系统.typ | typst | #import "../template.typ": *
#pagebreak()
= 应用视角的操作系统
== 汇编代码和最小可执行文件
=== 构造最小的 Hello, World “应用程序”
```c
int main() {
printf("Hello, World\n");
}
```
gcc 编译出来的文件一点也不小
- `objdump` 工具可以查看对应的汇编代码
- `--verbose` 可以查看所有编译选项 (真不少)
- `printf` 变成了 `puts@plt`
- `-Wl,--verbose` 可以查看所有链接选项 (真不少)
- 原来链接了那么多东西
- 还解释了 `e... | |
https://github.com/EliasRothfuss/vorlage_typst_doku-master | https://raw.githubusercontent.com/EliasRothfuss/vorlage_typst_doku-master/main/chapter/umsetzung.typ | typst | = Umsetzung und Ergebnisse
<cha:umsetzung>
Je nach Art der Arbeit kann diese Kapitelüberschrift auch
Ergebnisse~lauten, z.~B. bei rein messtechnischen Aufgaben.
Beschreibung der Umsetzung des zuvor gewählten Vorgehens (theoretische
Untersuchung, Erhebungen, Durchführung von Experimenten,
Prototypenaufbau, Implementier... | |
https://github.com/gym-8/solving-physics | https://raw.githubusercontent.com/gym-8/solving-physics/master/README.md | markdown | MIT License | # Installation
The easiest method is to import `solving-physics: task` from the `@preview` package:
```typ
#import "@preview/solving-physics:0.1.0": *
```
# Usage
```typ
#task(
given: [
$mu = 0.4$ \
$g = 10$ \
$m = 20$
],
find: [
$F$ --- ?
],
fig: image("./example.png", width: 5cm)
)[
#lore... |
https://github.com/Mufanc/hnuslides-typst | https://raw.githubusercontent.com/Mufanc/hnuslides-typst/master/templates/cover.typ | typst | #import "/configs.typ"
#import "/utils/colors.typ"
#import "/utils/fonts.typ": font
#import "/utils/background.typ": bgimage
#let square-block(content) = {
let font-size = 35pt
let square-size = font-size * 1.2
let frame-color = colors.primary.transparentize(40%)
let frame = pattern(size: (square-size... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week10.typ | typst | #import "../../utils.typ": *
#section("Monero")
- not really traceable
- senders and receivers are obscure
- ring signatures and stealth addresses
- focus on privacy
- decentralized
- launched in 2014 as a fork of bytecoin
- hard forks usually each 6 months
- hard forks usually to improve privacy,efficiency,etc.... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/.github/ISSUE_TEMPLATE/BUG_REPORT.md | markdown | The Unlicense | ---
name: Bug Report
about: Report a bug in the project
title: "🐛"
labels: "repro:required"
assignees: ""
---
#### Expected Behavior
<!-- Concisely describe the behavior you expected -->
#### Observed Behavior
<!-- Concisely describe the behavior you observed -->
#### Steps to Reproduce
<!-- Provide a link to a liv... |
https://github.com/PraneethJain/Science-1 | https://raw.githubusercontent.com/PraneethJain/Science-1/main/Assignment-1/2022101093_Assignment_1.typ | typst | #align(center, text(17pt)[*Science-1*])
#align(center, text(16pt)[Assignment-1])
#align(center, text(13pt)[<NAME>, 2022010193])
= Question 1
#let n = 4
#let average_pace = 1.42
== (a)
$n approx #n$
== (b)
Average pace of a human is $v = 1.4 m/s$
Assuming the distance to travel is $d = #n * 100 = #calc.abs(n*100) m$
... | |
https://github.com/ntjess/showman | https://raw.githubusercontent.com/ntjess/showman/main/README.md | markdown | MIT License | # Showman
<img src="https://www.github.com/ntjess/showman/raw/v0.1.0/showman.jpg" style="width:1.38889in" />
------------------------------------------------------------------------
Automagic tools to smooth the package documentation & development
process.
- Package your files for local typst installation or PR sub... |
https://github.com/EricWay1024/Computational-AT-mini-project | https://raw.githubusercontent.com/EricWay1024/Computational-AT-mini-project/main/template.typ | typst | #import "@preview/ctheorems:1.1.0": *
#import "@preview/commute:0.2.0": node, arr, commutative-diagram
#import "@preview/cetz:0.1.2"
#let TODO(body) = text(blue)[*TODO* #body]
#let oo = [$compose$]
#let cx = [$circle.filled.small$]
#let Vect = [$bold("Vect")$]
#let VF = [$bold("Vect")_FF$]
#let FV = [$bold("FinVec"... | |
https://github.com/Otto-AA/definitely-not-tuw-thesis | https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/src/styles/page-header.typ | typst | MIT No Attribution | #let page-header-styles = rest => {
// Add current chapter to page header
set page(header: context {
let current-page = counter(page).get()
let all-headings = query(heading.where(level: 1, numbering: "1."))
let is-new-chapter = all-headings.any(m => counter(page).at(m.location()) == current-page)
i... |
https://github.com/grnin/Zusammenfassungen | https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/10_Ext2_Unicode.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"
) */
= Unicode
== ASC... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/cpp/lectures/2024-10-04.typ | typst | = Шаблоны проектирования
`Ctrl+C, Ctrl+V` --- плохо
При разработке систем стараются предусматривать возможность будущего расширения:
- Framework --- общее решение в некоторой ограниченной области
- Библиотека классов. Например, STL, Boost
- Шаблоны (patterns) проектирования
Виды паттернов проектирования:
- Паттерн с... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-square-05.typ | typst | Other | // Size wins over width and height.
// Error: 09-20 unexpected argument: width
#square(width: 10cm, height: 20cm, size: 1cm, fill: rgb("eb5278"))
|
https://github.com/tobiaswuttke/rss-submission-template | https://raw.githubusercontent.com/tobiaswuttke/rss-submission-template/main/main.typ | typst | #import "rss-template.typ": conf
// Preamble
#let title = [Your Title]
#let author = [Your name]
#let type = [Literature Review | Dissertation Idea | Thesis Proposal (Paper Type)]
#let email = [<EMAIL>]
#let reviewer = [Reviewer's name]
#let abstract = [#lorem(80)]
#show: doc => conf(
[#title],
[#author],
[#e... | |
https://github.com/Blezz-tech/math-typst | https://raw.githubusercontent.com/Blezz-tech/math-typst/main/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "math-typst",
authors: (
"Blezz",
),
)
// Документ
#outline(indent: 12pt)
= Справочные материалы
$
sin^2 alpha + cos^2 alpha = 1 \
sin 2alpha = 2 sin alpha dot cos alpha \
cos 2 alpha = cos^2 alpha - sin^2 alpha \
sin (alpha + beta) = sin alpha dot co... | |
https://github.com/YuxuanQin/typst-template | https://raw.githubusercontent.com/YuxuanQin/typst-template/master/template.typ | typst | // 著者: 秦宇轩 (<NAME>)
// 最后修改: 2024年 05月 18日 星期六 21:26:35 CST
// 协议: MIT Liscense
//
// 这是模板文件,详见函数 `conf`,配置相关条目前一律加全大写
// 的函数名,以便查找。
// 费解的配置一律加注释。
#let conf(
lang: [],
title: none,
authors: (),
date: datetime.today(),
abstract: [],
keywords: (),
doc
) = {
// TEXT
set text(
font: ("New Com... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/subelement-panic_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Enum item (pre-emptive)
#enum.item(none)[Hello]
#enum.item(17)[Hello]
|
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/24-01-08/24-01-08.typ | typst | #import "/template.typ": *
#show: project.with(
date: "08/01/24",
subTitle: "Meeting di retrospettiva e pianificazione",
docType: "verbale",
authors: (
"<NAME>",
),
timeStart: "14:45",
timeEnd: "15:30",
);
= Ordine del giorno
- Valutazione dell'avanzamento;
- Analisi di retrospettiva;
- Valutazione ... | |
https://github.com/samchouse/dawson | https://raw.githubusercontent.com/samchouse/dawson/main/midterm/1/test.typ | typst | #set page(
numbering: "1 / 1",
header: context {
if counter(page).get().first() == 1 {
align(right)[By: <NAME> and <NAME>]
}
}
)
#align(center)[= Computer Science Mock Midterm]
+ Consider the following document in the vim editor:
#block(
fill: luma(230),
width: 100%,
inset: 8pt,
... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/figure_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Testing figures with tables.
#figure(
table(
columns: 2,
[Second cylinder],
image("/assets/files/cylinder.svg"),
),
caption: "A table containing images."
) <fig-image-in-table>
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-07.typ | typst | Other | // Test bad lvalue.
// Error: 2:3-2:14 cannot mutate a temporary value
#let array = (1, 2, 3)
#(array.len() = 4)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/rubber-article/0.1.0/template/main.typ | typst | Apache License 2.0 | #import "@preview/rubber-article:0.1.0": *
#show: article.with()
#maketitle(
title: "The Title of the Paper",
authors: (
"<NAME>",
),
date: datetime.today().display("[day padding:none]. [month repr:long] [year]"),
)
// Some example content has been added for you to see how the template looks like.
= Intr... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/folding_range/multiple-content-2.typ | typst | Apache License 2.0 | #let slides(..args) = args
#slides[
][
] |
https://github.com/donabe8898/typst-report | https://raw.githubusercontent.com/donabe8898/typst-report/main/template/main.typ | typst | Apache License 2.0 | #import "template.typ": *
// 表紙とか
#show: project.with(
title: "わしのレポートtypst",
subtitle: "森羅万象開拓編",
authors: (
(name: "HT21A021 <NAME>", email: "<EMAIL>"),
),
date: "提出日: 8月10日",
)
// ページ設定
#set page(
numbering: "1",
)
#set figure(
numbering: "1",
)
// 目次設定
#counter(page).update(1)
#outline(title: ... |
https://github.com/Sematre/typst-kit-thesis-template | https://raw.githubusercontent.com/Sematre/typst-kit-thesis-template/main/sections/05_evaluation.typ | typst | = Evaluation
...
== First Section
...
== Second Section
...
== Third Section
... | |
https://github.com/juanppalacios/GVSU_MSE_Project | https://raw.githubusercontent.com/juanppalacios/GVSU_MSE_Project/main/report/report.typ | typst | Other | #import "template.typ": *
#show: ieee.with(
title: "Working Title - Hardware Acceleration: CNN Inference for an Emergency Vehicle Classifier",
abstract: none,
authors: (
(
name: "<NAME>",
department: [Electrical and Computer Engineering],
organization: [Grand Valley State University],
... |
https://github.com/LilNick0101/Bachelor-thesis | https://raw.githubusercontent.com/LilNick0101/Bachelor-thesis/main/content/design.typ | typst | #import "@preview/glossarium:0.2.0": gls
= Progettazione
Qui verrà spiegata la progettazione dell'applicazione, in particolare verrà spiegata l'architettura dell'applicazione e le scelte progettuali fatte, in sintesi ho deciso di utilizzare un'architettura a tre livelli e il pattern _MVVM_ (_Model-View-ViewModel_).
... | |
https://github.com/rlpundit/typst | https://raw.githubusercontent.com/rlpundit/typst/main/Typst/fr-Rapport/Class.typ | typst | MIT License |
#let report(
title: "",
diploma: "",
program: "",
supervisor: "",
author: "",
date: none,
body,
) = {
// --- Set the document's geometric properties. ---
set page(
paper: "a4",
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: "1",
number-align: center,
)
/... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cartao/0.1.0/cartao.typ | typst | Apache License 2.0 | // vim:ts=2:wrap:linebreak:tw=80:nonumber:norelativenumber:expandtab
#let cardnumber = counter("cardnumber")
#let cardheader = state("header", "init")
#let cardfooter = state("footer", "init")
#let cardquestion = state("question", "init")
#let cardanswer = state("answer", "init")
#let card(header, footer... |
https://github.com/ParaN3xus/numblex | https://raw.githubusercontent.com/ParaN3xus/numblex/main/README.md | markdown | MIT License | # Numblex
How to number the heading like this?
- Appendix A. XXXX
- A.1. YYY
- A.2. ZZZ
Or this?
- 一、话题
- 1\. 论点
- (1) 证据
You might use a function:
```Typst
#set heading(numbering: (..nums) => {
if nums.pos().len() == 1 {
return "Appendix " + numbering("A.", ..nums)
}
return numbering("A.1.", ... |
https://github.com/drupol/ipc2023 | https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/theme/ipc.typ | typst | #import "@preview/polylux:0.3.1": *
// Originally contributed by <NAME> - https://github.com/drupol
// Todo: How to get rid of these colors
#let ecmain = rgb("#990027")
#let ecaccentblue = rgb(75, 197, 222)
#let ecaccentyellow = rgb(255, 192, 0)
#let ectext = rgb(77, 77, 77)
#let ecbackgroundgrey = rgb(234, 234, 234)... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/docs/raw.typ | typst | Apache License 2.0 | /// Docs for f.
///
/// ```typst
/// #show raw: it => it {
/// it
/// }
/// ```
///
#let /* ident after */ f(a) = {
show it: it => it;
}; |
https://github.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper | https://raw.githubusercontent.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper/main/README.md | markdown | MIT License | # 南京信息工程大学本科学位论文 nuist-thesis-typst
南京信息工程大学毕业论文(设计)的 Typst 模板,能够简洁、快速、持续生成 PDF 格式的毕业论文。

## 致谢
本项目 fork 自 `nju-thesis-typst` 南京大学 Typst 学位论文项目。他们的交流群是 943622984
本项目暂时只实现了本科生毕业论文的部分,研究生部分欢迎贡献 PR。
## 劣势
- Typst 是一门新生的排版标记语言,还做不到像 Word 或 LaTeX 一样成熟稳定。
- 该模板并非官方模板,而是民间模板,**存在不被认可的风险**。
- 仍有部分未... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2005/MS-12.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [<NAME>], [CHN], [2929],
[2], [<NAME>], [GER], [2797],
[3], [<NAME>], [CHN], [2758],
[4], [<NAME>], [CHN], [2677],
... | |
https://github.com/alperari/cyber-physical-systems | https://raw.githubusercontent.com/alperari/cyber-physical-systems/main/week2/solution.typ | typst | #import "@preview/diagraph:0.1.0": *
= Exercise 1
- Group 1: a, c, d, g, i, j, k
- Group 2: b, e, f, h
= Exercise 2
#align(
center,
raw-render(height: 10em)[```dot
digraph {
rankdir=LR;
start [style = invis, width = 0.01, fixedsize = true];
p0q0 [shape=circle]
p0q1 [shape=... | |
https://github.com/Enter-tainer/typst-preview | https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/dev.typ | typst | MIT License | #import "./book.typ": book-page
#import "./templates/gh-page.typ": page-width, is-dark-theme
#import "@preview/fontawesome:0.1.0": *
#import "@preview/colorful-boxes:1.1.0": *
#import "@preview/commute:0.1.0": node, arr, commutative-diagram
#show: book-page.with(title: "Set Up Development Environment")
#show link: und... |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/examples/exam-big-image.typ | typst | MIT License | #import "../src/lib.typ": *
#show: g-exam.with(
author: (
name: "<NAME>",
email: "<EMAIL>",
watermark: "Teacher: Évariste",
),
school: (
name: "Sunrise Secondary School",
logo: image("./logo.png"),
),
exam-info: (
academic-period: "Academic year 2023/2024",
academi... |
https://github.com/CoderJackZhu/XDUthesis-Typst | https://raw.githubusercontent.com/CoderJackZhu/XDUthesis-Typst/main/README.md | markdown | MIT License | # 西安电子科技大学学位论文 XDUthesis-Typst
## 介绍
Typst是一种新的排版标记语言,由rust编写,比latex性能优异,编译速度快,即使对非常长的文章也是一样,但是稳定性可能比不上Word和LaTeX。
这是西安电子科技大学毕业论文的Typst语言模板, 适用于本科和研究生学位论文,项目基于[modern-nju-thesis](https://github.com/nju-lug/modern-nju-thesis)重构。
## 使用方法
### VS Code 本地编辑(推荐)
在 VS Code 中安装 Tinymist Typst 和 Typst Preview 插件。前者负责语法高亮和... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/grid-4-02.typ | typst | Other | // Test that all three kinds of rows use the correct bases.
#set page(height: 4cm, margin: 0cm)
#grid(
rows: (1cm, 1fr, 1fr, auto),
rect(height: 50%, width: 100%, fill: green),
rect(height: 50%, width: 100%, fill: red),
rect(height: 50%, width: 100%, fill: green),
rect(height: 25%, width: 100%, fill: red),
)
|
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/include.typ | typst | // Test module includes.
--- include-file ---
#set page(width: 200pt)
// Include a file
#include "modules/chap1.typ"
// Expression as a file name.
#let chap2 = include "modu" + "les/chap" + "2.typ"
-- _Intermission_ --
#chap2
--- include-file-not-found ---
#{
// Error: 19-38 file not found (searched at tests/sui... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list-marker_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that items are cycled.
#set list(marker: ([--], [•]))
- A
- B
- C
|
https://github.com/EunTilofy/NumComputationalMethods | https://raw.githubusercontent.com/EunTilofy/NumComputationalMethods/main/Chapter5/Chapter5-1.typ | typst | #import "../template.typ": *
#show: project.with(
course: "Computing Method",
title: "Computing Method - Chapter5",
date: "2024.4.5",
authors: "<NAME>, 3210106357",
has_cover: false
)
*Problems:1,2(1),5,6*
#HWProb(name: "1")[
试证明:
#set enum(numbering: "(1)")
+ $integral_a^b f(x) dx = (b - a)f(a) + (b-a)^... | |
https://github.com/pedrofp4444/BD | https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[1] Definição do sistema/main.typ | typst | #import "contexto.typ": contexto
#import "motivacao.typ": motivacao
#import "viabilidade.typ": viabilidade
#import "recursos.typ": recursos
#import "execucao.typ": execucao
#let definicao_do_sistema = {
[
= Definição do Sistema
#contexto
#motivacao
#viabilidade
#recursos
#execucao
]
}
| |
https://github.com/paugarcia32/CV | https://raw.githubusercontent.com/paugarcia32/CV/main/modules/event.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Events")
#cvEvent(
title: "HackBCN",
date: "2024",
url: "https://www.hackbcn.com/en",
logo: "../src/logos/hackbcn.png",
description: list(
[IA based Hackathon],
[Teams of 3],
),
)
#cvEvent(
title: "HackUPC",
date: "2024",
url: "https://h... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/116.%20kate.html.typ | typst | kate.html
What Kate Saw in Silicon Valley
August 2009<NAME> is the architect who designed Y Combinator's office.
Recently we managed to recruit her to help us run YC when she's not
busy with architectural projects. Though she'd heard a lot about
YC since the beginning, the last 9 months have been a total immersion.... | |
https://github.com/SillyFreak/typst-scrutinize | https://raw.githubusercontent.com/SillyFreak/typst-scrutinize/main/tests/unit/test.typ | typst | MIT License | #import "/src/lib.typ" as scrutinize
// the output is not relevant for this test
#set page(width: 0pt, height: 0pt)
// TODO real tests
#assert(true)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/showybox/1.0.0/showy.typ | typst | Apache License 2.0 |
/*
* ShowyBox - A package for Typst
* <NAME> and Showybox Contributors (c) 2023
*
* Main Contributors:
* - <NAME> (<https://github.com/jneug>)
*
* showy.typ -- The package's main file containing the
* public and (more) useful functions
*
* This file is under the MIT license. For more
* information see LICEN... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Grand_Oral.typ | typst | #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: project.with(
title: "Grand Oral",
authors: (
"<NAME>",
),
date: "16, Mai 2024",
)
#set heading(numbering: "1.1.")
== Problématique
Comment sécurisons-nou... | |
https://github.com/matthew-e-brown/assignmatts | https://raw.githubusercontent.com/matthew-e-brown/assignmatts/main/src/templates.typ | typst | MIT License | /// General template for most written assignments.
#let assignment(
/// The main title of the assignment. If it is not `none`, appears at the top of the first page
/// and in the top-right of the page header.
title: none,
/// The student/author name. Currently, multiple authors are not supported. Undern... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/shorthand-00.typ | typst | Other | The non-breaking~space does work.
|
https://github.com/Mufanc/hnuthss-template | https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/README.md | markdown | ## 喵
感谢 [@cyp0633](https://github.com/cyp0633) 提供的 [论文模板](https://github.com/cyp0633/hnu-bachelor-thesis-typst-template)
在原项目基础上改太多了,于是单独开了个仓库(
---
中文字体换成了 Google Fonts 的 Noto 系列,请自行下载 [Noto Sans SC](https://fonts.google.com/noto/specimen/Noto+Sans+SC) 和 [Noto Serif SC](https://fonts.google.com/noto/specimen/Noto+S... | |
https://github.com/kotfind/typst_task | https://raw.githubusercontent.com/kotfind/typst_task/master/task.typ | typst | // -------------------- Utils --------------------
// Returns the first argument that is not equal to `none`.
// Returns `none` if all arguments are equal to `none`.
#let ifnone(..args) = {
for arg in args.pos() {
if arg != none {
arg
break
}
}
none
}
// ------... | |
https://github.com/giZoes/justsit-thesis-typst-template | https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/textcricled.typ | typst | MIT License | #import "indent.typ":fake-par
#let onum(num) = {
set text(size: 0.625em)
fake-par
num = str(num)
box(
circle(
radius: 0.5em,
stroke: 0.5pt,
inset: 0pt,
outset: 1pt,
move(
dx: 1pt - 1.5pt * (num.len() - 1),
dy: 0.1pt,
num,
),
),
)
[ ]
}
|
https://github.com/Edubmstr/typst_public | https://raw.githubusercontent.com/Edubmstr/typst_public/main/supercharged-dhbw1/acronyms.typ | typst | #let acronyms = (
API: "Application Programming Interface",
HTTP: "Hypertext Transfer Protocol",
REST: "Representational State Transfer",
) | |
https://github.com/AntonioSilva03/CurriculumVitae | https://raw.githubusercontent.com/AntonioSilva03/CurriculumVitae/main/Curriculum em Português/template/resume.typ | typst | #import "@preview/modern-cv:0.4.0": *
#show: resume.with(
author: (
firstname: "António",
lastname: "Silva",
email: "<EMAIL>",
phone: "(+351) 968780666",
github: "AntonioSilva03",
linkedin: "antónio-silva03",
address: "Braga, Braga",
positions: (
"Engenheiro Informático",
),... | |
https://github.com/qjcg/typstry | https://raw.githubusercontent.com/qjcg/typstry/main/templates/tutorial-report/main.typ | typst | MIT License | #set page(
paper: "us-letter",
margin: (x: 3.0cm, y: 1.5cm),
)
#set par(
justify: true,
leading: 0.52em,
)
#set text(font: "ETBembo", size: 30pt)
= Title Page
#set text(size: 12pt)
#pagebreak()
#set heading(numbering: "1.")
#outline()
#pagebreak()
= Introduction
In this report, we will e... |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/upsa-bo/estudio-de-factibilidad/template/capítulos/8.inversiones.typ | typst | MIT License | = Inversiones
== Inversiones Durante el Año 0
=== Activos Fijos
=== Activos Diferidos
=== Capital de Trabajo
=== Estructura de Inversiones
== Plan de Reinversiones
=== Activos Fijos
=== Capital de Trabajo |
https://github.com/bigskysoftware/hypermedia-systems-book | https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch04-extending-html-as-hypermedia.typ | typst | Other | #import "lib/definitions.typ": *
== Extending HTML As Hypermedia
In the previous chapter we introduced a simple Web 1.0-style hypermedia
application to manage contacts. Our application supported the normal CRUD
operations for contacts, as well as a simple mechanism for searching contacts.
Our application was built us... |
https://github.com/timon-schelling/uni-phi111-essay-2023-12-01 | https://raw.githubusercontent.com/timon-schelling/uni-phi111-essay-2023-12-01/main/src/main.typ | typst | #import "template/template.typ": *
#let bib-urls = {
sys.inputs.at("urls", default: none) != none
}
#let theme = {
sys.inputs.at("theme", default: none)
}
#set page(fill: rgb("1a1a1a")) if theme == "dark"
#set text(fill: rgb("c7c7c7")) if theme == "dark"
#show: project.with(
title: "Einführung in die Logik am... | |
https://github.com/aagumin/cv | https://raw.githubusercontent.com/aagumin/cv/typst/content/community.typ | typst | #import "@preview/grotesk-cv:0.1.2": *
#import "@preview/fontawesome:0.2.1": *
#let meta = toml("../info.toml")
#let language = meta.personal.language
== #fa-icon("users") #h(5pt) #if language == "en" [Community] else if language == "es" [Community]
#v(5pt)
#if language == "en" [
#reference-entry(
name: [<N... | |
https://github.com/adam-zhang-lcps/papers | https://raw.githubusercontent.com/adam-zhang-lcps/papers/main/calculus-q1-proofs.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "@preview/equate:0.2.1": equate
#set document(
title: [Quarter 1 Proofs],
author: "<NAME>",
date: datetime.today(),
)
#set page(
paper: "us-letter",
margin: 1in,
header: [
#grid(
columns: (1fr, 1fr),
align(left + top)[
#set block(spacing: 0.6em)
AET Multivariable Ca... |
https://github.com/EricWay1024/Homological-Algebra-Notes | https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/d-app.typ | typst | #import "../libs/template.typ": *
= Example: $R = ZZ$
// == $R = ZZ$
Let $A in Ab$. Recall that we have the following:
- $A$ is projective #iff $A$ is free;
- $A$ is injective #iff $A$ is divisible, #iff $A$ is a direct sum of copies of $QQ$ and $ZZ[1/p] over ZZ$, where each $p$ is prime;
- $A$ is flat #iff $A$ is... | |
https://github.com/SkytAsul/fletchart | https://raw.githubusercontent.com/SkytAsul/fletchart/main/README.md | markdown | # fletchart
`fletchart` (contraction of `fletcher` and `flowchart`) is a Typst package made to easily create flowcharts using the `fletcher` package.
## How to use
There are two ways of creating flowcharts with `fletchart`:
1. The "declarative" way, where you create every element and manually setup the links between t... | |
https://github.com/topdeoo/NENU-Thesis-Typst | https://raw.githubusercontent.com/topdeoo/NENU-Thesis-Typst/master/README.md | markdown | # NENU-Thesis-Typst-Template
东北师范大学毕业论文的 `Typst` 模板,可以在 [`template/thesis.typ`](./template/thesis.typ) 查看使用方法与生成的效果

> [!IMPORTANT]
>
> 此模板是民间模板,有不被学校认可的风险。
>
> 本模板虽已尽力尝试复原 LaTex 模板,但可能仍然存在诸多格式问题,详细请看[存在的问题](#存在的问题)
> [!NOTE]
>
> 我们在 `other` 文件夹中放了其他的模板,例如:
>
> 1. 实验报告模板
>
> 这些模板会使用... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-07.typ | typst | Other | // Error: 25-29 content does not contain field "page" and no default value was specified
#show heading: it => it.page
= Heading
|
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/code-inside-content.typ | typst | Apache License 2.0 | #[#{
let something = 0;
}\ ]
|
https://github.com/sofianedjerbi/Resume | https://raw.githubusercontent.com/sofianedjerbi/Resume/main/modules_fr/education.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Formation")
#cvEntry(
title: [Magistère en Mathematiques (Niveau Master)],
society: [Université Grenoble Alpes],
date: [2022 - 2023],
location: [Grenoble, France],
)
#cvEntry(
title: [Licence en Mathematiques (Niveau Bachelor)],
society: [... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/content_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test tables.
$ x := #table(columns: 2)[x][y]/mat(1, 2, 3)
= #table[A][B][C] $ |
https://github.com/hitszosa/universal-hit-thesis | https://raw.githubusercontent.com/hitszosa/universal-hit-thesis/main/harbin/bachelor/config/constants.typ | typst | MIT License | #let special-chapter-titles = (
摘要: text(spacing: 1em)[摘 要],
Abstract: "Abstract",
目录: text(spacing: 1em)[目 录],
结论: text(spacing: 1em)[结 论],
参考文献: "参考文献",
原创性声明: "原创性声明和使用权限",
致谢: text(spacing: 1em)[致 谢],
成果: "攻读学士学位期间取得创新性成果",
)
#let current-date = datetime.today() |
https://github.com/Chwiggy/thesis_bachelor | https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/preamble.typ | typst | #let bib_state = state("bib_state",
bibliography("bibliography.bib", style: "american-psychological-association", title: auto)) | |
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/rolo/src/attributes.typ | typst | MIT License | #let attributes(
corresponding: false,
equal-contributor: false,
deceased: false,
) = (
corresponding: corresponding,
equal-contributor: equal-contributor,
deceased: deceased,
) |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/while-02.typ | typst | Other | // Condition must be boolean.
// Error: 8-14 expected boolean, found content
#while [nope] [nope]
|
https://github.com/topdeoo/Course-Slides | https://raw.githubusercontent.com/topdeoo/Course-Slides/master/Courses/SOTA4CS/main.typ | typst | #import "../../theme/iTalk.typ": *
#show: nenu-theme.with(
short-title: "PyTorch",
short-date: "23-12-20",
short-author: "Virgil"
)
#title-slide(
title: "Make Your Python Faster & Efficient",
authors: (name: "Virgil", email: "<EMAIL>"),
logo: image("fig/nenu-logo-title.png", width: 30%),
institution: "... | |
https://github.com/8LWXpg/typst-treet | https://raw.githubusercontent.com/8LWXpg/typst-treet/master/test/demo.typ | typst | MIT License | #import "../lib.typ": *
= Tree List
== Default
#tree-list[
- 1
- 1.1
- 1.1.1
- 1.2
- 1.2.1
- 1.2.2
- 1.2.2.1
- 2
- 3
- 3.1
- 3.1.1
- 3.2
]
== Custom
#text(
red,
tree-list(
marker: text(blue)[├── ],
last-marker: text(aqua)[└── ],
indent: text(teal)... |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_785%20-%20Number%20Theory/Assignments/Assignment%203.typ | typst | #import "/Templates/generic.typ": latex, header
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#import "/Templates/assignment.typ": *
#show: doc => header(title: "Assignment 3", name: "<NAME>", doc)
#show: latex
#show: NumberingAfter
#show: thmrules
#let col(x, clr) = text(fill: clr)[$#x$]
#let ... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/call_info/user.typ | typst | Apache License 2.0 | #let f(x, y) = x + y
#(/* position after */ f(1, 1)) |
https://github.com/BeitianMa/typst-lecture-notes | https://raw.githubusercontent.com/BeitianMa/typst-lecture-notes/main/README.md | markdown | ## Typst Lecture Notes Template
This is a lecture notes template based on [Typst](https://github.com/typst/typst). This template is designed to help students organise their note-taking materials or allow teachers to create more polished handouts. Any advice would be very welcome!
You can take a quick look at the [rend... | |
https://github.com/alxsimon/quarto-pci | https://raw.githubusercontent.com/alxsimon/quarto-pci/main/_extensions/pci/typst-show.typ | typst | #import "@preview/superb-pci:0.1.0": *
#show: pci.with(
$if(title)$
title: [$title$],
$endif$
$if(by-author)$
authors: (
$for(by-author)$
(
name: "$it.name.literal$",
$if(it.orcid)$
orcid: "$it.orcid$",
$endif$
$if(it.affiliations)$
affiliations: [$for(it.affiliations)$$it.id$$sep$,$endfo... | |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap1/3_electric_circuits.typ | typst | Other | #import "../../core/core.typ"
=== Electric circuits
You might have been wondering how electrons can continuously flow in a uniform direction through wires without the benefit of these hypothetical electron Sources and Destinations. In order for the Source-and-Destination scheme to work, both would have to have an in... |
https://github.com/lyzynec/orr-go-brr | https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/main.typ | typst | #import "lib.typ": *
#show: project.with(
title: "ORR go BRR",
author: "lyzynec",
)
#week[#include "01/main.typ"]
#pagebreak()
#week[#include "02/main.typ"]
#pagebreak()
#week[#include "03/main.typ"]
#pagebreak()
#week[#include "04/main.typ"]
#pagebreak()
#week[#include "05/main.typ"]
#pagebreak()
#week[#include ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/escape-01.typ | typst | Other | // Unicode codepoint does not exist.
// Error: 1-11 invalid unicode codepoint: FFFFFF
\u{FFFFFF}
|
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/pt.typ | typst | MIT License | #import "@preview/polylux:0.3.1" as polylux: *
#import "@preview/codetastic:0.2.2": qrcode
#import "_imports.typ": *
#import "util/harbinger.typ": shadow-box
#let slide(
title: auto,
subtitle: none,
fill: none,
header: auto,
footer: auto,
section: none,
show-progress: auto,
align: top + left,
body,
... |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Reading/Reconstruction/NeRF.typ | typst | ---
order: 3
---
#import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "NeRF",
lang: "zh",
)
#let bo = $bold(o)$
#let bxi = $bold(xi)$
#let bnu = $bold(nu)$
#let bK = $bold(K)$
#let bI = $bold(I)$
#let bT = $bold(T)$
#let bP = $bold(P)$
#let batch_size = math.text("batch_size")
#let br =... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/sweet-graduate-resume/0.1.0/README.md | markdown | Apache License 2.0 | # Resume template
A basic resume template in typst.
To compile/watch, make sure you pass the argument `--font-path ./fonts/` to typst-cli.
If you use the helix editor, a configuration has been given in the repository.
This auto-compiles your document on saving and you can preview the results in real time
using a pdf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.