repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/royfrancis/quarto-typst-certificate
https://raw.githubusercontent.com/royfrancis/quarto-typst-certificate/main/README.md
markdown
# quarto-typst-certificate A quarto template that uses typst to create a PDF certificate <img src="preview.jpg" width="400px"> ## Installation :warning: Requires quarto 1.4. ``` quarto use template royfrancis/quarto-typst-certificate ``` ## Render ``` quarto render index.qmd ``` To modify parameters; ``` quart...
https://github.com/TOD-theses/paper-T-RACE
https://raw.githubusercontent.com/TOD-theses/paper-T-RACE/main/front-matter.typ
typst
#import "utils.typ": * = Acknowledgements I want to express gratitude towards all the companions I had so far. Fooling around with siblings, hiking towards wiggly stones, sharing meals in the kitchen with flatmates, enjoying movies together, playing games, learning new languages by doing uni projects or being at rand...
https://github.com/Treeniks/bachelor-thesis-isabelle-vscode
https://raw.githubusercontent.com/Treeniks/bachelor-thesis-isabelle-vscode/master/chapters/05-main-enhancements/symbol-handling.typ
typst
#import "/utils/todo.typ": TODO #import "/utils/isabelle.typ": * == Symbol Handling <symbol-handling> As described in @background:isabelle-symbols, Isabelle utilizes its own #utf8isa encoding to deal with Isabelle Symbols. It is important to distinguish between 3 different domains: / Physical: This is the contents o...
https://github.com/sebaseb98/clean-math-thesis
https://raw.githubusercontent.com/sebaseb98/clean-math-thesis/main/main.typ
typst
MIT License
// global #import "@preview/great-theorems:0.1.1": * #import "@preview/hydra:0.5.1": hydra //local #import "meta.typ" #import "customization/colors.typ": * // ------------------- settings ------------------- #set heading(numbering: "1.1") // Heading numbering #set enum(numbering: "(i)") // Enumerated lists #set cite...
https://github.com/WawooGithub/nuist-thesis-typst
https://raw.githubusercontent.com/WawooGithub/nuist-thesis-typst/main/thesis.typ
typst
MIT License
#import "nju-thesis/template.typ": documentclass, tablex, fig, tlt, indent #import "nju-thesis/utils/style.typ": 字号, 字体 #import "nju-thesis/utils/indent.typ": fake-par #import "nju-thesis/utils/invisible-heading.typ": invisible-heading // 双面模式,会加入空白页,便于打印 #let twoside = false // #let twoside = true #let ( doc, pre...
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/meta/ref.typ
typst
MIT License
// Test references. --- #set heading(numbering: "1.") = Introduction <intro> See @setup. == Setup <setup> As seen in @intro, we proceed. --- // Error: 1-5 label does not exist in the document @foo --- = First <foo> = Second <foo> // Error: 1-5 label occurs multiple times in the document @foo
https://github.com/Narcha/typst-flagtastic
https://raw.githubusercontent.com/Narcha/typst-flagtastic/main/example.typ
typst
MIT License
#import "lib.typ": * = Parameters and Examples #let examples = ( "#flag(\"UA\") Some text // ISO 3166-1 alpha-2 code", "#flag(\"UKR\") Some text // ISO 3166-1 alpha-3 code", "#flag(\"Ukraine\") Some text // English name", "#flag(\"UA\", shape: \"circle\") Some text", "#flag(\"UA\", shape: \"rounded\") Some ...
https://github.com/XcantloadX/TypstMomoTalk
https://raw.githubusercontent.com/XcantloadX/TypstMomoTalk/main/examples/introduction.typ
typst
#import "/momotalk/momotalk.typ": * #import "/momotalk/files.typ": * #import "/momotalk/characters.typ" : * #show: doc => chat( doc, title: "MomoTalk 演示", author: "@XcantloadX", ) // 介绍 #yuuka(( "欢迎使用新的 MomoTalk “编辑器”。实际上,这是一个 Typst 模板,并不是一个独立的编辑器。", quote(attribution: "Typst 非官方中文文档", block: true)[ T...
https://github.com/htlwienwest/da-vorlage-typst
https://raw.githubusercontent.com/htlwienwest/da-vorlage-typst/main/lib.typ
typst
MIT License
#import "lib/template.typ" as template // Reexport of template functions #let diplomarbeit = template.diplomarbeit #let autor = template.autor
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/026.typ
typst
#let date = datetime( year: 2022, month: 5, day: 25, ) #metadata(( title: "核酸检测管里的红色液体是什么?为啥是红色的?", subtitle: [核酸检测], author: "dashuai009", description: "喜提管长几次,刷知乎遇到这个问题,感觉之前从来没想过这个问题。液体是病毒保存液,红色是酚红。", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf 转自知乎...
https://github.com/tfachmann/presentation-optimal-music-recognition-typst
https://raw.githubusercontent.com/tfachmann/presentation-optimal-music-recognition-typst/main/main.typ
typst
#import "@preview/polylux:0.3.1": * #import "tfachmann-theme.typ": * // rgb("#FF5D05"), #let c_primary = rgb("#E65100"); #let c_secondary = rgb("#0078b8"); #let c_background = rgb("#212121"); #let c_background_light = rgb("A2AABC") #let c_white = rgb("#CFD8DC"); #set page(paper: "presentation-16-9") #set line(strok...
https://github.com/arambaroudi/tp4
https://raw.githubusercontent.com/arambaroudi/tp4/main/Lab-4%20(1).typ
typst
#import "Class.typ": * #show: ieee.with( title: [#text(smallcaps("Lab #4: ROS2 using RCLPY in Julia"))], /* abstract: [ #lorem(10). ], */ authors: ( ( name: "<NAME>", department: [Senior-lecturer, Dept. of EE], organization: [ISET Bizerte --- Tunisia], profile: "a-mhamdi"...
https://github.com/bionick7/ME46060_Optimization
https://raw.githubusercontent.com/bionick7/ME46060_Optimization/main/report/report.typ
typst
#show figure.where(kind: table): set figure.caption(position: top) #let vv(x) = $arrow(#x)$ #set math.vec(delim: "[") #set math.mat(delim: "[") #set heading(numbering: "1.1") // TODO: title #set align(center) #text(size: 32pt)[ Optimal placement of reaction control thrusters conforming to a spacecraft's surface ] ...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/r05.typ
typst
MIT License
#import "@local/evan:1.0.0":* #show: evan.with( title: [Notes for 18.02 Recitation 5], subtitle: [18.02 Recitation MW9], author: "<NAME>", date: [18 September 2024], ) #quote(attribution: [Petey])[The most competent people, with weak processes, will screw up.] This handout (and any other DLC's I write) are p...
https://github.com/TheTacBanana/make_deedpoll
https://raw.githubusercontent.com/TheTacBanana/make_deedpoll/master/README.md
markdown
# Deed Poll A Typst template for creating a [Deed Poll](https://www.gov.uk/change-name-deed-poll), used to change your name in the UK. It is recommended to create several copies of a deed poll so that you have backups in case an organisation decides they would like to keep it.
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/packages/typst.node/npm/freebsd-x64/README.md
markdown
Apache License 2.0
# `@myriaddreamin/typst-ts-node-compiler-freebsd-x64` This is the **x86_64-unknown-freebsd** binary for `@myriaddreamin/typst-ts-node-compiler`
https://github.com/sa-concept-refactoring/doc
https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/chapters/introduction.typ
typst
// - Beschreibung der Ausgangslage // - Beschreibung der Aufgabe // - Rahmenbedingungen // - Vorarbeiten // - Übersicht über die kommende Kapitel = Introduction // COR Not to dissuade, but the intro would be slightly more compelling if there was a refactoring (idea) that supported the transformation from <C++20 code ...
https://github.com/kimushun1101/typst-jp-conf-template
https://raw.githubusercontent.com/kimushun1101/typst-jp-conf-template/main/docs/setting-fonts.md
markdown
MIT No Attribution
# フォントの設定 lib.typ で設定されております. 例えば RSJ の場合は [libs/rsj-conf/lib.typ](../libs/rsj-conf/lib.typ#L5-L7) にあります. 基本的に Windows では MS フォント,Mac ではヒラギノフォントが自動的に選択されるはずです. Linux では,フォントがインストールされておりませんので,ご自身でインストールする必要があるかもしれません. 例えば Ubuntu の場合には ``` sudo apt-get update sudo apt-get install -y fonts-noto fonts-noto-cjk ...
https://github.com/majst01/thesis
https://raw.githubusercontent.com/majst01/thesis/main/thesis.typ
typst
= Title of the Thesis #set page(margin: (left: 3cm, right: 2cm)) #set par(leading: 1.5em) #set text(font: "Times New Roman") #outline() == Introduction + Numbered list entry + Second item - bullet list entry #figure(caption: [Some description to the image], image("images/glacier.jpg")) == Content Lorem ipsum...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/book_notes/content/04_persistence_02_filesystem.typ
typst
#import "../template.typ": * #pagebreak() = File System == Files and Directory == File System Implementation This chapter is an introduction to *vsfs*(the *Very Simple File System*). #tip("Tip")[ The file system is pure software. ] === The Way To Think - *data structure* - *access methods* - how does it map the...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/opentype.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/heading.typ": chapter #import "/template/components.typ": note #import "/template/lang.typ": tibetan, khmer #import "/lib/glossary.typ": tr #show: web-page-template #chapter[ // How OpenType Works OpenType的工作原理 ] // They say that if you enjo...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/布局/layout/layout.typ
typst
#image("屏幕截图 2024-04-16 155513.png") #image("屏幕截图 2024-04-16 155621.png")
https://github.com/swaits/typst-collection
https://raw.githubusercontent.com/swaits/typst-collection/main/pro-letter/0.1.0/README.md
markdown
MIT License
# Business Letter Typst Template This Typst template lets you create professional business letters effortlessly. ## Features - **Flexible Styling**: Adjust fonts, sizes, and emphasis according to your preferences. - **Customizable Sender and Recipient Details**: Easily configure names, addresses, and contact infor...
https://github.com/Mc-Zen/tidy
https://raw.githubusercontent.com/Mc-Zen/tidy/main/examples/funny-math/funny-math.typ
typst
MIT License
#import "funny-math-complex.typ": * /// This function computes the sine $sin(x)$ of $x$. /// /// See also @@funny-sqrt() for computing square roots. /// /// - phi (float): Angle for the sine function. /// -> float #let funny-sin(phi) = { calc.sqrt(phi) } /// This function computes the square root $sqrt(x)$ of ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/yagenda/0.1.0/agenda.typ
typst
Apache License 2.0
#let light-gray = luma(100) #let ultralight-gray = luma(240) #let mainfont = "Source Sans Pro" // #let mainfont = "Linux Biolinum Keyboard" #let entries(..args) = { grid( stroke: (bottom: (paint: ultralight-gray, dash: "dotted")), inset: (left: 0pt, rest: 4pt), ..args.pos().map(((label, value)) => [#sma...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-02.typ
typst
Other
// Error: 2-12 string is empty #"".first()
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/src/groth16.typ
typst
#import "preamble.typ":* = Groth16, another zkSNARK protocol <groth16> Like PLONK, Groth16 is a protocol for quadratic equations, as we described in @arith-intro. For Groth16, the format of the equations is in so-called _R1CS format_. == Input format To describe the technical specification of the input format, we c...
https://github.com/DanielOaks/tme
https://raw.githubusercontent.com/DanielOaks/tme/main/elements.typ
typst
#let sheet( title: "", paper: "a4", content ) = { set text( font: ( "Helvetica", "Arial", "sans-serif", ), size: 13pt, ) set document( title: title, ) set page( paper: paper, margin: ( top: 1.5cm, bottom: 1.5cm, x: 1.5cm, ), footer: [...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/based/0.1.0/test/test.typ
typst
Apache License 2.0
#import "../src/lib.typ": * // Test cases from: https://www.rfc-editor.org/rfc/rfc4648#section-10 #{ // Test encode assert.eq(encode64(""), "") assert.eq(encode64("f"), "Zg==") assert.eq(encode64("fo"), "Zm8=") assert.eq(encode64("foo"), "Zm9v") assert.eq(encode64("foob"), "Zm9vYg==") asser...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix_09.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 3-37 cannot draw a vertical line after column 3 of a matrix with 3 columns // $ mat(1, 0, 0; 0, 1, 1; augment: #3) $,
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/note/7.欧氏空间.typ
typst
#import "../template.typ": * #show: project.with( title: "Linear Algebra #7", authors: ( (name: "<NAME>", email: "<EMAIL>", phone: "3230104585"), ), date: "December 17, 2023", ) #let alpha = math.bold(math.alpha) #let beta = math.bold(math.beta) #let gamma = math.bold(math.gamma) #let theta = math.bold(math...
https://github.com/saurabtharu/CV
https://raw.githubusercontent.com/saurabtharu/CV/main/cover_letter.typ
typst
Dear Hiring Manager, I’m excited about the opportunity to apply for the Junior DevOps Engineer position at Nex Digital Studio. With a strong foundation in DevOps practices and hands-on experience gained through both academic projects and a recent internship, I am confident that I can contribute effectively to your tea...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-tools/planer.typ
typst
#import "/meta-environments/env-features.typ": * = Planer The _planer_ (or _thickness planer_) removes material from the top face of a board to make it flat. The resulting surface will be parallel to the opposite face. == Notes === Safety - Never attempt to plane engineered products like MDF, plywood, particleboar...
https://github.com/LeptusHe/LeptusHe.github.io
https://raw.githubusercontent.com/LeptusHe/LeptusHe.github.io/main/source/_posts/编写可测试的代码-依赖注入.typ
typst
#import "./typst-inc/blog-inc.typc": * #show: blog_setting.with( title: "编写可测试的代码-依赖注入", author: ("<NAME>"), paper: "a1" ) #metadata("依赖注入") <tags> #metadata("单元测试") <categories> #metadata("2018-12-13") <date> = 测试 在代码中,类与类、类与方法或者其他软件实体之间总是存在着某些依赖关系。例如,假设某个类$A$的对象$a$需要完成某个功能,然而,它需要通过与类$B$的对象$b$的协作才能够完成该功能。在这个...
https://github.com/antonWetzel/Masterarbeit
https://raw.githubusercontent.com/antonWetzel/Masterarbeit/main/arbeit/fazit.typ
typst
#import "setup.typ": * = Fazit == Segmentierung Die Segmentierung unterteilt die Punkte in einzelne Bäume. Wenn die Kronen der Bäume klar getrennte Spitzen haben, werden diese ohne Probleme unterteilt. Dadurch werden manche Waldgebiete gut segmentiert, aber je näher die Kronen der Bäume zueinander sind, desto wahr...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/examples/exam-localization.typ
typst
MIT License
#import "../src/lib.typ": * #show: g-exam.with( localization: ( grade-table-queston: [Number of *questions*], grade-table-total: [Total _poinst_], grade-table-points: [#text(fill: red)[Points]], grade-table-grade: [#text(fill: gradient.radial(..color.map.rainbow))[Grades obtained]], point: [point...
https://github.com/jonaspleyer/peace-of-posters
https://raw.githubusercontent.com/jonaspleyer/peace-of-posters/main/docs/content/documentation/layouts.md
markdown
MIT License
--- title: "Layouts" weight: 20 --- # Layouts Layouts modify mostly shapes and spacings between boxes. Similarly to [themes](/documentation/themes), their purpose is cosmetic. A layout, just like a theme, is a dictionary. ```typst layout = ( "spacing": [length] [relative], "body-size": [length], "heading-s...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/exploring/hhea-os2.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ### Vertical metrics: `hhea` and `OS/2` === 纵向#tr[metrics]:`hhea` 和 `OS/2` 表 // Before this next test, we will actually add some outlines to our font: a capital A ...
https://github.com/KhalilAMARDJIA/SimpleReport
https://raw.githubusercontent.com/KhalilAMARDJIA/SimpleReport/main/_extensions/simplereport/typst-template.typ
typst
// main variables settings #let main_color = rgb(0,0,255) #let main_font = ("Latin Modern Roman", "Libertinus Serif", "IBM Plex Serif", "Times New Roman") #let secondary_font = ("Cantarell", "Helvetica", "IBM Plex Sans", "Noto Sans", "Arial") #let report( title: none, subtitle: none, authors: none, date: ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-2D80.typ
typst
Apache License 2.0
#let data = ( ("ETHIOPIC SYLLABLE LOA", "Lo", 0), ("ETHIOPIC SYLLABLE MOA", "Lo", 0), ("ETHIOPIC SYLLABLE ROA", "Lo", 0), ("ETHIOPIC SYLLABLE SOA", "Lo", 0), ("ETHIOPIC SYLLABLE SHOA", "Lo", 0), ("ETHIOPIC SYLLABLE BOA", "Lo", 0), ("ETHIOPIC SYLLABLE TOA", "Lo", 0), ("ETHIOPIC SYLLABLE COA", "Lo", 0), ...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/gallery/linear.typ
typst
The Unlicense
#import "../lib.typ": * #import themes.linear: linear-theme #import themes.linear.components #show: notebook.with( theme: linear-theme, team-name: "53C", season: "Over Under", year: "2023-2024", ) #create-frontmatter-entry(title: "Color Coding Guide")[ This key represents each step of the Engineering Design...
https://github.com/r8vnhill/apunte-bibliotecas-de-software
https://raw.githubusercontent.com/r8vnhill/apunte-bibliotecas-de-software/main/Unit2/Inheritance.typ
typst
== Herencia La herencia es un principio fundamental de la programación orientada a objetos que permite a una clase derivar o heredar propiedades y comportamientos (métodos) de otra clase. Esto establece una relación jerárquica entre la clase superior (superclase) y la clase derivada (subclase). === Propósito y Bene...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/metadata.typ
typst
The Unlicense
#import "./icons/icons.typ" #import "./colors.typ": * // These should really be with their respective files, but that causes a cyclic import error, so I put them here. // @typstyle off #let entry-type-metadata = ( "identify": (icon: icons.question-mark, color: yellow), "brainstorm": (icon: icons.light-bulb, color...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/changelog/welcome.md
markdown
Apache License 2.0
--- description: | Learn what has changed in the latest Typst releases and move your documents forward. --- # Changelog Learn what has changed in the latest Typst releases and move your documents forward. This section documents all changes to Typst since its initial public release. ## Versions - [Typst 0.12.0]($c...
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[6] Conclusão e Trabalhos Futuros/main.typ
typst
#import "conclusão.typ": conclusão #let conclusão = { [ = Conclusões e Trabalho Futuro #conclusão ] }
https://github.com/0x546974616e/typst-resume
https://raw.githubusercontent.com/0x546974616e/typst-resume/main/template/globals.typ
typst
#let column-size = 161pt #let spacing = ( small: 2pt, medium: 4pt, large: 8pt, ) #let colors = ( fg1: rgb(60, 120, 216), // light blue fg2: rgb(17, 85, 204), // dark blue fg3: rgb("#434343"), // dark gray fg4: white, bg1: white, bg2: rgb(60, 120, 216), // light blue bg3: rgb(17, 85, 204), // dark...
https://github.com/Slyde-R/not-jku-thesis-template
https://raw.githubusercontent.com/Slyde-R/not-jku-thesis-template/main/template/content/Conclusion.typ
typst
MIT No Attribution
#import "../utils.typ": todo, silentheading, flex-caption = Conclusion #todo[Replace this chapter!] == Summary of Findings This thesis investigated feline manipulation tactics and their impact on human behavior through a multi-method approach involving observational studies, surveys, and interviews. The key findings...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055%20-%20Murders%20at%20Karlov%20Manor/010_Episode%2010%3A%20Roots%20of%20Decay.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 10: Roots of Decay", set_name: "Murders at Karlov Manor", story_date: datetime(day: 18, month: 01, year: 2024), author: "<NAME>", doc ) The vine around Kaya's ankle pulled tight enough to feel like it was grinding against the bone. ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/construct.typ
typst
Apache License 2.0
// Test constructors. --- // Ensure that constructor styles aren't passed down the tree. // The inner list should have no extra indent. #set par(leading: 2pt) #list(body-indent: 20pt, [First], list[A][B]) --- // Ensure that constructor styles win, but not over outer styles. // The outer paragraph should be right-alig...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/neoplot/0.0.1/README.md
markdown
Apache License 2.0
# Neoplot A Typst package to use [gnuplot](http://www.gnuplot.info/) in Typst. ```typ #import "@preview/neoplot:0.0.1" as gp ``` Execute gnuplot commands as a **one-line** command: ```typ #image.decode( gp.eval(" set samples 1000; set xlabel 'x axis'; set ylabel 'y axis'; plot sin...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tuhi-exam-vuw/0.1.0/tuhi-exam-vuw.typ
typst
Apache License 2.0
#let MURPH = { [MUR] box(move( dx: -1.0pt, dy: 2.7pt, box(scale(100%)[P]) ));box(move( dx: -3.0pt, dy: 3pt, box(scale(80%)[H]) ));h(-0.45em) } #let mark(x) = if x <= 1 { h(1fr, weak: true) box[#strong("[" + str(x) + " mark]")] } else { h(1fr, weak: true) box[#strong("[" + str(x) + " marks]")] } #l...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/os/seminars/2024-09-20.typ
typst
= Переменные окружающей среды Полная сигнатура функции `main`: ```c int main(int argc, char** argv, char** envp); ``` `envp` всегда завершается символом `NULL`. = Изменение пользовательского контекста Есть системный вызов `exec`. Прямого доступа к нему нет --- есть обертки
https://github.com/joserlopes/PIC
https://raw.githubusercontent.com/joserlopes/PIC/main/Report_A003.typ
typst
#set text(lang: "por") #show heading: it => { if it.level == 1 { set text(17pt, navy) align(center)[#it] } else if it.level == 2 { set text(15pt, navy) align(center)[#it] } else if it.level == 3 { set text(14pt, navy) it } } #show link: it => { set text(blue) underline(it) } #set...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/programmings/js/typescript/specification/array.md
markdown
# array ```typescript let array1: number[]; array1 = [1, 2, 3]; let array2: Array<number>; array2 = [1, 2, 3]; ``` * どちらも同じ意味 ## spread ```typescript const original = [1, 2, 3]; const copy = [...original]; copy.reverse(); // 追加もできる const arr = [1, 2, 3]; const arr2 = [...arr, 4]; // 連結 const arr3 = [1, 2, 3]; co...
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661101-%5BCalculus%201A%5D/src/lectures/03661101_merged.typ
typst
#import "/template.typ": * #show: project.with( title: "חשבון דיפרנציאלי ואינטגרלי 1א׳", authors: ("יונתן מגר",), date: "סמסטר א׳ - 2024", ) \ #place(center)[עדכני נכון ל-#datetime.today().display("[day]/[month]/[year]")] #set enum(numbering: "(1.א)") #include "/utils/toc.typ" #include "03661101_lecture_5.typ...
https://github.com/frugal-10191/frugal-typst
https://raw.githubusercontent.com/frugal-10191/frugal-typst/main/book-template/book_template.typ
typst
Apache License 2.0
#let fontSize = 10pt //#let mainColor = green //rgb("#ff851b") #let normalText = 1em #let largeText = 3em #let hugeText = 16em #let title_main_1 = 2.5em #let title_main_2 = 1.8em #let title_main_3 = 2.2em #let title1 = 2.2em #let title2 = 1.5em #let title3 = 1.3em #let title4 = 1.2em #let title5 = 1.1em #let state_ma...
https://github.com/MatheSchool/typst-g-exam
https://raw.githubusercontent.com/MatheSchool/typst-g-exam/develop/docs-shiroa/g-exam-doc/book.typ
typst
MIT License
#import "@preview/shiroa:0.1.1": * #show: book #book-meta( title: "g-exam Docs", description: "g-exam Documentation", repository: "https://github.com/MatheSchool/typst-g-exam", // repository-edit: "https://github.com/Myriad-Dreamin/shiroa/edit/main/github-pages/docs/{path}", authors: ("<NAME>",), language:...
https://github.com/MatejKafka/ctu-thesis-typst
https://raw.githubusercontent.com/MatejKafka/ctu-thesis-typst/main/example.typ
typst
#import "./template/template.typ": * #show: template.with( meta: ( title: "An Interesting Thesis Title", author: ( name: "<NAME>", email: "<EMAIL>", url: "https://my.project/url", ), submission-date: datetime(year: 2012, month: 1, day: 21), // true for bachelor's thesis, false ...
https://github.com/horaoen/typstempl
https://raw.githubusercontent.com/horaoen/typstempl/master/demo/note.typ
typst
#import "note.typ": note #show: doc => note( title: "neote template demo", doc ) = Introduction #lorem(30) #lorem(30) == Motivation #lorem(30) #lorem(30) == Problem Statement #lorem(30) == Related Work #lorem(30)
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/g-exam/0.3.0/src/g-solution.typ
typst
Apache License 2.0
#import"./global.typ": * /// Show solution of question. /// /// *Example:* /// ``` #g-solution( /// alternative-content: v(1fr) /// )[ /// I know the demostration, but there's no room on the margin. For any clarification ask <NAME>. /// ]``` /// /// /// - alternative-content (string, content): Alternate content ...
https://github.com/mrcinv/nummat-typst
https://raw.githubusercontent.com/mrcinv/nummat-typst/master/domace_seznam.typ
typst
#import "admonitions.typ": admonition, admtitle, opomba #import "julia.typ": code_box, repl, pkg #let dobro(naslov, vsebina) = { let title = admtitle("Dobro!", naslov) admonition(title: title, color: lime.desaturate(40%), vsebina) } #let slabo(naslov, vsebina) = { let title = admtitle("Slabo!", naslov) admonit...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/mitex/0.1.0/lib.typ
typst
Apache License 2.0
#import "mitex.typ": mitex-wasm, mitex-convert, mitex-scope, mitex, mi
https://github.com/ukcw/typst-cv-template
https://raw.githubusercontent.com/ukcw/typst-cv-template/main/README.md
markdown
MIT License
# typst-cv-template A Typst CV template inspired by [skyzh](https://github.com/skyzh/typst-cv-template) and [Jake's Resume](https://github.com/jakegut/resume). ## Sample CV ![Preview](cv.png) ## Ulysses's Resume [resume](https://ukcw.io/resume.pdf)
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Math/variants.typ
typst
#set text( size:10pt, ) #set page( paper:"a5", margin:(x:1.8cm,y:1.5cm), ) #set par( justify: true, leading: 0.52em, ) = 变体 公式中的替代字体。 这些函数与文本函数不同,因为数学字体包含每个字母的多个变体。 = 功能 = 衬线体 数学中的衬线(罗马)字体样式。 这已经是默认设置。 #image("57.png") = 内容 要设置样式的内容。 = 无衬线体 数学中的无衬线字体样式。 #image("58.png") = 内容 要设置样式的内容。 = 德文尖角体 数学中的德文尖角体字体...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-19.typ
typst
Other
// Error: 17-21 expected either `start` or `end` #"abc".trim(at: left)
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that lines with hard breaks aren't justified. #set par(justify: true) A B C \ D
https://github.com/hugoledoux/msc_geomatics_thesis_typst
https://raw.githubusercontent.com/hugoledoux/msc_geomatics_thesis_typst/main/appendices/reproducibility.typ
typst
MIT License
= Reproducibility self-assessment == Marks for each of the criteria #figure( image("../figs/reproducibility_criteria.png"), caption: [Reproducibility criteria to be assessed.], )<fig:reproducibility_criteria> Grade/evaluate yourself for the 5 criteria (giving 0/1/2/3 for each): + input data + preprocessing +...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/def_use/import_star_recursive.typ
typst
Apache License 2.0
// path: base.typ #let x = 1; #x ----- // path: base2.typ #import "base.typ": * #let y = 2; ----- #import "base2.typ": * #x, #y
https://github.com/francescoo22/LCD-exercises
https://raw.githubusercontent.com/francescoo22/LCD-exercises/main/src/G.typ
typst
#import "common.typ": * = Exercise G Show that the encoding of the operator Even in the mu-calculus captures the property of interest: $ hmlr(Even(phi)) = {P | forall "complete computation" P = P_0 -> P_1 -> P_2 -> "... " exists i "s.t." sat(P_i, phi)} $ == Solution As discussed during the lectures: $ Even(phi) =...
https://github.com/SkiFire13/master-thesis-presentation
https://raw.githubusercontent.com/SkiFire13/master-thesis-presentation/master/common.typ
typst
#let syseq(x) = math.lr(sym.brace.l + block(math.equation(x, block: true, numbering: none))) #let feq = math.scripts("=") #let mathstr(s) = s.clusters().map(s => $#s$).join() #let tt = mathstr("true") #let ff = mathstr("false") #let boxx(f) = $class("unary", [ #f ])$ #let diam(f) = $class("unary", angle.l #f angle.r)...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/math/lawvere.typ
typst
#import "../lib.typ": * #show heading: heading_fct #import "@preview/gloss-awe:0.0.5": gls #show figure.where(kind: "jkrb_glossary"): it => {it.body} === Théorème (Lawvere) Soit $cal(C)$ une #gls(entry: "Catégorie")[catégorie] cartésienne fermée, si il existe $phi : A -> B^A$ surjective au point, alors tout endomorp...
https://github.com/quarto-ext/typst-templates
https://raw.githubusercontent.com/quarto-ext/typst-templates/main/poster/README.md
markdown
Creative Commons Zero v1.0 Universal
# Typst Poster Format An academic poster template designed for Typst. Supports both horizontal and vertical posters. Originally created for Typst by <NAME> (https://github.com/pncnmnp/typst-poster) and adapted for Quarto. ## Installing ```bash quarto use template quarto-ext/typst-templates/poster ``` This will inst...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/networks/pset3.typ
typst
#import "template.typ": * #show: template.with( title: "14.15 PSET 3", subtitle: "<NAME>", pset: true ) = Problem 1 #define( title: "Aperiodic Conditions" )[ One important condition that renders a matrix $A$ automatically aperiodic, is if there exists for some $i$, a value $A_(i i) > 0$. This automatically ...
https://github.com/wuc9521/CS-scholars-report
https://raw.githubusercontent.com/wuc9521/CS-scholars-report/main/sections/impl.typ
typst
= Implementation == System Architecture This sections includes detailed description of the system architecture. Generally speaking, our system architecture follows a three-tier model: - *Frontend*: A React-based user interface that provides an interactive and responsive experience for users to explore and manage CS ...
https://github.com/Ciolv/typst-template-bachelor-thesis
https://raw.githubusercontent.com/Ciolv/typst-template-bachelor-thesis/main/acronyms.typ
typst
// Dictionary with acronyms // Acronym is key, value is ("long version", "long version plural ending", "short version plural ending") // Plural endings are optional, "s" is default // Values have to be at least ("",) where the comma is important #let acronyms = ( API: ("Application Programming Interface", "s", "s"), ...
https://github.com/pluttan/os
https://raw.githubusercontent.com/pluttan/os/main/lab2/lab2.typ
typst
#import "@docs/bmstu:1.0.0":* #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx #show: student_work.with( caf_name: "Компьютерные системы и сети", faculty_name: "Информатика и системы управления", work_type: "лабораторной работе", work_num: 2, study_field: "09.03.01 Информатика и вычислител...
https://github.com/tilman151/pypst
https://raw.githubusercontent.com/tilman151/pypst/main/README.md
markdown
MIT License
# Pypst Declarative Typst in Python with Pandas data frame support. Pypst helps you dynamically generate [Typst](https://typst.app) code directly in Python. No manual string manipulation required. It has two major use cases: - Generating full Typst documents to be rendered as PDFs - Generating and styling Typst tabl...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/markup/raw-backtick.typ
typst
Apache License 2.0
#(``` ` ```,) #(```js` ```) #(```js`code` ```) #(```md`code`+other`code` ```)
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/tests/utils_make-prob-overview/test.typ
typst
Other
#import "/lib/lib.typ" as ucpc #import ucpc.presets: difficulties as lv #ucpc.utils.make-prob-overview( font-size: .8em, [A], [Problem A], lv.easy, [Author a], [B], [Problem B], lv.normal, [Author b], [C], [Problem C], lv.hard, [Author c], [D], [Problem D], lv.challenging, [Author b], )
https://github.com/typst-community/guidelines
https://raw.githubusercontent.com/typst-community/guidelines/main/src/main.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/src/util.typ": * #import mantys: * #let doc = toml("/typst.toml").package #show: mantys.with( ..doc, title: "API & Style Guidelines", subtitle: "Guidelines for Package & Template Development", date: datetime(year: 2024, month: 05, day: 01), abstract: [ This document contains stylistic guidel...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/array.typ
typst
// Test arrays. --- array-basic-syntax --- #set page(width: 150pt) // Empty. #() // Not an array, just a parenthesized expression. #(1) // One item and trailing comma. #(-1,) // No trailing comma. #(true, false) // Multiple lines and items and trailing comma. #("1" , rgb("002") ,) --- array-bad-token ---...
https://github.com/denizenging/site
https://raw.githubusercontent.com/denizenging/site/master/post/2024/0617/index.tr.typ
typst
#import "@local/pub-post:0.0.0": * #show: template( time: (17, 36), title: "Yazmanın Değeri", description: "İlk yazımda sizlere yazmaya ve paylaşmaya olan arzumdan söz edeceğim", categories: ("Engin Düşünceler"), ) Son birkaç yıldır --- özellikle şu zamanlar --- yazmayı çok istedim. Yazmadan ziyada aslında duygu ...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/布局/对准/对准.typ
typst
= 对准 沿轴对齐某物的位置。 == 可能的值为: - start:在文本方向的起点对齐。 - end:在文本方向的末尾对齐。 - left: 向左对齐。 - center:水平居中对齐。 - right: 右对齐。 - top: 顶部对齐。 - horizon:中间垂直对齐。 - bottom:底部对齐。 这些值在全局范围内可用,并且在对齐类型的范围内可用,因此您可以编写以下两个值之一: #image("屏幕截图 2024-04-14 151641.png") == 2D对齐 要同时沿两个轴对齐,请使用 +运算符添加两个对齐方式。例如,top + right将内容与右上角对齐。 #image("屏幕截图 2024-04-1...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/02_oktober/01.typ
typst
#import "../../../all.typ": * == (01.) #translation.at("M_POKROV") #columns(2, gutter: 2pt, [ // --------------------------------------- // MALA VECIEREN // --------------------------------------- === #translation.at("M") ==== #translation.at("HOSPODI_VOZVACH") #generateTable(( // HV Stich na 4 ...
https://github.com/EpicEricEE/typst-marge
https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/resolve/margin/test.typ
typst
MIT License
#import "/src/resolve.typ": resolve-margin #set page(margin: (inside: 3cm, outside: 2cm, rest: 4cm)) #context assert.eq(here().page(), 1) #context assert.eq(resolve-margin(top), 4cm) #context assert.eq(resolve-margin("left"), 3cm) #context assert.eq(resolve-margin(right), 2cm) #context assert.eq(resolve-margin(start)...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/docs/guides/guide-for-latex-users.md
markdown
Apache License 2.0
--- description: | Are you a LaTeX user? This guide explains the differences and similarities between Typst and LaTeX so you can get started quickly. --- # Guide for LaTeX users { # } This page is a good starting point if you have used LaTeX before and want to try out Typst. We will explore the main differences be...
https://github.com/yingziyu-llt/blog
https://raw.githubusercontent.com/yingziyu-llt/blog/main/typst_document/ml/content/chapter1.typ
typst
#import "../template.typ": * = 模型评估和选择 == 衡量模型的好坏 我们用错误率、精度、误差等来衡量模型预测的好坏。衡量方法定义如下 #definition("衡量模型预测的方法")[ - 错误率:$E=a/m$,即错误样本数在总样本数中的占比 - 精度: 精度=1-错误率 - 误差: 实际预测输出和真实结果直接的差异 - 训练误差/经验误差: 在训练集上的误差 - 泛化误差: 在测试集上的误差 ] 我们一般来说,希望模型能够在新样本上表现的很好,能找到样本间的潜在规律。 当训练的过于好了的时候,可能模型会将样本的个别规律当成共同潜在规律,在遇到新样...
https://github.com/fenjalien/metro
https://raw.githubusercontent.com/fenjalien/metro/main/src/impl/num/process.typ
typst
Apache License 2.0
#import "parse.typ": parse #let group-digits(options, input, rev: true) = { let (first, other) = if options.digit-group-size != 3 { (options.digit-group-size,) * 2 } else { (options.digit-group-first-size, options.digit-group-other-size) } let input = if rev { input.split("").slice(1, -1).rev() ...
https://github.com/EGmux/PCOM-2023.2
https://raw.githubusercontent.com/EGmux/PCOM-2023.2/main/lista2/lista2.typ
typst
#set heading(numbering: "1.") == Princípios de comunicações - 2023.2 Lista 2 (Transmissão banda base) #include "./lista2q1.typ" #include "./lista2q2.typ" #include "./lista2q3.typ" #include "./lista2q4.typ" #include "./lista2q5.typ" #include "./lista2q6.typ" #include "./lista2q7.typ" #include "./lista2q8.typ" #inclu...
https://github.com/simon-epfl/notes-ba2-simon
https://raw.githubusercontent.com/simon-epfl/notes-ba2-simon/main/fds/fds-tricks-2.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/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Courses/Math%2018_155%20-%20Differential%20Analysis%201/Assignments/Assignment%202.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 2", name: "<NAME>", doc) #show: latex #show: NumberingAfter #show: thmrules #let col(x, clr) = text(fill: clr)[$#x$] #let ...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/AI/Embodied%20AI.typ
typst
#import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "Embodied AI", lang: "zh", ) = Low-level Embodied Intelligence with Foundation Models - From [stanford CS25] V3 I Low-level Embodied Intelligence with Foundation Models - 据说是 “入门必看,用讲故事的形式介绍了 Google 解决主流问题的方法和模型” == 引言 - Why Embodied ...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/4-results/scenarios.typ
typst
MIT License
#import "../../lib/mod.typ": * == Scenarios <s.r.scenarios> #let scenario(name) = [_*#name*_] // #jonas[Read this, and all subsections] The performance of #acr("MAGICS") is evaluated across #numbers.written(scen.len()) different scenarios. The first five, #boxed(color: theme.peach, [*S-X*]), scenarios adhere to the o...
https://github.com/OthoDeng/Typst-notes
https://raw.githubusercontent.com/OthoDeng/Typst-notes/main/README.md
markdown
# Typst-notes Personal notes using Typst _After one notebook is finished, a compiled pdf version will be uploaded in the same directory._
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/appendix/opcode-tables.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../common.typ": * == Instruction set tables These tables include all the opcodes in the Sharp SM83 instruction set. The style and layout of these tables was inspired by the opcode tables available at pastraiser.com @pastraiser. #set page(flipped: true) #let colors = ( load_8b: rgb("#87CEEB"), load_16b:...
https://github.com/SeniorMars/tree-sitter-typst
https://raw.githubusercontent.com/SeniorMars/tree-sitter-typst/main/examples/text/raw-code.typ
typst
MIT License
// Test code highlighting. --- #set page(width: 180pt) #set text(6pt) ```typ = Chapter 1 #lorem(100) #let hi = "Hello World" #show heading: emph ``` --- #set page(width: 180pt) #set text(6pt) ```rust /// A carefully designed state machine. #[derive(Debug)] enum State<'a> { A(u8), B(&'a str) } fn advance(state: Sta...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/hint-00.typ
typst
Other
// Error: 1:17-1:19 expected length, found integer: a length needs a unit – did you mean 12pt? #set text(size: 12)
https://github.com/Leadlegend/Curriculum-Vitae
https://raw.githubusercontent.com/Leadlegend/Curriculum-Vitae/main/modules/professional.typ
typst
Apache License 2.0
#import "../template.typ": * #cvSection("Professional Experience") #cvEntry( title: [Research Intern], society: [Tencent Ai Lab], logo: "./src/logos/tencent.png", date: [2021 - 2022], location: [Beijing, China], description: list( [Participated in construction and maintenance of multi-li...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/math-text-break.typ
typst
Apache License 2.0
// Test text with linebreaks in math. --- $ x := "a\nb\nc\nd\ne" $
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-06.typ
typst
Other
// Test the `abs` function. #test(calc.abs(-3), 3) #test(calc.abs(3), 3) #test(calc.abs(-0.0), 0.0) #test(calc.abs(0.0), -0.0) #test(calc.abs(-3.14), 3.14) #test(calc.abs(50%), 50%) #test(calc.abs(-25%), 25%)