repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/wade-cheng/typst-mla | https://raw.githubusercontent.com/wade-cheng/typst-mla/main/main.typ | typst | MIT License | #import "mla.typ": *
#show: mla.with(
title: [Final Paper: Underwater Basket Weaving],
author: [<NAME>],
header: [Cheng],
instructor: [<NAME>],
class: [Intro Basketweaving],
date: [1 January 1900],
)
= INTRODUCTION
#lorem(40)
= METHODS
#lorem(30)
== Step 1
#lorem(40)
== Step 2
#lorem(50)
=== Substep
... |
https://github.com/howardlau1999/sysu-thesis-typst | https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/info.typ | typst | MIT License | #let 学校 = "中山大学"
#let 论文名称 = 学校 + "博士学位论文"
#let 论文中文题目 = "基于 typst 的\n学位论文模板"
#let 论文英文题目 = "A thesis template\nbased on typst"
#let 日期 = "二零二三年六月"
#let 中文页眉 = "基于 typst 的学位论文模板"
#let 中文作者名 = "张三"
#let 英文作者名 = "<NAME>"
#let 学号 = "1234567890"
#let 学院 = "某学院"
#let 专业 = "某专业"
#let 英文专业 = "Some Major"
#let 方向 = "某研究方向"
#l... |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/drum_sander.typ | typst | #import "/meta-environments/env-features.typ": *
= Drum Sander
The drum sander can be used to:
- Flatten a board face.
- Smooth a board face.
- Reduce the thickness of thin stock.
== Notes
Always feed stock against the rotation of the drum.
A planer may be a better choice if a lot of material needs to be remov... | |
https://github.com/AugustinWinther/structured-uib | https://raw.githubusercontent.com/AugustinWinther/structured-uib/main/README.md | markdown | MIT License | # Structured-UiB - A lab report template for the course PHYS114 at UiB
Report template to be used for laboratory reports in the course PHYS114 - Basic Measurement Science and Experimental Physics, at the University of Bergen (https://www.uib.no/en/courses/PHYS114). The template is in Norwegian only as of now. Englis... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/weeks/week2.typ | typst | #import "../../utils.typ": *
#section("lexical analysis")
What does a lexer do?
- turns program code into tokens
- eliminates whitespaces, comments and other useless characters for compiler
- marks positions in programcode for error propagation to user -> LSP, debugging
Uses of a lexer
- abstraction
- parser has gu... | |
https://github.com/matthew-e-brown/assignmatts | https://raw.githubusercontent.com/matthew-e-brown/assignmatts/main/src/helpers.typ | typst | MIT License | /// Returns a new colour based on the first with the given opacity value.
#let transparentize(color, opacity) = {
let space = color.space()
let parts = color.components(alpha: false)
space(..parts, opacity)
}
|
https://github.com/AnsgarLichter/hka-thesis-template | https://raw.githubusercontent.com/AnsgarLichter/hka-thesis-template/main/chapters/A1_Material.typ | typst | = Additional Material
#lorem(450)
== Subchapter
#lorem(450) | |
https://github.com/Dherse/codly | https://raw.githubusercontent.com/Dherse/codly/main/tests/docs/test.typ | typst | MIT License | #include "../../docs/docs.typ" |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/subelement-panic_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Term item (pre-emptive)
#terms.item[Hello][World!]
|
https://github.com/duskmoon314/THU_AMA | https://raw.githubusercontent.com/duskmoon314/THU_AMA/main/docs/ch2/1-概念与例子.typ | typst | Creative Commons Attribution 4.0 International | #import "/book.typ": *
#show: thmrules
#show: book-page.with(title: "概念与例子")
= 概念与例子
== 群的基本概念与实例
#definition("群")[
有一个非空集合 $G$,其中有二元运算“$dot$”,$(G, dot)$ 满足:
/ 疯: 封闭性 $forall a, b in G, a dot b in G$
/ 姐: 结合律 $forall a, b, c in G, (a dot b) dot c = a dot (b dot c)$
/ 咬: 幺元 / 单位元 $exists e in G, forall a in... |
https://github.com/MattiaOldani/Informatica-Teorica | https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/complessità/19_tempo_vs_spazio.typ | typst | #import "@preview/lemmify:0.1.5": *
#let (
theorem, lemma, corollary,
remark, proposition, example,
proof, rules: thm-rules
) = default-theorems("thm-group", lang: "it")
#show: thm-rules
#show thm-selector("thm-group", subgroup: "theorem"): it => block(
it,
stroke: red + 1pt,
inset: 1em,
breakable: tru... | |
https://github.com/saadulkh/typst-notes | https://raw.githubusercontent.com/saadulkh/typst-notes/main/example.typ | typst | MIT License | #import "notes.typ"
#set page(
paper: "a4",
footer: notes.display(), // Footnotes
footer-descent: 0pt
)
#notes.note[Page1][This is page one]
#notes.note[Same Page][This is same page]
#notes.display() // Endnotes
#pagebreak()
#notes.note[Page2][This is page two]
|
https://github.com/indicatelovelace/kinave | https://raw.githubusercontent.com/indicatelovelace/kinave/main/0.1.0/docs/manual.typ | typst | #import "@preview/mantys:0.1.1": *
#import "@preview/tidy:0.2.0": *
#show: mantys.with(
name: "Link-Style Manual",
version: "0.1.0",
authors: ("<NAME>",),
examples-scope: none,
license: "MIT",
description: "This packages provides helpers for styling link.",
repository: "https://github.com/indicatelovelac... | |
https://github.com/AkshatAdsule/resume | https://raw.githubusercontent.com/AkshatAdsule/resume/main/resume.typ | typst | #import "@preview/guided-resume-starter-cgc:2.0.0": *
#show: resume.with(
author: "<NAME>",
location: "Davis, CA",
contacts: (
[#link("mailto:<EMAIL>")[<EMAIL>]],
// [#link("https://chaoticgood.computer")[Website]],
[#link("https://github.com/AkshatAdsule")[github.com/AkshatAdsule]],
[#link("http... | |
https://github.com/jamesrswift/musicaux | https://raw.githubusercontent.com/jamesrswift/musicaux/main/src/commands/environments.typ | typst | #import "basic-content.typ": stretch-symbol
#import "../symbols.typ": *
// Renders a symbol preceding an environment, scaled to the width of that
// environment
#let environment(
body,
..args
) = {
return (
(
type: "dynamic-symbol",
recurse: body,
positional: args.pos(),
..args.named... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/visualize/stroke.typ | typst | // Test lines.
--- stroke-constructor ---
// Converting to stroke
#test(stroke(red).paint, red)
#test(stroke(red).thickness, auto)
#test(stroke(2pt).paint, auto)
#test(stroke((cap: "round", paint: blue)).cap, "round")
#test(stroke((cap: auto, paint: blue)).cap, auto)
#test(stroke((cap: auto, paint: blue)).thickness, a... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-14.typ | typst | Other | // Error: 16-19 divisor must not be zero
#calc.quo(3.0, 0.0)
|
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis | https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/my-index.typ | typst | #let classes = (main: "Main")
#let index_string = "my_index"
#let index(content) = place(hide(
figure(
classes.main,
caption: content,
numbering: none,
kind: index_string
)))
#let make-index-int(title: none, main_color_state:none) = {
let content-text(content) = {
let ct = ""
if c... | |
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/fonc/comp-monade.typ | typst | #import "../lib.typ": *
#show heading: heading_fct
#import "@preview/gloss-awe:0.0.5": gls
#show figure.where(kind: "jkrb_glossary"): it => {it.body}
_Dans ce problème, on utilisera du pseudocode fonctionnel ou le langage `OCaml`._
On suivra la convention `OCaml`, et identifiera les types génériques (`'a`) à la lett... | |
https://github.com/maucejo/book_template | https://raw.githubusercontent.com/maucejo/book_template/main/template/chapters/ch1.typ | typst | MIT License | #import "../../src/book.typ": *
#show: chapter.with(title: "Premier chapitre")
== Objectifs
#lorem(100)
Les équations @eq:1 et @eq:2 sont des équations très importantes.
$
integral_0^1 f(x) dif x = F(1) - F(0) "et voilà"
$ <eq:1>
$
integral_0^1 f(x) dif x = F(1) - F(0) "et voilà"
$ <eq:2>
La Figure... |
https://github.com/herbhuang/utdallas-thesis-template-typst | https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/content/proposal/objective.typ | typst | MIT License | #import "/utils/todo.typ": TODO
= Objective
#TODO[ // Remove this block
*Proposal Objective*
- What are the main goals of your thesis?
- Ideally this section starts with a short overview where you state the goals with short enumerated bulletpoints, i.e. 1., 2., 3., ...
- Then, the section has a sub section fo... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-aspect_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test square that is limited by region size.
#set page(width: 20pt, height: 10pt, margin: 0pt)
#stack(dir: ltr, square(fill: forest), square(fill: conifer))
|
https://github.com/spidersouris/touying-unistra-pristine | https://raw.githubusercontent.com/spidersouris/touying-unistra-pristine/main/src/admonition.typ | typst | MIT License | #import "colors.typ": *
#import "settings.typ" as settings
// Credit: piepert
// https://github.com/piepert/grape-suite/blob/3be3e71a994bae82c9a9dedf41e918d7837ccc39/src/elements.typ
#let ADMONITION-TRANSLATIONS = (
"task": (
"sg": (
"en": "Task",
"fr": "Tâche",
),
"pl": (
"en": "Tasks... |
https://github.com/Ryoga-itf/differential-equations | https://raw.githubusercontent.com/Ryoga-itf/differential-equations/main/report01/report.typ | typst | #import "../template.typ": *
#import "@preview/tenv:0.1.1": parse_dotenv
#import "@preview/physica:0.9.2": *
#let env = parse_dotenv(read("../.env"))
#show: project.with(
week: "第1回",
authors: (
(name: env.STUDENT_NAME, email: "学籍番号:" + env.STUDENT_ID, affiliation: "所属:情報科学類"),
),
date: "2024 年 10 月 3 日",... | |
https://github.com/lyzynec/orr-go-brr | https://raw.githubusercontent.com/lyzynec/orr-go-brr/main/05/main.typ | typst | #import "../lib.typ": *
#knowledge[
#question(name: [Understand and explain the _Bellman's principle of
optimality_.])[
#quote(attribution: [Bellman, presumably], block: true)[
If the shortest path from pub home takes you to a bar, the rest of the
path home is the shortest path from... | |
https://github.com/atareao/cheatsheets | https://raw.githubusercontent.com/atareao/cheatsheets/main/src/docker.typ | typst | MIT License | #let header(
title: "",
logo: none
) = {
box(
fill: aqua,
width: 100%,
inset: (top: 10pt, left: 20pt, bottom: 10pt),
[
#grid(
columns: (auto, 1fr),
gutter: 10pt,
[
#if logo != none [
#box(
inset: (left: 10pt),
[
... |
https://github.com/zagoli/simple-typst-thesis | https://raw.githubusercontent.com/zagoli/simple-typst-thesis/main/.typst-preview.main.typ | typst | Apache License 2.0 | #import "template.typ": project
#show: project.with(
title: "The Magical Green Bean 😎",
authors: (
(name: "<NAME>",
email: "<EMAIL>",
affiliation: "University of Studies",
postal: "Via dei gigli, 18/b",
phone: "3402203300"),
),
abstract: lorem(59)
)
= Introduction
#lorem(60)
== In th... |
https://github.com/heiafr-isc/typst-report-template | https://raw.githubusercontent.com/heiafr-isc/typst-report-template/main/main.typ | typst | Apache License 2.0 | // ---------------------------------------------------------------------------
// Copyright © 2024 Haute école d'ingénierie et d'architecture de Fribourg
// SPDX-License-Identifier: Apache-2.0
// ---------------------------------------------------------------------------
// Author : <NAME> <<EMAIL>>
// Date : 23 Febr... |
https://github.com/hrmnjt/resume | https://raw.githubusercontent.com/hrmnjt/resume/main/README.md | markdown | Apache License 2.0 | # hrmnjt's resume
Hello reader!
You have landed on codebase which I use to generate my resume. Some features
that I deliberately wanted to have are:
- Version controlled resume, so that I can track how I'm evolving over time
- Ease of access, so I can share the link or artifact from any system.
Thanks Github!
- Sin... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-01.typ | typst | Other | // Test multiple calls.
#{
let f(b, c: "!") = b + c
let g(a, ..sink) = a + f(..sink)
test(g("a", "b", c: "c"), "abc")
}
|
https://github.com/baijing0328/CV | https://raw.githubusercontent.com/baijing0328/CV/master/README.md | markdown | 来源自 https://github.com/OrangeX4/Chinese-Resume-in-Typst
做了部分格式上的修改
| |
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/drive_loctite.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/templates/entries.typ": *
#import "/templates/headers.typ": *
#import "/templates/text.typ": *
#create_default_entry(
title: [Drivetrain Maintenance],
date: [October 13th, 2023],
witness: [Juan],
design: [Deb],
content: [
#box_header(
title: [Loctite Drivetrain Motors],
... |
https://github.com/metamuffin/typst | https://raw.githubusercontent.com/metamuffin/typst/main/tests/typ/compiler/field.typ | typst | Apache License 2.0 | // Test field access.
// Ref: false
---
// Test field on dictionary.
#let dict = (nothing: "ness", hello: "world")
#test(dict.nothing, "ness")
#{
let world = dict
.hello
test(world, "world")
}
---
// Test fields on elements.
#show list: it => {
test(it.children.len(), 3)
}
- A
- B
- C
---
// Test fields ... |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/overflow/side/test.typ | typst | MIT License | #import "/src/lib.typ": sidenote
#set par(justify: true)
#set page(width: 12cm, height: 6cm, margin: (x: 4cm, rest: 5mm))
#let sidenote = sidenote.with(numbering: "1")
#lorem(8)
#sidenote(side: right)[This sidenote is on the right side and independent from any corrections of the left notes.]
#lorem(2)
#sid... |
https://github.com/antonWetzel/typst-languagetool | https://raw.githubusercontent.com/antonWetzel/typst-languagetool/main/example/other.typ | typst | MIT License | #set text(lang: "en", region: "EN")
= Überschrift
Test für falsche Sprache.
|
https://github.com/joserlopes/PIC | https://raw.githubusercontent.com/joserlopes/PIC/main/Feature_Proposal_A003.typ | typst | #show heading: it => {
if it.level == 1 {
set text(17pt, navy)
align(center)[#it]
} else if it.level == 2 {
set text(14pt, navy)
align(center)[#it]
}
}
#show link: it => {
set text(blue)
underline(it)
}
#set par(justify: true, first-line-indent: 1em)
#show raw: it => {
if it.block {
... | |
https://github.com/AsiSkarp/grotesk-cv | https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/src/template/cover.typ | typst | The Unlicense | #let metadata = toml("info.toml")
#import metadata.import.path: cover-letter, recipient-entry, cv-section
#import "@preview/fontawesome:0.4.0": *
#let first-name = metadata.personal.first_name
#let last-name = metadata.personal.last_name
#let text-size = eval(metadata.layout.text.cover_letter_size)
#show: cover-lett... |
https://github.com/Slyde-R/not-jku-thesis-template | https://raw.githubusercontent.com/Slyde-R/not-jku-thesis-template/main/template/content/LiteratureReview.typ | typst | MIT No Attribution | #import "../utils.typ": todo, silentheading, flex-caption
= Literature Review
#todo[Replace this chapter!]
== Overview of Feline Behavior
Feline behavior has been a subject of interest in animal behavior research, though often overshadowed by studies focusing on dogs. Research has highlighted the domestic cat's uniqu... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/raw-line_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 200pt)
#show raw.line: set text(fill: red)
```py
import numpy as np
def f(x):
return x**2
x = np.linspace(0, 10, 100)
y = f(x)
print(x)
print(y)
```
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/content_05.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test boxes with a baseline are respected
#box(stroke: 0.2pt, $a #box(baseline:0.5em, stroke: 0.2pt, $a$)$)
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-10.typ | typst | Other | // Error: 2-3 unexpected closing brace
#}
|
https://github.com/bcourtel/cv | https://raw.githubusercontent.com/bcourtel/cv/main/README.md | markdown | MIT License | # CV
You can find the compiled CV [in the releases](https://github.com/bcourtel/cv/releases/latest).
## Requirements
- [act](https://github.com/nektos/act)
- [Task](https://taskfile.dev/)
- [typst](https://typst.app/)
- [typstfmt](https://github.com/astrale-sharp/typstfmt)
## Usage
### Cloning
This project uses a... |
https://github.com/k0tran/typst | https://raw.githubusercontent.com/k0tran/typst/sisyphus/vendor/hayagriva/docs/selectors.md | markdown | # Selectors
As you have seen in the Readme and the [file format documentation](https://github.com/typst/hayagriva/blob/main/docs/file-format.md), a Hayagriva entry not only has a type but also parents that can have their own type. With this architecture, differentiation between articles from blogs, newspapers, and con... | |
https://github.com/enseignantePC/2023-24 | https://raw.githubusercontent.com/enseignantePC/2023-24/master/Chapitre1/tp1/slides.typ | typst | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#set text(font: "Caladea")
#show: clean-theme.with(
footer: [Author, institution],
short-title: [Short title],
)
#title-slide(
title: [TP1: Mesure de masse volumique],
// subtitle: [Presentation subtitle],
authors: ([<NAME>], [Physique chimie]),
/... | |
https://github.com/maantjemol/Aantekeningen-Jaar-2 | https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/Business%20Information%20Systems/samenvatting.typ | typst | #import "../template/lapreprint.typ": template
#import "../template/frontmatter.typ": loadFrontmatter
#import "@preview/drafting:0.2.0": *
#import "@preview/cetz:0.2.2"
#let default-rect(stroke: none, fill: none, width: 0pt, content) = {
pad(left:width*(1 - marginRatio), rect(width: width*marginRatio, stroke: stroke... | |
https://github.com/ShapeLayer/ucpc-solutions__typst | https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/examples/2024-first-half-pimm-party.typ | typst | Other | #import "@preview/ucpc-solutions:0.1.0" as ucpc
#import ucpc: color
#import ucpc.presets: difficulties as lv
#let primary = rgb("#064E6A")
#let primary_light = rgb("#013144")
#let pallete = (
primary: primary,
secondar-color: white,
)
#show: ucpc.ucpc.with(
title: "2024 1st Half Chonnam Nat'l Univ PIMM Algorith... |
https://github.com/ren-ben/typst-notes | https://raw.githubusercontent.com/ren-ben/typst-notes/master/math/calculus/anwendung_diff_int/anw_diff_int.typ | typst | #align(center, text(24pt)[
*Anwendungen der Differenzial & Integralrechnung*
])
#align(center)[
<NAME> \
Technologisches Gewerbemuseum \
#link("mailto:<EMAIL>")
]
#show: rest => columns(2, rest)
#set heading(numbering: "1.")
#show par: set block(spacing: 0.65em)
#set par(
first-line-indent: 1em,
jus... | |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/023.typ | typst | #let date = datetime(
year: 2022,
month: 3,
day: 14,
)
#metadata((
title: "错排问题",
subtitle: [错排问题,欧拉信封问题],
author: "dashuai009",
abstract: "",
description: "考虑一个有n个元素的排列,若一个排列中所有的元素都不在自己原来的位置上,那么这样的排列就称为原排列的一个错排。",
pubDate: "'Jul 08 2022'",
))<frontmatter>
#import "../__template/style.typ": conf
#sho... | |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/WEB/docs/2-HTML%26CSS/html.typ | typst | #import "/_settings/typst/template-note-en.typ": conf
#show: doc => conf(
title: [
HTML
],
lesson: "WEB",
chapter: "2 - HTML & CSS",
definition: "The content covers essential educational objectives in the WEB course, detailing the roles of HTML and CSS, HTML document structure, CSS styling, and utilizing ... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas1/1_Pondelok.typ | typst | #let V = (
"HV": (
("", "Prechváľniji múčenicy", "Vsjá privél jesí tvojím slóvom i Dúchom, za bláhosť Hóspodi, táže sotvoríl jesí slovésnoje mjá živótno, da tvojé svjatóje slávľu vsesíľnoje ímja. áz že najpáče stúdnymi mojími ďíly vsehdá bezčéstvuju: no poščadí, moľúsja."),
("", "", "Poznáj tvojé, okajánnaja ... | |
https://github.com/gumelarme/nuist-master-thesis-proposal | https://raw.githubusercontent.com/gumelarme/nuist-master-thesis-proposal/main/pages/cover.typ | typst | #import "/strings/en.typ" as lang
#let default-label = (
title: lang.cover-title,
student-number: lang.student-number,
degree: lang.degree,
school-name: lang.school-name,
)
#let info(key, value) = {
let info-key(body) = rect(
height: 1.8em,
stroke: none,
inset: (x: 0pt, bottom: 1pt),
text(we... | |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/r09.typ | typst | MIT License | #import "@local/evan:1.0.0":*
#show: evan.with(
title: [Notes for 18.02 Recitation 9],
subtitle: [18.02 Recitation MW9],
author: "<NAME>",
date: [1 October 2024],
)
#quote(attribution: [Ozpin, in RWBY])[You brought your army to my kingdom, James. Use it.]
This handout (and any other DLC's I write) are posted... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/line_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 14-26 expected relative length, found angle
// #line(start: (3deg, 10pt), length: 5cm) |
https://github.com/giZoes/justsit-thesis-typst-template | https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/indent.typ | typst | MIT License | // 中文缩进
#let indent = h(2em)
// 假段落,附着于 heading 之后可以实现首行缩进
#let empty-par = par[#box()]
#let fake-par = context empty-par + v(-measure(empty-par + empty-par).height) |
https://github.com/xdoardo/co-thesis | https://raw.githubusercontent.com/xdoardo/co-thesis/master/talks/thesis/main.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/prooftrees:0.1.0"
#import "@preview/tablex:0.0.5": tablex, rowspanx, colspanx
#import themes.simple: *
#set text(font: "Roslindale Deck")
#show heading.where(level: 1): set text(font: "Roslindale Deck")
#show heading.where(level: 2): set text(font: "Roslindale Dec... | |
https://github.com/pascalguttmann/typst-template-report-lab | https://raw.githubusercontent.com/pascalguttmann/typst-template-report-lab/main/README.md | markdown | MIT License | # typst-template-report-lab
Typst template for lab reports in laboratories.
To initialize a new report locally use `init.sh`, which will copy the template
of the report to the specified path.
```bash
./init.sh <path>
```
|
https://github.com/optimizerfeb/MathScience | https://raw.githubusercontent.com/optimizerfeb/MathScience/main/게임 인공지능 속의 수학.typ | typst | #set text(font: "Noto Serif KR")
#align(center, text(17pt)[
*게임 인공지능 속의 수학*
])
#align(right, text(10pt)[
한남대학교 수학과
20172581 김남훈
])
= 1. 게임에서 인공지능의 역할
게임 속 세계는 크게 플레이어와 NPC, 그리고 그들이 위치하는 맵으로 구성된다. NPC는 적대적 NPC(일명 몬스터)와 비적대적 NPC 가 존재하는데, 이들은 인공지능에 기반해 행동한다. 인공지능이 없다면 이들 NPC는 한 자리에 가만히 있으며 플레이어와 어떤 상호작용도 하지 않을... | |
https://github.com/engboris/cv-template | https://raw.githubusercontent.com/engboris/cv-template/main/icons.typ | typst | MIT License | #let fa(name) = {
text(
font: "Font Awesome 6 Free Solid",
size: 11pt,
box[ #name ]
)
}
/* To add new icons, go to https://fontawesome.com/ then search for the
unicode value of your icon.
*/
#let fa_github = symbol("\u{f09b}")
#let fa_email = symbol("\u{f0e0}")
#let fa_website = symbol("\u{f0ac... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/024%20-%20Shadows%20over%20Innistrad/002_A%20Gaze%20Blank%20and%20Pitiless.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"A Gaze Blank and Pitiless",
set_name: "Shadows Over Innistrad",
story_date: datetime(day: 09, month: 03, year: 2016),
author: "<NAME>",
doc
)
#emph[Innistrad has entered a new age of prosperity and peace. Avacyn, a powerful angel who is the... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/043%20-%20Innistrad%3A%20Midnight%20Hunt/005_Episode%203%3A%20The%20Fall%20of%20the%20House%20of%20Betzold.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 3: The Fall of the House of Betzold",
set_name: "Innistrad: Midnight Hunt",
story_date: datetime(day: 15, month: 09, year: 2021),
author: "<NAME>",
doc
)
"So, when you guys said that if the key was in Thraben, it'd be safe~"
The gr... | |
https://github.com/ngyngcphu/tick3d-docs | https://raw.githubusercontent.com/ngyngcphu/tick3d-docs/main/components/footer.typ | typst | Apache License 2.0 | #let m = yaml("/metadata.yml")
#set text(font: m.at("fonts").at("monospace"), size: 8pt)
#show: block.with(
stroke: (top: 1pt),
inset: (top: 1em),
)
#locate(loc => [
// skip first page footer
#if loc.page() == 1 {
return
}
#let current-page = counter(page).at(loc).at(0)
#let total-pages = counter(p... |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/inline-block-raw.typ | typst | Apache License 2.0 | #text(``` test ```)
#text(```test ```)
|
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/poc/type_inference.typ | typst | #import "../../../acronyms.typ": *
= Type Inference <type-inference>
VisualFP features a type-inference engine responsible for figuring out which
expressions are valid, determine which type holes are necessary, and annotate
sub-expressions with their according types.
It operates on a separate expression model to iso... | |
https://github.com/Vanille-N/mpri2-edt | https://raw.githubusercontent.com/Vanille-N/mpri2-edt/master/time.typ | typst | #import "typtyp.typ"
#let tt = typtyp
#let Time = tt.typedef("Time", tt.struct(minutes: tt.int, label: tt.content))
#let Bounds = tt.typedef("Bounds", tt.struct(start: Time, end: Time))
#let mod(base) = num => {
while num >= base {
num -= base
}
num
}
#let left-pad(w, fill) = t => {
while t.len() < w {
... | |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/arbor_press.typ | typst |
#import "/meta-environments/env-templates.typ": *
= Arbor Press
(Overview paragraph(s))
== Notes
=== Safety
Always wear safety goggles.
Keep fingers free of the crushing area.
=== Common Hazards
Parts compressed off axis may fly sideways out of the press.
Material that shatters under compression will fling de... | |
https://github.com/alimitedgroup/alimitedgroup.github.io | https://raw.githubusercontent.com/alimitedgroup/alimitedgroup.github.io/main/verbali/esterni/2024-10-23.typ | typst | // VE 23-10-2024
#import "../../lib.typ": *
#set text(lang: "it")
#show: doc => verbale(
data: [23-10-2024],
tipo: [esterno],
regmodifiche: (
/*("1.0.0", "2024-10-15", "Samuele Esposito", "-", "Approvazione documento"),
("0.1.0", "17-10", "<NAME>", "-", "Modifica e verifica documento"),*/
("0.0.2", "... | |
https://github.com/pluttan/shem | https://raw.githubusercontent.com/pluttan/shem/main/tit.typ | typst | #import "@docs/bmstu:1.0.0":*
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx
// #show: student_work.with(
// caf_name: "Компьютерные системы и сети",
// faculty_name: "Информатика и системы управления",
// work_type: "лабораторной работе",
// work_num: "1",
// discipline_name: "Схемотехник... | |
https://github.com/maxlambertini/tomorrow-cv | https://raw.githubusercontent.com/maxlambertini/tomorrow-cv/main/README.md | markdown | # Tomorrow CV
This is the template I use for my CV. It's been inspired by [Harunwar's Attractive Resume](https://github.com/Harkunwar/attractive-typst-resume)
I used Bitter as body font and Tomorrow as title font, giving it a slightly more "Techno-futuristic" look.
Fonts are included in this project, and are licens... | |
https://github.com/mrcinv/nummat-typst | https://raw.githubusercontent.com/mrcinv/nummat-typst/master/domace_01.typ | typst | #import "admonitions.typ": opomba
#import "@preview/minitoc:0.1.0": *
= 1. domača naloga
<1-domača-naloga>
Izberite eno izmed spodnjih nalog.
#minitoc(title: [Naloge], target: heading.where(depth: 2))
== SOR iteracija za razpršene matrike
<sor-iteracija-za-razpršene-matrike>
Naj bo #emph[A n × n] diagonalno domina... | |
https://github.com/piepert/logik-tutorium-wise2024-2025 | https://raw.githubusercontent.com/piepert/logik-tutorium-wise2024-2025/main/src/konzept.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/grape-suite:1.0.0": seminar-paper, german-dates
#import "/src/packages/goals.typ": *
#import "/src/templates/exercise.typ": *
#import "/src/templates/slides.typ": *
#import "/src/packages/inference.typ": *
#set text(lang: "de")
#show: seminar-paper.project.with(
university: "Universität Rostock"... |
https://github.com/ymgyt/techbook | https://raw.githubusercontent.com/ymgyt/techbook/master/math/matrix/rotation_matrix.typ | typst | == 回転行列
$f vec(x,y)$を座標$vec(x,y)$を$theta$回転させる変換とする。 \
このとき変換$f$を表現行列で表したい。\
変換は$f vec(1,0), f vec(0,1)$が決まれば、定まるのでそれぞれを回転させることを考える。\
$vec(1,0)$を$theta$回転させると、定義より \
$ f vec(1,0) = vec(cos theta, sin theta) $
$vec(0,1)$の$theta$回転は、$vec(1,0)$の$theta + 90 degree$とみなせるので \
$ f vec(0,1)
&= vec(cos (theta + 90 degree)... | |
https://github.com/catg-umag/inach-workshop-2024 | https://raw.githubusercontent.com/catg-umag/inach-workshop-2024/main/document/sections/4_taxonomic_assignment.typ | typst | #import "@preview/gentle-clues:1.0.0": *
#import "../catgconf.typ": cmd, github-pill, doi-pill
= Asignación Taxonómica
== NanoCLUST
#github-pill("genomicsITER/NanoCLUST") #h(3pt) #doi-pill("10.1093/bioinformatics/btaa900")
NanoCLUST es un flujo de trabajo desarrollado en Nextflow para la clasificación de amplicones ... | |
https://github.com/mgoulao/arkheion | https://raw.githubusercontent.com/mgoulao/arkheion/main/template.typ | typst | #let arkheion(
title: "",
abstract: [],
keywords: (),
authors: (),
date: none,
body,
) = {
// Set the document's basic properties.
set document(author: authors.map(a => a.name), title: title)
set page(
margin: (left: 25mm, right: 25mm, top: 25mm, bottom: 30mm),
numbering: "1",
number-align... | |
https://github.com/InseeFrLab/address-search-gaia-docs | https://raw.githubusercontent.com/InseeFrLab/address-search-gaia-docs/main/src/abstract-ntts/index.typ | typst | MIT License | // Some definitions presupposed by pandoc's typst output.
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#let endnote(num, contents) = [
#stack(dir: ltr, spacing: 3pt, super[#num], contents)
]
#show outline.entry.where(
level: 1): it => {
v(12pt, weak: true)
... |
https://github.com/AxiomOfChoices/Typst | https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Miscellaneous/GeoTopo/Assignment%206.typ | typst | #import "../../Templates/generic.typ": latex, header
#import "../../Templates/question.typ": question_heading
#import "@preview/cetz:0.1.2"
#show: doc => header(title: "Assignment 6", name: "<NAME>", doc)
#show: latex
#show: question_heading
#let ve = $epsilon$
#let ip(..x) = $lr(angle.l #x.pos().join(",") angle.r)$
=... | |
https://github.com/liuguangxi/suiji | https://raw.githubusercontent.com/liuguangxi/suiji/main/tests/test-rand-sc.typ | typst | MIT License | #set document(date: none)
#import "/src/lib.typ": *
#set text(size: 10.5pt, font: ("Source Han Serif SC"), lang: "zh", region: "cn")
#set par(leading: 0.55em, justify: true, first-line-indent: 2em)
#show par: set block(spacing: 0.55em)
#for i in range(36) [
#box(width: 2em)[(#i)] #h(1em) #rand-sc(i,... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2190.typ | typst | Apache License 2.0 | #let data = (
("LEFTWARDS ARROW", "Sm", 0),
("UPWARDS ARROW", "Sm", 0),
("RIGHTWARDS ARROW", "Sm", 0),
("DOWNWARDS ARROW", "Sm", 0),
("LEFT RIGHT ARROW", "Sm", 0),
("UP DOWN ARROW", "So", 0),
("NORTH WEST ARROW", "So", 0),
("NORTH EAST ARROW", "So", 0),
("SOUTH EAST ARROW", "So", 0),
("SOUTH WEST AR... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/errror_tolerance/blocks.typ | typst | Apache License 2.0 | #{func(}
#[func(]
#func("]
#{}
|
https://github.com/tlsnotary/docs-mdbook | https://raw.githubusercontent.com/tlsnotary/docs-mdbook/main/research/README.md | markdown | # TLSNotary Research
This folder contains write-ups from research.
## Typst
The research write-ups are written in the [typst](https://github.com/typst/typst) markup language.
You can install `typst` with:
```sh
cargo install --git https://github.com/typst/typst typst-cli
```
or `brew install typst` on MacOs.
To co... | |
https://github.com/npikall/typst-templates | https://raw.githubusercontent.com/npikall/typst-templates/main/main.typ | typst | #import "templates/vienna-sci.typ": tuw-thesis
// Fancy Representation for LaTeX and Typst
#let typst = {
text(font: "Linux Libertine", weight: "semibold", fill: eastern)[typst]
}
#let latex = {
set text(font: "New Computer Modern")
box(width: 2.55em, {
[L]
place(top, dx: 0.3em, text(size: 0.7em... | |
https://github.com/EpicEricEE/typst-equate | https://raw.githubusercontent.com/EpicEricEE/typst-equate/master/README.md | markdown | MIT License | # equate
A package for various enhancements for mathematical expressions.
## Usage
The main function of this package is `equate`, which can be applied in a show-all rule to enable the package features for all equations. The function takes a single positional argument (for the body of the show rule), and severa... |
https://github.com/donghoony/typst_editorial | https://raw.githubusercontent.com/donghoony/typst_editorial/main/division_abstract.typ | typst | MIT License | #import "colors.typ" : *
#let abstract_page(division: "3", problems: ()) = {
text(weight: "bold", size: 40pt)[Div. #division]
let cell = rect.with(
inset: 12pt,
width: 100%
)
let column_width = (8%, 50%, 15%)
let row_header_content(_text) = {
cell(
fill: black,
text(weight: "bold", ... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/match_def/base.typ | typst | Apache License 2.0 | #let /* ident after */ f(a) = a; |
https://github.com/kznr02/neet-cv | https://raw.githubusercontent.com/kznr02/neet-cv/main/README.md | markdown | MIT License | # neet-cv 基于typst编写的简历模板

使用方法:使用typst官方的app或者vscode,导入assets与template.typ即可开始使用,详情模板使用请参考cv-sample.typ
有任何改进欢迎提issue提pr(〃 ̄︶ ̄)人( ̄︶ ̄〃)
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/place-float-figure.typ | typst | Apache License 2.0 | // Test floating figures.
---
#set page(height: 250pt, width: 150pt)
= Introduction
#lorem(10) #footnote[Lots of Latin]
#figure(
placement: bottom,
caption: [A glacier #footnote[Lots of Ice]],
image("/files/glacier.jpg", width: 80%),
)
#lorem(40)
#figure(
placement: top,
caption: [An important],
image(... |
https://github.com/LDemetrios/Conspects-4sem | https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/styles/themes/print.typ | typst | #let background = white
#let foreground = black
#let red-ish = luma(127)
#let green-ish = luma(127)
#let blue-ish = luma(127)
#let yellow-ish = luma(127)
#let pagewidth = none
#let pageheight = none
| |
https://github.com/SillyFreak/tu-wien-software-engineering-notes | https://raw.githubusercontent.com/SillyFreak/tu-wien-software-engineering-notes/main/optimizing-compilers/oc/oc.typ | typst | // flow graphs
#let instr = $dotless.i$
#let succ = $italic("succ")$
#let pred = $italic("pred")$
// DFAs
#let Spec = $cal(S)$
#let Func(e: $thick$) = $bracket.l.double #e bracket.r.double$
#let fw = $italic("fw")$
#let bw = $italic("bw")$
#let Const = $italic("Cst")$
#let Id = $italic("Id")$
#let Vars = $upright(bo... | |
https://github.com/pmazaitis/combination | https://raw.githubusercontent.com/pmazaitis/combination/main/lib.typ | typst | #import "./combination.typ": *
| |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/Text/sub.typ | typst | #set text(
size:10pt,
)
#set page(
paper:"a5",
margin:(x:1.8cm,y:1.5cm),
)
#set par(
justify: true,
leading: 0.52em,
)
= 下标
以下标形式呈现文本。
文本将会呈现为较小的形式,基准线也会下降。
= 例
#image("20.png")
= 参数
#image("21.png")
= 排版
是否优先选择字体的专用下标字符。
如果启用,Typst 首先尝试将文本转换为下标代码点。如果失败,它将尝试渲染降低和缩小的普通字母。
默认:true
= 基线
合成下标基准线的偏移量。 如果 typ... | |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/basics/measure.md | markdown | MIT License | # Measure, Layout
<div class="warning">This section is outdated. It may be still useful, but it is strongly recommended to study new context system (using the reference).</div>
## Style & Measure
> Style [documentation](https://typst.app/docs/reference/foundations/style/).
> Measure [documentation](https://typst.app... |
https://github.com/FrightenedFoxCN/cetz-cd | https://raw.githubusercontent.com/FrightenedFoxCN/cetz-cd/main/tests/arrows.typ | typst | #import "../src/cetz-cd.typ": *
// first, one simple arrow
#cetz-cd( ```
$...$ ar[r] & $C_n$ ar[r, $d_(n - 1)$] ar[d, $u_n$] & $C_(n - 1)$ ar[r] ar[d, $u_(n - 1)$] & $...$;
$...$ ar[r] & $D_n$ ar[r, $d_(n - 1)$] & $D_(n - 1)$ ar[r] & $...$;
```) | |
https://github.com/artemist/typstcard | https://raw.githubusercontent.com/artemist/typstcard/canon/cards_4x6.typ | typst | #{
set page(width: 6in, height: 4in, margin: 0em)
import "common.typ"
let options = json("options.json")
let cards = options.cards
let args = options.args
let content_fn = if args.no_content {
_ => []
} else {
import "content/content.typ"
content.content
}
for (idx, card) in cards.enum... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/linebreak-00.typ | typst | Other | // Test overlong word that is not directly after a hard break.
This is a spaceexceedinglylongy.
|
https://github.com/rwblickhan/resume | https://raw.githubusercontent.com/rwblickhan/resume/main/template.typ | typst |
#let resume(experiences, personal_projects) = {
set document(title: "Resume", author: "<NAME>")
set page(
paper: "us-letter",
margin: (left: 0.50in, right: 0.50in, top: 0.50in, bottom: 0.50in),
)
set text(font: "Charter", lang: "en")
set par(spacing: 0.75em)
set par(justify: true)
let header ... | |
https://github.com/Doublonmousse/pandoc-typst-reproducer | https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/color_issues/oklab.typ | typst | #square(
fill: oklab(27%, 20%, -3%, 50%)
)
| |
https://github.com/Woodman3/modern-ysu-thesis | https://raw.githubusercontent.com/Woodman3/modern-ysu-thesis/main/pages/bachelor-abstract-en.typ | typst | MIT License | #import "../utils/custom-cuti.typ": fakebold
#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-en(
// documentclass 传入的参数
anonymous: fa... |
https://github.com/Pablo-Gonzalez-Calderon/showybox-package | https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/showybox-package/main/lib/shadows.typ | typst | MIT License | /*
* ShowyBox - A package for Typst
* <NAME> and Showybox Contributors (c) 2023-2024
*
* lib/shadows.typ -- The package's file containing all the
* internal functions for drawing shadows.
*
* This file is under the MIT license. For more
* information see LICENSE on the package's main folder.
*/
#import "func.... |
https://github.com/dankelley/typst_templates | https://raw.githubusercontent.com/dankelley/typst_templates/main/qe/0.0.2/sample.typ | typst | MIT License | #import "@local/qe:0.0.2": conf
#show: doc => conf(
student: "INSERT <NAME> Student",
date: "INSERT Date of Examination",
paper: [INSERT Full reference to assigned paper.],
venu: "INSERT Building and room number",
time: "INSERT Starting time",
doc,
)
// Use $\dagger$ to the left of important questions, to
// aide in t... |
https://github.com/Origami404/kaoyan-shuxueyi | https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/微积分/01-三角函数公式.typ | typst | #import "../template.typ": sectionline, gray_table, colored
= 三角函数
== 定义和关系
#figure(image("../assets/三角函数六角图.png", width: 75%))
== 和差化积
$
sin(alpha plus.minus beta) &= sin alpha cos beta plus.minus cos alpha sin beta \
cos(alpha plus.minus beta) &= cos alpha cos beta plus.minus sin alpha sin beta \
tan(alpha plus... | |
https://github.com/PumasAI/SummaryTables.jl | https://raw.githubusercontent.com/PumasAI/SummaryTables.jl/master/README.md | markdown | MIT License | # SummaryTables.jl
<div align="center">
<picture>
<img alt="SummaryTables.jl logo"
src="/docs/src/assets/logo.png" width="150">
</picture>
</div>
[](https://pumasai.github.io/SummaryTables.jl/stable/)
[![](https://img.shields.io/badge/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.