repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/ohmycloud/computer-science-notes | https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/iec104-DLT634.5101.typ | typst | #import "@preview/tablex:0.0.7": tablex, cellx, rowspanx, colspanx
== 7.3.1 在监视方向过程信息的应用服务数据单元
== 7.3.1.1 类型标识 1 : M_SP_NA_1
不带时标的单点信息
信息对象序列(SQ = 0)
#tablex(
columns: 10,
align: center + horizon,
stroke: (thickness: 0.3pt, paint: black),
[0], [0], [0], [0], [0], [0], [0], [1], [类型标识 (TYP)], rowspanx(4)[数据... | |
https://github.com/JakMobius/courses | https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem07/main.typ | typst |
#import "@preview/polylux:0.3.1": *
#import "@preview/cetz:0.2.2"
#import "../theme/theme.typ": *
#import "../theme/asm.typ": *
#import "./utils.typ": *
#import "./bubbles.typ": *
#show: theme
#title-slide[
#align(horizon + center)[
= Процессы и потоки
АКОС, МФТИ
24 октября, 2024
]
]
#show: enable... | |
https://github.com/thanhdxuan/dacn-report | https://raw.githubusercontent.com/thanhdxuan/dacn-report/master/report-week-5/contents/03-datacollection.typ | typst | = Tìm kiếm & Thu thập dữ liệu (Data collection)
== Tập dữ liệu 1 @H_2022
*Mô tả:* Tập dữ liệu được thu thập được các ngân hàng thu thập từ các khoản vay trước đây, nhằm mục đích xây dựng các mô hình dự đoán dựa trên các kỹ thuật khai phá dữ liệu, học máy. Để từ đó, phân loại các người đi vay xem họ có khả năng vỡ nợ ha... | |
https://github.com/linxuanm/math-notes | https://raw.githubusercontent.com/linxuanm/math-notes/master/topology/1-topology.typ | typst | #import "../setup.typ": *
#show: lecenv
#show: thmrules
= Basic Definitions
#definition[
A #bold[topology] $tau$ on a set $X$ is a set satisfying the following axioms:
+ $nothing in tau$ and $X in tau$.
+ $tau$ is closed under finite intersections.
+ $tau$ is closed under arbitrary unions.
]
Members of $tau... | |
https://github.com/augustebaum/epfl-thesis-typst | https://raw.githubusercontent.com/augustebaum/epfl-thesis-typst/main/example/head/cover-page.typ | typst | MIT License | #page(
numbering: none, margin: (y: 6cm), {
set text(font: "Latin Modern Sans")
align(
center, [
#let v-skip = v(1em, weak: true)
#let v-space = v(2em, weak: true)
#text(size: 18pt)[
FIRST LINE OF TITLE\
SECOND LINE OF TITLE
]
#v-space
... |
https://github.com/longlin10086/HITSZ-PhTyp | https://raw.githubusercontent.com/longlin10086/HITSZ-PhTyp/main/utils/head_element.typ | typst | #import "../themes/theme.typ" : *
#import "image.typ" : teacher_signature
#let underline_element(
name,
body,
size
) = {
set text(font: 字体.黑体, size: 字号.五号,lang: "zh", region: "cn")
strong(name)
h(size)
underline(offset: 2pt, extent: size, evade: false, body)
}
#let head_elements_line(
class,
id,
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cineca/0.1.0/README.md | markdown | Apache License 2.0 | # CINECA: A Typst Package to Create Calendars
CINECA Is Not an Electric Calendar App, but a Typst package to create calendars with events.
Example:

## Usage
`calendar(events, hour-range, minute-height, template, stroke)`
Parameters:
- `events`: An array of events. Each item is a 4-element arra... |
https://github.com/adambarla/HIV-protease-binding | https://raw.githubusercontent.com/adambarla/HIV-protease-binding/main/report/report.typ | typst | #import "template.typ" : *
#show : ieee.with(
title: [
Molecular Docking and Molecular Dynamics Simulations of Ligands Against HIV-1 Protease
],
// abstract: [
// ],
authors: (
(
name: "<NAME>",
department: [BS7107],
location: [NTU, Singapore],
... | |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/docs/gallery/digraph.typ | typst | MIT License | #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge, shapes
#set page(width: auto, height: auto, margin: 5mm, fill: white)
#let nodes = ("A", "B", "C", "D", "E", "F", "G")
#let edges = (
(3, 2),
(4, 1),
(1, 4),
(0, 4),
(3, 0),
(5, 6),
(6, 5),
)
#diagram({
for (i, n) in nodes.enumerate() {
let... |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/src/gcd.typ | typst | MIT License | #import "@local/evan:1.0.0":*
= Grad, curl, and div, individually
#pagebreak()
|
https://github.com/jens-hj/ds-exam-notes | https://raw.githubusercontent.com/jens-hj/ds-exam-notes/main/lectures/14.typ | typst | #import "../lib.typ": *
#show link: it => underline(emph(it))
#set math.equation(numbering: "(1)")
#set enum(full: true)
#set math.mat(delim: "[")
#set math.vec(delim: "[")
#set list(marker: text(catppuccin.latte.lavender, sym.diamond.filled))
#show heading.where(level: 1): it => text(size: 22pt, it)
#show heading.wh... | |
https://github.com/yochem/apa-typst | https://raw.githubusercontent.com/yochem/apa-typst/main/template.typ | typst | #let fontsize = state("fontsize", 0pt)
#let doublespace = 1.7em
#let authorHasOrcid(authors) = authors.map(author =>
// if type(author) == dictionary and dictHasKey(author, "orcid") {
if type(author) == dictionary and "orcid" in author {
true
} else {
false
}
).contains(true)
#let differentAffiliation... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/gg.typ | typst | #set page("a4", columns: 4, flipped: true, margin: 5pt )
#set columns(gutter: 0pt)
#image(fit: "contain", height: 80pt, "images/image1.png")
#image(fit: "contain", height: 80pt, "images/image2.png")
#image(fit: "contain", height: 80pt, "images/image3.jpeg")
#image(fit: "contain", height: 80pt, "images/image4.png")
#im... | |
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/auton-routes/decide.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator, codetastic
#import notebookinator: *
#import themes.radial.components: *
#import codetastic: qrcode
#show: create-body-entry.with(
title: "Decide: Autonomous Routes",
type: "decide",
date: datetime(year: 2023, month: 12, day: 1),
author: "<NAME>",
witness: "<NAME>",
... |
https://github.com/DieracDelta/presentations | https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/utils/fit-to-height.md | markdown | # Fit to height
Suppose you have some content and some size constraints for it but the two don't
match, i.e. the content does not have the size that you want.
The function `#fit-to-height` can help you with that.
It expects a height and some content and will try to scale the content such that
it takes on the given he... | |
https://github.com/PA055/5839B-Notebook | https://raw.githubusercontent.com/PA055/5839B-Notebook/main/Entries/First-Steps/first-steps.typ | typst | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "First Steps",
type: "decide",
date: datetime(year: 2024, month: 3, day: 9),
author: "<NAME>",
witness: "<NAME>"
)
= Post Season Build Analysis
For the building of our... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/crossregex/0.1.0/README.md | markdown | Apache License 2.0 | # crossregex
A crossword-like game written in Typst. You should fill in letters to satisfy regular expression constraints.
It takes inspiration from a web image, which derives our standard example.

More examples and source code: <https://github.com/QuadnucYard/crossregex-typ>
#... |
https://github.com/juraph-dev/usyd-slides-typst | https://raw.githubusercontent.com/juraph-dev/usyd-slides-typst/main/README.md | markdown | MIT License | # usyd-slides-typst

Polylux slide template for University of Sydney themed presentations.
Almost a direct translation of [usyd-beamer-theme](https://github.com/malramsay64/usyd-beamer-theme) to Typst, with one of two adjustments for taste.
Uses the "official" USYD colours and guides... |
https://github.com/Aariq/mycv | https://raw.githubusercontent.com/Aariq/mycv/main/_extensions/mycv/typst-show.typ | typst | #show: doc => cv(
$if(jobtitle)$
title: [$jobtitle$],
$endif$
$if(name)$
author: [$name$],
$endif$
$if(affiliation)$
affiliation: "$affiliation$",
$endif$
$if(phone)$
phone: [$phone$],
$endif$
$if(email)$
email: "$email$",
$endif$
$if(url)$
website: "$url$",
$endif$
$if(github)$
github: "$github$",
$endif... | |
https://github.com/viniciusmuller/ex_typst | https://raw.githubusercontent.com/viniciusmuller/ex_typst/main/native/extypst_nif/README.md | markdown | Apache License 2.0 | # NIF for Elixir.ExTypst.NIF
## To build the NIF module:
- Your NIF will now build along with your project.
## To load the NIF:
```elixir
defmodule ExTypst.NIF do
use Rustler, otp_app: :ex_typst, crate: "extypst_nif"
# When your NIF is loaded, it will override this function.
def add(_a, _b), do: :erlang.nif_... |
https://github.com/tingerrr/typst-test | https://raw.githubusercontent.com/tingerrr/typst-test/main/docs/book/src/README.md | markdown | MIT License | # Introduction
`typst-test` is a test runner for [Typst](https://typst.app/) projects. It helps you worry less about regressions and speeds up your development.
<script src="https://asciinema.org/a/669405.js" id="asciicast-669405" async="true"></script>
## Bird's-Eye View
Out of the box `typst-test` supports the foll... |
https://github.com/jultty/hello-typst | https://raw.githubusercontent.com/jultty/hello-typst/main/README.md | markdown | # hello typst
A study into [typst](https://typst.app/), a typesetting system able to create PDF files programmatically.
| |
https://github.com/matetamasi/Medve-Automata-9 | https://raw.githubusercontent.com/matetamasi/Medve-Automata-9/master/merchant.typ | typst | #let fickle = [
== Without a hat
If they ask for an *apple*,\
give them an apple and put on your hat.\
If they ask for a *banana*,\
give them a banana.
== With a hat
If they ask for an *apple*,\
give them a banana and take off your hat.\
If they ask for a *banana*,\
give them an a... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/space-control-flow.typ | typst | Apache License 2.0 | #let A = []
#for i in range(0, 10) { A } { A }
#for i in { range(0, 10) } { A } { A }
#if { true } { A } { A }
#for i in range(0, 10){A}{A}
#for i in { range(0, 10) }{A}{A}
#if{true}{A}{A}
#for i in range(0, 10) { A }A
#for i in { range(0, 10) } { A }A
#if { true } { A }A
#for i in range(0, 10){A}A
#for i in { range... |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/ordered_list/ordered_list_inserted.typ | typst | + The climate intensive
- Precipitation important
- Temperature scales
+ degree
- hot
- cold
- warm
- really hot
+ sun
+ cloud
+ wind
+ The geology
+ something new | |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%20591%20-%20Mathematical%20Logic/Assignments/Assignment%204.typ | typst | #import "/Templates/generic.typ": latex, header
#import "@preview/ctheorems:1.1.0": *
#import "/Templates/math.typ": *
#import "/Templates/assignment.typ": *
#import "@preview/cetz:0.2.0"
#let head(doc) = header(doc, title: "Assignment 4")
#show: head
#show: latex
#show: NumberingAfter
#show: thmrules
#show: symbol_rep... | |
https://github.com/rxt1077/it610 | https://raw.githubusercontent.com/rxt1077/it610/master/markup/slides/missing.typ | typst | #import "/templates/slides.typ": *
//#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
#import "/typst-fletcher/src/exports.typ" as fletcher: diagram, node, edge
#show: university-theme.with(short-title: [Missing])
#title-slide(title: [What's missing?])
#focus-slide()[
We've been learning in a vir... | |
https://github.com/minijackson/2024-04-hepix-nix | https://raw.githubusercontent.com/minijackson/2024-04-hepix-nix/master/theme.typ | typst | #import "@preview/polylux:0.3.1": *
#let colors = (
red: rgb("E50019"),
blue: rgb("3E4A83"),
lightBlue: rgb("7E9CBB"),
gray: rgb("262626"),
yellow: rgb("FFCD31"),
archipel: rgb("00939d"),
macaron: rgb("da837b"),
opera: rgb("bd987a"),
glycine: rgb("a72587"),
)
#let backdrop(dx: relative, dy: relative) = alig... | |
https://github.com/soarowl20240613/geelypaper | https://raw.githubusercontent.com/soarowl20240613/geelypaper/main/paper_demo.typ | typst | #import "paper.typ": *
#let cnabstract = [随着科学技术的迅速发展,导致农村劳动力过剩,大部分人流入城市寻求生计,最终成为城市人口。这就使得城市人口流动增加,房屋租赁也成为人们关心的重中之重。目前已有的房屋租赁方式有中介和小区物业进行代挂,但是这种传统的人为管理的方式存在很多弊端。比如说房源的真假难以分辨,看房过程繁琐,甚至还存在很多中介跑路的情况。当然市面上也有一部分看房软件,但经过调查出现很多监管不到位,房源虚假,中介费高和房源少等问题 @barb。
所以,笔者做了一款房屋租赁系统来试图解决人们看房的困难。一款房屋租赁系统的存在可以带来很多好处。首先,它可以让房东和租户更容易地连接... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/document-04.typ | typst | Other | // Error: 10-12 can only be used in set rules
#document()
|
https://github.com/jamesrswift/musicaux | https://raw.githubusercontent.com/jamesrswift/musicaux/main/src/cmd.typ | typst | #import "commands/basic-content.typ": *
#import "commands/common.typ"
#import "commands/bars.typ"
#import "commands/environments.typ" as env;
#import "commands/time.typ" | |
https://github.com/oravard/typst-dataframes | https://raw.githubusercontent.com/oravard/typst-dataframes/main/README.md | markdown | MIT License | # dframes: DataFrames for typst
This packages deals with data frames which are objects that are similar to pandas dataframes in python or DataFrames in Julia.
A dataframe is a two dimentionnal array. Many operations can be done between columns, rows and it can be displayed as a table or as a graphic plot.
## Si... |
https://github.com/heytentt/typst-cv | https://raw.githubusercontent.com/heytentt/typst-cv/main/cv-cn.typ | typst | MIT License | /* Global settings */
// #show link: underline
#set page(margin: (x: 1.5cm, y: 1.5cm))
#set par(
leading: 0.8em,
justify: true,
)
#set text(font: ("SimSong"), size: 11pt)
/* Functions */
#let h1(body) = {text(size: 17pt, font: "Songti SC", weight: "bold")[#body]}
#let h2(body) = {text(size: 13pt)[#body]}
#l... |
https://github.com/DaAlbrecht/thesis-TEKO | https://raw.githubusercontent.com/DaAlbrecht/thesis-TEKO/main/thesis.typ | typst | #import "template.typ": *
#import "metadata.typ": *
#import "@preview/tablex:0.0.5": tablex, cellx
#import "personal/Cover.typ" as cover
#show figure.where(kind: "appendix"): it => it.body
#let appendix = figure.with(kind: "appendix", numbering: "A", supplement: [Appendix])
#show link: underline
#show: project.with(... | |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/multicore/lec3.typ | typst | #import "template.typ": *
#show: template.with(
title: "Lecture 3",
subtitle: "6.5081"
)
= Queues
== 2 Thread Lock-Based Queue
The idea is to have a circular queue (stored as a list) where the head and tail pointers dance around in a circle.
- To enqueue, we increase the tail counter and add the element
- To de... | |
https://github.com/university-makino/Microcomputer-control-and-exercises | https://raw.githubusercontent.com/university-makino/Microcomputer-control-and-exercises/master/report/プレレポート1/report.typ | typst | //フォント設定//
#let gothic = "Hiragino Kaku Gothic Pro"
//本文フォント//
#set text(11pt, font: gothic, lang: "ja")
//タイトル・見出しフォント//
#set heading(numbering: "1.1")
#let heading_font(body) = {
show regex("[\p{scx: Han}\p{scx: Hira}\p{scx: Kana}]"): set text(font: gothic)
body
}
#show heading: heading_font
//タイトルページここから//
... | |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/gallery/radial.typ | typst | The Unlicense | #import "/lib.typ": *
#import themes.radial: radial-theme, components, colors
#import colors: *
#show: notebook.with(
theme: radial-theme,
team-name: "53E",
season: "Over Under",
)
#create-frontmatter-entry(
title: "test",
type: "decide",
date: datetime(year: 2024, month: 1, day: 1),
)[
#components.toc(... |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/reference-utils.typ | typst | Apache License 2.0 | #import "mod.typ": *
#import "/typ/typst-meta/docs.typ": typst-v11
#import "@preview/cmarker:0.1.0": render as md
#show: book.page.with(title: [参考:函数表(字典序)])
#let table-lnk(name, ref, it, scope: (:), res: none, ..args) = (
align(center + horizon, link("todo", name)),
it,
align(horizon, {
set heading(bookma... |
https://github.com/liamaxelrod/Resume | https://raw.githubusercontent.com/liamaxelrod/Resume/main/resume%202/cv.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": cv
#let metadata = yaml("./metadata.yml")
#let importModules(modules, lang: metadata.language) = {
for module in modules {
include "content/" + module + ".typ"
}
}
#show: cv.with(
metadata,
profilePhoto: image("./src/avatar.jpg")
)
#importModules((
"educ... | |
https://github.com/CL4R3T/GroupTheory-I-_homework | https://raw.githubusercontent.com/CL4R3T/GroupTheory-I-_homework/main/requirements.typ | typst | #import "@preview/problemst:0.1.0": * | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/scripting/types_2.md | markdown | MIT License | # Types, part II
In Typst, most of things are **immutable**. You can't change content, you can just create new using this one (for example, using addition).
Immutability is very important for Typst since it tries to be _as pure language as possible_. Functions do nothing outside of returning some value.
However, puri... |
https://github.com/matetamasi/Medve-Automata-9 | https://raw.githubusercontent.com/matetamasi/Medve-Automata-9/master/jegyzet.typ | typst | #import "@preview/finite:0.3.0": automaton, layout
#let aut = ( ..it,) => {
show "Start":""
automaton(..it)
}
#let maut = (..it, style: (:), radius: 0.45, curve: 0) => {
show "Start":""
style.insert("transition", (curve: curve, label: (dist: 0.25)))
style.insert("state", (radius: radius))
automaton(..it, st... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/string.typ | typst | Apache License 2.0 | // Test the string methods.
// Ref: false
---
// Test the `len` method.
#test("Hello World!".len(), 12)
---
// Test the `first` and `last` methods.
#test("Hello".first(), "H")
#test("Hello".last(), "o")
#test("🏳️🌈A🏳️⚧️".first(), "🏳️🌈")
#test("🏳️🌈A🏳️⚧️".last(), "🏳️⚧️")
---
// Error: 2-12 string is empt... |
https://github.com/TechnoElf/mqt-qcec-diff-thesis | https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/content/implementation/benchmarking.typ | typst | == QCEC Benchmarking Tool
Besides testing the newly developed approaches for correctness, possible performance regressions should be monitored as well.
@qcec does not have built-in benchmarks, however.
For this purpose, a benchmarking tool was therefore developed to test different configurations of the equivalence chec... | |
https://github.com/MDLC01/board-n-pieces | https://raw.githubusercontent.com/MDLC01/board-n-pieces/main/src/chess-sym.typ | typst | MIT License | #let pawn = symbol(
("filled", "♟"),
("filled.r", "🨔"),
("filled.b", "🨩"),
("filled.l", "🨾"),
("stroked", "♙"),
("stroked.r", "🨎"),
("stroked.b", "🨣"),
("stroked.l", "🨸"),
("white", "♙"),
("white.r", "🨎"),
("white.b", "🨣"),
("white.l", "🨸"),
("black", "♟"),
("black.r", "🨔"),
(... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-refs_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Footnote call with label
#footnote(<fn>)
#footnote[Hi]<fn>
#ref(<fn>)
#footnote(<fn>)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-100000.typ | typst | Apache License 2.0 | #let data = (
"0": ("<Plane 16 Private Use, First>", "Co", 0),
"fffd": ("<Plane 16 Private Use, Last>", "Co", 0),
)
|
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/172.%20ineq.html.typ | typst | ineq.html
Economic Inequality
January 2016Since the 1970s, economic inequality in the US has increased
dramatically. And in particular, the rich have gotten a lot richer.
Nearly everyone who writes about the topic says that economic inequality
should be decreased.I'm interested in this question because I was one of t... | |
https://github.com/Jarmos-san/resume | https://raw.githubusercontent.com/Jarmos-san/resume/main/README.md | markdown | Creative Commons Attribution Share Alike 4.0 International | # Resume
The contents of this repository is how I create my resume using
[Typst](https://typst.app). Its a modern alternative to LaTeX with an intuitive
and easy-to-use syntax.
Do note, the project is still work-in-progress and hence will take a while to
complete. But if you want to check out a template resume, check... |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/23.typ | typst | #import "../conf.typ": *
= Общее решение системы линейных алгебраических уравнений. <NAME>-Капелли.
== Общее решение системы линейных алгебраических уравнений
#definition[
*Группой* называется множество $G$ с определённой на нём бинарной операцией
умножения $dot: G times G -> G$, удовлетворяющей следующим условиям... | |
https://github.com/augustebaum/tenrose | https://raw.githubusercontent.com/augustebaum/tenrose/main/examples/relative.typ | typst | MIT License | #import "@preview/diagraph:0.2.2": *
= 100%
#raw-render(```
digraph {
rankdir=LR
"Hello" -> "World"
"World" -> "!"
}
```, width: 100%)
= 50%
#raw-render(```
digraph {
rankdir=LR
"Hello" -> "World"
"World" -> "!"
}
```, width: 50%)
= 5%
#raw-render(```
digraph {
rankdir=LR
"Hello" -> "World"
... |
https://github.com/xdoardo/co-thesis | https://raw.githubusercontent.com/xdoardo/co-thesis/master/thesis/chapters/imp/semantics.typ | typst | #import "@preview/prooftrees:0.1.0"
#import "/includes.typ": *
== Semantics <imp-semantics>
Having understood the syntax of Imp, we can move to the _meaning_ of Imp
programs. We will explore the operational semantics of the language using the
formalism of inference rules, then we will show the implementation of the
se... | |
https://github.com/valentinvogt/npde-summary | https://raw.githubusercontent.com/valentinvogt/npde-summary/main/README.md | markdown | # NumPDE 2024 Summary
Tutorial class 2024 for *Numerical Methods for Partial Differential Equation* at ETH Zürich.
On this repository you can find the [typst](https://typst.app/) source files for the TA summary.
This summary is based on the [NumPDE 2023 summary](https://www.overleaf.com/5644262547pnpdgpmjjmcj) writt... | |
https://github.com/tani-mss/onjuku2024 | https://raw.githubusercontent.com/tani-mss/onjuku2024/main/slide.typ | typst | #import "@preview/touying:0.5.2": *
#import themes.stargazer: *
#import "@preview/tiaoma:0.2.0": *
#import "@preview/colorful-boxes:1.3.1": *
#import "@preview/prooftrees:0.1.0": *
#import "@preview/numbly:0.1.0": numbly
#show: stargazer-theme.with(
aspect-ratio: "16-9",
config-info(
title: [ランベック計算と文脈自由文法・線形... | |
https://github.com/hei-templates/hevs-typsttemplate-thesis | https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/03-tail/bibliography.typ | typst | MIT License | #import "../00-templates/helpers.typ": *
#pagebreak()
#bibliography("../03-tail/bibliography.bib", style:bibstyle)
|
https://github.com/shealligh/typst-template | https://raw.githubusercontent.com/shealligh/typst-template/main/conf.typ | typst | #let conf(
course: none,
homework: [],
due_time: [],
instructor: [],
student: [],
id: [],
doc
) = {
set text(
font: ("New Computer Modern", "Yuppy SC"),
size: 10pt
)
set page(
paper: "a4",
header: [
#set text(10pt)
#smallc... | |
https://github.com/Gewi413/typst-autodoc | https://raw.githubusercontent.com/Gewi413/typst-autodoc/master/typst-autodoc.typ | typst | MIT License | /**
* splits and filters the file into function headers with magic \/\*\*\
* @param text the text which is to get parsed
* @returns List of all functions with a docstring as plaintext
*/
#let findDocs(text) = {
let docComment = false
let function = false
let buff = ""
let headers = ()
for line in text.spl... |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/examples/quick-start/main.typ | typst | MIT License | = Lorem ipsum
#lorem(30)
|
https://github.com/hewliyang/fyp-typst | https://raw.githubusercontent.com/hewliyang/fyp-typst/main/main.typ | typst | #set par(justify: true, linebreaks: auto)
#set text(font: "New Computer Modern", size: 12pt)
#set page(paper: "a4", margin: (x: 1in, y: 1in))
#set figure(gap: 12pt)
#set math.equation(numbering: "(1)", supplement: [Equation])
#show heading: it => {
it
v(1em)
}
#show link: box.with(stroke: 1pt + blue, outset: (botto... | |
https://github.com/SabrinaJewson/cmarker.typ | https://raw.githubusercontent.com/SabrinaJewson/cmarker.typ/main/examples/tests.md | markdown | MIT License | Tests
=====
This document contains a bunch of tests that should be manually checked.
(This should be on the same line) (as this)
(This should be above)
(this)
Basic styling: *italics*, _italics_, **bold**, __bold__, ~strikethrough~
Unlike Typst, bare links are not clickable: https://example.org.
Angle-bracket ... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/footnote-break.typ | typst | Apache License 2.0 | // Test footnotes that break across pages.
---
#set page(height: 200pt)
#lorem(5)
#footnote[ // 1
A simple footnote.
#footnote[Well, not that simple ...] // 2
]
#lorem(15)
#footnote[Another footnote: #lorem(30)] // 3
#lorem(15)
#footnote[My fourth footnote: #lorem(50)] // 4
#lorem(15)
#footnote[And a final footno... |
https://github.com/daskol/typst-templates | https://raw.githubusercontent.com/daskol/typst-templates/main/tmlr/README.md | markdown | MIT License | # Transactions on Machine Learning Research (TMLR)
## Usage
You can use this template in the Typst web app by clicking _Start from
template_ on the dashboard and searching for `healthy-tmlr`.
Alternatively, you can use the CLI to kick this project off using the command
```shell
typst init @preview/smooth-tmlr
```
... |
https://github.com/augustebaum/epfl-thesis-typst | https://raw.githubusercontent.com/augustebaum/epfl-thesis-typst/main/src/lib.typ | typst | MIT License | #let fill-line(left-text, right-text) = [#left-text #h(1fr) #right-text]
// The `in-outline` mechanism is for showing a short caption in the list of figures
// See https://sitandr.github.io/typst-examples-book/book/snippets/chapters/outlines.html#long-and-short-captions-for-the-outline
#let in-outline = state("in-outl... |
https://github.com/Greacko/typyst_library | https://raw.githubusercontent.com/Greacko/typyst_library/main/library/title_page.typ | typst | #let title_page(title, prof, season) = {
set document(title: title, author: "<NAME>")
align(grid(text(title, top-edge:10em, size: 22pt),
text(season, top-edge:1.5em, size:20pt),
text("Prof: " + prof, top-edge:4em, size:18pt),
text("<NAME>",top-edge:1.5em, size:16pt), columns: auto),center)
}
#let hw_pag... | |
https://github.com/dantevi-other/kththesis-typst | https://raw.githubusercontent.com/dantevi-other/kththesis-typst/main/utils/styles.typ | typst | MIT License | /* ---------------------------------------------
This file conatains functions containing style
rules and that are meant to be used with the
`#show` rule to either set the styles to the rest
of the contents in a file or to a specified
element in a file.
Example:
```typ
#import "utils/styles.typ" as styles
// This ... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/semantic_tokens/heading.typ | typst | Apache License 2.0 | === #text("Text in heading") |
https://github.com/EpicEricEE/typst-plugins | https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/hash/src/lib.typ | typst | #import "hash.typ": hash, hex, blake2, blake2s, md5, sha1, sha224, sha256, sha384, sha512, sha3
| |
https://github.com/sora0116/unix_seminar | https://raw.githubusercontent.com/sora0116/unix_seminar/master/presentation/main.typ | typst | #import "template.typ": *
#show: my-theme.with(
title: "第10回Unixゼミ",
author: "<NAME>",
date: datetime(year: 2024, month: 7, day: 13),
)
#show raw: it => {
if it.lang == "shell" {
if it.block {
block(
fill: rgb("#1d2433"),
inset: 15pt,
radius: 5pt,
width: 100%,
... | |
https://github.com/jamesrswift/journal-ensemble | https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/src/ensemble.typ | typst | The Unlicense | #let color-accent-1 = state("color-accent-1", rgb(174,154,73))
#let color-accent-2 = state("color-accent-2", rgb(42,59,71))
#let rule(
accent-1: rgb(174,154,73),
accent-2: rgb(42,59,71),
) = (body) => {
set page(paper: "a4", numbering: "1")
set text(font: "Open Sans")
set par(leading: 0.75em)
show figure.c... |
https://github.com/myst-templates/scipy | https://raw.githubusercontent.com/myst-templates/scipy/main/README.md | markdown | MIT License | # SciPy Proceedings
A typst template for SciPy Proceedings 2024 using MyST Markdown.

|
https://github.com/Dav1com/minerva-report-fcfm | https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/meta.typ | typst | MIT No Attribution | /** meta.typ
*
* Archivo para constantes y estilos usados en documentación,
* y otros elementos sobre el package en sí mismo.
*/
#import "@preview/tidy:0.3.0" as tidy
#let minerva() = {
import "minerva-report-fcfm.typ" as minerva
return minerva
}
#let package-name = "minerva-report-fcfm"
#let package-version ... |
https://github.com/kokkonisd/yahtzee-scoreboard | https://raw.githubusercontent.com/kokkonisd/yahtzee-scoreboard/main/scoreboard.typ | typst | #let MAIN_FONT = "FreeSerif"
#let HEADER_TEXT_SIZE = 30pt
#let NORMAL_TEXT_SIZE = 18pt
#let SMALL_TEXT_SIZE = 12pt
#set page(margin: 10pt)
#show text: it => { smallcaps(it) }
#set text(size: NORMAL_TEXT_SIZE, font: MAIN_FONT)
#v(2cm)
#block(width: 100%)[
#set align(center + horizon)
#stack(
dir: ltr,... | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/01-number-theory/01-divisibility.typ | typst | Other | #import "../../utils/core.typ": *
== Делимость
#def[
$a, b in ZZ, a | b <==> exists c in ZZ: b = a c$
]
#prop[
+ $a divides a$ --- рефлексивность
+ $a divides b, b divides c ==> exists c in ZZ: b = a c$ --- транзитивность
+ $a divides b, k in ZZ ==> k a divides k b$
+ $a divides ... |
https://github.com/liuzhuan/reading-list | https://raw.githubusercontent.com/liuzhuan/reading-list/master/books/programming-with-types/note.typ | typst | #import "../../templates/notes.typ": notes
#show: rest => notes(rest)
= 类型简介
== 为什么存在类型
=== 0 和 1
=== 类型和类型系统的定义
== 类型系统的优点
=== 正确性
=== 不可变性
=== 封装
=== 可组合性
=== 可读性
== 类型系统的类型
=== 动态类型和静态类型
=== 弱类型和强类型
=== 类型推断
= 基本类型
== 设计不返回值的函数
=== 空类型
=== 单元类型
== 布尔逻辑和短路
== 数值类型的常见陷阱
== 编码文本
== 使用数组和引用构建数据结构
... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas5/6_Sobota.typ | typst | #let V = (
"HV": (
("","Rádujsja póstnikom","Plámeň nečéstija ľútaho strastotérpcy uhasíša krovéj svojích tečéňmi, blahočéstija svítlosť v míri vsém vozžéhše múčenicy, bóhi že lžeimenítyja, i ťích zlovónija, i chrámy do koncá popalíša: svít vozsijáša súščym na zemlí čisťijšij, ímže i prosviščájemi, ťmý izbihájem ... | |
https://github.com/wizicer/gnark-cheatsheet | https://raw.githubusercontent.com/wizicer/gnark-cheatsheet/main/README.md | markdown | # Gnark Cheatsheet
This cheatsheet is based on `gnark v0.10.0`.
![preview][png]
# Download
You can download the cheatsheet in following formats:
- [PDF][pdf]
- [typst][typst]
Please [file an issue][issues] if you have ideas for improvement or find mistakes.
# License [![Creative Commons License][by-img]][by]... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tidy/0.1.0/src/styles.typ | typst | Apache License 2.0 |
#import "styles/default.typ"
#import "styles/minimal.typ"
|
https://github.com/ivaquero/book-control | https://raw.githubusercontent.com/ivaquero/book-control/main/Toolbox-Practice.typ | typst | #import "@local/scibook:0.1.0": *
#show: doc => conf(
title: "MATLAB 工具箱最佳实践",
author: ("ivaquero"),
header-cap: "现代控制理论",
footer-cap: "github@ivaquero",
outline-on: false,
doc,
)
= 工程结构
<tree>
== 根目录
<root>
根目录即工程目录,通常采用驼峰命名,如 `quickerSimCFD`。其大体结构如下
```markdown
quickerSimCFD/
| README.md
| LICENSE... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/cite-form.typ | typst | Apache License 2.0 | // Test citation forms.
---
#set page(width: 200pt)
Nothing: #cite(<arrgh>, form: none)
#cite(<netwok>, form: "prose") say stuff.
#bibliography("/files/works.bib", style: "apa")
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/matrix-alignment-01.typ | typst | Other | // Test alternating explicit alignment in a matrix.
$ mat(
"a" & "a a a" & "a a";
"a a" & "a a" & "a";
"a a a" & "a" & "a a a";
) $
|
https://github.com/kilpkonn/msc-thesis | https://raw.githubusercontent.com/kilpkonn/msc-thesis/master/main.typ | typst | #import "template.typ": *
#show: project.with(
title: "Term Search in Rust",
title_estonian: "Avaldise otsing programmeerimiskeeles Rust",
thesis_type: "Master's thesis",
thesis_type_estonian: "Magistritöö",
authors: (
(
name: "<NAME>",
student_code: "211564IAPM"
),
),
supervisors: (
... | |
https://github.com/sitandr/mdbook-typst-highlight | https://raw.githubusercontent.com/sitandr/mdbook-typst-highlight/main/example-book/src/chapter_2.md | markdown | MIT License | # Chapter 2
It uses external Typst that should be installed in path, so you can use packages too!
```typ
#import "@preview/cetz:0.1.2": canvas, plot
#set page(width: auto, height: auto, margin: .5cm)
#canvas(length: 1cm, {
plot.plot(size: (8, 6),
x-tick-step: none,
x-ticks: ((-calc.pi, $-pi$), (0, $0$), (... |
https://github.com/qujihan/typst-cv-template | https://raw.githubusercontent.com/qujihan/typst-cv-template/main/README_zh.md | markdown | # 快速上手
```shell
# 将此项目作为git子模块添加
git submodule add https://github.com/qujihan/typst-cv-template.git typst-cv-template
git submodule update --init --recursive
# 实时预览
python typst-cv-template/op.py w
# 编译
python typst-cv-template/op.py c
# 格式化typst代码
python typst-cv-template/op.py f
``` | |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/431/notes/part2.typ | typst | #set math.equation(numbering:"(1)")
#set heading(numbering: "1.1")
= Random Variables
#image("rvSummary.png")
== Discrete random variable
Discrete random variables are random variables that can take on a countable number of values. It comes naturally from discrete, finite or infinitly countable sample spaces. (As b... | |
https://github.com/LEXUGE/poincare | https://raw.githubusercontent.com/LEXUGE/poincare/main/src/notes/quantum-mechanics/main.typ | typst | MIT License | #import "@preview/physica:0.9.2": *
#import "@preview/gentle-clues:0.8.0": *
#import "@preview/ctheorems:1.1.0": *
#import "@lexuge/templates:0.1.0": *
#import shorthands: *
#import pf3: *
#show: simple.with(
title: "Quantum Mechanics", authors: ((name: "<NAME>", email: "<EMAIL>"),),
)
#show: super-plus-as-dagger
#... |
https://github.com/rdboyes/resume | https://raw.githubusercontent.com/rdboyes/resume/main/modules_fr/projects.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Projets & Associations")
#cvEntry(
title: [Analyste de Données Bénévole],
society: [ABC Org... | |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/bracket-ambiguous-numbers/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": num, metro-setup
#set page(width: auto, height: auto)
#num(1.2, e: 4, pm: 0.3)
#num(1.2, e: 4, pm: 0.3, bracket-ambiguous-numbers: false) |
https://github.com/storopoli/graphs-complexity | https://raw.githubusercontent.com/storopoli/graphs-complexity/main/README-pt.md | markdown | Creative Commons Zero v1.0 Universal | # Teoria dos Grafos e Complexidade Computacional
[](https://creativecommons.org/publicdomain/zero/1.0/)
[](./code/c)
[](./code/zig)
[![Rodar no Repl.... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0800.typ | typst | Apache License 2.0 | #let data = (
("SAMARITAN LETTER ALAF", "Lo", 0),
("SAMARITAN LETTER BIT", "Lo", 0),
("SAMARITAN LETTER GAMAN", "Lo", 0),
("SAMARITAN LETTER DALAT", "Lo", 0),
("SAMARITAN LETTER IY", "Lo", 0),
("SAMARITAN LETTER BAA", "Lo", 0),
("SAMARITAN LETTER ZEN", "Lo", 0),
("SAMARITAN LETTER IT", "Lo", 0),
("SAM... |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/tests/ka/test.typ | typst | MIT License | #import "@local/schule:1.0.0": ka
#import ka: *
#import mathe: *
#show: klassenarbeit.with(
autor: (name: "<NAME>", kuerzel: "Ngb"),
titel: "2. Mathearbeit",
reihe: "Zuordnungen",
nummer: "2",
fach: "Mathematik",
kurs: "07c",
version: "2023-11-25",
variante: "A",
fontsize: 11pt,
dauer: 45,
datum:... |
https://github.com/sartimo/template | https://raw.githubusercontent.com/sartimo/template/main/template.typ | typst | #let bibfile = "quellen.bib"
#let studysubject = "fach"
#let documenttitle = "titel"
#let author = "autor"
#let email = "email"
#let location = "ort"
#let abstract = "beschreibung"
#let today = datetime.today()
#set document(title: documenttitle, author: author)
#set par(justify: true)
#set page(numbering: none, margin... | |
https://github.com/GuTaoZi/SUSTech-thesis-typst | https://raw.githubusercontent.com/GuTaoZi/SUSTech-thesis-typst/main/template/decl_zh.typ | typst | MIT License | #import "../utils/style.typ" : *
#let decl_zh(
anonymous: false
) = {
if anonymous{
return
}
set align(center)
text("诚信承诺书",size: FSIZE.二号,font: FONTS.黑体, weight: "bold")
set align(left)
set text(size: FSIZE.四号,font: FONTS.宋体)
par(first-line-indent: 2em)[
\
\
1\. 本人郑重承诺所呈交的... |
https://github.com/azduha/akordy | https://raw.githubusercontent.com/azduha/akordy/main/template.typ | typst | #let removeDiacritics(str) = {
str
.replace(regex("[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]"), "A")
.replace(regex("[\uA732]"), "AA")
.replace(reg... | |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/math321/hw11.typ | typst | = HW 11 <NAME> <EMAIL>\
\
+ recall stokes theorem $integral.double_(S) (nabla times arrow(F)) dot arrow(n) dif S= integral.cont_(C) arrow(F) dot dif arrow(r)$.\ Let the surface bound by $C$ be a simple disk $x^2+y^2 <=4, z=7$. Unit normal vector of this surface is $arrow(n) = (0,0,1) $ \
$
nabla times arrow(... | |
https://github.com/weeebdev/cv | https://raw.githubusercontent.com/weeebdev/cv/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Professional Experience")
#cvEntry(
title: [Teaching Assistant],
society: [Nazarbayev University],
logo: "../src/logos/xyz_corp.png",
date: [Apr 2023 - Dec 2023],
location: [Astana, Kazakhstan],
description: list(
[Assisted with teach... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/polytonoi/0.1.0/polytonoi.typ | typst | Apache License 2.0 | // assigns a Roman character to a code point representing its Greek equivalent
// anything not in this list (and not handled elsewhere) will be rendered literally
#let letterDictionary = (
// lower-case letters
a: 0x03B1,
b: 0x03B2,
g: 0x03B3,
d: 0x03B4,
e: 0x03B5,
z: 0x03B6,
h: 0x03B7,
q: 0x03B8,
i... |
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/build-intake/entry.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#create-body-entry(
title: "Build: Intake",
type: "build",
date: datetime(year: 2023, month: 8, day: 18),
author: "<NAME>",
witness: "<NAME>",
)[
#grid(
columns: (1fr, 1fr),
gutter: 10pt,
[
... |
https://github.com/optimizerfeb/MathScience | https://raw.githubusercontent.com/optimizerfeb/MathScience/main/셀룰러 오토마타를 이용한 게임 컨텐츠 자동생성.typ | typst | #set text(font: "Noto Serif KR")
#align(center, text(17pt)[
*셀룰러 오토마타를 이용한 게임 컨텐츠 자동생성*
])
#align(right, text(10pt)[
한남대학교 수학과
20172581 김남훈
])
= 1. 게임 컨텐츠 자동생성
게임 속에는 맵, NPC, 퀘스트, 던전 등 다양한 컨텐츠가 존재한다. 이러한 컨텐츠들은 개발자가 직접 만들기도 하지만, 때로는 자동생성을 통해 만들기도 한다. 자동생성으로 만들어진 컨텐츠는 단조로운 패턴 등으로 비판받기도 하지만, 매 플레이시마다 다른 맵을 제공하... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/transform-layout_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test relative sizing in rotated boxes.
#set page(width: 200pt, height: 200pt)
#set text(size: 32pt)
#let rotated(body) = box(rotate(
90deg,
box(stroke: 0.5pt, height: 20%, clip: true, body)
))
#set rotate(reflow: false)
Hello #rotated[World... |
https://github.com/Drodt/clever-quotes | https://raw.githubusercontent.com/Drodt/clever-quotes/main/src/clever-quotes.typ | typst | #import "predefined.typ": default-quote-styles, default-quote-aliases, get-default-style
#let quote-style = state("quote-style", "en/US")
#let quote-max-level = state("quote-max-level", 2)
#let quote-level = counter("quote-level")
#let _get-style(s) = {
let sty = s
if type(s) == "string" {
sty = get-d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.