repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/ustclug/cheatsheet | https://raw.githubusercontent.com/ustclug/cheatsheet/main/cheatsheet.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #set page(
width: 40cm,
height: 60cm,
flipped: true,
footer: [
#set align(right)
#image("image/logo.svg", width: 2%),
],
margin: (x: 3cm, y: 2cm),
)
#set text(font: "Source Han Serif SC")
#show raw.where(block: false): it => {
box(
fill: luma(240),
inset: (x: 3pt, y: 0pt),
outset: (y:... |
https://github.com/noneback/typst-template | https://raw.githubusercontent.com/noneback/typst-template/main/blog.typ | typst | #import "blog_template.typ": doc_tmplate, insert_image
#show: doc => doc_tmplate(
title: [
Towards Improved Modelling
],
category: ("distribed system", "database"),
keywords: ("raft", "consensu"),
authors: (
(
name: "<NAME>",
affiliation: "Artos Institute",
email: "<EMAIL>",
),
... | |
https://github.com/IdoWinter/UnitedDumplingsLegislatureArchive | https://raw.githubusercontent.com/IdoWinter/UnitedDumplingsLegislatureArchive/main/elections/april_24/pm.typ | typst | MIT License | #import "../ballot.typ": *
#set page(paper: "a4", margin: 0pt)
//#set page(fill: yellow)
#repeat_ballot(pm_ballot([עידו], [וינטר]))
#repeat_ballot(pm_ballot([איתי], [וינטר]))
#repeat_ballot(pm_ballot([דור], [וינטר]))
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/link-07.typ | typst | Other | // Link containing a block.
#link("https://example.com/", block[
My cool rhino
#box(move(dx: 10pt, image("test/assets/files/rhino.png", width: 1cm)))
])
|
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S5/SYE/docs/3-AppelsSystemes%26Processus/appels-systèmes-processus.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Appels systèmes et processus
],
lesson: "SYE",
chapter: "3 - Appels Systèmes et Processus",
definition: "Definition",
col: 1,
doc,
)
= Appels systèmes
L'appel système permet de passer de l'espace utilisateur à l'espace no... | |
https://github.com/Zeta611/simplebnf.typ | https://raw.githubusercontent.com/Zeta611/simplebnf.typ/main/README.md | markdown | MIT License | # simplebnf.typ
simplebnf is a simple package to format Backus-Naur form. The package provides a simple way to format Backus-Naur form (BNF). It provides constructs to denote BNF expressions, possibly with annotations.
This is a sister package of [simplebnf](https://github.com/Zeta611/simplebnf), a LaTeX package unde... |
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical | https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch22.typ | typst | MIT License | #import "../functions.typ": heading_center, images, italic,linkb, dots
#import "../tablex.typ": tablex, cellx, rowspanx, colspanx, hlinex
#let finchapiter = text(fill:rgb("#1E045B"),"■")
// #linebreak()
// #linebreak()
// #counter("tabl").update(n=>n+20)
= DÉTECTION DES NODULES PULMONAIRES DU CANCER.
== Introductio... |
https://github.com/sofianedjerbi/Resume | https://raw.githubusercontent.com/sofianedjerbi/Resume/main/modules/certificates.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Certificates")
#cvHonor(
date: [Jun 2024],
title: [AWS Certified Developer Associate],
issuer: [Amazon Web Services (AWS)]
)
#cvHonor(
date: [May 2024],
title: [AWS Certified Solutions Architect Associate],
issuer: [Amazon Web Services (AW... |
https://github.com/liamaxelrod/Resume | https://raw.githubusercontent.com/liamaxelrod/Resume/main/test_typst/tutorial_formatting.typ | typst | = Formatting with Set rules
how to format your report using Typst's styling system.
With set rules, you can apply style properties to all occurrences of some kind of content throughout the document.
you'll notice that the set route doesn't take effect until you make the command
\#set par(first-line-indent: 0.65em)
... | |
https://github.com/mariunaise/HDA-Thesis | https://raw.githubusercontent.com/mariunaise/HDA-Thesis/master/graphics/quantizers/two-bit-enroll-real.typ | typst | #import "@preview/cetz:0.2.2": canvas, plot, decorations, draw
#let line_style = (stroke: (paint: black, thickness: 2pt))
#let dashed = (stroke: (dash: "dashed"))
#canvas({
plot.plot(size: (8,6),
legend: "legend.south",
name: "plot",
x-tick-step: 1,
// x-ticks: ((-1.168, [-1.16]), (1.168, [1.16])),
... | |
https://github.com/An-314/Notes-of-DSA | https://raw.githubusercontent.com/An-314/Notes-of-DSA/main/string.typ | typst | = 串string/char[]
用`char[]`表示串,主要讨论串的匹配。
== 蛮力算法BF
从前往后遍历,每次匹配失败则推进到下一个位置。
通常建议用双移动的指针实现。
```cpp
int match( char * P, char * T )
{
size_t n = strlen(T), i = 0;
size_t m = strlen(P), j = 0;
while ( j < m && i < n ) //自左向右逐次比对(可优化)
if ( T[i] == P[j] ) { i ++; j ++; } //若匹配,则转到下一对字符
else { i -= j-1;... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test normal operation and RTL directions.
#set page(height: 3.25cm, width: 7.05cm, columns: 2)
#set text(lang: "ar", font: ("Noto Sans Arabic", "Linux Libertine"))
#set columns(gutter: 30pt)
#box(fill: conifer, height: 8pt, width: 6pt) وتحفيز
ا... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-08A0.typ | typst | Apache License 2.0 | #let data = (
("ARABIC LETTER BEH WITH SMALL V BELOW", "Lo", 0),
("ARABIC LETTER BEH WITH HAMZA ABOVE", "Lo", 0),
("ARABIC LETTER JEEM WITH TWO DOTS ABOVE", "Lo", 0),
("ARABIC LETTER TAH WITH TWO DOTS ABOVE", "Lo", 0),
("ARABIC LETTER FEH WITH DOT BELOW AND THREE DOTS ABOVE", "Lo", 0),
("ARABIC LETTER QAF W... |
https://github.com/wj461/operating-system-personal | https://raw.githubusercontent.com/wj461/operating-system-personal/main/HW2/hw2.typ | typst | #import "@preview/timeliney:0.0.1"
#align(center, text(17pt)[
\u{1F995}*Operating-system homework\#2 * \u{1F996}
])
#(text(14pt)[
= Written exercises
])
= • Chap.4
- 4.8: Provide two programming examples in which multithreading does not provide better performance than a single-threaded solution.
- ex1 低負擔:\
如... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/kern.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### Kerns
=== #tr[kern]
// As we have mentioned, a layout system will draw a glyph, move the cursor horizontally the distance of the horizontal advance, and draw t... |
https://github.com/tymbalodeon/job-application | https://raw.githubusercontent.com/tymbalodeon/job-application/main/src/_header.typ | typst | #import "_content.typ": name, email, phone, github, city
#let make-phone-number(phone-number) = {
let phone-number = str(phone-number)
let areaCode = phone-number.slice(0, 3)
let prefix = phone-number.slice(3, 6)
let number = phone-number.slice(6)
[(#areaCode) #prefix - #number]
}
#let contact(it... | |
https://github.com/DeveloperPaul123/modern-cv | https://raw.githubusercontent.com/DeveloperPaul123/modern-cv/main/tests/resume/test.typ | typst | Other | #import "@local/modern-cv:0.7.0": *
// setup the document like we do for the resume
#let font = ("Source Sans Pro", "Source Sans 3")
#set text(
font: font,
size: 11pt,
fill: color-darkgray,
fallback: true,
)
#set page(
paper: "a4",
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
footer: [],
... |
https://github.com/QuadnucYard/pavemat | https://raw.githubusercontent.com/QuadnucYard/pavemat/main/docs/manual.typ | typst | MIT License | #import "@preview/mantys:0.1.4": *
#import "@preview/mantys:0.1.4": theme
#import "../src/lib.typ": pavemat
#show: mantys.with(
name: "pavemat",
title: [Pavemat],
// subtitle: [A subtitle for the manual],
// info: [A short descriptive text for the package.],
authors: "QuadnucYard",
license: "MIT",
url: "... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/deco_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#let red = rgb("fc0030")
// Basic strikethrough.
#strike[Statements dreamt up by the utterly deranged.]
// Move underline down.
#underline(offset: 5pt)[Further below.]
// Different color.
#underline(stroke: red, evade: false)[Critical informatio... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/032%20-%20Ixalan/005_Something%20Else%20Entirely.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Something Else Entirely",
set_name: "Ixalan",
story_date: datetime(day: 04, month: 10, year: 2017),
author: "<NAME> & <NAME>",
doc
)
Jace passed the next few days in a happy haze. Pleasantly busy and active, but constantly distracted by the... | |
https://github.com/Dherse/codly | https://raw.githubusercontent.com/Dherse/codly/main/example/main.typ | typst | MIT License | #import "../codly.typ": *
#show: codly-init.with()
#let icon(codepoint) = {
box(
height: 0.8em,
baseline: 0.05em,
image(codepoint)
)
h(0.1em)
}
#codly(languages: (
rust: (name: "Rust", icon: icon("brand-rust.svg"), color: rgb("#CE412B")),
python: (name: "Python", icon: icon("brand-python.svg"),... |
https://github.com/TomVer99/FHICT-typst-template | https://raw.githubusercontent.com/TomVer99/FHICT-typst-template/main/README.md | markdown | MIT License | <!-- markdownlint-disable MD033 -->
# FHICT Typst Document Template


(L) := {w in L | "no proper prefix of" w "belongs to" L}. $
Prove that if $L$ is regular, then $mono("MIN")(L)$ is... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/data-01.typ | typst | Other | // Error: 18-32 file not found (searched at /missing.txt)
#let data = read("test/assets/files/missing.txt")
|
https://github.com/Servostar/dhbw-abb-typst-template | https://raw.githubusercontent.com/Servostar/dhbw-abb-typst-template/main/src/branding.typ | typst | MIT License |
// Reference color scheme can be found here:
// https://brand.abb/portal/en/branding-principles/basic-brand-elements/color
// ABB branding colors
#let ABB-RED = cmyk(0%, 100%, 95%, 0%)
#let ABB-BLACK = cmyk(0%, 0%, 0%, 100%)
#let ABB-GRAY-01 = cmyk(0%, 0%, 0%, 90%)
#let ABB-GRAY-02 = cmyk(0%, 0%, 0%, 75%)
#let ABB-G... |
https://github.com/Maso03/Bachelor | https://raw.githubusercontent.com/Maso03/Bachelor/main/Bachelorarbeit/chapters/Unreal.typ | typst | MIT License | == 3D-Modellierung - Unreal Engine
Die Unreal Engine ist eine leistungsstarke Plattform für 3D-Modellierung und Spielentwicklung, die von Epic Games entwickelt wurde. Sie bietet eine Vielzahl von Tools und Funktionen zur Erstellung realistischer 3D-Umgebungen, Charaktere und Animationen. Die Unreal Engine wird nicht n... |
https://github.com/LucaCiucci/custom-typst | https://raw.githubusercontent.com/LucaCiucci/custom-typst/main/better-highlight.typ | typst |
#import "@preview/jogs:0.2.3": *
#let js-code = ```js
function encode_uri_component(value) {
//return value;
return encodeURIComponent(value);
}
```
#js-code
#let js = compile-js(js-code)
Exported functions:\
#list-global-property(js)
#let rust-links(it) = {
//show link: it => link("aaa")
show "bool": it => ... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/list.typ | typst | Apache License 2.0 | === Legends <plot-legends>
A legend for a plot will be drawn if at least one set of data with a label that is not `none` is given.
The following anchors are available when placing a legend on a plot:
- `legend.north`
- `legend.south`
- `legend.east`
- `legend.west`
|
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/6-evaluation/result.typ | typst | Im folgenden Abschnitt werden die Ergebnisse der Evaluation vorgestelt. Diese stellen die Grundlage für die Anfolgende Diskussion dar.
Der User Experience Questionnaire wurde mithilfe einer frei verfügbaren Excel-Vorlage durchgeführt. Diese Vorlage wird auf der offiziellen UEQ-Webseite bereitgestellt und ermöglicht da... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ofbnote/0.2.0/ofb_common.typ | typst | Apache License 2.0 | #import "@preview/showybox:2.0.1"
// Fonts definition
#let mainfont = "Spectral"
#let sansfont = "Marianne"
// Colors definition
#let ofbdarkgreen = rgb("#0E823A")
#let ofbdarkblue = rgb("#003A76")
#let ofbsemigreen = rgb("#A4A64B")
#let ofbsemiblue = rgb("#0083CB")
#let ofbgreen = rgb(... |
https://github.com/alejandrgaspar/pub-analyzer | https://raw.githubusercontent.com/alejandrgaspar/pub-analyzer/main/pub_analyzer/internal/templates/author/sources.typ | typst | MIT License | // Sources
= Sources.
#table(
columns: (auto, 3fr, 2fr, auto, auto, auto, auto, auto),
inset: 8pt,
align: horizon,
// Headers
[], [*Name*], [*Publisher or institution*], [*Type*], [*ISSN-L*], [*Impact factor*], [*h-index*], [*Is OA*],
// Content
{% for source in report.sources_summary.sources %}
[3.{{... |
https://github.com/Maeeen/thesis_template_typst | https://raw.githubusercontent.com/Maeeen/thesis_template_typst/master/documentation.typ | typst | #import "./template/template.typ": *
#import "@preview/tidy:0.3.0"
#let docs = tidy.parse-module(
read("/template/template.typ"),
scope: (title_page: title_page),
)
#tidy.show-module(docs)
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.0/test/test.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.1.2"
#import "/src/exports.typ" as fletcher: diagram, node, edge
#set page(width: 10cm, height: auto)
#show heading.where(level: 1): it => pagebreak(weak: true) + it
= Connectors
#diagram(
debug: 0,
cell-size: (10mm, 10mm),
node((0,0), $X$),
node((1,0), $Y$),
node((0,1), $Z$),
edge((... |
https://github.com/RubixDev/typst-tabley | https://raw.githubusercontent.com/RubixDev/typst-tabley/main/example.typ | typst | MIT License | #import "@preview/cetz:0.1.2"
#import "./tabley.typ": tabley
#set page(width: auto, height: auto, margin: 1cm)
#cetz.canvas({
import cetz.draw: *
let data = (
[a], [bc], [d],
[e], [fgh\ ijk], [l],
[a], [bc], [d],
[e], [fgh\ ijk], [l],
)
tabley((0, 0), columns: 3, ..data, name: "a")
tabley((3... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-13.typ | typst | Other | // Some non-text stuff.
// Error: 9-21 file is not valid utf-8
#import "/rhino.png"
|
https://github.com/RaphGL/ElectronicsFromBasics | https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap5/3_simple_parallel_circuits.typ | typst | Other | #import "../../core/core.typ"
=== Simple parallel circuits
Let\'s start with a parallel circuit consisting of three resistors and a
single battery:
#image("static/00092.png")
The first principle to understand about parallel circuits is that the
voltage is equal across all components in the circuit. This is because
t... |
https://github.com/PhilChodrow/cv | https://raw.githubusercontent.com/PhilChodrow/cv/main/src/content/education.typ | typst | #import "../template.typ": *
#cvSection("Education")
#cvEntry(
title: [PhD in Operations Research],
organisation: [Massachusetts Institute of Technology],
logo: "",
date: [2015-2020],
location: [Cambridge, MA],
description: ""
// tags: ("Database Systems", "Computer Networks", "Cybersecuri... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/repeat-01.typ | typst | Other | // Test dots with RTL.
#set text(lang: "ar")
مقدمة #box(width: 1fr, repeat[.]) 15
|
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/tests/playground.typ | typst | The Unlicense | #import "preamble.typ": *
#import pixel.math: vector
#let _validate(input, output, next) = {
next(input, output)
}
#let _compute(input, output, next) = {
next(input, output)
}
#let _vertex(input, output, next) = {
next(input, output)
}
#let _render(input, output, next) = {
if "plot" not in input.tags {retur... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/my-weekly-schedule.typ | typst | #import "base-utils.typ": *
#let flex(..sink) = {
// layout-util
let args = sink.pos()
let flat(arg) = {
if is-array(arg) {
arg.join()
} else {
arg
}
}
let flattened = args.map(flat)
panic(flattened)
let length = len(flattened)
let aligner... | |
https://github.com/typst-jp/typst-jp.github.io | https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/reference/packages.md | markdown | Apache License 2.0 | Typst [packages]($scripting/#packages) encapsulate reusable building blocks
and make them reusable across projects. Below is a list of Typst packages
created by the community. Due to the early and experimental nature of Typst's
package management, they all live in a `preview` namespace. Click on a package's
name to vie... |
https://github.com/JeyRunner/tuda-typst-templates | https://raw.githubusercontent.com/JeyRunner/tuda-typst-templates/main/templates/tudapub/common/tudapub_title_page.typ | typst | MIT License | #import "props.typ": *
#import "format.typ": *
#import "../tudacolors.typ": tuda_colors
// note the page needs to have the correct margins.
// Set these up before
#let tudpub-make-title-page(
title: [Title],
title_german: [Title German],
// "master" or "bachelor" thesis
thesis_type: "master",
// the code ... |
https://github.com/Nerixyz/icu-typ | https://raw.githubusercontent.com/Nerixyz/icu-typ/main/api.typ | typst | MIT License | #import "impl.typ": fmt-date, fmt-datetime, fmt-time, locale-info
#import "experimental.typ" as experimental
|
https://github.com/CoderJackZhu/XDUthesis-Typst | https://raw.githubusercontent.com/CoderJackZhu/XDUthesis-Typst/main/template/thesis.typ | typst | MIT License | #import "../lib.typ": documentclass, indent
// 你首先应该安装 https://github.com/CoderJackZhu/XDUthesis-Typst/tree/main/fonts/FangZheng 里的所有字体,
// 如果是 Web App 上编辑,你应该手动上传这些字体文件,否则不能正常使用「楷体」和「仿宋」,导致显示错误。
#let (
// // // // 布局函数
twoside, doc, preface, mainmatter, mainmatter-end, appendix,
// 页面函数
fonts-display-page, c... |
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs | https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/index.typ | typst | Apache License 2.0 | #{ include "../components/bia.typ" }
#pagebreak()
#outline(
indent: true,
depth: 3
)
#outline(
title: "Danh mục hình ảnh",
target: figure.where(kind: image)
)
#outline(
title: "Danh mục bảng biểu",
target: figure.where(kind: table)
)
#pagebreak()
#{ include "./categories/task1/1.conclude.t... |
https://github.com/rodrigo72/typst-LNCS-template | https://raw.githubusercontent.com/rodrigo72/typst-LNCS-template/main/src/example.typ | typst | #import "template.typ": *
#show: LNCS-paper.with(
title: "Title",
subtitle: "Subtitle",
university: "University of Somewhere",
email_type: "university.of.somewhere",
authors: (
(
name: "Student1",
number: "10001",
),
(
name: "Student2",
number: "10002",
),
(
... | |
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/early_season/building_drive.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/templates/entries.typ": *
#import "/templates/headers.typ": *
#import "/templates/text.typ": *
#create_footerless_page(
title: [Building Drive Train],
date: [September 23rd, 2023],
content: [
#box_header(
title: [Drive Train Specs],
color: purple.lighten(60%)
... |
https://github.com/crd2333/crd2333.github.io | https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Courses/数据库系统/SQL.typ | typst | ---
order: 2
---
#import "/src/components/TypstTemplate/lib.typ": *
#show: project.with(
title: "数据库系统",
lang: "zh",
)
#let null = math.op("null")
#let Unknown = math.op("Unknown")
#counter(heading).update(1)
= 第二部分:SQL
== Introduction to SQL
- *SQL:结构化查询语言*,分为 DDL, DML, DCL 几种类型,用的比较多的标准是 SQL-92
- *非过程式,声明式*... | |
https://github.com/AOx0/expo-nosql | https://raw.githubusercontent.com/AOx0/expo-nosql/main/examples/override-theme.typ | typst | MIT License | #import "../slides.typ": *
#show: slides.with(
authors: "Names of author(s)",
short-authors: "Shorter author for slide footer",
title: "Title of the presentation",
subtitle: "Subtitle of the presentation",
short-title: "Shorter title for slide footer",
date: "March 2023",
)
#new-section("My se... |
https://github.com/SkytAsul/INSA-Typst-Template | https://raw.githubusercontent.com/SkytAsul/INSA-Typst-Template/main/exemples/exemple-document-light.typ | typst | MIT License | #import "../insa-template/document-template.typ" : *
#show: doc => insa-document(
"light",
cover-top-left: [*Document important* de type très important],
cover-middle-left: [
NOM Prénom
Département INFO\
(les meilleurs)
],
cover-bottom-right: "uwu",
page-header: "En-tête au pif",
doc
)
Templ... |
https://github.com/arakur/typst-sharp | https://raw.githubusercontent.com/arakur/typst-sharp/master/sample.typ | typst | #set text(font: "Garamond", fill: purple)
#set heading(numbering: "1.")
= Our First Section
A _monad_ is just a monoid $
(M , mu , eta)
$ in the monoidal category $("End" cal(C) , compose , I_C)$ of endofunctors, what\'s the problem?\u{1f914} | |
https://github.com/denizenging/site | https://raw.githubusercontent.com/denizenging/site/master/.typst/util/lib.typ | typst | #let _building = sys.inputs.at("building", default: none)
#let abbr(title, body) = if _building == "md" {
"<abbr title=" + json.encode(title)
">" + body + "</abbr>"
} else [
#body#footnote(title)
]
#let _lang(lang, region: none) = if _building == "md" {
lang = lang + if region != none { "-" + region }
(body) => {... | |
https://github.com/jbro/supernote-templates | https://raw.githubusercontent.com/jbro/supernote-templates/main/work-daily.typ | typst | The Unlicense | #import "include/a5x-template.typ": template
#show: doc => template(doc)
#import "include/elements.typ": titled-box, task-lines, note-lines, week-box
#grid(columns: (1fr, 136pt),
[
#set text(size: 20pt)
#h(5pt)
Daily
],
week-box()
)
#titled-box(title: "Tracker",
[
#grid(columns: (1fr, 7fr, 1f... |
https://github.com/Gavinok/typst-res | https://raw.githubusercontent.com/Gavinok/typst-res/master/layout.typ | typst | #set list( tight: true, marker: "→")
#set page(
paper: "us-letter",
margin: (x: auto, y: 30pt),
footer: align(center)[_References available upon request._]
)
#set text(font: "Nimbus Sans")
#set par(
justify: true,
leading: 0.52em,
)
#let special-color = rgb("#009688")
#let res-name(body) = [
#set t... | |
https://github.com/berceanu/activity-report | https://raw.githubusercontent.com/berceanu/activity-report/main/usage.typ | typst | BSD 3-Clause "New" or "Revised" License | #import "activity-report.typ": report, activities, results
#show: body => report(
month: "octombrie 2023",
your_name: "<NAME>",
your_position: "CS-III",
sign_date: "03/11/2023",
department_head: "<NAME>",
scientific_director: "<NAME>",
body,
)
#activities
- #lorem(40)
- #lorem(5) `openPMD-resampler` #lor... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/pattern-small_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#box(
width: 8pt,
height: 1pt,
fill: pattern(size: (1pt, 1pt), square(size: 1pt, fill: black))
)
#v(-1em)
#box(
width: 8pt,
height: 1pt,
fill: pattern(size: (2pt, 1pt), square(size: 1pt, fill: black))
)
|
https://github.com/indicatelovelace/kinave | https://raw.githubusercontent.com/indicatelovelace/kinave/main/0.1.0/README.md | markdown | # Kinave
Package for easy styling of links. See [Docs](docs/manual.pdf) for a detailed guide. Below is an example of the functionality that is added.
The problem the package solves is that different link types cannot be styled seperatly, but are recognized as such. This package allows for easy styling of phone numbers... | |
https://github.com/aarneng/Outline-Summaryst | https://raw.githubusercontent.com/aarneng/Outline-Summaryst/main/src/helpers.typ | typst | MIT License | #let calc-elem-size(elem, sizes: (12pt, 10pt, 8pt, 6pt,4pt)) = {
let size = 3pt
if elem.level - 2 < sizes.len() {
size = sizes.at(elem.level - 2)
}
return size
}
|
https://github.com/claudiomattera/typst-modern-cv | https://raw.githubusercontent.com/claudiomattera/typst-modern-cv/master/src/timeline.typ | typst | MIT License | // Copyright <NAME> 2023-2024.
//
// Distributed under the MIT License.
// See accompanying file License.txt, or online at
// https://opensource.org/licenses/MIT
#import "link.typ": draw_link, draw_literal_link
#import "theme.typ"
#import "icon.typ"
/// Draw a timeline bar
///
/// - start (ratio): The beginning of ti... |
https://github.com/Mufanc/hnuslides-typst | https://raw.githubusercontent.com/Mufanc/hnuslides-typst/master/utils/absolute.typ | typst | #let absolute(..args, content) = {
let kwargs = args.named()
let ralign = none
let rpad = pad
if "l" in kwargs {
ralign += left
rpad = rpad.with(top: kwargs.l)
}
if "r" in kwargs {
ralign += right
rpad = rpad.with(right: kwargs.r)
}
if "t" in kwargs {
... | |
https://github.com/FlandiaYingman/note-me | https://raw.githubusercontent.com/FlandiaYingman/note-me/main/example.typ | typst | MIT License | // Import from @preview namespace is suggested
// #import "@preview/note-me:0.3.0": *
// Import from @local namespace is only for debugging purpose
// #import "@local/note-me:0.3.0": *
// Import relatively is for development purpose
#import "lib.typ": *
= Basic Examples
#note[
Highlights information that users sh... |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ISI/docs/3-Cryptographie/cryptographie.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Cryptographie
],
lesson: "ISI",
chapter: "3 - Cryptographie",
definition: "Dans ce document, nous allons explorer les principes fondamentaux de la cryptographie, qui est l'art de sécuriser les communications en transformant de... | |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/theme/common/metadata.typ | typst | Other | // Enter your thesis data here:
#let title = "Reproducibility in Software Engineering"
#let subtitle = none
#let doi = "10.5281/zenodo.12666898"
#let university = "University of Mons"
#let faculty = "Faculty of Sciences"
#let degree = "Master"
#let program = "Computer Science"
#let view = degree + "'s Thesis in " + pro... |
https://github.com/chendaohan/bevy_tutorials_typ | https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/00_introduction/introduction.typ | typst | #set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3")
#set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei")
#set raw(theme: "themes/material/Material-Theme.tmTheme")
#figure(
image("images/bevy_logo_dark.svg"),
caption: "https://bevyengine.org"
)
一个简单的、令人耳目一新的数据驱动游戏引擎,基于 ... | |
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst | https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/template/thesis.typ | typst | #import "template.typ": *
#show: Thesis.with(
)
#include "../body/context.typ" | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/container_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test block over multiple pages.
#set page(height: 60pt)
First!
#block[
But, soft! what light through yonder window breaks? It is the east, and Juliet
is the sun.
]
|
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/sample.typ | typst | // #panic(split-twice("aaaa"))
#let stroke-builder(s) = {
let items = split(s, " +")
return black
}
pan colored("a")
#set page(margin: 0.5in, paper: "us-letter", numbering: "page 1")
#show heading: (it) => {
it
let level = it.level
let re
if level == 1 {
v(10pt)
}
}
= Sample Curriculum for Fi... | |
https://github.com/Dherse/codly | https://raw.githubusercontent.com/Dherse/codly/main/docs/docs.typ | typst | MIT License | #import "@preview/tidy:0.3.0"
#import "../codly.typ": codly, codly-init, codly-reset, no-codly, codly-enable, codly-disable, codly-range, codly-offset, local, codly-skip
#show: codly-init
#show raw.where(block: false): set raw(lang: "typc")
#show raw.where(block: false): box.with(
fill: luma(240),
inset: (x: 3pt, ... |
https://github.com/longlin10086/HITSZ-PhTyp | https://raw.githubusercontent.com/longlin10086/HITSZ-PhTyp/main/utils/tables.typ | typst | #import "@preview/tablex:0.0.8" : *
#import "../themes/theme.typ" : *
#let signature_table(
img
) = {
set align(right+bottom)
table(
columns: (auto, auto),
inset: (
x: 20pt,
y: 10pt
),
align: horizon + center,
table.header(
[
#set text(font: 字体.宋体, size: 字号.四号)
... | |
https://github.com/janlauber/bachelor-thesis | https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/chapters/customer_use_cases.typ | typst | Creative Commons Zero v1.0 Universal | = Customer Use Cases and Feedback
== Use Cases
=== Use Case 1: Streamlit Hosting for Data Science Projects
==== Description
<NAME>. is a data scientist at the Bern University of Applied Sciences (BUAS). She is working on a project in which she has developed a Streamlit application for getting data from the user by ... |
https://github.com/kmitsutani/a_note_on_Hioki_I-1 | https://raw.githubusercontent.com/kmitsutani/a_note_on_Hioki_I-1/main/main.typ | typst | MIT No Attribution | // MIT No Attribution
// Copyright 2024 <NAME>
#import "jdocuments/jnote.typ": main, appendix, thebibliography
#show: main.with(
title: [象の卵は大きい象],
authors: [象山象太郎],
abstract: [古来より象の卵はもし存在するのならばとても大きいであろうと考えられてきた.
そこで我々は象の習性を研究し卵を発見を探し当てる戦略を立て実際に象の卵を発見した.
発見された卵は理論的に予測されていた大きさよりも大きかった... |
https://github.com/catppuccin/typst | https://raw.githubusercontent.com/catppuccin/typst/main/src/valkyrie/typst-schema.typ | typst | MIT License | #import "@preview/valkyrie:0.2.1" as z
#let rel-or-length(..args) = z.either(z.relative(), z.length(), ..args)
#let sides-schema = z.dictionary(
(
left: rel-or-length(optional: true),
right: rel-or-length(optional: true),
top: rel-or-length(optional: true),
bottom: rel-or-length(optional: true),
... |
https://github.com/erfan-khadem/resume | https://raw.githubusercontent.com/erfan-khadem/resume/main/modules_en/certificates.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Certificates")
#cvHonor(
date: [2021],
title: [Scientific Computing with Python],
issuer: [Free Code Camp],
location: [#link("https://www.freecodecamp.org/certification/fcc9e39ec8c-6530-4d05-acb1-786cb45b8f73/scientific-computing-with-python-v7", [view])]
... |
https://github.com/mismorgano/UG-FunctionalAnalyisis-24 | https://raw.githubusercontent.com/mismorgano/UG-FunctionalAnalyisis-24/main/tareas/Tarea-07/Tarea-07.typ | typst | #import "../../config.typ": config, exercise, proof, cls, ip, conv
#show: doc => config([Tarea 7], doc)
1.57, 1.58, 1.59, 1.64 (checa el Teorema de la Categoría de Baire en el Munkres o en algún otro libro de topología), 2.4, 2.8 y 2.9.
#exercise[1.57][Sea $X$ un e.B y sea $C$ un conjunto compacto en $X$. ¿Se cumple... | |
https://github.com/MrToWy/hsh-thesis | https://raw.githubusercontent.com/MrToWy/hsh-thesis/main/template/customFunctions.typ | typst | MIT License | #import "@preview/gloss-awe:0.0.5": *
#import "abbreviations.typ": *
#import "@preview/treet:0.1.0": *
#import "@preview/big-todo:0.2.0": *
#import "@preview/gentle-clues:0.9.0": *
#import "@preview/wrap-it:0.1.0": wrap-content
#import "@preview/hydra:0.3.0": hydra
#import "@preview/codly:1.0.0": *
#let colorize = tru... |
https://github.com/alliso/resume | https://raw.githubusercontent.com/alliso/resume/main/typ/cv_eng.typ | typst | #set page(
margin: 5%
)
#set text(font: "JetBrains Mono")
#grid(
columns: (80%, 20%),
rows: auto,
align(center + bottom, text(18pt)[
= <NAME>
#align(center, text(12pt)[== *FULL STACK DEVELOPER*])
]),
text(6pt)[#list(marker: [],
[+34 651 353 777],
[#text("<EMAIL>")],
[#underline[#link("www.linked... | |
https://github.com/yogurt-shadow/CV | https://raw.githubusercontent.com/yogurt-shadow/CV/master/cv.typ | typst | Creative Commons Zero v1.0 Universal | #show heading: set text(font: "Linux Biolinum")
#show link: underline
// Uncomment the following lines to adjust the size of text
// The recommend resume text size is from `10pt` to `12pt`
// #set text(
// size: 12pt,
// )
// Feel free to change the margin below to best fit your own CV
#set page(
margin: (x: 0.9... |
https://github.com/Drodt/clever-quotes | https://raw.githubusercontent.com/Drodt/clever-quotes/main/src/predefined.typ | typst | #import "util.typ": create-quote-style
#let default-quote-styles = (
// English
"en/US": create-quote-style("“", "”", "‘", "’", kern: 0.05em),
"en/GB": create-quote-style("‘", "’", "“", "”", kern: 0.05em),
// German
"de/DE": create-quote-style("„", "“", "‚", "‘", kern: 0.05em),
"de/DE|guillemet... | |
https://github.com/felsenhower/kbs-typst | https://raw.githubusercontent.com/felsenhower/kbs-typst/master/README.md | markdown | MIT License | # kbs-typst
Folien für das [KunterBunteSeminar (KBS)](https://mafiasi.de/KBS) über [Typst](https://github.com/typst/typst).
[](https://raw.githubusercontent.com/felsenhower/kbs-typst/master/presentation.pdf)
## Dependencies
* `typst`
* `make`
* `pdf2svg`
* Schriftarten:
* Latin Modern Sa... |
https://github.com/ammar-ahmed22/compile-typst-action | https://raw.githubusercontent.com/ammar-ahmed22/compile-typst-action/main/README.md | markdown | MIT License | <div align="center" >
🛠️ :page_facing_up:
</div>
<h1 align="center">
compile-typst
</h1>
<p align="center">
A GitHub Action for compiling Typst files to PDF's using the latest Typst release.
</p>
## ✨ Features
- **Compile Typst Code**: Automatically compiles .typ files into PDFs.
- **Customizable Paths**: S... |
https://github.com/tiankaima/typst-notes | https://raw.githubusercontent.com/tiankaima/typst-notes/master/2bc0c8-2024_spring_TA/green.typ | typst | $
integral.double_(D) v laplace u - u laplace v dif x dif y = integral.cont_(diff D) v (diff u)/(diff bold(n)) - u (diff v)/(diff bold(n)) dif s
$
$
integral.double laplace u dif x dif y = integral.cont (diff u)/(diff bold(n)) dif s
$
$
nabla = bold(e)_r (diff)/(diff r) + bold(e)_theta 1/r (diff)/(diff theta) + 1/(r ... | |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Codici/Lineari.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Metodi_defs.typ": *
Sia $ZZ_(p)^(n)$ lo spazio vettoriale delle $n$-uple di $ZZ_(p)$, con $p$
numero primo. La somma tra due vettori su tale spazio vettoriale é definita
come:
$ ([x_(1)]_(p), ..., [x_(n)]_(p)) + ([y_(1)]_(p), ..., [y_(n)]_(p)) =
([x_(1) + y_(1)]_(p), ..., [x_(n) + y_(n)]_(p)) $
Mentre ... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/030_Amonkhet.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Amonkhet", doc)
#include "./030 - Amonkhet/001_Impact.typ"
#include "./030 - Amonkhet/002_Trust.typ"
#include "./030 - Amonkhet/003_The Writing on the Wall.typ"
#include "./030 - Amonkhet/004_Servants.typ"
#include "./030 - Amonkhet/005_The Hand That Moves.typ"
#... | |
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/templates/entries.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #let create_default_entry(title: [], date: [], design: [], witness: [], content: []) = {
page(
header: [
#grid(
columns: (2fr, 1fr),
align(left)[
#set text(
font: "Times New Roman",
18pt
... |
https://github.com/DanielOaks/tme | https://raw.githubusercontent.com/DanielOaks/tme/main/extra-sheet.typ | typst | #import "elements.typ": sheet, extraCharacterBox
#let title = "Talking Magic Equines 1e Extras Sheet"
#sheet(
title: title,
paper: "a4",
[
// top matter
#align(
end,
image(
"./tme_v2_-_light_bg.svg",
height: .9cm,
)
)
#v(3pt)
// character snippets
#grid(
columns: 3,
gutter: .65cm,
column-gu... | |
https://github.com/jijinbei/Lizard_Typst | https://raw.githubusercontent.com/jijinbei/Lizard_Typst/main/README.md | markdown | MIT License | # Lizard Typst
## Office Add-in React Vite Template
This is a template for developing an [Office.JS](https://learn.microsoft.com/en-us/office/dev/add-ins/) **PowerPoint** add-in with **Vite** and **React 18**. The main advantage of using this template is a much faster development cycle. The development server starts ... |
https://github.com/mitex-rs/underleaf | https://raw.githubusercontent.com/mitex-rs/underleaf/main/fixtures/underleaf/ieee/main.typ | typst |
#import "@preview/mitex:0.2.0": *
#let res = mitex-convert(mode: "text", read("main.tex"))
#eval(res, mode: "markup", scope: mitex-scope)
| |
https://github.com/jneug/typst-codetastic | https://raw.githubusercontent.com/jneug/typst-codetastic/main/bits.typ | typst | MIT License |
// TODO: This probably should be improved / optimized.
#let pow = calc.pow.with(2)
#let divmod(n) = (calc.quo(n, 2), calc.rem(n, 2))
#let new(pad:0) = (false,) * calc.max(1, pad)
/// >>> bits.to-int(()) == 0
/// >>> bits.to-int((true,)) == 1
/// >>> bits.to-int((true,false)) == 2
#let to-int(b) = b.rev().enumerate... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/overview.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book-page.with(title: "Overview of Service")
This document gives an overview of tinymist service, which provides a single integrated language service for Typst. This document doesn't dive in details unless necessary.
== Principles
Four principles are followed, as detailed in #cross-link(... |
https://github.com/Lancern/resume-template | https://raw.githubusercontent.com/Lancern/resume-template/master/main-en.typ | typst | Creative Commons Zero v1.0 Universal | #import "resume.typ": *
#show: resume.with(
"<NAME>",
"123456789",
"<EMAIL>",
webpage: "https://hacker.me",
github-id: "Hacker",
)
= Education
#edu-item(
"Number One University",
"Bachelor",
"2016.08",
end-date: "2020.07",
major: "Software Engineering",
body: [
GPA: top 5%
]
)
#edu-item(
... |
https://github.com/Walker-00/cs-eik | https://raw.githubusercontent.com/Walker-00/cs-eik/rust/pages/structure.typ | typst | Do What The F*ck You Want To Public License | #let text_style(contents) = [
#show link: underline
#set page(numbering: "1", number-align: center)
#set text(font: "Maple Mono", lang: "my")
#set heading(numbering: "1.1)")
#set par(justify: true)
#contents
] |
https://github.com/andreasKroepelin/lovelace | https://raw.githubusercontent.com/andreasKroepelin/lovelace/main/README.md | markdown | MIT License | # Lovelace
This is a package for writing pseudocode in [Typst](https://typst.app/).
It is named after the computer science pioneer
[Ada Lovelace](https://en.wikipedia.org/wiki/Ada_Lovelace) and inspired by the
[pseudo package](https://ctan.org/pkg/pseudo) for LaTeX.
,
author: "<NAME>",
doc
)
When I was caught stealing from the magister's study, I was given two choices. I could join the noble Akroan soldi... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/metadata.typ | typst | Apache License 2.0 | #let first-name = "Miles"
#let last-name = "Dyson"
#let sub-title = ""
#let profile-image = "template/img/portrait.png"
#let language = "es"
#if language == "en" {
sub-title = "Software Engineer with a knack for human-friendly AI solutions"
} else if language == "es" {
sub-title = "Ingeniero de software con un ta... |
https://github.com/typst-community/typst.js | https://raw.githubusercontent.com/typst-community/typst.js/main/test/example.typ | typst | Apache License 2.0 | = Introduction
In this report, we will explore the
various factors that influence _fluid
dynamics_ in glaciers and how they
contribute to the formation and
behavior of these natural structures.
#metadata("This is a note") <note> |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-11-26/23-11-26.typ | typst | #import "/template.typ":*
#show: project.with(
date: "26/11/23",
subTitle: "Meeting di retrospettiva e pianificazione",
docType: "verbale",
authors: (
"<NAME>",
),
missingMembers: (
"<NAME>", "<NAME>"
),
timeStart: "15:00",
timeEnd: "16:30",
);
= Ordine del giorno
- Retrospettiva sprint 3;
-... | |
https://github.com/Tetragramm/flying-circus-typst-template | https://raw.githubusercontent.com/Tetragramm/flying-circus-typst-template/main/README.md | markdown | MIT License | # The `flyingcircus` Package
<div align="center">Version 3.2.0</div>
Do you want your homebrew to have the same fancy style as the Flying Circus book? Do you want a simple command to generate a whole aircraft stat page, vehicle, or even ship? I'll bet you do! Take a look at the Flying Circus Aircraft Catalog Template... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/github-pages/docs/readme-draft.typ | typst | Apache License 2.0 |
// #import "@preview/canvas:0.1.0": canvas
// #import "/contrib/typst/typst-canvas/lib.typ": canvas
#import "graphs.typ": data-flow-graph
// The project function defines how your document looks.
// It takes your content and some metadata and formats it.
// Go ahead and customize it to your liking!
#let project(title:... |
https://github.com/flaribbit/indenta | https://raw.githubusercontent.com/flaribbit/indenta/master/demo.typ | typst | MIT License | #import "lib.typ": fix-indent
#set par(first-line-indent: 2em)
#show: fix-indent()
Indent
= Title 1
== Section 1
Indent
Indent
== Section 2
#figure(rect(),caption: lorem(2))
no indent
#figure(rect(),caption: lorem(2))
$"Indent"$
+ item
+ item
Indent
= Title 2
$ f(x) $
$ f(x) $
no indent
Indent
$ f(x) $
$ f... |
https://github.com/francois-rozet/postr | https://raw.githubusercontent.com/francois-rozet/postr/master/README.md | markdown | # Postr
A minimal research poster template in Typst.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.