repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/maucejo/elsearticle
https://raw.githubusercontent.com/maucejo/elsearticle/main/README.md
markdown
MIT License
# Elsearticle template [![Generic badge](https://img.shields.io/badge/Version-0.3.0-cornflowerblue.svg)]() [![MIT License](https://img.shields.io/badge/License-MIT-forestgreen)](https://github.com/maucejo/elsearticle/blob/main/LICENSE) [![User Manual](https://img.shields.io/badge/doc-.pdf-mediumpurple)](https://github...
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/note-1/3.导数与微分.typ
typst
#import "../template.typ": * #show: project.with( course: "Calculus I", course_fullname: "Calculus (A) I", course_code: "821T0150", semester: "Autumn-Winter 2023", title: "Note #3: 导数与微分", authors: ( ( name: "memset0", email: "<EMAIL>", id: "3230104585", ), ), date: "October 3...
https://github.com/jomaway/typst-bytefield
https://raw.githubusercontent.com/jomaway/typst-bytefield/main/lib/types.typ
typst
MIT License
// bf-field #let bf-field(type, index, data: none) = ( bf-type: "bf-field", field-type: type, field-index: index, data: data, ) // data-field holds information about an field inside the main grid. #let data-field(index, size, start, end, label, format: none) = { bf-field("data-field", index, data: ( ...
https://github.com/skyzh/chicv
https://raw.githubusercontent.com/skyzh/chicv/master/lib.typ
typst
Creative Commons Zero v1.0 Universal
// This file is intended to be left blank because // the template uses default config of typst and did // not add any new directives.
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/utils/make-problem.typ
typst
Other
#import "/lib/i18n.typ": en-us #import "/lib/colors.typ": color #import "/lib/utils/make-prob-meta.typ": make-prob-meta #let make-problem( id: none, title: none, tags: (), difficulty: none, authors: (), stat-open: ( submit-count: -1, ac-count: -1, ac-ratio: -1, first-solver: none, first...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/block-sizing.typ
typst
Apache License 2.0
// Test blocks with fixed height. --- #set page(height: 100pt) #set align(center) #lorem(10) #block(width: 80%, height: 60pt, fill: aqua) #lorem(6) #block( breakable: false, width: 100%, inset: 4pt, fill: aqua, lorem(8) + colbreak(), ) --- // Layout inside a block with certain dimensions should provide tho...
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/united/examples/numbers.typ
typst
#import "../src/lib.typ": num #set raw(lang: "typ") #set text(size: 14pt) #set table( inset: 0.7em, fill: (x, y) => if y == 0 { luma(230) } ) #set page( width: auto, height: auto, margin: 1em, background: pad(0.5pt, box( width: 100%, height: 100%, radius: 4pt, fill: white, stroke: white...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/draft-shsat-ws-2-small-version.typ
typst
#set page(margin: 0.75in, paper: "us-letter") #let dialogue-item() = { lorem(30) parbreak() linebreak() } #set text(size: 12pt) #let holder(..items) = { enum(..items) } #{ let num = 1 let a = block({ lorem(20) }) let b = block({ let letters = "ABCD" set enum(numbering: (it) => { ...
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/figures/06-automated-modularization/metrics.typ
typst
#import "@preview/cetz:0.2.2" #let metrics = yaml("/bibliography/literature-review.yml").at("categories").at("metrics") #let total = metrics.values().sum().len() #let data = ( ([Cohesion], metrics.at("cohesion").len()), ([Coupling], metrics.at("coupling").len()), ([Other], metrics.at("other").len()), ([#v(1em...
https://github.com/SkymanOne/zk-learning
https://raw.githubusercontent.com/SkymanOne/zk-learning/main/notes/zkp_programming/zkp_programming.typ
typst
#import "../base.typ": * #show: note = Programming ZKPs Here is the general overview to get from an idea to ZKP. #align(center, diagram( spacing: 5em, node-stroke: 0.5pt, node((0, 0), [*Concept*]), edge("->", [Coding]), node((1, 0), [*Program*],), edge("->", [Compiler]), node((2, 0), [*...
https://github.com/hugo-b-r/insa-template-typst
https://raw.githubusercontent.com/hugo-b-r/insa-template-typst/master/README.md
markdown
# Templates for INSA ## Introduction These are my custom templates that I want to use at INSA de Lyon, a french engineering school. ## Thanks Special thanks for the [typst](typst.app) team for providing such a good product ! ## Copyright Everything is Licensed under the MIT license, except the `assets` directory....
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/syntax-00.typ
typst
Other
// Test Unicode math. $ ∑_(i=0)^ℕ a ∘ b = \u{2211}_(i=0)^NN a compose b $
https://github.com/alkeryn/cv
https://raw.githubusercontent.com/alkeryn/cv/master/cv.typ
typst
#import "./lib.typ": * #show : template #set text(size: 0.98em) = #text(size: 25pt)[<NAME>] #text(size: 15pt)[Software Engineer] #[ #set text(size: 0.9em) #grid( columns: 2, gutter: 2em )[ Born on July 1998\ Mulhouse, France\ #link("mailto:<EMAIL>")\ +33631036304 ][ #link("github.com/alkeryn")\ #link("linkedi...
https://github.com/rabotaem-incorporated/probability-theory-notes
https://raw.githubusercontent.com/rabotaem-incorporated/probability-theory-notes/master/sections/04-discrete-random-processes/03-markov-chains.typ
typst
#import "../../utils/core.typ": * == Цепи Маркова #def[ $Y$ --- не более чем счетное множество --- _фазовое пространство_. Последовательность $xi_n: Omega --> Y$ --- цепь Маркова, если $ P lr(size: #1.2em, (xi_n = a_n | underbrace(xi_0 = a_0\, ...\, xi_(n - 1) = a_(n - 1), "если случается\nс положительной ...
https://github.com/Skimmeroni/Appunti
https://raw.githubusercontent.com/Skimmeroni/Appunti/main/Metodi%20Algebrici/Interi/Diofantee.typ
typst
Creative Commons Zero v1.0 Universal
#import "../Metodi_defs.typ": * Viene detta *equazione diofantea* una equazione nella forma: $ a x + b y = c " con" a, b, c, x, y in ZZ " e " a, b, c != 0 $ Dove $a, b, c$ sono i _termini noti_ e $x, y$ sono le _incognite_. Essendo $x$ e $y$ interi, le _soluzioni_ di tale equazione sono tutte e sole le coppie $(x...
https://github.com/TLouf/CV
https://raw.githubusercontent.com/TLouf/CV/main/CV.typ
typst
#import "template.typ": * #set page( margin: (left: 1.4cm, right: 1.4cm, top: 1.4cm, bottom: 1.4cm), background: place(left + top, rect( fill: light_blue, height: 100%, width: 11.5mm, )) ) #set text(12pt, font: "CMU Sans serif") #rect( width: 100%, height: 30mm, fill: dark_blue, stroke: (thickness:...
https://github.com/kazewong/lecture-notes
https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/lab/style.typ
typst
#let style_template(doc) = [ #set text( font: "Times New Roman", size: 11pt ) #show heading.where( level: 1, ): it => text( size: 18pt, weight: "extrabold", it.body, ) #show raw.where(block: false): box.with( fill: luma(240), inset: (x: 3pt, y: 0pt), outset: (y: 3pt), ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/058%20-%20Duskmourn%3A%20House%20of%20Horror/009_Episode%205%3A%20Don't%20Give%20In.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 5: Don't Give In", set_name: "Duskmourn: House of Horror", story_date: datetime(day: 28, month: 01, year: 2024), author: "<NAME>", doc ) To Tyvar's transmutation magic, the substance of the floor and walls was identical to the flesh...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/songb/0.1.0/tests/song.typ
typst
Apache License 2.0
// SPDX-FileCopyrightText: 2024 <NAME> <<EMAIL>> // // SPDX-License-Identifier: CC0-1.0 #import "../song.typ": song as s, chorus, verse, index-by-letter #import "../autobreak.typ": autobreak #set page("a5") #columns(2)[ = Songs #index-by-letter(<song>) #colbreak() = Singers #index-by-letter(<singer>) ] #pag...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cheda-seu-thesis/0.2.0/README.md
markdown
Apache License 2.0
# 「cheda」东南大学论文模板 cheda-seu-thesis 使用 Typst 复刻东南大学「本科毕业设计(论文)报告」模板和「研究生学位论文」模板。 > [!IMPORTANT] > > 此模板是民间模板,学校可能不会认可本模板。 > > 此模板内可能仍然存在诸多格式问题。 > > 如需使用此模板,请自行承担风险。 Typst Universe 和 Web App 上的模板可能不会及时更新,请访问 https://github.com/csimide/SEU-Typst-Template 以获得此模板的更多信息、目前存在的问题与开发计划。 ## 使用方法 ### Web App > [!NOTE] > > We...
https://github.com/kotfind/hse-se-2-notes
https://raw.githubusercontent.com/kotfind/hse-se-2-notes/master/os/seminars/2024-09-06.typ
typst
= Введение Преподаватель: Максим #figure( table( columns: 2, table.header[*Балл*][*Условие*], [max], [во время семинара], [0.7max], [день семинара], [0.5max], [в ближайшие шесть дней], [0], [после деделайна], ), caption: [Штрафы за сдачу задач] ) ==...
https://github.com/fyuniv/typstModernCV
https://raw.githubusercontent.com/fyuniv/typstModernCV/main/lib.typ
typst
MIT License
// const icons #let icon_size = 0.8em #let orcid_icon = box(height: icon_size, image("icons/orcid.svg")) #let github_icon = box(height: icon_size, image("icons/github.svg")) #let phone_icon = box(height: icon_size, image("icons/phone.svg")) #let email_icon = box(height: icon_size, image("icons/email.svg")) #let web_ico...
https://github.com/Pablo-Gonzalez-Calderon/showybox-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/showybox-package/main/examples/examples.typ
typst
MIT License
#import "@preview/codelst:1.0.0": * #import "../showy.typ": * #set text(font: "HK Grotesk", size: 12pt) #set heading(numbering: "I.") = Stokes' theorem example #sourcecode(```typ #showybox( title: "Stokes' theorem", frame: ( border-color: blue, title-color: blue.lighten(30%), body-color: blue.lighten...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/recursion.typ
typst
Apache License 2.0
// Test recursive function calls. // Ref: false --- // Test with named function. #let fib(n) = { if n <= 2 { 1 } else { fib(n - 1) + fib(n - 2) } } #test(fib(10), 55) --- // Test with unnamed function. // Error: 17-18 unknown variable: f #let f = (n) => f(n - 1) #f(10) --- // Test capturing with named...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap8/2_voltmeter_design.typ
typst
Other
#import "../../core/core.typ" === Voltmeter design As was stated earlier, most meter movements are sensitive devices. Some D'Arsonval movements have full-scale deflection current ratings as little as 50 µA, with an (internal) wire resistance of less than 1000 Ω. This makes for a voltmeter with a full-scale rating of ...
https://github.com/AlyamanMas/QuranKindle
https://raw.githubusercontent.com/AlyamanMas/QuranKindle/master/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: (), logo: none, body) = { // Set the document's basic properties. set document(author: authors, title: title) set page( ...
https://github.com/michelebanfi/typst-terraform
https://raw.githubusercontent.com/michelebanfi/typst-terraform/main/Templates/Report/main.typ
typst
#import "template.typ" : * #show: project.with( title: {{TITLE}}, authors: ( (name: "<NAME>", affiliation: ""), (name: "<NAME>", affiliation: ""), ), abstract: [], date: "", )
https://github.com/mgoulao/IST-MSc-Thesis-Typst-Template
https://raw.githubusercontent.com/mgoulao/IST-MSc-Thesis-Typst-Template/main/section_1.typ
typst
= Introduction #lorem(60) == In this paper #lorem(20) #figure( image("images/neural-network.png", width: 40%), caption: [A simple neural network] ) #lorem(20) #figure( table(columns: (auto, auto), [Cell 1], [Cell 2], [Cell 3], [Cell 4], ), caption: [An example of a table] ) <table-1> === Contrib...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/page-01.typ
typst
Other
// Just empty page with styles. // Should result in one green-colored A11 page. #page("a11", flipped: true, fill: green)[]
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/grouping.typ
typst
#pagebreak() = Grouping <grouping> Grouping is a feature of the FBDL used to inform a compiler that particular functionalities might be accessed together, and their register location must meet additional constraints. This is achieved using the group functionality described in @group. The following functionalities can...
https://github.com/RolfBremer/in-dexter
https://raw.githubusercontent.com/RolfBremer/in-dexter/main/tests/RangeDelimiterTest.typ
typst
Apache License 2.0
#import "../in-dexter.typ": * #set page("a6", flipped: true, numbering: "1") _A Test with alternate range-delimiter._ #index(indexType: indexTypes.Start)[Entry1] #pagebreak() #pagebreak() #index(indexType: indexTypes.End)[Entry1] #pagebreak() = Index #columns(2)[ #make-index( use-bang-grouping: true, us...
https://github.com/remigerme/typst-polytechnique
https://raw.githubusercontent.com/remigerme/typst-polytechnique/main/README.md
markdown
MIT License
# Typst Polytechnique package A Typst package for Polytechnique student reports. For a short introduction to Typst features and detailled information about the package, check the [guide](https://github.com/remigerme/typst-polytechnique/blob/main/guide.pdf) (available from the repo only). ## Usage If you want to us...
https://github.com/elteammate/typst-compiler
https://raw.githubusercontent.com/elteammate/typst-compiler/main/src/ZZZ-TODO.typ
typst
#set list(marker: none) = TODO #let resolved = text(green, sym.checkmark) #let low = text(yellow, sym.circle.filled) #let med = text(orange, sym.circle.filled) #let high = text(red, sym.circle.filled) == Lexer - #resolved Works ok-ish???? == Lexer Postprocessor - #med Handle dot call on new line - #low Handle `el...
https://github.com/mrwunderbar666/typst-apa7ish
https://raw.githubusercontent.com/mrwunderbar666/typst-apa7ish/main/template/main.typ
typst
MIT License
#import "@preview/apa7-ish:0.1.0": * // #import "../src/apa7ish.typ": * #show: conf.with( title: "A Title is all you need", subtitle: "The impact of a good title on a paper's citations count", documenttype: "Research Article", anonymous: false, authors: ( (name: "<NAME>", email: "<EMAIL>", af...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/security/smashing.typ
typst
#import "template.typ": * #show: template.with( title: "Smashing the Stack in the 21st Century", subtitle: "6.566" ) = Introduction The stack stores the current state of the program as it runs, capturing things such as local variables, the return address, etc. Visualize the stack as exactly that, with the bottom ...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/4-results/study-2.typ
typst
MIT License
#import "../../lib/mod.typ": * #pagebreak(weak: true) == #study.H-2.full.n <s.r.study-2> // This section presents all results pertaining to the first contribution, that is the MAGICS sim- // ulator, along with it’s capabilities to reproduce the results of the GBP planner[8]. Sections // 5.3.1-5.3.4 present the results...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/布局/pad/pad.typ
typst
#image("屏幕截图 2024-04-16 162108.png") #image("屏幕截图 2024-04-16 162318.png") #image("屏幕截图 2024-04-16 162347.png")
https://github.com/RiccardoTonioloDev/Bachelor-Thesis
https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/chapters/pyxinet.typ
typst
Other
#pagebreak(to: "odd") #import "../config/functions.typ": * = PyXiNet <ch:pyxinet> PyXiNet (*Py*\ramidal *Xi* *Net*\work) è una famiglia di modelli che tenta di combinare le diverse soluzioni trattate fino ad ora per massimizzare l'efficacia e l'efficienza nel portare a termine il compito di @MDE. Il nome suggerisce...
https://github.com/npikall/typst-templates
https://raw.githubusercontent.com/npikall/typst-templates/main/dev.typ
typst
// Preamble // Import template #import "templates/thesis-bui.typ": conf, maketitle //Set variables #let title = [Testing Typst Templates] #let author = [<NAME>] #let date = datetime.today().display("[day].[month].[year]") #let thesis-type = [Bachelorthesis] #let email = [<EMAIL>] #let matrnr = [123456789] #let abstr...
https://github.com/han0126/MCM-test
https://raw.githubusercontent.com/han0126/MCM-test/main/2024亚太杯typst/chapter/chapter4.typ
typst
#import "../template/template.typ": * = 问题一的模型建立与求解 == 问题分析 通过全面而深入的定量分析,我们研究了二十个关键因素与洪水发生概率之间的关联性,这些因素包括季风强度、地形排水特性、河流管理措施、森林砍伐程度、城市化进程、气候变化趋势、大坝的质量状况、河流淤积现象、农业实践的影响、土地侵蚀程度、防灾措施的有效性、排水系统的效能、海岸线的脆弱性、滑坡风险、流域管理状况、基础设施的老化程度、人口分布及密度、湿地生态系统的健康状态、城乡规划的合理性以及政府政策导向。我们运用统计学工具,计算了这些因素与洪水发生概率之间的皮尔逊相关系数,这是一种衡量两个变量之间线性关系强度和方向的...
https://github.com/Shedward/dnd-charbook
https://raw.githubusercontent.com/Shedward/dnd-charbook/main/dnd/page/proficiencies.typ
typst
#import "../core/core.typ": * #let proficiencies(..proficiencies) = page( header: section[Tools Proficiencies] )[ #columned(separator: false)[ #let proficiencyBlock(proficiency) = [ #set text(hyphenate: false) #set text(top-edge: 0.5em) #abilityHeader(proficiency.title)\ #if proficien...
https://github.com/exdevutem/taller-git
https://raw.githubusercontent.com/exdevutem/taller-git/main/src/first-steps.typ
typst
= Primeros pasos Dependiendo de tu terminal, y la configuración de este, es posible que recibas información de que estás en un directorio que corresponde a un repositorio de Github por algún mensaje en tu prompt. Para el caso mío, mi prompt me indica la siguiente información, visible en @repo - El usuario activo, en e...
https://github.com/LauHuiQi0920/3007DataVisualizationTeamCyan
https://raw.githubusercontent.com/LauHuiQi0920/3007DataVisualizationTeamCyan/main/_extensions/_extensions/poster/typst-show.typ
typst
// Typst custom formats typically consist of a 'typst-template.typ' (which is // the source code for a typst template) and a 'typst-show.typ' which calls the // template's function (forwarding Pandoc metadata values as required) // // This is an example 'typst-show.typ' file (based on the default template // that shi...
https://github.com/CreakZ/mirea-algorithms
https://raw.githubusercontent.com/CreakZ/mirea-algorithms/master/reports/layouts.typ
typst
#let head1(theme) = { set align(center) text(size: 16pt, [#theme]) } #let head2(theme) = { set align(center) text(size: 14pt, [#theme]) } #let un_heading(theme) = { align(center, text(size: 16pt,[*#theme* ]) ) } #let indent = h(1.25cm) #let tab = h(0.5cm) // Костыль. Пока что не...
https://github.com/WShohei/presentation
https://raw.githubusercontent.com/WShohei/presentation/master/lab/0515/slide/main.typ
typst
#import "templates/template.typ": * #show: doc => slides(doc) #show link: l => underline(l) #slide( title: "環境構築(雑)", pad( x: 2em, )[ ローカルで動かせなくても聞けるようにはしたつもりですが、\ 自分で実行したい場合は、 - Poetryがあれば、 ```bash poetry install ``` で必要なライブラリをインストールできます。\ (versionが合わない⇒次ページ) - requirements.txtがあるので、 ```b...
https://github.com/BreakingLead/note
https://raw.githubusercontent.com/BreakingLead/note/main/Math/chebyshev/chebyshev.typ
typst
#import "../../template-mathnote.typ": * = Chebyshev Polynomials Observe: + $cos x = x$ + $cos (2x) = 2cos^2x+1$ + $cos (3x) = 4cos^3x-3x$ + $cos (4x) = 8cos^4x-8cos^2x+1$ #theorem[ Recursive Expression ][ Let $T_(n)(cos theta) := cos(n theta)$, there is $ T_(n)(x) = 2x T_(n-1) (x) - T_(n-2) (x) $ ][ _Proof:_ ...
https://github.com/HernandoR/lz-brilliant-cv
https://raw.githubusercontent.com/HernandoR/lz-brilliant-cv/main/modules_SinglePage/skills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Skills") #cvSkill( type: [Languages], info: languageSwitch(( "en":[English - Professional fluent #hBar() Mandarin - Native], "zh":[英语 - 专业流利 #hBar() 中文 - 母语] )), ) #cvSkill( type: [Tech Stack], info: [Python (Pandas/Numpy) #hBar() Machine Lea...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/intermediate/mod.typ
typst
Apache License 2.0
#import "/src/book.typ" #import "../mod.typ": code as _code, exec-code as _exec-code, refs, typst-func, pro-tip #import "/typ/templates/page.typ": main-color #import "/typ/embedded-typst/lib.typ": svg-doc, default-fonts, default-cjk-fonts #let eval-local(it, scope, res) = if res != none { res } else { eval(it.text...
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/masterproef/elems/acronyms.typ
typst
#import "./template.typ": todo, section #let glossary_entries = state("glossary_entries", (:)) #let query_labels_with_key(loc, key, before: false) = { if before { query(selector(label("glossary:" + key)).before(loc, inclusive: false), loc) } else { query(selector(label("glossary:" + ke...
https://github.com/Joelius300/hslu-typst-template
https://raw.githubusercontent.com/Joelius300/hslu-typst-template/main/chapters/07_reflection-and-outlook.typ
typst
MIT License
= Reflexion und Ausblick Reflexion der eigenen Arbeit, ungelöste Probleme, weitere Ideen. Wichtig; kommt häufig zu kurz in BAAs. #pagebreak()
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/typstonomicon/math_display.md
markdown
MIT License
# Make all math display math <div class="warning"> May slightly interfere with math blocks. </div> ```typ // author: eric1102 #show math.equation: it => { if it.body.fields().at("size", default: none) != "display" { return math.display(it) } it } Inline math: $sum_(n=0)^oo e^(x^2 - n/x^2)$\ Some other ...
https://github.com/heinwol/master-thesis
https://raw.githubusercontent.com/heinwol/master-thesis/main/typst/template.typ
typst
#import "./typst-packages/packages/preview/ctheorems/1.1.2/lib.typ": * #import "@preview/sourcerer:0.2.1": code as code_ // indentation hack from https://github.com/typst/typst/issues/311#issuecomment-2104447655 #let indent = 1.25cm #let styled = [#set text(red)].func() #let space = [ ].func() #let sequence = [].func(...
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/fenders.typ
typst
= Berthing fenders To avoid downtime in LNG carrier berthing, I was looking to evaluate the adequacy of breasting dolphins, at an age old jetty, see @bd, coupled temporarily with floating pneumatic fenders (FPF), while new air block fenders (ABF) get procured and replaced. #figure( image("/img/bdolphin.jpg", width:...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliEsterni/VerbaleEsterno_231206/meta.typ
typst
MIT License
#let data_incontro = "06-12-2023" #let inizio_incontro = "15:30" #let fine_incontro = "16:45" #let luogo_incontro = "Sede Sync Lab, via <NAME>, 28" #let company = "Sync Lab"
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/stroke_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Dashing #line(length: 60pt, stroke: (paint: red, thickness: 1pt, dash: ("dot", 1pt))) #v(3pt) #line(length: 60pt, stroke: (paint: red, thickness: 1pt, dash: ("dot", 1pt, 4pt, 2pt))) #v(3pt) #line(length: 60pt, stroke: (paint: red, thickness: 1pt...
https://github.com/Jollywatt/typst-wordometer
https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/tests/issues/test.typ
typst
MIT License
#import "/src/lib.typ": * #set page(width: 15cm, height: auto) = Issue #link("https://github.com/Jollywatt/typst-wordometer/issues/1", `#1`) Figures might have: - no `caption` field, or - a `caption` field with the value `none`. #let el = rect[ #figure([Hello from the figure body.], caption: none) Ciao. ] #el #w...
https://github.com/RubixDev/typst-i-figured
https://raw.githubusercontent.com/RubixDev/typst-i-figured/main/README.md
markdown
MIT License
# I figured Configurable figure numbering per section. ## Examples ### Basic Have a look at the source [here](./examples/basic.typ). ![Example: basic](./examples/basic.png) ### Two levels deep Have a look at the source [here](./examples/level-two.typ). ![Example: two levels deep](./examples/level-two.png) ## U...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-03-24/24-03-24.typ
typst
#import "/template.typ": * #show: project.with( date: "24/03/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), reviewers: ( "<NAME>", ), timeStart: "15:10", timeEnd: "16:05", ); = Ordine del giorno - Valutazione del progresso generale; -...
https://github.com/tingerrr/anti-matter
https://raw.githubusercontent.com/tingerrr/anti-matter/main/src/rules.typ
typst
MIT License
/// A function which displays an `outline.entry` using its default show rule _with_ the given page /// numbering function. /// /// This can be used with its default parameters to revert the outline show rule in `anti-matter`. /// /// - entry (outline.entry): the outline entry to display /// - func: (function): transfor...
https://github.com/angelcerveraroldan/notes
https://raw.githubusercontent.com/angelcerveraroldan/notes/main/abstact_algebra/notes/rings/intro.typ
typst
#import "../../../preamble.typ" : * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #let iso = $tilde.equiv$ #def(title:"Ring and Field", [ A ring is a set along with two binary operations $(R, +, dot)$, where $dot$ and $+$ are associative, $+$ is commutative, and $dot$ need not have an inverse f...
https://github.com/kyliancc/mathematics
https://raw.githubusercontent.com/kyliancc/mathematics/main/Infomation%20and%20Entropy/cpt5/cpt5.typ
typst
#set page("a4") #align(left, text(25pt)[ *Information and Entropy* ]) #align(left, text(20pt)[ *Chapter 5: Probability* ]) = 1. Events There's some Concepts: - *Universal event*: $p("universal event") = 1$ - *Null event*: $p("null event") = 0$ - *Mutually exclusive*: $A sect B = emptyset$ ...
https://github.com/Enter-tainer/wavy
https://raw.githubusercontent.com/Enter-tainer/wavy/master/typst-package/wavy.typ
typst
MIT License
#import "@preview/jogs:0.2.1": compile-js, call-js-function #let wavy-src = read("./wavy.js") #let wavy-bytecode = compile-js(wavy-src) #let render(src, ..args) = { let result = call-js-function(wavy-bytecode, "wavy", src) image.decode(result, ..args) }
https://github.com/mdgrs/resume-typst
https://raw.githubusercontent.com/mdgrs/resume-typst/main/modules/skills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Skills") #cvSkill( type: [Languages], info: [English -- Native #hBar() French --Native #hBar() Italian -- C1] ) #cvSkill( type: [Tech Stack], info: [Scala #hBar() Python #hBar() Python Data #hBar() R #hBar() SQL] ) #cvSkill( type: [Personal Interests],...
https://github.com/Enter-tainer/zint-wasi
https://raw.githubusercontent.com/Enter-tainer/zint-wasi/master/typst-package/manual.typ
typst
MIT License
#import "./lib.typ": * #import "./lib.typ" #import "@preview/tidy:0.2.0" #import "@preview/tablex:0.0.8": tablex, colspanx, cellx #import "./tidy_style.typ" #set page( paper: "a4", margin: ( y: 1em, x: 2em, ), ) // shortcut for underlined links #let l(dest, body) = underline(link(dest, body)) #{ set ...
https://github.com/protohaven/printed_materials
https://raw.githubusercontent.com/protohaven/printed_materials/main/public-code_of_conduct/protohaven-code_of_conduct.typ
typst
#import "/meta-environments/env-templates.typ": * #show: doc => policy_document( title: "Code of Conduct", authors: ("Protohaven Board",), draft: false, date: datetime( year: 2024, month: 4, day: 1, ), doc ) #include "/common-policy/code_of_conduct.typ"
https://github.com/Leo1003/resume
https://raw.githubusercontent.com/Leo1003/resume/main/README.md
markdown
# Resume This resume is built with [Typst](https://typst.app/docs), which is a new markup-based typesetting system designed to be an alternative both to advanced tools like LaTeX and simpler tools like Word and Google Docs. Access the generated [PDF](https://leo1003.github.io/resume/Resume-PDF/resume.pdf) Rendered r...
https://github.com/EricWay1024/Homological-Algebra-Notes
https://raw.githubusercontent.com/EricWay1024/Homological-Algebra-Notes/master/ha/1-cat.typ
typst
#import "../libs/template.typ": * = Basic Category Theory <cat-theory> This section is a crash course in category theory. The reader is advised to take the Category Theory course concurrently and/or refer to other materials, e.g. @awodey. == Basic Definitions #definition[ A *category* $cal(C)$ consists of - A...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/typearea/0.1.0/README.md
markdown
Apache License 2.0
# typst-typearea A KOMA-Script inspired package to better configure your typearea and margins. ```typst #import "@preview/typearea:0.1.0": typearea #show: typearea.with( paper: "a4", div: 9, bcor: 11mm, ) = Hello World ``` ## Reference `typearea` accepts the following options: ### two-sided Whether the do...
https://github.com/almarzn/portfolio
https://raw.githubusercontent.com/almarzn/portfolio/main/templates/typst/.template/shared/sizes.typ
typst
#let size-scale(base: 12pt, ratio: 1.1) = ( small: base * calc.pow(ratio, -1), p: base * calc.pow(ratio, 0), h6: base * calc.pow(ratio, 1), h5: base * calc.pow(ratio, 2), h4: base * calc.pow(ratio, 3), h3: base * calc.pow(ratio, 4), h2: base * calc.pow(ratio, 5), h1: base * calc.po...
https://github.com/EpicEricEE/typst-plugins
https://raw.githubusercontent.com/EpicEricEE/typst-plugins/master/equate/src/lib.typ
typst
#import "equate.typ": equate
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/inline/linebreak.typ
typst
// Test line breaks. --- linebreak-overflow --- // Test overlong word that is not directly after a hard break. This is a spaceexceedinglylongy. --- linebreak-overflow-double --- // Test two overlong words in a row. Supercalifragilisticexpialidocious Expialigoricmetrioxidation. --- linebreak-hyphen-nbsp --- // Test f...
https://github.com/vaucher-leo/template-tb-typst
https://raw.githubusercontent.com/vaucher-leo/template-tb-typst/main/fonctions.typ
typst
MIT License
#let todayDate(lang) = { let actualDay = datetime.today().display("[day]") if actualDay.first() == "0" { actualDay = actualDay.last() } let actualMonth = datetime.today().display("[month repr:long]") if lang == "FR"{ // Convert month to french if actualMonth == "January" { actualMonth = "j...
https://github.com/seapat/markup-resume
https://raw.githubusercontent.com/seapat/markup-resume/main/README.md
markdown
Apache License 2.0
# Markup-Resmue This project allows you to create a resume (including cover letter) from a markup file (toml, yaml, json, xml) using minimal amounts of `typst` code. The aim for this project was to allow to define flexible structure so that it can be used to write an internship application just as well as an academic...
https://github.com/daskol/typst-templates
https://raw.githubusercontent.com/daskol/typst-templates/main/jmlr/appendix.typ
typst
MIT License
// There are no numbers in sample paper. #set math.equation(numbering: none) // The first nameless section in the appendix. = <app:theorem> // Note: in this sample, the section number is hard-coded in. Following proper // LaTeX conventions, it should properly be coded as a reference: // In this appendix we prove the...
https://github.com/flechonn/typst
https://raw.githubusercontent.com/flechonn/typst/main/data/doc3.typ
typst
= 1. Exercice : Appliquer la deuxième loi de Newton. Solution : $F = m * a$ Niveau d'indice : Débutant Considérez un objet de masse $m$ soumis à une force $F$. Appliquez la deuxième loi de Newton pour déterminer l'accélération $a$ de l'objet. = 2. Exercice : Résoudre un problème de mouvement circulaire unif...
https://github.com/Student-Smart-Printing-Service-HCMUT/ssps-docs
https://raw.githubusercontent.com/Student-Smart-Printing-Service-HCMUT/ssps-docs/main/contents/categories/task4/4.2.typ
typst
Apache License 2.0
== Tài liệu, thư mục cho kho lưu trữ (repository) Ở các kho lưu trữ ở cả frontend và backend, chúng tôi đã liên tục thêm và thay đổi nội dung của tài liệu, thư mục phục vụ cho việc phát triển dự án như .github (việc lưu trữ thông tin của những lần thay đổi), các folder liên quan đến frontend như components,pages,... v...
https://github.com/jneug/typst-nassi
https://raw.githubusercontent.com/jneug/typst-nassi/main/assets/example-cetz.typ
typst
MIT License
#import "@preview/cetz:0.2.2" #import "../src/nassi.typ" #set page(width: auto, height:auto, margin: 5mm) #let strukt = nassi.parse(``` function inorder(tree t) if t has left child inorder(left child of t) end if process(root of t) if t has right child inorder(right child of t) end ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/show-recursive.typ
typst
Apache License 2.0
// Test recursive show rules. --- // Test basic identity. #show heading: it => it = Heading --- // Test more recipes down the chain. #show list: scale.with(origin: left, x: 80%) #show heading: [] #show enum: [] - Actual - Tight - List = Nope --- // Test show rule in function. #let starwars(body) = { show list: it ...
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS2110/Modules/VonNeumann.typ
typst
#import "../../../template.typ": * = The Von Neumann Model == Basic Components A *computer program* consists of a set of instructions, each specifying a well defined piece of work for the computer to carry out. The *instruction* is the smallest piece of work specified in a computer program. #theorem[ The *von N...
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap2/3_power_in_electric_circuits.typ
typst
Other
#import "../../core/core.typ" === Power in electric circuits In addition to voltage and current, there is another measure of free electron activity in a circuit: power. First, we need to understand just what power is before we analyze it in any circuits. Power is a measure of how much work can be performed in a giv...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/columns_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test the expansion behaviour. #set page(height: 2.5cm, width: 7.05cm) #rect(inset: 6pt, columns(2, [ ABC \ BCD #colbreak() DEF ]))
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/013_The%20Gathering%20Storm%3A%20Chapter%2019.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 19", set_name: "Ravnica Allegiance", story_date: datetime(day: 16, month: 10, year: 2019), author: "<NAME>", doc ) The Beacon Tower was on the corner of an otherwise nondescript residential block, close enough t...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/078.%20head.html.typ
typst
head.html Holding a Program in One's Head August 2007A good programmer working intensively on his own code can hold it in his mind the way a mathematician holds a problem he's working on. Mathematicians don't answer questions by working them out on paper the way schoolchildren are taught to. They do more in their he...
https://github.com/RiccardoTonioloDev/Bachelor-Thesis
https://raw.githubusercontent.com/RiccardoTonioloDev/Bachelor-Thesis/main/chapters/xinet.typ
typst
Other
#pagebreak(to: "odd") = XiNet <ch:xinet> Il seguente capitolo parla di XiNet @xinet, una rete neurale convoluzionale profonda, parametrizzata, orientata all'efficienza energetica per compiti relativi alla _computer vision_. Il _paper_ tratta in primo luogo lo XiConv ovvero un blocco convoluzionale parametrizzato che co...
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/README.md
markdown
Creative Commons Attribution Share Alike 4.0 International
# 53E Notebook 2023-2024 [![Build Typst document](https://github.com/Area-53-Robotics/53E-Notebook/actions/workflows/build.yml/badge.svg)](https://github.com/Area-53-Robotics/53E-Notebook/actions/workflows/build.yml) ![GitHub](https://img.shields.io/github/license/Area-53-Robotics/53E-notebook) Welcome to 53E's noteb...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/hoi-nghi-Nha-Trang/macros.typ
typst
#import "@preview/gentle-clues:0.7.1": * // #import "@preview/diagraph:0.2.0": * // #import "@preview/minitoc:0.1.0": * // #import "../../src/tybank.typ": * // #import "@preview/moremath:0.1.0": ind #show: gentle-clues.with(breakable: true) #set page(numbering: "1") #set heading(numbering: "1.1.") #set text(font: "New ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/gallery/notes.typ
typst
Apache License 2.0
#import "/src/lib.typ" as chronos: * #set page(width: auto, height: auto) #chronos.diagram({ _par("a", display-name: "Alice") _par("b", display-name: "Bob") _seq("a", "b", comment: [hello]) _note("left", [this is a first note]) _seq("b", "a", comment: [ok]) _note("right", [this is another note]) _seq(...
https://github.com/dyc3/senior-design
https://raw.githubusercontent.com/dyc3/senior-design/main/api-proxy.typ
typst
= REST API Proxy <Chapter::RestApiProxy> == Forwarding API Requests When a REST API request is made to OpenTogetherTube, the request is first received by the load balancer acting as the reverse proxy for API requests. The load balancer then selects one of the OTT monoliths based on the current load-balancing algorithm...
https://github.com/tingerrr/masters-thesis
https://raw.githubusercontent.com/tingerrr/masters-thesis/main/src/de/chapters/7-conclusion.typ
typst
#import "/src/util.typ": * #import "/src/figures.typ" = Ergebnis Aus den Benchmarks in @chap:benchmarks kann geschlossen werden, dass persistente Baumdatenstrukturen vor allem im Worst Case bessere Performance liefern können. In ihrer jetzigen Implementierung sind 2-3-Fingerbäume keine gute Wahl für die Storage-Datens...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/attach-08.typ
typst
Other
// Test limit. $ lim_(n->oo \ n "grows") sum_(k=0 \ k in NN)^n k $
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/components/TypstLocal/admonition/README.md
markdown
# typst-admonition [This package](https://github.com/crd2333/typst-admonition) is admonitions in [typst](https://github.com/typst/typst). Icons are redrawed from [material](https://squidfunk.github.io/mkdocs-material/reference/admonitions/). ![example](examples/example1.png) ## Usage ![example](examples/example2.pn...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/class_01.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test custom content. #let dotsq = square( size: 0.7em, stroke: 0.5pt, align(center+horizon, circle(radius: 0.15em, fill: black)) ) $ a dotsq b \ a class("normal", dotsq) b \ a class("vary", dotsq) b \ a + class("vary", dotsq) b \ ...
https://github.com/rodrigo72/typst-LNCS-template
https://raw.githubusercontent.com/rodrigo72/typst-LNCS-template/main/src/template.typ
typst
#let script-size = 7.97224pt #let footnote-size = 8.50012pt #let small-size = 9.24994pt #let normal-size = 10.00002pt #let large-size = 11.74988pt #let LNCS-paper( title: "Paper title", subtitle: "Paper subtitle", university: "University of Somewhere", email_type: "university.com", group: "Group XX", a...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/math/frac-04.typ
typst
Other
// Error: 8-13 missing argument: lower $ binom(x^2) $
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/for-01.typ
typst
Other
#let out = () // Values of array. #for v in (1, 2, 3) { out += (v,) } // Indices and values of array. #for (i, v) in ("1", "2", "3").enumerate() { test(repr(i + 1), v) } // Pairs of dictionary. #for v in (a: 4, b: 5) { out += (v,) } // Keys and values of dictionary. #for (k, v) in (a: 6, b: 7) { out += (k,)...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/examples/flyers/summer-pizza-party.typ
typst
#import "@local/typkit:0.1.0": * #import "@local/magic:0.1.0" #set page( margin: ( left: 1.5in, right: 1.5in, ), background: image( ) #set text( size: 1.5em ) #magic.title([Summer End Pizza Party]) #magic.table( Location: [Sunset Park Basketball Court], Date: [Sunday August 18...
https://github.com/Mc-Zen/zero
https://raw.githubusercontent.com/Mc-Zen/zero/main/src/ztable.typ
typst
MIT License
#import "num.typ": num, number-to-string #import "state.typ": num-state // #let ptable-counter = counter("__pillar-table__") #let is-normal-cell(cell, format, default: none) = { format.at(cell.x, default: default) == none or number-to-string(cell.body) == none } #let call-num(cell, format, col-widths: auto, d...
https://github.com/dead-summer/math-notes
https://raw.githubusercontent.com/dead-summer/math-notes/main/notes/ScientificComputing/ch2-scalar-nonlinear-eqns/the-fixed-point-method.typ
typst
#import "/book.typ": book-page #import "../../../templates/conf.typ": * #import "@preview/mitex:0.2.4": * #show: book-page.with(title: "EfficiThe Fixed Point Methodency") #show: codly-init.with() #show: thmrules.with(qed-symbol: $square$) #codly_init() = 2 The Fixed Point Method Suppose an initial guess $x_0$ to the...
https://github.com/CarterT27/cover_letter
https://raw.githubusercontent.com/CarterT27/cover_letter/main/README.md
markdown
# Cover Letter Created using Typst. ## How to use 1. Copy `example_letter.yml` and rename to `letter.yml`, and then change the relevant information. 2. Compile using `typst compile letter.typ`
https://github.com/pmazaitis/combination
https://raw.githubusercontent.com/pmazaitis/combination/main/combination.typ
typst
#let combination( columns: (auto,), rows: (auto,), gutter: 1em, text_align: center, text_styles: arguments(black), ..parts ) = { let comb_pairs = parts .pos() .chunks(2, exact: true) .map(((p,c)) => [ #block([#p #align(text_align, text(..text_st...