repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.3/src/layout.typ | typst | Apache License 2.0 | #import "utils.typ": *
#import "coords.typ": *
#import "shapes.typ"
/// Measure node labels with the style context and resolve node shapes.
///
/// Widths and heights that are `auto` are determined by measuring the size of
/// the node's label.
#let compute-node-sizes(nodes, styles) = nodes.map(node => {
// Width a... |
https://github.com/wj461/operating-system-personal | https://raw.githubusercontent.com/wj461/operating-system-personal/main/HW3/hw3.typ | typst | #import "@preview/timeliney:0.0.1"
#align(center, text(17pt)[
\u{1F995}*Operating-system homework\#3 * \u{1F996}
])
#(text(14pt)[
= Written exercises
])
= • Chap.7
- 7.8: The Linux kernel has a policy that a process cannot hold a spinlock while attempting to acquire a semaphore. Explain why this policy is in place... | |
https://github.com/brayevalerien/Learning-Typst | https://raw.githubusercontent.com/brayevalerien/Learning-Typst/main/tutorial/04_making_a_template/document.typ | typst | MIT License | #import "template.typ": template
#show: doc => template(
title: "Paper title",
authors: (
(
name: "<NAME>",
institute: "An Institute",
email: "<EMAIL>"
),
(
name: "<NAME>",
institute: "Another Institute",
email: "<EMAIL>"
)
),
abstract: lorem(80),
doc
)
= ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/gallery/test3.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.2.2": draw
#import "../src/lib.typ": circuit, element, util, wire
#set page(width: auto, height: auto, margin: .5cm)
#circuit({
element.block(
x: 0, y: 0, w: 2, h: 3, id: "block",
name: "Test",
ports: (
east: (
(id: "out0"),
(id: "out1"),
(id: "out2... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/space_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test that trailing space does not force a line break.
LLLLLLLLLLLLLLLLLL R _L_
|
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/parse-numbers/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": unit, metro-setup, num, qty
#set page(width: auto, height: auto, margin: 1cm)
$num(sqrt(2))$
$num(sqrt(2), e: sqrt(2), pw: sqrt(2), pm: sqrt(2))$
#num("1e n ^n")
$qty(sqrt(2), m)$
|
https://github.com/Caellian/UNIRI_voxels_doc | https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/content/raytrace.typ | typst | #import "../template.typ": formula
= Egzaktne metode prikaza
== Ray tracing
- Osnove kako svijetlost putuje, što vidimo
- Konstruktivne i destruktivne boje
- Što je sjaj (engl. _radiance_)
Svijetlost se može odbijati i ne završiti u kameri @Pharr2023-ex:
#formula(caption: "osvjetljenje")[
$
L_0(p, omega_0) =
unde... | |
https://github.com/mhspradlin/wilson-2024 | https://raw.githubusercontent.com/mhspradlin/wilson-2024/main/understanding-ai/unfinished-fable-of-the-sparrows.typ | typst | MIT License | #set par(justify: true)
#set text(size: 13pt)
#set page(footer: text(size: 10pt)[_<NAME>. In Superintelligence: Paths, Dangers, Strategies. Oxford: Oxford University Press, 2014_])
#align(center)[
= The Unfinished Fable of the Sparrows
]
#v(1em)
It was the nest-building season, but after days of long hard work, t... |
https://github.com/sysu/better-thesis | https://raw.githubusercontent.com/sysu/better-thesis/main/lib.typ | typst | MIT License | // 中山大学学位论文 Typst 模板 modern-sysu-thesis
// 基于 [南京大学学位论文模板](https://github.com/nju-lug/modern-nju-thesis) 重构中
// Repo: https://gitlab.com/sysu-gitlab/thesis-template/better-thesis
// https://typst.app/universe/package/modern-sysu-thesis
#import "/specifications/bachelor/lib.typ" as bachelor
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/attach-03.typ | typst | Other | // Test function call after subscript.
$pi_1(Y), a_f(x), a^zeta(x) \
a^subset.eq(x), a_(zeta(x)), pi_(1(Y))$
|
https://github.com/Personal-Data-Acquisition/PDA_paperwork | https://raw.githubusercontent.com/Personal-Data-Acquisition/PDA_paperwork/main/scope_and_vision/scope_and_vision.typ | typst | #set align(center)
#text(24pt, strong([Team 6 (Personal Data Aquisition]))
<NAME>
<NAME>
<NAME>
<NAME>
*Project Partner:* <NAME>
#set align(left)
#pagebreak()
#outline()
#pagebreak()
= Abstract
The aim of this senior capstone project is to design and implement a versatile
data logging system that integrates ... | |
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/chapters/foundation.typ | typst | #import "../custom.typ": *
#import "../sources/DionInterview.typ"
== Interview Process Overview
The process of gathering information began by contacting KMD to arrange interviews with relevant employees. We were granted access to four individuals across different departments. Before the interviews, our team conducted ... | |
https://github.com/HenkKalkwater/aoc-2023 | https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/aoc.typ | typst | #let year = 2023
#let stars = (body) => [
#set text(fill: rgb("#ffff66"))
#body
]
#let date-disp = (c) => datetime(year: year, month: 12, day: c).display("[weekday], [day padding:none] [month repr:long]")
#let appendix-numbering = (..args) => [Appendix #numbering("A:", ..args)]
#let appendix = (..args) => heading... | |
https://github.com/giZoes/justsit-thesis-typst-template | https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/hline.typ | typst | MIT License | // 一条水平横线
#let hline() = {
line(length: 100%)
} |
https://github.com/MatejKafka/ctu-thesis-typst | https://raw.githubusercontent.com/MatejKafka/ctu-thesis-typst/main/README.md | markdown | # ctu-thesis-typst
Typst template for an IT thesis at the Czech Technical University in Prague. Originally from FEE, might need some tweaking to meet the guidelines of other faculties.
To use the template, just clone the repository locally or upload it to a new project in the Typst web app, copy `example.typ`, adjust... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-FF00.typ | typst | Apache License 2.0 | #let data = (
(),
("FULLWIDTH EXCLAMATION MARK", "Po", 0),
("FULLWIDTH QUOTATION MARK", "Po", 0),
("FULLWIDTH NUMBER SIGN", "Po", 0),
("FULLWIDTH DOLLAR SIGN", "Sc", 0),
("FULLWIDTH PERCENT SIGN", "Po", 0),
("FULLWIDTH AMPERSAND", "Po", 0),
("FULLWIDTH APOSTROPHE", "Po", 0),
("FULLWIDTH LEFT PARENTHES... |
https://github.com/weeebdev/cv | https://raw.githubusercontent.com/weeebdev/cv/main/modules_ru/projects.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Проекты и ассоциации")
#cvEntry(
title: [Волонтер-переводчик],
society: [WikigapKazakhstan, Wikipedia],
date: [Мар 2021 - Апр 2021],
location: [Алматы, Казахстан],
description: list(
[Участвовал в проекте \#WikigapKazakhstan для устранения гендерного... |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/examples/convex-hull-attempt-3.typ | typst | #import "@local/typkit:0.1.0": *
#import "@preview/cetz:0.2.2"
#let graham_scan(points) = {
// Helper function to calculate cross product
let cross_product(o, a, b) = {
return (a.at(0) - o.at(0)) * (b.at(1) - o.at(1)) - (a.at(1) - o.at(1)) * (b.at(0) - o.at(0))
}
// Sort points lexicographically
let sort... | |
https://github.com/fufexan/cv | https://raw.githubusercontent.com/fufexan/cv/typst/modules/experience.typ | typst | #import "../src/template.typ": *
#show link: underline
#cvSection("Experience")
#cvEntry(
title: [Contracting],
society: [NixOS Foundation],
logo: "../src/logos/nixos.svg",
date: [2021, 2022],
location: [Remote],
description: list(
[Took part in a team of participants to package NGI (Next Generation I... | |
https://github.com/galaxia4Eva/galaxia4Eva | https://raw.githubusercontent.com/galaxia4Eva/galaxia4Eva/main/typst/Buddhanov smiles — Akiyar is calling/album_cover.typ | typst | #set text(fill:white, size:96pt)
#set image(width:941pt, height:1255pt)
#set page(width:941pt, height:941pt, margin: 0pt, background: image("media/album_cover.jpeg"))
#stack(dir:ttb)[
#v(42pt)
#align(center)[ #text(font:"Samarkan", fill:rgb(255, 215, 0))[Buddha'nov smiles] ]
#v(42pt)
#v(42pt)
#v(42pt)
#v(42pt)
#v(42pt)... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/document-05.typ | typst | Other | #box[
// Error: 4-32 document set rules are not allowed inside of containers
#set document(title: "Hello")
]
|
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2019/MS-04.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], [3647],
[2], [<NAME>], [CHN], [3500],
[3], [<NAME>], [CHN], [3301],
[4], [<NAME>], [CHN], [3293],
... | |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/typst-opts.md | markdown | MIT License | <!-- markdownlint-disable-file first-line-h1 -->
<!-- ANCHOR: head -->
Attrset specifying command-line options to pass to the `typst` command.
<!-- ANCHOR_END: head -->
<!-- ANCHOR: tail -->
Default:
```nix
{
format = "pdf";
}
```
<!-- ANCHOR_END: tail -->
|
https://github.com/505000677/2024SpringNote | https://raw.githubusercontent.com/505000677/2024SpringNote/main/2637/note-1.typ | typst | #import "../tizart.typ": *
#show: project.with(
title: "Foundations of Human Computer Interaction笔记",
authors: (yuanxiang,),
date: datetime.today()
)
#show link: underline
#outline()
#set heading(numbering: "1.1.")
= Day1
= Day2
#definition(name:"On Design")[
- Design is an iterative process:
- To synthe... | |
https://github.com/francescobortuzzo/Legionella | https://raw.githubusercontent.com/francescobortuzzo/Legionella/main/template.typ | typst |
// FIXME: workaround for the lack of `std` scope
#let std-bibliography = bibliography
#let template(
// Your thesis title
title: [Modellazione e realizzazione di una base di dati per il monitoraggio del batterio legionella ],
// The academic year you're graduating in
academic-year: [2023/2024],
// Your th... | |
https://github.com/seapat/markup-resume | https://raw.githubusercontent.com/seapat/markup-resume/main/example.typ | typst | Apache License 2.0 | #import "markup-resume-lib/cv_core.typ" as core
#import "markup-resume-lib/cv_head.typ": make_head
#import "markup-resume-lib/cover_letter.typ": make_letter
#import "markup-resume-lib/style.typ": init
#let render_settings = (
font_body: "Linux Libertine", // Set font for body
font_size: 11pt, // 10pt, 11pt, ... |
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/vita/src/socials.typ | typst | MIT License | #let socialslist = state("socialslist", ())
#let social(
name, icon: none,
) = {
let social = if icon == none {
name
} else {
box(icon, baseline: 20%)
h(1em)
name
}
socialslist.update(current => current + (social,))
}
#let socials(header: "Social Media") = {
locate(
loc => {
let... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/github-pages/README.md | markdown | Apache License 2.0 | ## Online resources
This directory contains files used to make online resources available for typst.ts.
|
https://github.com/touying-typ/touying | https://raw.githubusercontent.com/touying-typ/touying/main/README.md | markdown | MIT License | # 
[Touying](https://github.com/touying-typ/touying) (投影 in chinese, /tóuyǐng/, meaning projection) is a user-friendly, powerful and efficient package for creating presentation slides in Typst. Partial code is inherited from [Polyl... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/chordx/0.1.0/chordx.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.0.1"
#let new-graph-chords(strings: 6, font: "Linux Libertine") = {
return (
frets: 5,
fret-number: none,
capos: (),
fingers: (),
notes,
chord-name
) => {
box(
cetz.canvas({
import cetz.draw: circle, content, line, rect, stroke
let step = ... |
https://github.com/ns-shop/ns-shop-typst | https://raw.githubusercontent.com/ns-shop/ns-shop-typst/main/chapter2.typ | typst | #import "template.typ": *
#h1("Phân tích và thiết kế mô hình website TMĐT")
#h2("Phân tích các yêu cầu nghiệp vụ và chức năng")
Các tác nhân trong website:
- Khách hàng.
- Quản trị viên.
// @startuml
// left to right direction
// actor "Khách hàng" as C
// actor "Quản trị viên" as A
// rectangle "Website TMĐT" {
/... | |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Metodi_appunti.typ | typst | Creative Commons Zero v1.0 Universal | #set text(
font: "Gentium Plus",
size: 10pt,
lang: "it"
)
#set page(
paper: "a4",
header: align(right)[_Metodi Algebrici per l'Informatica_],
numbering: "1"
)
#set par(
justify: true
)
#set heading(
numbering: "1."
)
#import "Metodi_defs.typ": *
#show: thmrules.with(qed-symbol: $square$)
#show par: set block(... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/latedef/0.1.0/README.md | markdown | Apache License 2.0 | # `latedef`
*Use now, define later!*
## Basic usage
This package exposes a single function, `latedef-setup`.
```typst
#let (undef, def) = latedef-setup(simple: true)
My #undef is #undef.
#def("dog")
#def("cool")
```

Note that the definition doesn't actually have to come _after_ the usage,
... |
https://github.com/pabsantos/anpet-typst | https://raw.githubusercontent.com/pabsantos/anpet-typst/main/main.typ | typst | #import "anpet-typst.typ": anpet-typst
#show: anpet-typst.with(
authors: (
(
name: "<NAME>",
department: "Pesquisa, Desenvolvimento & Inovação",
affiliation: "Observatório Nacional de Segurança Viária",
email: "<EMAIL>",
address: "Rua, 123, Centro, Curitiba, PR, Brasil"
),
(... | |
https://github.com/Ourouk/IOT_Bicycle_fleet | https://raw.githubusercontent.com/Ourouk/IOT_Bicycle_fleet/main/rapport/main.typ | typst | #import "template.typ": *
#show: project.with(
course-title: "IOT",
title: "Vélos connectés",
authors: (
(
first-name: "Andrea",
last-name: "Spelgatti",
cursus: "M. Ing. Ind. - Informatique",
),
(
first-name: "\nMartin",
last-name: "<NAME>",
cursus: "M. Ing. Ind. -... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.8.0/lib/predefined.typ | typst | Apache License 2.0 | #import "clues.typ": clue, get-title-for, if-auto-then, increment_task_counter, get_task_number
#import quote as typst_quote // needed for quote
// Predefined gentle clues
/* info */
#let info(title: auto, icon: "assets/info.svg", ..args) = clue(
accent-color: rgb(29, 144, 208), // blue
title: if-auto-then(title,... |
https://github.com/Sepax/Typst | https://raw.githubusercontent.com/Sepax/Typst/main/DIT323/Assignments/A1/main.typ | typst |
#import "template.typ": *
#show: template.with(
title: [Finite automata and formal languages #linebreak() Assignment 1],
short_title: "DIT084",
description: [
DIT323 (Finite automata and formal languages)\ at Gothenburg University, Spring
2024
],
authors: ((name: "<NAME>"),),
lof: false,
lot: fal... | |
https://github.com/bchaber/typst-template | https://raw.githubusercontent.com/bchaber/typst-template/main/slides/slides.typ | typst | #import "@preview/polylux:0.3.1": *
#import themes.simple: *
#set text(font: "Inria Sans")
#show: simple-theme.with(
footer: [Warsaw University of Technology],
)
#title-slide[
= Keep it simple!
#v(2em)
<NAME> #footnote[Warsaw University of Technology] #h(1em)
Jan 2024
]
#slide[
= Introduction
#side-... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/003%20-%20Gatecrash/009_Fblthp.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Fblthp",
set_name: "Gatecrash",
story_date: datetime(day: 25, month: 12, year: 2013),
author: "<NAME>",
doc
)
The noise that escaped Fblthp's lips could best be described as a whimper. He didn't speak any language the citizens of Ravnica we... | |
https://github.com/Chwiggy/thesis_bachelor | https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/chapters/04_access.typ | typst | #import "../preamble.typ": *
#set math.equation(numbering: "(1)")
= Transit Access
As seen in @related, there are plenty of ways to operationalise transit accessibility, as a local measure.
For this thesis, I focused on local connectivity without a large focus on specific itinerary scenarios. As detailed in @data, ... | |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/布局/盒子/盒子.typ | typst | = box
调整内容大小的内联级容器。
除内联数学、文本和框之外的所有元素都是块级的,不能出现在段落内部。框功能可用于将此类元素集成到段落中。默认情况下,框采用其内容的大小,但也可以明确调整大小。
== 例子
#image("屏幕截图 2024-04-14 165213.png")
width
盒子的宽度。
框可以具有分数宽度,如下面的示例所示。
注意:目前,只有框及其宽度可以在段落内以小数形式调整大小。将来可能会添加对小尺寸图像、形状等的支持。
默认:auto
#image("屏幕截图 2024-04-14 165333.png")
#image("屏幕截图 2024-04-14 165400.png")
#... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/multiline-07.typ | typst | Other | // Test single trailing line break.
$
"abc" &= c \
$
One trailing line break.
|
https://github.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper | https://raw.githubusercontent.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper/main/nju-thesis/template.typ | typst | MIT License | // 南京大学学位论文模板 nju-thesis-typst
// Author: https://github.com/OrangeX4
// Repo: https://github.com/nju-lug/nju-thesis-typst
// 在线模板可能不会更新得很及时,如果需要最新版本,请关注 Repo
#import "@preview/anti-matter:0.0.2": anti-inner-end as mainmatter-end
#import "layouts/doc.typ": doc
#import "layouts/preface.typ": preface
#import "layouts/ma... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/video_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/xhtml/lib.typ": xhtml
#set page(height: auto, width: auto)
= Multi-media in Typst
This is a embed video.
#xhtml(outer-width: 640pt, outer-height: 360pt, ```html
<iframe
src="https://player.bilibili.com/player.html?aid=80433022&bvid=BV1GJ411x7h7&cid=137649199&page=1&dan... |
https://github.com/Zeng-WCh/SYSU-Typst-Internship-report-template | https://raw.githubusercontent.com/Zeng-WCh/SYSU-Typst-Internship-report-template/main/README.md | markdown | MIT License | # SYSU-Typst-Internship-report-template
A Typst template for SYSU internship report for personal usage, not official one, use it at your own risk.
实习报告 Typst 模板,非官方模板,使用风险自负
# Usage
1. Install Typst
2. Install Fonts, please check the `template.typ` for details
3. Compile with `typst compile usage.typ`
A example ... |
https://github.com/akrantz01/resume | https://raw.githubusercontent.com/akrantz01/resume/main/template/experience.typ | typst | MIT License | #import "common.typ": date-range, icon, section
#let entry(
company,
title,
date,
location: none,
url: none,
highlights: (),
settings: (:),
) = {
let link = if url != none {
let text = if settings.full-links {
url
} else {
url.trim("https://", at: start)
}
box(
move(d... |
https://github.com/devraza/warehouse | https://raw.githubusercontent.com/devraza/warehouse/main/README.md | markdown | MIT License | # Warehouse
This is, as the repository's name suggests, a warehouse for all of my public documents. They're all written with Typst, and some of them might be found elsewhere, like [my blog](https://devraza.github.io).
Here's an image of how these documents look after being compiled with `typst`:

)
#set text(
size: 25pt,
font: "Pretendard",
)
#set list(spacing: 2em, tight: true)
#show... | |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/4-concept/userflow.typ | typst | Das Hauptmerkmal der Anwendung liegt in der erweiterten Interaktion mit dem Möbelsystem. Aus der Anforderungsanalyse ergeben sich klare Funktionen und Interaktionen, welche von der Anwendung umgesetzt werden müssen. Um die Interaktion und Entwicklung der Anwendung zu unterstützen, wird ein User Flow erstellt. Der User ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/044%20-%20Innistrad%3A%20Crimson%20Vow/002_The%20Edge%20of%20the%20World.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Edge of the World",
set_name: "Innistrad: Crimson Vow",
story_date: datetime(day: 29, month: 10, year: 2021),
author: "<NAME>",
doc
)
Lord Nellick's receiving room is cold.
The parlor fire has been burning for hours, but Jacob's knuckl... | |
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/utility/arguments.typ | typst | The Unlicense | #let map(args, fn) = arguments(
..for (key, value) in args.named() {
(: (key): fn(value))
},
..args.pos().map(fn),
) |
https://github.com/mitsuyukiLab/grad_thesis_typst | https://raw.githubusercontent.com/mitsuyukiLab/grad_thesis_typst/main/contents/acknowledgement.typ | typst | #heading(numbering: none)[謝辞] <acknowledgement>
神に感謝。世界に感謝。人生に感謝。
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/superb-pci/0.1.0/lib.typ | typst | Apache License 2.0 | #import "formatters.typ": *
// Workaround for the lack of a `std` scope.
#let std-bibliography = bibliography
#let pci(
title: [Paper Title],
authors: (),
affiliations: (),
abstract: none,
doi: none,
keywords: (),
correspondence: none,
numbered_sections: false,
bibliography: none,
pcj: false, // r... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/viewers/preview-incr_01.typ | typst | Apache License 2.0 | #let text_base_size=10pt
#let text_h1_size=20pt
#let header_size_increment=3pt
#set page(
paper: "a4",
header: align(right)[
Multi-purpose Combat Chassis
],
numbering: "1",
margin: (x:20mm, y:12.7mm)
)
#set par(justify: true)
#set text(
font: "LXGW WenKai",
size: text_base_size,
lang: "zh",
)
#let ... |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/ordered_list/ordered_list_updated.typ | typst | + The CLIMATE
- Precipitation2
- Temperature
+ degree
- cold
- really hot
- warm
+ rain
+ The GEOLOGY | |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/src/g-solution.typ | typst | MIT License | #import"./global.typ": *
/// Show solution of question.
///
/// *Example:*
/// ``` #g-solution(
/// alternative-content: v(1fr)
/// )[
/// I know the demostration, but there's no room on the margin. For any clarification ask <NAME>.
/// ]```
///
///
/// - alternative-content (string, content): Alternate content ... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-09.typ | typst | Other | // Error: 26-28 stylistic set must be between 1 and 20
#set text(stylistic-set: 25)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.1/gallery/3d-chart.typ | typst | Apache License 2.0 | #import "@local/cetz:0.0.1": canvas, draw
#set page(width: auto, height: auto)
#canvas(length: 1cm, {
import draw: *
// Draw grid
stroke((paint: black, dash: "dashed", thickness: .5pt)) // not on release yet
for i in range(0, 6) {
line((0, i, 0), (0, i, 1), (7, i, 1))
content((-.1, i, 0), [$#{i*20}$... |
https://github.com/NOOBDY/formal-language | https://raw.githubusercontent.com/NOOBDY/formal-language/main/main.typ | typst | The Unlicense | #import "template.typ": *
#import "q1.typ": q1
#import "q2.typ": q2
#import "q3.typ": q3
#import "q4.typ": q4
#import "q5.typ": q5
#import "q6.typ": q6
#import "q7.typ": q7
#import "q8.typ": q8
#import "q9.typ": q9
#import "q10.typ": q10
#import "q11.typ": q11
#show: project.with(
title: "Formal Language HW1",
au... |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/c.typ | typst | #import "../cfg.typ": *
#show: cfg
$ "Prove that" all(a in (0, 1)): lim_(x -> +oo) (log_a x)/x = 0 $
$(log_a x)/x = -(-log_a x)/a^(-(-log_a x))$
$lim_(x -> +oo) -x/a^(-x) = -lim_(x -> oo) x/a^(-x) = 0$
$all(x in (a^(-r), +oo)): -log_a x in (r, +oo)$
// $all(x\, y): x < y -> -log_a x < - log_a y$
// $all(c) ex(x') ... | |
https://github.com/darkMatter781x/OverUnderNotebook | https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/structure/structure.typ | typst | #import "/packages.typ": notebookinator, gentle-clues, codly
#import notebookinator: *
#import themes.radial.components: *
#import gentle-clues: *
#import codly: *
#import "/util.typ": qrlink
#show: create-body-entry.with(
title: "Decide: Structure",
type: "decide",
date: datetime(year: 2024, month: 1, day: 6),... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/edu/homeworks/book_review/main.typ | typst | #set text(lang: "ru", size: 12pt)
#set par(justify: true, leading: 1em, first-line-indent: 1cm)
#align(center)[
#text(size: 20pt, weight: "bold")[Рефлексивное эссе\ по книге "<NAME>"\ Кендзиро Хайтани]
#text(size: 18pt)[<NAME>\ БПИ233]
]
#text(weight: "bold", size: 14pt)[
Какие подходы Котани применимы в... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/break-continue-02.typ | typst | Other | // Test continue.
#let i = 0
#let x = 0
#while x < 8 {
i += 1
if calc.rem(i, 3) == 0 {
continue
}
x += i
}
// If continue did not work, this would equal 10.
#test(x, 12)
|
https://github.com/elteammate/typst-compiler | https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/ir-gen.typ | typst | #import "reflection-ast.typ": *
#import "reflection.typ": *
#import "pprint.typ": *
#import "typesystem.typ": *
#import "ir-def.typ": *
#let ir_from_ast_(context) = {
if context.errors.len() > 0 { return context }
if context.ast.type == ast_node_type.content {
let entry_point = context.counter ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/004_Episode%204%3A%20Beneath%20Eyes%20Unblinking.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 4: Beneath Eyes Unblinking",
set_name: "March of the Machine",
story_date: datetime(day: 17, month: 04, year: 2023),
author: "<NAME>",
doc
)
To battle and bravery born, to battle and bravery Tyvar Kell returns—with boasts upon his l... | |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/tests/alternatives.typ | typst | #import "../polylux.typ": *
#set page(paper: "presentation-16-9")
#polylux-slide[
== Test that `repeat-last` works
#alternatives[abc ][def ][ghi ]
#alternatives(repeat-last: true)[jkl ][mno ][this stays ]
#uncover(5)[You can go now.]
]
#polylux-slide[
== Test that `alternatives-match` works
#alternat... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/044.%20hiring.html.typ | typst | hiring.html
Hiring is Obsolete
Want to start a startup? Get funded by
Y Combinator.
May 2005(This essay is derived from a talk at the Berkeley CSUA.)The three big powers on the Internet now are Yahoo, Google, and
Microsoft. Average age of their founders: 24. So it is pretty
well established now that grad stud... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-13.typ | typst | Other | // Test the `match` method.
#test("Is there a".match("for this?"), none)
#test(
"The time of my life.".match(regex("[mit]+e")),
(start: 4, end: 8, text: "time", captures: ()),
)
// Test the `matches` method.
#test("Hello there".matches("\d"), ())
#test("Day by Day.".matches("Day"), (
(start: 0, end: 3, text: "Da... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week2.typ | typst | #import "../../utils.typ": *
#section("Ethereum")
- Generalized Blokchain
- turing complete programming language for smart contracts etc.
- proof of work previously, soon proof of stake
- block creation time 14-15s
- during forks -> (updates) chain will be made read-only
- read-only via making new blocks *extremel... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/emphasis_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Ends at paragraph break.
// // Error: 1-2 unclosed delimiter
// _Hello
//
// World |
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/xrcomputerbook/chapether.typ | typst | #import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx
= Ethernet Controller
== Introduction
To Be Designed: A simple Ethernet controller | |
https://github.com/AHaliq/CategoryTheoryReport | https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter3/notes.typ | typst | #import "../../preamble/lemmas.typ": *
#import "../../preamble/catt.typ": *
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#definition(name: "Duality")[@sa[Proposition 3.1, 3.2]
/ Formal Duality: if $Sigma$ follows from the axioms of categories, then so does its dual $Sigma^*$
$
("CT" => S... | |
https://github.com/UntimelyCreation/typst-neat-cv | https://raw.githubusercontent.com/UntimelyCreation/typst-neat-cv/main/README.md | markdown | MIT License | # Neat CV
**Neat CV** is a set of templates to produce modern, minimal and elegant CVs and cover letters using [Typst](https://github.com/typst/).
This project is an adaptation of the very nice [Brilliant CV](https://github.com/mintyfrankie/brilliant-CV) project, with inspiration from the LaTeX template [Alta CV](htt... |
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap6/4_kirchoffs_current_law.typ | typst | Other | #import "../../core/core.typ"
=== Kirchhoff\'s Current Law (KCL)
Let\'s take a closer look at that last parallel example circuit:
#image("static/00120.png")
Solving for all values of voltage and current in this circuit:
#image("static/10116.png")
At this point, we know the value of each branch current and of the ... |
https://github.com/MaxAtoms/T-705-ASDS | https://raw.githubusercontent.com/MaxAtoms/T-705-ASDS/main/content/week8.typ | typst | #import "../template.typ": example, exercise
#import "../boxes.typ": definition
#import "../tags.typ": week, barron
= Statistics
== Inferences about variances
#week("8") #barron("9.5")
Confidence Intervals & Hypothesis Tests for
- population variance: $sigma^2=text("Var")(X)$
- comparison of two variances $sigma_X^... | |
https://github.com/fenjalien/mdbook-typst-doc | https://raw.githubusercontent.com/fenjalien/mdbook-typst-doc/main/example/src/f/a.md | markdown | Apache License 2.0 | # next
```typ,example
This is a nested example
```
 |
https://github.com/mrknorman/evolving_attention_thesis | https://raw.githubusercontent.com/mrknorman/evolving_attention_thesis/main/main.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: "Evolving Attention",
subtitle: "Exploring the Use of Genetic Algorithms and Attention for Gravitational Wave Data Science",
authors: (
"<... | |
https://github.com/Seasawher/typst-cv-template | https://raw.githubusercontent.com/Seasawher/typst-cv-template/main/README.md | markdown | # README
これは,[Typst](https://github.com/typst/typst) による履歴書・職務経歴書のテンプレートです.
プレヴューを確認するには,[resume.pdf](./resume.pdf) をご覧ください.
| |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-06.typ | typst | Other | // This doesn't work because of mixed tabs and spaces.
- A with 2 spaces
- B with 2 tabs
|
https://github.com/altaris/typst-symbols-a4 | https://raw.githubusercontent.com/altaris/typst-symbols-a4/master/README.md | markdown | MIT License | # typst-symbols-a4
[](https://typst.app/docs/)
[](https://choosealicense.com/licenses/mit/)
This repository contains a table [typst
symbols](https://typst.app/docs/reference/symbols/sym/) (mostly mathematical)
a... |
https://github.com/AliothCancer/AppuntiUniversity | https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/capitoli_fisica/esercizi/esercitazione4.typ | typst | #import "../../custom_functions.typ": c
// diminutivo di energy mass
#let em() = $"kJ"/"kg"$
#set math.equation(numbering: "1.1")
= Esercitazione 4: Miscele bifasiche
== Problema n.4
#image("immagini/E4P4_obscured.png", width: 115%)
=== D01) Potenza meccanica prima trasf.
Formula:
$
w_t = integral_(p_1)^(p_2) v spa... | |
https://github.com/Wh4rp/Presentacion-Typst | https://raw.githubusercontent.com/Wh4rp/Presentacion-Typst/master/ejemplos/3_text.typ | typst | #text(blue)[Typst] es un lenguaje de #text(style:"italic")[tipografía] de código abierto para escribir documentos de #text(font:"Ubuntu Mono")[alta calidad tipográfica]. | |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/CLD/docs/TE/TE2.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Résumé CLD - TE2
],
lesson: "CLD",
chapter: "PaaS, Storage as a Service, NoSQL, Container cluster management, IaaS and labs",
definition: "",
col: 1,
doc,
)
= PaaS
Platform-as-a-Service (PaaS) permet aux développeurs de d... | |
https://github.com/HKFoggyU/hkust-thesis-typst | https://raw.githubusercontent.com/HKFoggyU/hkust-thesis-typst/main/hkust-thesis/layouts/doc.typ | typst | LaTeX Project Public License v1.3c | #import "../imports.typ": *
// 文稿设置,可以进行一些像页面边距这类的全局设置
#let doc(
// documentclass 传入参数
config: (:),
info: (:),
// 其他参数
it,
) = {
// 1. 默认参数
config = (
twoside: true,
) + config
info = (
title: ("基于 Typst 的", "香港科技大学学位论文"),
author: "张三",
) + info
// 2. 对参数进行处理
... |
https://github.com/SillyFreak/typst-packages-old | https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/tidy-types/docs/manual.typ | typst | MIT License | #import "@preview/tidy:0.2.0"
#import "template.typ": *
#import "../src/lib.typ" as tt
#let package-meta = toml("../typst.toml").package
#let date = none
// #let date = datetime(year: ..., month: ..., day: ...)
#show: project.with(
title: "Tidy Types",
// subtitle: "...",
authors: package-meta.authors.map(a =... |
https://github.com/cu1ch3n/karenda | https://raw.githubusercontent.com/cu1ch3n/karenda/main/date.typ | typst | #import "nord.typ": *
#let weekday-names = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
#let month-first-days = range(1, 13).map(month => datetime(year: 2024, month: month, day: 1))
#let month-short-text = month-first-days.map(date => date.display("[month repr:short]"))
#let month-long-text = month-first-days.map... | |
https://github.com/mumblingdrunkard/mscs-thesis | https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/discussion/index.typ | typst | #import "../utils/utils.typ": *
= Discussion <ch:discussion>
In this chapter, we discuss the results and try to reason about them.
== Interpreting Results
Similar to the results in @bib:doppelganger, the benefits are quite small.
At best, we would hope for the doppelganger loads to increase performance as much as s... | |
https://github.com/csimide/cuti | https://raw.githubusercontent.com/csimide/cuti/master/demo-and-doc/otr/utils.typ | typst | MIT License | #import "@preview/sourcerer:0.2.1": code
#let example(source, sd: true) = {
block(
//breakable: false,
{
{
code(
radius: 0pt,
inset: 10pt,
line-offset: 10pt,
text-style: (font: ("Fira Code", "Source Han Sans SC")),
stroke: 0.5pt+luma(180),
... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/016%20-%20Fate%20Reforged/006_No%20End%20and%20No%20Beginning.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"No End and No Beginning",
set_name: "Fate Reforged",
story_date: datetime(day: 11, month: 02, year: 2015),
author: "<NAME>",
doc
)
#emph[Several years have passed since Sarkhan Vol ] altered the fate of Tarkir #emph[by saving Ugin from the ... | |
https://github.com/christopherkenny/ctk-article | https://raw.githubusercontent.com/christopherkenny/ctk-article/main/README.md | markdown | # ctk-article Format
The `ctk-article` Quarto template is a general purpose article template, designed for academic papers and preprints.
<!-- pdftools::pdf_convert('template.pdf', pages = 1) -->
](template_1.png)
## Installing
```bash
quarto use template christopherkenny/ctk-article
`... | |
https://github.com/maxi0604/typst-builder | https://raw.githubusercontent.com/maxi0604/typst-builder/main/directory/two_deep/deeper.typ | typst | MIT License | And even if they are in nested directories.
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.0.1/draw.typ | typst | Apache License 2.0 | #import "vector.typ"
#import "matrix.typ"
#import "cmd.typ"
#import "util.typ"
#import "path-util.typ"
#import "coordinate.typ"
// #import "collisions.typ"
#import "styles.typ"
#let typst-rotate = rotate
#let set-style(..style) = {
assert.eq(style.pos().len(), 0, message: "set-style takes no positional arguments" )... |
https://github.com/SwampertX/cv | https://raw.githubusercontent.com/SwampertX/cv/main/pnc2024/letter.typ | typst | #set text(size: 13pt)
#set par(first-line-indent: 1em, justify: true)
#show link : body => text(blue, body)
Dear Dr. <NAME>,
I am <NAME>, an incoming second-year Master's student at
#link("https://wikimpri.dptinfo.ens-cachan.fr/doku.php")[MPRI] (Parisian Masters
of Research in Computer Science), in France. I am writi... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-15.typ | typst | Other | // Error: 14-15 duplicate parameter: a
// Error: 23-24 duplicate parameter: b
// Error: 35-36 duplicate parameter: b
#let f(a, b, a: none, b: none, c, b) = none
|
https://github.com/VoigtSebastian/typst-CV | https://raw.githubusercontent.com/VoigtSebastian/typst-CV/main/README.md | markdown | MIT License | # CV
I tried to recreate my CV in typst and it was surprisingly easy.
Change it, use it, do whatever you want with it.
|
https://github.com/ntjess/typst-tada | https://raw.githubusercontent.com/ntjess/typst-tada/main/docs/_doc-style.typ | typst | The Unlicense | #import "@preview/tidy:0.1.0"
#import tidy.styles.default: *
#let show-parameter-block(
name, types, content, style-args,
show-default: false,
default: none,
) = block(
inset: 10pt, fill: rgb("ddd3"), width: 100%,
breakable: style-args.break-param-descriptions,
[
#text(weight: "bold", size: 1.1em, name... |
https://github.com/EpicEricEE/typst-quick-maths | https://raw.githubusercontent.com/EpicEricEE/typst-quick-maths/master/tests/shorthands/test.typ | typst | MIT License | #import "/src/lib.typ": shorthands
#set page(width: 4cm, height: auto, margin: 1em)
#show: shorthands.with(
($|<-$, $arrow.l.stop$),
($!<-$, $arrow.l.not$),
($<-|$, $arrow.l.bar$),
($<=|$, $arrow.l.double.bar$),
($!->$, $arrow.not$),
($!=>$, $arrow.double.not$),
($!<=>$, $arrow.double.l.r.no... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/036.%20hs.html.typ | typst | hs.html
What You'll Wish You'd Known
January 2005(I wrote this talk for a
high school. I never actually
gave it, because the school authorities vetoed the plan to invite me.)When I said I was speaking at a high school, my friends were curious.
What will you say to high school students? So I asked them, what
do you ... | |
https://github.com/jamesrswift/springer-spaniel | https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/models/asterism.typ | typst | The Unlicense | #let make(symbol) = block({h(1fr);symbol;h(1fr)})
#let paragraph = make(sym.ast.triple) |
https://github.com/EGmux/TheoryOfComputation | https://raw.githubusercontent.com/EGmux/TheoryOfComputation/master/unit3/complexity.typ | typst | #set heading(numbering: "1.")
=== 7.1 Answer each part TRUE or FALSE
==== a. $2n = O(n)$
by the definition of $O(n)$ we have
*$L in O(n) <=> c L lt.eq n $*
set c to 2 , then we have *$2n$*, so it must be the case that $2n in O(n)$
==== b. $n^2 = O(n)$
by the definition, again
$L in O(n) <=> c L lt.eq n$
but no... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.