repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/soupslurpr/BeauTyXT | https://raw.githubusercontent.com/soupslurpr/BeauTyXT/main/README.md | markdown | ISC License | # BeauTyXT
BeauTyXT is a beautiful, private, secure, and minimalistic Text, Markdown, and Typst editor.\
Now sandboxes all Rust code in separate processes for better protection against exploitation – because that's what
the cool kids do 😎
## About
Check out the official website at https://beautyxt.app/ for more inf... |
https://github.com/ufodauge/master_thesis | https://raw.githubusercontent.com/ufodauge/master_thesis/main/src/template/components/intro-section/toc-figure.typ | typst | MIT License | #import "@preview/oxifmt:0.2.0": strfmt
#import "../common/page.typ" : Page
#let TocFigurePage(title: "図目次", target: image) = locate(loc => [
#let images = query(figure.where(outlined: true, kind: target), loc)
#let lines = images.fold((
lines : (),
options: ( latest_chapter: none )
), (( lines, opti... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/bibliography-00.typ | typst | Other | // Test ambiguous reference.
= Introduction <arrgh>
// Error: 1-7 label occurs in the document and its bibliography
@arrgh
#bibliography("/works.bib")
|
https://github.com/a-mhamdi/graduation-report | https://raw.githubusercontent.com/a-mhamdi/graduation-report/main/Typst/en-Report/CP-Report.typ | typst | MIT License | // CAPSTONE PROJECT
#import "Class.typ": *
#import "Title-page.typ": *
#set document(author: author, title: title, keywords: keywords, date: auto)
// The project function is called with the content of the document.
#show: report.with(
title: title,
titre: titre,
diploma: diploma,
program: program,
supervis... |
https://github.com/dark-flames/resume | https://raw.githubusercontent.com/dark-flames/resume/main/data/interest.typ | typst | MIT License | #import "../libs.typ": *
#let interest(env) = {
cv-content(env, {
multiLang(env, en: [== Research Interests])
[
- _Implementation of dependently typed programming languages_ , focusing on features such as pattern matching.
- _Semantic models of type theories_, especially categorical semantics,... |
https://github.com/buxx/cv | https://raw.githubusercontent.com/buxx/cv/master/README.md | markdown | To build the cv, install [typst](https://typst.app/) then :
typst compile cv.typ
| |
https://github.com/0x6e66/hbrs-typst | https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/ads/meta.typ | typst | // 'de' or 'en'
#let language = "de"
#let author_first_name = "Maxim"
#let author_last_name = "Mustermann"
#let author_matrikel_number = "123456"
#let author_course = "course_id"
#let thesis_supervisor_first = "Prof. Dr. <NAME>"
#let thesis_supervisor_second = "Dr. <NAME>"
#let thesis_supervisor_third = "<NAME>"
#le... | |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/可视化/线条/xiantiao.typ | typst | = 线条
定义如何绘制线条。
描边具有油漆(纯色或渐变)、粗细、线帽、线连接、斜接限制和虚线图案。所有这些值都是可选的,并且具有合理的默认值。
#image("1.png")
= 简单的笔画
您可以从颜色、粗细或两者的组合创建简单的实心描边。具体来说,无论在哪里需要笔画,您都可以传递以下任何值:
指定描边粗细的长度。颜色是继承的,默认为黑色。
用于描边的颜色。厚度是继承的,默认为 。1pt
使用运算符从颜色和粗细组合而成的描边,如 中所示。+2pt + red
为了实现完全控制,您还可以为任何需要笔画的函数提供字典或对象。字典的键可以包含构造函数的任何参数,如下所示。stroke
= 领域
在描边对象上,您可以访问构造... | |
https://github.com/SSSayon/analytical-mechanics | https://raw.githubusercontent.com/SSSayon/analytical-mechanics/main/note.typ | typst | #import "conf/conf.typ": *
#show: conf
#set math.vec(gap: 0.8em)
#set math.mat(gap: 0.6em)
#align(center, text("Notes on Analytical Mechanics", size: 15pt))
#align(center, "Sayon")
#align(center, "2024 spring")
教材: <NAME>, _Mathematical methods of classical mechanics_
1. Newtonian mechanics
2. Lagrangian mechani... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/tracking-spacing-02.typ | typst | Other | // Test that tracking doesn't disrupt mark placement.
#set text(font: ("PT Sans", "Noto Serif Hebrew"))
#set text(tracking: 0.3em)
טֶקסט
|
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Interi/Divisione.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Metodi_defs.typ": *
Dati due numeri interi $n$ e $m$, con $n > m > 0$, l'operazione di
*divisione euclidea* (o *divisione intera*) induce due numeri interi
$q$ e $r$, chiamati rispettivamente _quoziente_ e _resto_, tali che
il prodotto fra $m$ e $q$ é il multiplo di $m$ che piú si avvicina
ad $n$ per difet... |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/charts.typ | typst | #import "@preview/cetz:0.2.2": canvas, chart, draw, palette, plot
#let data = ((19, 0, 1, 0), (22, 1, 0, 0), (23, 10, 0, 0), (24, 1, 0, 0), (25, 1, 0, 0), (28, 2, 0, 0), (31, 1, 0, 0), (54, 0, 1, 0), (55, 1, 0, 0), (56, 0, 1, 0), (60, 1, 0, 0))
#let age_gender = canvas({
draw.set-style(legend: (fill: white))
char... | |
https://github.com/liuguangxi/fractusist | https://raw.githubusercontent.com/liuguangxi/fractusist/main/tests/test-sierpinski-triangle.typ | typst | MIT License | #set document(date: none)
#import "/src/lib.typ": *
#set page(margin: 1cm)
= n = 1
#align(center)[
#sierpinski-triangle(1, step-size: 40)
]
= n = 2
#align(center)[
#sierpinski-triangle(2, step-size: 30, fill-style: gray, stroke-style: none)
]
= n = 3
#align(center)[
#sierpinski-tr... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/loading/toml.typ | typst | --- toml ---
// Test reading TOML data.
#let data = toml("/assets/data/toml-types.toml")
#test(data.string, "wonderful")
#test(data.integer, 42)
#test(data.float, 3.14)
#test(data.boolean, true)
#test(data.array, (1, "string", 3.0, false))
#test(data.inline_table, ("first": "amazing", "second": "greater") )
#test(data.... | |
https://github.com/magic3007/cv-typst | https://raw.githubusercontent.com/magic3007/cv-typst/master/doc/interests.typ | typst | Modeling and Optimization in VLSI CAD, Machine Learning Applications, HPC, MLSys, Probabilistic Modeling | |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/font-paths.md | markdown | MIT License | <!-- markdownlint-disable-file first-line-h1 -->
List of sources specifying paths to font files that will be made available to
your Typst project. With this, you can compile Typst projects even when the
fonts it uses are not available on your system.
Used for setting `TYPST_FONT_PATHS` (see [`text#font`][typst-ref-te... |
https://github.com/bigskysoftware/hypermedia-systems-book | https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/-2-dedication.typ | typst | Other | #align(
horizon,
)[
#show emph: set text(size: 1.4em)
#set par(first-line-indent: 0pt)
#show par: it => block(spacing: 1.6em, it)
_To my family and the htmx discord._ --- <NAME>
_To my wife Tarunya, for her support through the ups and downs of this project._ --- <NAME>
_<NAME> ve babam Özgür Akşimşek’e... |
https://github.com/lkndl/typst-bioinfo-thesis | https://raw.githubusercontent.com/lkndl/typst-bioinfo-thesis/main/modules/info-covers.typ | typst | #import "styles.typ": *
#let info-front-style(body) = {
set align(center)
set block(spacing: 1em)
align(top, [
#image("logos/tum_logo.svg", width: 25%)
#par(leading: .5em, text(
weight: "extralight", size: 26pt,
upper([School of Computation, \ Information and Technology -- \ Informatics])))
... | |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/lezer.typ | typst | #import "/components/glossary.typ": gls
== The Lezer Parser System
<sec-lezer>
Manually crafting a robust parser for a programming language is a complex and time-consuming endeavor. To efficiently construct a parser capable of providing syntax analysis for any language, while also supporting #gls("lsp") integrat... | |
https://github.com/DaAlbrecht/thesis-TEKO | https://raw.githubusercontent.com/DaAlbrecht/thesis-TEKO/main/content/Configuration_management.typ | typst | #import "@preview/tablex:0.0.5": tablex, cellx
The microservice uses environment variables to configure the behavior. The following variables are supported:
#figure(
table(
columns: (1fr, 1fr,auto),
rows: (auto),
align: (left,left, center + horizon),
[*Variable*],
[*Description*],
[*D... | |
https://github.com/EgorGorshen/scripts-for-typst | https://raw.githubusercontent.com/EgorGorshen/scripts-for-typst/main/README.md | markdown | MIT License | # Scripts typst
Скрипты и настройки для ускорения работы на семинарах и лекциях
## Функционал
> `((numeric))` — матрица
- Работа с матрицами:
- `M(matrix)` — функция для отображения матриц в формате `math`
- `matT(matrix)` — транспанирование матрицы
- `rmatrix(n, m, mn: -20, mx: 20, rn: 122, tp: "in... |
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/notebook.typ | typst | Creative Commons Attribution Share Alike 4.0 International | //Cover
#include "cover.typ"
//Table of Contents
#include "toc.typ"
//Intro Section
#include "entries/intro/about.typ"
#include "entries/intro/introductions.typ"
//Pre-building Entires
#include "entries/pre_building/spin_up_reflections.typ"
#include "entries/pre_building/name_reveal.typ"
#include "entries/pre_buildi... |
https://github.com/YDX-2147483647/typst-pointless-size | https://raw.githubusercontent.com/YDX-2147483647/typst-pointless-size/main/README.md | markdown | MIT License | # Typst Pointless Size——字号 zìhào
中文字号的号数制及字体度量单位。
Chinese size system (hào-system) and type-related measurements units.
```typst
#import "@preview/pointless-size:0.1.0": zh, zihao
#set text(size: zh(5)) // 五号(10.5pt)
// or
#set text(zh(5))
#show: zihao(5)
// 小号用负数表示 use negative numbers for small sizes
#zh(-4) // ... |
https://github.com/Meisenheimer/Notes | https://raw.githubusercontent.com/Meisenheimer/Notes/main/main.typ | typst | MIT License | #import "@local/doc:1.0.0": *
#show: doc.with(
documentclass: "book",
title: "Handbook of Applied Mathematics",
language: "en",
show_outline: true,
subtitle: none,
authors: (
(
name: "<NAME>",
email: "<EMAIL>",
institude: none,
corresponding: true,
),
),
)
#part("Mathemat... |
https://github.com/Dav1com/minerva-report-fcfm | https://raw.githubusercontent.com/Dav1com/minerva-report-fcfm/master/lib/front.typ | typst | MIT No Attribution | #import "header.typ" as header
#import "footer.typ" as footer
#import "states.typ" as states
/// Crea un página y settea variables de estado requeridas
/// por otras funciones del template. Si buscas extender
/// el template con tu propia portada, es recomendado
/// pasarlo por esta función.
///
/// - it (content): Co... |
https://github.com/augustebaum/tenrose | https://raw.githubusercontent.com/augustebaum/tenrose/main/examples/simplegraph.typ | typst | MIT License | #import "@preview/diagraph:0.2.2": *
#set heading(numbering: (..nums) => [Graph #numbering("1", ..nums):])
#let render-example(dot, ..args) = style(styles => {
let code = raw(dot.text, lang: "dot")
let graph = render(dot.text, ..args)
let side-by-side = measure(code, styles).width + measure(graph, styles).widt... |
https://github.com/dogeystamp/typst-templates | https://raw.githubusercontent.com/dogeystamp/typst-templates/master/legacy/sfd.typ | typst | The Unlicense | // templates for online lecture notes
#import "../main.typ": gen_preamble, doc_template, mono_font, lref
#let template(
title: none,
authors: none,
lecture_url: none,
class: [Lecture notes],
body
) = {
doc_template(title: title, {
gen_preamble(
title: title,
authors: authors,
prefix:... |
https://github.com/rabotaem-incorporated/calculus-notes-2course | https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/05-complex-functions/05-laurent-series.typ | typst | #import "../../utils/core.typ": *
== Ряды Лорана
#ticket[Ряд Лорана. Кольцо сходимости. Единственность.]
#def[
_Ряд Лорана_ --- ряд вида
$
sum_(n = -oo)^(oo) c_n (z - z_0)^n.
$
_Правильной частью_ ряда Лорана называется $sum_(n = 0)^oo c_n (z - z_0)^n$.
_Главной частью_ ряда Лорана называ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10500.typ | typst | Apache License 2.0 | #let data = (
("ELBASAN LETTER A", "Lo", 0),
("ELBASAN LETTER BE", "Lo", 0),
("ELBASAN LETTER CE", "Lo", 0),
("ELBASAN LETTER CHE", "Lo", 0),
("ELBASAN LETTER DE", "Lo", 0),
("ELBASAN LETTER NDE", "Lo", 0),
("ELBASAN LETTER DHE", "Lo", 0),
("ELBASAN LETTER EI", "Lo", 0),
("ELBASAN LETTER E", "Lo", 0),... |
https://github.com/The-Notebookinator/notebookinator | https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/rules.typ | typst | The Unlicense | #import "./format.typ"
#import "./colors.typ": *
#import "/utils.typ"
#let rules = utils.make-rules(doc => {
set text(font: ("Calibri", "Carlito"), size: 11pt)
set page("us-letter")
set footnote.entry(separator: none)
// Enforce the correct font on Excalidraw drawings
show image: it => [
#align(center)... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/tracking-spacing_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test tracking.
#set text(tracking: -0.01em)
I saw Zoe yӛsterday, on the tram.
|
https://github.com/CaldeCrack/Typst-Templates | https://raw.githubusercontent.com/CaldeCrack/Typst-Templates/main/template.typ | typst | // Generic Typst template for university projects
/* Usage
#import "<path>/template.typ": *
#show: project.with(
title: "title",
subtitle: "subtitle",
author: ("First Member", "Second Member"),
prof: ("Professor", ),
aux: ("Auxiliar", ),
signature: "Course",
numbering: "a.1."
*/
// Generic Typst template... | |
https://github.com/htlwienwest/da-vorlage-typst | https://raw.githubusercontent.com/htlwienwest/da-vorlage-typst/main/lib/pages/dokumentation.typ | typst | MIT License | #import "@preview/tablex:0.0.8": tablex, colspanx, rowspanx, cellx
#import table: cell
#let dokumentation(persons: ()) = [
= Dokumentation der Diplomarbeit
#set text(11pt)
#set par(leading: 7pt)
#let std_space = 7mm
#let left_col = 6cm
#table(
columns: (left_col, 1fr),
[Verfasser], v(std_spac... |
https://github.com/lsacienne/UTBM-Internship-Report-Typst | https://raw.githubusercontent.com/lsacienne/UTBM-Internship-Report-Typst/main/example/test.typ | typst | MIT License | #import "../utbm.typ": cover, fourth-cover
#cover()
#fourth-cover()[#lorem(248)] |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/gentle-clues/0.8.0/lib/lib.typ | typst | Apache License 2.0 | #import "clues.typ": *
#import "predefined.typ": * |
https://github.com/adeshkadambi/ut-thesis-typst | https://raw.githubusercontent.com/adeshkadambi/ut-thesis-typst/main/0-abbrev.typ | typst | MIT License | #set terms(spacing: 2em, separator: h(1em, weak: true))
/ ADLs: Activities of Daily Living
/ SCI: Spinal Cord Injury |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cuti/0.1.0/demo-and-doc/demo-and-doc-cn.typ | typst | Apache License 2.0 | #import "../lib.typ": *
#import "@preview/sourcerer:0.2.1": code
#set par(justify: true)
#show heading: show-cn-fakebold
= Cuti Demo & 中文文档
== 简介
Cuti 是利用 `text` 的 `stroke` 属性生成伪粗体的工具。该工具通常可用于为宋体、黑体、楷体等字体提供“粗体”。
Cuti 使用 0.02857em 作为 `stroke` 的参数。在 Microsoft Office 中,使用伪粗体会给字符添加一个 0.02857em 的描边。(实际上,精确值可能是 $1/35$。... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-17.typ | typst | Other | // Error: 8 expected expression
#import
|
https://github.com/pluttan/asmlearning | https://raw.githubusercontent.com/pluttan/asmlearning/master/lab1/lab1.typ | typst | #import "@docs/bmstu:1.0.0":*
#show: student_work.with(
caf_name: "Компьютерные системы и сети",
faculty_name: "Информатика и системы управления",
work_type: "лабораторной работе",
work_num: "1",
discipline_name: "Машинно-зависимые языки и основы компиляции",
theme: "Изучение среды и отладчика ассемблера",
... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/014%20-%20Khans%20of%20Tarkir/006_The%20Chensal%20Twins.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Chensal Twins",
set_name: "Khans of Tarkir",
story_date: datetime(day: 15, month: 10, year: 2014),
author: "<NAME>",
doc
)
#emph[A thief stands accused. A Jeskai village is ready to mete out justice. But true justice has only one source... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/seminars/2024-09-23.typ | typst | Пусть $A_1, A_2, ..., A_k$ --- полная группа событий.
Делаем $n$ испытаний, хотим $m_i$ событий $A_i$, где $m_1 + m_2 + ... + m_k = n$:
$ P = n! dot (p_1^(m_1) p_2^(m_2) ... p_k^(m_k)) / (m_1! m_2! ... m_k!) $
= Задачи
== Задача 10
$ P(A) = P_3(2) + P_3(3) = 3 dot 0.7^2 dot 0.3 + 0.7^3 = 0.784 $
== Задача 11
8-ой ... | |
https://github.com/wyatt-feng/sustech-ug-thesis-typst | https://raw.githubusercontent.com/wyatt-feng/sustech-ug-thesis-typst/main/README.md | markdown | Other | # Typst Template for SUSTech UG Thesis<br/>南科大本科生毕业设计Typst模版

The full PDF file is available [here](./resources/sample.pdf), which includes the basic syntax of Typst.
## Usage
The templates in both languages are crafted based on the
[official template](https:... |
https://github.com/Joelius300/hslu-typst-template | https://raw.githubusercontent.com/Joelius300/hslu-typst-template/main/README.md | markdown | MIT License | # HSLU Typst Template
Simple [Typst](https://typst.app/) template for HSLU theses ([demo](main.pdf)). It's built from scratch, but I took some valuable inspiration from [DarkDampSquib/hslu_template_typst](https://github.com/DarkDampSquib/hslu_template_typst) for external packages.
Since the template is in German anyw... |
https://github.com/piepert/grape-suite | https://raw.githubusercontent.com/piepert/grape-suite/main/src/template/main.typ | typst | MIT License | #import "@preview/grape-suite:1.0.0": seminar-paper, german-dates
#set text(lang: "de")
#show: seminar-paper.project.with(
title: "Die Intensionalität von dass-Sätzen",
subtitle: "Intensionale Kontexte in philosophischen Argumenten",
university: [Universität Musterstadt],
faculty: [Exemplarische Faku... |
https://github.com/timetraveler314/Note | https://raw.githubusercontent.com/timetraveler314/Note/main/24/FPAA.typ | typst | #import "@local/MetaNote:0.0.1" : *
#let detm = math.mat.with(delim: "|")
#show: doc => MetaNote(
title: [
Functional Programming with Abstract Algebra,
],
authors: (
(
name: "timetraveler314",
affiliation: "University of Genshin",
email: "<EMAIL>",
),
),
doc,
)
#let opl = mat... | |
https://github.com/eduardz1/Bachelor-Thesis | https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/chapters/software-components.typ | typst | #import "../utils/common.typ": *
= Software Components <software-components>
The following is an overview of the software components it was necessary to
write to achieve our goals. The codebase is encompassed in different modules
with each being responsible for a distinct task, in particular, we have:
- A scheduler ... | |
https://github.com/xiongyaohua/typst-template-swjtu-thesis | https://raw.githubusercontent.com/xiongyaohua/typst-template-swjtu-thesis/main/test.typ | typst | #set heading(numbering: "1. 1")
= Heading 1
== Heading 2
#set math.equation(numbering: "(1)")
$ a + b $
$ a + b $
$ a + b $
#{
show heading: set align(center)
show heading: set block(above: 5em)
set heading(numbering: "A. 1 ")
[
= Heading 1
== Heading 2
]
}
#{
show heading.where(level: 1): it => {
... | |
https://github.com/The1Azreen/Visualization-of-Choropleth-Map-of-Resident-Population-Density-in-Singapore-Archived- | https://raw.githubusercontent.com/The1Azreen/Visualization-of-Choropleth-Map-of-Resident-Population-Density-in-Singapore-Archived-/main/Team_3_Poster.typ | typst | // Some definitions presupposed by pandoc's typst output.
#let blockquote(body) = [
#set text( size: 0.92em )
#block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
]
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#let endnote(num, contents) = [
#stack(dir: ltr, spacing: 3p... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot.typ | typst | Apache License 2.0 | #import "/src/cetz.typ": util, draw, matrix, vector, styles, palette
#import util: bezier
#import "/src/axes.typ"
#import "/src/plot/sample.typ": sample-fn, sample-fn2
#import "/src/plot/line.typ": add, add-hline, add-vline, add-fill-between
#import "/src/plot/contour.typ": add-contour
#import "/src/plot/boxwhisker.ty... |
https://github.com/Mufanc/hnuthss-template | https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/pages/cover.typ | typst | #import "/configs.typ": font, fontsize
#let basic_info(..info) = [
#let info = info.named()
#set align(center)
#show table.cell.where(x: 0): set text(font: font.sans, size: fontsize.L4)
#show table.cell.where(x: 1): set text(size: fontsize.L3s)
#show table.cell.where(x: 0, y: 0): content => [
... | |
https://github.com/duskmoon314/THU_AMA | https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch2/3-外部联系.typ | typst | Creative Commons Attribution 4.0 International | #import "/book.typ": *
#show: thmrules
#show: book-page.with(title: "外部联系")
= 外部联系
== 群同态与群同构
回顾:$angle.l a angle.r tilde.equiv lr((bb(Z) , +))$或$lr((bb(Z) \/ n bb(Z) , +))$,其中同构\=双射+保运算
#definition()[
设$lr((G , dot.op)) , lr((G prime , circle.stroked.tiny))$为群,若存在映射$f : G arrow.r G prime$使得$forall a , b in G$均... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/014%20-%20Khans%20of%20Tarkir/009_Mercy.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Mercy",
set_name: "<NAME>",
story_date: datetime(day: 19, month: 11, year: 2014),
author: "<NAME>",
doc
)
The goblin. The stinking goblin. The fat, stinking goblin. Sidisi sat, slumped in her throne, head bare, crown gone—taken right off he... | |
https://github.com/BrainTmp/MetaNote | https://raw.githubusercontent.com/BrainTmp/MetaNote/main/Typst/metanote.typ | typst | #import "metatheorem.typ": *
#let theorem = metamathbox("theorem", "Theorem", rgb(13, 71, 161)) // Material Blue 900
#let example = metamathbox("example", "Example", rgb(51, 105, 30)) // Material Light Green 900
#let corollary = metamathbox("corollary", "Corollary", rgb(26, 35, 126)) // Material Indigo 900
#let note =... | |
https://github.com/MasterTemple/typst-bible-plugin | https://raw.githubusercontent.com/MasterTemple/typst-bible-plugin/main/bible.typ | typst | #let bible = plugin("bible.wasm")
// currently only ESV is supported
#let translation = "ESV";
#let verse_number(n) = {
[#text(baseline: -0.4em, weight: "bold", size: 7pt, str(n))]
}
#let get_verse_content(book, chapter, verse) = {
let content = str(bible.get_verse(bytes(book), bytes(str(chapter)), bytes(str(vers... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/017%20-%20Dragons%20of%20Tarkir/006_The%20Call.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Call",
set_name: "Dragons of Tarkir",
story_date: datetime(day: 15, month: 04, year: 2015),
author: "<NAME>",
doc
)
#emph[On another Tarkir, with a different destiny, the man called Surrak was khan of his clan. Savage, swift, and ] attu... | |
https://github.com/hongjr03/shiroa-page | https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DIP/chapters/8形态学处理.typ | typst | #import "../template.typ": *
#import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge
#import fletcher.shapes: house, hexagon, ellipse
#import "@preview/pinit:0.1.4": *
#import "@preview/cetz:0.2.2"
#import "/book.typ": book-page
#show: book-page.with(title: "数字图像处理基础 | DIP")
= 形态学处理 Morphological Processi... | |
https://github.com/loreanvictor/master-thesis | https://raw.githubusercontent.com/loreanvictor/master-thesis/main/proposal.typ | typst | MIT License | #import "proposal_template.typ": *
#import "common/titlepage.typ": *
#import "common/metadata.typ": *
#titlepage(
title: titleEnglish,
titleGerman: titleGerman,
degree: degree,
program: program,
supervisor: supervisor,
advisors: advisors,
author: author,
startDate: startDate,
submissionDate: submiss... |
https://github.com/MaharshiAJ/Resume-Template | https://raw.githubusercontent.com/MaharshiAJ/Resume-Template/main/template.typ | typst | #set text(font: "Arial", lang: "en")
#set page(paper: "us-letter")
#let header(
name: str,
email: str,
linkedinUrl: str
) = {
set align(center)
text(20pt, weight: "bold", name)
linebreak()
text(12pt, {
email + " | " + linkedinUrl
})
}
#let sectionHeader(title: str) = {
[
#set align(left)... | |
https://github.com/matryt/modules-typst | https://raw.githubusercontent.com/matryt/modules-typst/main/img-aside-text/1.0.0/lib.typ | typst | #let main(image,..blocks) = {
stack(
dir:ltr,
spacing:lem,
image,
block(
blocks.pos().join(linebreak())
)
)
}
| |
https://github.com/FkHiroki/ex-E5 | https://raw.githubusercontent.com/FkHiroki/ex-E5/main/sections/section3.typ | typst | MIT No Attribution | = 3. 考察
== 課題(1)
=== 乱数の平均値が0.5になる理由、分散の値が1/12になる理由
まず、一様乱数の確率密度関数を考える。一般に、一様乱数の確率密度関数は次のように表される。
$
f(x) =
cases(
1 / (b-a) space ( a <= x <= b ),
0 space ( "otherwise" )
)
$ <eq:uniform>
これを用いて、平均値$E(X)$と分散$V(X)$を求めると、次のようになる。
$
E(X) &= integral_(-infinity)^infinity x f(x) d x = i... |
https://github.com/LDemetrios/Conspects-4sem | https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/styles/themes/dark.typ | typst | #let background = rgb("#212121")
#let foreground =rgb("#f0f0f0")
#let red-ish = rgb("#ff7777")
#let green-ish = rgb("#77ff77")
#let blue-ish = rgb("#7777ff")
#let yellow-ish = rgb("#ffff77")
#let pagewidth = none
#let pageheight = auto
| |
https://github.com/LucaCiucci/custom-typst | https://raw.githubusercontent.com/LucaCiucci/custom-typst/main/README.md | markdown | # custom-typst
Custom typst
| |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/meta-environments/env-posters.typ | typst |
#import "/meta-environments/env-features.typ": *
#import "/meta-environments/env-branding.typ": *
/*
* TEXT STYLES
*
* Renders `content` with the module's text styling. This is useful for content
* that is outside of the `template` container but which should be visually consistent.
*/
#let apply-text-styles(co... | |
https://github.com/paylanon/godot-typst | https://raw.githubusercontent.com/paylanon/godot-typst/main/README.md | markdown | MIT License | <p align="center">
<img src="https://github.com/paylhorse/godot-typst/assets/74363924/61433620-8126-46a4-8deb-39c7eac1c5f1" alt="logo" width="200"/>
</p>
<p align="center">
<b>Render Typst expressions in <a href="https://github.com/godotengine/godot">Godot 4</a></b>
</p>
<p align="center">
<b>Requires <a href="https://... |
https://github.com/exusiaiwei/My-brilliant-CV | https://raw.githubusercontent.com/exusiaiwei/My-brilliant-CV/main/modules/education.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Education")
#cvEntry(
title: [Bachelor of Arts in Literature],
society: [Wuhan University],
date: [2019.9 - 2023.6],
location: [China],
logo: "../src/logos/whu.png",
description: list(
[GPA: 3.69/4.0],
[Thesis: Research on Netwo... |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/_settings/typst/template-qk.typ | typst | #let conf(
title: none,
lesson: none,
author: "<NAME>.",
col: 1,
doc,
) = {
set text(font: "Times New Roman")
set page("a4",
header: [
#columns(2)[
#set align(left)
#set text(size: 12pt)
#author
#colbreak()
#set align(right)
#datetime.today().dis... | |
https://github.com/wdmhswj/myTypsts | https://raw.githubusercontent.com/wdmhswj/myTypsts/main/test/test.typ | typst | = _Introduction_
== title_level2
In this report, we will explore the
various factors that influence fluid
dynamics in glaciers and how they
contribute to the formation and
behaviour of these natural structures.
+ list1
- sublist1
- sublist2
+ list2
- Glaciers as the one shown in @glaciers will cease to... | |
https://github.com/PorterLu/Typst | https://raw.githubusercontent.com/PorterLu/Typst/main/README.md | markdown | # Typst
Typst is a new markup-based typesetting system for the sciences. The purpose of this repository is recording my learning process. Let's get started!
| |
https://github.com/EricWay1024/Homological-Algebra-Notes | https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/b-ext1.typ | typst | #import "../libs/template.typ": *
= $Ext$ and Extensions
<ext-extension>
== Extensions
#definition[
Let $A$ and $B$ be $R$-modules. An *extension* of $A$ by $B$ is a #sest
$
ses(B, X, A).
$
Two extensions are *equivalent* if there is a commutative diagram
// #align(center,image("../imgs/2023-11-25-13... | |
https://github.com/mdnls/typst-template | https://raw.githubusercontent.com/mdnls/typst-template/main/README.md | markdown | = Typst Template
Here is my personal template for the [Typst](typst.app).
| |
https://github.com/RemiSaurel/miage-rapide-tp | https://raw.githubusercontent.com/RemiSaurel/miage-rapide-tp/main/0.1.2/README.md | markdown | # miage-rapide-tp
Typst template to generate a practical work report for students of the MIAGE (Méthodes Informatiques Appliquées à la Gestion des Entreprises).
## 🧑💻 Usage
- Directly from [Typst web app](https://typst.app/) by clicking "Start from template" on the dashboard and searching for `miage-rapide-tp`.
... | |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/komplexitaet/master_tree.typ | typst | #import "@preview/cetz:0.2.2"
#let a = 2
#let max_depth = 4
#let rec_tree(root, depth: 0) = {
if depth == max_depth {return root}
let children = if depth == max_depth - 2 {
([...], ) * a
} else if depth == max_depth - 1 {
($1$, ) * a
} else {
($n/b^(#(depth+1))$, ) * a
}
children = children.m... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/subelement-panic_06.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Outline entry (pre-emptive)
// // Error: 2-48 cannot outline text
// #outline.entry(1, [Hello], [World!], none, [1]) |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/hide.typ | typst | // Test the `hide` function.
--- hide-text ---
AB #h(1fr) CD \
#hide[A]B #h(1fr) C#hide[D]
--- hide-line ---
Hidden:
#hide[#line(length: 100%)]
#line(length: 100%)
--- hide-table ---
Hidden:
#hide(table(rows: 2, columns: 2)[a][b][c][d])
#table(rows: 2, columns: 2)[a][b][c][d]
--- hide-polygon ---
Hidden:
#hide[
#... | |
https://github.com/typst-community/mantodea | https://raw.githubusercontent.com/typst-community/mantodea/main/src/_pkg.typ | typst | MIT License | #import "@preview/codelst:2.0.0"
#import "@preview/hydra:0.4.0"
#import "@preview/showybox:2.0.1"
#import "@preview/t4t:0.3.2"
#import "@local/valkyrie:0.2.0" as z
|
https://github.com/naotiki/documents | https://raw.githubusercontent.com/naotiki/documents/main/emacs-cheetsheet/document.typ | typst | #import "@preview/tablex:0.0.5": *
#let mainfont = "UDEV Gothic 35"
#let color1 = rgb("#6e7b8b") // LightSteelBlue4
#set text (font: mainfont, size: 10pt, lang: "ja" )
#set page( paper: "a4",
//flipped: true,
columns: 1,
margin: (left: 1cm, right: 1cm, top: 0.5cm, bottom: 0.2cm)
... | |
https://github.com/rabarbra/cv | https://raw.githubusercontent.com/rabarbra/cv/main/cv_de.typ | typst | #import "render.typ": render
#render(
yaml("cv.de.yml")
) | |
https://github.com/mintjesba/JIE-Typst-Template | https://raw.githubusercontent.com/mintjesba/JIE-Typst-Template/main/jie-subm/main.typ | typst | #import "jie-subm.typ": *
#show: doc => jie-subm(
show-as-article: false, // Change to true to get article-like output
article-type: [
[Article Type]
],
title: [
[Article Title]
],
subtitle: [
[Article Subtitle (optional)]
],
authors: (
[Author A], [Author B], [Author C], [Author D], [... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/utils/template.typ | typst | #import "datestamp.typ": datestamped_outline
#let _heading_builder(
is_bold: true,
is_smallcapsed: false,
is_underlined: false,
font_size: 16pt,
line_len: 2cm,
vspace: 0.5cm,
body
) = {
if is_smallcapsed {
body = smallcaps(body)
}
if is_underlined {
body = under... | |
https://github.com/xsro/xsro.github.io | https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/template.typ | typst | #let template(title:"title",part:"part",body) = [
#set page(paper:"presentation-16-9",margin: 1cm)
#align(center+horizon)[
#text(rgb("#005826"),size: 1cm,title)
#text(black,size: 0.8cm,part)
]
#pagebreak()
#set page(
footer:
text(gray,size:0.4cm)[
#part
#h(1fr)
#... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/introspection/locate.typ | typst | --- locate-position ---
// Test `locate`.
#v(10pt)
= Introduction <intro>
#context test(locate(<intro>).position().y, 20pt)
--- locate-position-trailing-tag ---
// Test locating the position of a tag with no following content.
#context test(here().position().y, 10pt)
#box[]
#v(10pt)
#context test(here().position().y, ... | |
https://github.com/chubetho/Bachelor_Thesis | https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/templates/cover.typ | typst | #set page(
paper: "a4",
margin: (right: 3cm, left: 3.5cm, top: 2cm, bottom: 3.5cm),
)
#set align(center)
#par[
#set text(lang: "de")
Technische Hochschule Würzburg-Schweinfurt\ Fakultät Informatik und Wirtschaftsinformatik
]
#v(7em)
#text(1.5em, "Bachelorarbeit")
#v(2em)
#text(2em, weight: 700, [A Study o... | |
https://github.com/imkochelorov/ITMO | https://raw.githubusercontent.com/imkochelorov/ITMO/main/src/algorithms/s2/l7/main.typ | typst | #import "template.typ": *
#set page(margin: 0.4in)
#set par(leading: 0.55em, first-line-indent: 0em)
#set text(font: "New Computer Modern")
#show par: set block(spacing: 0.55em)
#show heading: set block(above: 1.4em, below: 1em)
#show heading.where(level: 1): set align(center)
#show heading.where(level: 1): set text(1... | |
https://github.com/jassielof/typst-templates | https://raw.githubusercontent.com/jassielof/typst-templates/main/apa7/template/sections/figures.typ | typst | MIT License | = Sample figures
// Sample figures taken from https://apastyle.apa.org/style-grammar-guidelines/tables-figures/sample-figures
== Sample bar graph
Referencing @fig:sample-bar-graph.
#figure(
[
#image("../assets/images/sample-bar-graph.png")
#set align(left)
_Note._
Framing scores of adolescents and yo... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/shorthand.typ | typst | Apache License 2.0 | // Test shorthands for unicode codepoints.
---
The non-breaking~space does work.
---
// Make sure non-breaking and normal space always
// have the same width. Even if the font decided
// differently.
#set text(font: "New Computer Modern")
a b \
a~b
---
- En dash: --
- Em dash: ---
---
#set text(font: "Roboto")
A...... |
https://github.com/yan-aint-nickname/uni | https://raw.githubusercontent.com/yan-aint-nickname/uni/main/oop-matrix-cli/diagrams/user_input.typ | typst | MIT License | // https://xkcd.com/1195/
#import "@preview/fletcher:0.4.3" as fletcher: diagram, node, edge
#import fletcher.shapes: diamond, parallelogram
#set text(font: "Comic Neue", weight: 600)
#let user_input = diagram(
node-stroke: 1pt,
edge-stroke: 1pt,
node((0,0), [Получить пользовательский ввод], extrude: (-2, 0)),
... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/call.typ | typst | // Test function calls.
--- call-basic ---
// Omitted space.
#let f() = {}
#[#f()*Bold*]
// Call return value of function with body.
#let f(x, body) = (y) => [#x] + body + [#y]
#f(1)[2](3)
// Don't parse this as a function.
#test (it)
#let f(body) = body
#f[A]
#f()[A]
#f([A])
#let g(a, b) = a + b
#g[A][B]
#g([A],... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/rule-interval.typ | typst | #import "../../../polylux.typ": *
#set page(paper: "presentation-16-9")
#set text(size: 30pt)
#polylux-slide[
#only((beginning: 1, until: 5))[Content displayed on subslides 1, 2, 3, 4, and 5 \ ]
#only((beginning: 2))[Content displayed on subslide 2 and every following one \ ]
#only((until: 3))[Content displayed ... | |
https://github.com/danbalarin/vse-typst-template | https://raw.githubusercontent.com/danbalarin/vse-typst-template/main/lib/outline.typ | typst | #import "@preview/outrageous:0.2.0"
#import "macros.typ": heading-like
#let custom-outline() = {
show outline.entry: outrageous.show-entry.with(
..outrageous.presets.outrageous-toc,
vspace: (none, none),
body-transform: (lvl, body, state-key: "outline-figure-numbering-max-width") => {
let number
... | |
https://github.com/Fwxzxh/MyResume | https://raw.githubusercontent.com/Fwxzxh/MyResume/main/cv.typ | typst | #set document(
title: "Resume",
author: "<NAME>",
date: auto,
keywords: ("Resume", "<NAME>", "Technology")
)
#set page(
paper: "us-letter"
)
#set par(justify: true)
#set text(
font: "Times New Roman",
size: 12pt,
)
#let Header1 = 18pt
#let Header2 = 16pt
#let Header3 = 14pt
#let EducationItem(Institutio... | |
https://github.com/enseignantePC/2023-24 | https://raw.githubusercontent.com/enseignantePC/2023-24/master/Chapitre1/tp1/tp1.typ | typst | #import "../../act_template.typ": *
#show : it => activité(
title: [ Détermination de masse volumique ],
chapter_name: [Identification des espèces chimiques.],
number: 1,
kind : [TP],
it,
)
#v(-5pt)
#introduction[ Au cours de l'histoire, la monnaie a été faite de différents métaux.
Pour éviter les fraudes et... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-01.typ | typst | Other | // Test the `len` method.
#test(().len(), 0)
#test(("A", "B", "C").len(), 3)
|
https://github.com/ofurtumi/typst-packages | https://raw.githubusercontent.com/ofurtumi/typst-packages/main/README.md | markdown | # typst-packages
Collection of personal typst packages and templates
## location
to use these packages, this repo needs to be cloned into `{cache-dir}/typst/packages/` where `{cache-dir}` is
- `$XDG_DATA_HOME` or `~/.local/share` on Linux
- `~/Library/Application` Support on macOS
- `%APPDATA%` on Windows
## impor... | |
https://github.com/Xiaole-An/personalResume | https://raw.githubusercontent.com/Xiaole-An/personalResume/main/resume_noHardware.typ | typst | #import "template.typ": *
// 设置图标, 来源: https://fontawesome.com/icons/
// 如果要修改图标颜色, 请手动修改 svg 文件中的 fill="rgb(38, 38, 125)" 属性
#let faAward = icon("icons/fa-award.svg")
#let faBuildingColumns = icon("icons/fa-building-columns.svg")
#let faCode = icon("icons/fa-code.svg")
#let faEnvelope = icon("icons/fa-envelope.svg")
... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/hover/pagebreak.typ | typst | Apache License 2.0 |
#(/* ident after */ pagebreak);
|
https://github.com/OCamlPro/ppaqse-lang | https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/links.typ | typst |
#let absint = link("https://www.absint.com/index.html", "AbsInt")
#let aiT = link("https://www.absint.com/ait/", "aiT")
#let altergo = link("https://alt-ergo.ocamlpro.com/", "Alt-Ergo")
#let aocc = link("https://www.amd.com/en/developer/aocc.html", "AOCC")
#let api_sanity_checker = link(
"https://lvc.github.io/api-s... | |
https://github.com/layandreas/typst-resume | https://raw.githubusercontent.com/layandreas/typst-resume/main/README.md | markdown | # Resume
My resume using [Typst](https://github.com/typst/typst). This resume is based on the [Alta Typst](https://github.com/GeorgeHoneywood/alta-typst) template.
| |
https://github.com/sevehub/minimalbc | https://raw.githubusercontent.com/sevehub/minimalbc/main/README.md | markdown | MIT License | # minimalbc
This repository provides a Typst template for creating sleek and minimalist professional business cards.
The function, **minimalbc**, allows you to customize the majority of the business card's elements.
By default, the layout is horizontal. However, it can be easily switched to a vertical layout by pa... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/utils/datestamp.typ | typst | #let _parse_date(date_str) = {
let date_match = date_str.match(regex("^(\d{4})[-](\d{2})[-](\d{2})$"))
if date_match == none {
panic("failed to parse date (YYYY-MM-DD): " + date_str)
}
let (year, month, day) = date_match.captures
datetime(
year: int(year),
month: int(month),... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion/sig_dict.typ | typst | Apache License 2.0 | // contains: paint,cap
#text(stroke: (/* range after 1..2 */ ))[]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.