repo
stringlengths
27
90
file
stringlengths
57
176
language
stringclasses
2 values
license
stringclasses
13 values
content
stringlengths
25
180k
https://github.com/Chwiggy/thesis_bachelor
https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/chapters/06_summary.typ
typst
#import "../preamble.typ": * = Hypotheses and their Falsification At the start of this project I set a few hypotheses to primarily falsify. It is tempting to change these hypotheses based on the data acquired here, but that would be akin to putting a cart in front of a horse. The hypotheses as originally set out are l...
https://github.com/f7ed0/typst-template
https://raw.githubusercontent.com/f7ed0/typst-template/master/template_stretch.typ
typst
#import "lib/blocks.typ": * #let init(type : [], title : [], authors:[], info : [], decoration: "assets/uphf.png",desc : [], allowance : 255pt, outline_depth : 3, preamble : [], doc) = { set text(size:10pt, font:"Montserrat", weight: 500, lang:"fr",hyphenate: false) show raw: set text(font: "Fira Code",size: 9pt,l...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/complex.typ
typst
Apache License 2.0
#import "/src/utils.typ": combine-dict #import "num/num.typ" #import "angle.typ": is-angle, parse as parse-angle, to-number as angle-to-number #import "unit.typ" as unit_ #import "qty.typ" #let default-options = ( complex-angle-unit: "degrees", complex-mode: "input", complex-root-position: "after-number", comp...
https://github.com/pths-prog-paradigms/GameOfLife
https://raw.githubusercontent.com/pths-prog-paradigms/GameOfLife/master/gol.typ
typst
#import "@preview/cetz:0.1.2" Поле представляет из себя потенциально бесконечную сетку. В каждой клетке может быть жизнь. Каждый ход, если у живой клетки два или три живых соседа, она остаётся живой, иначе умирает. Если у мёртвой клетки ровно три живых соседа, то в ней зарождается жизнь. Обозначим чёрным наличие жизни...
https://github.com/julius2718/wareki
https://raw.githubusercontent.com/julius2718/wareki/main/1.0.0/wareki.typ
typst
#let wareki_today = { let y = datetime.today().year() - 2018 let m = datetime.today().month() let d = datetime.today().day() if y == 1 [ 令和 元年 #m 月 #d 日 ] else [令和 #y 年 #m 月 #d 日] } #let wareki(y, m: none, d: none) = { let twareki = [#y 年] if y > 2019 { let reiwa = y - 2018 twareki = [令和 #re...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cuti/0.2.0/README.md
markdown
Apache License 2.0
# Cuti Cuti is a package that simulates fake bold / fake italic. This package is typically used on fonts that do not have a `bold` weight, such as "SimSun". ## Usage Please refer to the [English Demo & Doc](./demo-and-doc/demo-and-doc.pdf) located in the `demo-and-doc` directory for details. 本 Package 提供中文文档: [中文 D...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%20591%20-%20Mathematical%20Logic/Assignments/Assignment%201.typ
typst
#import "/Templates/generic.typ": latex, header #import "@preview/ctheorems:1.1.0": * #import "/Templates/math.typ": * #import "/Templates/assignment.typ": * #show: doc => header(title: "Assignment 1", name: "<NAME>", doc) #show: latex #show: NumberingAfter #show: thmrules #let ve = $epsilon$ #let seq = $subset.eq$ #le...
https://github.com/DashieTM/nix-introduction
https://raw.githubusercontent.com/DashieTM/nix-introduction/main/topics/flakes.typ
typst
#import "../utils.typ": * #polylux-slide[ == Flakes #v(15pt) - extension to nixos/homemanager - removes the issue of hashes - enables easy updates of inputs - lock file - technically an "experimental" feature #pdfpc.speaker-note(```md ```) ] #polylux-slide[ === Example #v(15pt) #sourcecode(```nix { descrip...
https://github.com/WinstonMDP/knowledge
https://raw.githubusercontent.com/WinstonMDP/knowledge/master/binomial_coeffs.typ
typst
#import "cfg.typ": cfg #show: cfg = Биноминальные коэффициенты $binom(abs(X), i) := abs({y subset.eq X | |y| = i})$. $binom(n, i) = n!/(i! (n - i)!)$. $binom(n, i) = binom(n, n - i)$. $binom(n + 1, i + 1) = binom(n, i) + binom(n, i + 1)$. $(a + b)^n = sum_(i = 0)^n binom(n, i) a^i b^(n - i)$. $sum_(i = 0)^n binom...
https://github.com/Jeomhps/datify
https://raw.githubusercontent.com/Jeomhps/datify/main/docs/README.md
markdown
MIT License
# Datify Datify is a simple date package that allows users to format dates in new ways and addresses the issue of lacking date formats in different languages. ## Installation To include this package in your Typst project, add the following to your project file: ```typst #import "@preview/datify:0.1.2": day-name, mo...
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/pages/undergraduate-decl.typ
typst
MIT License
#import "../utils/fonts.typ": 字号, 字体 #import "../utils/datetime-display.typ": datetime-display #import "../utils/indent-first-par.typ": fake-par #import "./template-individual.typ": template-individual #let undergraduate-decl( row-gutter: 11.5pt, ) = { template-individual("浙江大学本科生毕业论文(设计)承诺书")[ #set underline(...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rich-counters/0.1.0/README.md
markdown
Apache License 2.0
# `rich-counters` This package allows you to have **counters which depend on other counters**. Concretely, it implements `richcounter`, which is a counter that can _inherit_ one or more levels from another counter. The interface is similar to the [usual counter](https://typst.app/docs/reference/introspection/counter...
https://github.com/antonWetzel/Masterarbeit
https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/deckblatt.typ
typst
#import "setup.typ": * #align(center, { set text(size: 1.25em) text(size: 3em, [*Masterarbeit*]) v(0.5fr) { set align(left) set par(justify: true) align(center, pad(x: 2cm, [ *Berechnung von charakteristischen Eigenschaften von botanischen Bäumen mithilfe von 3D-Punktwolken.* ])) } v(1fr) table( co...
https://github.com/ceopaludetto/curriculum
https://raw.githubusercontent.com/ceopaludetto/curriculum/main/README.md
markdown
# Curriculum This is my curriculum source code. It is written in [Typst](https://github.com/typst/typst) a new markup-based typesetting system that is powerful and easy to learn. ## How to generate the PDF To generate the PDF, you need to have the [Tinymist Typst VSCode extension](https://github.com/Myriad-Dreamin/t...
https://github.com/Enter-tainer/m-jaxon
https://raw.githubusercontent.com/Enter-tainer/m-jaxon/master/typst-package/mj.typ
typst
MIT License
#import "@preview/jogs:0.2.2": compile-js, call-js-function #let mj-src = read("./mj.js") #let mj-bytecode = compile-js(mj-src) #let natural-image(..args) = style(styles => { let (width, height) = measure(image.decode(..args), styles) image.decode(..args, width: width, height: height) }) #let get-text(src) = { ...
https://github.com/pluttan/asmlearning
https://raw.githubusercontent.com/pluttan/asmlearning/master/dz2/dz2.typ
typst
#import "@docs/bmstu:1.0.0":* #show: student_work.with( caf_name: "Компьютерные системы и сети", faculty_name: "Информатика и системы управления", work_type: "домашней работе", work_num: "2", discipline_name: "Машинно-зависимые языки и основы компиляции", theme: "Лексические и синтаксические анализаторы", ...
https://github.com/denkspuren/typst_programming
https://raw.githubusercontent.com/denkspuren/typst_programming/main/wrapText/wrapper.typ
typst
#set par( first-line-indent: 1em, justify: true, ) = This is a Header #lorem(100) #block( width: 30%, fill: luma(230), inset: 8pt, radius: 4pt, lorem(30), ) #lorem(100)
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/credits/linear-algebra-credit3.typ
typst
#import "../template.typ": * #import "../functions.typ": * #show: project.with( title: "线性代数 第三周 附加题", authors: ( (name: "memset0", email: "<EMAIL>", phone: ""), ), date: "October 9, 2023", ) = 附加题1 #prob[ #set math.mat(delim: "(") $ bold(A)&=(a_(i j))_(n times n)\ bold(B)&=mat( a_11,a_12b^(-1),a_13b^(-2...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/013%20-%20Magic%202015/009_The%20Lunarch's%20Journal.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Lunarch's Journal", set_name: "Magic 2015", story_date: datetime(day: 13, month: 08, year: 2014), author: "<NAME>", doc ) #emph[On the plane of Innistrad, the angel Avacyn has returned to guide her faithful worshipers, pushing back the ...
https://github.com/QuadnucYard/cpp-coursework-template
https://raw.githubusercontent.com/QuadnucYard/cpp-coursework-template/main/cody.typ
typst
// cody.typ #import "@preview/codelst:2.0.1": sourcecode, codelst #import "font.typ": fonts #let codify-state = state("codify-lang", none) /// Add boxes to raw contents. /// /// - doc (any): The document. /// -> content #let raw-style(doc) = { show raw.line: set text(font: fonts.mono) show raw.where(block: true)...
https://github.com/isaacadams/typst-template
https://raw.githubusercontent.com/isaacadams/typst-template/main/README.md
markdown
# Welcome to your Typst Environment This is a template repo for when you are working with typst. ## Getting Started ### 1. create a new repo based on this template ```bash gh repo create my-typst-app --public --template isaacadams/typst-template ``` - `my-typst-app` &nbsp; replace with whatever name you want for y...
https://github.com/galaxia4Eva/galaxia4Eva
https://raw.githubusercontent.com/galaxia4Eva/galaxia4Eva/main/typst/Idi%20Naxui/document.typ
typst
#set page(height: 1028pt, width: 720pt, background: image("./images/IMG_7451.jpeg")) #align(center+bottom)[ #image("./images/IMG_7448.jpeg") ]
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/06-features-2/substitution/amiri-beh.typ
typst
Other
#import "/lib/draw.typ": * #import "/template/lang.typ": arabic-amiri #let start = (0, 0) #let end = (300, 140) #let graph = with-unit((ux, uy) => { // mesh(start, end, (50, 50)) txt([关闭ss01:#arabic-amiri()[ربن]], (0, 130), anchor: "lt", size: 42 * ux) txt([开启ss01:#arabic-amiri(text(features: ("ss01",))[ربن])]...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/jogs/0.2.0/README.md
markdown
Apache License 2.0
# Jogs Quickjs javascript runtime for typst. This package provides a typst plugin for evaluating javascript code. ## Example ````typst #import "@preview/jogs:0.2.0": * #set page(height: auto, width: auto, fill: black, margin: 1em) #set text(fill: white) #let code = ``` function sum() { const total = Array.protot...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/daisyui.typ
typst
#import "/components/glossary.typ": gls == Daisy UI <sec-daisyui> Daisy UI is a popular component library built on top of Tailwind CSS (@sec-tailwindcss), offering a collection of pre-built #gls("ui") components and utilities that can accelerate web development. This literature review will explore the key features, b...
https://github.com/davawen/Cours
https://raw.githubusercontent.com/davawen/Cours/main/typst/physique/0.1.0/elec.typ
typst
#import "utils.typ": * #let tenselr(label, rev: false, size: 0) = { (label: label, rev: rev, size: size) } #let tenserl(label, rev: false, size: 0) = { (label: label, rev: not rev, size: size) } #let tension(from, to, offset, tense, size: 0.7) = { import draw: * let midpoint = (from, 50%, to) let from = (midp...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/injectUser.typ
typst
```ts @Injectable() export class InjectUser extends AuthGuard('jwt') { handleRequest(err: any, user: any) { return user; } } ```
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/syntax_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test Unicode math. $ ∑_(i=0)^ℕ a ∘ b = \u{2211}_(i=0)^NN a compose b $
https://github.com/mps9506/quarto-lapreprint
https://raw.githubusercontent.com/mps9506/quarto-lapreprint/main/template.typ
typst
MIT License
// Some definitions presupposed by pandoc's typst output. #let blockquote(body) = [ #set text( size: 0.92em ) #block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body] ] #let horizontalrule = [ #line(start: (25%,0%), end: (75%,0%)) ] #let endnote(num, contents) = [ #stack(dir: ltr, spacing: 3pt, super[#n...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/resources/typst/figure-checksum.typ
typst
Other
#import "../../src/thesis/imports/preamble.typ": * #{ set align(center + horizon) set text(font: "V<NAME>") grid( columns: (1fr, 1fr, 1fr, 1fr, 1fr), rows: (40pt, 25pt), image("../../resources/images/inputs-icon.svg"), xarrow(sym: sym.arrow.r, width: 50pt, ""), image("../../resources/images/c...
https://github.com/jcvar/resume
https://raw.githubusercontent.com/jcvar/resume/main/resume.typ
typst
#import "template.typ": * #show: template.with(footer: link("https://github.com/jcvar/resume")[DRAFT]) #align(center)[ = <NAME> #link("mailto:<EMAIL>")[<EMAIL>] • #link("https://github.com/jcvar")[github.com/jcvar] • #link("tel:+571234567890")[+57 123 456 7890] ] == Skills === Full-Stack Development - Backend devel...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/utils/shortcuts.typ
typst
Other
// shortcuts #let iff = math.limits(sym.arrow.l.r.double.long) #let imply = math.limits(sym.arrow.r.double.long) #let since = math.limits(sym.arrow.l.double.long) #let mul = math.dot #let empty = sym.nothing.rev #let quad = sym.space.quad #let maps = sym.arrow.long.bar #let sim = sym.zws + sym.tilde + sym.zws #let pc =...
https://github.com/fkasatt/myTypstConf
https://raw.githubusercontent.com/fkasatt/myTypstConf/main/basic/0.1.0/basic.typ
typst
#let basic(doc, font_fam, font_size) = { set page("a4") set align(left) set par(justify: true) // フォント設定 set text(font: font_fam, size: font_size, lang: "ja") show emph: set text(font: "IPAmjMincho Italic") show strong: it => { text(font: "Noto Sans CJK JP", weight: "regular")[#it.body] } show heading: set ...
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/utils/glossarium.typ
typst
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/path_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 7-47 path vertex must have 1, 2, or 3 points // #path(((0%, 0%), (0%, 0%), (0%, 0%), (0%, 0%)))
https://github.com/jomaway/typst-linguify
https://raw.githubusercontent.com/jomaway/typst-linguify/main/lib/linguify.typ
typst
MIT License
// linguify.typ #import "utils.typ": * #import "fluent.typ" /// None or dictionary of the following structure: /// /// - `conf` /// - `data_type` (string): The type of data structure used for the database. If not specified, it defaults to `dict` structure. /// - `default-lang` (string): The default language to use...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/para/para_mix.typ
typst
In this changed, we will changed the various factors that influence _fluid dynamics_ in to the formation and behaviour of these natural structures. Something new. Monkey. All changed are to be changed electronically to the site created for each conference. The manuscript upload will be enabled several weeks after acc...
https://github.com/weeebdev/cv
https://raw.githubusercontent.com/weeebdev/cv/main/modules_ru/professional.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Профессиональный опыт") #cvEntry( title: [Ассистент преподавателя], society: [Университет Назарбаева], logo: "../src/logos/xyz_corp.png", date: [Апр 2023 - Дек 2023], location: [Астана, Казахстан], description: list( [Помощь в преподав...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/README.md
markdown
The Unlicense
# my college files [Github 地址](https://github.com/lxl66566/my-college-files) | [Gitee 镜像](https://gitee.com/lxl66566/my-college-files),如果能帮到您的话请到 Github 地址点个 Star ⭐,谢谢! 记录我(和大家?)大学生涯中的一些文件(华东理工大学信息工程专业资料全收集) 本校学生若需要其他更全面的文件,请移步 [ecust-CourseShare](https://github.com/tianyilt/ecust-CourseShare)。 > 当然,除了此处的课件,我也写了一点没...
https://github.com/HarryLuoo/sp24
https://raw.githubusercontent.com/HarryLuoo/sp24/main/431/notes/notew4.typ
typst
= Lecture Monday Feb 12 == Review *Partition of $Omega$*: events $B_1, ..., B_n$ that are pairwise disjoint: $B_1 union ... union B_n = Omega$\ *Law of total probability* $P(A)=P(A|B_1)P(B_1)+ ... + P(A|B_n)P(B_n)$\ *Bayes' Theorem* $P(B|A)=(P(A|B)P(B))/P(A)$, for P(A) and P(B) > 0\ *Independence* for independent event...
https://github.com/DrakeAxelrod/cvss.typ
https://raw.githubusercontent.com/DrakeAxelrod/cvss.typ/main/README.md
markdown
MIT License
<!-- Improved compatibility of back to top link: See: https://github.com/othneildrew/Best-README-Template/pull/73 --> <a name="readme-top"></a> <!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or sim...
https://github.com/Dav1com/wasm-random-plugin
https://raw.githubusercontent.com/Dav1com/wasm-random-plugin/master/test.typ
typst
MIT License
#let _plugin = plugin("./target/wasm32-unknown-unknown/release/wasm_random_plugin.wasm") = abc = hola #{ let x = _plugin.hello(bytes((1,))) linebreak() [#for i in range(8) [ #x.at(i)] ] let y = _plugin.hello(bytes((2,))) linebreak() [#for i in range(8) [ #y.at(i)] ] } #locate(loc => { let...
https://github.com/connachermurphy/typst-slides
https://raw.githubusercontent.com/connachermurphy/typst-slides/main/template_slides.typ
typst
MIT License
// Get short_title into footer without having to pass short_title to #slide // #let heading_font = "Futura" // #let body_font = "Lora" // #let body_font = "Linux Libertine" #let title_size = 28pt #let body_size = 20pt #let foot_size = 12pt #let presentation( title, author, date, body ) = { set pa...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/homework/linear-algebra-homework14.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra Homework #14", authors: ( (name: "<NAME> (#95)", email: "<EMAIL>", phone: "3230104585"), ), date: "December 26, 2023", ) #let AA = math.bold(math.italic("A")) #let BB = math.bold(math.italic("B")) #let XX = math.bold(math.italic("X")) ...
https://github.com/ufodauge/typst-algomod
https://raw.githubusercontent.com/ufodauge/typst-algomod/main/algomod.typ
typst
MIT License
#let algomodState = state("algomod_state", ( number: 0, indent: 0, )) #let updateIndent(lambda) = { assert(type(lambda) == "function") algomodState.update(dict => { let indent = lambda(dict.indent) dict.indent = calc.max(indent, 0) return dict }) } #let createStatement( preIndent: 0, post...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/octique/0.1.0/octique.typ
typst
Apache License 2.0
#import "impl/octique.typ": _octique-svg, _octique-image // Returns an image for the given name. #let octique(name, color: rgb("#000000"), width: 1em, height: 1em) = _octique-image(name, color: color, width: width, height: width) // Returns a boxed image for the given name. #let octique-inline(name, color: rgb("#0000...
https://github.com/DrGo/typst-tips
https://raw.githubusercontent.com/DrGo/typst-tips/main/src/chapter.typ
typst
// function that gets a chapter as its `body` and formats // it as a chapter in a scientific book #let chapter( // The Chapter's title. title: "Chapter title", // The chapters's authors. author: "", // The paper size to use. paper: "us-letter", // paletino OS replacement "TeX <NAME>", body_font: "Minion Pro", title...
https://github.com/tony-rsa/thonifho.muhali.cv
https://raw.githubusercontent.com/tony-rsa/thonifho.muhali.cv/main/src/sections/ru/projects.typ
typst
MIT License
#import "../../template.typ": * #cvSection("Проекты") #cvEntry( title: [Spin], host: [#link("https://github.com/tensorush/zig-spin")[#gh #hSpc() tensorush/zig-spin]], date: [23 сентября, 2023], mode: [Разрабатывается], logo: "assets/logos/spn.png", desc: [#emoji.lizard #emoji.yoyo Zig SDK для Spin, фреймв...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/可视化/圈/quan.typ
typst
= circle 包含可选内容的圆圈。 = 例 #image("1.png") = 参数 #image("2.png") #image("3.png") #image("4.png")
https://github.com/Scriptorgames/JIF-JUFO-Paper
https://raw.githubusercontent.com/Scriptorgames/JIF-JUFO-Paper/main/template.typ
typst
#let script-size = 8pt #let footnote-size = 8.5pt #let small-size = 9pt #let normal-size = 10pt #let large-size = 12pt #import "term.typ": term #import "@preview/showybox:2.0.1": showybox #import "@preview/codelst:2.0.0": sourcecode #let sc = sourcecode.with( numbers-style: (lno) => text(size: 10pt, font: "Times Ne...
https://github.com/AOx0/expo-nosql
https://raw.githubusercontent.com/AOx0/expo-nosql/main/book/src/basics.md
markdown
MIT License
# Basics This template allows you to produce presentation slides in [Typst](https://typst.app), just like you would use the _beamer_ package in LaTeX. (So far, it is much less advanced than beamer, obviously.) There are two main building blocks, the functions `slides` and `slide`. The first one, `slides` allows you t...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/intro.md
markdown
--- sidebar_position: 1 --- # Introduction to Touying [Touying](https://github.com/touying-typ/touying) is a slide/presentation package developed for Typst, based on [Polylux](https://github.com/andreasKroepelin/polylux). Touying is similar to LaTeX Beamer but benefits from Typst, providing faster rendering speed and...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/terms_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test with constructor. #terms( ([One], [First]), ([Two], [Second]), )
https://github.com/Mr-lonely0/WHU-thesis-typst
https://raw.githubusercontent.com/Mr-lonely0/WHU-thesis-typst/main/README.md
markdown
# WHU-thesis-typst This repo reserves for typst template of WHU thesis.
https://github.com/ralphmb/My-Dissertation
https://raw.githubusercontent.com/ralphmb/My-Dissertation/main/sections/litreview.typ
typst
Creative Commons Zero v1.0 Universal
There is a wealth of literature concerning itself with the statistical modelling of football. For fans of the sport it is perhaps the unpredictability of the game that makes it appealing, as while team strength is of course a large factor in game outcome, the multitude of other causal variables can lead to upset wins a...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/02-concepts/dimension/dimension.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## Dimensions, sidebearings and kerns == #tr[dimension]、#tr[sidebearing]和#tr[kern] // As mentioned above, part of the design for a font is deciding how wide, how t...
https://github.com/almarzn/portfolio
https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/layout.typ
typst
#let presentation(contents) = [ = #contents.profile.name #set text(weight: "light") ] #let skills(contents) = [ #set par(justify: false) == À propos #contents.presentation === Compétences #for skill in contents.skills [ ==== #skill.title #for item in skill.items [ - #item ] ] ]...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-indent_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test hanging indent. #set par(hanging-indent: 15pt, justify: true) #lorem(10)
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/8.typ
typst
#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, ) // Display block code in a larger block // with more padding. #show raw.where(block: true): block.with( fill: luma(240), inset: 10pt,...
https://github.com/freundTech/typst-typearea
https://raw.githubusercontent.com/freundTech/typst-typearea/main/tests/bcor.query.typ
typst
MIT License
#import "../typearea.typ": * #show: typearea.with( width: 110pt, height: 100pt, div: 10, binding-correction: 10pt, ) #context [ #layout(size => [ #metadata(here().position() + size)<result> ]) ] #metadata(( page: 1, x: 20pt, y: 10pt, width: 70pt, height: 70pt, ))<expected>
https://github.com/r8vnhill/keen-manual
https://raw.githubusercontent.com/r8vnhill/keen-manual/main/omp/genetic_operators.typ
typst
BSD 2-Clause "Simplified" License
== Genetic operators Genetic operators are crucial components in genetic algorithms, directly manipulating genetic material to drive the evolutionary process. These operators, including mutation, crossover, and selection, modify genetic material to produce variability and innovation within a population. In the Keen ...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/paragraph.typ
typst
Apache License 2.0
#let paragraph-rules(body) = { set par(first-line-indent: 1em, justify: true) body }
https://github.com/ludwig-austermann/modpattern
https://raw.githubusercontent.com/ludwig-austermann/modpattern/main/examples/translations_and_backgrounds.typ
typst
MIT License
#import "../main.typ": * Suppose you have this: #rect(width: 5cm, height: 2cm, fill: modpattern((100pt, 50pt), circle(stroke: 5pt))) You can then easily tranlate the circles via the `dx` and `dy` arguments: #rect(width: 5cm, height: 2cm, fill: modpattern((100pt, 50pt), circle(stroke: 5pt), dx: 5pt, dy: 5pt)) Now, add...
https://github.com/skyzh/chicv
https://raw.githubusercontent.com/skyzh/chicv/master/README.md
markdown
Creative Commons Zero v1.0 Universal
# Typst CV Template A simple CV template for [typst.app](https://typst.app). ## How To Use ### Quick Start Create a project on [typst.app](https://typst.app), copy paste everything in https://github.com/skyzh/chicv/blob/master/template/cv.typ. All done! ### Customize your CV To change the text size, you can uncom...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/ttf-outline.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ## TrueType Representation == TrueType#tr[outline]表示法 // So that was the PostScript format, which is the normal way of exporting OpenType fonts. But Glyphs allows ...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/viewegh.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": autor #autor("<NAME>", "1962", "", "spisovatel, publicista, fejetonista", "pedagogiku na UK", "novodobý", "/cj-autori/media/viewegh.jpg") Současný český autor. Každý rok vydává jeden román. Rezignoval na psaní umělecky hodnotné literatury, spisovatel je jeho povolání, píše pro poptávku. Báječná...
https://github.com/x14ngch3n/CV
https://raw.githubusercontent.com/x14ngch3n/CV/main/CV.typ
typst
#import "template.typ": * #show: cv = <NAME> #align(center)[800 Dongchuan RD. Minhang District, Shanghai, China] #v(-5pt) #align(center)[ #fa[#envelope] #link("mailto:<EMAIL>") $dot$ #fa[#globe] #link("http://xiangchen.xyz")[xiangchen.xyz] $dot$ #fa[#github] #link("https://github.com/cascades-sjtu")[cascades...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/circuiteria/0.1.0/src/elements/group.typ
typst
Apache License 2.0
#import "@preview/cetz:0.2.2": draw, coordinate #import "../util.typ" /// Draws a group of elements /// /// #examples.group /// - body (elements, function): Elements to group /// - id (str): see #doc-ref("element.elmt") /// - name (str): The group's name /// - name-anchor (str): The anchor for the name. \ /// Note...
https://github.com/Amirhosein-GPR/university_notes
https://raw.githubusercontent.com/Amirhosein-GPR/university_notes/main/cyber_physical_systems.typ
typst
#import "assets/typst/templates/note.typ": note #import "assets/typst/tools/tool.typ" #let red_color = rgb(200, 0, 0, 255) #let orange_color = rgb(220, 100, 0, 255) #let yellow_color = rgb(130, 130, 0, 255) #let green_color = rgb(0, 120, 0, 255) #let blue_color = rgb(0, 100, 200, 255) #let dark_blue_color = rgb(0, 0, ...
https://github.com/LDemetrios/Conspects-4sem
https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/sources/gpu.typ
typst
#import "header.typ": * #show: general-style #setup-exec("gpu.typext", it => read(it)) = Программирование на видеокартах == Начало === Как это всё компилировать ===== Хост-код `.h` файлы для C/C++ есть на официальном сайте, правда, там есть задепрекейченные полезные функции. Придётся задефайнить версию. Достаточ...
https://github.com/pku-typst/ichigo
https://raw.githubusercontent.com/pku-typst/ichigo/main/test.typ
typst
MIT License
#import "src/model.typ": themes-validation #themes-validation(( course-name: "Typst 使用小练习", serial-str: "第 1 次作业", author-info: "PKU-Typst", author-names: (), ))
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap8/4_ammeter_design.typ
typst
Other
#import "../../core/core.typ" === Ammeter design A meter designed to measure electrical current is popularly called an "ammeter" because the unit of measurement is "amps." In ammeter designs, external resistors added to extend the usable range of the movement are connected in _parallel_ with the movement rather than ...
https://github.com/Nerixyz/icu-typ
https://raw.githubusercontent.com/Nerixyz/icu-typ/main/README.md
markdown
MIT License
# icu-datetime <!-- markdownlint-disable-file MD033 --> <!-- markdownlint-configure-file { "no-duplicate-heading": { "siblings_only": true } } --> This library is a wrapper around [ICU4X](https://github.com/unicode-org/icu4x)' `datetime` formatting for Typst which provides internationalized formatting for dates, time...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-3130.typ
typst
Apache License 2.0
#let data = ( (), ("HANGUL LETTER KIYEOK", "Lo", 0), ("HANGUL LETTER SSANGKIYEOK", "Lo", 0), ("HANGUL LETTER KIYEOK-SIOS", "Lo", 0), ("HANGUL LETTER NIEUN", "Lo", 0), ("HANGUL LETTER NIEUN-CIEUC", "Lo", 0), ("HANGUL LETTER NIEUN-HIEUH", "Lo", 0), ("HANGUL LETTER TIKEUT", "Lo", 0), ("HANGUL LETTER SSAN...
https://github.com/ntjess/typst-drafting
https://raw.githubusercontent.com/ntjess/typst-drafting/main/docs/utils.typ
typst
The Unlicense
#import "../drafting.typ" #let example-box = box.with(fill: white.darken(3%), inset: 0.5em, radius: 0.5em, width: 100%) #let dummy-page(width, height: auto, margin-left, margin-right, content) = { let total-width = width + margin-left + margin-right style(styles => { let content-box = box( height: heigh...
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/src/util/core.typ
typst
MIT License
#import "@preview/oxifmt:0.2.0": strfmt as fmt /// Substitute `value` for the return value of `default()` if it is a sentinel value. /// /// - value (any): The value to check. /// - default (function): The function to produce the default value with. /// - check (any): The sentinel value to check for. /// -> any #let o...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/bonus1.typ
typst
MIT License
#import "@local/evan:1.0.0":* #show: evan.with( title: [Some review problems for Midterm 1], subtitle: [18.02 Recitation MW9], author: "<NAME>", date: [16 September 2024], ) #quote(attribution: [Cynthia in Pokémon Diamond and Pearl])[ The power you learned... I can feel it emanating from you. But that's e...
https://github.com/jens-hj/ds-exam-notes
https://raw.githubusercontent.com/jens-hj/ds-exam-notes/main/lectures/1.typ
typst
#import "../lib.typ": * #show link: it => underline(emph(it)) #set math.equation(numbering: "(1)") #set enum(full: true) #set math.mat(delim: "[") #set math.vec(delim: "[") #set list(marker: text(catppuccin.latte.lavender, sym.diamond.filled)) #show heading.where(level: 1): it => text(size: 22pt, it) #show heading.wh...
https://github.com/yaoyuanArtemis/resume
https://raw.githubusercontent.com/yaoyuanArtemis/resume/main/README.md
markdown
Do What The F*ck You Want To Public License
# typst-cv-miku This is a simple, elegant, academic style CV template for [typst](https://typst.app/). Support for English and Chinese (and more). You can see the online demo [here](https://typst.app/project/rbxGsQC-tEkDq0mnNIuxkv). ## Usage 1. Read [typst](https://typst.app/docs/) documentation to know about Typs...
https://github.com/xkevio/parcio-typst
https://raw.githubusercontent.com/xkevio/parcio-typst/main/parcio-thesis/main.typ
typst
MIT License
#import "template/template.typ": * #import "template/parcio-bib.typ": parcio-bib // Title, Author, Abstract, // optional: thesis-type to specify "Bachelor", "Master", "PhD", etc., // optional: reviewers to specify "first-reviewer", "second-reviewer" and (if needed) "supervisor". // optional: date to specify your deadl...
https://github.com/yy01zz02/profile-template
https://raw.githubusercontent.com/yy01zz02/profile-template/main/readme.md
markdown
MIT License
# Typst 中文简历模板 ## 介绍 一个借助 Github Actions 实现自动部署的 Typst 简历模板。效果如下(也可参考 Release 页面中的 PDF 文件): | [中文示例](https://github.com/NorthSecond/Auto_Typst_Resume_Template/releases/download/Release-template-1.0.0/default.pdf) | [英文示例](https://github.com/NorthSecond/Auto_Typst_Resume_Template/releases/download/Release-template-...
https://github.com/SeniorMars/typst-raytracer
https://raw.githubusercontent.com/SeniorMars/typst-raytracer/main/readme.md
markdown
# raytracer in typst So far, I've implemented the mandelbrot as a proof of concept. ![Mandelbrot](https://user-images.githubusercontent.com/31679231/228093331-d9e44897-11dd-4e35-aeee-0252ced9ecd4.png) This was made to test my parser. Here is the output: ```treesitter (source_file (set_expression (function_c...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/021%20-%20Battle%20for%20Zendikar/013_At%20Any%20Cost.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "At Any Cost", set_name: "Battle for Zendikar", story_date: datetime(day: 25, month: 11, year: 2015), author: "<NAME>", doc ) #emph[Ob Nixilis is having a bad day.] #emph[Things had been going so well. He'd seized the power of the relocated...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/align.typ
typst
// Test alignment. --- align-right --- // Test ragged-left. #set align(right) To the right! Where the sunlight peeks behind the mountain. --- align-in-stack --- #set page(height: 100pt) #stack(dir: ltr, align(left, square(size: 15pt, fill: eastern)), align(center, square(size: 20pt, fill: eastern)), align(right...
https://github.com/antonWetzel/Masterarbeit
https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/analyse.typ
typst
#import "setup.typ": * = Analyse von Bäumen Die charakteristischen Eigenschaften werden für jeden Baum einzeln berechnet. Für jeden Punkt im Baum wird zuerst die relative Höhe, lokale Krümmung und zugehörige horizontale Ausdehnung bestimmt. Mit diesen Daten wird dann eine Unterteilung in Boden, Stamm und Krone durch...
https://github.com/astrale-sharp/typst-assignement-template
https://raw.githubusercontent.com/astrale-sharp/typst-assignement-template/main/libs/science.typ
typst
MIT License
#let display_float(f, digits: 4) = { let exp = calc.floor(calc.log(f)) let div = if exp < 0 {1/calc.pow(10, -exp)} else {calc.pow(10, exp)} let mant = f / div let mant = calc.round(mant, digits: digits) [$#mant times 10^#exp $] } #display_float(9000,digits : 1) #display_float(0.01, digits : 4) ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/041%20-%20Kaldheim/007_Episode%204%3A%20Into%20the%20Demons'%20Realm.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 4: Into the Demons' Realm", set_name: "Kaldheim", story_date: datetime(day: 27, month: 01, year: 2021), author: "<NAME> & <NAME>", doc ) For once in her time on Kaldheim, Kaya didn't need to worry about the cold. On the other side o...
https://github.com/SillyFreak/typst-packages-old
https://raw.githubusercontent.com/SillyFreak/typst-packages-old/main/crudo/gallery/test.typ
typst
MIT License
// make the PDF reproducible to ease version control #set document(date: none) // #import "../src/lib.typ" #import "@preview/crudo:0.1.0" #import "@preview/codly:0.2.1": * #show: codly-init #codly() #let preamble = ```typ #import "@preview/crudo:0.0.1" ``` #let example = ````typ #crudo.r2l(```c int main() { ret...
https://github.com/MattiaOldani/Informatica-Teorica
https://raw.githubusercontent.com/MattiaOldani/Informatica-Teorica/master/capitoli/complessità/16_richiami_matematici.typ
typst
= Richiami matematici: simboli di Landau Quello che facciamo nella teoria della complessità è chiederci _"quanto costa questo programma?"_ Per capire il costo di un dato programma valuteremo delle funzioni nella forma $f(n)$, dove $n$ indica la grandezza dell'input della DTM. Nel fare il confronto tra due algoritmi p...
https://github.com/levinion/typst-dlut-templates
https://raw.githubusercontent.com/levinion/typst-dlut-templates/main/templates/thesis/abstract.typ
typst
MIT License
#import "../util/style.typ":font_size,font_family,vspacer #import "../util/functions.typ":invisible_heading #let chinese_abstract(content, keywords)={ if content != none { set align(center) set text(font: font_family.heiti, size: font_size.xiao_san) set par(leading: 0.6em) [摘#h(2em)要\ \ ] ...
https://github.com/Quaternijkon/notebook
https://raw.githubusercontent.com/Quaternijkon/notebook/main/content/数据结构与算法/.chapter-数据结构/树/子结构判断.typ
typst
#import "../../../../lib.typ":* === #Title( title: [子结构判断], reflink: "https://leetcode.cn/problems/shu-de-zi-jie-gou-lcof/description/", level: 2, )<子结构判断> #note( title: [ 子结构判断 ], description: [ 给定两棵二叉树 tree1 和 tree2,判断 tree2 是否以 tree1 的某个节点为根的子树具有 相同的结构和节点值 。 注意,空树 不会是以 tree1 的某个节点为根的子树具有 相同的结构和节点值 。 ...
https://github.com/jamesrswift/typst-chem-par
https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/src/rules/formulae.typ
typst
MIT License
#import "../stateful.typ": * #import "../constants.typ": elements, pseudo-elements // Prepare array of elements #let all-elements = elements + pseudo-elements #all-elements = all-elements.sorted( (it) => it.len() ) #let ChemRegex = "(\(?((" + all-elements.map(it=>{"("+it+")"}).join("|") + ")+\d?)+(\)\d*)?(\d*([\+-])?...
https://github.com/xhalo32/constructive-logic-course
https://raw.githubusercontent.com/xhalo32/constructive-logic-course/master/slides/02-todistaminen.typ
typst
#import "@preview/touying:0.4.2": * #import "slidetheme.typ" #import "@preview/note-me:0.2.1": * #import "@preview/prooftrees:0.1.0": * #let palette = ( rgb("#7287fd"), // lavender rgb("#209fb5"), // sapphire rgb("#40a02b"), // green rgb("#df8e1d"), // yellow rgb("#fe640b"), // peach rgb("#e64553"), // mar...
https://github.com/elpekenin/access_kb
https://raw.githubusercontent.com/elpekenin/access_kb/main/typst/bootstrap.typ
typst
//! Set everything up before including the actual content /// Packages #import "@preview/codly:1.0.0": codly, codly-init #import "@preview/glossarium:0.4.2": make-glossary, register-glossary #import "@preview/hydra:0.5.1": hydra /// Local files #import "glossary.typ": entry-list /// Set rules #set heading(numbering:...
https://github.com/tingerrr/subpar
https://raw.githubusercontent.com/tingerrr/subpar/main/test/supplement/test.typ
typst
MIT License
// Synopsis: // - default supplement is figure // - supplement is inferred from kind // - set supplement is used and propagated by default // - propagation works as expected #import "/test/util.typ": * #import "/src/lib.typ" as subpar // default supplement is figure #subpar.grid( figure(fake-image, caption: [Inner ...
https://github.com/Personal-Data-Acquisition/PDA_paperwork
https://raw.githubusercontent.com/Personal-Data-Acquisition/PDA_paperwork/main/last_term/executive_summary.typ
typst
= Executive Summary (Team 6) #strong[Authors:] <NAME>, <NAME>, <NAME>, <NAME> #strong[DATE:] 2024-04-08 The Data Logger developed as part of this capstone project uses the common STM32F1 series of microcontrollers integrated with a Controller Area Network (CAN) bus and implemented using Embedded Rust. Sensor capabili...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/intake-rebuild/decide.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Decide: Intake Rebuild", type: "decide", date: datetime(year: 2024, month: 2, day: 16), // TODO: fix date author: "<NAME>", witness: "Violet Ridge", ) In order to make...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/terms-06.typ
typst
Other
// Error: 8 expected colon / Hello
https://github.com/DamienFlury/summaries
https://raw.githubusercontent.com/DamienFlury/summaries/main/OOP1/main.typ
typst
#import "typst-boxes.typ": * #set page( header: align(right)[OOP Zusammenfassung – <NAME>], numbering: "– 1 –", flipped: true, margin: 20pt, ) #show: content => columns(5, content) #set text( lang: "de", size: 8pt, ) #let warn(body) = { slantedColorbox( title: "Warnung", color: "red", rad...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/types/number/test.typ
typst
Other
#import "/src/lib.typ" as z #import "/tests/utility.typ": * #show: show-rule.with(); #let schema = z.any() = types/number == Input types == Custom assertions === Min #let test-min(valid: true, value, minimum: 0) = utility-expect-eq( test: value, schema: z.number(min: minimum), truth: if (valid) { value ...