repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/ops-invalid.typ
typst
Apache License 2.0
// Test invalid operations. // Ref: false --- // Error: 4 expected expression #(-) --- // Error: 10 expected expression #test({1+}, 1) --- // Error: 10 expected expression #test({2*}, 2) --- // Error: 3-13 cannot apply unary '+' to content #(+([] + [])) --- // Error: 3-6 cannot apply '-' to string #(-"") --- // E...
https://github.com/jonaspleyer/peace-of-posters
https://raw.githubusercontent.com/jonaspleyer/peace-of-posters/main/docs/content/documentation/tips_and_tricks.md
markdown
MIT License
--- title: "Tips and Tricks" weight: 40 --- # Tips and Tricks <!-- TODO add screenshots of before and after --> ## Modify Spacing between Boxes Unfortunately for technical reasons, setting the spacing between boxes generated by `peace-of-posters` has to be done manually with 3 distinct methods. Suppose, we want to set...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/5.1.Blockly.typ
typst
Blockly es una biblioteca perteneciente a Google lanzada en 2012 que permite a los desarrolladores la generación automática de código en diferentes lenguajes de programación mediante la creación de bloques personalizados. Fue diseñado inicialmente para generar código en JavaScript, pero debido a su creciente demanda, s...
https://github.com/exusiaiwei/My-brilliant-CV
https://raw.githubusercontent.com/exusiaiwei/My-brilliant-CV/main/modules/skills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Skills") #cvSkill( type: [Languages], info: [Chinese - Mother tongue #hBar() English - IELTS:6.5] ) #cvSkill( type: [Tech Stack], info: [Python #hBar() R #hBar() Git #hBar() LaTeX #hBar() VPS management] ) #cvSkill( type: [Research Skills], info: [E...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(width: 180pt) #set block(spacing: 5pt) #set par(justify: true, first-line-indent: 14pt, leading: 5pt) This text is justified, meaning that spaces are stretched so that the text forms a "block" with flush edges at both sides. First line ...
https://github.com/Dherse/masterproef
https://raw.githubusercontent.com/Dherse/masterproef/main/masterproef/parts/0_introduction.typ
typst
#import "../ugent-template.typ": * = Introduction <intro> Photonic integrated circuits have become a significant industry in the past few years. However, their design is still difficult and slow, requiring a lot of expertise and time. This thesis provides a novel way of designing photonic circuits using code and a ne...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-0700.typ
typst
Apache License 2.0
#let data = ( ("SYRIAC END OF PARAGRAPH", "Po", 0), ("SYRIAC SUPRALINEAR FULL STOP", "Po", 0), ("SYRIAC SUBLINEAR FULL STOP", "Po", 0), ("SYRIAC SUPRALINEAR COLON", "Po", 0), ("SYRIAC SUBLINEAR COLON", "Po", 0), ("SYRIAC HORIZONTAL COLON", "Po", 0), ("SYRIAC COLON SKEWED LEFT", "Po", 0), ("SYRIAC COLON ...
https://github.com/fontlos/FengruCup-template
https://raw.githubusercontent.com/fontlos/FengruCup-template/main/Readme.md
markdown
MIT License
# BUAA FRB Template This Typst template is made for the main track paper of the 34rd Fengru Cup Competition of Beijing University of Aeronautics and Astronautics (BUAA), which is more powerful compared to Word, and lighter and easier to use compared to the Latex template. ~~Made this template just because the fxx...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/14-cekani-na-godota.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo, replika #dilo("Čekání na Godota", "godot", "<NAME>", "<NAME>", "poválečné", "Irsko", "1952", "drama", "tragikomedie") #columns(2, gutter: 1em)[ *Téma*\ čekání na Godota *Motivy*\ čekání na Godota *Časoprostor*\ u stromu, dva dny *Postavy* \ _Estragon_ (_Gogo_) a _Vl...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/get-rule.typ
typst
--- get-rule-basic --- // Test basic get rule. #context test(text.lang, "en") #set text(lang: "de") #context test(text.lang, "de") #text(lang: "es", context test(text.lang, "es")) --- get-rule-in-function --- // Test whether context is retained in nested function. #let translate(..args) = args.named().at(text.lang) #s...
https://github.com/WalrusGumboot/numerieke-practicum
https://raw.githubusercontent.com/WalrusGumboot/numerieke-practicum/master/verslagLevrauDuwel.typ
typst
#set text(lang: "nl") #set par(justify: true) #set page(margin: 15mm) #show raw: set text(8pt, font: "Iosevka NF") #show raw.where(block: true, lang: "matlab"): it => { let v = it.lines.enumerate().map(l => (text(str(l.at(0) + 1)), l.at(1))).flatten(); grid( inset: (x: 6pt, y: 3pt), fill: (col, row) =>...
https://github.com/EGmux/PCOM-2023.2
https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2q7.typ
typst
=== Um sinal de voz tem uma duração total de 10s. Ele é amostrado a uma taxa de 8 kHz, quantizado e depois codificado. A relação sinal-urído (de quantização) necessária é de 40 dB. Calcule a capacidade m'ima de armazenamento necessária para acomodar este sinal digitalizado.\ \ _Informação: $(S/N)_(d B) = 1,8 + 6l$, em ...
https://github.com/AOx0/expo-nosql
https://raw.githubusercontent.com/AOx0/expo-nosql/main/book/src/section.md
markdown
MIT License
# Sections To give your audience some orientation where you are in your presentation, you can use sections. The [default theme](./theme-gallery/index.html#default) displays the section in the header of each slide, other themes might use other ways to display it. To define the current section, simply use `#new-section...
https://github.com/fufexan/cv
https://raw.githubusercontent.com/fufexan/cv/typst/modules_ro/education.typ
typst
#import "../src/template.typ": * #cvSection("Educație") #cvEntry( title: [Licență în Electronică, Telecomunicații și Tehnologia Informației], society: [Universitatea Tehnică din Cluj-Napoca], date: [2021 - 2025], location: [Cluj-Napoca], logo: "../src/logos/utcn.svg", description: list(), ) #cvEntry( title: [...
https://github.com/simon-epfl/notes-ba2-simon
https://raw.githubusercontent.com/simon-epfl/notes-ba2-simon/main/fds/guide_verilog.typ
typst
#set text(font: "DejaVu Sans") #show heading.where(level: 1): contents => text(size: 20pt, contents) #show heading: contents => pad(bottom: 10pt, contents) #set quote(block: true) #set heading(numbering: (ignore_first, ..n) => { if (n.pos().len() != 0) { numbering("1.1.", ..n) } }) #let stick-together(a, thresh...
https://github.com/takotori/PhAI-Spick
https://raw.githubusercontent.com/takotori/PhAI-Spick/main/sections/messfehler.typ
typst
#import "../utils.typ": * = Messen und Messfehler *Systematische Fehler:* z.B. Messen mit falsch kalibriertem Messgerät. \ Berechnet sich der Wert einer Grösse $z$ aus Messwerten der Grössen $x$ und $y$. #align(center, $z=f(x,y)$) und wurden die Messgrössen x und y mit einem Fehler von $Delta x$ bzw. $Delta y$ besti...
https://github.com/VZkxr/Typst
https://raw.githubusercontent.com/VZkxr/Typst/master/Portada/portada.typ
typst
#set page(paper: "us-letter", margin: (x: 37pt) ,background:[ #set align(left) #rect(width:26%, height: 100%, fill: rgb("003D64"))]) #set align(center) #grid(columns: (3cm, 1fr))[ #image("UNAM-color.png", width: 100%) #v(1fr) #grid(columns: (0.1cm, 0.1cm, 0.1cm), column-gutter: 0.025cm)[ ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/expr/nary.typ
typst
Apache License 2.0
#let a = none; #red = red #red == red #(a = red) #(red == red) #a = red #a += red #(a += red) #not a #(not a) #(a and red) #(a or red) #a and red
https://github.com/xkevio/parcio-typst
https://raw.githubusercontent.com/xkevio/parcio-typst/main/parcio-thesis/chapters/eval/eval.typ
typst
MIT License
#import "../../template/template.typ": section = Evaluation<eval> _In this chapter, ..._ \ \ == Listings #figure(caption: "Caption")[ ```c printf("Hello World!\n"); // Comment for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { sum += 'a'; } } ``` ]<lst:hello-world> You can also refer to listings (...
https://github.com/gabrielluizep/klaro-ifsc-sj
https://raw.githubusercontent.com/gabrielluizep/klaro-ifsc-sj/main/lib.typ
typst
MIT License
#let report( title: "Typst IFSC", subtitle: none, authors: ("<NAME>",), date: none, doc, ) = { // Define metadados do documento set document(title: title, author: authors) set page( numbering: "1", paper: "a4", margin: (top: 3cm, bottom: 2cm, left: 3cm, right: 2cm), ) set text(size: 12p...
https://github.com/TheRiceCold/resume
https://raw.githubusercontent.com/TheRiceCold/resume/main/modules/skills.typ
typst
#import "../src/template.typ": * #cvSection("Skills") #cvSkill( type: [Spoken languages], info: [English, Filipino], ) #cvSkill( type: [Prog. languages], info: [JavaScript/TypeScript, Ruby, C\#, Java, Nix, Python, Sass, Bash], ) #cvSkill( type: [Frameworks], info: [React Native, NextJS, AstroJS, Ruby on Rails...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2013/WS-05.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [LIU Shiwen], [CHN], [3367], [2], [DING Ning], [CHN], [3337], [3], [LI Xiaoxia], [CHN], [3285], [4], [GUO Yan], [C...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/tools/test-helper/README.md
markdown
Apache License 2.0
# Test helper This is a small VS Code extension that helps with managing Typst's test suite. When installed, for all `.typ` files in the `tests` directory, the following Code Lens buttons will appear above every test's name: - View: Opens the output and reference image of a test to the side. - Run: Runs the test and ...
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/string-to-integer-atoi/description/", level: 2, )<字符串转换整数> #note( title: [ 字符串转换整数 ], description: [ 请你来实现一个 myAtoi(string s) 函数,使其能将字符串转换成一个 32 位有符号整数。 函数 myAtoi(string s) 的算法如下: 空格:读入字符串并丢弃无用的前导空格(" "...
https://github.com/42CrMo4/InvLabel
https://raw.githubusercontent.com/42CrMo4/InvLabel/main/small.typ
typst
MIT License
// Import necessary libraries #import "@preview/tiaoma:0.1.0": qrcode // Read CSV file #let results = csv("part.csv", delimiter: ";") // Set the page size and margins #set page( width: 25.91mm, height: 13mm, margin: ( y: 0mm, x: 0.5mm, ) ) // Set the number of columns on the page #set page(columns: ...
https://github.com/PhotonQuantum/UofTNotes
https://raw.githubusercontent.com/PhotonQuantum/UofTNotes/master/src/CSC2126H/LEC0101_Overview.typ
typst
#import "/sty.typ": * #show: template.with( title: [Types & Effects: Overview], short_title: [CSC2126H LEC0101], description: [ Notes based on lectures for CSC 2126H\ (Topics in PL: Types and Effects)\ at the University of Toronto by Professor <NAME>, Fall 2024 ], date: datetime(year: 2024, month: 09, da...
https://github.com/VisualFP/docs
https://raw.githubusercontent.com/VisualFP/docs/main/SA/project_documentation/content/time_tracking.typ
typst
#import "@preview/cetz:0.1.2": canvas, chart = Time Tracking The amount of time available for the project was calculated as follows: $ 30 "hours per ECTS point" times 8 "ECTS points per member" &= 240 "hours per member" \ 240 "hours per member" times 2 "members" &= 480 "hours" $ Both members tracked their time on t...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/lovelace/0.1.0/examples/custom-keywords.typ
typst
Apache License 2.0
#set page(width: auto, height: auto, margin: 1em) #import "../lib.typ": * #show: setup-lovelace #pseudocode( $x <- a$, [*repeat until convergence*], ind, $x <- (x + a/x) / 2$, ded, [*return* $x$] )
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/counters.typ
typst
Apache License 2.0
#let chapter-counter = counter("chapter") #let section-counter = counter("section") #let theorem-counter = counter("theorem") #let definition-counter = counter("definition") #let example-counter = counter("example") #let exercise-counter = counter("exercise") #let equation-counter = counter("equation") #let figure-c...
https://github.com/Aadamandersson/typst-analyzer
https://raw.githubusercontent.com/Aadamandersson/typst-analyzer/main/components/syntax/test_data/parser/ok/while_expr.typ
typst
Apache License 2.0
#while true {} #while true []
https://github.com/gbrivady/typst-templates
https://raw.githubusercontent.com/gbrivady/typst-templates/main/examples/report-long-example.typ
typst
#import "../report-long.typ": project, appendix #show: project.with( title: "Long Report Title", subtitle: "Subtitle", author: "<NAME>", language: "en", ) = First section #lorem(10) == First subsection #lorem(20) == Second subsection #lorem(40) === Sub-subsection #lorem(100) ==== Sub-sub-sub section... Th...
https://github.com/cadojo/correspondence
https://raw.githubusercontent.com/cadojo/correspondence/main/README.md
markdown
MIT License
# ✍️ `correspondence` _Typst templates for resumes, cover letters, application statements, and articles!_ ## Usage Add this repository as a submodule, then add a template under `src`. Note that each subdirectory under `src` is a self-contained template. ``` // // Example // #import "correspondence/src/dear.typ:...
https://github.com/SidneyLYZhang/learnTypst
https://raw.githubusercontent.com/SidneyLYZhang/learnTypst/main/Documentation/Sources/002_formatting.typ
typst
#set text(font:("Consolas", "Source Han Sans SC")) #set text(lang: "zh") #show emph: text.with(font: ("Linux Libertine","STKaiti")) #show link: text.with(fill: color.blue) = 把文档格式化处理 到目前为止,你已经写了一份包含一些文字、几个方程式和图片的报告。然而,它看起来仍然非常朴素。你的助教还不知道你正在使用一个新的排版系统,而你希望你的报告能够与其他学生的提交作业相匹配。在本章中,我们将学习如何使用Typst的样式系统来格式化你的报告。 == 设定规则 ...
https://github.com/nath-roset/suiviProjetHekzamGUI
https://raw.githubusercontent.com/nath-roset/suiviProjetHekzamGUI/master/typ%20sources/spec_fonctionnelle.typ
typst
Apache License 2.0
#import "template.typ": base #show: doc => base( // left_header:[], right_header : [Equipe scan-GUI-Automne-2024], title: [Projet Hekzam-GUI], subtitle: [Formalisation des spécifications fonctionnelles], version: [0.2], doc ) //TODO : make it so requirement list numbering keeps incrementing properly past ot...
https://github.com/typst-community/mantodea
https://raw.githubusercontent.com/typst-community/mantodea/main/tests/example/test.typ
typst
MIT License
#import "/src/example.typ" #show heading.where(level: 1): it => pagebreak(weak: true) + it #set page(height: auto, header: counter(footnote).update(0)) = Code #example.frame( ```typst #block(inset: 1em, stroke: red)[Hello World] ```, ) = Eval #example.code-result( ```typst #block(inset: 1em, stroke: red)[H...
https://github.com/kazuyanagimoto/quarto-slides-typst
https://raw.githubusercontent.com/kazuyanagimoto/quarto-slides-typst/main/_extensions/kazuyanagimoto/clean/typst-template.typ
typst
MIT License
#import "@preview/touying:0.5.2": * #import "@preview/fontawesome:0.3.0": * #let new-section-slide(level: 1, title) = touying-slide-wrapper(self => { let body = { set align(left + horizon) set text(size: 2.5em, fill: self.colors.primary, weight: "bold") title } self = utils.merge-dicts( self, ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-01.typ
typst
Other
// An item import. #import "module.typ": item #test(item(1, 2), 3) // Code mode { import "module.typ": b test(b, 1) } // A wildcard import. #import "module.typ": * // It exists now! #test(d, 3)
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/.github/ISSUE_TEMPLATE/bug_report.md
markdown
Apache License 2.0
--- name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior (Library test): 1. Declare a rust test 'fn test_xxx() { ... }' or typescript test 'it_should(...
https://github.com/ziyuanding/typst_fishy_memory
https://raw.githubusercontent.com/ziyuanding/typst_fishy_memory/main/fishy_memory.typ
typst
#set text( font: "New Computer Modern", size: 12pt, lang: "en" ) #set page( paper: "a4", numbering: "1", margin: ( top: 2cm, bottom: 2cm, x: 3cm ) ) ///////////////////////////////// Thanks @wrzian https://github.com/typst/typst/discussions/2585#discussioncomment-10318563 //////////////////...
https://github.com/alperari/cyber-physical-systems
https://raw.githubusercontent.com/alperari/cyber-physical-systems/main/week4/solution.typ
typst
#import "@preview/diagraph:0.1.2": * #set text( size: 15pt, ) #set page( paper: "a4", margin: (x: 1.8cm, y: 1.5cm), ) #align(center, text(21pt)[ *Cyber Physical Systems - Discrete Models \ Exercise Sheet 4 Solution* ]) #grid( columns: (1fr, 1fr), align(center)[ <NAME> \ <EMAIL> ], align(ce...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/src/util.typ
typst
Apache License 2.0
#let z-fill(string, length) = { let filled = "0" * length + string return filled.slice(-length) }
https://github.com/Pablo-Gonzalez-Calderon/chic-header-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/chic-header-package/main/README.md
markdown
MIT License
# Chic-header (v0.4.0) **Chic-header** (chic-hdr) is a Typst package for creating elegant headers and footers ## Usage To use this library through the Typst package manager (for Typst 0.6.0 or greater), write `#import "@preview/chic-hdr:0.4.0": *` at the beginning of your Typst file. Once imported, you can start usin...
https://github.com/eternal-flame-AD/typstpp
https://raw.githubusercontent.com/eternal-flame-AD/typstpp/main/example.typ
typst
Apache License 2.0
#align(center)[ *Typstpp Demo* ] Load some libraries: ```r #| message: false library(tidyverse) ``` Then make a plot: ```r plot(iris) ``` Then try some Haskell: ```hs :{ fib :: Int -> Int fib 0 = 0 fib 1 = 1 fib n = fib (n-1) + fib (n-2) :} map fib [0..10] ``` Then make a table: ```r knitr::kable(he...
https://github.com/cnaak/blindex.typ
https://raw.githubusercontent.com/cnaak/blindex.typ/main/books.typ
typst
MIT License
//============================================================================================// // Biblical / Indexing Constants // //============================================================================================// //-------------------------...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/互联网原理与技术/作业/理论5.typ
typst
The Unlicense
#import "template.typ": * #import "@preview/tablem:0.1.0": tablem #show: project.with( title: "理论 5", authors: ( "absolutex", ) ) = P3 考虑下面的网络。对于标明的链路开销,用Dijkstra的最短路算法计算出从x到所有网络节点的最短路径。通过计算一个类似于表5-1的表,说明该算法是如何工作的。 #tablem[ |步骤|N'|D(u),p(u)|D(v),p(v)|D(w),p(w)|D(y),p(y)|D(z),p(z)|D(t),p(t)| |---|---|-...
https://github.com/coalg/notebook
https://raw.githubusercontent.com/coalg/notebook/main/exercises/dehnadi-test.typ
typst
#import "@preview/ttt-exam:0.1.0": * #import "@preview/wrap-it:0.1.0": * #import components: frame, field, point-tag #import "@preview/codelst:2.0.1": sourcecode #set text(lang:"ja", font: "<NAME>", weight: 300, size: 12pt) #set list(indent: 2em) #set enum(indent: 1em, numbering: "a)") #let question(body, points: non...
https://github.com/MaharshiAJ/Resume-Template
https://raw.githubusercontent.com/MaharshiAJ/Resume-Template/main/README.md
markdown
# Typst Resume Template ## Usage 1. Install Typst Cli from [typst](https://github.com/typst/typst) 2. Clone this repo - `git clone https://github.com/MaharshiAJ/Resume-Template` 3. File out the resume.json file with your current resume data 4. Run the following command - `typst compile main.typ` ## Making C...
https://github.com/jamesrswift/pixel-pipeline
https://raw.githubusercontent.com/jamesrswift/pixel-pipeline/main/src/pipeline/sorting/lib.typ
typst
The Unlicense
#import "dependency.typ": sort as dependency #import "bvh.typ"
https://github.com/open-datakit/accs-finalreport-whitepaper
https://raw.githubusercontent.com/open-datakit/accs-finalreport-whitepaper/main/ACCSFinalReportWhitepaper.typ
typst
#import "fontawesome.typ" #show link: underline #set document( title: "opendata.fit: ACCS WP6 final report whitepaper", author: ("<NAME>", "<NAME>") ) #set text( // font: "Noto Sans" ) #set page( header: [ #set text(font:"Cerebri Sans", 8pt) ACCS WP6 Final Report Whitepaper #h(1fr) #set tex...
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/0-base/1-oath.typ
typst
#set align(start + horizon) #set heading(numbering: none, supplement: [Abschnitt]) = Eidesstattliche Erklärung Hiermit erkläre ich, dass ich die vorliegende Arbeit eigenständig und ohne fremde Hilfe angefertigt habe. Textpassagen, die wörtlich oder dem Sinn nach auf Publikationen oder Vorträgen anderer Autoren beruhen...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/alignment_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test #460 equations. $ a &=b & quad c&=d \ e &=f & g&=h $
https://github.com/r4ai/typst-code-info
https://raw.githubusercontent.com/r4ai/typst-code-info/main/.github/fixtures/caption-and-label.typ
typst
MIT License
#import "../../plugin.typ": init-code-info, code-info, parse-diff-code #show: init-code-info.with() #code-info( caption: [A program to display "Hello, world!"], label: "hello-world", ) ```rust pub fn main() { println!("Hello, world!"); } ``` According to @hello-world, the program displays "Hello, world!".
https://github.com/sa-concept-refactoring/doc
https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/chapters/inlineConceptRequirement.typ
typst
#import "@preview/tablex:0.0.4": tablex, colspanx, rowspanx, cellx, hlinex #let refactoring_name = "Inline Concept Requirement" = Refactoring — #refactoring_name <inline_concept_requirement> For this refactoring a subset of the initial idea (@idea_requirement_transformation) is implemented. Specifically the inlining ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/argsOrParams.typ
typst
Apache License 2.0
#let f(x: 1) = []; #let f(x: "[]") = []; #let f(x: [x]) = [];
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Philosophie_Problematique_1.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Philosophie Problematique 1", authors: ( "<NAME>", ), date: "11 Janvier, 2024", ) #set heading(numbering: "1.1.") == Question: #emph[...
https://github.com/dankelley/typst_templates
https://raw.githubusercontent.com/dankelley/typst_templates/main/ex/0.0.1/ex.typ
typst
MIT License
// https://typst.app/docs/tutorial/making-a-template/ // https://github.com/typst/packages/?tab=readme-ov-file#local-packages #let conf( class: none, number: none, title: none, date: none, doc, ) = { set text(font: "Times Roman", size: 12pt) set page("us-letter", header: [ *#class Exercise #number #h(1fr)...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/syntaxes/textmate/tests/unit/basic/may_import.typ
typst
Apache License 2.0
#let evil_import() = import "base.typ" #import "base.typ" #import ("base.typ") #import("base.typ") #import "base.typ": * #import "base.typ" as t: * #import "base.typ": x #import "base.typ": x as foo #import "base.typ": x as foo, y #import "base.typ" as foo #import "base.typ" as foo: z, x as foo, y as t #import cetz.dra...
https://github.com/DannySeidel/typst-dhbw-template
https://raw.githubusercontent.com/DannySeidel/typst-dhbw-template/main/locale.typ
typst
MIT License
#let TITLEPAGE_SECTION_A = ( "de": "für den Erwerb des", "en": "for the", ) #let TITLEPAGE_SECTION_B = ( "de": "aus dem Studiengang ", "en": "from the course of studies ", ) #let TITLEPAGE_SECTION_C = ( "de": "an der ", "en": "at the ", ) #let TITLEPAGE_STUDENT_ID = ( "de": "Matrikelnummer, Kurs:", "...
https://github.com/rxt1077/it610
https://raw.githubusercontent.com/rxt1077/it610/master/markup/templates/syllabus.typ
typst
// template for a general NJIT syllabus #let syllabus( course: none, instructor: [<NAME>], email: [<EMAIL>], office: [3500 Guttenberg Information Technologies Center (GITC)], office-hours: none, objective: none, grading: none, course-materials: none, outcomes: none, outline: none, doc, ) = [ #...
https://github.com/mem-courses/discrete-mathmatics
https://raw.githubusercontent.com/mem-courses/discrete-mathmatics/main/homework/week2.typ
typst
MIT License
#import "../template.typ": * #import "../functions.typ": * #show: project.with( course: "Discrete Mathmatics", course_fullname: "Discrete Mathematics and Application", course_code: "211B0010", title: "Homework #2: Predicates and Quantifiers", authors: (( name: "<NAME>", email: "<EMAIL>", id: "A10" ),), se...
https://github.com/ilsubyeega/circuits-dalaby
https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/1/18.typ
typst
#set enum(numbering: "(a)") #import "@preview/cetz:0.2.2": * #import "../common.typ": answer 1.18 다음 회로에서 각각의 소자 7개에 대해 그 소자가 전력을 공급하는지/소모하는지 판별하고, 얼마나 많은 전력을 공급하거나 수신하는지 결정하라. #answer[ 소자 1: $24 times (-5) = -120$W 소자 2: $6 times 5 = 30$W 소자 3: $8 times 1 = 8$W 소자 4: $12 times 4 = 48$W 소자 5: $4 times ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/text/copy-paste.typ
typst
// Test copy-paste and search in PDF with ligatures // and Arabic test. Must be tested manually! --- text-copy-paste-ligatures --- The after fira 🏳️‍🌈! #set text(lang: "ar", font: "Noto Sans Arabic") مرحبًا
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/crossregex/0.2.0/README.md
markdown
Apache License 2.0
# crossregex A crossword-like game written in Typst. You should fill in letters to satisfy regular expression constraints. Currently, _squares_ and _regular hexagons_ are supported. > [!note] > This is not a puzzle solver, but a puzzle layout builder. It takes inspiration from a web image, which derives our standard...
https://github.com/imkochelorov/ITMO
https://raw.githubusercontent.com/imkochelorov/ITMO/main/src/template.typ
typst
#let project(title: "", authors: (), date: none, body, subtitle: none) = { set document(author: authors, title: title) set page(numbering: "1", number-align: center) set text(font: "New Computer Modern", lang: "en") //show raw: set text(font: "New Computer Modern Mono") // Title row. align(center)[ #b...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/ansi-render/0.2.0/README.md
markdown
Apache License 2.0
# ANSI Escape Sequence Renderer <a href="https://github.com/8LWXpg/typst-ansi-render/tags"> <img alt="GitHub manifest version (path)" src="https://img.shields.io/github/v/tag/8LWXpg/typst-ansi-render"> </a> <a href="https://github.com/8LWXpg/typst-ansi-render"> <img src="https://img.shields.io/github/stars/8LWXpg/...
https://github.com/jangala-dev/product-docs
https://raw.githubusercontent.com/jangala-dev/product-docs/main/README.md
markdown
# product-docs Welcome to the repository for Jangala's documentation creation system. This is very WIP. This repository will have a large number of our team working on it. Our Projects and Comms people will be core developers in this process! To assist this process we're developing a friendly and consistent process b...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/study-3/tracking-factor.typ
typst
MIT License
#import "../../../lib/mod.typ": * === Tracking Factor $bold(f_t)$ <s.m.tracking-factor> // #jonas[I believe this is all new to you. Does it makes sense?] The design of the tracking factor mimics that of the interrobot factors, $f_i$. Similar to the interrobot factors, the tracking factor takes two points in space int...
https://github.com/unb3rechenbar/TypstPackages
https://raw.githubusercontent.com/unb3rechenbar/TypstPackages/main/styles/LongSymbols/0.1.0/src/lib.typ
typst
#let long-symbol(sym, factor) = { assert(type(sym) == "symbol", message: "Input needs to be a symbol") assert(type(factor) == "integer" or type(factor) == "float", message: "Scale factor must be a number") assert(factor >= 1, message: "Scale factor must be >= 1") factor = 5*factor - 4 let body = [#sym] s...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/visualize/color.typ
typst
// Test color modification methods. --- color-mix --- // Compare both ways. #test-repr(rgb(0%, 30.2%, 70.2%), rgb("004db3")) // Alpha channel. #test(rgb(255, 0, 0, 50%), rgb("ff000080")) // Test color modification methods. #test(rgb(25, 35, 45).lighten(10%), rgb(48, 57, 66)) #test(rgb(40, 30, 20).darken(10%), rgb(36...
https://github.com/lublak/typst-echarm-package
https://raw.githubusercontent.com/lublak/typst-echarm-package/main/typst-package/lib.typ
typst
MIT License
#import "@preview/ctxjs:0.1.0" #let echarts-bytecode = read("echarts.kbc1", encoding: none) #let echart-helper = read("echarts_helper.js", encoding: none) #{ _ = ctxjs.create-context("@preview/echarm") _ = ctxjs.eval("@preview/echarm", "function setTimeout(functionRef, delay, ...args) { if(!delay) {functionRef();...
https://github.com/wenjia03/JSU-Typst-Template
https://raw.githubusercontent.com/wenjia03/JSU-Typst-Template/main/README.md
markdown
MIT License
# 吉首大学 `Typst` 模板集合 目前是差不多是自用类型的模板.... 和老师联系了一下,本校课程设计、实验报告模板差异较大,暂时不好统一,所以目前是尽量适配....毕业设计这块的模板,学校正在修订,暂时还无特定标准。 ## Why `Typst`? - **速度快**:`Typst`基于`Rust`开发,采用**增量编译**方案,文档长度基本不会影响编译速度。 - **易使用**:上手难度与`markdown`差不多,同时宏语法易理解。 - **上手快**:只需要使用一个VSCode装俩插件就能使用`Typst`的说!不像LaTeX,上来十几个GB上上强度,加上分不清的发行版(其实是我分不清...)。 其余相关的可以...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/020%20-%20Prologue%20to%20Battle%20for%20Zendikar/006_Offers%20to%20the%20Fire.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Offers to the Fire", set_name: "Prologue to Battle for Zendikar", story_date: datetime(day: 05, month: 08, year: 2015), author: "<NAME>", doc ) "Chandra, please chant with us," said the abbot Serenok, his heavy sleeve swaying as he gestured...
https://github.com/storopoli/Bayesian-Statistics
https://raw.githubusercontent.com/storopoli/Bayesian-Statistics/main/slides/03-priors.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "@preview/polylux:0.3.1": * #import themes.clean: * #import "utils.typ": * #new-section-slide("Priors") #slide(title: "Recommended References")[ - #cite(<gelman2013bayesian>, form: "prose"): - Chapter 2: Single-parameter models - Chapter 3: Introduction to multiparameter models - #cite(<mcelreat...
https://github.com/alberto-lazari/unipd-typst-doc
https://raw.githubusercontent.com/alberto-lazari/unipd-typst-doc/main/examples/notes.typ
typst
MIT License
#import "@local/unipd-doc:0.0.1": * #show: notes() #show: unipd-doc( title: [Course], subtitle: [Notes], author: [The author], date: [DD-MM-YY], ) #lecture[1 -- 02/10] = Heading #lorem(50) #lecture[2 -- 05/10] == Heading 2 #lorem(30) / Term: definition #lorem(20) === A formula $ E = m c^2 $
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/content-01.typ
typst
Other
// Test tables. $ x := #table(columns: 2)[x][y]/mat(1, 2, 3) = #table[A][B][C] $
https://github.com/qujihan/typst-book-template
https://raw.githubusercontent.com/qujihan/typst-book-template/main/template/parts/figure/lib.typ
typst
#import "code.typ": code #import "pic.typ": pic #import "tbl.typ": tbl #let figure-root-path = "../../../../"
https://github.com/MobtgZhang/sues-thesis-typst
https://raw.githubusercontent.com/MobtgZhang/sues-thesis-typst/main/paper/thesis.typ
typst
MIT License
#import "info.typ":* //------------------------------------------- // 定义一些常见的变量 //AutoFakeBold 常量 #let autoFakeBold_pt = 0.35pt // 定义行距 #let linespacing = 1.5em // 定义字体的大小 #let fontsizedict = ( 初号: 42pt, 小初: 36pt, 一号: 26pt, 小一: 24pt, 二号: 22pt, 小二: 18pt, 三号: 16pt, 小三: 15pt, 四号: 14pt, 中四: 13pt, 小四: ...
https://github.com/qujihan/toydb-book
https://raw.githubusercontent.com/qujihan/toydb-book/main/src/chapter2/summary.typ
typst
#import "../../typst-book-template/book.typ": * #let path-prefix = figure-root-path + "src/pics/" == 总结
https://github.com/MALossov/YunMo_Doc
https://raw.githubusercontent.com/MALossov/YunMo_Doc/main/template/template.typ
typst
Apache License 2.0
#import "font.typ": * #let Thesis( // 参考文献bib文件路径 ) = { set page(paper: "a4", margin: ( top: 2.54cm, bottom: 2.54cm, left: 2.5cm, right: 2cm), footer: [ #set align(center) #set text(size: 10pt, baseline: -3pt...
https://github.com/Mouwrice/thesis-typst
https://raw.githubusercontent.com/Mouwrice/thesis-typst/main/future_work.typ
typst
= Future work <future-work> In this section, some ideas are listed that could be interesting to explore in the future. == Increasing signal stability The signal stability has been increased by the method introduced previously, reducing the jitter and noise. However, the signal is still not perfect. It would be inter...
https://github.com/N4tus/uf_algo
https://raw.githubusercontent.com/N4tus/uf_algo/main/types.typ
typst
MIT License
#import "types-for-typst/types_for_typst.typ": * #let TMakeup = TDict(style: TAny, format: TAny) #let AElem(t_value) = TDict(value: t_value, styles: TArray(TDict(fn: TFunction, precedence: TFunction))) #let TElem = AElem(TAny) #let AGroup(t_group) = TDict(group: t_group, start_style: optional(TFunction), end_style: ...
https://github.com/SkiFire13/master-thesis-presentation
https://raw.githubusercontent.com/SkiFire13/master-thesis-presentation/master/presentation.typ
typst
#import "@preview/fletcher:0.5.1" as fletcher: node, edge #import "@preview/pinit:0.2.0": * #import "@preview/touying:0.3.1": * #import "typst-touying-unipd/unipd.typ": * #import "common.typ": * #import "touying-diagrams.typ": diagram #show: unipd-theme #title-slide( title: [Solving Systems of Fixpoint Equations vi...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/edge-corner/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #let around = ( (-1,+1), (+1,+1), (-1,-1), (+1,-1), ) #for dir in (left, right) { pad(1mm, diagram( spacing: 1cm, node((0,0), [#dir]), { for c in around { node(c, $#c$) edge((0,0), c, $f$,...
https://github.com/RiccardoTonioloDev/Bachelor-Thesis
https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/config/thesis-config.typ
typst
Other
#import "../config/constants.typ": chapter #let config( myAuthor: "<NAME>", myTitle: "Titolo", myLang: "it", myNumbering: "1", body ) = { // Set the document's basic properties. set document(author: myAuthor, title: myTitle) show math.equation: set text(weight: 400) // LaTeX look (sec...
https://github.com/massix/cv
https://raw.githubusercontent.com/massix/cv/trunk/main.typ
typst
Other
// vi: tw=80 colorcolumn=80,120,200 ts=2 sw=2 #import "@preview/fontawesome:0.1.1": * #import "@preview/modern-cv:0.2.0": * #import "@preview/splash:0.3.0": xcolor #show: resume.with( author: ( firstname: "Massimo", lastname: "Gengarelli", email: "@GH_SECRET_EMAIL@", phone: "@GH_SECRET_PHONE@", ...
https://github.com/Ri0ee/typst-rtu
https://raw.githubusercontent.com/Ri0ee/typst-rtu/master/README.md
markdown
# RTU Typst template To run this project use VSCode extension for typst or download an official executable from <https://github.com/typst/typst>. Compile the project with: ```bash typst compile report.typ ```
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1BCA0.typ
typst
Apache License 2.0
#let data = ( ("SHORTHAND FORMAT LETTER OVERLAP", "Cf", 0), ("SHORTHAND FORMAT CONTINUING OVERLAP", "Cf", 0), ("SHORTHAND FORMAT DOWN STEP", "Cf", 0), ("SHORTHAND FORMAT UP STEP", "Cf", 0), )
https://github.com/nvarner/typst-lsp
https://raw.githubusercontent.com/nvarner/typst-lsp/master/.github/ISSUE_TEMPLATE/feature_request.md
markdown
MIT License
--- name: "🎁 Feature Request" about: Do you have ideas for new features or improvements? title: '' assignees: '' --- <!-- Hi there! Thank you for submitting a feature request! --> <!-- All the below steps should be completed before submitting your issue. --> - I have searched the [issues](https://github.com/nva...
https://github.com/chrischriscris/Tareas-CI5651-EM2024
https://raw.githubusercontent.com/chrischriscris/Tareas-CI5651-EM2024/main/tarea10/src/main.typ
typst
#import "template.typ": conf, question, pseudocode, GITFRONT_REPO #show: doc => conf("Tarea 10: Algoritmos Cuánticos", doc) #question[ Se desea que ejecute una simulación del algoritmo de Shor para $N = 21$. Para calcular las amplitudes que obtendría la QFT, puede usar la DFT (Transformada Discreta de Fourier c...
https://github.com/iyno-org/Holistic-Clinical-Neurosurgery
https://raw.githubusercontent.com/iyno-org/Holistic-Clinical-Neurosurgery/main/covers/back-cover.typ
typst
#import "@preview/bubble:0.2.1": * #show: bubble.with( date: "", //main-color: "4DA6FF", //set the main color )
https://github.com/MultisampledNight/flow
https://raw.githubusercontent.com/MultisampledNight/flow/main/src/cfg.typ
typst
MIT License
// Configuration via sys.inputs or `--input` on the command line. // Yeah, this doesn't exactly follow the "parse, don't validate" model, // but given Typst's lack of typing for the moment I wasn't exactly feeling like // forcing that paradigm on it. #let _define(name) = { let source = sys.inputs.at(name, default: no...
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/main.typ
typst
#import "conf.typ": * #let title = [ ГОС по матану ] #show: doc => conf(title, doc) #align(center, text(17pt)[ *#title* ]) #align(center)[ *Disclaymer*: доверять этому конспекту или нет выбирайте сами ] #epigraph("Экзамен - это тропа", "<NAME>") // TODO: Свойства пределов, предельные переходы // TODO: Окрес...
https://github.com/liuguangxi/erdos
https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/README.md
markdown
# Erdős Unofficial Offline Edition in Typst Collect all problems from [Erdős](https://erdos.sdslabs.co). Current version is **v2024.2**, where a total of 317 problems (from #1 to #368, the numbers are **NOT** sequential!) are included. To compile the document, you need to install [`typst`](https://github.com/typs...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/theorems/new-theorem-template.typ
typst
Apache License 2.0
#import "../colors.typ": color-schema #import "../counters.typ": theorem-counter /// Create a new theorem-like template. #let new-theorem-template( identifier, theorem-counter: theorem-counter, fill: color-schema.blue.light, stroke: color-schema.blue.primary, ) = (body, title: none) => { // * I wrap the theo...
https://github.com/herbhuang/utdallas-thesis-template-typst
https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/metadata.typ
typst
MIT License
// Enter your thesis data here: #let titleEnglish = "(Title English)" #let titleGerman = "(Title German)" #let degree = "Bachelor" #let program = "Information Systems" #let supervisor = "Prof. Dr. <NAME>" #let advisors = ("<NAME>, M.Sc.",) #let author = "(Author)" #let startDate = datetime(day: 1, month: 1, year: 2024)...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/_settings/typst/template-te.typ
typst
#let resume(title, name, cols: 2, doc) = { set text(size:7.5pt, font: "Times New Roman") set par(leading: 0.45em) set block(above: 0.5em) show heading.where(level: 2): it => block[ #set text(size: 1.1em) #it ] show heading.where(level: 3): it => [ #set text(size: 1.1em) #set par(leading: ...
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/conformal_prediction/conformal_prediction.typ
typst
#import "slides.typ": * #show: slide_deck #set list(indent: 1em) #set enum(indent: 1em) #set page(footer: [ #locate(loc => { let k = counter(page).at(loc).first() - 1; let n = counter(page).final(loc).first() - 2; [ #set text(size: 12pt, fill: luma(80)) #set align(right + bottom) #if k >...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/docs/templates/gh-page.typ
typst
MIT License
// This is important for typst-book to produce a responsive layout // and multiple targets. #import "@preview/book:0.2.3": get-page-width, target, is-web-target, is-pdf-target, plain-text #let page-width = get-page-width() #let is-pdf-target = is-pdf-target() #let is-web-target = is-web-target() // todo: move theme s...
https://github.com/adam-zhang-lcps/papers
https://raw.githubusercontent.com/adam-zhang-lcps/papers/main/civil-war-q4-pba.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#set document( title: "Civil War Sectionalism PBA", author: "<NAME>", date: datetime.today(), ) #set page(paper: "us-letter") #set text(font: "Liberation Serif", size: 11pt) #set par(first-line-indent: 0.25in) #show par: set block(spacing: 0.65em) One economic cause of sectionalism during the antebellum period w...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/introduction.typ
typst
#set text(font: ("Times New Roman", "NSimSun")) = Table Tennis Ranking Calculation #v(1em) #h(2em) As is known to all, the ITTF revised the international ranking rules for table tennis on January 1, 2018. The rules have been controversial since their launch, as the calculation method is too complicated and does not co...