repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-square-03.typ | typst | Other | // Test text overflowing height.
#set page(width: 75pt, height: 100pt)
#square(fill: green)[
But, soft! what light through yonder window breaks?
]
|
https://github.com/yamoling/ulb-template-typst | https://raw.githubusercontent.com/yamoling/ulb-template-typst/main/README.md | markdown | # ULB Typst template
This is a template for Universsité Libre de Bruxelles (ULB). Feel free to use and modify.

| |
https://github.com/avonmoll/ifacconf-typst | https://raw.githubusercontent.com/avonmoll/ifacconf-typst/main/template/main.typ | typst | MIT No Attribution | //==============================================================================
// main.typ 2023-11-17 <NAME>
// Template for IFAC meeting papers
//
// Adapted from ifacconf.tex by <NAME>
//==============================================================================
#import "@preview/abiding-ifacconf:0.1.0": *
#sho... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/cases.typ | typst | Apache License 2.0 | // Test case distinction.
---
$ f(x, y) := cases(
1 quad &"if" (x dot y)/2 <= 0,
2 &"if" x divides 2,
3 &"if" x in NN,
4 &"else",
) $
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/numberingx/0.0.1/README.md | markdown | Apache License 2.0 | # numberingx
_Extended numbering patterns using the [CSS Counter Styles] specification, along
with a number of [Ready-made Counter Styles]._
## Usage
```ts
// numberingx is expected to be imported with the syntax creating a named module
#import "@preview/numberingx:0.0.1"
// Use full-width roman numerals for titles... |
https://github.com/QuadnucYard/crossregex-typ | https://raw.githubusercontent.com/QuadnucYard/crossregex-typ/main/src/layout.typ | typst | MIT License | #import "regex.typ": regex-match
#let centered(body) = {
context {
let size = measure(body)
move(dx: -size.width / 2, dy: -size.height / 2, body)
}
}
#let build-char-box(width, height, cell-config, alphabet) = {
ch => {
set text(
..cell-config.text-style,
fill: if ch.match(alphabet) != n... |
https://github.com/csimide/SEU-Typst-Template | https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/init-files/degree_thesis.typ | typst | MIT License | #import "../seu-thesis/lib.typ": degree-conf, degree-utils
#let (thanks, show-appendix) = degree-utils
/*
使用模板前,请先安装 https://github.com/csimide/SEU-Typst-Template/tree/master/fonts 内的所有字体。
如果使用 Web App,请将这些字体上传到 Web App 项目的根目录中。
*/
// 由于研究生院模板没有严格规定代码块的字体,为了美观,在此设定代码块字体
#import "@preview/sourcerer:0.2.1": code
#s... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-assoc-00.typ | typst | Other | // Math operators are left-associative.
#test(10 / 2 / 2 == (10 / 2) / 2, true)
#test(10 / 2 / 2 == 10 / (2 / 2), false)
#test(1 / 2 * 3, 1.5)
|
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis | https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/src/pm_assets.typ | typst | MIT License | #import "utils.typ": *
// Persona
#let persona(
primary-color: dark-blue,
text-color: dark-grey,
background-color: light-blue,
title: txt-todo,
img: image("images/persona.png", width: 6.5em),
name: txt-todo,
age: txt-todo,
family: txt-todo,
job: txt-todo,
do-and-say: txt-todo,
wishes: txt-todo,
... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/lexical_hierarchy/dict.typ | typst | Apache License 2.0 | #let z = 1;
#let x = (
y: z,
"1 2": z,
) |
https://github.com/DJmouton/Enseignement | https://raw.githubusercontent.com/DJmouton/Enseignement/main/SNT/Réseaux sociaux/Cours modélisation des réseaux sociaux.typ | typst | #import "/Templates/layouts.typ": SNT, titre, sous_titre
#import "/Templates/utils.typ": cadre
#import "@preview/cetz:0.2.2"
#show: doc => SNT(doc)
#sous_titre("SNT - Réseaux sociaux - Partie 3")
#titre("Modalisation des Réseaux Sociaux")
= Modélisation d'un réseau
#cadre(titre: "L'essentiel")[
Un réseau social ... | |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/data-types.typ | typst | #pagebreak()
= Data types
There are 7 data types in FBDL:
- bit string,
- bool,
- integer,
- range,
- real,
- string,
- time.
Types are implicit and are not declared.
The type of the value evaluated from an expression must be checked before any assignment or comparison.
If there is a type mismatch that can be resolv... | |
https://github.com/rabotaem-incorporated/algebra-conspect-1course | https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/02-elementary-things.typ | typst | Other | #import "../../utils/core.typ": *
== Элементарные преобразования и элементарные матрицы
#def[
Элементарное преобразование $1$ типа:
К $i$ строке прибавить $j$ строку, умноженную на $lambda in R$. Обозначается $T_(i j) (lambda)$
]
#def[
Элементарное преобразование $2$ типа:
Поменять местами $i$ и $j... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/g-exam/0.3.0/src/g-exam.typ | typst | Apache License 2.0 | #import "@preview/oxifmt:0.2.0": strfmt
#import "./global.typ" : *
#import "./auxiliary.typ": *
#import "./g-question.typ": *
#import "./g-solution.typ": *
#import "./g-clarification.typ": *
/// Template for creating an exam.
///
/// - autor: Infomation of autor of exam.
/// - name (string, content): Name of author ... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/external.typ | typst | Apache License 2.0 | // path: base.typ
#let bad-instantiate(x) = {
let y; let z; let w;
x + y + z + w
};
-----
#import "base.typ": *
#let prefix(title: none) = {
bad-instantiate(title)
} |
https://github.com/alberto-lazari/cv | https://raw.githubusercontent.com/alberto-lazari/cv/main/modules_en/experience.typ | typst | #import "/common.typ": *
= Experience
#entry(
title: [Back End Developer],
society: [Moku S.r.l.],
date: [Apr 2022 - Jun 2022],
location: [Treviso, Italy],
description: [Internship],
tags: ("Ruby on Rails", "REST APIs", "Ruby", "Git", "Scrum"),
)
| |
https://github.com/Doublonmousse/pandoc-typst-reproducer | https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/color_issues/hsl.typ | typst | #square(
fill: color.hsl(30deg, 50%, 60%)
) | |
https://github.com/maxgraw/bachelor | https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/1-introduction/motivation.typ | typst | Im Rahmen der fortschreitenden Digitalisierung erweist sich der Online-Handel als ein besonders Wachstumsfeld. Zwischen 2019 und 2023 konnte in diesem Sektor ein Umsatzanstieg von 42% verzeichnet werden. Grundlage hierfür ist die bereits genannten Digitalisierung, welche durch die Corona-Sonderkonjunktur weiter beschle... | |
https://github.com/rabotaem-incorporated/probability-theory-notes | https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/04-discrete-random-processes/!sec.typ | typst | = Дискретные случайные процессы
#include "01-conditional-expected-values.typ"
#include "02-branching-processes.typ"
#include "03-markov-chains.typ"
#include "04-random-walk.typ"
| |
https://github.com/usertam/curriculum-vitae | https://raw.githubusercontent.com/usertam/curriculum-vitae/resume/README.md | markdown | Other | # Curriculum Vitae
My short curriculum vitae or résumé, primarily built with Typst and Nix. The built PDF is PDF/A-2b compliant and optimized, supported by Ghostscript and qpdf. Native PDF/A-2 support is still under [development](https://github.com/typst/typst/issues/2942) in Typst.
## License
This project is license... |
https://github.com/SpaceWAGdev/fourier-transform | https://raw.githubusercontent.com/SpaceWAGdev/fourier-transform/main/main.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/cetz:0.2.2"
#import themes.university: *
#set text(lang: "de")
#show: university-theme.with(short-title: "Fourier-Transformation", short-author: [Helmbold, Krämer, Stedman], progress-bar: true)
#title-slide(title: "Die Fourier-Transformation", institution-name: ... | |
https://github.com/AnsgarLichter/light-cv | https://raw.githubusercontent.com/AnsgarLichter/light-cv/main/README.md | markdown | MIT License | 
# CV Template in Typst
This is my CV template written in Typst. You can find a two example CVs in this repository as PDFs:
- [German CV](https://github.com/AnsgarLichter/light-cv/blob/main/cv-de.pdf)
- [English CV](https://github.com/AnsgarLichter/light-cv/blob/main/cv-en.pdf)
## Setup
... |
https://github.com/jomaway/typst-teacher-templates | https://raw.githubusercontent.com/jomaway/typst-teacher-templates/main/ttt-lists/lib/lib.typ | typst | MIT License | #import "studentlist.typ" |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/index.md | markdown | MIT License | # Typst Snippets
Useful snippets for common (and not) tasks.
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compute/data.typ | typst | Apache License 2.0 | // Test reading structured data and files.
// Ref: false
---
// Test reading plain text files
#let data = read("/files/hello.txt")
#test(data, "Hello, world!\n")
---
// Error: 18-38 file not found (searched at files/missing.txt)
#let data = read("/files/missing.txt")
---
// Error: 18-34 file is not valid utf-8
#let ... |
https://github.com/0xmycf/typst-template | https://raw.githubusercontent.com/0xmycf/typst-template/main/Prelude.typ | typst | #let applyStyle( author: "mycf"
, title: "Template"
, bibPath: "./bib.bib"
, lang: "de"
, doc
) = {
/********************************************************************************
* Document
***********************************************... | |
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/metal_grinder_dust_collection.typ | typst |
#import "/meta-environments/env-features.typ": *
= Metal Shop Dust Collection (Grinder Area)
Dust collection is an important part of any shop. Dust is a health hazard: dust is an irritant, and specific sizes of dust particles (PM2.5) can lodge in the lungs and accumulate there, leading to long-term and possibly seve... | |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/statistics.typ | typst | MIT License | #let mean(xs) = xs.sum() / xs.len()
// #let median(xs) = {
// let xs = xs.sort();
// let n = xs.len();
// if n % 2 == 0 {
// (xs[n / 2 - 1] + xs[n / 2]) / 2
// } else {
// xs[n / 2]
// }
// }
|
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/robot-rebuild/brainstorm.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator
#import notebookinator: *
#import themes.radial.components: *
#import "/utils.typ": grid
#show: create-body-entry.with(
title: "Brainstorm: Robot Rebuild",
type: "brainstorm",
date: datetime(year: 2024, month: 3, day: 5),
author: "<NAME>",
witness: "<NAME>",
)
= Optio... |
https://github.com/sa-concept-refactoring/doc | https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/chapters/projectManagement.typ | typst | = Project Management <project_management>
The approach of the project is explained in @approach.
The planning of the project is looked into in @project-plan,
including a comparative analysis between the initial plan and its effective implementation.
Finally, @time-tracking provides a summarized overview of the allocat... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/compiler/summary.typ | typst | #set page(
"a4", columns: 4, flipped: true, foreground: [
#columns(4, [#line(stroke: .5pt + black, start: (105%, 2%), end: (105%, 98%)),
#colbreak()
#line(stroke: .5pt + black, start: (-51%, 2%), end: (-51%, 98%))
#colbreak()
#line(stroke: .5pt + black, start: (-54%, 2%), end: (-54%, 98%))... | |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/054.%20love.html.typ | typst | love.html
How to Do What You Love
Want to start a startup? Get funded by
Y Combinator.
January 2006To do something well you have to like it. That idea is not exactly
novel. We've got it down to four words: "Do what you love." But
it's not enough just to tell people that. Doing what you love is
complicated.... | |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/writing.typ | typst | Apache License 2.0 | #import "mod.typ": *
#show: book.page.with(title: "编写一篇进阶文档")
// document
// list again
// figure again
// footnote
// quote
// smallcaps
// upper
// lower
// heading
// - outlined
// - bookmarked
// outline
// par
// parbreak
// table again
// lorem
// color again
// read/query/metadata
// # sys.version
|
https://github.com/Joelius300/hslu-typst-template | https://raw.githubusercontent.com/Joelius300/hslu-typst-template/main/chapters/06_evaluation.typ | typst | MIT License | = Evaluation
Auswertung und Interpretation der Ergebnisse. Nachweis, dass die Ziele erreicht wurden, oder warum welche nicht erreicht wurden.
#pagebreak() |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/element.typ | typst | Apache License 2.0 | #import "@preview/cetz:0.2.2": draw, coordinate
#import "ports.typ": add-ports, add-port
#import "../util.typ"
#let find-port(ports, id) = {
for (side, side-ports) in ports {
for (i, port) in side-ports.enumerate() {
if port.id == id {
return (side, i)
}
}
}
panic("Could not find port... |
https://github.com/jakobjpeters/Typstry.jl | https://raw.githubusercontent.com/jakobjpeters/Typstry.jl/main/docs/source/tutorials/getting_started.md | markdown | MIT License |
```@meta
DocTestSetup = :(using Typstry)
```
# Getting Started
This tutorial demonstrates the basic features of Typstry.jl and how to use them.
## Strings
Print Julia values in [`Typst`](@ref) format using `show` with the `text/typst` MIME type.
This formatting is also used to construct a [`TypstString`](@ref).
`... |
https://github.com/messense/typst-py | https://raw.githubusercontent.com/messense/typst-py/main/README.md | markdown | Apache License 2.0 | # typst-py

