repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/chendaohan/bevy_tutorials_typ
https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/30_bloom/bloom.typ
typst
#set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3") #set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei") #set raw(theme: "themes/Material-Theme.tmTheme") = 1. 辉光 “Bloom”效果会在亮光周围产生光晕。虽然这不是一种物理上准确的效果,但它受到了通过脏或不完美镜头看光线的启发。 Bloom在帮助感知非常亮的光线方面表现出色,尤其是在显示硬件不支持HDR输出时。你的显示器只能显示一定的...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/CHANGELOG.md
markdown
Other
# Revision history for typst-hs ## 0.6 * Recognize figure.caption function (#52). * Allow defined identifiers to override math defaults (#51). Previously we evaluated all math in a special environment that shadowed any user-defined functions with the same-named functions from the math or sym modules....
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/mathtools/index.typ
typst
#import "create-fractions-from-ratios.typ": create-fractions-from-ratios
https://github.com/Shuenhoy/modern-zju-thesis
https://raw.githubusercontent.com/Shuenhoy/modern-zju-thesis/master/pages/undergraduate-eval.typ
typst
MIT License
#import "../utils/fonts.typ": 字号, 字体 #import "../utils/datetime-display.typ": datetime-display #import "./template-individual.typ": template-individual #import "../utils/twoside.typ": * #let undergraduate-eval(scores: none, comment) = { template-individual("本科生毕业论文(设计)考核", outlined: true)[ #set text(size: 字号.小四)...
https://github.com/saecki/zig-grep
https://raw.githubusercontent.com/saecki/zig-grep/main/paper/template.typ
typst
#import "@preview/codelst:1.0.0": sourcecode, code-frame #let project(title: str, author: str, body) = { // Set the document's basic properties. set document(author: author, title: title) set page( paper: "a4", margin: (x: 2.5cm, y: 2.5cm), numbering: "1", number-align: cent...
https://github.com/nvarner/typst-lsp
https://raw.githubusercontent.com/nvarner/typst-lsp/master/editors/lapce/README.md
markdown
MIT License
# Typst LSP Lapce Extension A language server for Typst. ## Features - Limited syntax highlighting, error reporting, code completion - Compiles to PDF on save (configurable to as-you-type, or can be disabled) ## Technical The extension uses [Typst LSP](https://github.com/nvarner/typst-lsp) on the backend.
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/04-main-refinements.typ
typst
#import "/utils/todo.typ": TODO #import "/utils/isabelle.typ": * = Refinements to Existing Functionality The work presented in this thesis on #vscode can be roughly categorized into two areas: The refinement of existing features and the introduction of new ones. This chapter focuses on the former. In both categories,...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.1.2/src/lib.typ
typst
Apache License 2.0
#let version = (0,1,2) #import "canvas.typ": canvas #import "draw.typ" #import "coordinate.typ" #import "styles.typ" // Libraries #import "lib/axes.typ" #import "lib/plot.typ" #import "lib/chart.typ" #import "lib/palette.typ" #import "lib/angle.typ" #import "lib/tree.typ" #import "lib/decorations.typ" // Utility #im...
https://github.com/MDLC01/board-n-pieces
https://raw.githubusercontent.com/MDLC01/board-n-pieces/main/tests/symbols.typ
typst
MIT License
#import sys.inputs.lib as bnp #set text(font: "Noto Sans Symbols 2") #bnp.chess-sym.pawn.filled #bnp.chess-sym.pawn.filled.r #bnp.chess-sym.pawn.filled.b #bnp.chess-sym.pawn.filled.l #bnp.chess-sym.pawn.stroked #bnp.chess-sym.pawn.stroked.r #bnp.chess-sym.pawn.stroked.b #bnp.chess-sym.pawn.stroked.l #bnp.chess-sym....
https://github.com/drupol/ipc2023
https://raw.githubusercontent.com/drupol/ipc2023/main/src/ipc2023/outro.typ
typst
#import "imports/preamble.typ": * #focus-slide[ #set text(size:2em, fill: white, font: "Virgil 3 YOFF") #set align(center + horizon) Thanks... #set text(size:.5em) #uncover(2)[and reproduce this at home!] #pdfpc.speaker-note(```md Phewwww it's done! The stress is almost gone! It's time for questions ...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/README.md
markdown
A Typst implementation of https://www.latextemplates.com/template/legrand-orange-book See the example pdf in the Release section of this project To compile the example: typst watch ./example/example.typ --root . --font-path fonts This template was realized with the help of: https://github.com/sahasatvik/typst...
https://github.com/LDemetrios/Conspects-4sem
https://raw.githubusercontent.com/LDemetrios/Conspects-4sem/master/typst/lib/externation.typ
typst
#let labeled-try-catch(unique-label, first, on-error) = { locate(loc => { let lbl = label(unique-label) let first-time = query(locate(_ => {}).func(), loc).len() == 0 if first-time or query(lbl, loc).len() > 0 { [#first() #lbl] } else { on-error() } }) } #let try-catch-counter = st...
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/lib/indexing.typ
typst
Other
// Based on in-dexter by <NAME>, <NAME> #let index(..content) = locate(loc => [#metadata((content: content.pos(), location: loc))<jkrb_index>]) #let indexed(content) = [#index(content)#content] #let make-index() = { let content-to-string(content) = { if content.has("text") { content.text } else { ...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/theory/remote-repo.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 "../components/gh-button.typ": gh_button #import "../c...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/研讨.typ
typst
#import "touying/lib.typ": * #import "template.typ": * #import "todo.typ": * #import "@preview/algorithmic:0.1.0" #import algorithmic: algorithm #import "notes.typ" #let s = themes.simple.register(s, aspect-ratio: "16-9", footer: [Harbin Engineering University]) #let s = (s.methods.enable-transparent-cover)(self: s) #l...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/covers/LiturgiaBV.typ
typst
#set text(font: "Monomakh Unicode", lang: "cu") #import "../style.typ": * #rect(width: 100%, height: 100%, outset: 7%, stroke: (paint: red, thickness: 4pt), rect(width: 100%, height: 100%, outset: 6%, stroke: (paint: red, thickness: 4pt), [ #align(center)[#text(100pt)[#redText[☦]]] #align(cen...
https://github.com/Quaternijkon/Typst_FLOW
https://raw.githubusercontent.com/Quaternijkon/Typst_FLOW/main/src/components.typ
typst
#import "utils.typ" #let _typst-builtin-numbering = numbering #let cell = block.with(width: 100%, height: 100%, above: 0pt, below: 0pt, outset: 0pt, breakable: false) /// SIDE BY SIDE /// /// A simple wrapper around `grid` that creates a grid with a single row. /// It is useful for creating side-by-side slide. /// ...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/main.typ
typst
Other
#import "imports/preamble.typ": * #import "theme/template.typ": * #set document( title: title, author: author, date: none, keywords: ( "university", "umons", "june 2024", "master thesis", "reproducibility", "r13y", "compilation", "docker", "nix", "guix", ), ) #show: p...
https://github.com/almarzn/portfolio
https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/styles.typ
typst
#import "./page.typ": * #import "./shared/sizes.typ": scale #import "@preview/splash:0.3.0": tailwind #let margin-small = block.with(inset: (x: 8pt)); #let margin-medium = block.with(inset: (x: 16pt)); #let margin-large = block.with(inset: (x: 32pt)); #let margin-xlarge = block.with(inset: (x: 48pt)); #let default(bo...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/lib.typ
typst
Apache License 2.0
//! The `shiroa` package has three parts. //! //! 1. Metadata variables and functions. //! - `target` //! - `page-width` //! - `is-web-target` //! - `is-pdf-target` //! - `book-sys` //! //! 2. Components to read or write book.typ //! - `book` //! - `book-meta` //! - `build-meta` //! - `chapter` //! ...
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/03-lebesgue-integral/04-measure-product.typ
typst
#import "../../utils/core.typ": * == Произведение мер #def(label: "def-measurable-rect")[ $(X, Aa, mu)$ и $(Y, Bb, nu)$ --- пространства с $sigma$-конечной#rf("def-sfinite") мерой. Пусть $ P := {A times B: A in Aa, B in Bb, mu A < +oo, nu B < +oo}. $ Такие множества $A times B$ назовем _измеримыми прямоуголь...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-aspect_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test alignment in automatically sized square and circle. #set text(8pt) #box(square(inset: 4pt)[ Hey there, #align(center + bottom, rotate(180deg, [you!])) ]) #box(circle(align(center + horizon, [Hey.])))
https://github.com/voXrey/cours-informatique
https://raw.githubusercontent.com/voXrey/cours-informatique/main/typst/01-correction.typ
typst
#import "@preview/codly:0.2.1": * #show: codly-init.with() #codly() #set text(font: "Roboto Serif") = Part II : Analyse de Programmes <part-ii-analyse-de-programmes> == Introduction <introduction> Correction : Mon code produit-il le résultat attendu ? Terminaison : Mon code répond-il un jour ? Complexité : A quelle...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/table_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 14-19 expected color, gradient, pattern, none, array, or function, found string // #table(fill: "hey")
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/Report/1.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/PgBiel/glypst
https://raw.githubusercontent.com/PgBiel/glypst/main/test/samples/warn_ok.typ
typst
MIT License
= W **Hello world! __Bye world!
https://github.com/imatpot/typst-ascii-ipa
https://raw.githubusercontent.com/imatpot/typst-ascii-ipa/main/CHANGELOG.md
markdown
MIT License
# Changelog of `ascii-ipa` follows [semantic versioning](https://semver.org) ## 2.0.0 > [!CAUTION] > This release contains breaking changes - General - **BREAKING:** Dropped support for `override-font` to avoid [`str`](https://typst.app/docs/reference/foundations/str/)/[`content`](https://typst.app/docs/reference...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1000.typ
typst
Apache License 2.0
#let data = ( ("MYANMAR LETTER KA", "Lo", 0), ("MYANMAR LETTER KHA", "Lo", 0), ("MYANMAR LETTER GA", "Lo", 0), ("MYANMAR LETTER GHA", "Lo", 0), ("MYANMAR LETTER NGA", "Lo", 0), ("MYANMAR LETTER CA", "Lo", 0), ("MYANMAR LETTER CHA", "Lo", 0), ("MYANMAR LETTER JA", "Lo", 0), ("MYANMAR LETTER JHA", "Lo",...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/compareFields2.typ
typst
#import("../Template/customFunctions.typ"): * #codly(annotations:( ( start: 12, end: 26, label: <compareArrayField> ), ( start: 28, end: 37, label: <comparePrimitiveField> ), ), highlights:( (line:2, label: <compareTranslations>), ) ) ```ts const compareTranslations = (unchangedOb...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/casoslov/postne_casy/cas6.typ
typst
#import "/style.typ": * #import "/SK/texts.typ": * #import "../styleCasoslov.typ": * = Šiesty pôstny čas #show: rest => columns(2, rest) #nacaloBezKnaza #zalm(53) #zalm(54) #zalm(90) #si #lettrine("Aleluja, aleluja, aleluja, sláva tebe, Bože.") #note[(3x)] #lettrine("Pane, zmiluj sa.") #note[(3x)] == Katizma ...
https://github.com/jamesrswift/typst-chem-par
https://raw.githubusercontent.com/jamesrswift/typst-chem-par/main/src/rules/isomers.typ
typst
MIT License
#import "../stateful.typ": * #let isomers(body) = { show regex("(((iso)|(sec)|(tert)|(cis)|(trans)|(syn)|(anti)|(endo)|(exo)|[iompnNO])-)|([N][,′'’])"): (it) => context { if-state-enabled( it , { show "-": "–" emph(it) }) } body }
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-3040.typ
typst
Apache License 2.0
#let data = ( (), ("HIRAGANA LETTER SMALL A", "Lo", 0), ("HIRAGANA LETTER A", "Lo", 0), ("HIRAGANA LETTER SMALL I", "Lo", 0), ("HIRAGANA LETTER I", "Lo", 0), ("HIRAGANA LETTER SMALL U", "Lo", 0), ("HIRAGANA LETTER U", "Lo", 0), ("HIRAGANA LETTER SMALL E", "Lo", 0), ("HIRAGANA LETTER E", "Lo", 0), ("...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/presets/presets.typ
typst
Other
#import "./difficulties.typ": difficulties
https://github.com/wade-cheng/typst-mla
https://raw.githubusercontent.com/wade-cheng/typst-mla/main/README.md
markdown
MIT License
# Typst MLA `mla.typ` is a custom [typst](https://typst.app/) template to format documents in MLA. See example document at `main.pdf`. https://github.com/wychwitch/typst-mla9-template is more feature-complete. However, because of https://github.com/typst/typst/issues/311, the first paragraph after a heading is not in...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Chapters/4-Implementierung.typ
typst
#import "../abbreviations.typ": * #import "../Template/customFunctions.typ": * = Implementierung <implementierung> Nachdem in @entwurf das System geplant wurde, soll nun in diesem Kapitel das System erstellt werden. Zunächst wird das Backend vorbereitet. Hierzu wird in @schema als erstes die Datenbank an das neue Sc...
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/neurips/README.md
markdown
MIT License
# Neural Information Processing Systems (NeurIPS) ## Usage You can use this template in the Typst web app by clicking _Start from template_ on the dashboard and searching for `bloated-neurips`. Alternatively, you can use the CLI to kick this project off using the command ```shell typst init @preview/bloated-neurips...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/src/vectors.typ
typst
MIT License
#import "@local/evan:1.0.0":* = Review of vectors == [TEXT] Notation for scalars, vectors, points If you haven't seen $RR$ before, let's introduce it now: #definition[ We denote by $RR$ the real numbers, so $3, sqrt(2), -pi$ are elements of $RR$. Sometimes we'll also refer to a real number as a *scalar*. ] The s...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/demos/fancy-arithmetic-sequence.typ
typst
#import "@local/typkit:0.1.0": * #import "@preview/cetz:0.2.2" #let number-sum-content(numbers) = { let a = numbers.map((x) => $#x$).join(marks.math.plus) let b = math-bold(numbers.sum()) return (a, b).join(marks.math.equals) } #let fancy-arithmetic-sequence(a: none, k: none, n: none, labels: none, braces...
https://github.com/Medushaa/typst-math-template-
https://raw.githubusercontent.com/Medushaa/typst-math-template-/main/README.md
markdown
# typst-math-template Used some part of the template from this [repo](https://github.com/jskherman/jsk-lecnotes). It looks like this ryt out of the box: ![Math-assignment](math-assignment.png) And could use the pretty boxes to make math notes like this too: ![Math-notes](math-notes.png)
https://github.com/masaori/diffusion-model-quantum-annealing
https://raw.githubusercontent.com/masaori/diffusion-model-quantum-annealing/main/main.typ
typst
#import "@preview/cetz:0.1.2" #import "@preview/commute:0.2.0": node, arr, commutative-diagram #import "@preview/ctheorems:1.1.2": * #import "theorem.typ": theorem, claim, proof, definition, note, theorem_rules #set block(breakable: false) #set heading(numbering: "1.1.") #show: theorem_rules.with(qed-symbol: $square$)...
https://github.com/dankelley/typst_templates
https://raw.githubusercontent.com/dankelley/typst_templates/main/ex/0.0.1/README.md
markdown
MIT License
# Hints for using qe See `../README.md` for how to install typst and then to install templates, assuming a macOS machine. (Consult the web for use on other machines.) To speed the learning process, examine the `sample.typ` file. If you run this file using ```sh typst compile sample.typ ``` you ought to get as you ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/touying/0.2.1/examples/example.typ
typst
Apache License 2.0
#import "../lib.typ": s, pause, meanwhile, touying-equation, touying-reducer, utils, states, pdfpc, themes #import "@preview/cetz:0.2.0" #import "@preview/fletcher:0.4.1" as fletcher: node, edge #let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide) #let fletcher-diagram = touying-reducer....
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/babel/0.1.1/CHANGELOG.md
markdown
Apache License 2.0
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.1.1](https://codeberg.org/afiaith/babel/releases/tag/0.1.1) -...
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/identify-auton-movement/entry.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: "Identify: Autonomous Movement", type: "identify", date: datetime(year: 2023, month: 8, day: 29), author: "<NAME>", witness: "<NAME>", ) Now that we have position track...
https://github.com/BreakingLead/note
https://raw.githubusercontent.com/BreakingLead/note/main/Math/template-mathnote.typ
typst
#import "@preview/showybox:2.0.1": * #let law(title,..content) = { showybox( title: text(size:1.2em)[*Law: * #title], title-style:( boxed-style:( anchor:( x: start ) ) ), frame:( title-color: green.darken(30%), body-color: green.lighten(80%), b...
https://github.com/RhenzoHideki/desenvolvimento-em-fpga
https://raw.githubusercontent.com/RhenzoHideki/desenvolvimento-em-fpga/main/Projeto-Final/relatorio.typ
typst
#import "../typst-ifsc/templates/article.typ":* #show: doc => article( title: "Relatório", subtitle: "Cenário 2 - Travessia Controlada por Botoeira com Sinalização Noturna, Sinalização Piscante, Avisos Sonoros", // Se apenas um autor colocar , no final para indicar que é um array authors: ("<NAME>","<NAME> "),...
https://github.com/Leedehai/typst-physics
https://raw.githubusercontent.com/Leedehai/typst-physics/master/physica-manual.typ
typst
MIT License
// Copyright 2023 Leedehai // This document is shared under the Creative Commons BY-ND 4.0 license. #import "physica.typ": * #let version = "0.9.3" #set document( title: [physica-manual.typ], author: ("Leedehai"), // Prevents setting the creation date to PDF metadata, so the same *.typ // file content will re...
https://github.com/ruziniuuuuu/modern-cv-zh
https://raw.githubusercontent.com/ruziniuuuuu/modern-cv-zh/main/README.md
markdown
# modern-cv-zh Typst实现的modern-cv简历中文版本,改自[modern-cv.git](https://github.com/DeveloperPaul123/modern-cv.git)。 ![resume.png](resume.png) ## 中文字体 用了比较时髦的LXGW WenKai字体,安装方法参考[LxgwWenKai.git](https://github.com/lxgw/LxgwWenKai.git)
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/type-theory/theory-exercises/theory-exercises.typ
typst
#set page(numbering: "1") #set list(marker: ([•], [◦], [--])) #let unipd-red = rgb(180, 27, 33) #show heading.where(level: 1): it => { v(0.5em) set text(size: 18pt, fill: unipd-red) [#it.body] v(0.5pt) } #let make_title(title: none, subtitle: none, author: none, date: none) = align(center, [ #text(size: 3...
https://github.com/pluttan/typst-g7.32-2017
https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/README.md
markdown
MIT License
# [GOST 7.32-2017 typst](https://github.com/pluttan/g7.32-2017) В данном репозитории представлены стили для блоков [Typst](https://typst.app) в соответствии с [ГОСТ 7.32-2017](https://github.com/pluttan/typst-g7.32-2017/blob/main/g7.32_2017.pdf). ## Установка Склонируйте репозиторий в `$HOME` ```bash git clone http...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/baseline.typ
typst
Apache License 2.0
// Test baseline handling. --- Hi #text(1.5em)[You], #text(0.75em)[how are you?] Our cockatoo was one of the #text(baseline: -0.2em)[#box(circle(radius: 2pt)) first] #text(baseline: 0.2em)[birds #box(circle(radius: 2pt))] that ever learned to mimic a human voice. --- Hey #box(baseline: 40%, image("/files/tiger.jpg",...
https://github.com/yingziyu-llt/blog
https://raw.githubusercontent.com/yingziyu-llt/blog/main/typst_document/linear_algebra/README.md
markdown
## 模板介绍 SimpleNote 是为撰写简易课程笔记而设计的 Typst 模板,修改自 [jsk-lecnotes](https://github.com/jskherman/jsk-lecnotes),有问题欢迎提交 Issue。 ## 使用方法 > [!NOTE] > > 此模板需要使用 Typst 0.11.0 及以上版本进行编译。 页面右边点击:**Clone or download -> Download Zip**,将模板文件下载到本地并解压 模板文件夹内主要包含以下七部分: - main.typ 主文件 - refs.bib 参考文献 - template.typ 文档格式控制,包括一些基础的设置、函数...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-11.typ
typst
Other
// Error: 21-26 expected array or dictionary, found boolean #set text(features: false)
https://github.com/francescoo22/kt-uniqueness-system
https://raw.githubusercontent.com/francescoo22/kt-uniqueness-system/main/src/annotation-system.typ
typst
#include "annotation-system/formalization.typ"
https://github.com/sysu/better-thesis
https://raw.githubusercontent.com/sysu/better-thesis/main/utils/datetime-display.typ
typst
MIT License
// 显示中文日期 #let datetime-display(date) = { date.display("[year] 年 [month] 月 [day] 日") } // 显示英文日期 #let datetime-en-display(date) = { date.display("[month repr:short] [day], [year]") }
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/show-selector.typ
typst
Apache License 2.0
// Test show rule patterns. --- // Inline code. #show raw.where(block: false): box.with( radius: 2pt, outset: (y: 2.5pt), inset: (x: 3pt, y: 0pt), fill: luma(230), ) // Code blocks. #show raw.where(block: true): block.with( outset: -3pt, inset: 11pt, fill: luma(230), stroke: (left: 1.5pt + luma(180)),...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/chess-slideshow.typ
typst
#import "base-utils.typ": * #set page(width: 400pt, height: 300pt) // 400 to 300 represents 4:3 aspect ratio // which is the ratio for ipad mini2 #let url = "../chess-assets/interview-demo-tactics/" #let create-image = create-icon-factory(url) #let create(n) = { let img-item = create-image(n, size: 300 - 50) ...
https://github.com/MichaelFraiman/TAU_template
https://raw.githubusercontent.com/MichaelFraiman/TAU_template/main/mfraiman-theorem.typ
typst
#let theorem( c, // counter body, name: "Theorem", note: none, les_num: none, les_num_symb: "", body_style: "italic", numbered: true, name_func: smallcaps ) = { if numbered == true {c.step()} set text(weight: "black") name_func(name) if numbered == true { [ ]...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/src/coords.typ
typst
MIT License
#import "utils.typ": * #import "deps.typ": cetz /// Convert from elastic to absolute coordinates, $(u, v) |-> (x, y)$. /// /// _Elastic_ coordinates are specific to the diagram and adapt to row/column /// sizes; _absolute_ coordinates are the final, physical lengths which are /// passed to `cetz`. /// /// - grid (dict...
https://github.com/juruoHBr/typst_xdutemplate
https://raw.githubusercontent.com/juruoHBr/typst_xdutemplate/main/README.md
markdown
# 西安电子科技大学本科毕业设计论文模板 ``` #import "template.typ": * #show: xdudoc.with( fonts: ( en-main-font: "Times New Roman", en-heading-font: "Times New Roman", ch-main-font: "SimSun", ch-heading-font: "SimHei", ), // 这里配置字体 fontsize : 12pt, //正文字体大小 factor: 1.5, //正文字体行间距 ) #let info = ( title : "某雷达脉压模...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/numbering-04.typ
typst
Other
#for i in range(0, 4) { numbering("イ", i) [ (or ] numbering("い", i) [) for #i \ ] } ... \ #for i in range(47, 51) { numbering("イ", i) [ (or ] numbering("い", i) [) for #i \ ] } ... \ #for i in range(2256, 2260) { numbering("イ", i) [ for #i \ ] }
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/call-00.typ
typst
Other
// Ref: true // Omitted space. #let f() = {} #[#f()*Bold*] // Call return value of function with body. #let f(x, body) = (y) => [#x] + body + [#y] #f(1)[2](3) // Don't parse this as a function. #test (it) #let f(body) = body #f[A] #f()[A] #f([A]) #let g(a, b) = a + b #g[A][B] #g([A], [B]) #g()[A][B]
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/cover.md
markdown
# Cover mode Covered content (using `#uncover`, `#one-by-one`, `#line-by-line`, or `pause`) is completely invisible, by default. You can decide to make it visible but less prominent using the optional `mode` argument to each of those functions. The `mode` argument takes two different values: `"invisible"` (the default)...
https://github.com/hekzam/test
https://raw.githubusercontent.com/hekzam/test/main/template.typ
typst
#import "style.typ": * #import "write.typ": * #let f = "file" #let g = "model" #let qr(id, page, active) = { if active { image("qr/qrcode-" + str(id) + "-" + str(page) + ".png", width: qr_code_size, height: qr_code_size) } else { square(size: qr_code_size, fill: white, stroke: 0pt) } } #let sw = 0.50...
https://github.com/jamesrswift/ionio-illustrate
https://raw.githubusercontent.com/jamesrswift/ionio-illustrate/main/src/extras/callout-above.typ
typst
MIT License
#import "@preview/cetz:0.1.2" #let _prepare(self, ctx) = { if (self.mz <= ctx.prototype.range.at(0) or self.mz >= ctx.prototype.range.at(1) ){ return (:) } let data = (if ( ctx.reflected ){ ctx.prototype.data2 } else { ctx.prototype.data1 }) let y = (ctx.prototype.get-intensity-at-mz)(self.mz, in...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/handout.md
markdown
# Handout mode If you distribute your slides after your talk for further reference, you might not want to keep in all the dynamic content. Imagine using `one-by-one` on a bullet point list and readers having to scroll through endless pages when they just want to see the full list. You can use `#enable-handout-mode(tru...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-A930.typ
typst
Apache License 2.0
#let data = ( ("REJANG LETTER KA", "Lo", 0), ("REJANG LETTER GA", "Lo", 0), ("REJANG LETTER NGA", "Lo", 0), ("REJANG LETTER TA", "Lo", 0), ("REJANG LETTER DA", "Lo", 0), ("REJANG LETTER NA", "Lo", 0), ("REJANG LETTER PA", "Lo", 0), ("REJANG LETTER BA", "Lo", 0), ("REJANG LETTER MA", "Lo", 0), ("REJA...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/op-01.typ
typst
Other
// With or without parens. $ &sin x + log_2 x \ = &sin(x) + log_2(x) $
https://github.com/piepert/typst-custombib
https://raw.githubusercontent.com/piepert/typst-custombib/main/typst-custombib-generator.typ
typst
#import "remove-accents.typ": remove-accents #let TCBSTATES = ( last-citation: state("tcb-last-citation"), used-citations: state("tcb-bibliography-citations-used"), citation-history: state("tcb-bibliography-citation-history"), data: state("tcb-bibliography-data"), style: state("tcb-bibliography-sty...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-13.typ
typst
Other
// Test the `type` function. #test(type(1), "integer") #test(type(ltr), "direction") #test(type(10 / 3), "float")
https://github.com/barrel111/readings
https://raw.githubusercontent.com/barrel111/readings/main/problems/external/1910SU/week2.typ
typst
#import "@local/preamble:0.1.0": * #import "@preview/cetz:0.2.2": canvas, plot #show: project.with( course: "1910SU", sem: "Summer", title: "Group Discussion: Differentiation II", subtitle: "Solutions", contents: false, ) = Quotient Rule == $d/(d x) tan x$ $ d/(d x) tan(x) &= d/(d x) ((sin x)/(cos x)) \ &...
https://github.com/HollowNumber/DDU-Rapport-Template
https://raw.githubusercontent.com/HollowNumber/DDU-Rapport-Template/main/src/chapters/appendix.typ
typst
#import "@preview/codelst:1.0.0": sourcecode, sourcefile #set heading(numbering: "A.1", supplement: "Bilag") #set page(columns: 1) #counter(heading).update(0)
https://github.com/fyuniv/typstModernCV
https://raw.githubusercontent.com/fyuniv/typstModernCV/main/README.md
markdown
MIT License
# A Modern CV Template with Typst This is a Typst resume template that imitates the popular [LaTeX Modern CV template](https://ctan.org/pkg/moderncv). It was inspired by the Typst template <https://github.com/DeveloperPaul123/modern-cv> created by [DeveloperPaul123](https://github.com/DeveloperPaul123). ## Features ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-14.typ
typst
Other
// Error: 3-12 cannot divide these two lengths #(1em / 5pt)
https://github.com/lvignoli/diapo
https://raw.githubusercontent.com/lvignoli/diapo/main/README.md
markdown
MIT License
# diapo A simplistic [Typst](https://typst.app) template for presentations. Copy the [template](template.typ) to your project folder and start your document with a global show rule using `diapo.with()`. For a new slide with a title, use the first level heading syntax `= Title`. \ For a new slide without a title, use...
https://github.com/fredguth/mwe-citation-quarto-typst
https://raw.githubusercontent.com/fredguth/mwe-citation-quarto-typst/main/_extensions/mwe/typst-template.typ
typst
#import "@preview/drafting:0.2.0": * #let margincite(key, mode, prefix, suffix, noteNum, hash) = context { if query(bibliography).len()>0 { let supplement = suffix.split(",").filter(value => not value.contains("dy.")).join(",") let dy = if suffix.contains("dy.") { eval(suffix.split("dy.").at(1, default...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/192.%20think.html.typ
typst
think.html How to Think for Yourself November 2020There are some kinds of work that you can't do well without thinking differently from your peers. To be a successful scientist, for example, it's not enough just to be correct. Your ideas have to be both correct and novel. You can't publish papers saying things other p...
https://github.com/piepert/typst-hro-iph-seminar-paper
https://raw.githubusercontent.com/piepert/typst-hro-iph-seminar-paper/main/custombib-hro-iph-style.typ
typst
// TODO: add english as a language for this style (Hrsg./ders.) #let ifnotnone(elem, fn-true, fn-false: k => none) = if elem != none { fn-true(elem) } else { fn-false(elem) } #let ifhaskey(elem, key, fn-true, ..k) = if elem.at(key, default: none) != none { fn-true(elem) } else if k.pos().len() > 0 { k...
https://github.com/WindowDump/typst-ttrpg
https://raw.githubusercontent.com/WindowDump/typst-ttrpg/main/fist-handbook.typ
typst
The Unlicense
// FIST - https://claymorerpgs.itch.io/fist // character sheet & quick reference by window dump // https://github.com/WindowDump/typst-ttrpg // print, fold in half, give to player, start mission // fonts used // Orbitron // https://www.theleagueofmoveabletype.com/orbitron // Michroma (you can use Microgramma if you ha...
https://github.com/phinixplus/docs
https://raw.githubusercontent.com/phinixplus/docs/master/source/cpu/preface.typ
typst
Other
#let preface = [ #import "/source/template.typ": discord-link, license-link #let serif = "https://fonts.google.com/specimen/IBM+Plex+Serif" #let sans = "https://fonts.google.com/specimen/IBM+Plex+Sabs" #let mono = "https://fonts.google.com/specimen/Inconsolata" #let nerd = "https://www.nerdfonts.com/font-downloads" =...
https://github.com/kazewong/lecture-notes
https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/rust.typ
typst
#set page( paper: "us-letter", header: align(center, text(17pt)[ *An introduction to Rust* ]), numbering: "1", ) #import "./style.typ": style_template #show: doc => style_template(doc,) = Foreword This session is somewhat a bias introduction from me because I love `Rust`. Here is the backstory: I was fir...
https://github.com/maxwell-thum/typst-pf3
https://raw.githubusercontent.com/maxwell-thum/typst-pf3/main/pf3.typ
typst
MIT License
/* pf3 Written by <NAME> (@maxwell-thum on GitHub) Last modified: September 5, 2023 Based on the LaTeX style "pf2" by Leslie Lamport (https://lamport.azurewebsites.net/latex/pf2.sty) See also "How to Write a 21st Century Proof" by Lamport (2011) (https://lamport.azurewebsites.net/pubs/proof.pdf) */ /* T...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/src/chvar.typ
typst
MIT License
#import "@local/evan:1.0.0":* = Change of variables We'll do just two variables for now; the 3-D situation is exactly the same and we cover it later. == [TEXT] Interval notation One quick notational thing if you haven't seen this before: #definition(title: [Definition: Interval notation])[ Suppose $[a,b]$ and $[...
https://github.com/tingerrr/subpar
https://raw.githubusercontent.com/tingerrr/subpar/main/test/util.typ
typst
MIT License
#let fake-image = block(stroke: red, inset: 1em, lorem(10))
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/08_09_24/main.typ
typst
#import "polylux/polylux.typ": * #import themes.metropolis: * #import "common.typ": * #show: metropolis-theme.with( footer: [#logic.logical-slide.display() / #utils.last-slide-number] ) #set text(font: font, weight: wt, size: 25pt) // #show math.equation: set text(font: "Fira Math") #set strong(delta: 100) #set par...
https://github.com/Origami404/kaoyan-shuxueyi
https://raw.githubusercontent.com/Origami404/kaoyan-shuxueyi/main/main.typ
typst
#import "template.typ": * #show: template.with( title: [考研数学一 复习笔记], short_title: "数一笔记", description: [ 复习考研数学一时的背诵大纲 ], date: datetime(year: 2024, month: 06, day: 04), authors: ( ( name: "GitHub @ Origami404", link: "", affiliations: "", ), ), affiliations: (), lof: fal...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/math/function/function.typ
typst
= 関数 == 2次関数 2次関数を$y = a(x-p)^2 + q$で表すことを考える。\ $a > 0$の場合、$(x-p)^2$は必ず0以上なので、$(x-p)$が0の時、yは最小値、qとなる。\ $a < 0$の場合、$(x-p)$が0の時、yは最大値,qとなる\ $(x-p)$は$x = p$のとき0になるので、2次関数を$y = a(x-p)^2 + q$で表せる時、その頂点は$(p,q)$となる === 平方完成 2次関数を$y = a(x-p)^2 + q$で表現できると頂点の情報がえられる。\ そこで、一般的な2次関数$y = a x^2 + b x + c$を上記の形に変換する方法を考える。これを平方完...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1E900.typ
typst
Apache License 2.0
#let data = ( ("ADLAM CAPITAL LETTER ALIF", "Lu", 0), ("ADLAM CAPITAL LETTER DAALI", "Lu", 0), ("ADLAM CAPITAL LETTER LAAM", "Lu", 0), ("ADLAM CAPITAL LETTER MIIM", "Lu", 0), ("ADLAM CAPITAL LETTER BA", "Lu", 0), ("ADLAM CAPITAL LETTER SINNYIIYHE", "Lu", 0), ("ADLAM CAPITAL LETTER PE", "Lu", 0), ("ADLAM...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/all.typ
typst
#show <X>: it => { if it.location().position().y > 480pt [$ $ #colbreak() #it] else [#it] } #include "1_templates/Hlas1-2.typ" // #include "1_templates/Hlas3-4.typ" // #include "1_templates/Hlas5-6.typ" // #include "1_templates/Hlas7-8.typ"
https://github.com/pluttan/typst-g7.32-2017
https://raw.githubusercontent.com/pluttan/typst-g7.32-2017/main/gost7.32-2017/utils/raw.typ
typst
MIT License
#import "../g7.32-2017.config.typ":config #let theme = "../themes/"+config.raw.theme #if (config.raw.theme != ""){ set raw(theme:theme) } // Функция разбивающая файл на подстроки по пробелам в начале строки // [@example // ```cpp // int qu(){ // return 1; // } // // int main(){ // return 0; // } // ``` =>...
https://github.com/pal03377/master-thesis
https://raw.githubusercontent.com/pal03377/master-thesis/main/thesis_typ/abstract_de.typ
typst
MIT License
#let abstract_de() = { set page( margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm), numbering: none, number-align: center, ) let body-font = "New Computer Modern" let sans-font = "New Computer Modern Sans" set text( font: body-font, size: 12pt, lang: "en" ) set par(...
https://github.com/ustctug/ustc-thesis-typst
https://raw.githubusercontent.com/ustctug/ustc-thesis-typst/main/chapters/floats.typ
typst
MIT License
= 浮动体 <浮动体> == 三线表 <三线表> 三线表是《撰写手册》推荐使用的格式,如表~#link(<tab:exampletable>)[1.1]。 #block[ #align(center)[#table( columns: 2, align: (col, row) => (center,left,).at(col), inset: 6pt, [类型], [描述], [挂线表], [挂线表也称系统表、组织表,用于表现系统结构], [无线表], [无线表一般用于设备配置单、技术参数列表等], [卡线表], [卡线表有完全表,不完全表和三线表三种], ) #align(center, ...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/src/utils.typ
typst
Apache License 2.0
// Joins two dictionaries together by inserting `new` values into `old`. // When only-update is true, values will only be inserted if they keys exist in old. #let combine-dict(new, old, only-update: false) = { if only-update { for (k, v) in new { if k in old { old.insert(k, v) } } retu...
https://github.com/voxell-tech/velyst
https://raw.githubusercontent.com/voxell-tech/velyst/main/README.md
markdown
Apache License 2.0
# Velyst Interactive [Typst](https://typst.app) content creator using [Vello](https://github.com/linebender/vello) and [Bevy](https://bevyengine.org). ![hello world](./.github/assets/hello_world.gif) *Associated example [here](./examples/hello_world.rs)!* ## Quickstart Velyst renders Typst content using Typst func...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/components/deprecated/note.typ
typst
Creative Commons Zero v1.0 Universal
// Deprecated in favor of `showybox` // https://github.com/Pablo-Gonzalez-Calderon/showybox-package #let note(content, title: "Note", outline_color: luma(180), leading: "✅") = block(width: 100%, stroke: outline_color, inset: 16pt, radius: 4pt)[ #text(weight: "bold", smallcaps(raw(leading) + h(8pt) + title)) #parbr...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/web3/weeks/week10.typ
typst
#import "../../utils.typ": * #section("Angular Architectures") - MVC (Model View Controller) - MVC + S (Model View Controller + Services -> API abstracted as it can often change) - Flux - Flux single store - unistore - Flux multi store - data is divided into multiple stores -> your transactions might not...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/document_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 21-28 expected datetime, none, or auto, found string // #set document(date: "today")
https://github.com/f14-bertolotti/bedlam
https://raw.githubusercontent.com/f14-bertolotti/bedlam/main/src/measure-theory/introduction.typ
typst
#import "../notation/main.typ": inverse, preimage, half-open-rectangle, symmetric-difference #import "../topology/main.typ": topological-space #import "../theme.typ": proof, proposition, theorem, definition, example, comment == Introduction #let set-algebra = ( tag : link(<set-algebra>)[set algebra] ) #definitio...
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/复变函数/作业/hw2.typ
typst
#import "../../template.typ": proof, note, corollary, lemma, theorem, definition, example, remark, proposition,der, partialDer, Spec #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: note.with( title: "作业2", au...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/sig_template.typ
typst
Apache License 2.0
#let tmpl(content) = content