repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/visualize/shape-fill-stroke-02.typ
typst
Other
// Test stroke composition. #set square(stroke: 4pt) #set text(font: "Roboto") #square( stroke: (left: red, top: yellow, right: green, bottom: blue), radius: 100%, align(center+horizon)[*G*], inset: 8pt )
https://github.com/felsenhower/kbs-typst
https://raw.githubusercontent.com/felsenhower/kbs-typst/master/presentation.typ
typst
MIT License
#import "typst-modules/typst-slides/slides.typ": * #import "typst-modules/notes.typ/notes.typ": note, notes #import "typst-modules/typst-cd/typst-cd.typ": node, arr, commutative_diagram #import "typst-modules/typst-tablex/tablex.typ": tablex, cellx, colspanx, rowspanx #import "typst-modules/typst-algorithms/algo.typ" :...
https://github.com/artemist/typstcard
https://raw.githubusercontent.com/artemist/typstcard/canon/cards_a6_lettersheet.typ
typst
#{ set page("us-letter", margin: 0em) import "common.typ" let options = json("options.json") let cards = options.cards let args = options.args common.card_sheets(148mm, 105mm, 1in/16, args, cards) }
https://github.com/tshu-w/CV
https://raw.githubusercontent.com/tshu-w/CV/main/tmpl.typ
typst
/* References: 1. https://typst.app/project/p_Bky8MIksPGK39OpsflJw */ #import "@preview/fontawesome:0.2.0" as fa #let entry( tl: lorem(4), // "Role | Employer/Project", tr: datetime.today().display(), dl: [], // "Summary" dr: [], // "Location" details, ) = { tl; h(1fr); tr; linebreak(); if dl != [] or...
https://github.com/rdboyes/resume
https://raw.githubusercontent.com/rdboyes/resume/main/modules_en/education.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cvSection, cvEntry, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #let cvEntry = cvEntry.with(metadata: metadata) #cvSection("Education") #cvEntry( title: [Doctor of Philosophy: Public Health Sciences], society:...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/features-03.typ
typst
Other
// Test ligatures. fi vs. #text(ligatures: false)[No fi]
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/study-4/mod.typ
typst
MIT License
#import "../../../lib/mod.typ": * == #study.H-4.full.n <s.m.study-4> // #jonas[Put the path tracking here separate from the global planning stuff?] // #include "expectation.typ"
https://github.com/Zuttergutao/Typstdocs-Zh-CN-
https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/Typst-markdown/Typst-一款rust编写的文档排版工具.md
markdown
# Typst-超越$LaTeX$的文档排版工具 ## 前言 > ***今天学了一天Typst,给我的感觉就是相较于$LaTeX$ ,Typst就是神!*** 我日常做笔记使用的软件是typora,typora的好处是所见即所得,即时渲染你所写的markdown语法。在日常使用中是十分便捷的。但是进行论文撰写的时候,文字排版显得格外重要,最常用的就是word。Word软件排版虽然很强大,但是需要下功夫去操作,与$\LaTeX$相比就稍微逊色一点。 $\LaTeX$ 具有专业的排版输出能力,产生的文档看上去就像“印刷品”一样,具有方便而强大的数学公式排版能力,很容易生成复杂的专业排版元素,如脚注、交叉引用、参考...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Courses/数据库系统/事务处理.typ
typst
--- order: 5 --- #import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "数据库系统", lang: "zh", ) #let null = math.op("null") #let Unknown = math.op("Unknown") #counter(heading).update(4) = 第五部分:事务处理 - 这一部分感觉和操作系统关系比较密切 == 事务和并发控制 === 基本的概念 - 事务的概念 - 事务时程序执行的基本单位,会引起一些数据项的更新,需要解决的两个问题: ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/191.%20early.html.typ
typst
early.html Early Work October 2020One of the biggest things holding people back from doing great work is the fear of making something lame. And this fear is not an irrational one. Many great projects go through a stage early on where they don't seem very impressive, even to their creators. You have to push through thi...
https://github.com/Jollywatt/typst-wordometer
https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/tests/word-count-callback/test.typ
typst
MIT License
#import "/src/lib.typ": * #set page(width: 15cm, height: auto) #word-count-callback(stats => box(stroke: blue, inset: 1em)[ Guess what, this box contains #stats.words words! Full statistics: #stats ]) #rect[ #show: word-count One two three four. There are #total-words total words and #total-characters character...
https://github.com/matsumo0922/typst-keio-b2-template
https://raw.githubusercontent.com/matsumo0922/typst-keio-b2-template/master/template.typ
typst
#import "@preview/physica:0.9.2": * #let textL = 1.8em #let textM = 1.6em #let font = ("Hiragino Kaku Gothic ProN") #let reportInfo( title: "", experimentDateTime: "", experimentDayOfWeek: "", experimentPartOfDay: "", ) = { table( align: center + horizon, columns: (0.3fr, 1fr), inset: 8pt, [...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PreventivoSprint/QuindicesimoSprint.typ
typst
MIT License
#import "../../const.typ": Re_cost, Am_cost, An_cost, Ve_cost, Pr_cost, Pt_cost #import "../../functions.typ": prospettoOrario, prospettoEconomico, glossary ==== Quindicesimo preventivo *Inizio*: Venerdì 29/03/2024 *Fine*: Giovedì 04/04/2024 #prospettoOrario(sprintNumber: "15") #prospettoEconomico(sprintNumber: "1...
https://github.com/TGM-HIT/typst-protocol
https://raw.githubusercontent.com/TGM-HIT/typst-protocol/main/template/main.typ
typst
MIT License
#import "@preview/tgm-hit-protocol:0.1.0": * #set text(lang: "de") #show: template( title: [Protokolle in Typst], course: [5xHIT 20yy/yy], subtitle: [Laborprotokoll], subject: [Systemtechnik Labor], author: "<NAME>", teacher: [<NAME>], version: [1.0], begin: parse-date("2024-10-07"), finish: parse-da...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/supercharged-dhbw/1.0.0/README.md
markdown
Apache License 2.0
# Supercharged DHBW Unofficial [Typst](https://typst.app/) template for DHBW students. The template is currently only available in English. You can see an example PDF [here](https://github.com/DannySeidel/typst-dhbw-template/blob/main/example.pdf). ## Usage You can use this template in the Typst web app by clickin...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/DSA/chapters/7图.typ
typst
#import "../template.typ": * #import "@preview/pinit:0.1.4": * #import "@preview/fletcher:0.5.0" as fletcher: diagram, node, edge #import "/book.typ": book-page #show: book-page.with(title: "图 | DSA") = 图 <图> == 图的定义和术语 <图的定义和术语> #definition[ *图*:有向图是由一个顶点集 $V$ 和一个弧集 $R$ 组成的二元组 $G = (V, R)$。无向图是由一个顶点集 $V$ 和一个边集...
https://github.com/Area-53-Robotics/53A-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53A-Notebook-Over-Under-2023-2024/master/Vex%20Robotics%2053A%20Notebook%202023%20-%202024/Entries/Build%20Entry/Catapult-Assembly.typ
typst
#set page(header: [VR #h(1fr) November 11, 2023 ]) = CATAPULT ASSEMBLY \ == Stand-Up Notes #let cell = rect.with( inset: 8pt, fill: rgb("#E3E3E3"), width: 100%, radius: 10pt ) #grid( columns: (170pt, 170pt, 170pt), rows: (90pt, 90pt), gutter: 3pt, cell(height: 100%)[*Veena*:\ - Akif and I will s...
https://github.com/csimide/SEU-Typst-Template
https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/CHANGELOG.md
markdown
MIT License
# 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.3.0] - 2024-07-07 - 尝试弃用大部分自造轮子,改为通过引入第三方 package 实现相关功能。 - ...
https://github.com/El-Naizin/cv
https://raw.githubusercontent.com/El-Naizin/cv/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Master of Data Science], society: [University of California, Los Angeles], date: [2018 - 2020], location: [USA], logo: "../src/logos/ucla.png", description: list( [Thesis: Predicting Customer Churn in Tel...
https://github.com/vsheg/intermediate-ml
https://raw.githubusercontent.com/vsheg/intermediate-ml/main/defs.typ
typst
#let const = $"const"$ #let hr = { line() } #let xb = math.bold("x") #let tb = math.bold(math.theta) #let ub = math.underbrace #let ob = math.overbrace #let Tr = math.sans("T ") #let accent-color = eastern #let hg(content) = text(fill: accent-color, $#content$) #let RSS = "RSS" #let Pr = math.bb("P") #let Ex = ma...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/002%20-%20Return%20to%20Ravnica/008_The%20Great%20Concourse.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Great Concourse", set_name: "Return to Ravnica", story_date: datetime(day: 24, month: 10, year: 2012), author: "<NAME>", doc ) The three dryads sat in a circle as they had done for the past three months, hoping they could make contact. ...
https://github.com/lcharleux/LCharleux_Teaching_Typst
https://raw.githubusercontent.com/lcharleux/LCharleux_Teaching_Typst/main/src/templates/drawing.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import cetz.draw: * // DRAWABLE VECTOR #let dvec(start, end, label: none, padding: 2pt, anchor: "center", rev: false, color: black, shrink: 1pt, thickness: 2pt, rotate_label: false, mark: (end: ">"), label_fill: white, anchor_at: 50%) = { hide(line(start, end, on-layer: -2, name: "shad...
https://github.com/angelacorte/slides-master-thesis
https://raw.githubusercontent.com/angelacorte/slides-master-thesis/master/slides-master-thesis.typ
typst
Apache License 2.0
#import "@preview/polylux:0.3.1": * #import "@preview/fontawesome:0.1.0": * #import themes.metropolis: * #show: metropolis-theme.with( aspect-ratio: "16-9", // footer: [<EMAIL>] ) #set text(font: "Inter", weight: "light", size: 20pt) #show math.equation: set text(font: "Fira Math") #set strong(delta: 190) #set p...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Code/FrontendDockerfile.typ
typst
#import("../Template/customFunctions.typ"): * #codly( highlights:( (line:0, fill:blue, label: <fromNodeAlpine>), (line:6, fill:red, label: <copyPackage>), (line:10, fill:blue, label: <copyAll>), (line:15, fill:blue, label: <copyFromBuild>), ), annotations:( (start: 14, end: 18, label: <secondStage>), ) ) `...
https://github.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024/neko/实验/6.typ
typst
#set text(lang: "zh", font: "Noto Serif CJK SC") #show "。": "." = 实验六 步进电动机 == 单步运行状态 == 角位移和脉冲数的关系 #figure( align(center)[#table( columns: 4, align: (auto, auto, auto, auto), table.header([表格], [序号], [实际电机偏转角度], [理论电机偏转角度]), table.hline(), table.cell(rowspan: 2)[步数=10...
https://github.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024
https://raw.githubusercontent.com/OverflowCat/BUAA-Automatic-Control-Components-Sp2024/neko/实验/7.typ
typst
#set text(lang: "zh", font: "Noto Serif CJK SC") #show "。": "." #include "7-table.typ" == 实验七 正余弦变压器 1. 根据表7-1、表7-2、表7-3和表7-4的数据,在同一图中绘制空载、负载、二次侧补偿后、一次侧补偿后时正余弦旋转变压器空载时输出电压 $U_(r 0)$ 与转子转角 $ɑ$ 的关系曲线,即 $U_(r 0) = f(alpha)$。 #figure( caption: "正余弦旋转变压器输出电压与转子转角关系曲线", image("dist/7.svg"), ) 2. ...
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/program-finish-driver-control/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: "Program: Driver Control", type: "program", date: datetime(year: 2023, month: 10, day: 27), author: "<NAME>", witness: "Violet Ridge", ) We finished the controller layo...
https://github.com/Yzx7/public_study_files
https://raw.githubusercontent.com/Yzx7/public_study_files/main/Monografía FIEE/main.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: "Aplicaciones de las ecuaciones diferenciales ordinarias", t-tipo:"Monografía", t-para:"Para obtener nota en el curso de EDO", cursoName:"E...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/语境/上下文.typ
typst
#set par( justify: true, leading: 0.52em, ) = 语境 = 有时,我们希望创建对其在文档中的位置做出反应的内容。这可以是取决于配置的文本语言的本地化短语,也可以是像标题编号这样简单的东西,它根据前面有多少个标题打印正确的值。然而,Typst 代码并不直接知道它在文档中的位置。源文本开头的某些代码可能会产生最终出现在文档后面的内容。 为了生成对其周围环境做出反应的内容,我们必须专门指示 Typst:我们使用关键字来执行此操作context,该关键字位于表达式之前并确保它是根据其环境的知识进行计算的。作为回报,上下文表达式本身最终变得不透明。我们无法在代码中直接访问它的任何结果,...
https://github.com/dainbow/MatGos
https://raw.githubusercontent.com/dainbow/MatGos/master/themes/21.typ
typst
#import "../conf.typ": * = Прямые и плоскости в пространстве. Формулы расстояния от точки до прямой и плоскости, между прямыми в пространстве. Углы между прямыми и плоскостями. == Прямые и плоскости в пространстве #definition[ *Линейной комбинацией* элементов $v_1, ..., v_n$ (для которых определены сложение и умно...
https://github.com/flechonn/interface-typst
https://raw.githubusercontent.com/flechonn/interface-typst/main/docs/README.md
markdown
<span style="color:#7B7D7D;">[ FRENCH VERSION BELOW ] ## INFO4 PROJECT : Exercise Document Composition with Typst ### Introduction Our project aims to develop an innovative tool dedicated to composing personalized documents from various sub-documents. This software, based on the document composition technology Typst...
https://github.com/detjensrobert/arch-pandoc-container
https://raw.githubusercontent.com/detjensrobert/arch-pandoc-container/main/README.md
markdown
MIT License
# arch-pandoc-container Ubuntu's version of [Pandoc](https://pandoc.org) is old and doesn't like some raw LaTeX macros I use for some classes, and the official [`pandoc/latex`](https://hub.docker.com/repository/docker/pandoc/latex) image does not have all of the needed LaTeX packages for those macros either. This Dock...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/label-fields-dict_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test whether the label is accessible through the has method #show heading: it => { assert(it.has("label")) it } = Hello, world! <my_label>
https://github.com/strayMat/cv_fr
https://raw.githubusercontent.com/strayMat/cv_fr/master/README.md
markdown
# CVs Version française TODO: Ajouter la version anglaise ## Usage Le cv se base sur le paquet typst [modern-cv](https://typst.app/universe/package/modern-cv/). Pour générer le cv, il suffit de lancer la commande suivante: ```bash typst compile resume_fr.typ ```
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/common-policy/tool_status_tags.typ
typst
#import "/meta-environments/env-templates.typ": * = Tool Status Tags Every tool at Protohaven has a status to let you know if the tool is safe to use. If the tool status is _green_, the tool is safe to use. All features should be expected to work, and no extra care should need to be taken while using the tool. #gr...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/4-results/metrics.typ
typst
MIT License
#import "../../lib/mod.typ": * == Metrics <s.r.metrics> // #jonas[This section mostly is simply missing some layouting concern. And also some equations other than that please do comment on content.] To objectively compare our reimplementation with the original #gbpplanner, the same four metrics: distance travelled, ma...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/scripting/params.typ
typst
--- param-underscore-missing-argument --- // Error: 17-20 missing argument: pattern parameter #let f(a: 10) = a() + 1 #f(a: _ => 5) --- params-sink-named --- // ... but this was. #let f(..x) = {} #f(arg: 1) --- params-sink-unnamed --- // unnamed spread #let f(.., a) = a #test(f(1, 2, 3), 3) // This wasn't allowed be...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/examples/anchoring.typ
typst
#import "@preview/cetz:0.2.0" #cetz.canvas({ import cetz.draw: * grid((0,0), (4,4)) cetz.decorations.brace((1,1), (2,1), name: "a", flip: false) let anchor-pos = "a.k" circle(anchor-pos, radius: 3pt, fill: black) let b = (rel: (0, 0), to: "b.k") let content-anchor = "south-west" content(anchor-pos, box(...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/link-10.typ
typst
Other
// Error: 2-20 label does not exist in the document #link(<hey>)[Nope.]
https://github.com/gabrielrovesti/UniPD-Swiss-Knife-Notes-Slides
https://raw.githubusercontent.com/gabrielrovesti/UniPD-Swiss-Knife-Notes-Slides/main/Slides/Generic%20Typst/main.typ
typst
MIT License
#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: "File", authors: ( "<NAME>", ), ) #set heading(numbering: "1.") #show outline.entry.where( level: 1 ): it => { v(12pt, weak: true) ...
https://github.com/eduardz1/Bachelor-Thesis
https://raw.githubusercontent.com/eduardz1/Bachelor-Thesis/main/chapters/smol.typ
typst
#import "../utils/common.typ": * = SMOL <smol-heading> SMOL (Semantic Micro Object Language) is an imperative, object-oriented language with integrated semantic state access. It can be used as a framework for creating digital twins. The interpreter can be used to examine the state of the system with SPARQL, SHACL, an...
https://github.com/rangerjo/tutor
https://raw.githubusercontent.com/rangerjo/tutor/main/README.md
markdown
MIT License
# tutor Utilities to write exams and exercises with integrated solutions. Set the variable `#(cfg.sol = true)` to display the solutions of a document. Currently the following features are supported: * Automatic total point calculation through the `#points()` and `#totalpoints()` functions. * Checkboxes that are eith...
https://github.com/shunichironomura/iac-typst-template
https://raw.githubusercontent.com/shunichironomura/iac-typst-template/main/README.md
markdown
MIT No Attribution
# Typst Template for the International Astronautical Congress (IAC) Manuscript This is an unofficial Typst template for the International Astronautical Congress (IAC) manuscript, which is based on [the 74th IAC Manuscript Guidelines (PDF file)](https://www.iafastro.org/assets/files/IAC%202023%20Manuscript%20Guidelines...
https://github.com/silent-dxx/typst-color-emoji
https://raw.githubusercontent.com/silent-dxx/typst-color-emoji/main/cm.typ
typst
MIT License
#let t-cm(id) = box(baseline: 14.5%)[ #image(width: 1.0em, "twemoji/assets/svg/" + id + ".svg") ] #let o-cm(id) = box(baseline: 14.5%)[ #image(width: 1.0em, "openmoji/color/svg/" + upper(id) + ".svg") ] #let cm-dic = ( "ABCD": "1f520", "a": "1f170", "ab": "1f18e", "abacus": "1f9ee", "abc": "1f524", "...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/factorial.typ
typst
#import "@local/typkit:0.1.0": * #let factorial(n, cancels: none, limit: 10, left: 3, right: 3, delimiter: "times", connector: "dots", highlight-remaining: false, highlight-color: "blue", early-stop: false) = { let delimiters = ( "times": marks.math.times, "dot": marks.math.dot, ) let del...
https://github.com/GolemT/BA-Template
https://raw.githubusercontent.com/GolemT/BA-Template/main/lib/glossar-lib.typ
typst
#import "shared-lib.typ": display, display-link #let prefix = "glossary-state-" #let glossary-state = state("glossary", none) #let init-glossary(glossary) = { glossary-state.update(glossary) } // Display acronym. Expands it if used for the first time #let gls(element, link: true) = { display("glossary", glossary...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/align-01.typ
typst
Other
// Test that multiple paragraphs in subflow also respect alignment. #align(center)[ Lorem Ipsum Dolor ]
https://github.com/university-makino/Microcomputer-control-and-exercises
https://raw.githubusercontent.com/university-makino/Microcomputer-control-and-exercises/master/report/本レポート1/report.typ
typst
// ライブラリの実装 // #import "@preview/codelst:2.0.1": sourcecode //フォント設定// #let gothic = "YuMincho" //本文フォント// #set text(11pt, font: gothic, lang: "ja") //タイトル・見出しフォント// #set heading(numbering: "1.1") #let heading_font(body) = { show regex("[\p{scx: Han}\p{scx: Hira}\p{scx: Kana}]"): set text(font: gothic) body } ...
https://github.com/neunenak/typst-leipzig-glossing
https://raw.githubusercontent.com/neunenak/typst-leipzig-glossing/master/leipzig-gloss.typ
typst
MIT License
#import "abbreviations.typ" #let gloss-count = counter("gloss_count") #let build-gloss(item-spacing, formatters, gloss-line-lists) = { assert(gloss-line-lists.len() > 0, message: "Gloss line lists cannot be empty") let len = gloss-line-lists.at(0).len() for line in gloss-line-lists { assert(line...
https://github.com/galaxia4Eva/galaxia4Eva
https://raw.githubusercontent.com/galaxia4Eva/galaxia4Eva/main/notes/reading-lists/Open%20Science.md
markdown
## Open Science 1. [MacTeX - TeX Users Group](https://tug.org/mactex/) 2. [GitHub - lervag/vimtex: VimTeX: A modern Vim and neovim filetype plugin for LaTeX files.](https://github.com/lervag/vimtex) 3. [teaserbot-labs/delightful-open-science: Curated list of resources, organizations and free software that are supporti...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/deco_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test default highlight bounds. #highlight[ace], #highlight[base], #highlight[super], #highlight[phone #sym.integral]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fontawesome/0.2.0/README.md
markdown
Apache License 2.0
# typst-fontawesome A Typst library for Font Awesome icons through the desktop fonts. ## Usage ### Install the fonts You can download the fonts from the official website: https://fontawesome.com/download Or you can use the helper script to download the fonts and metadata: `python helper.py -dd -v {version}` Here...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/03-characteristic-functions/!sec.typ
typst
= Метод характеристических фукнций #include "01-characteristic-functions.typ" #include "02-convergence-in-distribution.typ" #include "03-central-limit-theorem.typ" #include "04-big-deviations.typ"
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-20A0.typ
typst
Apache License 2.0
#let data = ( ("EURO-CURRENCY SIGN", "Sc", 0), ("COLON SIGN", "Sc", 0), ("CRUZEIRO SIGN", "Sc", 0), ("FRENCH FRANC SIGN", "Sc", 0), ("LIRA SIGN", "Sc", 0), ("MILL SIGN", "Sc", 0), ("NAIRA SIGN", "Sc", 0), ("PESETA SIGN", "Sc", 0), ("RUPEE SIGN", "Sc", 0), ("WON SIGN", "Sc", 0), ("NEW SHEQEL SIGN",...
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/tournament-loyola/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator, diagraph #import notebookinator: * #import themes.radial.components: * #import "/utils.typ": tournament-from-csv #import diagraph: * #show: create-body-entry.with( title: "Tournament: Blakefield Robotics Challenge", type: "test", date: datetime(year: 2024, month: 1, day:...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/stack-2_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 2cm) #set text(white) #rect(fill: forest)[ #v(1fr) #h(1fr) Hi you! ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/codelst/0.0.3/example.typ
typst
Apache License 2.0
#import "./codelst.typ": sourcecode, sourcefile, lineref, codelst-styles #let codelst = text(fill: rgb(254,48,147), smallcaps("codelst")) #let cmd( name ) = text(fill: rgb(99, 170, 234), raw(block:false, sym.hash + name.text + sym.paren.l + sym.paren.r)) Normal #cmd[raw] works as expected: ```typc #show "ArtosFlow"...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/page/spells.typ
typst
#import "../core/core.typ": * #import "../game/game.typ": * #let spellRow(spell) = ( table.cell(rowspan: 2, align: horizon + center)[#spell.prep], table.cell(rowspan: 2, align: horizon + left)[ #par(justify: false)[ #spell.name\ #spellCaption(spell.school) ] ], table.cell(align: left)[#spel...
https://github.com/donabe8898/typst-slide
https://raw.githubusercontent.com/donabe8898/typst-slide/main/opc/RustProgramming/02.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import themes.metropolis: * #import emoji: crab #import emoji: magnify #show: metropolis-theme.with( aspect-ratio: "16-9", footer: "The Rust programming." // short-title: "The Rust programming.", // short-author: "donabe8898", // short-date: none, // color-a: rgb("#2...
https://github.com/SillyFreak/typst-crudo
https://raw.githubusercontent.com/SillyFreak/typst-crudo/main/gallery/thumbnail.typ
typst
MIT License
// make the PDF reproducible to ease version control #set document(date: none) // #import "/src/lib.typ" #import "@preview/crudo:0.1.1" #import "@preview/codly:1.0.0": * #set page(width: 10cm, height: auto, margin: 5mm) #show: codly-init #codly() From #let preamble = ```typ #import "@preview/crudo:0.1.1" ``` #pr...
https://github.com/kiwiyou/algorithm-lecture
https://raw.githubusercontent.com/kiwiyou/algorithm-lecture/main/basic/03-linear-data.typ
typst
#import "@preview/cetz:0.1.2" #import "@preview/algorithmic:0.1.0" #import "../slide.typ" #show: slide.style #show link: slide.link #show footnote.entry: slide.footnote #let algorithm(..args) = text(font: ("linux libertine", "Pretendard"), size: 17pt)[#algorithmic.algorithm(..args)] #let func(body) = text(font: ("linu...
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/README.md
markdown
# crd233's Blog and Notebook Blog 和 Notebook 二合一 主页:[https://crd2333.github.io/](https://crd2333.github.io/) 笔记本:[https://crd2333.github.io/note/](https://crd2333.github.io/note/) *** 基于 [Frosti](https://github.com/EveSunMaple/Frosti) 模板改的一个博客,然后往里加了个孩子随便乱搓的、基于 [astro-typst](https://github.com/OverflowCat/astro-ty...
https://github.com/Rhinemann/mage-hack
https://raw.githubusercontent.com/Rhinemann/mage-hack/main/src/chapters/True%20Magick.typ
typst
#import "../templates/interior_template.typ": * #show: chapter.with(chapter_name: "Spheres") = True Magick #show: columns.with(2, gutter: 1em) True Magick represents a character's ability to manipulate reality through their Awakened Will. Depending on the character's approach to magick alternative names for the trai...
https://github.com/imkochelorov/ITMO
https://raw.githubusercontent.com/imkochelorov/ITMO/main/src/linear-algebra/s2/lecture/main.typ
typst
#import "../../../template.typ": * #set page(margin: 0.45in, height: auto) #set par(leading: 1em, first-line-indent: 0em) #set text(font: "New Computer Modern") #set heading(numbering: "1.1.") #show raw: set text(font: "New Computer Modern Mono") #show par: set block(spacing: 0.55em) #show heading: set block(above: .5e...
https://github.com/NMD03/CV
https://raw.githubusercontent.com/NMD03/CV/main/templates/cover_letter.typ
typst
#let default_font = "Source Sans Pro" #let accent_color = orange #let light_grey = rgb("#7f7f7f") #let dark_grey = rgb("#3f3f3f") #let text_color = rgb("#131A28") #let textsize = 9pt #let date = datetime.today().display("[month repr:long] [day], [year]"); #let cover_letter(author: (), body) = { let align_foote...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/3-methodology/study-3/figure-tracking.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import "@preview/funarray:0.4.0": windows #import "../../../lib/vec2.typ" #import "../../../lib/mod.typ": * #{ let sc = 55% let color-counter = 0 let settings = ( variable: ( radius: 0.2, spacing: 1.5 ), robot: ( radius: 0.5, ), rrt: ( s...
https://github.com/FkHiroki/ex-B3
https://raw.githubusercontent.com/FkHiroki/ex-B3/main/sections/section2.typ
typst
MIT No Attribution
#import "@preview/codelst:2.0.0": sourcecode = 3. 実験結果 == 3.1. 電気抵抗測定 まず、室温($298$ K)でのPb-Inの寸法測定、抵抗測定の結果を@tab:pb-in に示す。次に、YBCOの寸法測定、抵抗測定の結果を@tab:ybco に示す。 #figure( caption: [Pb-Inの寸法測定、抵抗測定の結果], table( columns: 7, stroke: (none), table.hline(), table.header( [$L$ /mm], [$t$ /mm], [$w$ /mm], [$V$ /...
https://github.com/dadn-dream-home/documents
https://raw.githubusercontent.com/dadn-dream-home/documents/main/contents/04-use-case-scenarios/index.typ
typst
= Use case scenarios <sec:uc-scenarios> #let use-cases = { // manually update this let number-of-use-cases = 9 let i = 1 let use-cases = (:) while (i <= number-of-use-cases) { // pad left i with 0 let file-name = str(i) if (i < 10) { file-name = "0" + file-name ...
https://github.com/Many5900/aau-typst
https://raw.githubusercontent.com/Many5900/aau-typst/main/template.typ
typst
#set text(region: "GB") // Utility to convert from snake_case to Title Case #let snake-to-titlecase(str) = str.split("_").map(str => upper(str.slice(0, 1)) + lower(str.slice(1))).join(" ") // The project function defines how your document looks. // It takes your content and some metadata and formats it. // Go ahead a...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/template.typ
typst
The Unlicense
// This typst template is made by absolutex (github.com/lxl66566), works well on typst 0.10.0 #let 字号 = ( 初号: 42pt, 小初: 36pt, 一号: 26pt, 小一: 24pt, 二号: 22pt, 小二: 18pt, 三号: 16pt, 小三: 15pt, 四号: 14pt, 中四: 13pt, 小四: 12pt, 五号: 10.5pt, 小五: 9pt, 六号: 7.5pt, 小六: 6.5pt, 七号: 5.5pt, 小七: 5pt, ) #le...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/patterns/weeks/week3.5.typ
typst
#import "../../utils.typ": * #subsection([Strategy]) *Problem* | You need different algorithms depending on various factors.\ *Solution* | Make the algorithms modular.\ *Example* | A list can use various sorting algorithms.\ // images #align(center, [#image("../uml/strategy.jpg", width: 100%)]) ```java /* Encapsulated...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/11-rank.typ
typst
Other
#import "../../utils/core.typ": * == Ранг матрицы #ticket[Ранг набора векторов. Столбцовый и строчный ранг матрицы] #def[ Пусть $sq(v) in V$. _Рангом_ набора векторов $sq(v)$ называется размерность его линейной оболочки: $ rk(sq(v)) = Dim Lin(sq(v)) $ ] #lemma[ $rk(sq(v))$ равен наибольшему числу ли...
https://github.com/SillyFreak/typst-scrutinize
https://raw.githubusercontent.com/SillyFreak/typst-scrutinize/main/src/task-kinds/mod.typ
typst
MIT License
#import "choice.typ" #import "free-form.typ" #import "gap.typ"
https://github.com/OrangeX4/typst-pinit
https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/README.md
markdown
MIT License
# Pinit Relative positioning by pins, especially useful for making slides in typst. ## Example ### Pin things as you like Have a look at the source [here](./examples/example.typ). ![Example](./examples/example.png) ### Dynamic Slides Pinit works with [Touying](https://github.com/touying-typ/touying) or [Polylux]...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/README.md
markdown
Apache License 2.0
# chronos A Typst package to draw sequence diagrams with CeTZ --- This package lets you render sequence diagrams directly in Typst. The following boilerplate code creates an empty sequence diagram with two participants: <table> <tr> <td><strong>Typst</strong></td> <td><strong>Result</strong></td> </tr> <tr> <td> `...
https://github.com/Cyclone-Robosub/ocean-report-crs
https://raw.githubusercontent.com/Cyclone-Robosub/ocean-report-crs/main/0.1.0/template/main.typ
typst
#import "@preview/ocean-report-crs:0.1.0": * #show: report.with( title: "This is the Title", subtitle: "This is the Subtitle", // date: "Don't want the auto date? Add your own date here!", // org: "Add your own org here!", // logo: "Add the path to your own logo file here!", ) // Add your content below to g...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/linebreak-obj-00.typ
typst
Other
// Test punctuation after citations. #set page(width: 162pt) They can look for the details in @netwok, which is the authoritative source. #bibliography("/works.bib")
https://github.com/oliversssf2/do-math
https://raw.githubusercontent.com/oliversssf2/do-math/main/Grimmett_Strizaker/Ch1.typ
typst
#set page("a5") #set heading(numbering: "1.1") #set math.equation(numbering: "(1)") = Events and their probabilities == Introduction == Event as sets *Definition.* sample space is all the possible outcomes of an experiment, and it is denoted by $Omega$. *Definition.* Events are subsets of $Omega$. Let $cal(F)$ be the...
https://github.com/neeruuppalapati/MATH-Notes
https://raw.githubusercontent.com/neeruuppalapati/MATH-Notes/main/README.md
markdown
All notes written in typst-app
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/01-number-theory/07-diophantine-equations.typ
typst
Other
#import "../../utils/core.typ": * == Линейные диофантовы уравнения #def[ _Линейным диофантовым уравнением_ с двумя неизвестными называется уравнение вида $a x + b y = c$, где $a, b, c in ZZ$. ] #def[ _Решением линейного диофантова уравнения_ называется множество всех пар $(x, y) in ZZ^2: space a x + b y = c$...
https://github.com/Mouwrice/resume
https://raw.githubusercontent.com/Mouwrice/resume/main/modules/projects.typ
typst
#import "../brilliant-CV/template.typ": * #cvSection("Projects") #cvEntry( title: [REST-API using Rust, OpenAPI and Postgres], society: [Personal Group Project], date: [Present], location: [Ghent, Belgium], description: list( [A project I am quite passionate about, which builds the backend for a mobile-...
https://github.com/HarryLuoo/sp24
https://raw.githubusercontent.com/HarryLuoo/sp24/main/431/hw/1/hw3.typ
typst
= HW 3\ <NAME> #set math.equation(numbering: "(1)") == ex2.14 \ A and B being disjont events means that $P(A sect B)=(A sect B)/ Omega = 0$. Since A and B are independent iff $P(A sect B)=P(A)P(B)$, we have $P(A)P(B)=0$, which means either $P(A)=0$ or $P(B)=0$. \ == ex2.18 \ - (a) Given that there are 90 numbers to ...
https://github.com/seapat/markup-resume-lib
https://raw.githubusercontent.com/seapat/markup-resume-lib/main/README.md
markdown
Apache License 2.0
Typst code to build resumes from structured data. This is intended to be used as a git submodule, see [markup-resume](https://github.com/seapat/markup-resume) for an example.
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/old-stuff/h-mpc.typ
typst
#import "preamble.typ":* #todo[write this]
https://github.com/VadimYarovoy/Networks2
https://raw.githubusercontent.com/VadimYarovoy/Networks2/main/lab1/report/typ/task.typ
typst
#import "@preview/colorful-boxes:1.2.0": * = Практические задание == Задание 1 #colorbox( title: "TODO", color: "blue", radius: 2pt, width: auto )[ Какую информацию можно узнать с помощью команд *ifconfig* (или ip) и *netstat*. Приведите примеры] Команды *ifconfig* (или ip) и *netstat* предоставляют информаци...
https://github.com/loqusion/typix
https://raw.githubusercontent.com/loqusion/typix/main/checks/simple-with-typst-packages/main.typ
typst
MIT License
#import "@preview/example:0.1.0" #lorem(100)
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/058%20-%20Duskmourn%3A%20House%20of%20Horror/002_Welcome%20Home.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Welcome Home", set_name: "Duskmourn: House of Horror", story_date: datetime(day: 19, month: 08, year: 2024), author: "<NAME>", doc ) Welcome, harrowed—I mean, honored—guests. I heard the commotion you were making in the parlor and had hoped...
https://github.com/LugsoIn2/typst-htwg-thesis-template
https://raw.githubusercontent.com/LugsoIn2/typst-htwg-thesis-template/main/lib/listOfTables.typ
typst
MIT License
#import "textTemplate.typ": * #let listOfTables(lang: "") = { let languageText = textTemplate(pagetype: "listOfTables" ,lang: lang) // --- -------------- ---- // --- -------------- ---- // --- list of tables --- outline( title: languageText.at(0), target: figure.where(kind: table) ) }
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/tests/test_complex/ordered_list/ordered_list.typ
typst
+ The climate - Precipitation - Temperature + degree - hot - cold - warm + sun + The geology
https://github.com/505000677/2060-hw5
https://raw.githubusercontent.com/505000677/2060-hw5/main/sample-page.typ
typst
#import "/book.typ": book-page #show: book-page.with(title: "Hello, CS 2060") This is a ✨WEB✨ project made by <NAME>! $ integral^a_b lim_(x -> oo) $
https://github.com/ivaquero/lang-romanic
https://raw.githubusercontent.com/ivaquero/lang-romanic/main/fr-3-adj+adv.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "形容词与副词", author: ("github@ivaquero"), footer-cap: "github@ivaquero", header-cap: "音速法语", outline-on: false, doc, ) = 颜色 #let data = csv("fr/fr-adj-color.csv") #figure( ktable(data, 4), caption: "颜色", supplement: [表], kind: table, ) = 反...
https://github.com/grnin/Zusammenfassungen
https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/01_Betriebssystem_API.typ
typst
// Compiled with Typst 0.11.1 #import "../template_zusammenf.typ": * #import "@preview/wrap-it:0.1.0": wrap-content /* #show: project.with( authors: ("<NAME>", "<NAME>"), fach: "BSys2", fach-long: "Betriebssysteme 2", semester: "FS24", tableofcontents: (enabled: true), language: "de" ) */ = Betriebssystem...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/repeat_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test multiple repeats. #let sections = ( ("Introduction", 1), ("Approach", 1), ("Evaluation", 3), ("Discussion", 15), ("Related Work", 16), ("Conclusion", 253), ) #for section in sections [ #section.at(0) #box(width: 1fr, repeat[....
https://github.com/a-camarillo/resume
https://raw.githubusercontent.com/a-camarillo/resume/main/resume.typ
typst
#set page(width: 8.5in, height: 11in, margin: 0.5in) #show par: set block(spacing: 0.75em) #set text(size: 11pt) #show link: underline #let align-date(date) = { set align(right) [#date] } #show heading.where( level: 1 ): it => align( center, text( size: 14pt, it.body ), ) #show heading.where( l...
https://github.com/mem-courses/linear-algebra
https://raw.githubusercontent.com/mem-courses/linear-algebra/main/template.typ
typst
// The project function defines how your document looks. // It takes your content and some metadata and formats it. // Go ahead and customize it to your liking! #let project(title: "", authors: (), date: none, body) = { // Set the document's basic properties. set document(author: authors.map(a => a.name), title: ti...
https://github.com/thornoar/lambda-calculus-course
https://raw.githubusercontent.com/thornoar/lambda-calculus-course/master/main-lectures/template.lib.typ
typst
#import "@preview/quick-maths:0.1.0": shorthands #import "@preview/ouset:0.2.0": * // Shortcut definitions #let l = math.lambda #let be = $beta eta$ #let L = math.Lambda #let impl = $#h(5pt) => #h(5pt)$ #let proves = $#l tack.r$ #let TV(expr) = $"TV"(#expr)$ #let FV(expr) = $"FV"(#expr)$ #let BV(expr) = $"BV"(#expr)$...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/about.md
markdown
MIT License
# Typst Examples Book This book provides an extended _tutorial_ and lots of [Typst](https://github.com/typst/typst) snippets that can help you to write better Typst code. <div class="warning"> This is an unofficial book. Some snippets & suggestions here may be outdated or useless (please let me know if you f...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that justification cannot lead to a leading space #set par(justify: true) #set text(size: 12pt) #set page(width: 45mm, height: auto) lorem ipsum 1234, lorem ipsum dolor sit amet #" leading whitespace should still be displayed"
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/enum-align-01.typ
typst
Other
// Enum number alignment should be 'end' by default 1. a 10. b 100. c #set enum(number-align: start) 1. a 8. b 16. c
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/viv.typ
typst
= Vortex induced vibration Effects of vortex shedding@williamson_1996 can be problematic for slender structural members. Shedding frequencies and their interactions, together with other hydrodynamic quantities (e.g. (a) added mass@blevins_1990 and damping@lamb_1932, (b) Reynolds number@reynolds_1883, (c) lift coeffici...