repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/Champitoad/typst-slides | https://raw.githubusercontent.com/Champitoad/typst-slides/main/emoji.typ | typst | Creative Commons Zero v1.0 Universal | #set text(size: 500pt, font: "Noto Color Emoji")
#emoji.face.frown |
https://github.com/goshakowska/Typstdiff | https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_working_types/header/header_updated.typ | typst | = Updatedheading
= Second heading | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/quotes-04.typ | typst | Other | // Test turning smart quotes off.
He's told some books contain questionable "example text".
#set smartquote(enabled: false)
He's told some books contain questionable "example text".
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-06.typ | typst | Other | // Multiple nested scopes.
#{
let a = "a1"
{
let a = "a2"
{
test(a, "a2")
let a = "a3"
test(a, "a3")
}
test(a, "a2")
}
test(a, "a1")
}
|
https://github.com/barddust/Kuafu | https://raw.githubusercontent.com/barddust/Kuafu/main/src/Meta/sleep.typ | typst | = 睡眠
我自己并失眠;对于真正的失眠,建议寻医问诊,要把它当作一种疾病从而重视它。
== 昼夜节律
睡意的产生源于褪黑素分泌,它的作用就是帮助调节人体睡眠。影响褪黑素分泌的主要因素就是昼夜节律,也就是所谓的生物钟。
褪黑素的分泌周期是随着人体的生物钟进行的,每到夜晚,褪黑素开始分泌,倦意袭来;黎明到来之后,褪黑素停止分泌,人也因而渐渐醒来。
生物钟是生物体内部独立于环境的钟,并不受周围环境的影响,因此即使周围嘈杂不堪,但到点之后人还是会犯困。
基于此,人的作息应当基于生物规律,不要求早睡早起,应当是*到点睡、到点起*,这里更多的是强调一种规律作息。
== 睡眠周期
传说中的 8 小时睡眠,并不是推荐的睡眠时间,而是之前某... | |
https://github.com/linsyking/messenger-manual | https://raw.githubusercontent.com/linsyking/messenger-manual/main/transition.typ | typst | #import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge
#pagebreak()
= Transitions
Although scene transition animation could be done in user code, it is often very complicated and not generic. Messenger provides a neat API to do transitions between scenes.
Transition has "two stages":
1. From the old sc... | |
https://github.com/EGmux/TheoryOfComputation | https://raw.githubusercontent.com/EGmux/TheoryOfComputation/master/unit2/main.typ | typst | #include "./tese-church-turing.typ"
#include "./decidibilidade.typ"
| |
https://github.com/mhspradlin/wilson-2024 | https://raw.githubusercontent.com/mhspradlin/wilson-2024/main/understanding-ai/day-4.typ | typst | MIT License | #set page(
paper: "presentation-16-9",
numbering: "1",
number-align: right,
header: locate(loc => {
let elems = query(
selector(heading.where(level: 1)).before(loc),
loc,
)
let has-headers-on-page = query(
selector(heading.where(level: 1)),
loc,
).filter(h => h.location().page() == loc.p... |
https://github.com/eduardz1/Bachelor-Thesis | https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/utils/common.typ | typst | #let _block(title: "", text: []) = box(
fill: gradient.linear(luma(240), luma(245), angle: 270deg),
stroke: 2pt + gradient.linear(luma(240), luma(245), angle: 270deg),
radius: 4pt,
)[
#block(
fill: luma(255),
inset: 10pt,
radius: (top-left: 4pt, bottom-right: 4pt),
)[
#emph(title)
]
#block... | |
https://github.com/kotatsuyaki/canonical-nthu-thesis | https://raw.githubusercontent.com/kotatsuyaki/canonical-nthu-thesis/main/pages/en-cover.typ | typst | MIT License | #set heading(
numbering: "1.1.1",
)
#let cover-author-info(
department,
author-en,
supervisor-en,
) = grid(
columns: (auto, 0.75em, auto),
rows: (1.5em, 1.5em),
align: (right, left, left),
[Advisor: ],
"",
supervisor-en,
[Student: ],
"",
author-en,
)
#let en-cover... |
https://github.com/ClazyChen/Table-Tennis-Rankings | https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2012/MS-06.typ | typst |
#set text(font: ("Courier New", "NSimSun"))
#figure(
caption: "Men's Singles (1 - 32)",
table(
columns: 4,
[Ranking], [Player], [Country/Region], [Rating],
[1], [MA Long], [CHN], [3418],
[2], [ZHANG Jike], [CHN], [3334],
[3], [XU Xin], [CHN], [3292],
[4], [BOLL Timo], [GER], [... | |
https://github.com/AHaliq/DependentTypeTheoryReport | https://raw.githubusercontent.com/AHaliq/DependentTypeTheoryReport/main/chapters/chapter2/index.typ | typst | #import "../../preamble/dtt.typ": *
#import "../../preamble/catt.typ": *
#import "@preview/curryst:0.3.0": rule, proof-tree
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge
= Metatheory
Metatheorems are ordinary theorems in the metatheory about its theory.
== Motivation: Type Checking
Elaborators ... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1D2E0.typ | typst | Apache License 2.0 | #let data = (
("MAYAN NUMERAL ZERO", "No", 0),
("MAYAN NUMERAL ONE", "No", 0),
("MAYAN NUMERAL TWO", "No", 0),
("MAYAN NUMERAL THREE", "No", 0),
("MAYAN NUMERAL FOUR", "No", 0),
("MAYAN NUMERAL FIVE", "No", 0),
("MAYAN NUMERAL SIX", "No", 0),
("MAYAN NUMERAL SEVEN", "No", 0),
("MAYAN NUMERAL EIGHT", "... |
https://github.com/FlorentCLMichel/quetta | https://raw.githubusercontent.com/FlorentCLMichel/quetta/main/src/gondor.typ | typst | MIT License | // Implementation of the Mode of Gondor
#import "tengwar_proto.typ": *
#let map-gondor = (
th : sule, Th : sule,
ph : formen, Ph : formen,
kh : hwesta, Kh : hwesta,
ch : hwesta, Ch : hwesta,
dh : anto, ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.2.2/template/chapters/7-evaluation.typ | typst | Apache License 2.0 | #import "global.typ": *
= Evaluation
#lorem(30)
#todo(
[
Describe (proof) how your implementation really solved the stated problem. I.e.
accept or reject your hypotheses. Provide a range of input data sets. Run
experiments and gather the output (of tools) to meter your prototype. For the
analysis, ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/violin.typ | typst | Apache License 2.0 | #import "/src/cetz.typ": draw
#import "util.typ"
#import "sample.typ"
#let kernel-normal(x, stdev: 1.5) = {
(1 / calc.sqrt(2 * calc.pi*calc.pow(stdev, 2))) * calc.exp(-(x*x) / (2 * calc.pow(stdev, 2)))
}
#let _violin-render(self, ctx, violin, filling: true) = {
let path = range(self.samples)
.map((t)=>violin.... |
https://github.com/VisualFP/docs | https://raw.githubusercontent.com/VisualFP/docs/main/SA/design_concept/content/design/design_iteration_2.typ | typst | #import "../../../style.typ": *
= Second Design Iteration <design-iteration-2>
After the initial proposals received mixed feedback in the survey,
project advisor Prof. Dr. <NAME> suggested an additional design, which
combines some aspects of the previous proposals and adds some new ideas.
Below, this suggestion is ... | |
https://github.com/cnaak/untypsignia.typ | https://raw.githubusercontent.com/cnaak/untypsignia.typ/main/lib.typ | typst | MIT License | // typst
#let typstmark() = {
box()[Typst]
}
// TeX - from "plain.tex"
// \def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
// Conversion factor 1ex=0.43056em from https://tex.stackexchange.com/a/8337
#let texmark() = {
set text(font: "New Computer Modern")
box()[T#h(-.1667em)#text(baseline:.43056*.5em,"E"... |
https://github.com/TypstApp-team/typst | https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/meta/counter.typ | typst | Apache License 2.0 | // Test counters.
---
// Count with string key.
#let mine = counter("mine!")
Final: #locate(loc => mine.final(loc).at(0)) \
#mine.step()
First: #mine.display() \
#mine.update(7)
#mine.display("1 of 1", both: true) \
#mine.step()
#mine.step()
Second: #mine.display("I")
#mine.update(n => n * 2)
#mine.step()
---
// Cou... |
https://github.com/jasmerri/tsumo | https://raw.githubusercontent.com/jasmerri/tsumo/main/src/tile.typ | typst | MIT License | // This file contains identifiers for the representation used by this library.
// Note that all ids are non-exhaustive. If you use your own set of tiles (i.e. a custom resolver),
// then you can use whichever ids you would like.
// Internal ids for tiles of some type.
// Used in the `which` field of a tile.
// These ... |
https://github.com/nikhilweee/nikipedia-typst | https://raw.githubusercontent.com/nikhilweee/nikipedia-typst/main/nikipedia.typ | typst | #import "template/layout.typ": project
#show: project.with(title: "Nikipedia", author: "<NAME>")
= Concepts
#include "concepts/concepts.typ"
= Papers
#include "papers/2305-18290.typ"
#bibliography("references/references.bib") | |
https://github.com/n3d1117/cv | https://raw.githubusercontent.com/n3d1117/cv/main/README.md | markdown | # CV 📄
My personal resume, built with [Typst](https://typst.app), automatically compiled and updated using GitHub Actions.
## Manual Setup
1. Install Typst `0.2.0` (see [guide here](https://github.com/typst/typst#installation))
2. Clone this repo and `cd` into it
3. Run the following command to compile into `cv.pdf`:... | |
https://github.com/7sDream/fonts-and-layout-zhCN | https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/variation.typ | typst | Other | #import "/template/template.typ": web-page-template
#import "/template/components.typ": note
#import "/template/lang.typ": khmer
#import "/lib/glossary.typ": tr
#show: web-page-template
== OpenType可变字体 <heading:opentype.font-variation>
// Another, more flexible way of putting multiple family members in the same fil... |
https://github.com/warthog-network/whitepaper | https://raw.githubusercontent.com/warthog-network/whitepaper/master/README.md | markdown | # Warthog Network Whitepaper
This whitepaper is a work-in-progress and is written in [typst](https://github.com/typst/typst) based on [this template](https://github.com/hzkonor/bubble-template) respecting the [Warthog brand kit](https://github.com/warthog-network/brand-kit).
Compile/watch with these commands:
```
# w... | |
https://github.com/jofas/cv | https://raw.githubusercontent.com/jofas/cv/master/resume.typ | typst | #import "@preview/fontawesome:0.2.0": fa-icon
#set page(margin: (x: 7.5mm, y: 5mm))
#set text(
font: "Lato",
size: 9pt,
baseline: -0.1em,
)
#set par(justify: true)
#set grid(row-gutter: 0.75em, column-gutter: 1em)
#show link: underline
#show heading: h => {
if h.depth == 1 {
set text(size: 1.75em)
... | |
https://github.com/dainbow/MatGos | https://raw.githubusercontent.com/dainbow/MatGos/master/themes/2.typ | typst | #import "../conf.typ": *
= Ограниченность функции, непрерывной на отрезке, достижение точных верхней и нижней граней
== Ограниченность функции, непрерывной на отрезке
#definition[
Множество $E subset RR$ называется *ограниченным сверху (снизу)*, если
#eq[
$exists M (m) in RR : forall x in E : x <= M (x >= m)$... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/003%20-%20Gatecrash/001_Gruul%20Ingenuity.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Gruul Ingenuity",
set_name: "Gatecrash",
story_date: datetime(day: 02, month: 01, year: 2013),
author: "<NAME>",
doc
)
The Izzet always had the best spells.
Just because Kal was born to the Gruul didn't mean he couldn't appreciate ingeniou... | |
https://github.com/kokkonisd/typst-cross | https://raw.githubusercontent.com/kokkonisd/typst-cross/main/src/board.typ | typst | The Unlicense | #import "preprocessing.typ": *
// Produce a white cell of the crossword's board.
//
// Parameters:
// - `letter`: the letter to place in the cell.
// - `number`: the number to display on the top left corner of the cell (if any).
// - `show-letter`: if `true`, show the letter of the cell.
// - `letter-size`: the size ... |
https://github.com/i-am-wololo/cours | https://raw.githubusercontent.com/i-am-wololo/cours/master/main/parties_i23/AnalCombinatoire.typ | typst | #import "../templates.typ": *
#title("analyse combinatoire")
== Ensembles naturel
#definition(title:"Ensemble Naturel")[On appelle ensemble naturel $(N, eq.prec)$ tout ensemble ordonne qui satisfait les trois proprietes suivantes:
- Toute partie non vide admet un plus petit element
- Toute partie non vide et majoree a... | |
https://github.com/felsenhower/kbs-typst | https://raw.githubusercontent.com/felsenhower/kbs-typst/master/examples/20.typ | typst | MIT License | #import "lorem2.typ"
= Einführung
Mein erster Text mit Typst!
#lorem2.lorem2(20)
|
https://github.com/zenor0/FZU-report-typst-template | https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/utils/thanks.typ | typst | MIT License | #let thanks(title: "致谢", s) = {
pagebreak()
align(center)[
#box()[
#heading(bookmarked: true, outlined: true, numbering: none, level: 1, title)
]
]
// heading(bookmarked: true, outlined: true, numbering: none, level: 1, title)
s
} |
https://github.com/Dherse/typst-brrr | https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/steno-numbers/steno.typ | typst | #let wordColor = black
#let wordSize = 1.1em
#let explainColor = black
#let strokeColor = maroon
#let strokeFont = "Roboto Mono"
#let strokeWeight = "bold"
#let strokeSize = 1.1em
#let stenoSize = 8em
#let stenoFill = luma(250)
#let stenoStroke = 0.2pt + blue
#let stroke(stroke) = {
text(weight: strokeWeight, fo... | |
https://github.com/tfachada/thesist | https://raw.githubusercontent.com/tfachada/thesist/main/template/main.typ | typst | MIT License | #import "@preview/thesist:0.2.0": thesis, set-figure-numbering
/* INIT THESIS */
// Set language to en/pt
// Setup title page
// Hide unused lists
#show: thesis.with(
// Set to true if this is a PIC2 report. This will hide some of the cover page.
pic-mode: false,
lang: "en",
cover-image: image("Images/defau... |
https://github.com/ofurtumi/formleg | https://raw.githubusercontent.com/ofurtumi/formleg/main/h11/H11.typ | typst | #import "@templates/ass:0.1.1": *
#import "@preview/truthfy:0.2.0": generate-table, generate-empty
#show: doc => template(
class: "TÖL301G",
project: "Homework 11",
doc
)
= Are the formulae satisfiable
== $(x_1 or x_2) and (overline(x)_1 or overline(x)_2)$
This is satisfiable for the following values ${x_1 = 1... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/hide_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
AB #h(1fr) CD \
#hide[A]B #h(1fr) C#hide[D]
|
https://github.com/figarofuga/Typst-template | https://raw.githubusercontent.com/figarofuga/Typst-template/main/test.typ | typst | = Introduction
これはどうだろう?
*いけた!*
- 例えば、結核の事
- 例えば、NTMの事
== いろんな使い方
1. いろんなことがある。
2. そういうものだ。
例えばreferenceはこうやる。@Ikejima2009-zk
#bibliography("reference.bib")
| |
https://github.com/RanolP/typlog | https://raw.githubusercontent.com/RanolP/typlog/main/_utils/_utils.typ | typst | #let word(korean, english) = box[#block(breakable: false)[#korean#sub[#english]]]
#let engraved = (fill: color.rgb("#b2b2b2"), stroke: (
top: color.rgb("#424242"),
left: color.rgb("#424242"),
right: color.rgb("#e2e2e2"),
bottom: color.rgb("#e2e2e2"),
))
#let embossed(fill) = (fill: fill, stroke: (
top: fill.... | |
https://github.com/qujihan/typst-book-template | https://raw.githubusercontent.com/qujihan/typst-book-template/main/example/main.typ | typst | #import "../book.typ": *
#show: book.with(info: (
name: "qujihan",
title: "typst-book-template Demo",
))
= Chapter 1
#reference-block("Hello, world!")
#let abc = [这是一个块的的内容,这个块可能有许多的内容. #{parbreak()} 现在开始换行了]
#tips-block(
"这是一个标题",
abc,
)
= Code
代码可以自动标号, 以及可以配置显示代码路径等信息
#code(
"sh tree src",
"src目录树... | |
https://github.com/wuc9521/CS-scholars-report | https://raw.githubusercontent.com/wuc9521/CS-scholars-report/main/README.md | markdown | # CS-scholars-report
Final report for CS 564 final project using Typst
| |
https://github.com/Arrata-TTRPG/Arrata-TTRPG | https://raw.githubusercontent.com/Arrata-TTRPG/Arrata-TTRPG/main/src/sections/credits.typ | typst | Other | = Credits
*Special thanks* to those who helped me along the way:
- Coffee
- The boys |
https://github.com/Myriad-Dreamin/shiroa | https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/github-pages/docs/guide/installation.typ | typst | Apache License 2.0 | #import "/github-pages/docs/book.typ": book-page
#show: book-page.with(title: "Installation")
= Installation
There are multiple ways to install the shiroa CLI tool.
Choose any one of the methods below that best suit your needs.
// If you are installing shiroa for automatic deployment, check out the [continuous integ... |
https://github.com/lucannez64/Notes | https://raw.githubusercontent.com/lucannez64/Notes/master/Maths_Devoir_Maison_3.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 Devoir Maison 3",
authors: (
"<NAME>",
),
date: "30 Octobre, 2023",
)
#set heading(numbering: "1.1.")
== Exercice 1
<exercice-1... | |
https://github.com/Leadlegend/Curriculum-Vitae | https://raw.githubusercontent.com/Leadlegend/Curriculum-Vitae/main/modules/education.typ | typst | Apache License 2.0 | #import "../template.typ": *
#cvSection("Education")
#cvEntry(
title: [MS, Computer Science],
society: [Johns Hopkins University],
date: [2024 - Now],
location: [Baltimore, MD],
logo: "./src/logos/jhu.png",
description: list(
[Research Interest: Large Language Models #hBar() BioNLP #hBar... |
https://github.com/lxl66566/my-college-files | https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/信息论与编码/第五章作业.typ | typst | The Unlicense | #import "../template.typ": *
#import "@preview/tablem:0.1.0": tablem
#import "@preview/mitex:0.2.4": *
#import "@preview/cetz:0.2.2"
#show: project.with(
title: "5",
authors: ("absolutex",),
)
#set par(first-line-indent: 0em) // 不换行
#show heading: it => {
set text(font: 字体.黑体)
if it.level == 1 {
pagebreak... |
https://github.com/baijing0328/CV | https://raw.githubusercontent.com/baijing0328/CV/master/resume.typ | typst | #import "template.typ": *
// 设置图标, 来源: https://fontawesome.com/icons/
// 如果要修改图标颜色, 请手动修改 svg 文件中的 fill="rgb(38, 38, 125)" 属性
// 例如可以使用 VS Code 的全局文本替换功能
#let faAward = icon("icons/fa-award.svg")
#let faBuildingColumns = icon("icons/fa-building-columns.svg")
#let faCode = icon("icons/fa-code.svg")
#let faEnvelope = ic... | |
https://github.com/sses7757/sustech-graduated-thesis | https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/layouts/appendix.typ | typst | Apache License 2.0 | #import "../utils/multi-line-equate.typ": show-figure
#import "../utils/custom-numbering.typ": custom-numbering
#import "../utils/page-break.typ": page-break
// 后记,重置 heading 计数器
#let appendix(
numbering: custom-numbering.with(first-level: "", depth: 4, "A.1 "),
// figure 计数
show-figure: show-figure.with(numbering:... |
https://github.com/jneug/typst-nassi | https://raw.githubusercontent.com/jneug/typst-nassi/main/assets/example-3.typ | typst | MIT License | #set page(width: 13cm, height:auto, margin: 5mm)
#import "../src/nassi.typ"
#nassi.diagram({
import nassi.elements: *
function("ggt(a, b)", {
loop("a > b and b > 0", {
branch("a > b", {
assign("a", "a - b")
}, {
assign("b", "b - a",
fill: gradient.linear(..color.map.rainbow),
st... |
https://github.com/mitinarseny/invoice | https://raw.githubusercontent.com/mitinarseny/invoice/main/src/header.typ | typst | #import "./utils.typ": parse_date, format_date
#let header(id, issue_date, due_date) = {
if due_date < issue_date {
panic("due_date must be after issue_date")
}
grid(
columns: (1fr, 1fr),
rows: 1,
align: (left, right),
align(horizon, text(size: 1.6em, [
= Invoice #if ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/054%20-%20Lost%20Caverns%20of%20Ixalan/002_Episode%202.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Episode 2",
set_name: "Lost Caverns of Ixalan",
story_date: datetime(day: 20, month: 10, year: 2023),
author: "<NAME>",
doc
)
== Wayta
Room after room, tunnel after tunnel, Wayta followed the warrior-poet and her loxodon assistant deeper i... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/lang-05.typ | typst | Other | // Error: 19-24 expected two letter region code (ISO 3166-1 alpha-2)
#set text(region: "hey")
|
https://github.com/lynn/typst-syntree | https://raw.githubusercontent.com/lynn/typst-syntree/main/lib.typ | typst | MIT License | #let tree(tag, ..children, child-spacing: 1em, layer-spacing: 2.3em, roof: false, stroke: 0.75pt) = {
let tag_text = text(tag)
style(sty => {
let child_widths = children.pos().map(c => measure(c, sty).width)
let child_xs = ()
let acc = 0pt
for width in child_widths {
child_xs.push(acc)
a... |
https://github.com/miyaji255/Typst-Utilities | https://raw.githubusercontent.com/miyaji255/Typst-Utilities/main/test.typ | typst | MIT License | #import "exports.typ": *
#let experiment_date = datetime(year: 2023, month: 11, day: 1)
#{
assert.eq("令和5年", display-era(datetime(year: 2023, month: 1, day: 1), "[year]年"))
assert.eq(
"令和5年",
display-era(datetime(year: 2023, month: 1, day: 1), "[year sign:kanji]年"),
)
assert.eq(
"R5年",
display... |
https://github.com/Le-foucheur/dotfile | https://raw.githubusercontent.com/Le-foucheur/dotfile/main/.config/Code/User/History/-3e9b3739/6DCf.typ | typst | //chiffre
#let fe = text(font: "FreeSerif")[#str.from-unicode(0x16A0)] + h(0.5pt)
#let ur = text(font: "Standard Celtic Rune Extended")[#str.from-unicode(0x16A2)] + h(0.5pt)
#let tur = text(font: "Noto Sans Runic")[#str.from-unicode(0x16A6)]+ h(0.5pt)
#let an = text(font: "Noto Sans Runic")[#str.from-unicode(0x16A8)]+ ... | |
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template | https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/examples/bachelor-thesis/chapters/02_articles.typ | typst | MIT License | #import("../dependencies.typ"): *
= Articles
== The First Article
All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.
@UN[Article 1]
== The Second Article
Everyone is entitled to all the rights an... |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/requirements-analysis/vscode.typ | typst | === Ungrammar VS Code Extension
==== List of Usecase
- Use LSP Features
- View Documentation
==== Usecase Diagram
#figure(
image("/diagrams/generated/usecase/uc-ungram-vscode.svg", width: 80%),
caption: [Usecase Diagram of Ungrammar VS Code Extension]
)
==== Usecase Specifications
#[
#set r... | |
https://github.com/rxt1077/it610 | https://raw.githubusercontent.com/rxt1077/it610/master/markup/exercises/compose.typ | typst | #import "/templates/exercise.typ": exercise, code, admonition
#show: doc => exercise(
course-name: "Systems Administration",
exercise-name: "Docker Compose",
doc,
)
== Goals
- Run a Docker Compose system
- Examine a functioning Docker Compose system
== Tasks
Take a look at the Docker Compose examples in the ... | |
https://github.com/Enter-tainer/wavy | https://raw.githubusercontent.com/Enter-tainer/wavy/master/typst-package/lib.typ | typst | MIT License | #import "./wavy.typ": render
|
https://github.com/deadManAlive/ui-thesis-typst-template | https://raw.githubusercontent.com/deadManAlive/ui-thesis-typst-template/master/abstract.typ | typst | #let abstract_id = (
abstract: [
#lorem(128)
],
keywords: ([darurat], [nasional])
) | |
https://github.com/augustebaum/petri | https://raw.githubusercontent.com/augustebaum/petri/main/tests/fletcher/relative-positioning/test.typ | typst | MIT License | #import "/src/lib.typ": *
#set page(width: auto, height: auto, margin: 1cm)
#import "@preview/fletcher:0.4.2" as fletcher: edge
/// % Place 1
/// \node[place,
/// fill=orange!25,
/// draw=orange!75,
/// tokens=2,
/// label=$P_1$] (place1) {};
///
/// % Place 2
/// \node[place,
/// below=of place1,
/// fill=ora... |
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/algo/window.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}
Soit un #gls(entry: "Demi-groupe")[_demi-groupe_] $(S, +)$, c'est-à-dire que
#align(center, grid(columns: (1fr, 1fr),
[- $S$ est stable par $+$],
[- La loi $+$ est ass... | |
https://github.com/mkpoli/ipsj-typst-template | https://raw.githubusercontent.com/mkpoli/ipsj-typst-template/master/lib.typ | typst | #import "lib/mixed-font.typ": mixed as mixed-font
#import "lib/latex.typ": draw-TeX
#import "lib/bibliography.typ": fake-bibliography
#import "lib/number.typ": n
#import "@preview/tablex:0.0.8": tablex
#let std-bibliography = bibliography
// TODO: 2段組を採用しており,左右の段で行の基準線の位置が一致することを原則としている.
// TODO: また,節見出しなど,
// 行の間隔を... | |
https://github.com/brief-jetzt/wasm-typst | https://raw.githubusercontent.com/brief-jetzt/wasm-typst/main/README.md | markdown | Apache License 2.0 | [](https://github.com/brief-jetzt/wasm-typst/actions/workflows/CI.yml) [](https://github.com/brief-jetzt/wasm-typst/actions/workflows/CD.yml) 
A minimal diagram
#align(center, commutative-diagram(
node((0, 0), $X$),
node((0, 1), $Y$),
node((1, 0), $X \/ "ker"(f)$, "quot"),
arr($X$, $Y$, $f$),
... |
https://github.com/lphoogenboom/typstThesisDCSC | https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/typFiles/coverpage.typ | typst | // !!!!
// STUDENTS, DO NOT EDIT THIS FILE!
// !!!!
#import "../projectInfo.typ": student, report
#let coverUnit = 398.38567pt/0.9 // derived from latex template
#let cu = coverUnit // shorthand
#let pageHeight = 841.89pt
#let white = rgb(255,255,255)
#let black-ish = rgb(6, 6, 12)
#let cyan = rgb(0, 185, 242)
#... | |
https://github.com/elinscott/psi-slides-template | https://raw.githubusercontent.com/elinscott/psi-slides-template/main/slides.typ | typst | #import "@preview/touying:0.4.2": *
#import "@preview/pinit:0.1.4": *
#import "@preview/xarrow:0.3.0": xarrow
#import "psi.typ"
// color-scheme can be navy-red, blue-green, or pink-yellow
#let s = psi.register(aspect-ratio: "16-9", color-scheme: "pink-yellow")
#let s = (s.methods.info)(
self: s,
title: [Title],
... | |
https://github.com/jneug/typst-tools4typst | https://raw.githubusercontent.com/jneug/typst-tools4typst/main/def.typ | typst | MIT License |
#import "is.typ": empty
// =================================
// Get default values
// =================================
/// Returns #arg[default] if #arg[test] is #value(true), #arg[value] otherwise.
///
/// If #arg[test] is #value(false) and #arg[do] is set to a function,
/// #arg[value] is passed to #arg[do], bef... |
https://github.com/EpicEricEE/typst-marge | https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/parameter/padding/test.typ | typst | MIT License | #import "/src/lib.typ": sidenote
#set par(justify: true)
#set page(width: 8cm, height: auto, margin: (outside: 4cm, rest: 5mm))
#let sidenote = sidenote.with(numbering: "1",)
#lorem(3)
#sidenote[Normal padding.]
#lorem(7)
#sidenote(padding: 4pt)[Small padding on both sides.]
#lorem(9)
#sidenote(padding: ... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F100.typ | typst | Apache License 2.0 | #let data = (
("DIGIT ZERO FULL STOP", "No", 0),
("DIGIT ZERO COMMA", "No", 0),
("DIGIT ONE COMMA", "No", 0),
("DIGIT TWO COMMA", "No", 0),
("DIGIT THREE COMMA", "No", 0),
("DIGIT FOUR COMMA", "No", 0),
("DIGIT FIVE COMMA", "No", 0),
("DIGIT SIX COMMA", "No", 0),
("DIGIT SEVEN COMMA", "No", 0),
("DI... |
https://github.com/FkHiroki/ex-B3 | https://raw.githubusercontent.com/FkHiroki/ex-B3/main/sections/section1.typ | typst | MIT No Attribution | = 1. 目的
本実験では、超伝導体が示す現象である、ゼロ抵抗とマイスナー効果を実際に確認し、超伝導体の特性を理解することを目的とする。ゼロ抵抗の確認については、室温での抵抗測定のみを行い、低音領域での抵抗測定は実際には行わず、与えられたデータを解析することで、ゼロ抵抗の特性を理解する。マイスナー効果については、磁場中冷却と零磁場冷却の2つの冷却方法で冷却した$"YBa"_2"Cu"_3"O "_7$を磁石に近づけたり遠ざけたりすることで、磁石にどのような力が働くかを観察することで、マイスナー効果の特性を理解する。最後に、冷却した$"YBa"_2"Cu"_3"O "_7$を磁石を並べて作ったレール上に乗せて、その時の挙動を観察... |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/nassi/0.1.2/assets/example-cetz-2.typ | typst | Apache License 2.0 | #import "../src/nassi.typ"
#import nassi: cetz
#set page(width: 13cm, height: auto, margin: 5mm)
#cetz.canvas({
import nassi.draw: diagram
import nassi.elements: *
import cetz.draw: *
diagram(
(4, 4),
{
function(
"ggt(a, b)",
{
loop(
"a > b and b > 0",
... |
https://github.com/MultisampledNight/flow | https://raw.githubusercontent.com/MultisampledNight/flow/main/src/track.typ | typst | MIT License | #import "tyck.typ"
#let schema = {
import tyck: *
let rrule = _attrs(
count: _any(int),
forever: true,
delay: datetime,
until: datetime,
)
let event = _attrs(
summary: str,
description: str,
start: datetime,
end: datetime,
delta: datetime,
location: str,
partici... |
https://github.com/andreasKroepelin/TypstJlyfish.jl | https://raw.githubusercontent.com/andreasKroepelin/TypstJlyfish.jl/main/test/test.typ | typst | MIT License | #import "../typst/lib.typ": *
#jl-pkg("Example", "Random")
#jl-pkg(cmd: "dev", "..")
#jl(`1 + 1 `)
#jl-raw(fn: x => [#{x + 3}], `1 + 2`)
#jl(```julia
@info "hi"
println("wow")
```)
|
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/cetz-integration/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
#diagram(
node((0,1), $A$, stroke: 1pt),
node((2,0), [Bézier], stroke: 1pt, shape: fletcher.shapes.diamond),
render: (grid, nodes, edges, options) => {
fletcher.cetz.canvas({
fletcher.draw-diagram(grid... |
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis | https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/template/attachements.typ | typst | MIT License | #let attachements() = (
(a: [ Irgendeine Anlage ]),
(a: [ Noch eine Anlage ]),
) |
https://github.com/Error-418-SWE/Documenti | https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/template.typ | typst | #import "/common.typ": *
#let project(
title: "",
subTitle: "",
docType: "doc",
date: "",
externalParticipants: (),
authors: (),
reviewers: (),
missingMembers: (),
location: "Discord",
timeStart: "",
timeEnd: "",
showLog: false,
showIndex: true,
showImagesIndex: true,
showTablesIndex: tru... | |
https://github.com/typst-jp/typst-jp.github.io | https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/changelog/0.5.0.md | markdown | Apache License 2.0 | ---
title: 0.5.0
description: Changes in Typst 0.5.0
---
# Version 0.5.0 (June 9, 2023)
## Text and Layout
- Added [`raw`] syntax highlighting for many more languages
- Added support for Korean [numbering]
- Added basic i18n for a few more languages (NL, SV, DA)
- Improved line breaking for East Asian languages
- Exp... |
https://github.com/kdog3682/2024-typst | https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/mmgg-template.typ | typst | #import "base-utils.typ": *
#import "layout.typ": flex-1
#import "typography.typ"
#let periodMark = box(
inset: (left: 1pt, right: 0.5pt),
circle(radius: 1.2pt, stroke: 0.3pt, fill: none)
)
#let exclamMark = box( inset: (left: 0.1em, right: 0.1em), text(size: 1.05em, font: "TeX Gyre Schola Math", [!]) )
#let... | |
https://github.com/typst-doc-cn/tutorial | https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/mod.typ | typst | Apache License 2.0 | #import "/src/book.typ"
#import "/typ/templates/page.typ": main-color
#import "../mod.typ": code as _code, exec-code as _exec-code, refs, todo-box, todo-color, pro-tip, typst-func, term, mark, exercise, ref-bookmark, ref-method-signature, ref-func-signature, ref-cons-signature
#let eval-local(it, scope, res) = if res... |
https://github.com/noahjutz/AD | https://raw.githubusercontent.com/noahjutz/AD/main/uebungen/2/main.typ | typst | #import "/config.typ"
#import "/components/code.typ": code
#show: config.config
= Komplexität
== Registermaschine
Die Formel lässt sich algorithmisch folgendermaßen definieren:
#grid(
columns: (auto, 1fr),
column-gutter: 12pt,
align: horizon,
$
sum_(i=1)^n i^3 <==>
$,
[
#set block(width: 100%)
... | |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/edu/lectures/main.typ | typst | #import "/utils/template.typ": conf
#import "/utils/datestamp.typ": datestamp
#show: body => conf(
title: "Современное образование",
subtitle: "Лекции",
author: "<NAME>, БПИ233",
year: [2024--2025],
body,
)
#datestamp("2024-09-04")
#include "./2024-09-04.typ"
#datestamp("2024-09-11")
#include "./... | |
https://github.com/hongjr03/shiroa-page | https://raw.githubusercontent.com/hongjr03/shiroa-page/main/WXAPP/lab1/template.typ | typst | #import "@preview/numblex:0.1.1": numblex, circle_numbers
#let font = (main: "IBM Plex Sans", mono: "IBM Plex Mono", cjk: "Noto Sans SC")
// #set text(font: "Dream Han Sans SC")
#let to-string(content) = {
if content.has("text") {
content.text
} else if content.has("children") {
content.children.map(to-s... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/page-margin_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Set all margins at once.
#[
#set page(height: 20pt, margin: 5pt)
#place(top + left)[TL]
#place(bottom + right)[BR]
]
|
https://github.com/ryuryu-ymj/mannot | https://raw.githubusercontent.com/ryuryu-ymj/mannot/main/docs/doc.typ | typst | MIT License | #import "@preview/tidy:0.3.0"
#import "@preview/codly:1.0.0": *
#import "/src/lib.typ": *
#import "doc-template.typ": *
#show link: underline
#show: codly-init.with()
#codly(lang-format: none)
#let package-info = toml("/typst.toml")
#let name = package-info.package.name
#let version = package-info.package.version
#... |
https://github.com/mem-courses/discrete-mathmatics | https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/functions.typ | typst | MIT License | #let TT = math.bold(math.upright("T"))
#let FF = math.bold(math.upright("F"))
|
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/1-introduction/motivation.typ | typst | MIT License | #import "../../lib/mod.typ": *
// #v(-5pt)
== Motivation <intro-motivation>
// From the original contract:
// 1. Motivation
// Automation is constantly increasing, and multi-agent systems are proportionally relevant. Many current-day systems, such as the agriculture industry[1], along with many other fields, are on a ... |
https://github.com/sebmestrallet/typst-simple-siam | https://raw.githubusercontent.com/sebmestrallet/typst-simple-siam/main/src/main.typ | typst | MIT No Attribution | #import "lib.typ": conf, theorem, definition, lemma, thmrules, proof, pseudocode-list, algorithm
#let ANONYMOUS = false
// IMPORTANT: Reproduction of the `\anon{anonymous}{known}` command
// 1. To ensure anonymity during the double-blind review,
// 2. To easily switch to a non-anonymous version for publication.
... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/014_Ravnica%3A%20One%20and%20the%20Same.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Ravnica: One and the Same",
set_name: "March of the Machine",
story_date: datetime(day: 24, month: 04, year: 2023),
author: "<NAME>",
doc
)
Phyresis hurt, of course, but as soon as my throat turned to metal and my tendrils hardened to wire ... | |
https://github.com/maucejo/elsearticle | https://raw.githubusercontent.com/maucejo/elsearticle/main/src/_template_info.typ | typst | MIT License | #import "_globals.typ": *
#import "_utils.typ": *
#let default-author = (
name: none,
affiliation: none,
corr: none,
id: "a"
)
#let template_info(title, abstract, authors, keywords, els-columns) = {
// Set authors and affiliation
let names = ()
let names_meta = ()
let affiliations = ()
... |
https://github.com/ysthakur/PHYS121-Notes | https://raw.githubusercontent.com/ysthakur/PHYS121-Notes/main/Practice/8-9-10.typ | typst | MIT License | #import emoji: square
= Practice Problems Ch 8-9-10
#square.black = Initially got wrong
1. ✅ B
2. ✅ B
3. ✅ B
4. ✅ D
5. ✅ A
6. ✅ A
7. ✅ B
8. ✅ C (higher Young's modulus means less strain)
9. ✅ D
10. ✅ C
11. ✅ B
12. ✅ A
13. ✅ A
14. ✅ B
15. Net force and torque must be 0
1. ✅ 1068.2
2. ✅ 709.43
17. ❌ 8.46 m
... |
https://github.com/Mc-Zen/tidy | https://raw.githubusercontent.com/Mc-Zen/tidy/main/src/tidy.typ | typst | MIT License | // Source code for the typst-doc package
#import "styles.typ"
#import "tidy-parse.typ"
#import "utilities.typ"
#import "testing.typ"
#import "show-example.typ"
#import "parse-module.typ": parse-module
#import "show-module.typ": show-module
#import "helping.typ" as helping: generate-help
#let help(..args) = {
let ... |
https://github.com/LeeWooQM/TypstNote | https://raw.githubusercontent.com/LeeWooQM/TypstNote/main/temp.typ | typst | MIT License | #let note(
title:"Note Title",
author: "Name",
mail: "<EMAIL>",
logo: none,
preface: none,
boxed_heading: false,
body
) = {
// Set the basic properties of this document
set document(author: (author,), title: title)
set page(
header-asc... |
https://github.com/MatheSchool/typst-g-exam | https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/latexmit/latexmit.typ | typst | MIT License | #import "mod.typ": *
#show: book-page.with(title: "LaTeX Mit exam template")
= LaTeX Mit exam template
Examples of LaTex Mit exam template.
// [{: width="450" }](../assets/exam-latexmit-example.pdf)
// <!-- [Download pdf LaTex Mit template](assets/exa... |
https://github.com/GYPpro/Java-coures-report | https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/0.typ | typst | // Display inline code in a small box
// that retains the correct baseline.
#set text(font:("Times New Roman","Source Han Serif SC"))
#show raw.where(block: false): box.with(
fill: luma(240),
inset: (x: 3pt, y: 0pt),
outset: (y: 3pt),
radius: 2pt,
)
#pagebreak()
// Display block code in a larger block
// with ... | |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/056_Outlaws%20of%20Thunder%20Junction.typ | typst | #import "@local/mtgset:0.1.0": conf
#show: doc => conf("Outlaws of Thunder Junction", doc)
#include "056 - Outlaws of Thunder Junction/001_Episode 1: An Offer of Revenge.typ"
#include "056 - Outlaws of Thunder Junction/002_No Tells.typ"
#include "056 - Outlaws of Thunder Junction/003_Episode 2: The Jailbreak.typ"
#inc... | |
https://github.com/kpindur/rinko.typst | https://raw.githubusercontent.com/kpindur/rinko.typst/main/README.md | markdown | MIT License | # rinko.typst
Typst template for writing reports
## TODO:
- [ ] Maketitle
- [x] Create title rectangle
- [x] Place five strings in the rectangle in the center and 4 corners -> corners are moved down each time
- [ ] Add more arguments for fine-grained control over display
- [ ] Abstract
- [ ] Create fu... |
https://github.com/kazewong/lecture-notes | https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/containerization.typ | typst | #set page(
paper: "us-letter",
header: align(center, text(17pt)[
*Containerization with docker*
]),
numbering: "1",
)
#import "./style.typ": style_template
#show: doc => style_template(doc,)
= Foreword
In previous sessions which we looked at programming languages, I mentioned one of the best practices in... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/docs/troubleshooting-wasm-build.md | markdown | Apache License 2.0 | ### Download and install `wasm-pack`
To download and install `wasm-pack`, use the following command:
```shell
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | bash
```
If you meet following error when running `curl ... | sh`:
```
sh: 139: [: x86_64: unexpected operator
```
It is because the `sh` ... |
https://github.com/Enter-tainer/mino | https://raw.githubusercontent.com/Enter-tainer/mino/master/README.md | markdown | MIT License | # [Mino](https://github.com/Enter-tainer/mino)
Render tetris [fumen](https://harddrop.com/fumen/) in typst!

````typ
#import "typst-package/lib.typ": decode-fumen, render-field
// Uncomment the following line to use the mino from the official package registry
// #import "@preview/mino:0.1.1": decode-fu... |
https://github.com/tiankaima/typst-notes | https://raw.githubusercontent.com/tiankaima/typst-notes/master/feebf7-2023_fall_TA/main.typ | typst | #set text(
font: "Source Han Serif SC",
size: 10pt,
)
#set page(
paper: "a4",
margin: (x: 1.8cm, y: 1.5cm),
)
#set par(first-line-indent: 15pt)
#set heading(numbering: (..nums) => nums.pos().slice(1).map(str).join("."))
#set math.equation(numbering: "(1)")
#import "utils.typ": *
#outline(depth: 1)
#pagebreak(... | |
https://github.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024 | https://raw.githubusercontent.com/Area-53-Robotics/53B-Notebook-Over-Under-2023-2024/master/entries/pre_building/rules.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "/templates/entries.typ": *
#import "/templates/headers.typ": *
#import "/templates/text.typ": *
#create_default_entry(
title: [Game Rules],
date: [May 5th, 2023],
design: [],
witness: [],
content: [
#entry_text()
#figure(
image("/assets/over_under_field.png",width... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.