repo stringlengths 26 115 | file stringlengths 54 212 | language stringclasses 2
values | license stringclasses 16
values | content stringlengths 19 1.07M |
|---|---|---|---|---|
https://github.com/vmysak/modern-cv-typst | https://raw.githubusercontent.com/vmysak/modern-cv-typst/main/src/my-config.typ | typst | Apache License 2.0 | #import "@preview/fontawesome:0.2.1": *
/** Page Config **/
#let page-margin = (left: 10mm, right: 10mm, top: 10mm, bottom: 5mm)
#let main-font = ("DejaVu Sans")
#let main-font-size = 10pt
#let full-name-font-size = 30pt
#let contacts-font-size = 9pt
#let roles-padding = 10pt
#let contacts-padding = 0pt
#let footer-fo... |
https://github.com/Henriquelay/pathsec-checker | https://raw.githubusercontent.com/Henriquelay/pathsec-checker/main/presentation/figures/addition.typ | typst | #import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge, shapes
#set page(width: auto, height: auto, margin: (x: 0pt, y: 0pt))
#set text(font: "New Computer Modern")
#diagram({
for i in range(1, 11) {
let h = "h" + str(i)
node((i / 2, 1), h, stroke: 0.5pt, name: label(h), shape: shapes.rect)
e... | |
https://github.com/Rhinemann/mage-hack | https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/Character%20Creation.typ | typst | #import "../templates/interior_template.typ": *
#show: chapter.with(chapter_name: "Character Creation")
= Character Creation
#show: columns.with(2, gutter: 1em)
#block(breakable: false)[
=== Step 0: Get a character sheet
TODO.
]
#block(breakable: false)[
=== Step 1: Choose Distinctions
- One for your person... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unify/0.1.0/README.md | markdown | Apache License 2.0 | # Unify
`unify` is a [typst](https://github.com/typst/typst) package simplifying the typesetting of number, (physical) units, and ranges. It is the equivalent to LaTeX's `siunitx`, though not as mature.
## Overview
`unify` allows flexible numbers and units, and still mostly gets well typeset results.
```ts
#import "@... |
https://github.com/pascalguttmann/typst-template-report-lab | https://raw.githubusercontent.com/pascalguttmann/typst-template-report-lab/main/template/chapter/instruments.typ | typst | MIT License | = Description of Instruments and Methods
|
https://github.com/flavio20002/typst-orange-template | https://raw.githubusercontent.com/flavio20002/typst-orange-template/main/README.md | markdown | MIT No Attribution | # orange-book
A book template inspired by The Legrand Orange Book of Mathias Legrand and Vel https://www.latextemplates.com/template/legrand-orange-book.
## Usage
You can use this template in the Typst web app by clicking "Start from template"
on the dashboard and searching for `orange-book`.
Alternatively, you can u... |
https://github.com/mawkler/cv | https://raw.githubusercontent.com/mawkler/cv/main/english.typ | typst | MIT License | #import "cv.typ": cv, experience, skill, list_interests
#import "@preview/fontawesome:0.1.0": *
#cv(
name: "<NAME>",
links: (
(link: "mailto:<EMAIL>", icon: fa-at()),
(link: "https://github.com/mawkler", display: "mawkler", icon: fa-github()),
(link: "https://fosstodon.org/@mawkler", display: "fosstodo... |
https://github.com/dariasc/notebook | https://raw.githubusercontent.com/dariasc/notebook/master/main.typ | typst | #import "template.typ": *
#show: project
#title()
#insert("template.h")
= Data Structures
#insert("ds/hashmap.h")
#insert("ds/order_statistic_tree.h")
#insert("ds/uf.h")
#insert("ds/convex_hull_trick.h")
#insert("ds/sparse_table.h")
#insert("ds/iterative_segment_tree.h")
#insert("ds/lazy_segment_tree.h")
#insert("ds/... | |
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.4/src/shapes.typ | typst | Apache License 2.0 | #import "deps.typ": cetz
#import cetz: draw, vector
/// The standard rectangle node shape.
///
/// A string `"rect"` or the element function `rect` given to
/// #the-param[node][shape] are interpreted as this shape.
///
/// #diagram(
/// node-stroke: green,
/// node-fill: green.lighten(90%),
/// node((0,0), `rect`,... |
https://github.com/huyufeifei/grad | https://raw.githubusercontent.com/huyufeifei/grad/master/docs/paper/src/ch5.typ | typst | = 测试
== 功能测试
对VirtIO驱动程序功能的测试分别使用 #link("https://github.com/rcore-os/virtio-drivers/tree/master/examples/riscv")[rCore所提供的riscv架构测试程序] 的 #link("https://github.com/huyufeifei/svdrivers/tree/master/qemu")[改进版本] 和Alien中进行测试。测试代码已在链接中给出。对于Uart16550设备驱动的测试仅在Alien中进行测试。
对于不同设备的功能测试方式分别如下:
- *块设备:*对于设备的每一个块,使用一个函数计算出一个对应的均... | |
https://github.com/HiiGHoVuTi/requin | https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/lang/mon-syn.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}
=== Prélude
// NOTE(Juliette) : le début est extrait de TD
Un _monoïde_ est $(M, +)$ est un #gls(entry: "Magma")[magma] associatif unifère, c'est-à-dire un #gls(entry... | |
https://github.com/tairahikaru/old-typst-japanese | https://raw.githubusercontent.com/tairahikaru/old-typst-japanese/main/otypjp.typ | typst | Other | // otypjp.typ
// https://github.com/tairahikaru/old-typst-japanese
// This file is distributed under the AGPLv3
// xspcode
// from XeLaTeX-ja (https://github.com/h20y6m/xelatexja) by <NAME> (h20y6m) (MIT License)
#let kanji_class_allow = (
"\\u{0370}-\\u{04FF}" +
"\\u{1F00}-\\u{1FFF}" +
"\\u{2000}-\\u{2013}" +
... |
https://github.com/typst-community/valkyrie | https://raw.githubusercontent.com/typst-community/valkyrie/main/src/ctx.typ | typst | Other | #let ctx-proto = (
strict: false,
soft-error: false,
remove-optional-none: false,
)
/// This is a utility function for setting contextual flags that are used during validation of objects against schemas.
///
/// Currently, the following flags are described within the API:
/// / strict: If set, this flag adds the... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/docs/tinymist/book.typ | typst | Apache License 2.0 |
#import "@preview/shiroa:0.1.1": *
#show: book
#book-meta(
title: "Tinymist Docs",
description: "The documentation for tinymist service",
authors: ("Myriad-Dreamin",),
repository-edit: "https://github.com/Myriad-Dreamin/tinymist/edit/main/{path}",
language: "en",
summary: [
#prefix-chapter("introduct... |
https://github.com/kfijalkowski1/typst-diff-tool | https://raw.githubusercontent.com/kfijalkowski1/typst-diff-tool/main/typst_ast_parser/data/1_additional_bullet_point/expected_added_bullet_point.typ | typst | #import "@preview/pesha:0.2.0": *
#experience(
place: "Hot Topic",
title: "Retail-sales associate",
time: [2004--06],
)[
- Top in-store sales associate in seven out of eight quarters
- Inventory management
- #text(fill: red)[Training and recruiting]#text(fill: green)[ADDED BULLET POINT]
#text(fill: green)[- Training a... | |
https://github.com/Nenuial/quarto-swissequestrian | https://raw.githubusercontent.com/Nenuial/quarto-swissequestrian/main/_extensions/se-letter/typst-show.typ | typst | $if(lang)$
#set text(lang: "$lang$")
$endif$
#show: letter-simple.with(
sender: (
name: "$sender.name$",
address: "$sender.address$",
),
font: "Gilroy",
header: [
#place(top + left, dx: 2.5cm, dy: 1.5cm, [
#set text(fill: rgb("#00283c"), size: 8pt)
*SWISS EQUESTRIAN*\
#s... | |
https://github.com/dice-punk-press/open-d12 | https://raw.githubusercontent.com/dice-punk-press/open-d12/main/src/core-rules.typ | typst | Creative Commons Attribution 4.0 International | #set page(
paper: "a4",
header: [
#set text(8pt)
Open D12 | Core Rules | v0.0.1
#h(1fr)Feedback: https://github.com/dice-punk-press/open-d12/issues
]
)
= Open D12 Core Rules
== Alpha Release v0.0.1
This is an early release of the core rules. Everything works but
we're actively collecting feedback an... |
https://github.com/soul667/typst | https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/examples/metropolis.typ | typst | #import "../lib.typ": *
#let s = themes.metropolis.register(s, aspect-ratio: "16-9", footer: self => self.info.institution)
#let s = (s.methods.info)(
self: s,
title: [Title],
subtitle: [Subtitle],
author: [Authors],
date: datetime.today(),
institution: [Institution],
)
#let (init, slides, touying-outline,... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas3/2_Utorok.typ | typst | #let V = (
"HV": (
("", "Krestoobrázno", "Júže vo mňí mnohoobráznyj zmíj, uvíďiv ľínosť k poléznym ďilóm, i manovénijem ko zlým i hóršym preobrazújetsja, pokazúja hrichá sládosť, svojé že hórkoje ďílanije, i soprotívnoje božéstvennym zápovidem. Ťímže i porivájet mjá nrávom, jáko dóbraja, zlája prijimáti lukávym, ... | |
https://github.com/imatpot/typst-ascii-ipa | https://raw.githubusercontent.com/imatpot/typst-ascii-ipa/main/src/lib/converters/branner.typ | typst | MIT License | // https://web.archive.org/web/19990209070257/http://weber.u.washington.edu/~yuenren/ASCII_IPA.html
// https://en.wikipedia.org/wiki/Comparison_of_ASCII_encodings_of_the_International_Phonetic_Alphabet
#let branner-unicode = (
("&g^", "ˤ"),
("'", "ˈ"),
("(", "̯"),
("(^", "̆"),
("+", "̟"),
(",", "ˌ"),
(",... |
https://github.com/hooyuser/typst_math_notes | https://raw.githubusercontent.com/hooyuser/typst_math_notes/master/README.md | markdown | # Typst template for math notes
Example
```
#import "preamble.typ": math_notes, definition, proposition, lemma, theorem, corollary, example, proof
#show: math_notes
#block(inset: (left: -0.5em, right: -0.5em))[
#outline(title: text(font: "Noto Sans", size: 23pt, weight: 700, stretch: 150%)[Contents #v(1em)], dept... | |
https://github.com/caffeinatedgaze/bare-bones-cv | https://raw.githubusercontent.com/caffeinatedgaze/bare-bones-cv/main/main.typ | typst | #let configuration = yaml("configuration.yaml")
#let settings = yaml("settings.yaml")
#show link: set text(blue)
#set page(
paper: "a4",
margin: (
top: 1.5cm,
bottom: 1cm,
)
)
#show heading: h => [
#set text(
size: eval(settings.font.size.heading_large),
font: settings.font.general
)
#h
]... | |
https://github.com/pluttan/trps | https://raw.githubusercontent.com/pluttan/trps/main/lab2/lab2.typ | typst | #import "@docs/bmstu:1.0.0":*
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx
#show: student_work.with(
caf_name: "Компьютерные системы и сети",
faculty_name: "Информатика и системы управления",
work_type: "лабораторной работе",
work_num: "2",
discipline_name: "Технология разработки програм... | |
https://github.com/Ttajika/class | https://raw.githubusercontent.com/Ttajika/class/main/seminar/lib/useful_functions.typ | typst | #import "@preview/lemmify:0.1.5": *
#import "@preview/physica:0.9.2": *
#import "translation.typ": *
#let cap_body(it) = {if it != none {return it.body}
else {return it}
}
#let inactive_versions(name_varsion) = {
let name_version(title: none, label:none, body) = {
}
}
#let noindent() = {h(-1em)}
#let ... | |
https://github.com/mattyoung101/uqthesis_eecs_hons | https://raw.githubusercontent.com/mattyoung101/uqthesis_eecs_hons/master/pages/chapters/method.typ | typst | ISC License | = Method
In this paper, we present something important, presumably.
Check out @fig:abstract, would you?
#figure(
image("../../diagrams/abstract-unsplash.jpg", width: 60%),
caption: [ An abstract pattern. Looks cool. ]
) <fig:abstract>
#lorem(1700)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/metro/0.1.0/src/parsers.typ | typst | Apache License 2.0 | #import "@preview/t4t:0.2.0": is
#let _is-elem(elem, name) = {
return type(elem) == "content" and repr(elem.func()) == name
}
#let res-default = (body: none, power: none, qualifier: none, per: none)
// NULL unicode character as a marker
#let NULL-after = [\u{FFFF} ]
#let NULL-before = [ \u{FFFF}]
#let tothe = (x... |
https://github.com/vaucher-leo/template-tb-typst | https://raw.githubusercontent.com/vaucher-leo/template-tb-typst/main/page/Introduction.typ | typst | MIT License | #import "../config.typ": *
= Introduction
#lorem(100) |
https://github.com/binhtran432k/ungrammar-docs | https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/evaluation/method.typ | typst | #import "/components/glossary.typ": gls
== Evaluation Method
To ensure the quality and functionality of the Ungrammar Language Ecosystem,
we've implemented a robust evaluation plan that leverages #gls("tdd")
(@sec-tdd) and #gls("bdd") (@sec-bdd) methodologies. By employing a combination
of #gls("tdd") and #gls("bdd")... | |
https://github.com/rem3-1415926/Typst_Thesis_Template | https://raw.githubusercontent.com/rem3-1415926/Typst_Thesis_Template/main/README.md | markdown | MIT License | # Typst_Thesis_Template
Some thesis template in typst. Far from perfect or clean, but seems to work for now.
See https://typst.app/docs/reference/
and https://github.com/typst/typst |
https://github.com/wznmickey/JI_Lab_Report_typst_template | https://raw.githubusercontent.com/wznmickey/JI_Lab_Report_typst_template/main/README.md | markdown | # JI Physics Lab Report Template in Typst
Created by wznmickey and improved by mQzLjP.
## Usage
The repository contains two `.typ` files: `conf.typ` is a config file that should not be compiled, and `report.typ` is the template to generate the report. To compile `report.typ` successfully, put both in your working di... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue1.typ | typst | Other | #(
let foo(x) = {
return (..x, 5);
}
)
#foo((3,4))
|
https://github.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024 | https://raw.githubusercontent.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024/neko/实验/5.typ | typst | #set text(lang: "zh", font: "Noto Serif CJK SC")
#show "。": "."
= 实验五 交流伺服电动机实验
伺服电动机在⾃动控制系统中作为执⾏元件,⼜称为执⾏电动机,将输⼊的控制电压信号变为相应的⻆位移或⻆速度。伺服电动机运⾏状态由控制信号控制,施加控制信号应当⽴即旋转,去掉控制电压应当⽴即停转,转速⾼低与控制信号成正⽐。
=== 实验步骤和机械特性记录
==== 1. 实测交流伺服电机 $U_f = 220V$, $U_c= 1 $(即 $U_c = U_N = 220V$), $C = 3 F $时的机械特性
- 左侧空气开关闭合,面板交流开关闭... | |
https://github.com/optimizerfeb/AutomaticProof | https://raw.githubusercontent.com/optimizerfeb/AutomaticProof/main/01_소개.typ | typst | #set text(font: "NanumMyeongjoOTF")
#align(center, text(17pt)[
*자동 증명 프로그램 개발* \
개념 구상
])
#align(right, text(10pt)[
한남대학교 수학과
20172581 김남훈
])
= 1. 소개
기계를 이용해 어떤 명제를 자동으로 증명한다는 구상은 매우 오래 전부터 존재했으며, 컴퓨터가 실제로 등장하기 전에 이미 연구되어 왔다. 구체적으로는 1879년 수학자 *고틀롭 프레게* 가 술어 논리학을 창시했을 때부터 기계에게 명제를 증명하게 하려는 연구가 있어 왔다고 할 수 있... | |
https://github.com/yochem/apa-typst | https://raw.githubusercontent.com/yochem/apa-typst/main/main.typ | typst | #import "template.typ": apa7, showfootnotes, appendix
#set text(12pt)
#show: apa7.with(
title: "Example of APA7 Document in Typst",
authors: (
(name: "<NAME>", orcid: "test", affiliations: (1, 2)),
(name: "<NAME>", affiliations: (1,)),
(name: "<NAME>", affiliations: (2,)),
),
affiliations: (
"... | |
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/quotes_00.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
#set page(width: 250pt)
// Test simple quotations in various languages.
#set text(lang: "en")
"The horse eats no cucumber salad" was the first sentence ever uttered on the 'telephone.'
#set text(lang: "de")
"Das Pferd frisst keinen Gurkensalat" w... |
https://github.com/Toniolo-Marco/git-for-dummies | https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/advanced/revert.typ | typst | #import "@preview/touying:0.5.2": *
#import themes.university: *
#import "@preview/numbly:0.1.0": numbly
#import "@preview/fletcher:0.5.1" as fletcher: node, edge
#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)
#import "/src/components/gh-button.typ": gh_button
#import "/s... | |
https://github.com/zenor0/FZU-report-typst-template | https://raw.githubusercontent.com/zenor0/FZU-report-typst-template/main/fzu-report/utils/smart-pagebreak.typ | typst | MIT License | #let gen-smart-pagebreak(
always-skip-even: true,
skip-with-page-blank: true,
) = {
if always-skip-even == false {
pagebreak(weak: true)
} else if skip-with-page-blank == false {
pagebreak(weak: true, to: "odd")
} else {
page(header: none, footer: none)[~]
}
} |
https://github.com/tingerrr/hydra | https://raw.githubusercontent.com/tingerrr/hydra/main/tests/regressions/scoped-search/test.typ | typst | MIT License | // Synopsis:
// - fixes https://github.com/tingerrr/hydra/issues/5
// - if a level 2 heading cannot be found we don't go further than a level 1 heading back
#import "/src/lib.typ": hydra
#set heading(numbering: "1.1")
#show heading.where(level: 1): it => pagebreak(weak: true) + it
#set par(justify: true)
#set page(
... |
https://github.com/Myriad-Dreamin/tinymist | https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/completion/fp_dict_filter.typ | typst | Apache License 2.0 | // contains:a,ab,ac,ad
#let x = (
a: false,
ab: false,
ac: false,
ad: true,
)
#x.a /* range -1..0 */ |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/closure-04.typ | typst | Other | // Redefined variable.
#{
let x = 1
let f() = {
let x = x + 2
x
}
test(f(), 3)
}
|
https://github.com/veilkev/jvvslead | https://raw.githubusercontent.com/veilkev/jvvslead/Typst/files/6_passwords.typ | typst | #import "../sys/packages.typ": *
#import "../sys/sys.typ": *
#import "../sys/header.typ": *
#v(150pt)
= Accessing Operators
#note[
There are multiple ways that you are able to view operator numbers.
]
#grid(columns: (1fr, 1fr),
column-gutter: 0.15in,
)[
#subhead(head: true, "Manager Functions")
#badge-gre... | |
https://github.com/Jollywatt/typst-fletcher | https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/diagram-options/test.typ | typst | MIT License | #set page(width: auto, height: auto, margin: 1em)
#import "/src/exports.typ" as fletcher: diagram, node, edge
#diagram(
node-stroke: gray.darken(50%) + 1pt,
edge-stroke: green.darken(40%) + .6pt,
node-fill: green.lighten(80%),
node-outset: 2pt,
label-sep: 0pt,
node((0,1), $A$),
node((1,0), $sin compose cos comp... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-10.typ | typst | Other | // Ref: false
// Destructuring with an empty sink.
#let (a, b, ..c) = (1, 2)
#test(a, 1)
#test(b, 2)
#test(c, ())
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1E030.typ | typst | Apache License 2.0 | #let data = (
("MODIFIER LETTER CYRILLIC SMALL A", "Lm", 0),
("MODIFIER LETTER CYRILLIC SMALL BE", "Lm", 0),
("MODIFIER LETTER CYRILLIC SMALL VE", "Lm", 0),
("MODIFIER LETTER CYRILLIC SMALL GHE", "Lm", 0),
("MODIFIER LETTER CYRILLIC SMALL DE", "Lm", 0),
("MODIFIER LETTER CYRILLIC SMALL IE", "Lm", 0),
("MO... |
https://github.com/hrbrmstr/2023-10-20-wpe-quarto-typst | https://raw.githubusercontent.com/hrbrmstr/2023-10-20-wpe-quarto-typst/main/blank-test/_extensions/blank/typst-show.typ | typst | #show: doc => article(
$if(margin)$
margin: ($for(margin/pairs)$$margin.key$: $margin.value$,$endfor$),
$endif$
$if(papersize)$
paper: "$papersize$",
$endif$
doc
) | |
https://github.com/EGmux/ControlTheory-2023.2 | https://raw.githubusercontent.com/EGmux/ControlTheory-2023.2/main/unit2/multipleSubsystemReduction.typ | typst | #set heading(numbering: "1.")
= Why do this?
== Better Complexity analysis
Whenever a system is analysed complexity must be the minimum required,by
reducing multiple systems into a "big one" is easier to analyze, such pattern is
called reduction, and that is achieved by reducing each transfer function to a
single trans... | |
https://github.com/pascal-huber/typst-letter-template | https://raw.githubusercontent.com/pascal-huber/typst-letter-template/master/examples/DIN-5008-B.typ | typst | MIT License | #import "@local/lttr:0.1.0": *
#show : lttr-init.with(
debug: true,
format: "DIN-5008-B",
title: "Banana Order Confirmation",
opening: "Dear Peter,",
closing: "Peace, I'm out",
signature: "Hans",
horizontal-table: (
// NOTE: we can override the default fmt to format the tabl... |
https://github.com/touying-typ/touying | https://raw.githubusercontent.com/touying-typ/touying/main/examples/default.typ | typst | MIT License | #import "../lib.typ": *
#import themes.default: *
#import "@preview/numbly:0.1.0": numbly
#show: default-theme.with(
aspect-ratio: "16-9",
config-common(
slide-level: 3,
zero-margin-header: false,
),
config-colors(
primary: blue,
),
config-methods(
alert: utils.alert-with-primary-color,
... |
https://github.com/LugsoIn2/typst-htwg-thesis-template | https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/lib/appendix.typ | typst | MIT License | #let appendix(lang: "", appendix-font: "Arial", appendices: ()) = {
set page(
margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm),
numbering: "i",
number-align: center,
)
counter(page).update(1)
set text(
font: appendix-font,
size: 12pt,
lang: lang,
)
// {
// outline(
... |
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/007%20-%20Theros/006_Tragedy.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"Tragedy",
set_name: "Theros",
story_date: datetime(day: 23, month: 10, year: 2013),
author: "<NAME>",
doc
)
#figure(image("006_Tragedy/01.jpg", width: 100%), caption: [Triad of Fates | Art by Daarken], supplement: none, numbering: none)
#e... | |
https://github.com/8LWXpg/typst-treet | https://raw.githubusercontent.com/8LWXpg/typst-treet/master/test/test.typ | typst | MIT License | #import "../lib.typ": *
#tree-list[
- A A
- B B
]
#tree-list[
- A *A*
- *B* B
]
#tree-list[
- a
- a
- a
- a
- a
- a
- a
- a
- a
]
|
https://github.com/polarkac/MTG-Stories | https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/030%20-%20Amonkhet/005_The%20Hand%20That%20Moves.typ | typst | #import "@local/mtgstory:0.2.0": conf
#show: doc => conf(
"The Hand That Moves",
set_name: "Amonkhet",
story_date: datetime(day: 26, month: 04, year: 2017),
author: "<NAME>",
doc
)
#figure(image("005_The Hand That Moves/01.png", width: 100%), caption: [], supplement: none, numbering: none)
#emph[N... | |
https://github.com/EpicEricEE/typst-plugins | https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/qr/README.md | markdown | # qr
A package for generating QR codes (based on the Rust crate [`fast_qr`](https://github.com/erwanvivien/fast_qr)).
## Methods
### `create` method
Generates a QR code from the given data.
```typ
qr.create(
string | array | bytes,
format: string,
margin: number,
fill: color,
width: auto | relative leng... | |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/molebeny/molebenKSrdcuJezisovmu.typ | typst | #import "/style.typ": *
#import "/styleMoleben.typ": *
= Moleben k Srdcu Ježišovmu
#align(horizon + center)[#primText[
#text(50pt)[Moleben k \
Srdcu \
Ježišovmu]
]]
#let values = (
"tropar1": (4, none, "Dnes celý svet sa raduje, – lebo na oltári v ohnivom plameni skvie sa srdce Spasiteľa, – ktoré všetkých v... | |
https://github.com/Daillusorisch/HYSeminarAssignment | https://raw.githubusercontent.com/Daillusorisch/HYSeminarAssignment/main/template/components/doc.typ | typst | #import "@preview/i-figured:0.2.4": show-figure, show-equation, reset-counters
#import "../utils/style.typ": *
#import "../utils/circled.typ": convert-circled
#let doc(
// documentclass 传入参数
info: (:),
// 其他参数
fallback: false, // 字体缺失时使用 fallback,不显示豆腐块
lang: "zh",
margin: (x: 90pt, y: 82pt),
content
) ... | |
https://github.com/Mufanc/hnuthss-template | https://raw.githubusercontent.com/Mufanc/hnuthss-template/main/pages/references.typ | typst | #import "/configs.typ": font, fontsize
// Tips:你可以用这个工具将 BibTeX 格式的引用转换为 Hayagriva 格式
// - https://jonasloos.github.io/bibtex-to-hayagriva-webapp
#let references = [
// 标题居中、标题字体
#show heading.where(depth: 1): set align(center)
#show heading.where(depth: 1): set text(size: fontsize.L3, font: font.sans, we... | |
https://github.com/memset0/ZJU-Project-Report-Template | https://raw.githubusercontent.com/memset0/ZJU-Project-Report-Template/master/examples/blocks/testblocks.typ | typst | MIT License | #import "../../template.typ": *
#set page(height: 85em)
#show: project.with(
theme: "nocover",
author: "memset0",
)
#let render(theme_name) = [
#state_block_theme.update(theme_name)
= theme: #theme_name
#note(name: [Lagrange Inversion Theorem])[
Given a power serie $F(x)$ and another power series $G(x)... |
https://github.com/DashieTM/ost-5semester | https://raw.githubusercontent.com/DashieTM/ost-5semester/main/experiment/weeks/week4.typ | typst | #import "../../utils.typ": *
#section("Median")
#subsection("Modus")
- can be used as median
- attribute that is seen most often
- can be scalar or non-scalar
- often not clear -> multiple Modi possible
- example (1,2,6,5,3,4,3,) -> Modus 3
- attributes of Modus
- easy and fast to determine
- can be *used on any d... | |
https://github.com/0xPARC/0xparc-intro-book | https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/fhe3.typ | typst | #import "preamble.typ":*
= Levelled FHE from LWE
<fhe>
== The main idea: Approximate eigenvalues
Now we want to turn the public-key encryption from @lwe-crypto
into a levelled FHE scheme.
In other words:
We want to be able to encrypt bits (0s and 1s)
and operate on them with AND and NOT gates.
It might help to imag... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/set-04.typ | typst | Other | // Test relative path resolving in layout phase.
#let choice = ("monkey.svg", "rhino.png", "tiger.jpg")
#set enum(numbering: n => {
let path = "/" + choice.at(n - 1)
move(dy: -0.15em, image(path, width: 1em, height: 1em))
})
+ Monkey
+ Rhino
+ Tiger
|
https://github.com/domoritz/tvcg-journal-typst | https://raw.githubusercontent.com/domoritz/tvcg-journal-typst/main/template/main.typ | typst | MIT No Attribution | #import "@preview/tvcg-journal:0.0.1": tvcg
#show: tvcg.with(
title: [Global Illumination for Fun and Profit],
abstract: [
#lorem(150)
A free copy of this paper and all supplemental materials are available at https://OSF.IO/2NBSG.
],
authors: (
(
name: "<NAME>",
organization: [Brown U... |
https://github.com/sitandr/typst-examples-book | https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/typstonomicon/chapters.md | markdown | MIT License | # Create zero-level chapters
```typ
// author: tinger
#let chapter = figure.with(
kind: "chapter",
// same as heading
numbering: none,
// this cannot use auto to translate this automatically as headings can, auto also means something different for figures
supplement: "Chapter",
// empty caption required t... |
https://github.com/storopoli/graphs-complexity | https://raw.githubusercontent.com/storopoli/graphs-complexity/main/slides/slides-pt.typ | typst | Creative Commons Zero v1.0 Universal | #import "@preview/slydst:0.1.0": *
#import "@preview/diagraph:0.2.5": *
#import "@preview/lovelace:0.3.0": *
#set text(lang: "pt")
#show: slides.with(
title: "Teoria dos Grafos e Complexidade Computacional",
subtitle: none,
date: none,
authors: ("<NAME>, PhD",),
layout: "medium",
ratio: 4 / 3,
title-col... |
https://github.com/kazewong/lecture-notes | https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/python.typ | typst | #set page(
paper: "us-letter",
header: align(center, text(17pt)[
*Introduction to Python*
]),
numbering: "1",
)
#import "./style.typ": style_template
#show: doc => style_template(doc,)
= Foreword
`Python` is probably the most popular programming language by many measure these days, due to its simple lear... | |
https://github.com/haxibami/haxipst | https://raw.githubusercontent.com/haxibami/haxipst/main/README.md | markdown | # haxipst
My typst templates & utilities (WIP). Includes:
- `resume` - resume / document template
- `set-metadata` - utility to set metadata for PDF files
- `better-indent` - utility to indent first paragraph (See: [typst/typst #311](https://github.com/typst/typst/issues/311))
- `better-heading` - utilty to get loose... | |
https://github.com/rinmyo/ruby-typ | https://raw.githubusercontent.com/rinmyo/ruby-typ/main/manual.typ | typst | MIT License | // Set the document's basic properties.
#set document(author: ("rinmyo"), title: "ruby-typ")
#set page(numbering: "1", number-align: center)
#set text(font: "Linux Libertine", lang: "en")
#show link: underline
// Title row.
#align(center)[
#block(text(weight: 700, 1.75em, "ruby-typ"))
]
// Author information.
#pad(... |
https://github.com/VadimYarovoy/Networks2 | https://raw.githubusercontent.com/VadimYarovoy/Networks2/main/lab2/report/typ/questions.typ | typst | #import "@preview/colorful-boxes:1.2.0": *
= Ответы на вопросы
== Вопрос 1
#colorbox(
title: "TODO",
color: "blue",
radius: 2pt,
width: auto
)[
Архитектура современной почтовый системы:
Протоколы: SMTP, POP3, IMAP – зачем нужны
MTA, MDA, MUA – что это
Примеры используемого софта
]
\
Протоколы:
- SMTP (Si... | |
https://github.com/SundaeSwap-finance/sundae-audits-public | https://raw.githubusercontent.com/SundaeSwap-finance/sundae-audits-public/main/template/audit.typ | typst | // severity colors
#let severity_colors = (
Critical: rgb("#6E0B05"),
Major: rgb("#EC4460"),
Minor: rgb("#F7797D"),
Info: rgb("#CCDAD1"),
Witness: rgb("#9EE493"),
)
#let severity_text_colors = (
Critical: rgb("#FFFFFF"),
Major: rgb("#FFFFFF"),
Minor: rgb("#FFFFFF"),
Info: rgb("#000000"),
Witness: rg... | |
https://github.com/JvandeLocht/assignment-template-typst-hfh | https://raw.githubusercontent.com/JvandeLocht/assignment-template-typst-hfh/main/layout/acronyms.typ | typst | MIT License | #import "@preview/acrostiche:0.3.2": *
#let init-acronyms = init-acronyms((
"WTP": ("Wonderful Typst Package","Wonderful Typst Packages"),
))
|
https://github.com/coco33920/template_tdd | https://raw.githubusercontent.com/coco33920/template_tdd/main/README.md | markdown | Other | # Typst template
Welcome to the typst template of french associations.
Feel free to clone it and change the logo and you have your own template for your association :)
Feel free to change the name of the University and other people who would happen to give you money.
Cheers,
<NAME> |
https://github.com/Kasci/LiturgicalBooks | https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/_general/casoslov.typ | typst | #import "/style.typ": *
#let bg = {
rect(width: 95%, height: 95%, inset: 10pt, radius: 5pt, stroke: (paint: primary, thickness: 2pt),
rect(width: 100%, height: 100%, outset: 0pt, radius: 5pt, stroke: (paint: primary, thickness: 2pt))
)
}
#let project(body) = {
set page(
paper:"a5",
numbering: "... | |
https://github.com/Its-Alex/resume | https://raw.githubusercontent.com/Its-Alex/resume/master/lib/profile.typ | typst | MIT License | #import "components/link_with_icon.typ": linkWithIcon
#let profile(profile) = [
#block(breakable: false)[
#set text(size: 10pt)
#text(size: 18pt, weight: 800, fill: rgb("404040"))[#profile.name]
#text(size: 10pt, weight: 300,)[#profile.position]
#text(size: 10pt)[
#profile.birthday \
#pr... |
https://github.com/kotfind/hse-se-2-notes | https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/prob/lectures/2024-09-06.typ | typst | #import "/utils/math.typ": *
= Введение
$ "Итог" = 0.1 dot "ИДЗ" + 0.15 dot "Сем" + 0.25 dot "КР" + 50 dot "Экз" $
Нужно набрать $4$ --- не $3.5$
По ИДЗ бывают защиты
На семинарах могут быть самостоятельные
Кибзун, Горяинова, Наумов "ТВ и МС. Базовый курс с примерами к задачам" 2013 или
2014
КР на тему "случайные... | |
https://github.com/veilkev/jvvslead | https://raw.githubusercontent.com/veilkev/jvvslead/Typst/files/3_reprints_suspends.typ | typst | #import "../sys/packages.typ": *
#import "../sys/sys.typ": *
#import "../sys/header.typ": *
#show "Note": "Tip"
#v(120pt)
== Common Scenarios
Remote Evacuation
#h(10pt)
1) Partner asks lead to reprint a receipt while the lead is on the register. \
#h(10pt)
2) Soft boot needs to be performed, but an override is re... | |
https://github.com/chilingg/kaiji | https://raw.githubusercontent.com/chilingg/kaiji/main/part1/chapter1.typ | typst | Other | #import "../template/main.typ": main_body, font_size_list, parenthese_numbers, sans_font_cfg, thin_line, font_cfg
#import "@preview/tablex:0.0.6": gridx, tablex, rowspanx, colspanx, hlinex, vlinex, cellx
#show: body => main_body(body)
#counter(page).update(1)
#text(size: 30pt, tracking: 0em)[
汉字设计理论
#v(12pt)
]
... |
https://github.com/lvignoli/typst-action | https://raw.githubusercontent.com/lvignoli/typst-action/main/tests/math.typ | typst | MIT License | #set page(
width: auto,
height: auto,
background: rect(width: 100%, height: 100%, fill: rgb("ffe5b4"))
)
#set text(28pt)
$ e^(i pi) + 1 = 0 $ |
https://github.com/drupol/ipc2023 | https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/operating-system.typ | typst | #import "imports/preamble.typ": *
#focus-slide[
#set align(center + horizon)
#set text(size: 1.5em, fill: white, font: "Virgil 3 YOFF")
Nix is just#uncover("2-4")[.]#uncover("3-4")[.]#uncover("4-4")[.]
#uncover("5-")[a configuration management system]
#pdfpc.speaker-note(```md
Nix could also be used a... | |
https://github.com/storopoli/Bayesian-Statistics | https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/06-logistic_regression.typ | typst | Creative Commons Attribution Share Alike 4.0 International | #import "@preview/polylux:0.3.1": *
#import themes.clean: *
#import "utils.typ": *
#import "@preview/cetz:0.1.2": canvas, plot
#new-section-slide("Logistic Regression")
#slide(title: "Recommended References")[
- #cite(<gelman2013bayesian>, form: "prose") - Chapter 16: Generalized linear
models
- #cite(<mcelr... |
https://github.com/florianhartung/studienarbeit | https://raw.githubusercontent.com/florianhartung/studienarbeit/main/preparation/main.typ | typst | #set page(paper: "a4", margin: 2cm)
#set text(size: 12pt, font: "Arial");
#set par(
justify: true,
hanging-indent: 0em,
leading: 0.8em,
);
#align(center)[
#text(size: 1.5em)[
Exploring WebAssembly for versatile plugin systems through the example of a text editor
]
_<NAME>_
]
= Problem definition
WebA... | |
https://github.com/MilanR312/ugent_typst_template | https://raw.githubusercontent.com/MilanR312/ugent_typst_template/main/chapters/c1/text.typ | typst | MIT License | #import "../../template/prelude.typ": *
= The color blue
#introduction[We start by talking about how amazing the color blue is and end with why it is nice compared to other colors]
#todo[ talk about why it is amazing]
== The amazing color
#figure(
image("images/blue.png"),
caption: [A blue square]
)
== Compared to ... |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/block-spacing-00.typ | typst | Other | #set block(spacing: 10pt)
Hello
There
#block(spacing: 20pt)[Further down]
|
https://github.com/Myriad-Dreamin/typst.ts | https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par_01.typ | typst | Apache License 2.0 |
#import "/contrib/templates/std-tests/preset.typ": *
#show: test-page
// Test changing leading and spacing.
#set block(spacing: 1em)
#set par(leading: 2pt)
But, soft! what light through yonder window breaks?
It is the east, and Juliet is the sun.
|
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue12.typ | typst | Other | he'*llo World*
l’*exactitude*
a*b_c_e
|
https://github.com/SantaHirai/TypstTemplate | https://raw.githubusercontent.com/SantaHirai/TypstTemplate/main/template.typ | typst | #set text(font: "MS Mincho")
#set figure(supplement:[図])
#set heading(supplement: [])
#set image(width:80%)
#set heading(numbering: "1.")
#set raw(block: true,lang: "Java")
#show heading: it=>[
#set text(12pt,weight:900 ,font: "MS Gothic")
#strong(it)
]
#set par(justify: false,leading: 0.75em)
#set par(first-l... | |
https://github.com/eliapasquali/typst-thesis-template | https://raw.githubusercontent.com/eliapasquali/typst-thesis-template/main/preface/summary.typ | typst | Other | #import "../config/constants.typ": abstract
#set page(numbering: "i")
#counter(page).update(1)
#v(10em)
#text(24pt, weight: "semibold", abstract)
#v(2em)
#set par(first-line-indent: 0pt)
Il presente documento descrive il lavoro svolto durante il periodo di stage, della durata di circa trecento ore, dal laureando <NA... |
https://github.com/AU-Master-Thesis/thesis | https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/6-conclusion/mod.typ | typst | MIT License | #import "../../lib/mod.typ": *
#pagebreak()
= Conclusion <conclusion>
// Hypothesis 1
// Reimplementing the original GBP Planner in a modern, flexible multi-agent simulator
// framework using a modern programming language will enhance the software’s scien-
// tific communication and extendibility. This redevelopment w... |
https://github.com/Hyiker/report-typst | https://raw.githubusercontent.com/Hyiker/report-typst/master/main_en.typ | typst | Creative Commons Attribution 4.0 International | #import "report.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: "Sample Project Report",
subtitle: "A sample project on this & that",
abstract: lorem(50),
subject: "WTF is this?",
authors: (
(name: "<... |
https://github.com/WinstonMDP/knowledge | https://raw.githubusercontent.com/WinstonMDP/knowledge/master/progressions.typ | typst | #import "cfg.typ": cfg
#show: cfg
= Прогрессии
== Арифметическая
$a_n = a_1 + (n - 1)d$
Сумма: $n(a_1 + a_n)/2$
| |
https://github.com/frectonz/the-pg-book | https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/147.%20growth.html.typ | typst | growth.html
Startup = Growth
Want to start a startup? Get funded by
Y Combinator.
September 2012A startup is a company designed to grow fast. Being newly founded
does not in itself make a company a startup. Nor is it necessary
for a startup to work on technology, or take venture funding, or
have some sort of ... | |
https://github.com/SillyFreak/typst-preprocess | https://raw.githubusercontent.com/SillyFreak/typst-preprocess/main/tests/failure-outside-root/main.typ | typst | #import "@preview/prequery:0.1.0"
#prequery.image(
"https://upload.wikimedia.org/wikipedia/commons/a/af/Cc-public_domain_mark.svg",
"assets/public_domain.svg")
| |
https://github.com/WeetHet/typst.zed | https://raw.githubusercontent.com/WeetHet/typst.zed/main/README.md | markdown | Apache License 2.0 | # Typst
- Tree Sitter: [tree-sitter-typst](https://github.com/uben0/tree-sitter-typst/)
- Language Server: [tinymist](https://github.com/Myriad-Dreamin/tinymist/)
|
https://github.com/typst/packages | https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0B80.typ | typst | Apache License 2.0 | #let data = (
(),
(),
("TAMIL SIGN ANUSVARA", "Mn", 0),
("TAMIL SIGN VISARGA", "Lo", 0),
(),
("TAMIL LETTER A", "Lo", 0),
("TAMIL LETTER AA", "Lo", 0),
("TAMIL LETTER I", "Lo", 0),
("TAMIL LETTER II", "Lo", 0),
("TAMIL LETTER U", "Lo", 0),
("TAMIL LETTER UU", "Lo", 0),
(),
(),
(),
("TAMIL ... |
https://github.com/jaoleal/Sob_Proposal_Floresta | https://raw.githubusercontent.com/jaoleal/Sob_Proposal_Floresta/main/Sob_proposal.typ | typst | #show link: underline
#set page(numbering: "1")
= Floresta: Move Async-std to Tokio <proposal>
== Concepts Preview <concepts-preview>
The proposal is about changing the async runtime from `async-std` to `tokio` in the Floresta project, but more how they work on Floresta. The change is proposed by the lead developer and... | |
https://github.com/LDemetrios/Typst4k | https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/measure.typ | typst | --- measure ---
// Test `measure`.
#let f(lo, hi) = context {
let h = measure[Hello].height
assert(h > lo)
assert(h < hi)
}
#text(10pt, f(6pt, 8pt))
#text(20pt, f(13pt, 14pt))
--- measure-given-area ---
// Test `measure` given an area.
#let text = lorem(100)
#context {
let d1 = measure(text)
assert(d1.width... | |
https://github.com/thornoar/lambda-calculus-course | https://raw.githubusercontent.com/thornoar/lambda-calculus-course/master/main-lectures/final-test-2.typ | typst | #import "@local/common:0.0.0": *
#import "@local/theorem:0.0.0": *
#show: theorem
#import "./template.lib.typ": *
#show: formatting
#set heading(numbering: none)
#set text(size: 13pt)
#set page(background: image("pictures/troubles-faded.jpg", width: 100%, height: 100%, fit: "stretch"))
#head([ Итоговая работа, II вари... | |
https://github.com/Amalbeld/d-veloppement_informatique | https://raw.githubusercontent.com/Amalbeld/d-veloppement_informatique/main/Lab-3.typ | typst | #import "Class.typ": *
#show: ieee.with(
title: [#text(smallcaps("Lab #3: Web Application with Genie"))],
/*
abstract: [
#lorem(12).
],
*/
authors:
(
(
name: "<NAME>",
department: [ELNI],
organization: [ISET Bizerte --- Tunisia],
profile: "amalbeld",
),
)
// inde... | |
https://github.com/floriandejonckheere/utu-thesis | https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/chapters/07-proposed-solution/01-introduction.typ | typst | #import "@preview/acrostiche:0.3.1": *
#import "/helpers.typ": *
= Proposed solution <proposedsolution>
In this chapter, we propose *Modular Optimization to Service-oriented Architecture Identification Kit (MOSAIK)*, our solution for automated identification of microservice candidates in a monolith application.
The ... | |
https://github.com/jgm/typst-hs | https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-22.typ | typst | Other | // A star in the list.
// Error: 26-27 unexpected star
#import "module.typ": a, *, b
|
https://github.com/SillyFreak/typst-stack-pointer | https://raw.githubusercontent.com/SillyFreak/typst-stack-pointer/main/src/lib.typ | typst | MIT License | #import "@preview/polylux:0.3.1": only
#import "effects.typ": *
/// Sequence item with type `"step"`: a single step at which execution state can be inspected.
/// A step can have any fields associated with it that can be used to visualize the execution state.
///
/// - ..args (dictionary): exclusively named arguments... |
https://github.com/HackingGate/typst-out | https://raw.githubusercontent.com/HackingGate/typst-out/main/README.md | markdown | MIT License | # Typst Out GitHub Action
This GitHub action builds Typst files in your repository using a custom Typst ref, producing configurable output files and uploading them as artifacts.
[](https://github.co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.