repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/open-datakit/accs-finalreport-whitepaper | https://raw.githubusercontent.com/open-datakit/accs-finalreport-whitepaper/main/2-accs/content.typ | typst | = Activities for _Australian Characterisation Commons at Scale_ project
== Deliverables
=== _WP6.1.1_ Create a small angle scattering (SAS) analysis pipeline
=== _WP6.1.2_ Configuration of cloud infrastructure
=== _WP6.1.3_ Improving the user-interface to the SAS analysis pipeline
=== _WP6.2.1_ Create an integrate... | |
https://github.com/MaharshiAJ/Resume-Template | https://raw.githubusercontent.com/MaharshiAJ/Resume-Template/main/main.typ | typst | #import "template.typ": *
#let resume = json("resume.json")
#show: {
header(
name: resume.name,
email: resume.email,
linkedinUrl: resume.linkedin
)
education(
schools: resume.education
)
experience(
roles: {
resume.experience
}
)
skills(
skills: resume.skills
)
} | |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/template/1er%20exam.typ | typst | MIT License | #import "@preview/g-exam:0.4.0": g-exam, g-question, g-subquestion
#show: g-exam.with(
school: (
name: "<NAME>",
logo: image("./logo.png")
),
exam-info: (
academic-period: "Academic year 2023/2024",
academic-level: "1st Secondary Education",
academic-subject: "Mathematics",
num... |
https://github.com/Axot017/CV | https://raw.githubusercontent.com/Axot017/CV/master/modules_en/education.typ | typst | #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("Education")
#cvEntry(
title: [Bachelor of Engineering in Computer Science],
society: [Silesia... | |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week1.typ | typst | #import "../../utils.typ": *
#section("Distributed Systems Repetition")
- Reasons for distributed systems
- scaling Moores law can't go forever with big amounts of performance increases,\
hence we need horizontal scaling -> more servers in order to properly scale
- location When you want to access a service fr... | |
https://github.com/FrightenedFoxCN/cetz-cd | https://raw.githubusercontent.com/FrightenedFoxCN/cetz-cd/main/src/precheck.typ | typst | #import "utils.typ": *
// First Rendering of the placed here, mainly to get all the width & height data for all the labels
// All these are useless due to content type limitation!!!
// get the size for an item. Converted to a binary array for convenience
#let get-item-size(item) = style(styles => {
(measure(tab... | |
https://github.com/LugsoIn2/typst-htwg-thesis-template | https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/appendix/appendix_example2.typ | typst | MIT License | #import "../lib/utils.typ": todo
= Chapter App Ipsum <appendix_example2>
#lorem(50)
== Nonumy
#lorem(200)
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/compiler/README.md | markdown | Apache License 2.0 | # typst-ts-web-compiler
The compiler can run in browser. See documentation for details:
- [Get Started](https://myriad-dreamin.github.io/typst.ts/cookery/get-started.html)
- [Compiler interfaces](https://myriad-dreamin.github.io/typst.ts/cookery/guide/compilers.html)
It can also runs in node.js, but limits its acces... |
https://github.com/maucejo/book_template | https://raw.githubusercontent.com/maucejo/book_template/main/template/front_matter/resume.typ | typst | MIT License | #import "../../src/book.typ": *
#show: chapter.with(title: "Résumé", toc: false)
#lorem(500) |
https://github.com/typst-jp/typst-jp.github.io | https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/glossary.md | markdown | Apache License 2.0 | ---
description: |
英語・日本語・中国語対照翻訳用語集
---
# 用語集
以下は翻訳時に使用される英日中対照の用語集です。
| 英語 | 日本語 | 中文 | 備考 |
| ------------- | --------------- | ---------------------- | ------------------------------------- |
| Typst | Typst | Typst ... |
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/decide-elevation/entry.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/packages.typ": notebookinator, codetastic
#import notebookinator: *
#import codetastic: qrcode
#import themes.radial.components: *
#show: create-body-entry.with(
title: "Decide: Elevation",
type: "decide",
date: datetime(year: 2023, month: 11, day: 3),
author: "<NAME>",
witness: "Violet Ridge",
)
... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/songb/0.1.0/tests/chord.typ | typst | Apache License 2.0 | // SPDX-FileCopyrightText: 2024 <NAME> <<EMAIL>>
//
// SPDX-License-Identifier: CC0-1.0
#import "../chord.typ": chord, chord-display;
= First song
Alph#chord[Asus4]a#chord[Bb]bet#chord[C\#][ ]space\
#text(weight: "bold")[
Alph#chord[Asus4]a#chord[Bb]bet #chord[C\#][sbace]\
]
Trailing chords#chord[A]#chord[Bm7]#cho... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/030.%20essay.html.typ | typst | essay.html
The Age of the Essay
September 2004Remember the essays you had to write in high school?
Topic sentence, introductory paragraph,
supporting paragraphs, conclusion. The conclusion being,
say, that Ahab in <NAME> was a Christ-like figure.Oy. So I'm going to try to give the other side of the
story: what an es... | |
https://github.com/j10ccc/zjut-social-practice-report-typst | https://raw.githubusercontent.com/j10ccc/zjut-social-practice-report-typst/main/layout/cover.typ | typst | #let cover(meta) = {
let table(kv) = {
for (key, value) in kv [
#grid(
columns: (80pt, auto),
gutter: 4pt,
rect(
width: 100%,
inset: 2pt,
stroke: none,
text(size: 18pt, key)
),
rect(
width: 100%,
inset: 2pt,
... | |
https://github.com/robertjndw/typst-tum-presentation | https://raw.githubusercontent.com/robertjndw/typst-tum-presentation/main/colors.typ | typst | // Colors defined in the TUM Corporate Design Manual
#let TUM_primary_blue = rgb("#0065BD")
#let TUM_primary_white = rgb("#ffffff")
#let TUM_primary_black = rgb("#000000")
#let TUM_secondary_blue = rgb("#005293")
#let TUM_secondary_blue_dark = rgb("#003359")
#let TUM_secondary_grey_dark = rgb("#333333")
#let TUM_secon... | |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/figure-localization.typ | typst | Apache License 2.0 | // Test localization-related figure features.
---
// Test French
#set text(lang: "fr")
#figure(
circle(),
caption: [Un cercle.],
)
---
// Test Chinese
#set text(lang: "zh")
#figure(
rect(),
caption: [一个矩形],
)
|
https://github.com/storopoli/Bayesian-Statistics | https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/slides.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#import "utils.typ": *
#show: clean-theme.with(
footer: [Bayesian Statistics, <NAME>],
short-title: [Bayesian Statistics],
logo: image("images/logos/juliadatascience_white.png"),
color: julia-purple,
)
// customizations
#set bibliography(style: "harv... |
https://github.com/SillyFreak/typst-scrutinize | https://raw.githubusercontent.com/SillyFreak/typst-scrutinize/main/gallery/example.typ | typst | MIT License | // #import "@preview/scrutinize:0.3.0": grading, task, solution, task-kinds
#import "../src/lib.typ" as scrutinize: grading, task, solution, task-kinds
#import task-kinds: free-form, gap, choice
#import task: t
// make the PDF reproducible to ease version control
#set document(date: none)
#let title = "Exam"
#set do... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-refs_04.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Styling
#show footnote: text.with(fill: red)
Real #footnote[...]<fn> \
Ref @fn
|
https://github.com/cs-24-sw-3-01/typst-documents | https://raw.githubusercontent.com/cs-24-sw-3-01/typst-documents/main/report/chapters/styleguide.typ | typst | #import "../custom.typ": *
= Styleguide
== Language
We will use american english for this report
== Tops and Tails
Tops will only be used for chapters.
We will use tops and tails for the sections of the document.
A top will only be used where it makes sense. Tails are required.
Tops will only be used in chapters.... | |
https://github.com/Quaternijkon/QUAD | https://raw.githubusercontent.com/Quaternijkon/QUAD/main/config.typ | typst | #import "@preview/touying:0.4.2": *
#import "theme.typ"
#let s = theme.register(aspect-ratio: "16-9")
#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")
#let s = (s.methods.info)(
self: s,
title: [什么年代了还在用传统幻灯片?],
subtitle: [快来使用幻灯片界的⚪神Typst!],
author: [Typst领域大神],
date: datetime.today(),
insti... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-text-03.typ | typst | Other | // Test caseless match and word boundaries.
#show regex("(?i)\bworld\b"): [🌍]
Treeworld, the World of worlds, is a world.
|
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/fonc/optique.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}
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
=== Lentilles explicites
On souhaite réaliser des accès/modifications à un champ d'une structure de... | |
https://github.com/jens-hj/ds-exam-notes | https://raw.githubusercontent.com/jens-hj/ds-exam-notes/main/lectures/6.typ | typst | #import "../lib.typ": *
#show link: it => underline(emph(it))
#set math.equation(numbering: "(1)")
#set enum(full: true)
#set math.mat(delim: "[")
#set math.vec(delim: "[")
#set list(marker: text(catppuccin.latte.lavender, sym.diamond.filled))
#show heading.where(level: 1): it => text(size: 22pt, it)
#show heading.wh... | |
https://github.com/antonWetzel/typst-video | https://raw.githubusercontent.com/antonWetzel/typst-video/master/example/main.typ | typst | #set document(title: "Example Project 2")
#let scenes = state("scenes", ())
#let fps_state = state("fps", 30)
#let scene_state = state("scene", (
objects: (),
background: white,
))
#let scene(name, actions, background: white) = {
pagebreak(weak: true)
context {
let start = counter(page).get().at(0)
scenes.up... | |
https://github.com/LugsoIn2/typst-htwg-thesis-template | https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/lib/htwgThesis.typ | typst | MIT License | #import "cover.typ": *
#import "titlepage.typ": *
#import "declarationOfHonour.typ": *
#import "abstract.typ": *
#import "appendix.typ": *
#import "tableOfContents.typ": *
#import "listOfFigures.typ": *
#import "listOfTables.typ": *
#import "textTemplate.typ": *
#import "@preview/glossarium:0.4.1": make-glossary, print... |
https://github.com/TimPaasche/Typst.Template.CoverLetter | https://raw.githubusercontent.com/TimPaasche/Typst.Template.CoverLetter/master/main.typ | typst | MIT License | #import "template/style.typ": titlePage
#show: doc => titlePage(
title: "Überschrift",
company: (
name: "Firma AG / GmbH",
address:
(
street: "Straße 1",
place: "11111 Musterstadt",
contry: "Deutschland",
),
),
author:
(
name: "<NAME>",
address:
(
street: ... |
https://github.com/HEIGVD-Experience/docs | https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/WEB/docs/2-HTML%26CSS/css.typ | typst | #import "/_settings/typst/template-note-en.typ": conf
#show: doc => conf(
title: [
CSS
],
lesson: "WEB",
chapter: "2 - HTML & CSS",
definition: "The text covers fundamental educational objectives in web development, elucidating the roles of HTML and CSS, HTML document structure, and the integration of CSS... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/chart/boxwhisker.typ | typst | Apache License 2.0 | #import "/src/cetz.typ": draw, styles, palette, util, vector, intersection
#import "/src/plot.typ"
#let boxwhisker-default-style = (
axes: (tick: (length: 0), grid: (stroke: (dash: "dotted"))),
box-width: 0.75,
whisker-width: 0.5,
mark-size: 0.15,
)
/// Add one or more box or whisker plots.
///
/// #example(... |
https://github.com/skriptum/diatypst | https://raw.githubusercontent.com/skriptum/diatypst/main/diaquarto/README.md | markdown | MIT License | # Diaquarto: Diatypst Extension for Quarto
|
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/AnalisiDeiRequisiti/functions.typ | typst | MIT License | #let glossary(content) = {
emph[#content#sub("G")]
}
#let team = {
emph[SWAT Engineering]
}
#let modulo(value, modulo) = {
int(value / modulo) == value / 4
}
#let calculate_letter_code_from_importance(importance) = {
if importance == "Obbligatorio" {
return "O"
} else if importance == "Desiderabile" {
... |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/C++/C++_notes.typ | typst | Creative Commons Zero v1.0 Universal | #set text(
font: "Gentium Plus",
size: 10pt,
lang: "it"
)
#set page(
paper: "a4",
header: align(right)[_Programmazione C++_],
numbering: "1"
)
#set par(
justify: true
)
#set heading(
numbering: "1."
)
#show par: set block(spacing: 0.55em)
#set raw(lang: "c++")
#show raw.where(block: false): box.with(
fill: ... |
https://github.com/drupol/master-thesis | https://raw.githubusercontent.com/drupol/master-thesis/main/resources/typst/functions-vs-computations.typ | typst | Other | #import "../../src/thesis/imports/preamble.typ": *
#table(
columns: (2fr, 3fr, 5fr),
stroke: none,
align: left + top,
table.header(
[],
table.vline(stroke: .5pt),
[*Theoretically*],
table.vline(stroke: .5pt),
[*Practically*],
table.hline(stroke: .5pt),
),
[*Function*],
[$I -> R$],... |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/proc.typ | typst | == Proc
The proc functionality represents a procedure called by the requester and carried out by the provider.
The proc functionality might contain param and return functionalities.
Params are procedure parameters and returns represent data returned from the procedure.
The proc has associated signals at the provider ... | |
https://github.com/kdog3682/mathematical | https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/academic/index.typ | typst | #import "multiple-choice-question.typ": multiple-choice-question
| |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/chained-call-last-indent.typ | typst | Apache License 2.0 | #{
let tree = (1,2,3)
let depth = 1
let build-node(tree, depth: 0, sibling: 1) = {
repr(tree) + repr(depth) + repr(sibling)
}
let children
children = tree.slice(1).enumerate().map(((n, c)) =>
build-node(c, depth: depth + 1, sibling: n))
children
}
|
https://github.com/jneug/schule-typst | https://raw.githubusercontent.com/jneug/schule-typst/main/src/subjects/computer-science.typ | typst | MIT License |
#import "../util/args.typ"
#import "../theme.typ"
/// Erstellt eine Tabelle zur Visualisierung eines Arrays mit Indizes und Inhalten.
#let arr(data, len: auto, empty: none, start: 0, cell-width: 8mm) = {
len = args.if-auto(len, () => data.len())
let d = data + (empty,) * calc.max(0, (len - data.len()))
table(
... |
https://github.com/yves147/bachelor-template-unidue | https://raw.githubusercontent.com/yves147/bachelor-template-unidue/master/math.typ | typst | == Math! (imported from math.typ)
In case you need to include some math, the amsmath package 2 is already included in
this document. To properly display some short formula like $e^(i pi) = −1$, you should
use the embedded math environment using \$e^(i pi) = -1\$. For longer equations place two spaces around the inner b... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/substitution/alternate.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/lib/glossary.typ": tr
#show: web-page-template
// ### Alternate substitution
=== #tr[alternate substitution]
// After one-to-many, we have what OpenType calls "one from many"; that is, one glyph can be substituted... |
https://github.com/Tiggax/zakljucna_naloga | https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/sec/6zaključek.typ | typst | #set heading(offset: 1)
#import "/src/additional.typ": todo
#set text(lang: "sl")
Bioreaktorji so ključni za industrijsko proizvodnjo različnih biofarmacevtskih produktov.
Uporaba celic kitajskega hrčka je postala standard v industriji zaradi njihove visoke produktivnosti in zmožnosti post-translacijske modifikacij... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/048%20-%20Dominaria%20United/004_Homecoming.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Homecoming",
set_name: "Dominaria United",
story_date: datetime(day: 12, month: 08, year: 2022),
author: "<NAME>",
doc
)
Every plane was different, and everyone who walked between them knew; it was impossible #emph[not] to know. The air on... | |
https://github.com/saYmd-moe/note-for-statistical-mechanics | https://raw.githubusercontent.com/saYmd-moe/note-for-statistical-mechanics/main/contents/PartII/Chp05.typ | typst | #import "../../template.typ": *
== 近独立子系
=== 定域子系
==== _Maxwell-Boltzmann_系统的最可几分布
对于 _Maxwell-Boltzmann_ 分布,系统量子态数:$
W_(#[_M.B._])({a_lambda}) = N!/(product_lambda a_lambda !) product_lambda g_lambda^(a_lambda)\
ln W_(#[_M.B._]) approx N ln N - sum_lambda a_lambda ln a_lambda + sum_lambda a_lambda ln g_lambda = N ... | |
https://github.com/typst-community/org | https://raw.githubusercontent.com/typst-community/org/main/README.md | markdown | This is the Typst Community organization manifest repository. Here you can find information about the organization, including its governance, goals, and how to get involved.
For questions feel free to open a discussion in the [Discussions](https://github.com/orgs/typst-community/discussions) tab.
> [!WARNING]
> Work... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/diagraph/0.2.3/internals.typ | typst | Apache License 2.0 | #import "graphviz_interface/protocol.typ": *
#let plugin = plugin("graphviz_interface/diagraph.wasm")
/// Converts a string containing escape sequences to content.
#let parse-string(s) = {
let result = []
let row = ""
let is-escaped = false
for cluster in s {
if is-escaped {
is-escaped = false
... |
https://github.com/eeeem460/typst | https://raw.githubusercontent.com/eeeem460/typst/main/README.md | markdown | `grundy/main.typst`
のプリアンブルは
[sahasatvikさんのリポジトリの例](https://github.com/sahasatvik/typst-theorems/blob/main/differential_calculus.typ)
を日本語で書けるように変更したものです。お借りします。
日本語への対応については[stepney141さんのtemplate](https://github.com/stepney141/my_typst_template/blob/main/%E3%83%AA%E3%82%A2%E3%83%9A%E3%83%BB%E3%83%AC%E3%83%9D%E3%83%BC... | |
https://github.com/St0wy/how_to_pdf | https://raw.githubusercontent.com/St0wy/how_to_pdf/main/README.md | markdown | # how_to PDF
To get the PDF you must have [Typst](https://github.com/typst/typst) installed and the executable on the path. You can find the latest version in their GitHub release page.
Once this is done, compile with :
```
jai main.jai
```
And run with :
```
./main.exe <path-to-how_to>
```
On windows, if you don... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/pagebreak_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Two text bodies separated with and surrounded by weak pagebreaks.
// Should result in two aqua-colored pages.
#set page(fill: aqua)
#pagebreak(weak: true)
First
#pagebreak(weak: true)
Second
#pagebreak(weak: true)
|
https://github.com/physicshinzui/typst-templates | https://raw.githubusercontent.com/physicshinzui/typst-templates/main/article/article_template.typ | typst | // This code is helpful to modify template:
// https://github.com/avonmoll/ifacconf-typst/blob/main/lib.typ
#let conf(
title: none,
authors: (),
abstract: [],
keywords: [],
bib: none,
heading-numbering: none,
is-supporting-info: false,
doc,
) = {
set text(font: "New Computer Modern")
set align(cen... | |
https://github.com/01mf02/jq-lang-spec | https://raw.githubusercontent.com/01mf02/jq-lang-spec/main/acm.typ | typst | #let mainFont = "Linux Libertine O"
#let sfFont = "Linux Biolinum O"
#let show-month(month) = (
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
).at(month - 1)
#let author-names(authors) = authors.map(author => author.nam... | |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/set-if.typ | typst | Apache License 2.0 | #let task(body, critical: false) = {
set text(red) if critical
[- #body]
}
#task(critical: true)[Food today?]
#task(critical: false)[Work deadline]
|
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/mecanique_quantique_2.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: "mecanique quantique 2",
authors: (
"<NAME>",
),
date: "10 Août, 2024",
)
#set heading(numbering: "1.1.")
= Introduction
<introduction... | |
https://github.com/Lich496/Typst-with-Docker | https://raw.githubusercontent.com/Lich496/Typst-with-Docker/main/README.md | markdown | Apache License 2.0 | # Typst with Docker
## Features
Add Typst Language support.
Build `.typ` file with typst on Docker Container.
## Requirements
Docker is installed in your environment and Typst image shold be pulled.
Here is recommended Dockerfile.
```dockerfile
FROM ghcr.io/typst/typst:latest
RUN apk --update add fontconfig
COP... |
https://github.com/cyp0633/hnu-bachelor-thesis-typst-template | https://raw.githubusercontent.com/cyp0633/hnu-bachelor-thesis-typst-template/master/readme.md | markdown | # 湖南大学本科毕业论文(大理) Typst 模板
Typst 是一种排版体系,可以理解为语法更简单的 LaTeX,确实能够简化许多 Word 的麻烦,包括但不限于页面编号、图片及其标号、伪代码排版等。
本模板力求与教务处提供的模板相似,但对比时仍能发现排版差别。作者已成功使用该模板,于信息科学与工程学院毕业,但不对任何可用性作保证,请使用者后果自负。
[样式预览](./assets/example.pdf)
## 使用方法
一般来说仅需要修改 `example.typ` 中的文章内容,以及 `example.bib` 中的参考文献(BibLaTeX 格式),其他 `.typ` 文件皆为模板。
为... | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/design/design_iteration_1_haskell_function_notation_inspired.typ | typst | = Haskell function notation-inspired design <haskell-function-notation-inspired-design>
The Haskell function notation-inspired design takes the notation of
functions in Haskell and converts the explicit and implicit parenthesis into
blocks. The mapping from argument to value through an arrow remains the
same. A simple... | |
https://github.com/crd2333/Astro_typst_notebook | https://raw.githubusercontent.com/crd2333/Astro_typst_notebook/main/src/components/TypstTemplate/figures.typ | typst | #import "@preview/fletcher:0.4.4" as fletcher: diagram, node, edge
#import "@preview/tablem:0.1.0": tablem
#import "@preview/lovelace:0.2.0": algorithm, pseudocode-raw, setup-lovelace
#import "@preview/truthfy:0.3.0": truth-table, truth-table-empty
#import "@preview/codly:0.2.0": *
#import "@preview/cetz:0.2.1"
... | |
https://github.com/gongke6642/tuling | https://raw.githubusercontent.com/gongke6642/tuling/main/布局/重复/重复.typ | typst | #image("屏幕截图 2024-04-16 174441.png")
#image("屏幕截图 2024-04-16 174600.png")
| |
https://github.com/lsmenicucci/typst-pkgs | https://raw.githubusercontent.com/lsmenicucci/typst-pkgs/main/calendar/README.md | markdown | # Typst calender component
> Under development
## Usage
```typst
#import "./calendar.typ": calendar, monthweeks
// define calendar data
#let c = calendar({
import "./calendar.typ": mark
mark((day: 10, month: 4), label: "Homework assignment")
mark((day: 6, month: 5), label: "My birthday")
}, defaul... | |
https://github.com/HynDuf/typst-cv | https://raw.githubusercontent.com/HynDuf/typst-cv/master/main_letter.typ | typst | Apache License 2.0 | // Imports
#import "lib.typ": letter
#let metadata = toml("./template/metadata.toml")
#show: letter.with(
metadata,
myAddress: "Ha Noi, Vietnam",
recipientName: "RECIPIENT_NAME",
recipientAddress: "RECIPIENT_ADDRESS",
date: datetime.today().display(),
subject: "Subject: Motivation for admission",
signat... |
https://github.com/tzx/NNJR | https://raw.githubusercontent.com/tzx/NNJR/main/template.typ | typst | MIT License | #let resume(body) = {
set list(indent: 1em)
show list: set text(size: 0.92em)
show link: underline
show link: set underline(offset: 3pt)
set page(
paper: "us-letter",
margin: (x: 0.5in, y: 0.5in)
)
set text(
size: 11pt,
font: "New Computer Modern",
)
body
}
#let name_header(name)... |
https://github.com/Skimmeroni/Appunti | https://raw.githubusercontent.com/Skimmeroni/Appunti/main/C++/Introduzione/Funzioni.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/showybox:2.0.1": showybox
In C++, esistono tre modi per passare un parametro ad una funzione. Di base,
quando un valore viene passato ad una funzione, il parametro di tale funzione
viene inizializzato con il valore passato. Al di lá di questo, che é comune a
tutti i modi, i modi sono i seguenti:
- *... |
https://github.com/devraza/warehouse | https://raw.githubusercontent.com/devraza/warehouse/main/blog/selfhost-search-engine.typ | typst | MIT License | #import "template.typ": conf
#show: doc => conf(
title: [ Host your own private search engine with SearXNG ],
doc,
)
= Introduction
#link("https://docs.searxng.org/")[SearXNG];, put in its own words, is a
'free internet metasearch engine'. Note that it describes itself as a
#emph[metasearch] engine specifically - ... |
https://github.com/elpekenin/access_kb | https://raw.githubusercontent.com/elpekenin/access_kb/main/typst/content/utils.typ | typst | // small pieces of code move from main file to reduce its size
#let _code(
source,
caption,
kind,
supplement,
) = {
assert(caption != "", message: "Provide a caption")
return figure(
[#source],
caption: caption,
kind: kind,
supplement: supplement,
)
}
#let snippet(source, caption: "") =... | |
https://github.com/eliapasquali/typst-thesis-template | https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/preface/firstpage.typ | typst | Other | #let logo = "../images/unipd-logo.svg"
#import "../config/variables.typ": myUni, myDepartment, myFaculty, myTitle, myDegree, profTitle, myProf, myName, myMatricola, myAA
#import "../config/constants.typ": supervisor, undergraduate, academicYear, ID
#set page(numbering: none)
#grid(
columns: (auto),
rows: (1fr... |
https://github.com/akagiyuu/math-document | https://raw.githubusercontent.com/akagiyuu/math-document/main/constant/ramanujan.typ | typst | #set text(size: 20pt)
$ e^(pi sqrt(163)) approx 640320^3 + 744 $
| |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/hanoi.typ | typst | #import "@preview/cetz:0.2.2"
#let _hanoi(
n,
disks,
arrow
) = cetz.canvas(length: 100%, {
import cetz.draw: *
let spacing = 8pt
let height = (n+1)*spacing
set-style(content: (padding: 4pt))
line((), (1, 0))
circle((1/6, 0), radius: 0, name: "A")
circle((3/6, 0), radius: 0, name: "B")
circle(... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-D800.typ | typst | Apache License 2.0 | #let data = (
"0": ("<Non Private Use High Surrogate, First>", "Cs", 0),
"37f": ("<Non Private Use High Surrogate, Last>", "Cs", 0),
)
|
https://github.com/andreasKroepelin/TypstJlyfish.jl | https://raw.githubusercontent.com/andreasKroepelin/TypstJlyfish.jl/main/typst/jlyfish.typ | typst | MIT License | #import "@preview/based:0.1.0": base64
#let jlyfish-output-data = state("jlyfish-output-data", (:))
#let jlyfish-code-counter = counter("jlyfish-code-counter")
#let read-julia-output(data) = {
assert.eq(type(data), dictionary)
for (_id, evaluation) in data {
assert.eq(type(evaluation), dictionary)
for k i... |
https://github.com/mumblingdrunkard/mscs-thesis | https://raw.githubusercontent.com/mumblingdrunkard/mscs-thesis/master/src/utils/latex.typ | typst | #let size = (
tiny: text.with(size: 5pt),
scriptsize: text.with(size: 7pt),
footnotesize: text.with(size: 8pt),
small: text.with(size: 9pt),
normalsize: text.with(size: 10pt),
large: text.with(size: 12pt),
Large: text.with(size: 14.4pt),
LARGE: text.with(size: 17.28pt),
huge: text.with(size: 20.74pt),... | |
https://github.com/Lypsilonx/boxr | https://raw.githubusercontent.com/Lypsilonx/boxr/main/boxr.typ | typst | MIT License | #import "util.typ": *
#let get-structure-size(structure-path, ..args) = {
let structure = none
if type(structure-path) == str {
structure = json("structures/" + structure-path + ".json")
} else {
structure = structure-path
}
return (get-from-args(args, structure.width), get-from-args(args, structure... |
https://github.com/wangwhh/AETG-algorithm | https://raw.githubusercontent.com/wangwhh/AETG-algorithm/master/README.md | markdown | # README
## 简介
该项目是浙江大学软件质量保证与测试课程作业,实现了AETG算法,基于京东和携程的网站建模信息,生成T-wise的组合测试用例。
## 查看帮助信息
```
python code/run.py -h
```
```
usage: run.py [-h] [-t T] [-w {jingdong,xiecheng}] [--max MAX] [--min MIN] [-o OUTPUT]
options:
-h, --help show this help message and exit
-t T Covered Array 的强度 (... | |
https://github.com/liketechnik/aoc2023 | https://raw.githubusercontent.com/liketechnik/aoc2023/main/01.typ | typst | // vim: ft=typst
#set text(
size: 12pt,
font: "STIX Two Text",
lang: "en",
region: "US",
)
#show raw: set text(font: "Recursive Mn Lnr St")
#show math.equation: set text(font: "STIX Two Math")
#set page(
width: auto,
height: auto,
)
#set document(title: "Advent of Code - Day 01, Part 1", autho... | |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/line_break/line_break.typ | typst | $z - x = y$\
$arrow.r.long$\
$x + y = z$
$a + b = c$ | |
https://github.com/andrin-geiger/hslu_template_typst | https://raw.githubusercontent.com/andrin-geiger/hslu_template_typst/master/chapters/02_state-of-research.typ | typst | = Stand der Technik
#pagebreak() | |
https://github.com/HPDell/typst-starter-journal-article | https://raw.githubusercontent.com/HPDell/typst-starter-journal-article/main/assets/custom-author-info.typ | typst | MIT License | #import "@preview/starter-journal-article:0.3.1": article, author-meta
#set page(margin: 12pt, width: 6in, height: 5in)
#show: article.with(
title: "Artile Title",
authors: (
"<NAME>": author-meta("UCL", email: "<EMAIL>"),
"<NAME>": author-meta("TSU")
),
affiliations: (
"UCL": "UCL Centre for Adva... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/057%20-%20Bloomburrow/001_Episode%201%3A%20Calamity%20Comes%20to%20Valley.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 1: Calamity Comes to Valley",
set_name: "Bloomburrow",
story_date: datetime(day: 01, month: 07, year: 2024),
author: "<NAME>",
doc
)
#strong[Helga]
Helga stared at the midmorning sunlight glinting on the rippling surface of the wa... | |
https://github.com/leesum1/brilliant-cv | https://raw.githubusercontent.com/leesum1/brilliant-cv/master/modules_zh/education.typ | typst | // Imports
#import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar
#import "@preview/fontawesome:0.4.0": *
#let metadata = toml("../metadata.toml")
#let cvSection = cvSection.with(metadata: metadata)
#let cvEntry = cvEntry.with(metadata: metadata)
#cvSection("教育经历")
#cvEntry(
title: [计算机科学硕士],
society: [... | |
https://github.com/Ombrelin/adv-java | https://raw.githubusercontent.com/Ombrelin/adv-java/master/Slides/3-qualite.typ | typst | #import "@preview/polylux:0.3.1": *
#import "@preview/sourcerer:0.2.1": code
#import themes.clean: *
#show: clean-theme.with(
logo: image("images/efrei.jpg"),
footer: [<NAME>, EFREI Paris],
short-title: [EFREI LSI L3 ALSI62-CTP : Java Avancé],
color: rgb("#EB6237")
)
#title-slide(
title: [Java Avancé],
su... | |
https://github.com/maleksware/hash-segtree | https://raw.githubusercontent.com/maleksware/hash-segtree/main/paper-src/paper.typ | typst | #import "template.typ": *
#show: ams-article.with(
title: "Dynamic substring comparison problem: segment tree approach",
authors: (
(
name: "<NAME>",
department: [CodeCadets],
organization: [Canberra Grammar School],
email: "<EMAIL>",
url: "https://maleksware.github.io",
... | |
https://github.com/imatpot/typst-ascii-ipa | https://raw.githubusercontent.com/imatpot/typst-ascii-ipa/main/src/lib/delimiters.typ | typst | MIT License | // https://en.wikipedia.org/wiki/International_Phonetic_Alphabet#Brackets_and_transcription_delimiters
#let phonetic(text) = "[" + text + "]"
#let phnt = phonetic
#let precise(text) = "⟦" + text + "⟧"
#let prec = precise
#let phonemic(text) = "/" + text + "/"
#let phnm = phonemic
#let morphophonemic(text) = "⫽" + t... |
https://github.com/HarryLuoo/sp24 | https://raw.githubusercontent.com/HarryLuoo/sp24/main/Physics311/reviewNotes/part1.typ | typst | #set math.equation(numbering:"(1)")
= Equation of Motion: \ Lagragian, Principle of Least Action, and E-L Equation\
== Larangian:
- Under the constraint of \ 1)Space and time are homogenous, 2)time is isotropic, the Larangian for a system is given as
$
L = T - U(r), "where" cases(T = sum_(a=1)^N 1/2 m_a dot(q_a)^2... | |
https://github.com/CLCK0622/Calculus-notes | https://raw.githubusercontent.com/CLCK0622/Calculus-notes/main/series.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(
title: "Series Notes",
authors: (
"<NAME>",
),
)
= Special Series
== Geometric Series
- definition: A geometric series is any series that can ... |
https://github.com/edgarogh/f4f1eb | https://raw.githubusercontent.com/edgarogh/f4f1eb/main/demo_medium.typ | typst | #import "template.typ": *
#show: project.with(
title: [Anakin \ Skywalker],
from_details: [
Appt. x, \
Mos Espa, \
Tatooine \
<EMAIL> \ +999 xxxx xxx
],
to_details: [
Sheev Palpatine \
500 Republica, \
Ambassadorial Sector, Senate District, \
Galactic City, \ Coruscant
],
)
D... | |
https://github.com/L364CY-FM/typst-thesis | https://raw.githubusercontent.com/L364CY-FM/typst-thesis/main/projektarbeit/templates/disclaimer.typ | typst | MIT License | #let disclaimer(
title: "",
degree: "",
author: "",
location: "",
submissionDate: none,
) = {
set document(title: title, author: author)
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: none,
number-align: center,
)
let body-font = "New Computer Modern"
... |
https://github.com/jamesrswift/pixel-pipeline | https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/layers/drawing/primitives.typ | typst | The Unlicense | #import "/src/primitives/lib.typ" as primitives
|
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/README.md | markdown | Apache License 2.0 |
# Syntax Highlighting for Typst
This folder contains the syntax highlighting for Typst. The syntax highlighting is written in the TextMate format.
The syntax highlighting is written in TypeScript, and ensures correct grammar by [./textmate.ts](./textmate.mts).
### Building
The following script running the TypeSCri... |
https://github.com/andreasKroepelin/lovelace | https://raw.githubusercontent.com/andreasKroepelin/lovelace/main/examples/custom.typ | typst | MIT License | #import "../lib.typ": *
#set page(width: auto, height: auto, margin: 1em)
#set text(font: "TeX Gyre Pagella")
#show math.equation: set text(font: "TeX Gyre Pagella Math")
#pseudocode-list[
+ *in parallel for each* $i = 1, ..., n$ *do*
+ fetch chunk of data $i$
+ *with probability* $exp(-epsilon_i slash k T)$... |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/10-hint/hint.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/heading.typ": chapter
#import "/lib/glossary.typ": tr
#show: web-page-template
#chapter[
// Rasterisation and Hinting
#tr[rasterization]与#tr[hinting]
]
|
https://github.com/liuxu89/touying-online | https://raw.githubusercontent.com/liuxu89/touying-online/main/main.typ | typst | MIT License | #import "@preview/touying:0.4.2": *
#import "@preview/cetz:0.2.2"
#import "@preview/fletcher:0.4.4" as fletcher: node, edge
#import "@preview/ctheorems:1.1.2": *
// cetz and fletcher bindings for touying
#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))
#let fletche... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/style_07.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test using rules for symbols
#show sym.tack: it => $#h(1em) it #h(1em)$
$ a tack b $
|
https://github.com/SkiFire13/typst-prooftree | https://raw.githubusercontent.com/SkiFire13/typst-prooftree/master/examples/singleton.typ | typst | MIT License | #import "/prooftree.typ": *
#show: content => style(styles => {
let content = box(inset: 2em, content)
let sizes = measure(content, styles)
page(width: sizes.width, height: sizes.height, margin: 0pt, content)
})
#set text(font: "New Computer Modern", size: 12pt)
#let N1 = $"N"_1$
#let Id = $"Id"$
#let id = "id"... |
https://github.com/eduardz1/UniTO-typst-template | https://raw.githubusercontent.com/eduardz1/UniTO-typst-template/main/template/chapters/example.typ | typst | MIT License | = Example
This is an example chapter @typst, #lorem(100)
```c
// This is a block of code
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
```
- And this
- Is a list
- With a sublist
Now an equation:
$ sum_(k=1)^n k = (n(n+1)) / 2 $
== With a Section
This is a section, #lorem(100)
===... |
https://github.com/voidiz/typst-liuthesis | https://raw.githubusercontent.com/voidiz/typst-liuthesis/master/template.typ | typst | MIT License | #let liu(
// The paper's title.
title: [Paper Title],
// The paper's subtitle (optional).
subtitle: none,
// The paper's swedish title (optional).
titleSwedish: none,
// The paper's swedish subtitle (optional).
subtitleSwedish: none,
// An array of authors names.
authors: (),
// The paper's a... |
https://github.com/tlsnotary/docs-mdbook | https://raw.githubusercontent.com/tlsnotary/docs-mdbook/main/research/a2m_and_m2a.typ | typst | #set page(paper: "a4")
#set par(justify: true)
= M2A
OT sender and receiver want to get an *additive* sharing $(y, overline(b))$ from a
*multiplicative* sharing $(x, a)$. So the sender starts with $x$ and ends up with
$y$ and the receiver starts with $a$ and ends up with $overline(b)$.
They compute $y=a x + b arrow.l... | |
https://github.com/mem-courses/discrete-mathmatics | https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week12.typ | typst | MIT License | #import "../template.typ": *
#import "../functions.typ": *
#show: project.with(
course: "Discrete Mathmatics",
course_fullname: "Discrete Mathematics and Application",
course_code: "211B0010",
title: "Homework #12: Partial Orderings & Graph Introduction",
authors: ((
name: "<NAME>",
email: "<EMAIL>",
id: "... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/list-attach_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test non-attached list followed by attached list,
// separated by only word.
Hello
- A
World
- B
|
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/networks/lec13.typ | typst | #import "template.typ": *
#show: template.with(
title: "Lecture 13",
subtitle: "14.15"
)
= Games
/ Static: Game is played all at once and not over time.
/ Complete Information: There is no unnecessary or private information in a game.
The strategy set $S_i$ describes the set of choices available to the $i$th pla... | |
https://github.com/luiswirth/bsc-thesis | https://raw.githubusercontent.com/luiswirth/bsc-thesis/main/src/introduction.typ | typst | = Introduction
Finite Element Exterior Calculus (FEEC) is a mathematical framework
for formulating the theory of the Finite Element Method. Instead of only relying
on vector calculus it makes use of the far more general theory of Differential Forms.
"Without referring to differential geometry, several authors had d... | |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2024/WS-06.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Women's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [SUN Yingsha], [CHN], [3629],
[2], [CHEN Meng], [CHN], [3421],
[3], [WANG Manyu], [CHN], [3416],
[4], [CHEN Xingto... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/metro/0.1.0/src/impl/num.typ | typst | Apache License 2.0 | #import "@preview/t4t:0.2.0": is
#import "/src/utils.typ": combine-dict
#let number-to-string(number) = {
number = if type(number) == "content" {
if is.sequence(number) {
number.children.map(c => c.text).join()
} else {
number.text
}
} else {
str(number)
}.replace("-", sym.minus)
l... |
https://github.com/mhspradlin/wilson-2024 | https://raw.githubusercontent.com/mhspradlin/wilson-2024/main/programming/day-5.typ | typst | MIT License | #set page("presentation-16-9")
#set text(size: 30pt)
= Day 5
#pagebreak()
== Accepting input
You may want to be able to input text into your program.
For that, use the `input` function:
```python
animal = input("What is your favorite animal? ")
print("You said: " + animal)
```
#pagebreak()
== Parsing Input
To ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.