repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Walker-00/cs-eik | https://raw.githubusercontent.com/Walker-00/cs-eik/rust/README.md | markdown | Do What The F*ck You Want To Public License | # cs-eik
A project to write a book for everything I know (eik) about computer science with typst.
## မိတ်ဆက်
ဒီ project လေးကတော့ ကျွန်တော်နဲ့ contributor တွေသိသလောက် Computer Science နဲ့ ပတ်သက်တဲ့ အကြောင်းအရာတွေကို မြန်မာလူငယ်တွေ အလကား လေ့လာလို့ရအောင်
စုစည်းပြီး ရေးထားတာပါ။ ကျွန်တော်တို့ သိတာတွေပေါင်းရေးတာဖြစ်တဲ့အတွက်... |
https://github.com/unb3rechenbar/TypstPackages | https://raw.githubusercontent.com/unb3rechenbar/TypstPackages/main/environments/boxdef/0.1.0/src/lib.typ | typst | #let beweisbox(
fill: luma(250),
width: 100%,
height: auto,
stroke: (left: 2pt + rgb("#002fa7")),
inset: (left: 10pt, right: 10pt, bottom: 10pt, top: 10pt),
content
) = block(
fill: fill,
width: width,
height: height,
stroke: stroke,
inset: inset,
breakable: true,
[
#block(
below: -6... | |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/integration/todo/test.typ | typst | MIT License | #import "/src/lib.typ": sidenote
#set par(justify: true)
#set page(width: 9cm, height: auto, margin: (outside: 4cm, rest: 5mm))
#let todo(color: red, body) = sidenote(
padding: (inside: 2em, outside: 1em),
numbering: none,
format: it => {
// Add line to source location.
let dx = it.source.posi... |
https://github.com/jakobjpeters/Typstry.jl | https://raw.githubusercontent.com/jakobjpeters/Typstry.jl/main/docs/source/references/package_extensions.md | markdown | MIT License |
# Package Extensions
This reference documents the lazily-loaded implementations of
[`show_typst`](@ref) for types defined in external packages.
## LaTeXStrings.jl
```@docs
show_typst(::Any, ::LaTeXStrings.LaTeXString)
```
## Markdown.jl
```@docs
show_typst(::Any, ::Markdown.MD)
```
|
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/gradient-text.typ | typst | Apache License 2.0 | // Test that gradient fills on text.
// The solid bar gradients are used to make sure that all transforms are
// correct: if you can see the text through the bar, then the gradient is
// misaligned to its reference container.
// Ref: true
---
// Ref: false
// Make sure they don't work when `relative: "self"`.
// Hint... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/note-me/0.1.0/README.md | markdown | Apache License 2.0 | # GitHub Admonition for Typst
> [!NOTE]
> Add GitHub style admonitions (also known as alerts) to Typst.
## Usage
Import this package, and
```typ
#note[
Highlights information that users should take into account, even when skimming.
]
#tip[
Optional information to help a user be more successful.
]
#important[
... |
https://github.com/SkytAsul/INSA-Typst-Template | https://raw.githubusercontent.com/SkytAsul/INSA-Typst-Template/main/exemples/exemple-rapport-stage.typ | typst | MIT License | #import "../insa-template/document-template.typ" : *
#set document(date: datetime(year: 2024, month: 08, day: 16), keywords: ("VR", "Physics Simulation", "Soft body"))
#show: doc => insa-stage(
"<NAME>",
"INFO",
"2023-2024",
"Real-time virtual interaction with deformable structure",
"Sapienza University of Ro... |
https://github.com/typst-community/mantodea | https://raw.githubusercontent.com/typst-community/mantodea/main/assets/examples/thumbnail.typ | typst | MIT License | #import "/src/component/title-page.typ": make-title-page
#make-title-page()
|
https://github.com/Enter-tainer/typst-preview | https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/arch.typ | typst | MIT License | #import "./book.typ": book-page
#import "./templates/gh-page.typ": page-width, is-dark-theme
#import "@preview/fontawesome:0.1.0": *
#import "@preview/colorful-boxes:1.1.0": *
#import "@preview/cetz:0.1.0"
#show: book-page.with(title: "Typst-Preview Architecture")
#show link: underline
#let natural-image(img) = style... |
https://github.com/DrakeAxelrod/cvss.typ | https://raw.githubusercontent.com/DrakeAxelrod/cvss.typ/main/bak/cvss40.typ | typst | MIT License |
#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"
// Attack Vector (AV):
// Attack Complexity (AC):
// Attack Requirements (AT):
// Privileges Required (PR):
// User I... |
https://github.com/cadojo/correspondence | https://raw.githubusercontent.com/cadojo/correspondence/main/src/hermes/src/article.typ | typst | MIT License | //
// Article Formats
//
#import "../../options/options.typ": *
#import "../../rolo/rolo.typ": *
#let builtin-columns = columns
#let builtin-outline = outline
#let article(
title: none,
subtitle: none,
abstract: none,
author: author(),
date: datetime.today().display("[month repr:long] [day], [yea... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/074.%20guidetoinvestors.html.typ | typst | guidetoinvestors.html
The Hacker's Guide to Investors
April 2007(This essay is derived from a keynote talk at the 2007 ASES Summit
at Stanford.)The world of investors is a foreign one to most hackers—partly
because investors are so unlike hackers, and partly because they
tend to operate in secret. I've been dealing w... | |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/introduction.typ | typst | MIT License | #import "mod.typ": *
#show: book-page.with(title: "Introduction")
= Introduction
Introducción a la documentación de g-exam.
*Uno* prueba
*Dos* Prueba
// *shiroa* (_Shiro A_, or _The White_, or _云笺_) is a simple tool for creating modern online (cloud) books in pure typst. It has similar use cases as #link("https:/... |
https://github.com/leeqh98/dict | https://raw.githubusercontent.com/leeqh98/dict/master/chapter01/noun.typ | typst | / Ligature: A merged glyph.
/ Kerning: A spacing adjustment
between two adjacent letter:
/ sabotage:
/ figuratively:
/ ubiquitously:
/ blunt:
/ riveting:
/ reinforce:
/ heighten:
| |
https://github.com/r8vnhill/apunte-bibliotecas-de-software | https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit3/Publish.typ | typst | == Publicación de bibliotecas
La publicación de bibliotecas es el proceso de distribuir un conjunto de funcionalidades empaquetadas en un archivo para que otrxs desarrolladorxs puedan utilizarlas en sus proyectos.
Este proceso facilita la reutilización de código, promueve la colaboración y fomenta el desarrollo de so... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.2.0/template/chapters/glossary.typ | typst | Apache License 2.0 | #import "global.typ": *
// Not listed in table of contents (the outline)
// Not numbered
#heading(outlined: false, numbering: none)[
Glossary
]
// Add list of terms
// Usage within text will then be #gls(<key>) or plurals #glspl(<key>)
#print-glossary(
(
(
key: "cow",
short: "COW",
long: "... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-20.typ | typst | Other | // Test the `split` method.
#test("abc".split(""), ("", "a", "b", "c", ""))
#test("abc".split("b"), ("a", "c"))
#test("a123c".split(regex("\d")), ("a", "", "", "c"))
#test("a123c".split(regex("\d+")), ("a", "c"))
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-11.typ | typst | Other | // Test failing assertions.
// Error: 11-57 inequality assertion failed: must be different from 11
#assert.ne(11, 11, message: "must be different from 11")
|
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs | https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/categories/task5/5.2.typ | typst | Apache License 2.0 | #pagebreak()
== Kế hoạch kiểm tra hệ thống
Nhóm thực hiện testplan trên 2 module chính đã thực thi là đăng nhập và upload file
=== Đăng nhập
Nhóm thực thi sử dụng danh sách tài khoản hợp lệ và không hợp lệ để đăng nhập vào hệ thống để ghi lại hành vi của hệ thống. Tài khoản phải bao gồm ít nhất 5 kí tự và mật khẩu phả... |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/introspection/counter.typ | typst | // Test counters.
--- counter-basic-1 ---
// Count with string key.
#let mine = counter("mine!")
Final: #context mine.final().at(0) \
#mine.step()
First: #context mine.display() \
#mine.update(7)
#context mine.display("1 of 1", both: true) \
#mine.step()
#mine.step()
Second: #context mine.display("I")
#mine.update(n ... | |
https://github.com/leeqh98/dict | https://raw.githubusercontent.com/leeqh98/dict/master/readme.md | markdown | # intro
This is a repository for dict, in Typst
| |
https://github.com/dadn-dream-home/documents | https://raw.githubusercontent.com/dadn-dream-home/documents/main/metadata.typ | typst | #let meta = (
course-name: "<NAME>",
course-id: "CO3109",
title: "Phát triển hệ thống nhà thông minh Dream home",
semester: 222,
date: "06/2023",
students: (
"2011364": "<NAME>",
"2010206": "<NAME>",
"2011128": "<NAME>",
"2012945": "<NAME>",
),
advisor: "<NAME>"
)
| |
https://github.com/SWATEngineering/Docs | https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/Preventivo.typ | typst | MIT License | #import "../functions.typ": glossary
= Preventivo
Ogni membro del gruppo si impegna a lavorare con la modalità di intensità dichiarata (alta), offrendo una disponibilità di 95 ore produttive a testa.
Questo preventivo è stato calcolato sulla base del costo orario per ruolo presente nel "Regolamento del Progetto Didatt... |
https://github.com/AHaliq/DependentTypeTheoryReport | https://raw.githubusercontent.com/AHaliq/DependentTypeTheoryReport/main/preamble/dtt.typ | typst | #let Tm = $upright(bold("Tm"))$
#let Ty = $upright(bold("Ty"))$
#let Eq = $upright(bold("Eq"))$
#let Id = $upright(bold("Id"))$
#let Void = $upright(bold("Void"))$
#let absurd = $upright("absurd")$
#let Bool = $upright(bold("Bool"))$
#let tt = $upright("true")$
#let ff = $upright("false")$
#let inl = $upright("inl")$
#... | |
https://github.com/StefanieJaeger/sa-docu | https://raw.githubusercontent.com/StefanieJaeger/sa-docu/main/main.typ | typst | #set heading(numbering: "1.")
#include "glossary.typ"
#include "is-state/is-state.typ"
| |
https://github.com/justmejulian/typst-documentation-template | https://raw.githubusercontent.com/justmejulian/typst-documentation-template/main/sections/introduction.typ | typst | = Introduction
#rect(
width: 100%,
radius: 10%,
stroke: 0.5pt,
fill: yellow,
)[
Note: Introduce the topic of your thesis, e.g. with a little historical overview.
]
== Problem
#rect(
width: 100%,
radius: 10%,
stroke: 0.5pt,
fill: yellow,
)[
Note: Describe the problem that you like to address in your... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/homeworks/to-2024-10-13.typ | typst | = ДЗ 5
== Задача 3
#figure(
table(
columns: 3,
align: center,
$x$, $a$, $-a$,
$P$, $1/2$, $1/2$,
)
)
$ M(x) = a dot 1/2 + (-a) dot 1/2 = 0 $
$ M(x^2) = a^2 dot 1/2 + (-a)^2 dot 1/2 = a^2 $
$ D(x) = M(x^2) - (M(x))^2 = a^2 - 0^2 = a^2 $
Ответ. Не верно
== Задача 4 (в)
#figur... | |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/mod.typ | typst | MIT License | #import "lib.typ": *
#import "catppuccin.typ": *
#import "colors.typ"
#import "text-case.typ": *
#import "unitfmt.typ": *
#import "@preview/oxifmt:0.2.1": strfmt
#import "note.typ"
#import "params.typ"
#import "crates.typ"
#import "table.typ": *
#import "statistics.typ": *
#import "numbers.typ"
#import "durationfmt.typ... |
https://github.com/Mc-Zen/zero | https://raw.githubusercontent.com/Mc-Zen/zero/main/src/num.typ | typst | MIT License | #import "state.typ": num-state, group-state, round-state
#import "formatting.typ": *
#import "rounding.typ": *
#import "assertations.typ": *
#import "parsing.typ"
#let update-state(state, args, name: none) = {
state.update(s => {
assert-settable-args(args, s, name: name)
s + args.named()
})
}
#let set-nu... |
https://github.com/cetz-package/cetz-venn | https://raw.githubusercontent.com/cetz-package/cetz-venn/master/doc/example.typ | typst | Apache License 2.0 | #import "/src/lib.typ"
#import "@preview/cetz:0.2.2"
// String that gets prefixed to every example code
// for compilation only!
#let example-preamble = ""
#let example-scope = (cetz-venn: lib, cetz: cetz)
/// Render an example from a string
/// - source (string, raw): Example source code
/// - args (arguments): Arg... |
https://github.com/justmejulian/typst-documentation-template | https://raw.githubusercontent.com/justmejulian/typst-documentation-template/main/metadata.typ | typst | // Enter your thesis data here:
#let title = "(Title)"
#let subtitle = "(Subtitle)"
#let program = "MSE - Computer Science"
#let school = "Zurich University of Applied Sciences"
#let advisor = "(Advisor)"
#let author = "(Author)"
#let expert = "(Expert)"
#let proofReader = "(Proof Reader)"
| |
https://github.com/Functional-Bus-Description-Language/Specification | https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/irq.typ | typst | == Irq
The irq functionality represents an interrupt handling.
The irq functionality allows for automatic connection of the following interrupt producers (in-trigger) and consumers (out-trigger):
#set enum(numbering: "1)")
+ edge producer and edge sensitive consumer,
#set align(center)
#image("../images/irq-edge... | |
https://github.com/dismint/docmint | https://raw.githubusercontent.com/dismint/docmint/main/comptheory/pset1.typ | typst | #import "template.typ": *
#show: template.with(
title: "PSET 1",
subtitle: "18.404",
pset: true,
)
= Problem 1
== (a)
#twocola(
bimg("imgs/graph.png", width: 80%),
[
We have five states, each representing the `mod 5` of the number we have accepted up until now. Notably the accept state and the start st... | |
https://github.com/EpicEricEE/typst-droplet | https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/tests/basic/test.typ | typst | MIT License | #import "/src/lib.typ": dropcap
#set page(width: 6cm, height: auto, margin: 1em)
// Test basic use of dropcap.
#dropcap(lorem(20))
|
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/postna_triod/1_generated/Tyzden-01/7_Nedela.typ | typst | #import "../../../all.typ": *
#columns(2, gutter: 2pt, [
== #translation.at("Ne")
// ---------------------------------------
// VECIEREN V NEDELU VECER
// ---------------------------------------
=== #translation.at("V")
#header3([(#translation.at("Ne_V"))])
==== #translation.at("HOSPODI_VOZVACH")
#genera... | |
https://github.com/HKFoggyU/hkust-thesis-typst | https://raw.githubusercontent.com/HKFoggyU/hkust-thesis-typst/main/README.md | markdown | LaTeX Project Public License v1.3c | # HKUST Thesis Typst
A [Typst](https://typst.app/) HKUST thesis template. In development!
|
https://github.com/dark-flames/resume | https://raw.githubusercontent.com/dark-flames/resume/main/data/open_source.typ | typst | MIT License | #import "../libs.typ": *
#import "../chicv.typ": *
#let openSourceList = (
(
name: "<NAME>",
link: iconlink("https://github.com/aya-prover/aya-dev", icon: github, text: "aya-dev"),
intro: "Practical implementation of a dependent type system",
content:[
- Overhauled records to support dependent ... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/006_Life%20in%20the%20Ring.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Life in the Ring",
set_name: "Dragon's Maze",
story_date: datetime(day: 08, month: 05, year: 2013),
author: "<NAME>",
doc
)
Strips of flaming banners whipped violently around the Carnarium stage, threatening to catch the rafters ablaze. A h... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/metro/0.1.0/src/utils.typ | typst | Apache License 2.0 | // Joins two dictionaries together by inserting `new` values into `old`.
// When only-update is true, values will only be inserted if they keys exist in old.
#let combine-dict(new, old, only-update: false) = {
for (k, v) in new {
if not only-update or k in old {
old.insert(k, v)
}
}
return old
}
|
https://github.com/BeiyanYunyi/resume | https://raw.githubusercontent.com/BeiyanYunyi/resume/main/modules_zh/certificates.typ | typst | #import "../brilliant-CV/template.typ": *
#cvSection("证书")
#cvHonor(
date: [2021],
title: [英语六级],
issuer: [中华人民共和国教育部],
)
#cvHonor(
date: [2021],
title: [计算机二级],
issuer: [中华人民共和国教育部],
)
#cvHonor(
date: [2020],
title: [英语四级],
issuer: [中华人民共和国教育部],
) | |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/design/design_iteration_2_decisions_sum_type_destruction.typ | typst | = Sum Type Destruction <sum-type-destruction-decision>
#let load-drawio-svg(path, ..args) = image.decode(read(path).replace("Text is not SVG - cannot display", ""), ..args)
Sum types consist of a set of constructors, each with a different type. The type
of a sum type is the union of the types of its constructors.
To ... | |
https://github.com/jamesrswift/typst-chem-par | https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/tests/state/test.typ | typst | MIT License | #import "/src/lib.typ": *
#set page(width: 30em, height: auto)
#show: chem-style
The oxidation of n-butanol with K2Cr2O7 requires acidification with H2SO4 to yield butanoic acid. N,N-chemicolium.
#line(length:100%,stroke: 0.55pt)
#chem-toggle(false)
The oxidation of n-butanol with K2Cr2O7 requires acidification wit... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/CATEGORIES.md | markdown | Apache License 2.0 | # Typst Package Categories
Categories help users explore packages, make finding the right one easier, and
provide package authors with a reference for best-practices in similar packages.
In addition to categories, packages can also specify a list of [disciplines]
describing their target audience.
Each package can decl... |
https://github.com/TheHarrisButler/my-resume | https://raw.githubusercontent.com/TheHarrisButler/my-resume/main/resume/package.typ | typst | #let default-theme = (
margin: 22pt,
font: "Roboto",
font-size: 11pt,
accent-color: black,
body-color: rgb("222"),
main-width: 5fr,
main-gutter-width: 64pt,
aside-width: 3fr,
aside-gutter-width: 48pt,
footer-width: 8fr,
footer-gutter-width: 48pt,
)
#let cv(
title: "",
subtitle: "",
the... | |
https://github.com/sabitov-kirill/comp-arch-conspect | https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/commons.typ | typst | #let imagebox(imageName, label: none, width: none, height: none, alignMode: center) = {
let size = (:)
if width != none { size.insert("width", width) }
if height != none { size.insert("height", height) }
set text(size: 0.8em)
align(alignMode)[
#stack[
#image("images/" + imageName, ..size)\
#e... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/deco_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#let redact = strike.with(stroke: 10pt, extent: 0.05em)
#let highlight-custom = strike.with(stroke: 10pt + rgb("abcdef88"), extent: 0.05em)
// Abuse thickness and transparency for redacting and highlighting stuff.
Sometimes, we work #redact[in sec... |
https://github.com/maucejo/presentation_touying | https://raw.githubusercontent.com/maucejo/presentation_touying/main/template/main.typ | typst | MIT License | #import "../src/presentation-template.typ": *
#let colors = (
red: rgb("#c1002a")
)
#let title = [Title
#v(-0.5em)
#line(length: 15%, stroke: 0.075em + colors.red)
#v(-0.5em)
#text(size: 0.8em, [Subtitle])
]
#let labo = [Laboratory
]
#let authors = [#text(fill: colors.red, [Author A]) #h(1em) Auth... |
https://github.com/falkaer/resume | https://raw.githubusercontent.com/falkaer/resume/main/README.md | markdown | MIT License | # My resume
My personal resume, written with Typst.
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2100.typ | typst | Apache License 2.0 | #let data = (
("ACCOUNT OF", "So", 0),
("ADDRESSED TO THE SUBJECT", "So", 0),
("DOUBLE-STRUCK CAPITAL C", "Lu", 0),
("DEGREE CELSIUS", "So", 0),
("CENTRE LINE SYMBOL", "So", 0),
("CARE OF", "So", 0),
("CADA UNA", "So", 0),
("EULER CONSTANT", "Lu", 0),
("SCRUPLE", "So", 0),
("DEGREE FAHRENHEIT", "So"... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.solid/demo/README.md | markdown | Apache License 2.0 | # demo
## Usage
in `typst.solid` directory:
```
pnpm i
npx vite build
```
in this directory:
```
pnpm i
pnpm dev
```
This may take a while for loading page since it downloading pre-compiled demo file from <https://myriad-dreamin.github.io/typst.ts/docs/readme.artifact.sir.in>.
|
https://github.com/lucifer1004/typst-poetry | https://raw.githubusercontent.com/lucifer1004/typst-poetry/main/poetry.typ | typst | #let poem(
title: none,
author: none,
date: none,
update: none,
meta: (
date: (
prefix: "",
suffix: "written",
),
update: (
prefix: "",
suffix: "modified",
),
),
linenumber: (left: "1:1", right: none, current: ... | |
https://github.com/Nerixyz/icu-typ | https://raw.githubusercontent.com/Nerixyz/icu-typ/main/docs/docs/locale-info.md | markdown | MIT License | # `locale-info`
```typst-code
let locale-info(locale)
```
Gets information about ICU4X' understanding of the `locale`.
## Arguments
### `locale`
The [Unicode Locale Identifier] to parse.
## Structure
A [Unicode Locale Identifier] starts with a [Unicode **Language** Identifier](https://unicode.org/reports/tr35/tr... |
https://github.com/ysthakur/PHYS121-Notes | https://raw.githubusercontent.com/ysthakur/PHYS121-Notes/main/Notes/Ch10.typ | typst | MIT License | #import "@preview/gentle-clues:0.3.0": important, note
= Chapter 10: Energy and Work
== The Basic Energy Model
Every system has a total energy $E$
=== Energy Transfers and Work
Energy can be transferred between a system and its environment through work and heat
/ Work: Mechanical transfer of energy to or from a s... |
https://github.com/Enter-tainer/typstyle | https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/grid/extra-arg.typ | typst | Apache License 2.0 | #grid(
columns: 2,
)[
abc
][
def
]
#table(
columns: (auto, 1fr, auto),
gutter: 3pt,
[Name],
[Age], [Strength],
[Hannes], [36],
[Grace],
[Irma], [50], [Resourcefulness],
[Vikram], [49], [Perseverance],
)[123][
456
][789]
|
https://github.com/fiit-community/base-typst-template | https://raw.githubusercontent.com/fiit-community/base-typst-template/main/src/lib.typ | typst | MIT License |
#import "localization.typ": get_localization as _get_loc
// zero vertical space
#let _zv() = v(0pt)
#let cover-page(
title: none,
subtitle: none,
author: (
name: none,
id: none,
),
date: none,
year: none,
logo: none,
assignment: (
subject: none,
teacher: none,
time: none,
),
... |
https://github.com/Turkeymanc/notebook | https://raw.githubusercontent.com/Turkeymanc/notebook/main/packages.typ | typst | // this file allows us to only specify package versions once
#import "@local/notebookinator:1.0.1": * // TODO: change to the installed version
#import themes.radial: radial-theme, components
// TODO: put more packages here
| |
https://github.com/wenzlawski/typst-cv | https://raw.githubusercontent.com/wenzlawski/typst-cv/main/modules/professional.typ | typst | Apache License 2.0 | #import "../brilliant-CV/template.typ": *
#cvSection("Experience")
#cvEntry(
title: [IT & Digitisation Intern],
society: [EWF Intertax GmbH Steuerberatungsgesellschaft],
date: [06/2022 - 09/2022],
location: [Chemnitz, Germany],
description: list(
[Designed and developed software to digitiz... |
https://github.com/Arrata-TTRPG/Arrata-TTRPG | https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/sections/introduction.typ | typst | Other | #import "../typst-boxes.typ": *
= Introduction
Arrata is a roleplaying system inspired by the work of more traditional roleplaying games with an emphasis on universality. The purpose of this system is to allow you to collaboratively write interesting, nuanced, and fun stories easily with multiple people - all throug... |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/165.%20name.html.typ | typst | name.html
Change Your Name
August 2015If you have a US startup called X and you don't have x.com, you
should probably change your name.The reason is not just that people can't find you. For companies
with mobile apps, especially, having the right domain name is not
as critical as it used to be for getting users. The... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/manual.typ | typst | Apache License 2.0 | #import "@preview/tidy:0.3.0"
#import "@preview/codelst:2.0.1": sourcecode
#import "@preview/showybox:2.0.1": showybox
#import "src/lib.typ"
#import "src/schema.typ"
#import "docs/examples.typ"
#set heading(numbering: (..num) => if num.pos().len() < 4 {
numbering("1.1", ..num)
})
#{
outline(indent: true, depth: 3)... |
https://github.com/dashuai009/dashuai009.github.io | https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/003.typ | typst | #let date = datetime(
year: 2024,
month: 1,
day: 1,
)
#metadata((
"title": "modules 模块",
"author": "dashuai009",
description: "这是一种将C++更加现代的代码组织方式。 模块是一组源代码文件,独立于导入它们的翻译单元进行编译。",
pubDate: date.display(),
subtitle: [modules,模块],
))<frontmatter>
#import "../__template/style.typ": conf
#show: conf
这是一种将... | |
https://github.com/huyufeifei/grad | https://raw.githubusercontent.com/huyufeifei/grad/master/docs/paper/src/template/util.typ | typst | #let empty_par = par(h(1em)+v(-1em)) | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10280.typ | typst | Apache License 2.0 | #let data = (
("LYCIAN LETTER A", "Lo", 0),
("LYCIAN LETTER E", "Lo", 0),
("LYCIAN LETTER B", "Lo", 0),
("LYCIAN LETTER BH", "Lo", 0),
("LYCIAN LETTER G", "Lo", 0),
("LYCIAN LETTER D", "Lo", 0),
("LYCIAN LETTER I", "Lo", 0),
("LYCIAN LETTER W", "Lo", 0),
("LYCIAN LETTER Z", "Lo", 0),
("LYCIAN LETTER... |
https://github.com/AOx0/expo-nosql | https://raw.githubusercontent.com/AOx0/expo-nosql/main/main.typ | typst | MIT License | #import "slides.typ": *
#import "tablex.typ": *
#import "themes/bristol.typ": *
#show: slides.with(
authors: ("<NAME>"), short-authors: "<NAME>",
title: "NoSQL", short-title: "NoSQL", subtitle: "Bases de Datos Avanzadas",
date: datetime.today().display(),
theme: bristol-theme(),
)
#slide(theme-variant... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/show-selector-02.typ | typst | Other | // Error: 7-35 this selector cannot be used with show
#show selector(heading).or(strong): none
|
https://github.com/lphoogenboom/typstThesisDCSC | https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/chapters/preface.typ | typst | #import "../typFiles/specialChapter.typ": *
#show: specialChapter.with(chapterTitle: "Preface", content: [
// Write your preface here
#lorem(200) // lorem() function adds filler text
]) | |
https://github.com/PetrusTryb/computer-networks | https://raw.githubusercontent.com/PetrusTryb/computer-networks/main/topics.typ | typst | #import "@preview/touying:0.4.2": *
// Themes: default, simple, metropolis, dewdrop, university, aqua
#let s = themes.metropolis.register(aspect-ratio: "4-3")
#let occured(t) = text(fill: red, t)
#let occnow = box(fill: yellow, inset: 0.2em, baseline: 0.2em, height: 1em, radius: 0.4em,text(fill: red, weight: "bold", "... | |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/references/label.typ | typst | Apache License 2.0 | // compile: true
#set heading(numbering: "1.")
= Labeled <title_label> /* ident */
@title_label
|
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/draft-shsat-ws-1.typ | typst | #import "page-templates.typ"
page-templates.test.with(fill: black)
#let holder(..items) = {
enum(..items)
}
#{
let num = 1
let top = {
let expr = box([*Q17* -- *Kaplan Exam 2012*\ ])
expr
h(1fr)
box({
text(fill: blue, emph("percentages"))
//rect(outset: 0pt, radius: 5pt, in... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/ansi-render/0.4.0/CHANGELOG.md | markdown | Apache License 2.0 | # Changelog 📝
## [0.4.0] - 2023-09-13
### Added
* Added most options from [`block`]([https://](https://typst.app/docs/reference/layout/block/)) function
* Added `vscode-light` theme
### Changed
* Changed outmost layout from `rect` to `block`
* Changed default theme to `VSCode Light`
## [0.3.0] - 2023-09-09
### ... |
https://github.com/lvignoli/typst-action-example | https://raw.githubusercontent.com/lvignoli/typst-action-example/main/letter.typ | typst | Dear Santa,
#for i in (12, 30, 40, 20, 10) {
lorem(i)
parbreak()
}
| |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/manual.typ | typst | Apache License 2.0 | #import "/src/cetz.typ"
#import "/doc/util.typ": *
#import "/doc/example.typ": example
#import "/doc/style.typ" as doc-style
#import "/src/lib.typ": *
#import "@preview/tidy:0.3.0"
// Usage:
// ```example
// /* canvas drawing code */
// ```
#show raw.where(lang: "example"): example
#show raw.where(lang: "exampl... |
https://github.com/mem-courses/linear-algebra | https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework10.typ | typst | #import "../template.typ": *
#show: project.with(
title: "Linear Algebra Homework #10",
authors: (
(name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"),
),
date: "December 6, 2023",
)
#let alpha = math.bold(math.alpha)
#let beta = math.bold(math.beta)
#let gamma = math.bold(math.gamma)
#let theta =... | |
https://github.com/Mouwrice/thesis-typst | https://raw.githubusercontent.com/Mouwrice/thesis-typst/main/jitter_noise/jitter_noise_method.typ | typst | == Method
The method presented is based on the prediction of points in the image. The idea is to predict the position of the points in the image based on the previous positions. This prediction is then used to correct the pose estimation. Every incoming point is compared to the predicted position,
based on distance. T... | |
https://github.com/Ciolv/typst-template-bachelor-thesis | https://raw.githubusercontent.com/Ciolv/typst-template-bachelor-thesis/main/helper.typ | typst | // Get the page (counter value, not real page number) for a selector
// e. g. #page_ref(<lst:hello-world>)
#let page_ref(selector) = {
locate(loc => {
// Get the `location` of the element
let element_location = query(selector, loc)
.first()
.location()
// Get the page number, the location lies on... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/features_09.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
//
// // Error: 26-28 stylistic set must be between 1 and 20
// #set text(stylistic-set: 25) |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z085.typ | typst | Nakloň, Pane, svoj sluch a vyslyš ma, \* lebo som biedny a chudobný.
Ochraňuj ma, lebo som ti oddaný; \* zachráň, Bože, svojho sluhu, ktorý dúfa v teba.
Zmiluj sa, Pane, nado mnou, \* veď k tebe volám deň čo deň.
Obveseľ, Pane, svojho sluhu, \* veď k tebe dvíham svoju dušu.
Lebo ty, Pane, si dobrý a láskavý \* a ve... | |
https://github.com/maucejo/cnam_templates | https://raw.githubusercontent.com/maucejo/cnam_templates/main/src/presentation/_pres-utils.typ | typst | MIT License | #import "@preview/touying:0.5.2": *
#import "../common/_colors.typ": *
#let _over-title(self: none, title, size) = {
let box1 = {
box(fill: white, stroke: 1pt + self.store.colors.box, inset: 8pt)[
#set text(size: size, font: "Crimson Pro", weight: "semibold", fill: self.store.colors.blue)
#title.firs... |
https://github.com/alex-touza/fractal-explorer | https://raw.githubusercontent.com/alex-touza/fractal-explorer/main/paper/cover.typ | typst | #import "meta.typ": *
#set par(leading: 0.5em, justify: false)
#align(horizon + center)[
#set par(spacing: 0.5em)
#place(top)[
#box(stroke: (bottom: 2pt), inset: 16pt, width: 100%)[
#text(size: 24pt, weight: 900, meta.title, hyphenate: false)
#text(size: 16pt, weight: 500, meta.subti... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-10880.typ | typst | Apache License 2.0 | #let data = (
("NABATAEAN LETTER FINAL ALEPH", "Lo", 0),
("NABATAEAN LETTER ALEPH", "Lo", 0),
("NABATAEAN LETTER FINAL BETH", "Lo", 0),
("NABATAEAN LETTER BETH", "Lo", 0),
("NABATAEAN LETTER GIMEL", "Lo", 0),
("NABATAEAN LETTER DALETH", "Lo", 0),
("NABATAEAN LETTER FINAL HE", "Lo", 0),
("NABATAEAN LETTE... |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/footnote-refs_02.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Forward reference
Usage @fn \
Definition #footnote[Hi]<fn>
|
https://github.com/buxx/cv | https://raw.githubusercontent.com/buxx/cv/master/src/utils.typ | typst | #let img(name, size: 10.0pt) = {
box(width: size, image("../src/" + name + ".png"))
} | |
https://github.com/augustebaum/epfl-thesis-typst | https://raw.githubusercontent.com/augustebaum/epfl-thesis-typst/main/example/tail/biblio.typ | typst | MIT License | // \cleardoublepage
// \phantomsection
// % ************* The working stuff *************
// % Print the bibliography just here
#bibliography("references.bib", style: "apa")
// \addcontentsline{toc}{chapter}{Bibliography}
|
https://github.com/typst-community/glossarium | https://raw.githubusercontent.com/typst-community/glossarium/master/README.md | markdown | MIT License | # Typst glossary
> [!TIP]
> Glossarium is based in great part of the work of [<NAME>](https://github.com/Dherse) from his master thesis available at: <https://github.com/Dherse/masterproef>. His glossary is available under the MIT license [here](https://github.com/Dherse/masterproef/blob/main/elems/acronyms.typ).
Glo... |
https://github.com/An-314/Note-of-Quantum_Mechanics | https://raw.githubusercontent.com/An-314/Note-of-Quantum_Mechanics/main/main.typ | typst | #import "@local/mytemplate:1.0.0": *
#import "@preview/physica:0.9.2": *
#show: project.with(
template: "book",
title: "量子力学",
authors: (
"Anzreww",
),
time: "甲辰春夏于清华园",
contents: true,
content_depth:3,
)
#pagebreak(weak: true)
#include "chap1.typ"
#pagebreak(weak: true)
#incl... | |
https://github.com/Doublonmousse/pandoc-typst-reproducer | https://raw.githubusercontent.com/Doublonmousse/pandoc-typst-reproducer/main/package_not_found/ctheorems.typ | typst | #import "@preview/ctheorems:1.1.2": *
#show: thmrules | |
https://github.com/Dherse/typst-brrr | https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/CeTZ/main.typ | typst | #import "@preview/cetz:0.0.1"
#set page(width: auto, height: auto)
#show math.equation: block.with(fill: white, inset: 1pt)
#cetz.canvas(length: 3cm, {
import cetz.draw: *
set-style(
mark: (fill: black),
stroke: (thickness: 0.4pt, cap: "round"),
arc: (
radius: 0.3,
mode: "PIE",
fil... | |
https://github.com/Shedward/dnd-charbook | https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/game/spells.typ | typst | #import "../core/core.typ": *
// Cast time
#let action = [A]
#let bonusAction = [B]
#let reaction = [Re]
// Durations
#let instant = [Inst.]
#let round(r) = str(r) + [r]
#let minute(m) = str(m) + [m]
#let hour(h) = str(h) + [h]
#let always = sym.infinity
// Cast type
#let ritual = [R]
#let concentration = [C]
// Sc... | |
https://github.com/TJ-CSCCG/tongji-undergrad-thesis-typst | https://raw.githubusercontent.com/TJ-CSCCG/tongji-undergrad-thesis-typst/main/.github/ISSUE_TEMPLATE/feat_request.md | markdown | MIT License | ---
name: Feature 建议
about: 通过该 Issue 模板反馈向 tongji-undergrad-thesis-typst 提供需要新增的 feature 的具体信息
labels: 'type/feature'
---
### 新增特性类型
<!--点选下方的特性类型-->
* [ ] 构建相关(如需要提供新的构建方法,现有构建方式需要迭代重构等)
* [ ] 模板功能相关(如需要模板提供其他实用功能,适配新的模板样式等)
* [ ] 文档相关(如更好展现该模板使用方法的想法)
### 特性描述
<!--在这里描述新增特性本身及其重要性。如果可能的话,还希望能够描述新增特性的实现方案-->
##... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-02.typ | typst | Other | // Error: 3-26 value is too large
#(9223372036854775807 + 1)
|
https://github.com/flechonn/typst | https://raw.githubusercontent.com/flechonn/typst/main/data/doc2.typ | typst | = 1. Exercice : Résoudre une équation quadratique.
Solution : $x = (-b ± √(b²-"4ac")) / 2a$
Niveau d'indice : Avancé
= 2. Exercice : Calculer la dérivée d'une fonction polynomiale.
Solution : $f'(x) = n*a*x^(n-1)$
Niveau d'indice : Intermédiaire
| |
https://github.com/chamik/gympl-skripta | https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/6-promena.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/helper.typ": dilo
#dilo("Proměna", "promena", "Franz Kafka", "V. Kafka", "1. pol 20. st", "Praha/Rakousko", "1915", "epika", "povídka/novela")
#columns(2, gutter: 1em)[
*Téma*\
Abusrdní situace Řehoře Samsy.
*Motivy*\
beznaděj, smíření, absurdita, samota
*Časoprostor*\
rodinný byt, doba auto... |
https://github.com/xrarch/books | https://raw.githubusercontent.com/xrarch/books/main/xrcomputerbook/chapintro.typ | typst | #import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx
= Overview
== Introduction
The XR/computer platform is a general hardware design that is shared by the XR/station uniprocessor desktop workstation, and the XR/MP multiprocessor deskside server.
The platform is designed around the 32-bit XR/17032 RISC ... | |
https://github.com/Wuvist/lcpc | https://raw.githubusercontent.com/Wuvist/lcpc/main/rental.typ | typst | #import "@preview/tablex:0.0.8": tablex, colspanx, rowspanx
#let c(body) = {
set text(font: "Microsoft YaHei")
body
}
#figure(
tablex(
columns: 5,
align: center + horizon,
auto-vlines: false,
[*#c("年度")*], [], [*#c("公屋")*], [*#c("居屋")*], [*#c("私人住宅")*],
rowspanx(5)[2009\ / \ 2010], [#c("平均房租... | |
https://github.com/kazewong/lecture-notes | https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/frontend.typ | typst | #set page(
paper: "us-letter",
header: align(center, text(17pt)[
*Frontend design*
]),
numbering: "1",
)
#import "./style.typ": style_template
#show: doc => style_template(doc,)
= Foreword
In this session, we are going to learn about how to build a modern web app frontend with `Svelte`, a Javascript fram... | |
https://github.com/jens-hj/ds-exam-notes | https://raw.githubusercontent.com/jens-hj/ds-exam-notes/main/lib.typ | typst | #import "catppuccin.typ": *
#import "@preview/gentle-clues:0.1.0": info, success, warning, error, abstract, attention, caution, done, failure, idea, note, remember, question, quote, hint
#import "@preview/tablex:0.0.7": *
#let maccent = math.accent
#let accent = catppuccin.latte.lavender
#let mainh = catppuccin.latte... | |
https://github.com/darioglasl/Arbeiten-Vorlage-Typst | https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/05_Qualitätssicherung/03_integration_tests.typ | typst | == Integration Tests <headingIntegrationTests>
TODO: text
| |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/pagebreak-01.typ | typst | Other | // Pagebreak, empty with styles and then pagebreak
// Should result in one auto-sized page and two green-colored 2cm wide pages.
#pagebreak()
#set page(width: 2cm, fill: green)
#pagebreak()
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/include-00.typ | typst | Other | #set page(width: 200pt)
= Document
// Include a file
#include "modules/chap1.typ"
// Expression as a file name.
#let chap2 = include "modu" + "les/chap" + "2.typ"
-- _Intermission_ --
#chap2
|
https://github.com/TimPaasche/Typst.Template.SimpleDocument | https://raw.githubusercontent.com/TimPaasche/Typst.Template.SimpleDocument/master/main.typ | typst | MIT License | #import "template/style.typ": setPage
#show: doc => setPage(
headerLine1: "Line 1",
headerLine2: "Line 2",
authors: (
(
name: "<NAME>",
mnr: 12345
),
),
doc
)
#text(
font: "Cascadia Mono",
size: 20pt,
weight: "bold",
"Überschrift"
)
#lorem(100)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.