repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/magic3007/cv-typst | https://raw.githubusercontent.com/magic3007/cv-typst/master/doc/skills.typ | typst | *Programming Languages and Softwares*: C/C++, Python, Golang, Rust, CUDA, Pytorch \
*Tech Skills*: Placement and Routing Algorithm Designs in VLSI CAD, High Performance Computing, GPU Acceleration using CUDA, Deep Learning Systems | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/edge-02.typ | typst | Other | // Error: 24-26 expected "ascender", "cap-height", "x-height", "baseline", "descender", or length
#set text(bottom-edge: "")
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/048_Dominaria%20United.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Dominaria United", doc)
#include "./048 - Dominaria United/001_Episode 1: Echoes In The Dark.typ"
#include "./048 - Dominaria United/002_Episode 2: Sand in the Hourglass.typ"
#include "./048 - Dominaria United/003_Episode 3: The Locked Tower.typ"
#include "./048 ... | |
https://github.com/jneug/typst-mantys | https://raw.githubusercontent.com/jneug/typst-mantys/main/src/api.typ | typst | MIT License |
#import "@preview/t4t:0.3.2": is, alias
#import "./mty.typ"
#import "./mty.typ": idx, make-index, module, package, lineref
#import "./theme.typ"
/// === Describing arguments and values <describing-arguments>
/// Highlight an argument name.
/// #shortex(`#meta[variable]`)
///
/// - name (string, content): Name of t... |
https://github.com/RanolP/resume | https://raw.githubusercontent.com/RanolP/resume/main/modules/solved-ac.typ | typst | #import "components.typ": icon
#import "./util.typ": format-thousand
#let solve-tier-colors = (
Unrated: color.rgb("#2d2d2d"),
Bronze5: color.rgb("#9d4900"),
Bronze4: color.rgb("#a54f00"),
Bronze3: color.rgb("#ad5600"),
Bronze2: color.rgb("#b55d0a"),
Bronze1: color.rgb("#c67739"),
Silver5: color.rgb("#38... | |
https://github.com/choglost/LessElegantNote | https://raw.githubusercontent.com/choglost/LessElegantNote/main/layouts/mainmatter.typ | typst | MIT License | #import "@preview/i-figured:0.2.4"
#import "@preview/codly:0.2.1": *
#import "../utils/style.typ": 字号, 字体
#import "../utils/custom-numbering.typ": custom-numbering
#import "../utils/custom-heading.typ": heading-display, active-heading, current-heading
#import "../utils/indent.typ": fake-par
#import "../utils/unpairs.t... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/path-03.typ | typst | Other | // Error: 7-31 point array must contain exactly two entries
#path(((0%, 0%), (0%, 0%, 0%)))
|
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/angle.typ | typst | Apache License 2.0 | #import "/src/utils.typ": content-to-string, combine-dict
#import "/src/defs/units.typ": rad, arcminute, arcsecond
#import "num/num.typ"
#let default-options = (
angle-mode: "input",
angle-symbol-degree: sym.degree,
angle-symbol-minute: arcminute,
angle-symbol-second: arcsecond,
angle-separator: none,
numb... |
https://github.com/alerque/polytype | https://raw.githubusercontent.com/alerque/polytype/master/data/page-geometry/typst.typ | typst | #set page(
paper: "a7",
margin: 1cm,
)
#set par(
first-line-indent: 1cm,
justify: true,
)
// Note the manual glue node here is a hack around first
// paragraph in block not respecting first-line-indent:
// https://github.com/typst/typst/issues/311
#h(1cm)An A7 page with 1cm margins and 1cm paragraph indentation... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/crates/reflexo-world/README.md | markdown | Apache License 2.0 | # reflexo-world
Typst's World implementation for reflexo.
See [Typst.ts](https://github.com/Myriad-Dreamin/typst.ts)
|
https://github.com/msakuta/typst-test | https://raw.githubusercontent.com/msakuta/typst-test/master/higher-order-automatic-differentiation.typ | typst | #set page(
numbering: "1",
)
#set math.equation(numbering: "(1)")
#set heading(numbering: "1.")
#show link: underline
#align(center, text(17pt)[
*Higher-order automatic differentiation*
])
#outline()
= Overview
Sometimes we want to have more than 1 order differentiation. An example is quadratic programming. How... | |
https://github.com/MattiaOldani/The-useless-theorem | https://raw.githubusercontent.com/MattiaOldani/The-useless-theorem/main/template.typ | typst | #let project(title: "", abstract: [], author: "", body) = {
set document(author: author, title: title)
set page(
margin: (left: 25mm, right: 25mm, top: 25mm, bottom: 25mm),
numbering: "1",
number-align: center,
)
set text(font: "New Computer Modern", lang: "it")
set heading(numbering: "1.")
... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/02-methodology.typ | typst | #import "@preview/acrostiche:0.3.1": *
#import "/helpers.typ": *
= Methodology <methodology>
This chapter describes the methodology used in this thesis.
To answer the first research question, an ad hoc review of grey literature is conducted, picking a select number of publications that define and discuss the modula... | |
https://github.com/RedGl0w/TypHex | https://raw.githubusercontent.com/RedGl0w/TypHex/main/README.md | markdown | ## TypHex
TypHex is a small package to draw [hex board game](https://en.wikipedia.org/wiki/Hex_(board_game))'s grids in [Typst](https://typst.app/).
Currently, it only implement some function to draw hexagons and make a grid of them, and a basic [SGF (smart game format)](https://en.wikipedia.org/wiki/Smart_Game_Forma... | |
https://github.com/sora0116/unix_seminar | https://raw.githubusercontent.com/sora0116/unix_seminar/master/handout/perf/main.typ | typst | #import "@preview/big-todo:0.2.0": *
#set text(font: "<NAME>")
#set heading(numbering: "1.1")
#set page(numbering: "1")
#show raw: it => {
if (it.lang == "shell") {
block(fill: rgb("#1d2433"), width: 100%, inset: 10pt, radius: 10pt)[
#text(fill: rgb("#f6f6f6"))[#it]
]
} else {
it
}
}
#let per... | |
https://github.com/WinstonMDP/math | https://raw.githubusercontent.com/WinstonMDP/math/main/exers/o.typ | typst | #import "../cfg.typ": *
#show: cfg
$
"Prove that"
all("absolutely covergent series" sum_(n = 1)^oo beta_n):
b_n/b_(n + 1) = 1 + beta_n -> b_n "has a limit"
$
$b_(n + 1) = b_n/(1 + beta_n)$
$b_(n + 2) =
b_(n + 1)/(1 + beta_(n + 1)) = b_n/((1 + beta_(n + 1))(1 + beta_n))$
$b_n =
b_1/((1 + beta_1) ... (1 + beta_(n - 1)... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/syntax/newlines.typ | typst | // Test newline continuations.
--- newline-continuation-code ---
#{
"hello"
.clusters()
if false {
}
else {
("1", "2")
}
}
--- newline-continuation-markup ---
#"hello"
.codepoints()
#if false {
}
else {
("1", "2")
}
--- newline-continuation-method-blank ---
#test({
"hi 1"
.clusters()
... | |
https://github.com/manforowicz/resume | https://raw.githubusercontent.com/manforowicz/resume/main/resume.typ | typst | // Metadata
#set document(
title: "<NAME> - Resume",
author: "<NAME>",
date: datetime(
year: 2024,
month: 8,
day: 28,
)
)
// Style
#set page(paper: "us-letter")
#set text(font: "Cantarell", lang: "en")
#set par(leading: 0.75em)
#show link: underline
#show link: set text(blue)
// Header
#grid(
co... | |
https://github.com/SkiFire13/master-thesis | https://raw.githubusercontent.com/SkiFire13/master-thesis/master/chapters/4-implementation.typ | typst | #import "../config/common.typ": *
#import "@preview/cetz:0.2.2": canvas, draw
= Implementation <section-implementation>
The final goal of this thesis was a concrete implementation of the algorithms explained in the previous sections. The implementation partly relies on the work done in LCSFE @flori which, as mentione... | |
https://github.com/satoqz/dhbw-template | https://raw.githubusercontent.com/satoqz/dhbw-template/main/README.md | markdown | MIT License | # DHBW Thesis Template
A thesis template for work at DHBW created in [Typst](https://github.com/typst/typst), focused on simplicity.
[**Preview**](./example.pdf)
> [!NOTE]
> This template is only intended for students of the faculty of technology, specifially
> computer science students. Especially if you're part of... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/178.%20genius.html.typ | typst | genius.html
The Bus Ticket Theory of Genius
November 2019Everyone knows that to do great work you need both natural ability
and determination. But there's a third ingredient that's not as
well understood: an obsessive interest in a particular topic.To explain this point I need to burn my reputation with some group
of ... | |
https://github.com/hyskr/touying-bjtu | https://raw.githubusercontent.com/hyskr/touying-bjtu/main/lib.typ | typst | MIT License | // University theme - modified to fit BUAA
// Inspired by https://github.com/QuadnucYard/touying-theme-seu
#import "@preview/touying:0.4.2": *
#let buaa-nav-bar(self: none) = states.touying-progress-with-sections(dict => {
let (current-sections, final-sections) = dict
current-sections = current-sections.filter(se... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/themes/themes.typ | typst | #import "simple.typ"
#import "clean.typ"
#import "bipartite.typ"
#import "university.typ"
#import "metropolis.typ"
| |
https://github.com/fenjalien/metro | https://raw.githubusercontent.com/fenjalien/metro/main/tests/num/exponent/exponent-product/test.typ | typst | Apache License 2.0 | #import "/src/lib.typ": num, metro-setup
#set page(width: auto, height: auto)
#num(e: 2)[1]
#num(e: 2, exponent-product: sym.dot)[1] |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Algebre_Lineaire_Serie_7.typ | typst | #import "@preview/bubble:0.1.0": *
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#import "@preview/cetz:0.2.2": canvas, draw, tree
#import "@preview/cheq:0.1.0": checklist
#import "@preview/typpuccino:0.1.0": macchiato
#import "@preview/wordometer:0.1.1": *
#import "@preview/tablem:0.1.0": tablem
... | |
https://github.com/cetz-package/cetz-venn | https://raw.githubusercontent.com/cetz-package/cetz-venn/master/tests/helper.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.2.2"
#import "/src/lib.typ" as venn
/// Test case canvas surrounded by a red border
#let test-case(body, ..canvas-args, args: none) = {
if type(body) != function {
body = _ => { body }
args = (none,)
} else {
assert(type(args) == array and args.len() > 0,
message: "Functi... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/219.%20google.html.typ | typst | google.html
How to Start Google
March 2024(This is a talk I gave to 14 and 15 year olds about what to do now
if they might want to start a startup later. Lots of schools think
they should tell students something about startups. This is what I
think they should tell them.)Most of you probably think that when you're rel... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unify/0.1.0/lib.typ | typst | Apache License 2.0 | #let re-num = regex("^(-?\d+\.?\d*)(((\+(\d+\.?\d*)-(\d+\.?\d*)))|((((\+-)|(-\+))(\d+\.?\d*))))?(e(-?\d+))?$")
#let _format-num(value, exponent: none, upper: none, lower: none) = {
/// Format a number.
/// - `value`: Value of the number.
/// - `exponent`: Exponent in the exponential notation.
/// - `upper`: Up... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2023/WS-11.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Women's Singles (1 - 32)",
table(
columns: 4,
[排名], [运动员], [国家/地区], [积分],
[1], [孙颖莎], [CHN], [3628],
[2], [陈梦], [CHN], [3437],
[3], [王曼昱], [CHN], [3406],
[4], [陈幸同], [CHN], [3313],
[5], [早田希娜], [JPN], [3302],... | |
https://github.com/dipamsen/typst-playground | https://raw.githubusercontent.com/dipamsen/typst-playground/main/README.md | markdown | # Typst Playground
Demo app to render Typst on the web, using typst.ts.
| |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/meeting_minutes/week_07.typ | typst | = Project Meeting 31.10.2023 08:15 - 09:15 (MS Teams)
== Participants
- Prof. Dr. <NAME>
- <NAME>
- <NAME>
== Agenda
- Discussion of Advisor's thoughts on the current design concept for visual function composition
- Discussion of Unification & Lambda Calculus
- Look at ML Type Inference
- Look at #link("https://ww... | |
https://github.com/christopherkenny/tufte | https://raw.githubusercontent.com/christopherkenny/tufte/main/_extensions/tufte/typst-template.typ | typst | Other | #let wideblock(content) = block(width: 100% + 2.5in, content)
#let tufte(
title: none,
subtitle: none,
shorttitle: none,
document-number: none,
authors: none,
date: datetime.today(),
abstract: none,
publisher: none,
abstract-title: none,
margin: (left: 1in, right: 3.5in, y: 1.5in),
paper: "us-let... |
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/tests/kl/test.typ | typst | MIT License | #import "@local/schule:1.0.0": kl
#import kl: *
#import "@preview/finite:0.3.0": automaton, layout, transition-table, cetz, draw, powerset
#show: klausur.with(
autor: "<NAME>",
kuerzel: "Ngb",
titel: "1. Klausur",
reihe: "Automaten und formale Sprachen",
nummer: "1",
fach: "Informatik",
kurs: "Q1 LK",
... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/138.%20vw.html.typ | typst | vw.html
Snapshot: Viaweb, June 1998
January 2012A few hours before the Yahoo acquisition was announced in June 1998
I took a snapshot of Viaweb's
site. I thought it might be interesting to look at one day.The first thing one notices is is how tiny the pages are. Screens
were a lot smaller in 1998. If I remember cor... | |
https://github.com/pauladam94/ENS-Rennes-Typst-Slides-Template | https://raw.githubusercontent.com/pauladam94/ENS-Rennes-Typst-Slides-Template/main/README.md | markdown | # ENS-Rennes-Typst-Slides-Template
Typst Slide Template for ENS Rennes
You have to download all of the files in your Tyspt Project.
Then you write in the main.typ your presentation. There is already example of what you can do with the template (and how to do it).
| |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/011%20-%20Journey%20into%20Nyx/004_Thank%20the%20Gods.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Thank the Gods",
set_name: "Journey into Nyx",
story_date: datetime(day: 30, month: 04, year: 2014),
author: "<NAME>",
doc
)
"Thank the gods!" the red-faced midwife exclaimed as Raissa's son began to emerge. The baby fought Raissa savagely ... | |
https://github.com/gianzamboni/cancionero | https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/evil-like-me.typ | typst | #import "../theme.typ": *;
== Evil Like Me
=== <NAME> & <NAME>
Look at you, look at me, \
I don’t know who to be, mother \
Is it wrong? Is it right? \
Be a thief in the night?, mother \
Tell me what to do
#newVerse
I was once like you, my child, slightly insecure \
Argued with my mother too, thought I was mature ... | |
https://github.com/gforges/PowerMEMs_template | https://raw.githubusercontent.com/gforges/PowerMEMs_template/main/template_proceeding_power_mems.typ | typst | #let template_proceeding(
title: none,
authors: (),
abstract: [],
keywords: [],
affiliations: (),
corps_du_texte,
) = {
set math.equation(numbering:"(1)",number-align:horizon)
set page(
paper: "a4",
margin: (x: 1.9cm, y: 1.9cm),
)
set text(
lang: "En",
font: "Times New R... | |
https://github.com/typst-doc-cn/typst-doc-cn | https://raw.githubusercontent.com/typst-doc-cn/typst-doc-cn/main/README.md | markdown | # Typst 中文文档网站
社区驱动的非官方 Typst 中文文档.
https://typst-doc-cn.github.io/docs/
GitHub Repo:https://github.com/typst-doc-cn/typst-doc-cn.github.io
Gitee 镜像:https://gitee.com/orangex4/typst-doc-cn.github.io
## 贡献
1. Fork 仓库 https://github.com/typst-doc-cn/typst-doc-cn.github.io
2. 更改 `./docs/src` 目录下的 Markdown 文件 (不用修改文件... | |
https://github.com/hewliyang/fyp-typst | https://raw.githubusercontent.com/hewliyang/fyp-typst/main/ablations.typ | typst | #set heading(numbering: "1.")
#import "@preview/showybox:2.0.1": showybox
= Ablations
In this section, we describe retraining the NISQA architecture from scratch on naturalness MOS with the newer self-attention layers described in @Mittag_2021 instead of the BiLSTM @Mittag_2020 architecture to investigate it's behavi... | |
https://github.com/kairosiot/software.2024.11-Document_Template | https://raw.githubusercontent.com/kairosiot/software.2024.11-Document_Template/main/tests/long-part-title/test.typ | typst | Other | #import "../../typst-orange.typ": project, part, chapter, my-bibliography, appendices
#let mainColor = rgb("#F36619")
#set text(font: "Lato")
#show math.equation: set text(font: "Fira Math")
#show raw: set text(font: "Fira Code")
#show: project.with(
title: "Exploring the Physical Manifestation of Humanity’s Subco... |
https://github.com/An-314/Notes-of-DSA | https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/stack%26queue.typ | typst | = 栈与队列Stack & Queue
== 栈Stack
=== 接口与实现
栈(stack)是受限的序列
- 只能在栈顶(top)插入和删除
- 栈底(bottom)为盲端
- 后进先出(LIFO),先进后出(FILO)
基本接口是
- `size()` / `empty()`
- `push()` 入栈
- `pop()` 出栈
- `top()` 查顶
- 扩展接口: `getMax(`)...
直接基于向量或列表派生
```cpp
template <typename T> class Stack: public Vector<T> { //原有接口一概沿用
public:
void push( T cons... | |
https://github.com/rabotaem-incorporated/calculus-notes-2course | https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/06-fourier-series/03-trigonometrical-fourier-series.typ | typst | #import "../../utils/core.typ": *
== Тригонометрические ряды Фурье
#ticket[Тригонометрические многочлены и ряды. Коэффициенты Фурье сходящихся тригонометрических рядов.]
#def[
_Тригонометрическим многочленом_ назовем сумму вида
$
a_0/2 + sum_(k = 1)^n (a_k cos (k x) + b_k sin (k x)).
$
Его степень $n$, е... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/042%20-%20Strixhaven%3A%20School%20of%20Mages/005_The%20Chains%20That%20Bind.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Chains That Bind",
set_name: "Strixhaven: School of Mages",
story_date: datetime(day: 31, month: 03, year: 2021),
author: "<NAME>",
doc
)
"I don't know why I'm here," said Maraff, taking another sip of tea. "I don't need tutoring, and d... | |
https://github.com/liuguangxi/erdos | https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p156.typ | typst | #import "@preview/cetz:0.2.1"
#cetz.canvas({
import cetz.draw: *
let stroke-color = rgb("#03A9F4").darken(50%)
let fill-color = rgb("#03A9F4").darken(30%)
let a = 0.85
set-style(stroke: stroke-color + 1.5pt, fill: fill-color)
rect((0, 0), (10.5-0.15, 7-0.15), fill: none)
rect((0.5, 0.5),... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/line_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(height: 60pt)
#box({
set line(stroke: 0.75pt)
place(line(end: (0.4em, 0pt)))
place(line(start: (0pt, 0.4em), end: (0pt, 0pt)))
line(end: (0.6em, 0.6em))
}) Hello #box(line(length: 1cm))!
#line(end: (70%, 50%))
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/methods.typ | typst | Apache License 2.0 | // Test method calls.
// Ref: false
---
// Test whitespace around dot.
#test( "Hi there" . split() , ("Hi", "there"))
---
// Test mutating indexed value.
#{
let matrix = (((1,), (2,)), ((3,), (4,)))
matrix.at(1).at(0).push(5)
test(matrix, (((1,), (2,)), ((3, 5), (4,))))
}
---
// Test multiline chain in code bl... |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/机器视觉实践/报告/7/7.typ | typst | The Unlicense | #import "../template.typ": *
#show: project.with(
title: "7",
authors: ("absolutex",),
)
= 机器视觉实践 七
== 实验目的
结肠镜图像局部分割
+ 编程实现结肠镜图像局部分割
+ 要求用曲线分割出息肉的区域
== 实验代码
一般的图像处理应该很难做到这一点,所以直接使用大模型。
模型是 kaggle 上的 Automatic Polyp Detection in Colonoscopic Frames,使用 U-Net: Convolutional Networks for Biomedical Image Segme... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/shorthand-02.typ | typst | Other | - En dash: --
- Em dash: ---
|
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap2/6_nonlinear_conduction.typ | typst | Other | #import "../../core/core.typ"
=== Nonlinear conduction
#quote(
attribution: [<NAME>, Astrophysicist],
block: true,
)[
Advances are made by answering questions. Discoveries are made by questioning answers.
]
Ohm's Law is a simple and powerful mathematical tool for helping us analyze electric circuits, but it ha... |
https://github.com/morrisLuke/typst_quarto_barebones_report_template | https://raw.githubusercontent.com/morrisLuke/typst_quarto_barebones_report_template/main/typst-template.typ | typst | #let psc-report(
title: "title",
body,
) = {
set text(
font: "Arial",
size: 12pt,
)
set page(
"us-letter",
margin: (left: 1in, right: 1in, top: 1.25in, bottom: 1in),
header: align(center + bottom, image("assets/logo-rectangle.png", height: 70% )),
footer: align(
gr... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/linebreak-05.typ | typst | Other | // Test consecutive breaks.
Two consecutive \ \ breaks and three \ \ more.
|
https://github.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper | https://raw.githubusercontent.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper/main/nju-thesis/templates/bachelor-abstract.typ | typst | MIT License | #import "@preview/t4t:0.3.2": is
#import "../utils/style.typ": 字号, 字体
#import "../utils/indent.typ": fake-par
#import "../utils/double-underline.typ": double-underline
#import "../utils/invisible-heading.typ": invisible-heading
// 本科生中文摘要页
#let bachelor-abstract(
// documentclass 传入的参数
anonymous: false,
twoside:... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/em_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set text(size: 5pt)
A // 5pt
#[
#set text(size: 2em)
B // 10pt
#[
#set text(size: 1.5em + 1pt)
C // 16pt
#text(size: 2em)[D] // 32pt
E // 16pt
]
F // 10pt
]
G // 5pt
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-04.typ | typst | Other | // Block in expression does create a scope.
#let a = {
let b = 1
b
}
#test(a, 1)
// Error: 3-4 unknown variable: b
#{b}
|
https://github.com/RanolP/resume | https://raw.githubusercontent.com/RanolP/resume/main/resume.typ | typst | #import "modules/util.typ": *
#import "modules/activity.typ": *
#import "modules/components.typ": *
#import "modules/github.typ": *
#import "modules/solved-ac.typ": *
#import "metadata.typ": metadata
#set page(
paper: "a4",
margin: (top: 1.5cm, left: 1.5cm, right: 1.5cm, bottom: 1.8cm),
header: context {
if ... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Capture/Quotes.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: "Quotes",
authors: (
"<NAME>",
),
date: "14 Octobre, 2023",
)
#set heading(numbering: "1.1.")
#emph[Le moi est un autre qui se fait pa... | |
https://github.com/jneug/typst-ccicons | https://raw.githubusercontent.com/jneug/typst-ccicons/main/README.md | markdown | MIT License | <div align="center">
<h1>ccicons (v1.0.0)</h1>
Creative Commons icons for your Typst documents</div>
----
> [!NOTE]
> `ccicons` is an adaption of the [ccicons package](https://ctan.org/pkg/ccicons) for LaTeX by [<NAME>](https://github.com/ummels).
## Getting Started
> [!IMPORTANT]
> As of now, the package is not pu... |
https://github.com/hei-templates/hevs-typsttemplate-thesis | https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/02-main/00-acknowledgements.typ | typst | MIT License | #pagebreak()
#heading(numbering:none)[Acknowledgements] <sec:ack>
#lorem(50)
#lorem(50)
|
https://github.com/savonarola/emqx-slides | https://raw.githubusercontent.com/savonarola/emqx-slides/main/main.typ | typst | #import "emqx-slides.typ": emqx-slides, frame
#show: emqx-slides.with(
font-family: none,
title: "EMQX Super new feature",
subtitle: "Doing this and that",
date: "2024",
authors: ("<NAME>", "EMQX Team"),
layout: "medium",
ratio: 4/3,
title-color: none,
)
== Slide 1 #lorem(10)
XXXX
- Bullet 1
- Bulle... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/datify/0.1.1/datify.typ | typst | Apache License 2.0 | #let dayNames = toml("dayName.toml")
#let monthNames = toml("monthName.toml")
#let firstLetterToUpper(string) = (
string.replace(regex("^\w"), m=>{upper(m.text)})
)
#let dayName(weekday, lang: "en", upper: false) = (
let weekdayToStr = str(weekday),
if upper == true {
return firstLetterToUpper(dayNames.a... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/solutions/s0014.typ | typst | #import "../helpers.typ": *
#let longest-common-prefix-ref(strs) = {
let strs = strs.map(x => x.clusters())
let i = 0
let n = strs.len()
let ans = ("",) // We put an empty string here to avoid returning none
while i >= 0 {
for j in range(n) {
if strs.at(j).len() <= i or strs.at(j).at(i) != strs.at(... | |
https://github.com/RhenzoHideki/com1 | https://raw.githubusercontent.com/RhenzoHideki/com1/main/Relatorio-03/Relatorio-03.typ | typst | #import "@preview/klaro-ifsc-sj:0.1.0": report
#show: doc => report(
title: "Relatório 03",
subtitle: " Sistemas de comunicação I (COM029007)",
// Se apenas um autor colocar , no final para indicar que é um array
authors:("<NAME>",),
date: "17 de março de 2024",
doc,
)
= Introdução
Este relatório apresen... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/i18n/zh/docusaurus-plugin-content-docs/current/utilities/oop.md | markdown | ---
sidebar_position: 1
---
# 面向对象编程
Touying 提供了一些便利的工具函数,便于进行面向对象编程。
---
```typst
#let empty-object = (methods: (:))
```
一个空类。
---
```typst
#let call-or-display(self, it) = {
if type(it) == function {
return it(self)
} else {
return it
}
}
```
调用或原样输出。
---
```typst
#let methods(self) = { .. }
```... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/design/design.typ | typst | #import "../../../style.typ": *
#part("Design")
This part describes the requirements, the design proposals, the design evaluation process, and the detailed final design for VisualFP.
#include_section("design_concept/content/design/functional_requirements.typ")
#include_section("design_concept/content/design/non_func... | |
https://github.com/matchy233/typst-chi-cv-template | https://raw.githubusercontent.com/matchy233/typst-chi-cv-template/main/CHANGELOG.md | markdown | MIT License | # [v1.1](https://github.com/matchy233/typst-chi-cv-template/releases/tag/1.1)
## Added
- Impelement `#personal-info` function, which accepts the following inputs and generates a line of personal info with icon separated by vertical line symbols accordingly
- `email`, `phone`, `github`,` linkedin` and `website`, wit... |
https://github.com/johannesbrandenburger/typst-build-server | https://raw.githubusercontent.com/johannesbrandenburger/typst-build-server/main/example-project/main.typ | typst | #let data = json("data.json")
#let name = data.name
= Hello, #name!
== Example Image
#figure(
image(
"img/resume-generator.png",
width: 10cm
)
) | |
https://github.com/yhtq/Notes | https://raw.githubusercontent.com/yhtq/Notes/main/抽象代数/作业/hw6.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: note.with(
title: "作业6",
author: "YHTQ ",
date: none,
logo: none,
withOutlined: false
)
= P64
== 5.
#answer[
显然 $6 = 2 * 3$,由 $p q$ 阶群至多只有两种知... | |
https://github.com/alberto-lazari/cv | https://raw.githubusercontent.com/alberto-lazari/cv/main/modules_en/certifications.typ | typst | #import "/common.typ": *
= Certifications
#honor(
date: [January 2023],
title: [English B2 - Speaking],
issuer: [University of Padua],
)
#honor(
date: [July 2022],
title: [Laurea in Informatica],
issuer: [University of Padua],
)
#honor(
date: [September 2019],
title: [English B2 - Reading and Listeni... | |
https://github.com/thimotedupuch/Template_Rapport_ISMIN_Typst | https://raw.githubusercontent.com/thimotedupuch/Template_Rapport_ISMIN_Typst/main/main.typ | typst | #set page(margin: 0%)
#set text(font: "New Computer Modern",lang: "fr")
#set heading(numbering:"I.1.")
// Permet de générer le rendu des blocs de code
#show raw: x=>rect(
radius: 5pt,
fill:luma(245),
stroke:0.7pt+black,
width: 100%,
text(font: "Cascadia Code",weight: "medium",size:8pt,x)
)
#let violet_... | |
https://github.com/gabrielluizep/klaro-ifsc-sj | https://raw.githubusercontent.com/gabrielluizep/klaro-ifsc-sj/main/template/main.typ | typst | MIT License | #import "@preview/klaro-ifsc-sj:0.1.0": report
#show: doc => report(
title: "Typst IFSC-SJ",
subtitle: "Um template para o Typst voltado para",
// Se apenas um autor colocar , no final para indicar que é um array
authors: ("<NAME>",),
date: "13 de Setembro de 2023",
doc,
)
= Soft
== Close
=== Closest
@har... |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/信息论与编码/第二章作业.typ | typst | The Unlicense | #import "../template.typ": *
#import "@preview/tablem:0.1.0": tablem
#import "@preview/mitex:0.2.4": *
#import "@preview/cetz:0.2.2"
#show: project.with(
title: "2",
authors: ("absolutex",),
)
#set par(first-line-indent: 0em) // 不换行
#show heading: it => {
set text(font: 字体.黑体)
if it.level == 1 {
pagebreak... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/bookletic/0.1.0/README.md | markdown | Apache License 2.0 | # Bookletic :book:
Create beautiful booklets with ease.
The current version of this library (0.1.0) contains a single function to take in an array of content blocks and order them into a ready to print booklet, bulletin, etc. No need to fight with printer settings or document converters.
### Example Output
Here i... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/linebreak_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Page breaks can happen after a relation even if there is no
// explicit space.
#let hrule(x) = box(line(length: x))
#hrule(90pt)$<;$\
#hrule(95pt)$<;$\
#hrule(90pt)$<)$\
#hrule(95pt)$<)$
|
https://github.com/rem3-1415926/Typst_Thesis_Template | https://raw.githubusercontent.com/rem3-1415926/Typst_Thesis_Template/main/template.typ | typst | MIT License |
#let thesis(
// Title of the thesis or work
thesis_title: "Some Thesis",
// A Short description below the title on the cover
sub_title: "Engineering an advanced innovation",
// Thesis author or authors. Use array syntax.
authors: ("Author1", ),
// Advisor or Professor. Use array syntax.
adviso... |
https://github.com/mariuslb/thesis | https://raw.githubusercontent.com/mariuslb/thesis/main/abstract.typ | typst | Diese Bachelorarbeit analysiert den Energieverbrauch von Elektro- und Verbrennungsfahrzeugen unter Verwendung der ISO 23795-1:2022. Ziel der Arbeit ist es einerseits, die Effizienz und Nachhaltigkeit von Elektrofahrzeugen im Vergleich zu Verbrennungsmotoren zu untersuchen. Im Rahmen dieser Untersuchung wurden detaillie... | |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/Anhang/06_Jira/02_stories.typ | typst | === Open Stories <appendixOpenStories>
In den nachfolgenden Tabellen ist eine Übersicht zu finden, welche sortiert nach Epic ist.
#figure(
table(
columns: (auto, auto, auto, auto),
align: left,
[*Issue Key*], [*Summary*], [*Prio*], [*Epic*],
[DI-02],[Beispiel Story],[Lowest],[Beispiel Epic],
),
capti... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/must_know/place.md | markdown | MIT License | # Placing, Moving, Scale & Hide
This is **a very important section** if you want to do arbitrary things with layout,
create custom elements and hacking a way around current Typst limitations.
TODO: WIP, add text and better examples
# Place
_Ignore layout_, just put some object somehow relative to parent and current... |
https://github.com/PgBiel/typst-tablex | https://raw.githubusercontent.com/PgBiel/typst-tablex/main/tablex-test.typ | typst | MIT License | #import "tablex.typ": *
*Test*
test
deeteeeeereeeedetteeeee
// vvvv causes the dreaded warning (alongside another table downwards)
#tablex(
columns: (auto, auto, auto), // rows: ((1em, 1em, 1em),) eeee
rows: (auto,),
column-gutter: 1fr,
row-gutter: none,
repeat-header: (3, 4),
header-hlines-h... |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/meeting_minutes/week_02.typ | typst | #import "../../../acronyms.typ": *
= Project Meeting 26.09.2023 08:15 - 09:00 (MS Teams)
== Participants
- Prof. Dr. <NAME>
- <NAME>
- <NAME>
== Agenda
- Presentation of the rough project plan
- Presentation of researched tools (Snap!, Eros, Flo, Enso)
- Questions:
- Is there a deadline for signing the official d... | |
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/layers/debug.typ | typst | The Unlicense | #import "../pipeline/primitives.typ"
#let validation(input, output, next) = {
output += input.map(it=>{
if type(it) != dictionary {return "Unexpected command structure " + repr(it)}
}).filter(it=>it!=none)
next(input, output)
}
#let input-assembler(input, output, next)={
next(input, output)
}
#let comput... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/place-nested_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#box(fill: aqua)[
#place(bottom + right)[Hi]
Hello World \
How are \
you?
]
|
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week9.typ | typst | #import "../../utils.typ": *
#align(
center,
[#image("../../Screenshots/2023_11_16_03_56_28.png", width: 80%)],
)
#subsection("Base href")
- uses history.pushState() -> lmao
- HTML5 style navigation
- can be overriden with \#navigation
- Register provider for LocationStrategy as HashLocationStrategy class
... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/010_Building%20Toward%20a%20Dream%2C%20Part%201.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Building Toward a Dream, Part 1",
set_name: "Theros",
story_date: datetime(day: 27, month: 11, year: 2013),
author: "<NAME>",
doc
)
My dearest Klytessa—
Will you open this letter? Will you read it? Or will you toss it into the fire? As you... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/font-03.typ | typst | Other | // Error: 18-24 expected "normal", "italic", or "oblique"
#set text(style: "bold", weight: "thin")
|
https://github.com/barrel111/readings | https://raw.githubusercontent.com/barrel111/readings/main/notes/randomized-algo.typ | typst | #import "@local/preamble:0.1.0": *
#import "@preview/lovelace:0.2.0": *
#show: setup-lovelace
#show: project.with(
course: "",
sem: "",
title: "randomized algorithms",
subtitle: "wow its different",
authors: ("<NAME>",),
authors_label: "author:",
)
= Introduction
#algorithm(caption: [`KN-GREEDY`], pseud... | |
https://github.com/DVDTSB/ctheorems | https://raw.githubusercontent.com/DVDTSB/ctheorems/main/0.1.0/README.md | markdown | # ctheorems
Theorem library based on (and compatible) with [typst-theorems](https://github.com/sahasatvik/typst-theorems).
### Features
- Numbered theorem environments can be created and customized.
- Awesome presets (coming soon!)
- Environments can share the same counter, via same `identifier`s.
- Environment count... | |
https://github.com/taooceros/MATH-542-HW | https://raw.githubusercontent.com/taooceros/MATH-542-HW/main/HW8/HW8.typ | typst | #import "@local/homework-template:0.1.0": *
// 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: "Math 542 HW7", authors: ("<NAME>",))
= Factorization of Cyclotomic Polynomials
Let $l$ be a prime and let $Phi_l (x) = (x^l - 1... | |
https://github.com/tfachada/thesist | https://raw.githubusercontent.com/tfachada/thesist/main/src/figure-numbering.typ | typst | MIT License | // Set/reset numbering in the given format for figures of different kinds, as well as equations
// Does NOT apply to figures with subfigures
#let set-figure-numbering(it, new-format: none) = {
// Set chapter-relative numbering for images
let image-numbering = super => numbering(new-format, counter(heading).get().f... |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/display_math/display_math.typ | typst | $ Q = rho A v + C $
$ a^2 + b^2 = c^2 $ | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/te-legend-movement.typ | typst | // https://typst.app/project/pfWcjFhGMJUyVTvJ8daQrR,
#import "@preview/cetz:0.2.0"
#let typst-rotate = rotate
// we rotate the vertical legend so that it is not sideways
// rename the rotate function because it exists in cetz
#let graph(o) = {
// we can import cetz inside of function scopes
cetz.canvas({
... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1A00.typ | typst | Apache License 2.0 | #let data = (
("BUGINESE LETTER KA", "Lo", 0),
("BUGINESE LETTER GA", "Lo", 0),
("BUGINESE LETTER NGA", "Lo", 0),
("BUGINESE LETTER NGKA", "Lo", 0),
("BUGINESE LETTER PA", "Lo", 0),
("BUGINESE LETTER BA", "Lo", 0),
("BUGINESE LETTER MA", "Lo", 0),
("BUGINESE LETTER MPA", "Lo", 0),
("BUGINESE LETTER TA... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/duration.typ | typst | // Test durations.
--- duration-negate ---
// Test negating durations.
#test(-duration(hours: 2), duration(hours: -2))
--- duration-add-and-subtract ---
// Test adding and subtracting durations.
#test(duration(weeks: 1, hours: 1), duration(weeks: 1) + duration(hours: 1))
#test(duration(weeks: 1, hours: -1), duration(... | |
https://github.com/Ryoga-itf/numerical-analysis | https://raw.githubusercontent.com/Ryoga-itf/numerical-analysis/main/report2/report.typ | typst | #import "../template.typ": *
#import "@preview/codelst:2.0.1": sourcecode, sourcefile
#show: project.with(
week: 2,
authors: (
(
name: sys.inputs.STUDENT_NAME,
id: sys.inputs.STUDENT_ID,
affiliation: "情報科学類2年"
),
),
date: "2024 年 6 月 17 日",
)
== 課題1
=== (1.1)
コードは以下のようになった。
補間多項式の係数... | |
https://github.com/donghoony/typst_editorial | https://raw.githubusercontent.com/donghoony/typst_editorial/main/main.typ | typst | MIT License | #import "template.typ": *
#import "result.typ": result_page
#import "colors.typ": *
#import "division_abstract.typ" : abstract_page
#import "problem_title.typ" : problem_text
#import "description.typ" : descriptions
#import "details.typ" : *
#set page(flipped: true)
#show: project.with(
title: "230622 모의대회 해설",
a... |
https://github.com/Maso03/Bachelor | https://raw.githubusercontent.com/Maso03/Bachelor/main/Bachelorarbeit/chapters/timeline.typ | typst | MIT License | #import "@preview/timeliney:0.0.1"
#timeliney.timeline(
show-grid: true,
{
import timeliney: *
headerline(
group(([*KW28*], 1)), group(([*KW29*], 1)), group(([*KW30*], 1)),
group(([*KW31*], 1)), group(([*KW32*], 1)), group(([*KW33*], 1)), group(([*KW34*], 1)),
group(([*KW35*], 1)), group... |
https://github.com/liuguangxi/erdos | https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p321_2_1.typ | typst | #import "@preview/cetz:0.2.1"
#cetz.canvas(length: 6pt, {
import cetz.draw: *
let a = 6
let b = 18
let dx = a
let dy = calc.sqrt(3)*a
line(stroke: none, fill: orange.lighten(30%), close: true,
(a - dx, 0 - dy), (0.5*a - dx, 0.5*calc.sqrt(3)*a - dy), (-0.5*a - dx, 0.5*calc.sqrt(3)*a - dy)... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/principles.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book-page.with(title: "Tinymist Principles")
Four principles are followed.
== Multiple Actors
The main component, #link("https://github.com/Myriad-Dreamin/tinymist/tree/main/crates/tinymist")[tinymist], starts as a thread or process, obeying the #link("https://microsoft.github.io/languag... |
https://github.com/0x6e66/hbrs-typst | https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/template/titlepage.typ | typst | #import "../ads/meta.typ": *
#import "utils.typ": *
#let titlepage = {
set page(
background: {
place(center + horizon, circle(radius: 12cm, fill: rgb("#009fd6"), stroke: none), dx: 16cm)
place(center + horizon, circle(radius: 12cm, fill: rgb("#009fd6"), stroke: none), dx: -16cm)
place(cen... | |
https://github.com/MilanR312/ugent_typst_template | https://raw.githubusercontent.com/MilanR312/ugent_typst_template/main/template/prependices.typ | typst | MIT License | // add all prependices here like "woord vooraf"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.