repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/SpecificaTecnica/content.typ | typst | MIT License | #import "functions.typ": glossary, team
#import "../AnalisiDeiRequisiti/content.typ": requisiti_funzionali_con_codice, requisiti_qualita_con_codice, requisiti_vincolo_con_codice
#import "@preview/cetz:0.2.0": *
#import chart
/*************************************/
/* INSERIRE SOTTO IL CONTENUTO */
/*************... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/stroke_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Line joins
#stack(
dir: ltr,
spacing: 1em,
polygon(stroke: (thickness: 4pt, paint: blue, join: "round"),
(0pt, 20pt), (15pt, 0pt), (0pt, 40pt), (15pt, 45pt)),
polygon(stroke: (thickness: 4pt, paint: blue, join: "bevel"),
(0pt, 20... |
https://github.com/pku-typst/meppp | https://raw.githubusercontent.com/pku-typst/meppp/main/template.typ | typst | MIT License | #import "table.typ": meppp-tl-table
#import "@preview/cuti:0.2.1": show-cn-fakebold
#let meppp-lab-report(
title: "",
author: "",
info: [],
abstract: [],
keywords: (),
author-footnote: [],
heading-numbering-array: ("I", "A", "1", "a"),
heading-suffix: ". ",
doc,
) = {
// Fake bold for Chinese cha... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/terms_03.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test style change.
#set text(8pt)
/ First list: #lorem(6)
#set terms(hanging-indent: 30pt)
/ Second list: #lorem(5)
|
https://github.com/SkiFire13/master-thesis | https://raw.githubusercontent.com/SkiFire13/master-thesis/master/chapters/5-conclusion.typ | typst | = Conclusions <section-conclusions>
We have seen how common systems of fixpoint equations are, especially in model checking, and how we can characterize them using a particular parity game called the powerset game. We have also seen how the moves of this game can be reduced and efficiently expressed using a logic for ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/058%20-%20Duskmourn%3A%20House%20of%20Horror/007_Episode%204%3A%20Don't%20Give%20Up.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 4: Don't Give Up",
set_name: "Duskmourn: House of Horror",
story_date: datetime(day: 26, month: 08, year: 2024),
author: "<NAME>",
doc
)
The gleaming golden shadow of Kyodai led them onward—although "led" might have been the wrong d... | |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/wire/plain%20vertical%20wire/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 0pt)
#import "/src/quill.typ": *
#quantum-circuit(1, ctrl(1, show-dot: false), 1, [\ ], 3) |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/linebreak-06.typ | typst | Other | // Test forcing an empty trailing line.
Trailing break \ \
|
https://github.com/atahanyorganci/resume | https://raw.githubusercontent.com/atahanyorganci/resume/main/resume.typ | typst | MIT License | #set page(paper: "a4", margin: (left: 0cm, right: 0cm, top: 0.75cm, bottom: 0.75cm))
#set text(font: "Mulish")
#let primary = rgb(49,60,78)
#let secondary = rgb(68,147,153)
#show heading.where(level: 1): it => block(
inset: (top: 4pt, bottom: 4pt),
text(size: 16pt, weight: 700, hyphenate: false, upper(it))
)
... |
https://github.com/Hobr/njust_thesis_typst_template | https://raw.githubusercontent.com/Hobr/njust_thesis_typst_template/main/template/thesis.typ | typst | MIT License | #import "../lib.typ": njustThesis
// 配置
#show: njustThesis.with(
// 类型
type: "xgsLesson",
// 信息
info: (
// 标题
title: "南京理工大学是?",
titleEn: "Nanjing University of Science and Technology is What",
// 摘要
abstract: [南京理工大学是隶属于工业和信息化部的全国重点大学,学校由创建于1953年的新中国军工科技最高学府中国人民解放军军事工程学院(简称“哈军工”)分建而成,经历了中... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/superb-pci/0.1.0/formatters.typ | typst | Apache License 2.0 |
#let orcidLogo(
// The ORCID identifier with no URL, e.g. `0000-0000-0000-0000`
orcid: none,
) = {
/* Logos */
let orcidSvg = ```<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24"><path fill="#AECD54" d="M21.8,12c0,5.4-4.4,9.8-9.... |
https://github.com/jamesrswift/springer-spaniel | https://raw.githubusercontent.com/jamesrswift/springer-spaniel/main/src/package/board-n-pieces.typ | typst | The Unlicense | #import "@preview/board-n-pieces:0.4.0": *
#let piece(body) = layout((lyt)=>text(size: lyt.height * 0.75, body))
#let old-board = board;
#let board(highlight: red.lighten(50%),..args) = old-board(
white-square-fill: white,
highlighted-white-square-fill: highlight,
black-square-fill: white.darken(50%),
highl... |
https://github.com/max-niederman/MTH311 | https://raw.githubusercontent.com/max-niederman/MTH311/main/hw/2.typ | typst | #import "../lib.typ": *
#show: homework.with(title: "Math 311 Homework #2")
= 1.4.10
_Proposition_:
For $x, y, z in RR$,
- If $0 <= x < epsilon$ for all $epsilon > 0$, then $x = 0$.
- In general, $y <= z$ is equivalent to the statement that $y < z + epsilon$ for all $epsilon > 0$.
_Proof_:
=== Statement Two (Impli... | |
https://github.com/loreanvictor/master-thesis | https://raw.githubusercontent.com/loreanvictor/master-thesis/main/feedbacklog.typ | typst | MIT License | #import "/feedbacklog_template.typ": *
#import "/common/metadata.typ": *
#import "/common/feedback.typ": *
#set document(title: titleEnglish, author: author)
#show: feedbacklog.with(
titleEnglish: titleEnglish,
supervisor: supervisor,
advisors: advisors,
author: author,
presentationDate: presentationDate,
... |
https://github.com/dermesser/typst_of_jupyter | https://raw.githubusercontent.com/dermesser/typst_of_jupyter/master/README.md | markdown | MIT License | # `typst_of_jupyter`
[](https://github.com/dermesser/typst_of_jupyter/actions/workflows/workflow.yml)
This project aims to convert Jupyter notebooks to PDFs by first generating typst (see [typst.app](https://typst... |
https://github.com/Anastasia-Labs/project-close-out-reports | https://raw.githubusercontent.com/Anastasia-Labs/project-close-out-reports/main/f10-trifecta-of-data-structures-closeout-report/video-transcript/data-structures-video-script.typ | typst | #let image-background = image("../images/background-1.jpg", height: 100%, fit: "cover")
#let image-foreground = image("../images/Logo-Anastasia-Labs-V-Color02.png", width: 100%, fit: "contain")
#let image-header = image("../images/Logo-Anastasia-Labs-V-Color01.png", height: 75%, fit: "contain")
#let fund-link = link("h... | |
https://github.com/Enter-tainer/typst-preview | https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/templates/gh-ebook.typ | typst | MIT License | #import "@preview/book:0.2.3": *
#import "gh-page.typ": project, part-style
#let _page-project = project
#let _resolve-inclusion-state = state("_resolve-inclusion", none)
#let resolve-inclusion(inc) = _resolve-inclusion-state.update(it => inc)
#let project(title: "", authors: (), spec: "", content) = {
set docume... |
https://github.com/lucas-bublitz/tUDESC | https://raw.githubusercontent.com/lucas-bublitz/tUDESC/main/README.md | markdown | Creative Commons Zero v1.0 Universal | # tUDESC
Modelo de Trabalho Acadêmico da UDESC em Typst
|
https://github.com/andreasKroepelin/polylux | https://raw.githubusercontent.com/andreasKroepelin/polylux/main/examples/flipbook.typ | typst | MIT License | #import "../polylux.typ": *
#import "@preview/cetz:0.1.0"
#set page(paper: "presentation-16-9", margin: 2em)
#set text(size: 30pt, font: "Kalam")
#polylux-slide[
== A sunrise on Capri
#alternatives-fn(count: 30, position: top+left, subslide =>
cetz.canvas({
import cetz.draw: *
stroke(none)
c... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/tlacuache-thesis-fc-unam/0.1.1/template/main.typ | typst | Apache License 2.0 | #import "@preview/tlacuache-thesis-fc-unam:0.1.1": thesis
#show: thesis.with(
titulo: [Titulo],
autor: [Autor],
asesor: [Asesor],
bibliography: bibliography("references.bib"),
)
#include "capitulo1.typ" |
https://github.com/tibs245/template-typst-CV | https://raw.githubusercontent.com/tibs245/template-typst-CV/main/template.typ | typst | // Constant
#let primaryColor = blue.darken(20%)
#let showSkill(skill) = box(inset: (x: 0.2em), [#box(height: 1em, inset: (top: skill.at("iconInset", default: 0%)) ,skill.icon) #skill.name])
// Project function
#let project(title: "", author: (), skills: (), skillsToPromove: (), body) = {
// Set the document's ba... | |
https://github.com/AOx0/expo-nosql | https://raw.githubusercontent.com/AOx0/expo-nosql/main/book/src/config.md | markdown | MIT License | # Configuration
When initialising your document with `#show: slides.with(...)`, you can (but
don't have to) provide the following arguments in the form of
```typ
#show: slides.with(
title: "some string",
subtitle: [contents are also possible],
// ...
)
```
- `title`: the title of your presentation, you should pr... |
https://github.com/VadimYarovoy/CourseWork | https://raw.githubusercontent.com/VadimYarovoy/CourseWork/main/preamble.typ | typst | #import "@preview/tablex:0.0.5": *
#import "@preview/cetz:0.1.2": *
#import "@preview/quill:0.1.0": *
#import "@preview/physica:0.8.0": *
#import "@preview/codelst:1.0.0": *
| |
https://github.com/jakobjpeters/Typstry.jl | https://raw.githubusercontent.com/jakobjpeters/Typstry.jl/main/docs/source/guides/typst_formatting_examples.md | markdown | MIT License |
# Typst Formatting Examples
This guide illustrates Typst formatting for supported types.
These Typst documents were generated from Julia using `show` with
the `text/typst` MIME type and compiled using a [`TypstCommand`](@ref).
Each row corresponds to a method of [`show_typst`](@ref).
The Typst columns contain the [`... |
https://github.com/LDemetrios/Programnomicon | https://raw.githubusercontent.com/LDemetrios/Programnomicon/main/common/java-kotlin-launch.typ | typst | #import "escape.typ": *
#let launch(
current,
java-files: (:),
kotlin-files: (:),
main: auto,
libraries: (),
group: "org.ldemetrios",
build: auto,
settings: auto,
dependencies: (),
resources: (:),
) = {
let main = if main != auto {
main
} else {
group + ".MainKt"
}
let build = if ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/046%20-%20Streets%20of%20New%20Capenna/006_Episode%203%3A%20Tests.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 3: Tests",
set_name: "Streets of New Capenna",
story_date: datetime(day: 30, month: 03, year: 2022),
author: "<NAME>",
doc
)
= MUSEUM
Initially, the museum had been everything she'd hoped for. It was perched atop of one of the towe... | |
https://github.com/PLASTA0728/CV-for-High-School-Student | https://raw.githubusercontent.com/PLASTA0728/CV-for-High-School-Student/main/resume.typ | typst | MIT License | #import "chicv.typ": *
#show: chicv
= Your Name
#fa(envelope) #link("mailto:<EMAIL>") |
#fa(github) #link("https://github.com/yourgithub")[Your GitHub] | #fa(phone) +1 100-000-0000 | #fa(aops) #link("https://artofproblemsolving.com/community/user/000001")[Average AoPSer]
== Education
#cventry(
tl: "Your Present S... |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/media.typ | typst | Apache License 2.0 |
#import "xcommand.typ": xcommand
#let xhtml(..args, tag: none, attributes: (:)) = xcommand(
..args,
{
"html,"
json.encode((
tag: tag,
attributes: attributes,
))
},
)
#let iframe = xhtml.with(tag: "iframe")
#let video = xhtml.with(tag: "video")
#let audio = xhtml.with(tag: "audio")
#let ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/chic-hdr/0.1.0/README.md | markdown | Apache License 2.0 | # Chic-header (v0.1.0)
**Chic-headers** (chic-hdr) is a Typst package for creating elegant headers and footers
## Usage
To use this library through the Typst package manager (for Typst 0.6.0 or greater), write `#import "@preview/chic-hdr:0.1.0": *` at the beginning of your Typst file. Once imported, you can start usi... |
https://github.com/vaucher-leo/template-tb-typst | https://raw.githubusercontent.com/vaucher-leo/template-tb-typst/main/config.typ | typst | MIT License | // Config file
// Complete alle fields with correct informations
#let author = "<NAME>"
#let title = "Modèle Typst de rapport de TB"
#let professor = "<NAME>"
#let departement = "TIN"
#let filiere = "Génie électrique"
#let orientation = "Électronique Embarquée et Mécatronique"
#let field = "Ingénierie"
#let dat... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/container.typ | typst | Apache License 2.0 | // Test the `box` and `block` containers.
---
// Test box in paragraph.
A #box[B \ C] D.
// Test box with height.
Spaced \
#box(height: 0.5cm) \
Apart
---
// Test block sizing.
#set page(height: 120pt)
#set block(spacing: 0pt)
#block(width: 90pt, height: 80pt, fill: red)[
#block(width: 60%, height: 60%, fill: gree... |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/04-related-work.typ | typst | #import "/helpers.typ": *
= Related work <relatedwork>
In this chapter, we present related work on the topic of (semi-)automated modularization and microservice candidate identification in monolith systems, with a focus on concrete implementations of these approaches.
A number of tools have been developed to assist ... | |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/README.md | markdown | # Polylux <img src="https://andreaskroepelin.github.io/polylux/book/logo.png" style="width: 3em;"></img>
This is a package for creating presentation slides in [Typst](https://typst.app/).
If you like it, consider [giving a star on GitHub](https://github.com/andreasKroepelin/polylux)!
[
#set text(font: "Noto Sans CJK JP",size:13pt)
#show heading: set text(font: "Noto Sans CJK JP")
#show raw: set text(font: "0xProto Nerd Font")
#show raw.where(block: true): block.with(
fill: luma(245),
inset: 10pt,
radius: 10pt
)
#align(center)[
```go
// 今回はコメント書かなくてOKです
package main
... |
https://github.com/linsyking/messenger-manual | https://raw.githubusercontent.com/linsyking/messenger-manual/main/event.typ | typst | #pagebreak()
= Events <events>
There are two types of events in Messenger: _World Event_ and _User Event_.
World event is the event Messenger can access while user event is the event users actually receive and it is a subset of the world event as some world event will not send to user.
```elm
type UserEvent
= Tic... | |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Matematica4AI/LinAlg/Spectral.typ | typst | Creative Commons Zero v1.0 Universal | #import "../Math4AI_definitions.typ": *
Aside from the notions of sum between two vectors and multiplication of a
vector by a scalar, which are mandatory requirements for a vector space to
be defined as such, for some (but not all) vector spaces it is possible to
also define other operations.
One such example is the ... |
https://github.com/LEXUGE/poincare | https://raw.githubusercontent.com/LEXUGE/poincare/main/src/reports/CO25/main.typ | typst | MIT License | #import "@preview/physica:0.9.0": *
#import "@preview/gentle-clues:0.4.0": *
#import "@lexuge/templates:0.1.0": *
#import shorthands: *
#show: simple.with(
title: "CO25: Laplace Equations",
authors: ((name: "<NAME>", email: "<EMAIL>"),),
disp_content: false,
)
= Abstract
Solving Laplace and Poisson's equations ... |
https://github.com/jbro/supernote-templates | https://raw.githubusercontent.com/jbro/supernote-templates/main/README.md | markdown | The Unlicense | # Supernote Templates
My templates for the [Ratta Supernote A5 X](https://supernote.com/products/supernote?variant=40709925208255).
## Templates
Latest release of templates are inlined here:
<details>
<summary>Title page for notebooks</summary>
<img src="https://github.com/jbro/supernote-templates/relea... |
https://github.com/bamboovir/typst-resume-template | https://raw.githubusercontent.com/bamboovir/typst-resume-template/main/resume.typ | typst | MIT License | #import "templates/latex/template.typ": *
#let today = datetime.today()
#show: resume.with(
author: (
firstname: "Aaaaaaa",
lastname: "Aaa",
email: "<EMAIL>",
phone: "(+1) 0000000000",
github: "aaaaaaaaa",
linkedin: "aaaaaaaa",
positions: (
"Aaaaaaaa Aaaaaaaa",
... |
https://github.com/EGmux/TheoryOfComputation | https://raw.githubusercontent.com/EGmux/TheoryOfComputation/master/modules.typ | typst | // Just to organize the notes, a single include all files
//
#include "./style.typ"
#include "./unit1/main.typ"
#include "./classNotes/main.typ"
#include "./sharedFunctions.typ"
// #include "./unit2/main.typ"
// #include "./unit3/main.typ"
| |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/C++/Introduzione/Ciclo.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/showybox:2.0.1": showybox
In C++ esistono diversi modi per allocare le variabili. Diversi
modi implicano diversa visibilitá, ovvero sono accessibili in
un qualche modo in un punto piuttosto che un altro del programma.
I modi sono tre:
- Allocazione *globale*;
- Allocazione *automatica*;
- Allocazion... |
https://github.com/vEnhance/1802 | https://raw.githubusercontent.com/vEnhance/1802/main/r04.typ | typst | MIT License | #import "@local/evan:1.0.0":*
#show: evan.with(
title: [Notes for 18.02 Recitation 4],
subtitle: [18.02 Recitation MW9],
author: "<NAME>",
date: [16 September 2024],
)
#quote(attribution: [Koro-sensei in Assassination Classroom])[
Broadly speaking, there are two reasons a person feels the desire to teach so... |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/components/glossary.typ | typst | #let GLS_PREFIX = "gls-auto-"
#let GLOSSARIES = state("glossaries", (:))
#let PRINTED_GLOSSARIES = state("printed_glossaries", ())
#let update_glossaries(glossaries) = {
GLOSSARIES.update(glossaries)
}
#let print_glossary(glossaries, name, bold: true) = {
let to_print = ()
for (key, value) in glossa... | |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/README.md | markdown | # Computer Architecture Course Notes
## About
This repository contains *Computer Architecture Course Notes* source code. The course took place in the semestr 1, at ITMO University, CT. Lecturer - <NAME>.
## Build
Notes are written in [typst](https://typst.app/) language and can be either compiled at online IDE or ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pagebreak-03.typ | typst | Other | // Test a combination of pagebreaks, styled pages and pages with bodies.
// Should result in three five pages, with the fourth one being red-colored.
#set page(width: 80pt, height: 30pt)
#[#set page(width: 60pt); First]
#pagebreak()
#pagebreak()
Third
#page(height: 20pt, fill: red)[]
Fif#[#set page();th]
|
https://github.com/sjedev/typst-notetaking-template | https://raw.githubusercontent.com/sjedev/typst-notetaking-template/main/template.typ | typst | The Unlicense | #let conf(subject, locator, doc) = {
set page(
paper: "a4",
header: align(right, lower(smallcaps(subject)) + [ ] + lower(smallcaps(locator))),
margin: (
left: 7.6em,
right: 7.6em,
),
numbering: "1 of 1",
number-align: right,
)
set par(justify: true)
set text(
... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_10.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Test a page with zero columns.
// // Error: 49-50 number must be positive
// #set page(height: auto, width: 7.05cm, columns: 0) |
https://github.com/MrLadas/resume | https://raw.githubusercontent.com/MrLadas/resume/main/src/template.typ | typst | // Function sets the document characteristics and builds the header. Parameters
// override cli arguments.
//
// If no parameters are included, will be populated from cli key value arguments in the form:
// ` typst compile doc.typ --input key=value `
#let conf(title: none, author: none, email: none, linkedin: none, ... | |
https://github.com/sebaseb98/clean-math-thesis | https://raw.githubusercontent.com/sebaseb98/clean-math-thesis/main/chapter/declaration.typ | typst | MIT License | // local imports
#import "../meta.typ": author, city, deadline
#heading(level: 2, outlined: false, numbering: none)[Declaration]
Typically, you need to declare that e.g. you wrote everything on your own. This university dependent statement is usually required to be signed by the author.
#v(1cm)
#align(left)[#city, #d... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-node-03.typ | typst | Other | // Test integrated example.
#show heading: it => block({
set text(10pt)
box(move(dy: -1pt)[📖])
h(5pt)
if it.level == 1 {
underline(text(1.25em, blue, it.body))
} else {
text(red, it.body)
}
})
= Task 1
Some text.
== Subtask
Some more text.
= Task 2
Another text.
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/match_def/ident_in_init.typ | typst | Apache License 2.0 | #let f(a ) = /* ident after */a; |
https://github.com/Az-21/typst-components | https://raw.githubusercontent.com/Az-21/typst-components/main/components/deprecated/codeblock.typ | typst | Creative Commons Zero v1.0 Universal | // Deprecated in favor of `codelst`
// https://github.com/jneug/typst-codelst
#let codeblock(content, lang: "", background: luma(240)) = block(
fill: background,
inset: 10pt,
radius: 2pt,
width: 100%,
)[#text(raw(lang: lang, content))]
/*
// @override default #raw(block: true) style
#show raw.where(block: tru... |
https://github.com/katamyra/Notes | https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS1332/Modules/IterativeSorts.typ | typst | #import "../../../template.typ": *
= Iterative Sorts
== Bubble Sort
Bubble sort inspects pairs of adjacent elements, and swaps as necessary which "bubbles" the maximum element to its correct position.
*Pseudocode*
```java
stopIndex = array.length - 1
while stopIndex != 0:
while i < stop
if (arr[i] > arr[i+1]... | |
https://github.com/linhduongtuan/DTU-typst-presentation | https://raw.githubusercontent.com/linhduongtuan/DTU-typst-presentation/main/Beispiele/MatheNummeriert/main.typ | typst | #set math.equation(numbering: "(1)")
#show heading.where(level: 1): it => {
counter(math.equation).update(0)
it
}
= Eine sehr wichtige Überschrift
$ a^2 + b^2 = c^2 $
$ c + d = e $
== Eine Unterüberschrift
$ c + d $
= Noch eine Überschrift
$ a + b $
$ c + d $
$ e + f $ | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/showybox/2.0.0/lib/state.typ | typst | Apache License 2.0 | /*
* ShowyBox - A package for Typst
* <NAME> and Showybox Contributors (c) 2023
*
* lib/state.typ -- The package's file containing all the
* internal functions used to handle showybox state and id
*
* This file is under the MIT license. For more
* information see LICENSE on the package's main folder.
*/
#let ... |
https://github.com/jomaway/typst-linguify | https://raw.githubusercontent.com/jomaway/typst-linguify/main/tests/fluent-test.typ | typst | MIT License | // #include "fluent-test/test.typ"
#import "../lib/linguify.typ": *
#let de = smallcaps("DE:")
#let en = smallcaps("EN:")
#let data = toml("fluent-test-assets/lang.toml")
#let path = if-auto-then(data.ftl.at("path", default: auto), "./L10n")
#for lang in data.ftl.languages {
let lang_section = read(path + "/" + la... |
https://github.com/coco33920/.files | https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/tdd/template.typ | typst | #let template(
//name of the association
name: none,
//date of the document
date: none,
//title of the document
title: none,
//logo of the association
logo: none,
//footer
footer: none,
//abstract of the document
abstract: none,
//body
body
) = {
set page(
... | |
https://github.com/mem-courses/linear-algebra | https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework9.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Linear Algebra Homework #9",
authors: (
(name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"),
),
date: "November 26, 2023",
)
#let alpha = math.bold(math.alpha)
#let beta = math.bold(math.beta)
#let gamma = math.bold(math.gamma)
#let theta =... | |
https://github.com/marcantoinem/CV | https://raw.githubusercontent.com/marcantoinem/CV/main/en/education.typ | typst | #import "../src/style.typ": experience
#let polytechnique = {
experience(
"Polytechnique Montréal",
[GPA: 3.71/4.00 $diamond.stroked.small$ 64/120 credits],
"Aug 2022 - Present",
"Computer Engineering",
"",
)
} | |
https://github.com/xsro/xsro.github.io | https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/Control-for-Integrator-Systems/3double.typ | typst | #import "lib/lib.typ":ode45,get_signal,op,sig
#import "@preview/cetz:0.2.0"
#import cetz.plot
#import cetz.draw: *
= Control Algorithm for Double Integrator
== Conventional Sliding Mode Control
#columns(2,gutter: 21pt)[
The basic idea of Sliding Mode Control
is reduce the order of system.
Take the double int... | |
https://github.com/loqusion/typix | https://raw.githubusercontent.com/loqusion/typix/main/docs/api/derivations/common/virtual-paths.md | markdown | MIT License | <!-- markdownlint-disable-file first-line-h1 -->
List of sources that will be made virtually available to your Typst project.
Useful for projects which rely on remote resources, such as
[images][typst-ref-image] or [data][typst-ref-data-loading].
Each element of the list is an attribute set with the following keys:
... |
https://github.com/sses7757/sustech-graduated-thesis | https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/pages/notation.typ | typst | Apache License 2.0 | #import "../utils/style.typ": 字号, 字体
#import "../utils/state-notations.typ": print-notations, notations
#import "outline-page.typ": outline-pagenum, outline-final
#let notation-page(
twoside: false,
title: "符号和缩略语说明",
outlined: false,
width: 90%,
columns: (0.25fr, 1fr),
row-gutter: 16pt,
supplements: (),
) = {
... |
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/identify-driver-control/entry.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#show: create-body-entry.with(
title: "Identify: Driver Control",
type: "identify",
date: datetime(year: 2023, month: 8, day: 20),
author: "<NAME>",
witness: "<NAME>",
)
Letting the driver control the robot... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/08-adv-features/arabic.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// Calligraphic Arabic
== 阿拉伯书法体
|
https://github.com/usami-k/technote | https://raw.githubusercontent.com/usami-k/technote/main/2024/apple-vision-pro-ui/apple-vision-pro-ui.typ | typst | Creative Commons Attribution 4.0 International | #import "@preview/touying:0.4.2": *
#let s = themes.metropolis.register(
aspect-ratio: "16-9",
footer: self => "『" + self.info.title + "』" + states.current-section-title,
)
#let s = (s.methods.info)(
self: s,
title: [Apple Vision ProのUI],
author: [宇佐見公輔],
date: [2024-07-31],
institution: [株式会社ゆめみ],
)
#le... |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/06-field-theory/02-s1mple-field.typ | typst | Other | #import "../../utils/core.typ": *
== Простые поля
#ticket[Классификация простых полей]
#def[
Поле $F$ называется _простым_, если оно не содержит собственных подполей.
]
#lemma[
Пусть $F$ --- поле. Тогда либо характеристика $F$ равна $0$, либо это простое число.
]
#proof[
Пусть характеристика $F$ равняе... |
https://github.com/rahul-gill/gate_notes | https://raw.githubusercontent.com/rahul-gill/gate_notes/main/logic.typ | typst | #let frame_with_header(stroke) = (x, y) => (
left: if x > 0 { 0pt } else { stroke },
right: stroke,
top: if y < 2 { stroke } else { 0pt },
bottom: stroke,
)
#let no_stroke_frame(stroke) = (x, y) => (
left: 0pt,
right: 0pt,
top: 0pt,
bottom: 0pt,
)
#set table(
fill: (_, y) => if calc.odd(y) { rgb("EAF... | |
https://github.com/Axot017/CV | https://raw.githubusercontent.com/Axot017/CV/master/modules_en/employment.typ | typst | #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Employment History")
#cvEntry(
title: [Software Engineer],
society: [Crustlab Sp. z o.o.],
date... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/015%20-%20Commander%20(2014%20Edition)/003_The%20First%20World%20Is%20the%20Hardest.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The First World Is the Hardest",
set_name: "Commander (2014 Edition)",
story_date: datetime(day: 05, month: 11, year: 2014),
author: "<NAME>",
doc
)
#emph[When we first met <NAME>, he was a fearsome—but wingless—demon, a former Planeswalker... | |
https://github.com/a-mhamdi/graduation-report | https://raw.githubusercontent.com/a-mhamdi/graduation-report/main/Typst/en-Report/Class.typ | typst | MIT License | // DOCUMENT CLASS
#import "@preview/colorful-boxes:1.2.0": outlinebox
#import "common/metadata.typ": *
// --- Titles of Chapters ---
#let chap(myRef, notAck: true, numbering: none) = {
v(8cm)
place(
center,
rect(
width: 15cm,
height: 6cm,
radius: (rest: 5pt)
)[
#v(2.5cm)
#t... |
https://github.com/duskmoon314/typst-fontawesome | https://raw.githubusercontent.com/duskmoon314/typst-fontawesome/main/gallery.typ | typst | MIT License | #import "lib.typ": *
#table(columns: (3fr, 1fr, 1fr, 2fr), stroke: none, table.header([typst code], [default], [solid], [`fa-icon` with text]),
```typst #fa-0()```, fa-0(), fa-0(solid: true), fa-icon("0"),
```typst #fa-00()```, fa-00(), fa-00(solid: true), fa-icon("00"),
```typst #fa-1()```, fa-1(), fa-1(solid: true), ... |
https://github.com/Lslightly/TypstTemplates | https://raw.githubusercontent.com/Lslightly/TypstTemplates/main/templates/font.typ | typst | MIT License | #let 字体 = (
宋体: ("Times New Roman", "SimSun"),
黑体: ("Times New Roman", "SimHei"),
楷体: ("Times New Roman", "STKaiti"),
代码: ("New Computer Modern Mono", "Times New Roman", "SimSun"),
)
|
https://github.com/CodingThrust/QECNotes | https://raw.githubusercontent.com/CodingThrust/QECNotes/main/nzy20241021/nzy20241020.typ | typst | #import "@preview/cetz:0.2.2": canvas, draw, tree
#import "@preview/suiji:0.3.0": *
#show link: set text(blue)
#set math.equation(numbering: "(1)")
#let today = datetime.today()
// The ASM template also provides a theorem function.
#let definition(title, body, numbered: true) = figure(
body,
kind: "theorem",
... | |
https://github.com/typst-community/setup-typst | https://raw.githubusercontent.com/typst-community/setup-typst/main/test/test.typ | typst | MIT License | #import "@preview/example:0.1.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.
|
https://github.com/choglost/LessElegantNote | https://raw.githubusercontent.com/choglost/LessElegantNote/main/README.md | markdown | MIT License | # LessElegantNote
## 项目简介
一个Typst笔记模板。
## 学习资源
* [Typst官方文档](https://typst.app/docs)
## 使用指南
1. 下载本项目并解压。
2. 在vscode中打开项目文件夹。
3. 安装vscode插件Tinymist Typst。
4. 参考/example/less-elegant-note.pdf,创建你自己的笔记。
## 致谢
- 本项目是在[南京大学学位论文 Typst 模板 modern-nju-thesis ](https://github.com/nju-lug/modern-nju-thesis)的基础上修改而成的。
- 灵感来源于... |
https://github.com/jamesrswift/typst-chem-par | https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/src/rules/deuterated.typ | typst | MIT License | #import "../stateful.typ": *
#import "../constants.typ"
#let deuterated(body) = {
show regex("(\w-d\d+)"): (it) => context {
if-state-enabled( it , {
//show "-": "–"
show regex("\d"): sub
it
})
}
body
} |
https://github.com/TycheTellsTales/typst-pho | https://raw.githubusercontent.com/TycheTellsTales/typst-pho/main/tests/pageEnd/test.typ | typst | #import "../../private.typ": pageEnd
#let count = state("test", 0)
== 1-2
#context pageEnd(1, 2, count)
== 3-5
#context pageEnd(3, 5, count)
== 1-15
#context pageEnd(1, 15, count)
== 7-15
#context pageEnd(7, 15, count)
| |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/book/summary.typ | typst | Apache License 2.0 |
#let summary(content) = {
set page(width: 300pt, margin: (left: 10pt, right: 10pt, rest: 0pt))
content
}
#let book-meta(summary: none) = {
metadata((
kind: "book",
content: summary,
))
}
#let chapter(link, title, section: none) = metadata((
kind: "chapter",
link: link,
section: s... |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z090.typ | typst | Kto pod ochranou Najvyššieho prebýva \* a v tôni Všemohúceho sa zdržiava,
povie Pánovi: „Ty si moje útočište a pevnosť moja; \* v tebe mám dôveru, Bože môj.“
Veď on sám ťa vyslobodí z osídel lovcov \* a zo zhubného moru.
Svojimi krídlami ťa zacloní a uchýliš sa pod jeho perute. \* Jeho pravda je štítom a pancierom,
... | |
https://github.com/ckunte/ra | https://raw.githubusercontent.com/ckunte/ra/master/README.md | markdown | # Rental agreement template in Typst
See generated example under [Releases][r].
[r]: https://github.com/ckunte/ra/releases
| |
https://github.com/maxtremblay/cv | https://raw.githubusercontent.com/maxtremblay/cv/main/sources/demo.typ | typst | #import "template.typ": cv, date_items
#set text(lang: "fr")
#show: doc => cv(doc)
= First section
#date_items(
(
(start: [Jan 2023], title: lorem(2), subtitle: lorem(5), body: lorem(20)),
(start: [Jul 2021], end: [Dec 2022], title: lorem(2), subtitle: lorem(5), body: lorem(20)),
(start: [Jul 2021], e... | |
https://github.com/Alkon-2024-contest-editorial/hello-alkon | https://raw.githubusercontent.com/Alkon-2024-contest-editorial/hello-alkon/main/template.typ | typst | // 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!
// 그래프를 그릴 수 있습니다.
//#import "@preview/gviz:0.1.0": *
#let maintitle(title, subtitle) = {
align(
center + horizon,
text(size: 60pt, weight: "black... | |
https://github.com/LDemetrios/Typst4Gradle | https://raw.githubusercontent.com/LDemetrios/Typst4Gradle/master/README.md | markdown | # Typst4Gradle* — gradle plugin for Typst projects
* Draft name
## Examples
This plugin allows you to automatically compile typst files within your project in different themes.
```kotlin
typst4gradle {
executable = "typst" // Default
// sourceFolder = "src"
// outputFolder = "out"
themes {
... | |
https://github.com/almarzn/portfolio | https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/maxds.typ | typst | #let primary = rgb(240, 101, 41)
#let background = rgb("#e7fbfa") | |
https://github.com/thornoar/lambda-calculus-course | https://raw.githubusercontent.com/thornoar/lambda-calculus-course/master/main-lectures/final-test-1.typ | typst | #import "@local/common:0.0.0": *
#import "@local/theorem:0.0.0": *
#show: theorem
#import "./template.lib.typ": *
#show: formatting
#set heading(numbering: none)
#set text(size: 13pt)
#set page(background: image("pictures/troubles-faded.jpg", width: 100%, height: 100%, fit: "stretch"))
#head([ Итоговая работа, I вариа... | |
https://github.com/qujihan/typst-book-template | https://raw.githubusercontent.com/qujihan/typst-book-template/main/template/parts/outline.typ | typst | #import "../params.typ": *
#let show-outline(show-depth) = [
#set page(
header: none,
footer: none,
background: none,
)
#let title-block = block()[
#text(size: 2em, strong("目录"))
#v(2em)
]
#show outline.entry.where(level: 1): it => {
text(size: 1em, weight: "semibold", it)
}
#s... | |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/ARO/docs/4-Decode/decode.typ | typst | #import "/_settings/typst/template-note.typ": conf
#show: doc => conf(
title: [
Decode
],
lesson: "ARO",
chapter: "3 - Decode",
definition: "Le décodage dans un processeur traduit les instructions binaires en signaux de contrôle pour les opérations nécessaires. Une banque de registres stocke des données t... | |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit3/BuildSystems.typ | typst | #import "@preview/ctheorems:1.1.2": *
#show: thmrules
#let definition = thmbox("definition", "Definición", inset: (x: 1.2em, top: 1em))
== Usos Comunes
1. *Configuración Reutilizable*: Permite definir el proceso de compilación una sola vez y reutilizar
esa configuración en múltiples proyectos, lo que ahorra tiemp... | |
https://github.com/jonatchoum/typst-thesis-template | https://raw.githubusercontent.com/jonatchoum/typst-thesis-template/main/template/fake_confidentialité.typ | typst | = page 1 confi
#pagebreak()
= page 2 confi
#pagebreak() | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/grid-2.typ | typst | Apache License 2.0 | // Test using the `grid` function to create a finance table.
---
#set page(width: 11cm, height: 2.5cm)
#grid(
columns: 5,
column-gutter: (2fr, 1fr, 1fr),
row-gutter: 6pt,
[*Quarter*],
[Expenditure],
[External Revenue],
[Financial ROI],
[_total_],
[*Q1*],
[173,472.57 \$],
[472,860.91 \$],
[51,28... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/list-attach-02.typ | typst | Other | // Test non-attached list followed by attached list,
// separated by only word.
Hello
- A
World
- B
|
https://github.com/sdsc-ordes/modos-poster | https://raw.githubusercontent.com/sdsc-ordes/modos-poster/main/src/themes/boxes.typ | typst | Creative Commons Attribution 4.0 International |
/*
MIT License
Copyright (c) 2024 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... |
https://github.com/ramojus/typst-template-VU-thesis | https://raw.githubusercontent.com/ramojus/typst-template-VU-thesis/main/thesis.typ | typst | #import "template.typ": vu_thesis
#show: vu_thesis.with(
authors: (
"<NAME>",
),
supervisor: "<NAME>",
reviewer: "<NAME>",
// title: "Darbo tema",
// work_type: "Darbo tipas",
// university: "Vilniaus Universitetas",
// faculty: "Matematikos ir Informatikos",
// institute: "Informatikos",
// de... | |
https://github.com/Nerixyz/icu-typ | https://raw.githubusercontent.com/Nerixyz/icu-typ/main/docs/docs/fmt-datetime.md | markdown | MIT License | # `fmt-datetime`
```typst-code
let fmt-datetime(
dt,
locale: "en",
date-length: "long",
time-length: "short"
)
```
Formats a date and time in some [`locale`](#locale). Dates are assumed to be ISO dates.
## Arguments
### `dt`
The date and time to format. This can be a [`datetime`][datetime] or a dictionary ... |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/高级样式/main.typ | typst | = 高级样式
在本教程的前两章中,您已经学习了如何使用 Typst 编写文档以及如何更改其格式。你在最后两章写的报告得到了全A,你的主管想以此为基础写一篇会议论文!当然,报告必须符合会议的风格指南。让我们看看如何实现这一目标。
在开始之前,让我们创建一个团队,邀请您的主管并将他们添加到团队中。为此,您可以使用编辑器左上角的四圆图标返回应用程序仪表板。然后,选择左侧工具栏中的加号图标并创建一个团队。最后,单击新团队,然后单击团队名称旁边的“管理团队”进入其设置。现在,您可以通过电子邮件邀请您的主管。
#image("3-advanced-team-settings.png")
接下来,将您的项目移动到团队中:打开它,通过选择... | |
https://github.com/JvandeLocht/assignment-template-typst-hfh | https://raw.githubusercontent.com/JvandeLocht/assignment-template-typst-hfh/main/layout/feedbacklog_template.typ | typst | MIT License | #let feedbacklog(
titleEnglish: "",
supervisor: "",
advisors: (),
author: "",
presentationDate: datetime,
feedbacklogSubmissionDate: datetime,
body,
) = {
// Set the document's basic properties.
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: "1",
number-al... |
https://github.com/TechOctopus/typst-fiit-template | https://raw.githubusercontent.com/TechOctopus/typst-fiit-template/main/template.typ | typst | Creative Commons Attribution 4.0 International | #let project(
title: "",
subtitle: "",
author: [],
date: none,
logo: none,
affiliation: (),
academic-year: [],
assignment: (
subject: "",
practitioners: "",
exercise_time: "",
),
body,
) = {
set document(
author: author.name,
title: title,
date: if date != none [date] el... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/anchor/chaining.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/template/lang.typ": arabic
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### Contextual and chaining contextual positioning
=== #tr[chaining]#tr[positioning]
// These two lookup types operate in exac... |
https://github.com/dyc3/senior-design | https://raw.githubusercontent.com/dyc3/senior-design/main/harness-requirements.typ | typst | = Test Harness Requirements
For the test harness to be effective, it must cover as much code of the Balancer as possible. To do so, typical unit tests are insufficient for complex cases like network fragmentation, adding and removing Monoliths, etc.
== Requirements
#import "lib/requirements.typ": *
#figure(
table(... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/030%20-%20Amonkhet/001_Impact.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Impact",
set_name: "Amonkhet",
story_date: datetime(day: 29, month: 03, year: 2017),
author: "<NAME>",
doc
)
#figure(image("001_Impact/01.png", width: 100%), caption: [], supplement: none, numbering: none)
#emph[Deciding that a proactive a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.