[](https://pypi.org/project/typst)
Python binding to [typst](https://github.com/typst/typst),
a new markup-based typesetting system that is powerful and easy to learn.
## Installation
```bas... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/glossarium/0.4.0/glossarium.typ | typst | Apache License 2.0 | /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN ... |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/01_Einleitung/00_index.typ | typst | TODO: text
#include "01_industrial_partner.typ"
#pagebreak()
#include "05_problemstellung.typ"
#pagebreak()
#include "02_ausgangslage.typ"
#pagebreak()
#include "04_technologies.typ"
#pagebreak()
#include "06_nfr.typ"
#pagebreak()
#include "03_rahmenbedingungen.typ" | |
https://github.com/krestenlaust/AAU-Typst-Template | https://raw.githubusercontent.com/krestenlaust/AAU-Typst-Template/main/report-template-empty/main.typ | typst | MIT License | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
meta: (
title: "AAU Project Report Name",
theme: "Insert theme name",
project_period: "Fall Semester 2023",
project_group: "group 1",
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-31A0.typ | typst | Apache License 2.0 | #let data = (
("BOPOMOFO LETTER BU", "Lo", 0),
("BOPOMOFO LETTER ZI", "Lo", 0),
("BOPOMOFO LETTER JI", "Lo", 0),
("BOPOMOFO LETTER GU", "Lo", 0),
("BOPOMOFO LETTER EE", "Lo", 0),
("BOPOMOFO LETTER ENN", "Lo", 0),
("BOPOMOFO LETTER OO", "Lo", 0),
("BOPOMOFO LETTER ONN", "Lo", 0),
("BOPOMOFO LETTER IR",... |
https://github.com/mem-courses/linear-algebra | https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework6.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Linear Algebra Homework #6",
authors: (
(name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"),
),
date: "October 30, 2023",
)
#let AA = math.bold("A")
#let BB = math.bold("B")
#let CC = math.bold("C")
#let EE = math.bold("E")
#let OO = math.b... | |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/deleted.typ | typst | #let create-icon-factory(dir, ext: "png") = {
// factory-util
// possibly this is not the way to go.
// u can straight curry arguments into create-icon
let create-icon(key, ..sink) = {
let kwargs = sink.named()
let url = dir + str(key) + "." + ext
let size = kwargs.at("size", de... | |
https://github.com/tiankaima/typst-notes | https://raw.githubusercontent.com/tiankaima/typst-notes/master/ea2724-ai_hw/hw8.typ | typst | == HW8
Due 2024.05.31
#import "@preview/diagraph:0.2.1": *
#let ans(it) = [
#pad(1em)[
#text(fill: blue)[
#it
]
]
]
#show math.equation: it => [
#math.display(it)
]
#show image: it => align(center, it)
=== Q1
试证明对不含冲突数据集 (即特征向量完全相同但标记不同) 的训练集, 必存在与训练集一致 (训练误差为 0) 的决策树
#ans[
由于训练集中不含有冲突数据, 即特征向... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/unbalanced.typ | typst | Apache License 2.0 | // Test unbalanced delimiters.
---
$ 1/(2 (x) $
$ 1_(2 y (x) () $
$ 1/(2 y (x) (2(3)) $
|
https://github.com/swablab/documents | https://raw.githubusercontent.com/swablab/documents/main/beleg.typ | typst | Creative Commons Zero v1.0 Universal | #import "templates/tmpl_page.typ": tmpl_page
#import "templates/common.typ": colors
#import "templates/form.typ": form, form_field
#show: doc => tmpl_page(
title: "Belegblatt",
version: "v1.0",
change_date: "31.05.2024",
subtext: "Formular zum Abrechnen von Ausgaben für den Verein.",
doc,
)
#grid(columns: (... |
https://github.com/Mc-Zen/quill | https://raw.githubusercontent.com/Mc-Zen/quill/main/src/utility.typ | typst | MIT License |
#let if-none(a, b) = { if a != none { a } else { b } }
#let if-auto(a, b) = { if a != auto { a } else { b } }
#let is-gate(item) = { type(item) == dictionary and "gate-type" in item }
#let is-circuit-drawable(item) = { is-gate(item) or type(item) in (str, content) }
#let is-circuit-meta-instruction(item) = { type(item... |
https://github.com/ralphmb/typst-template-stats-dissertation | https://raw.githubusercontent.com/ralphmb/typst-template-stats-dissertation/main/writeup/sections/exploratory.typ | typst | Apache License 2.0 | In this section we'll explore the data.
#lorem(420)
|
https://github.com/saurabtharu/Internship-repo | https://raw.githubusercontent.com/saurabtharu/Internship-repo/main/README.md | markdown | # Internship-weekly-log
This repository contains the internship weekly log as well as `typst` source code of the internship report on DevOps Engineer at F1Soft International
| |
https://github.com/PraneethJain/Science-1 | https://raw.githubusercontent.com/PraneethJain/Science-1/main/Assignment-3/2022101093_Assignment_3.typ | typst | #align(center, text(17pt)[*Science-1*])
#align(center, text(16pt)[Assignment-3])
#align(center, text(13pt)[<NAME>, 2022010193])
= Question 1
For plot (i), $y = x " for " 0 <= x <= 1, 0 <= y <= 1$
For plot (ii), $y = 0 " for " 0 <= x < 1$ and $x = 1 " for " 0<y<=1$
== (a)
$ d f = d(x y) $
$ d f = (d x)y + x (d y) $
=... | |
https://github.com/HKFoggyU/hkust-thesis-typst | https://raw.githubusercontent.com/HKFoggyU/hkust-thesis-typst/main/hkust-thesis/templates/reference-body.typ | typst | LaTeX Project Public License v1.3c | #import "../imports.typ": *
#import "../utils/invisible-heading.typ": invisible-heading
// 目录生成
#let reference-body(
// documentclass 传入参数
config: (:),
info: (:),
bib-filename: "mypublications.bib",
style: "institute-of-electrical-and-electronics-engineers",
full: false,
page-title: "Refer... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-25.typ | typst | Other | // Error: 14 expected comma
#import "": a b
|
https://github.com/protohaven/printed_materials | https://raw.githubusercontent.com/protohaven/printed_materials/main/common-policy/personal_protective_equipment.typ | typst | = Personal Protective Equipment (PPE)
| |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/008_Commander%20(2013%20Edition).typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Commander (2013 Edition)", doc)
#include "./008 - Commander (2013 Edition)/001_The Perfect Gift.typ"
| |
https://github.com/Otto-AA/definitely-not-tuw-thesis | https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/tests/diplomarbeit_de/test.typ | typst | MIT No Attribution | #import "/src/thesis.typ": *
#show: general-styles
#show: thesis.with(
lang: "de",
title: (en: "An ode for Lord Ipsum", de: "Eine Ode an Lord Ipsum"),
subtitle: (:),
thesis-type: (en: "Diploma Thesis", de: "Diplomarbeit"),
academic-title: (en: "Diplom-Ingenieur", de: "Diplom-Ingenieur"),
curriculum: (en: ... |
https://github.com/kazewong/lecture-notes | https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/problemAnalysis.typ | typst | #set page(
paper: "us-letter",
header: align(center, text(17pt)[
*Problem analysis*
]),
numbering: "1",
)
#import "./style.typ": style_template
#show: doc => style_template(doc,)
= Foreword
The first step I always take before actually sitting down and start coding is to think about the problem. Many peop... | |
https://github.com/engboris/cv-template | https://raw.githubusercontent.com/engboris/cv-template/main/main.typ | typst | MIT License | #import "cv.typ": *
#show: project.with(
title: lorem(10),
firstname: "First",
familyname: "Second",
website: "www.website.net",
email: "<EMAIL>",
github: "https://github.com/username",
phone: "+00 0 00 00 00 00",
/* layout_type is either "compact" (default) or "extended"
for longer names *... |
https://github.com/StandingPadAnimations/papers | https://raw.githubusercontent.com/StandingPadAnimations/papers/main/meshswap/meshswap.typ | typst | #set text(size: 12pt, font: "IBM Plex Serif")
#set par(justify: true)
#align(center, text(25pt)[
A Better Block Detection Algorithm For MCprep's Meshswap
])
#align(center)[
By StandingPad
]
= Problem
We want to meshswap certain blocks with a fancier version of them. However, we've been given a full OBJ of faces a... | |
https://github.com/sitandr/conchord | https://raw.githubusercontent.com/sitandr/conchord/main/examples/zombie.typ | typst | MIT License | // "../lib.typ" should be replaced with "@preview/conchord:0.1.0" if used outside of package
#import "../lib.typ": new-chordgen, overchord
// For better png in README
#set page(height: auto)
#let standard-chord = new-chordgen()
#let chord(tabs, name) = box(standard-chord(tabs, name: name), inset: 0.3em)
#set page(ma... |
https://github.com/lucifer1004/leetcode.typ | https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0002.typ | typst | #import "../helpers.typ": *
#import "../solutions/s0002.typ": *
= Add Two Numbers
You are given two *non-empty* linked lists representing two non-negative integers. The digits are stored in *reverse order*, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.
You ... | |
https://github.com/paugarcia32/CV | https://raw.githubusercontent.com/paugarcia32/CV/main/modules_es/projects.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Proyectos")
#cvProject(
title: [It Odyssey],
society: [Aplicación Web],
date: [2023 - Actualidad],
description: list(
[Web Blog donde publico artículos relacionados con mi experiencia en el sector IT],
),
url: "https://www.itodyssey.dev",
tags: (... |
https://github.com/muqiuhan/internal-medicine-note | https://raw.githubusercontent.com/muqiuhan/internal-medicine-note/main/main.typ | typst | #import "@preview/ilm:0.1.1": *
#show: ilm.with(
title: [
协和听课笔记:内科学\
读书笔记
],
author: "PUMC LECTURE NOTES: INTERNAL MEDICINE\nREADING NOTES",
date: datetime(year: 2024, month: 03, day: 26),
abstract: [
作者:韩暮秋 \
项目主页:#link("https://github.com/muqiuhan/internal-medicine-note")
],
preface: ... | |
https://github.com/tiankaima/typst-notes | https://raw.githubusercontent.com/tiankaima/typst-notes/master/feebf7-2023_fall_TA/extensions/qq.countable.typ | typst | #import "../utils.typ": *
=== $QQ$可数 <QQ.countable>
在分析中我们会经常无穷集合,透过一些性质,我们认为他们的"大小"不完全相同.
但不同于有限集合,无穷集合无法直接通过比较元素"个数"来比较大小,无穷集合的大小需要通过映射进行比较,来定义「基数」.
#definintion(name: "无穷集合的基数")[
无穷集合的基数并不是元素的个数,但确实是有限集合中"个数"概念的推广.
我们通过两个集合$A,B$之间的关系来定义基数:
1. 如果$exists f: A->B$是一一映射(双射),则称$A$和$B$的基数相同,记作$abs(A)=abs(B)$.
... | |
https://github.com/DrakeAxelrod/cvss.typ | https://raw.githubusercontent.com/DrakeAxelrod/cvss.typ/main/bak/src/lib.typ | typst | MIT License |
#let severity = (
NONE: "None",
LOW: "Low",
MEDIUM: "Medium",
HIGH: "High",
CRITICAL: "Critical"
)
#let test-string = "CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:A/CR:L/IR:L/AR:L/MAV:N/MAC:L/MAT:N/MPR:N/MUI:N/MVC:H/MVI:H/MVA:H/MSC:L/MSI:L/MSA:L/S:N/AU:N/R:A/V:D/RE:L/U:Clear"
#let r... |
https://github.com/ustctug/ustc-thesis-typst | https://raw.githubusercontent.com/ustctug/ustc-thesis-typst/main/chapters/citations.typ | typst | MIT License | = 引用文献的标注
<引用文献的标注>
模板使用 宏包来设置参考文献引用的格式,
更多引用方法可以参考该宏包的使用说明。
== 顺序编码制
<顺序编码制>
=== 角标数字标注法
<角标数字标注法>
#align(center)[#table(
columns: 2,
align: (col, row) => (left,left,).at(col),
inset: 6pt,
[`\cite{knuth86a}`],
[#cite(<knuth86a>)],
[`\citet{knuth86a}`],
[#cite(<knuth86a>)],
[`\cite[42]{knuth86a}`],
[... |
https://github.com/ckunte/m-one | https://raw.githubusercontent.com/ckunte/m-one/master/inc/impact.typ | typst | = Dropped pipe
Last week I had an interesting problem to review at work: For a falling body through the water column, I needed to find the impact energy if it hit infrastructure on seabed. I haven't ever done this before, which itself is a question, isn't it?
I brought this up during a FaceTime call with my daughter... | |
https://github.com/edandresvan/quarto-extensions | https://raw.githubusercontent.com/edandresvan/quarto-extensions/main/uptctareaapa/_extensions/uptctareaapa/typst-template.typ | typst | MIT License |
// This is an example typst template (based on the default template that ships
// with Quarto). It defines a typst function named 'article' which provides
// various customization options. This function is called from the
// 'typst-show.typ' file (which maps Pandoc metadata function arguments)
//
// If you are creati... |
https://github.com/ysthakur/PHYS121-Notes | https://raw.githubusercontent.com/ysthakur/PHYS121-Notes/main/Notes/Ch11.typ | typst | MIT License | #import "@preview/gentle-clues:0.3.0": note, important
= Chapter 11: Using Energy
== Efficiency
/ Efficiency: [What you get] divided by [what you had to pay]
Two reasons for reductions in energy:
- *Process limitations*, which cause energy loss due to practical reasons. You can design better, more efficient process... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0D00.typ | typst | Apache License 2.0 | #let data = (
("MALAYALAM SIGN COMBINING ANUSVARA ABOVE", "Mn", 0),
("MALAYALAM SIGN CANDRABINDU", "Mn", 0),
("MALAYALAM SIGN ANUSVARA", "Mc", 0),
("MALAYALAM SIGN VISARGA", "Mc", 0),
("MALAYALAM LETTER VEDIC ANUSVARA", "Lo", 0),
("MALAYALAM LETTER A", "Lo", 0),
("MALAYALAM LETTER AA", "Lo", 0),
("MALAY... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/style-02.typ | typst | Other | // Test a few style exceptions.
$h, bb(N), cal(R), Theta, italic(Theta), sans(Theta), sans(italic(Theta))$
|
https://github.com/mismorgano/UG-DifferentialGeometry23 | https://raw.githubusercontent.com/mismorgano/UG-DifferentialGeometry23/main/Tareas/Tarea-03/Tarea-03.typ | typst | #let title = [
Geometria Diferencial\
Tarea 3
]
#let author = [
<NAME>
]
#let book = [
Differential Geometry of Curves and Surfaces
]
#set text(12pt, font: "New Computer Modern")
#set enum(numbering: "a)")
#set math.equation(numbering: "(1)", supplement: [Eq.])
#align(center, text(17pt)[
*#title*\
#author
])... | |
https://github.com/DannySeidel/typst-dhbw-template | https://raw.githubusercontent.com/DannySeidel/typst-dhbw-template/main/declaration-of-authorship.typ | typst | MIT License | #import "locale.typ": *
#let declaration-of-authorship(
authors,
title,
declaration-of-authorship-content,
date,
language,
many-authors,
at-university,
city,
date-format,
) = {
v(2em)
text(size: 20pt, weight: "bold", DECLARATION_OF_AUTHORSHIP_TITLE.at(language))
v(1em)
if (declaration-of-aut... |
https://github.com/Vortezz/fiches-mp2i-physique | https://raw.githubusercontent.com/Vortezz/fiches-mp2i-physique/main/chapitre_3.typ | typst | #import "@preview/cetz:0.0.1"
#set page(header: box(width: 100%, grid(
columns: (100%),
rows: (20pt, 8pt),
align(right, text("CHAPITRE 3. BASES DE L'ÉLECTRICITÉ")),
line(length: 100%),
)), footer: box(width: 100%, grid(
columns: (50%, 50%),
rows: (8pt, 20pt),
line(length: 100%),
line(length: 100%),
a... | |
https://github.com/teamdailypractice/pdf-tools | https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/examples/example-06.typ | typst | #image("images/Glacier-640px.jpg")
| |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/editors/vscode/e2e-workspaces/print-state/main.typ | typst | Apache License 2.0 |
#import "effect.typ": *
#show: main
#println("Hello World!")
#println("Hello World! Again...")
|
https://github.com/Error0229/- | https://raw.githubusercontent.com/Error0229/-/main/-.-.%20.-/🕛.typ | typst | The Unlicense | #set text(font: "New Computer Modern")
#align(center, text(16pt)[
*Design and Analysis of Computer Algorithms Sample midterm*
])
#set enum(numbering: "1. 1")
+ \
+ $T(n) &= T(n-1) + 1/n\
&= T(n-2) + 1/(n-1) + 1/n\
&= sum_(i = 3)^n 1/i + d\
&= O(log n) "by harmonic series"\ $
+ $T(... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/delimited_09.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test middle functions
$ { x mid(|) sum_(i=1)^oo phi_i (x) < 1 } \
{ integral |x| dif x
mid(bar.v.double)
floor(hat(A) mid(|) { x mid(|) y } mid(|) A) } $
|
https://github.com/Otto-AA/definitely-not-tuw-thesis | https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/src/thesis.typ | typst | MIT No Attribution | #import "translations/translations.typ": init_translations
#import "frontpage.typ": frontpage
#import "statement.typ": statement
#let thesis(
lang: "en",
title: (:),
subtitle: (:),
thesis-type: (en: "Diploma Thesis", de: "Diplomarbeit"),
academic-title: (en: "Diplom-Ingenieur", de: "Diplom-Ingenieur"),
cur... |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/src/types/array.typ | typst | Other | #import "../base-type.typ": base-type
#import "../assertions-util.typ": assert-base-type, assert-positive-type
#import "../ctx.typ": z-ctx
#let array-type = type(())
#let array(
name: "array",
assertions: (),
min: none,
max: none,
..args,
) = {
let descendents-schema = args.pos().at(0, default: base-type(... |
https://github.com/typst-community/mantodea | https://raw.githubusercontent.com/typst-community/mantodea/main/template/main.typ | typst | MIT License | #import "@preview/mantodea:0.1.0": mantodea
#show: mantodea(
title: [Title],
subtitle: [Subtitle],
authors: "<NAME> <<EMAIL>>",
date: datetime.today(),
version: version(0, 1, 0),
abstract: lorem(100),
license: "MIT",
)
|
https://github.com/MikoBie/typst_template | https://raw.githubusercontent.com/MikoBie/typst_template/main/main.typ | typst | // Import theme from the file.
#import "themes/iss.typ": *
// Define main colors of the theme.
#let mainColor = rgb(42,60,102)
#let enumColor = rgb(42,102,45)
#let alertColor = rgb(102,42,66)
#let otherColor = rgb(102,84,42)
// Option of the theme.
#show: iss-theme.with(
left-footer: [Biesaga],
short-title: lorem... | |
https://github.com/RanolP/resume | https://raw.githubusercontent.com/RanolP/resume/main/modules/components.typ | typst | #let base-icon(url, size: 1em, width: none, height: none, bottom: -1em / 8) = {
box[
#pad(bottom: bottom)[
#image(
url,
format: "svg",
width: if width == none {
size
} else {
width
},
height: if height == none {
size
} els... | |
https://github.com/typst-jp/typst-jp.github.io | https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/changelog/earlier.md | markdown | Apache License 2.0 | ---
title: Earlier
description: Changes in early, unversioned Typst
---
# Changes in early, unversioned Typst
## March 28, 2023
- **Breaking changes:**
- Enumerations now require a space after their marker, that is, `[1.ok]` must
now be written as `[1. ok]`
- Changed default style for [term lists]($terms): Do... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/multiline_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test space between inner alignment points.
$ a + b &= 2 + 3 &= 5 \
b &= c &= 3 $
|
https://github.com/qujihan/typst-book-template | https://raw.githubusercontent.com/qujihan/typst-book-template/main/template/parts/lib.typ | typst | #import "cover.typ": show-cover
#import "outline.typ": show-outline
#import "figure/lib.typ": code, pic, tbl, figure-root-path | |
https://github.com/i-am-wololo/cours | https://raw.githubusercontent.com/i-am-wololo/cours/master/main/main.typ | typst | #set page(
header: "Fiches de revisions 2nd semestre",
numbering: "1/1"
)
#include "./cheatsheet.typ"
#pagebreak()
#include "./cheatsheeti22.typ"
#pagebreak()
#include "./cheatsheeti21.typ"
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/quill/0.1.0/README.md | markdown | Apache License 2.0 | <h1 align="center">
<img alt="Quantum Circuit" src="https://github.com/Mc-Zen/packages/assets/52877387/5d34c646-79a8-492b-8e49-9136d5881258" style="max-width: 100%; width: 300pt; padding: 10px 20px; box-shadow: 1pt 1pt 10pt 0pt #AAAAAA; border-radius: 4pt; box-sizing: border-box; background: white">
</h1>
**Quill**... |
https://github.com/ngyngcphu/tick3d-docs | https://raw.githubusercontent.com/ngyngcphu/tick3d-docs/main/contents/03_luoc_do_use_case/index.typ | typst | Apache License 2.0 | = Use-case diagram and use-case scenario
#figure(caption: [Use-case tổng quát toàn bộ hệ thống],
image("../images/usecase/DACNPM-WholeSystem.png")
)
#pagebreak()
== Module mua sắm mô hình 3D (Shopping)
#figure(caption: [Module mua sắm mô hình 3D],
image("../images/usecase/DACNPM-MakeOrder.png")
)
#table(
... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/复习/光电子材料与器件复习/temple/js.typ | typst | #import "@preview/jogs:0.2.3": *
#set page(height: auto, width: auto, fill: black, margin: 1em)
#set text(fill: white)
#let code = ```
function sum() {
const total = Array.prototype.slice.call(arguments).reduce(function(a, b) {
return a + b;
}, 0);
return total;
}
function string_join(arr) {
return arr... | |
https://github.com/coco33920/agh-public | https://raw.githubusercontent.com/coco33920/agh-public/gh-pages/pdfs/awb.typ | typst | #set page(footer: [This book is published under the MIT Licence and available on
the web here #link("https://agh.nwa2coco.fr")])
#v(1fr)
#set text(size:24pt)
#set align(center)
*A Witchy Best Friend*\
by <NAME>,\
_Last updated: December 5th, 2023_\
#set text(size:12pt)
#set align(left)
#v(1fr)
#pagebreak(weak: true)... | |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Prepa_MPSI_Chap2_Ex.typ | typst | #import "template.typ": *
// Take a look at the file `template.typ` in the file panel
// to customize this template and discover how it works.
#show: project.with(
title: "Maths Prepa MPSI Chap2 Ex",
authors: (
"<NAME>",
),
date: "3 Novembre, 2023",
)
#set heading(numbering: "1.1.")
== Ex 1
<ex-1>
#block... | |
https://github.com/Bit-Part-Young/report-template-MMMS-typst | https://raw.githubusercontent.com/Bit-Part-Young/report-template-MMMS-typst/main/README.md | markdown | # 《多尺度材料模拟与计算》课程实验报告、作业 typst 模板
- 作者:小小角色
- 创建时间:
- 以下内容如有错误或疑问,或友好交流互动,请在该 repo 中提 [Issues](https://gitee.com/yangsl306/report-template-MMMS-typst/issues/new)
- 本模板内容较为简略,十分欢迎感兴趣、有能力的同学对其进行丰富扩展
---
## To Do
- [x] 标题后首段无法正确缩进
| |
https://github.com/Dherse/typst-brrr | https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/syntree/main.typ | typst | #import "@preview/syntree:0.1.0": tree
#set page(width: auto, height: auto)
#let bx(col) = box(fill: col, width: 1em, height: 1em)
#figure(
caption: "Monster syntaxtree for sampling purposes.",
gap: 2em,
tree("colors",
tree("warm", tree("colors",
tree("warm", tree("colors",
tree("warm", tre... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/math/matrix-gaps.typ | typst | Apache License 2.0 | // Test matrices, cases and vec gaps
---
#set math.mat(row-gap: 1em, column-gap: 2em)
$ mat(1, 2; 3, 4) $
---
#set math.mat(gap: 1em)
$ mat(1, 2; 3, 4) $
---
#set math.cases(gap: 1em)
$ x = cases(1, 2) $
---
#set math.vec(gap: 1em)
$ vec(1, 2) $
|
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/test/drafting.typ | typst | /// Default properties for margin notes. These can be overridden per function call, or
/// globally by calling `set-margin-note-defaults`. Available options are:
/// - `margin-right` (length): Size of the right margin
/// - `margin-left` (length): Size of the left margin
/// - `page-width` (length): Width of the page/c... | |
https://github.com/jrihon/cv | https://raw.githubusercontent.com/jrihon/cv/main/sections/competencies.typ | typst | #import "../brilliant-template/template.typ": *
#cvSection("Competencies")
#columns(2, gutter: 24pt)[
#cvSubSection("Informatics")
#skill("Python (Software development, figures, scripting)", 4)
#skill("Shell (Scripting, sysadmin)", 3)
#skill("LaTeX (Manuscripts, presentations)", 3)
#skill("Rust (Software... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/place-nested_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#box(
fill: aqua,
width: 30pt,
height: 30pt,
{
box(fill: yellow, {
[Hello]
place(horizon, line(start: (0pt, 0pt), end: (20pt, 0pt), stroke: red + 2pt))
})
place(horizon, line(start: (0pt, 0pt), end: (20pt, 0pt), stro... |
https://github.com/NiklasEi/ndc_spin | https://raw.githubusercontent.com/NiklasEi/ndc_spin/main/templates/package/template.typ | typst | #include "file.typ"
a test template
#let input = if sys.inputs.keys().contains("input") {json.decode(sys.inputs.input);} else {json("sample.json");}
#input.test
#set table(
stroke: none,
gutter: 0.2em,
fill: (x, y) =>
if x == 0 or y == 0 { gray },
inset: (right: 1.5em),
)
#table(
columns: 4,
... | |
https://github.com/unforswearing/typst_invoice | https://raw.githubusercontent.com/unforswearing/typst_invoice/main/README.md | markdown | # Typst Invoice
A simple invoice written with Typst, for contracting work.
- Invoice variables are stored in `invoice_data.json`.
- See `invoice_tmpl.typ` for example of how variables are used.
- Example pdf can be found at `invoice_tmpl.pdf`. | |
https://github.com/michalrzak/muw-typst-template | https://raw.githubusercontent.com/michalrzak/muw-typst-template/main/main.typ | typst | #import "template.typ": *
// README
// ---------------------------------------------
// Before writting the thesis definetly check out the guide at
// https://ub.meduniwien.ac.at/fileadmin/content/OE/ub/dokumente/Leitfaden_Studierende_Hochschulschriften_MedUni_Wien.pdf
//
// You are for example required to have a lis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.