repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/raw-links.typ
typst
MIT License
/* Return content where any markers in the `text` have been replaced with link objects. If no markers exist, `default` is returned. */ #let _markers-to-links(raw-text, default) = { let matches = raw-text.matches(regex("jdztDE(\w+)zRVeVY")) if matches.len() > 0 { let content = [] let index = 0 for ma...
https://github.com/essmehdi/ensias-report-template
https://raw.githubusercontent.com/essmehdi/ensias-report-template/master/lib.typ
typst
MIT License
#let IMAGE_BOX_MAX_WIDTH = 120pt #let IMAGE_BOX_MAX_HEIGHT = 50pt #let project(title: "", subtitle: none, school-logo: none, company-logo: none, authors: (), mentors: (), jury: (), branch: none, academic-year: none, french: false, footer-text: "ENSIAS", body) = { // Set the document's basic properties. set documen...
https://github.com/adrianvillanueva997/cv
https://raw.githubusercontent.com/adrianvillanueva997/cv/main/modules_en/skills.typ
typst
// Imports #import "@preview/brilliant-cv:2.0.2": cvSection, cvSkill, hBar #let metadata = toml("../metadata.toml") #let cvSection = cvSection.with(metadata: metadata) #cvSection("Skills") #cvSkill( type: [Langs], info: [English, Spanish], ) #cvSkill( type: [Prog Langs], info: [Python, Java, Go, Rust, NodeJS...
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/Analysis/natural.typ
typst
#import "/mathenv.typ": * = Natural Numbers Now we are about to rebuild the whole numerical system. To begin, we have to forget the most of we knowledge about natural numbers. However, we still need some cardinally basic concepts and experience about natural numbers, just to judge if the system is of use. In theory, ...
https://github.com/piepert/grape-suite
https://raw.githubusercontent.com/piepert/grape-suite/main/src/seminar-paper.typ
typst
MIT License
#import "colors.typ" as colors: * #import "todo.typ": todo, list-todos, hide-todos #import "elements.typ": * #let project( title: none, subtitle: none, submit-to: "Submitted to", submit-by: "Submitted by", university: "UNIVERSITY", faculty: "FACULTY", institute: "INSTITUTE", seminar: ...
https://github.com/IdoWinter/UnitedDumplingsLegislatureArchive
https://raw.githubusercontent.com/IdoWinter/UnitedDumplingsLegislatureArchive/main/legislature/book_of_laws.typ
typst
MIT License
#import "templates.typ": * #outline(title: "Book of laws", depth: 2, fill: line(length: 100%), indent: 1em) #pagebreak() #include "constitution/israeli-laws-adoption.typ" #pagebreak() #include "constitution/direct-elections-pm.typ"
https://github.com/iseri27/tagbar-typst
https://raw.githubusercontent.com/iseri27/tagbar-typst/master/README_zh.md
markdown
MIT License
# tagbar-typst ## 简介 tagbar-typst 为 typst 文件生成 ctags. 该插件是 [lvht/tagbar-markdown](https://github.com/lvht/tagbar-markdown.git) 的一个 fork. ~~实际上就是修改了下变量名~~. ## 截图 ![](./screenshot/screenshot.png) ## 安装 - [vim-plug] ```viml Plug 'majutsushi/tagbar' Plug 'Corona09/tagbar-typst' ``` 确保安装了 **php**, 并且 `bin/typst_ctags...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/12-krysar.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo #dilo("Krysař", "krysar", "<NAME>", "", [přelom 20. a 21.~st; neoklasicismus], "Česko", "~1920", "epika", "novela") #columns(2, gutter: 1em)[ *Téma*\ Krysař se za jejich lhostejnost mstí občanům města Hammeln. Volné zpracování středovéké saské pověsti. *Motivy*\ maloměšťanství, ...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/01-matrices.typ
typst
Other
#import "../../utils/core.typ": * == Матрицы #def[ $R$ --- кольцо, $m, n in NN$ Матрица $m times n$ над кольцом $R$ --- прямоугольная таблица $A = display(mat( a_(1 1), a_(1 2), ..., a_(1 n); a_(2 1), a_(2 2), ..., a_(2 n); dots.v, dots.v, dots.down, dots.v; a_(m 1), a_(m...
https://github.com/JWangL5/CAU-ThesisTemplate-Typst
https://raw.githubusercontent.com/JWangL5/CAU-ThesisTemplate-Typst/master/ref/acronyms.typ
typst
MIT License
// https://github.com/typst/typst/issues/659 #let acronyms = json("../template/acronyms.json") // The state which tracks the used acronyms #let usedAcronyms = state("usedDic", (:)) // The function which either shows the acronym or the full text for it #let acro(body) = { if(acronyms.keys().contains(body) == false)...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/accent_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test wide base. $arrow("ABC" + d), tilde(sum)$
https://github.com/Hao-Yuan-He/resume_typst
https://raw.githubusercontent.com/Hao-Yuan-He/resume_typst/main/main.typ
typst
#import "lib.typ": * // Put your personal information here, replacing mine #let name = "<NAME> (何浩源)" #let location = "Nanjing, China" #let email = "<EMAIL>" #let github = "github.com/stuxf" #let linkedin = "linkedin.com/in/stuxf" #let phone = "Phone number" #let personal-site = "hao-yuan-he.github.io" #let img = "pro...
https://github.com/ilsubyeega/circuits-dalaby
https://raw.githubusercontent.com/ilsubyeega/circuits-dalaby/master/Type%201/2/35.typ
typst
#set enum(numbering: "(a)") #import "@preview/cetz:0.2.2": * #import "../common.typ": answer 2.35 다음 회로의 단자 $(a, b)$ 의 오른쪽 회로를 단순화하여 $R_(e q)$를 구하고, 전압원에 의해 공급되는 전력을 구하라. 모든 저항값의 단위는 $ohm$ 이다. #answer[ 직렬, 병렬 합치기를 통하여 $R_(e q) = 5 ohm$ 이다. $P = V I = V^2/R = 25^2 / 5 = 125 W$. ]
https://github.com/crd2333/crd2333.github.io
https://raw.githubusercontent.com/crd2333/crd2333.github.io/main/src/docs/Reading/Reconstruction/NeRF改进工作.typ
typst
#import "/src/components/TypstTemplate/lib.typ": * #show: project.with( title: "NeRF 改进工作", lang: "zh", ) #let bo = $bold(o)$ #let bxi = $bold(xi)$ #let bnu = $bold(nu)$ #let bK = $bold(K)$ #let bI = $bold(I)$ #let bT = $bold(T)$ #let bP = $bold(P)$ #let batch_size = math.text("batch_size") #let br = math.bold("r...
https://github.com/jasmerri/tsumo
https://raw.githubusercontent.com/jasmerri/tsumo/main/src/image-sets.typ
typst
MIT License
#import "./tile.typ": ids, tiles, types, variants #let _prefixes = ( types.character: "Man", types.bamboo: "Sou", types.dot: "Pin", types.dragon: "", types.wind: "", types.other: "", ) #let _suit-names = ( ids.numbered.one: "1", ids.numbered.two: "2", ids.numbered.three: "3", ids.numbered.four: "4...
https://github.com/HernandoR/lz-brilliant-cv
https://raw.githubusercontent.com/HernandoR/lz-brilliant-cv/main/modules/projects.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Projects & Associations") #cvEntry(..languageSwitch(( "en": ( title: [Personal Server | DevOps], society: [Personal Project], date: [08/2021 - Present], location: [Shanghai, China], description: list( [Deployed multiple virtual machines...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-03.typ
typst
Other
// Test panic. // Error: 7-12 panicked with: 123 #panic(123)
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/mark-gallery/test.typ
typst
MIT License
#set page(width: 15cm, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #context table( columns: (1fr,)*6, stroke: none, ..fletcher.MARKS.get().pairs().map(((k, v)) => [ #set align(center) #raw(k) \ #diagram(spacing: 18mm, edge(stroke: 1pt, marks: (v, v))) ]), )
https://github.com/GYPpro/Java-coures-report
https://raw.githubusercontent.com/GYPpro/Java-coures-report/main/.VSCodeCounter/2023-12-15_05-15-05/diff.md
markdown
# Diff Summary Date : 2023-12-15 05:15:05 Directory d:\\Desktop\\Document\\Coding\\JAVA\\Rep\\Java-coures-report Total : 62 files, 4962 codes, 13 comments, 1260 blanks, all 6235 lines [Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) ## Languages | language | files | c...
https://github.com/MingLLuo/typst-course-description
https://raw.githubusercontent.com/MingLLuo/typst-course-description/main/utils.typ
typst
#let Chinese = 0 #let English = 1 // #let Mixed = 2 // unused, under construction #let mode = 1 // Chinese, English, Mixed // translate function, with context #let translate(zh: [], en: []) = { if mode == Chinese { zh } else if mode == English { en } else { zh + " / " + en } } // Example: // zh:...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/diagram-inline/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #for (i, a) in ("->", "=>", "==>").enumerate() [ Diagram #diagram( node-inset: 2.5pt, label-sep: 1pt + i*1pt, node((0, -i), $A$), edge((0, -i), (1, -i), text(0.6em, $f$), a), node((1, -i), $B$), ) ...
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/src/theorems/example.typ
typst
Apache License 2.0
#import "new-plain-template.typ": new-plain-template #import "../counters.typ": example-counter #let example = new-plain-template("Example", template-counter: example-counter)
https://github.com/HarryLuoo/sp24
https://raw.githubusercontent.com/HarryLuoo/sp24/main/math321/hw12.typ
typst
= HW 12, <NAME>, <EMAIL> = 1 Recall that cauchy-riemann equation: $partial_x u = partial_y v, quad partial_y u = -partial_x v$ is a necessary condition for a complex function to be holomorphic. let $f(z) = (x+i y)^3$. Expanding, we have: $ f(x,y) &= x^3 + 3 i x^2 y - 3 x y^2 - i y^3 \ & = (x^3 - 3x y^2) + i...
https://github.com/denizenging/site
https://raw.githubusercontent.com/denizenging/site/master/page/search/index.en.typ
typst
#import "@local/pub-page:0.0.0": * #show: template( title: "Search", layout: "search", outputs: ("html", "json"), menu: (5, "search"), )
https://github.com/liuxu89/typstbook
https://raw.githubusercontent.com/liuxu89/typstbook/main/book.typ
typst
#import "@preview/shiroa:0.1.0": * #show: book #book-meta( title: "Liuxu's wiki", summary: [ #prefix-chapter("sample-page.typ")[Hello, typst] = 毛泽东选集 - #chapter("src/1-mao/别了司徒雷登.typ")[别了,司徒雷登] ] ) // re-export page template #import "/templates/page.typ": project #let book-page = project
https://github.com/Otto-AA/definitely-not-tuw-thesis
https://raw.githubusercontent.com/Otto-AA/definitely-not-tuw-thesis/main/src/styles/front-matter.typ
typst
MIT No Attribution
#import "utils/state.typ": is-back-matter #let front-matter-styles = rest => { set page(numbering: "i") counter(page).update(1) counter(heading).update(0) set heading(numbering: none) rest }
https://github.com/MariusLD/2K24-Internship-Sopra-Steria
https://raw.githubusercontent.com/MariusLD/2K24-Internship-Sopra-Steria/master/Internship_Report.typ
typst
#set text( size: 12pt ) #set par( justify: true ) #set heading(numbering: "I.1") #let title = [ SI Formation - Rapport de stage ] #let year = [ Year 2023/2024 ] #table( columns: (22%, 22%, 80pt ,24%, 22%), inset: 8pt, align: horizon, image("logos/esir.png"), image("logos/Logo-Universite-de-Rennes-1.png"),...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/spacing_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test weak spacing $integral f(x) dif x$, // Not weak $integral f(x) thin dif x$, // Both are weak, collide $integral f(x) #h(0.166em, weak: true)dif x$
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/chapters/experimental.typ
typst
#import "@preview/glossarium:0.4.1": gls, glspl = Experiment <section_experiment> In this chapter, a detailed experiment will be conducted, simulating the entire development cycle of a web application using micro frontend architecture across several stages: planning, setup, implementation, build, deployment, testing,...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/typst-slides-fudan/themes/polylux/book/src/dynamic/poor-alternatives.typ
typst
#import "../../../polylux.typ": * #set page(paper: "presentation-16-9") #set text(size: 40pt) #polylux-slide[ #only(1)[Ann] #only(2)[Bob] #only(3)[Christopher] likes #only(1)[chocolate] #only(2)[strawberry] #only(3)[vanilla] ice cream. This sentence is a visual reference. ]
https://github.com/yhtq/Notes
https://raw.githubusercontent.com/yhtq/Notes/main/计算机网络/网络层.typ
typst
#import "../template.typ": * #show: note.with( title: "计算机网络", author: "YHTQ", date: none, logo: none, ) #let chapter2 = [ = 网络层 == 基本功能 将主机端数据经由物理链路,经过路由器交换机等网络设备,交付到目的主机。 == 服务模型 - 面向连接 | 无连接 - 可靠传输 | 不可靠传输 - 服务质量保障 | 基本保障 | 不保障 历史上这些问题都有过很大争议,时至今日最终胜出的是 internet 协议,提供无连接数据报文服务,同时几乎不做任...
https://github.com/0xmycf/typst-template
https://raw.githubusercontent.com/0xmycf/typst-template/main/test.typ
typst
#import "./Prelude.typ": applyStyle, citep #show: doc => applyStyle( author: "<NAME>" , title: "Lorem in the Context of Me" , doc ) = Top Header ```hs -- the main function is the entrypoint in the program -- in contrast to java this is low boiler...
https://github.com/Pablo-Gonzalez-Calderon/showybox-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/showybox-package/main/lib/pre-rendering.typ
typst
MIT License
/* * ShowyBox - A package for Typst * <NAME> and Showybox Contributors (c) 2023-2024 * * lib/pre-rendering.typ -- The package's file containing all * the internal functions used for pre-rendering some components * to get their dimensions or properties. * * This file is under the MIT license. For more * informa...
https://github.com/max-niederman/CS250
https://raw.githubusercontent.com/max-niederman/CS250/main/hw/3.typ
typst
#import "../lib.typ": * #show: homework.with(title: "CS 250 Homework #3") = Proof Techniques == 1 #set enum(numbering: "a.") + An oblong rectangle is a geometric figure with four right angles, but not a square. + Zero is not positive, but neither is it negative. + Gunnar is a person with red hair, but neither is h...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/chronos/0.1.0/src/utils.typ
typst
Apache License 2.0
#let get-participants-i(participants) = { let pars-i = (:) for (i, p) in participants.enumerate() { pars-i.insert(p.name, i) } return pars-i } #let get-group-span(participants, group) = { let min-i = participants.len() - 1 let max-i = 0 let pars-i = get-participants-i(participants) for elmt in gro...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PreventivoSprint/QuintoSprint.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 == Quinto #glossary[sprint] *Inizio*: Venerdì 22/12/2023 *Fine*: Giovedì 28/12/2023 #prospettoOrario(sprintNumber: "5") #prospettoEconomico(sprintNumber: "5")
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fh-joanneum-iit-thesis/1.2.3/template/chapters/glossary.typ
typst
Apache License 2.0
#import "global.typ": * // Not listed in table of contents (the outline) // Not numbered #heading(outlined: false, numbering: none)[ Glossary ] // Add list of terms // Usage within text will then be #gls(<key>) or plurals #glspl(<key>) // Output is sorted by key #print-glossary( ( ( key: "gc", short: "G...
https://github.com/gianzamboni/cancionero
https://raw.githubusercontent.com/gianzamboni/cancionero/main/theme/music.typ
typst
#import "@preview/chordx:0.4.0": * #import "@preview/cetz:0.2.2": * #let chart-chord = chart-chord.with(size: 2em, design: "round") #let chordsData = ( Am: ( fingers: "nn231nnn", tabs: "xo231o"), A: ( fingers: "nn23nnn", tabs: "oo23oo"), E: ( fingers: "n231nnn", tabs: "o231oo"), Dm: ( fingers: "nnn231", tabs:...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/src/structure.typ
typst
Apache License 2.0
#import "range.typ" as rng #import "util.typ" #let make( name, bits, ranges, start: 0 ) = { return ( name: name, bits: bits, ranges: ranges, start: start ) } #let load(id, data) = { let struct = (id: id) let ranges = (:) for (range-span, range-data) in data.ranges { let (start, ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-13.typ
typst
Other
// Test the `push` and `pop` methods. #{ let tasks = (a: (1, 2, 3), b: (4, 5, 6)) test(tasks.at("a").pop(), 3) tasks.b.push(7) test(tasks.a, (1, 2)) test(tasks.at("b"), (4, 5, 6, 7)) }
https://github.com/Flower101010/Typst_template
https://raw.githubusercontent.com/Flower101010/Typst_template/main/template.typ
typst
#import "@preview/ctheorems:1.1.2": * #let conf( title: [], institute: [], auther: [], class: [], doc, ) = [ #show: thmrules.with(qed-symbol: $square$) #set heading(numbering: "A.1.") #set text(font: "Source Serif Pro", lang: "zh", region: "cn") #set page( header: context { if counter(page)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1400.typ
typst
Apache License 2.0
#let data = ( ("CANADIAN SYLLABICS HYPHEN", "Pd", 0), ("CANADIAN SYLLABICS E", "Lo", 0), ("CANADIAN SYLLABICS AAI", "Lo", 0), ("CANADIAN SYLLABICS I", "Lo", 0), ("CANADIAN SYLLABICS II", "Lo", 0), ("CANADIAN SYLLABICS O", "Lo", 0), ("CANADIAN SYLLABICS OO", "Lo", 0), ("CANADIAN SYLLABICS Y-CREE OO", "Lo...
https://github.com/rem3-1415926/Typst_Thesis_Template
https://raw.githubusercontent.com/rem3-1415926/Typst_Thesis_Template/main/sec/authorship.typ
typst
MIT License
= Declaration of Authorship *Explanation* I hereby certify that the thesis I am submitting is entirely my own original work except where otherwise indicated. I am aware of the University's regulations concerning plagiarism, including those regulations concerning disciplinary actions that may result from plag...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/163.%20ronco.html.typ
typst
ronco.html The Ronco Principle January 2015No one, VC or angel, has invested in more of the top startups than <NAME>. He knows what happened in every deal in the Valley, half the time because he arranged it.And yet he's a super nice guy. In fact, nice is not the word. Ronco is good. I know of zero instances in which...
https://github.com/jpssrocha/templates
https://raw.githubusercontent.com/jpssrocha/templates/main/README.md
markdown
MIT License
# templates My templates for writing in markup languages (mainly typst nowadays). Feel free to copy them!
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/exers/9.typ
typst
#import "../cfg.typ": * #show: cfg $ "Prove that" lim_(x -> x') log_a x = log_a x' $ $abs(log_a x' - log_a x) < epsilon <-> abs(log_a x/x') < log_a a^epsilon$ - $0 < a < 1$ $abs(log_a x/x') < log_a a^epsilon <-> a^epsilon < abs(x/x') <-> a^epsilon abs(x') < abs(x)$ - $1 < a$ $abs(log_a x/x') < log_a a^epsi...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/start.md
markdown
--- sidebar_position: 2 --- # Getting Started Before you begin, make sure you have installed the Typst environment. If not, you can use the [Web App](https://typst.app/) or the Typst LSP and Typst Preview plugins for VS Code. To use Touying, you only need to include the following code in your document: ```typst #im...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/custom-heading.typ
typst
MIT License
// 展示一个标题 #let heading-display(it) = { if it != none { if it.has("numbering") and it.numbering != none { numbering(it.numbering, ..counter(heading).at(it.location())) [ ] } it.body } else { "" } } // 获取当前激活的 heading,参数 prev 用于标志优先使用之前页面的 heading #let active-heading(level: 1, prev: tru...
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/moderncv.typst/example.typ
typst
#import "moderncv.typ": * #show: project.with( title: "Master Frobnicator", author: "<NAME>", github: "johndoe1337", phone: "+01 234 56 7890", email: "<EMAIL>" ) = Education #cventry( start: (month: "October", year: 2100), end: (month: "October", year: 2101), role: [Frobnication Engineering], place...
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/Linux.typ
typst
= Linux - Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和Unix的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的Unix工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系统。 == Control Key ``` [CTRL]U cancel line [CTRL]C cancel operation [CTRL]S pause display [CTRL]Q restart display [CTRL]A ...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/src/decorations.typ
typst
MIT License
#import "gates.typ": * // align: "left" (for rstick) or "right" (for lstick) // brace: auto, none, "{", "}", "|", "[", ... #let lrstick(content, n, align, brace, label, pad: 0pt, x: auto, y: auto) = gate( content, x: x, y: y, draw-function: draw-functions.draw-lrstick, size-hint: layout.lrstick-size-hint...
https://github.com/Mufanc/hnuslides-typst
https://raw.githubusercontent.com/Mufanc/hnuslides-typst/master/main.typ
typst
#import "/configs.typ" #import "/utils/colors.typ" // - 全局样式 - // // 页面设置 #set page(width: configs.slide.width, height: configs.slide.height) #set page(margin: configs.slide.margin) // 页面背景 #set page(background: box( width: configs.slide.width, height: configs.slide.height, fill: pattern(image("/assets...
https://github.com/barddust/Kuafu
https://raw.githubusercontent.com/barddust/Kuafu/main/src/BeforeMathematics/proof.typ
typst
#import "/mathenv.typ": * = Proofs Here introduces three methods for mathematical proofs: direct proof, proof by contradiction, and mathematical induction. == Direct Proof The basic form of proof is $ A => B $ , which proves the proposition from premises directly. This is the most common method of proving, which...
https://github.com/xsro/xsro.github.io
https://raw.githubusercontent.com/xsro/xsro.github.io/zola/typst/nlct/math/diffgeo.typ
typst
#import "common.typ":theorem,definition = Differentiable Manifold == Structure of Manifolds #definition[ Let $(M,cal(T))$ be a second coutable, $T_2$(Hausdorff) topological space. $M$ is called an $n$ dimensional topological manifold if there exists a subset $cal(A)={A_lambda | lambda in Lambda} subset ca...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fletcher/0.4.0/README.md
markdown
Apache License 2.0
# Fletcher [![Manual](https://img.shields.io/badge/docs-manual.pdf-green)](https://github.com/Jollywatt/typst-fletcher/raw/master/docs/manual.pdf) ![Version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fgithub.com%2FJollywatt%2Farrow-diagrams%2Fraw%2Fmaster%2Ftypst.toml&query=package.version&label=versi...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/mantys/0.1.1/src/theme.typ
typst
Apache License 2.0
#let page = ( paper: "a4", margin: auto ) #let fonts = ( serif: ("Linux Libertine", "Liberation Serif"), sans: ("Liberation Sans", "Helvetica Neue", "Helvetica"), mono: ("Liberation Mono"), text: ("Linux Libertine", "Liberation Serif"), headings: ("Liberation Sans", "Helvetica Neue", "Helvetica"), co...
https://github.com/edgarogh/f4f1eb
https://raw.githubusercontent.com/edgarogh/f4f1eb/main/template.typ
typst
#let title_size = 44pt #let project( background: rgb("f4f1eb"), title: "", from_details: none, to_details: none, margin: 2.1cm, vertical_center_level: 2, body ) = { set page(fill: background, margin: margin) set text(font: ("HK Grotesk", "Hanken Grotesk")) let body = [ #set text(size: 11pt, we...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/optimal-ovgu-thesis/0.1.0/disclaimer.typ
typst
Apache License 2.0
#import "components.typ": sans-font, variable-pagebreak #let oot-disclaimer( title: "", international-title: "", author: none, city: " ", is-doublesided: none, lang: "en", ) = { let heading = "Statement of authorship of the student" if (lang == "de") { heading = "Selbstständigkei...
https://github.com/simon-epfl/notes-ba3-simon
https://raw.githubusercontent.com/simon-epfl/notes-ba3-simon/main/softcon/notes.typ
typst
== Week 1 Call by value first resolves the "values" before calling the function, while call by name first calls the function, gets the results and then resolves them. == Week 2 === Take a function as a parameter: ```scala def sum(f: Int => Int, a: Int, b: Int): Int = if a > b then 0 else f(a) + sum(f, a + 1, b)...
https://github.com/davidcarayon/cv-typst
https://raw.githubusercontent.com/davidcarayon/cv-typst/main/cv-eng.typ
typst
#import "@preview/modern-cv:0.3.1": * #show: resume.with( author: ( firstname: "David", lastname: "CARAYON", email: "<EMAIL>", phone: "(+33) 6 64 66 90 60", website: "https://dcarayon.fr", github: "davidcarayon", linkedin: "david-carayon", address: "8 Lotissement L'entrada 33650 CABAN...
https://github.com/bcourtel/cv
https://raw.githubusercontent.com/bcourtel/cv/main/cv.fr.typ
typst
MIT License
#import "./modern-cv/lib.typ": * #show: resume.with( author: ( firstname: "Benjamin", lastname: "Courtel", email: "<EMAIL>", phone: "(+33) 06 60 31 15 07", github: "bcourtel", linkedin: "bcourtel", address: "", positions: ("Développeur web front-end et back-end", "PHP / TypeScript"), ), date: datetim...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/notice.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/heading.typ": chapter #import "/template/util.typ" #import "/template/components.typ": note #show: web-page-template #show: doc => if util.is-web-target() { doc } #chapter[ 在线阅读说明 ] 本书是 <NAME> 编写的《#link("https://simoncozens.github.io/fonts-and...
https://github.com/AsiSkarp/grotesk-cv
https://raw.githubusercontent.com/AsiSkarp/grotesk-cv/main/src/template/content/personal.typ
typst
The Unlicense
#let meta = toml("../info.toml") #import "@preview/fontawesome:0.4.0": * #let icon = meta.section.icon.personal #let language = meta.personal.language #let include-icon = meta.personal.include_icons = #if include-icon [#fa-icon(icon) #h(5pt)] #if language == "en" [Personality] else if language == "es" [Personalidad]...
https://github.com/han0126/MCM-test
https://raw.githubusercontent.com/han0126/MCM-test/main/2024校赛typst/main.typ
typst
#import "template/template.typ": * #import "template/template.typ": template as CUMCM #show: CUMCM.with( abstract: [ 在大学时代,积极参与学科竞赛对大学生的发展具有多重意义。首先,竞赛是一种全面发展和自我实现的重要途径,可以提升学生的学业成绩和人格魅力。其次,通过竞赛,学生能够在学术上和专业领域取得优异成绩,为未来的发展奠定坚实的基础。最后,对于大学生而言,慎重地选择参加何种竞赛也是十分重要的,因为不同竞赛会给予不同的锻炼和机会,需要根据自身情况和发展目标进行选择。因此,对大学生各种竞赛赛事的评...
https://github.com/JamesWilmot/cheatsheets
https://raw.githubusercontent.com/JamesWilmot/cheatsheets/main/README.md
markdown
# cheatsheets ```bash typst init @preview/cram-snap tmux ```
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue43.typ
typst
Other
<foo:bar> #let a = "a" #let w = x => $x$ + x #let x = `hello` #let a = (a:1) #let b = (:b:2) #let c = ( : c : 3) #let d = (:..a) #let e = ( : ..b) #let f = (:)
https://github.com/sebaseb98/clean-math-thesis
https://raw.githubusercontent.com/sebaseb98/clean-math-thesis/main/chapter/appendix.typ
typst
MIT License
#set heading(numbering: none) // Heading numbering = Appendix<chap:Appendix> #counter(heading).update(1) #set heading(numbering: "A.1", supplement: [Appendix]) // Defines Appendix numbering == Notation<sec:notation> #table( columns: 2, column-gutter: 3em, stroke: none, [$C_0$], [functions with compact suppo...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/grundpositionen/selbstverstaendnis.typ
typst
Other
#import "/src/template.typ": * == #ix("Selbstverständnis der Philosophie") #orange-list-with-body()[#ix(strong[esoterisches Selbstverständnis], "Selbstverständnis, esoterisch") #h(1fr) #ix("Heraklit"), #ix("Nietzsche", "<NAME>.")][ Das #ix("esoterische Selbstverständnis", "Selbstverständnis, esoterisch") der Phil...
https://github.com/SkytAsul/fletchart
https://raw.githubusercontent.com/SkytAsul/fletchart/main/src/elements.typ
typst
#import "internals.typ": internal-element, internal-link #import "utils.typ": cetz-rect-double #import "deps.typ": fletcher #import fletcher.shapes: diamond, pill, rect, parallelogram #let decision = (name: "decision", node-options: (shape: diamond.with(fit: 0), fill: color.orange.desaturate(50%))) #let beginning = (n...
https://github.com/ohmycloud/computer-science-notes
https://raw.githubusercontent.com/ohmycloud/computer-science-notes/main/Misc/miniserve.typ
typst
#show link: underline = 本地/内网文件共享服务搭建方法 1. 下载 #link("https://github.com/svenstaro/miniserve")[miniserve] 到 /usr/local/bin 目录。 2. 创建系统服务。 在 /etc/systemd/system 目录下新建一个名为 miniserve.service 的文件, 内容如下: ```sh [Unit] Description=miniserve After=network-online.target Wants=network-online.target systemd-networkd-wait-onlin...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/lib/blocks.typ
typst
MIT License
#import "catppuccin.typ": * #let std-block = block.with( fill: catppuccin.latte.base, radius: 1em, inset: 0.75em, stroke: none, width: 100%, breakable: true, ) #let cut-block = block.with( fill: none, radius: 1em, stroke: none, breakable: true, clip: true, ) #let blocked(title: none, content, c...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch06-men.typ
typst
MIT License
#import "../functions.typ": heading_center, images, italic #let finchapiter = text(size: 24pt, fill:rgb("#1E045B"),[■]) /* * * MEN BOOK 05 * */ = DETECTING LUNG CANCER NODULES. == Introduction. The project is to create a detector for lung cancer, and based on the *LUNA dataset* #link("https://luna16.grand-cha...
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/src/lib.typ
typst
MIT License
#import "/src/core.typ" #import "/src/util.typ" #import "/src/selectors.typ" /// An anchor used to search from. When using `hydra` ouside of the page header, this should be /// placed inside the pge header to find the correct searching context. `hydra` always searches from /// the last anchor it finds, if and only if ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/indenta/0.0.2/lib.typ
typst
Apache License 2.0
#let fix-indent(unsafe: false)={ return it=>{ let st=0 let _is_block(e,fn)=fn==heading or (fn==math.equation and e.block) or (fn==raw and e.block) or fn==figure or fn==block or fn==list.item or fn==enum.item or fn==table or fn==grid or fn==align let _is_inline(e,fn)=fn==text or fn==box or (fn==math.equation and...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-38.typ
typst
Other
// Error: 4 expected closing paren #{(} // Error: 3-4 unexpected closing paren #{)} // Error: 4-6 unexpected end of block comment #(1*/2) // Error: 6-8 invalid number suffix: u #(1, 1u 2) // Error: 3-4 unexpected comma #(,1) // Missing expression makes named pair incomplete, making this an empty array. // Error: 5...
https://github.com/derekchai/k-mapper
https://raw.githubusercontent.com/derekchai/k-mapper/main/manual.typ
typst
MIT License
// Copyright 2024 <NAME>. // Use of this code is governed by a MIT license in the LICENSE.txt file. #import "lib.typ": * #let version = "1.1.0" #let conf(title, doc) = { set page( paper: "us-letter", header: align( right + horizon, title ), numbering: "1", // margin: (1.5in) ) s...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/astro.typ
typst
#import "/components/glossary.typ": gls == Astro <sec-astro> Astro is a relatively new web framework that has gained popularity due to its focus on performance, flexibility, and developer experience. We will explore the key features, benefits, and challenges of using Astro for building modern web applications. Astro...
https://github.com/NwaitDev/Typst-Accessibility-Template
https://raw.githubusercontent.com/NwaitDev/Typst-Accessibility-Template/main/article_example.typ
typst
#import "article_template.typ": article_template #import "Components/authors.typ": author #let abstractofthearticle = lorem(59) #show: doc => article_template( title: [A title for this example article], subtitle:[And its associated very long subtitle that describes the subject way too precisely compared to the na...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/import-21.typ
typst
Other
// Error: 2:2 expected semicolon or line break #import "module.typ "stuff
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/par-bidi.typ
typst
Apache License 2.0
// Test bidirectional text and language configuration. --- // Test reordering with different top-level paragraph directions. #let content = par[Text טֶקסט] #text(lang: "he", content) #text(lang: "de", content) --- // Test that consecutive, embedded LTR runs stay LTR. // Here, we have two runs: "A" and italic "B". #l...
https://github.com/El-Naizin/cv
https://raw.githubusercontent.com/El-Naizin/cv/main/modules/professional.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Professional Experience") #cvEntry( title: [Director of Data Science], society: [XYZ Corporation], logo: "../src/logos/xyz_corp.png", date: [2020 - Present], location: [San Francisco, CA], description: list( [Lead a team of data scien...
https://github.com/bpkleer/typst-academicons
https://raw.githubusercontent.com/bpkleer/typst-academicons/main/lib-impl.typ
typst
MIT License
/// Render a Font Awesome icon by its name or unicode /// /// Parameters: /// - `name`: The name of the icon /// - This can be name in string or unicode of the icon /// - `solid`: Whether to use the solid version of the icon /// - `fa-icon-map`: The map of icon names to unicode /// - Default is a map generated from...
https://github.com/voidiz/typst-liuthesis
https://raw.githubusercontent.com/voidiz/typst-liuthesis/master/README.md
markdown
MIT License
# typst-liuthesis A [Typst](https://typst.app/) template for writing a bachelor's or master's thesis at Linköping University (LiU). Based on [liuthesis](https://gitlab.liu.se/olale55/liuthesis), and specifically `demo_student_thesis.tex`. I made this for my master's thesis, so it does not support all features of `liu...
https://github.com/dalon-work/aoc2023
https://raw.githubusercontent.com/dalon-work/aoc2023/master/aoc.typ
typst
#let day7() = { [= Day 7] let base13 = "23456789TJQKA" let convert_cc(string) = { let rev_string = string.rev() let count = (0,0,0,0,0,0,0,0,0,0,0,0,0) let decimal = 0 let c = 1 for s in rev_string { let p = base13.position(s) [ p ] count.at(p) += 1 let b13 = c *...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/211.%20users.html.typ
typst
users.html What I've Learned from Users September 2022I recently told applicants to Y Combinator that the best advice I could give for getting in, per word, was Explain what you've learned from users. That tests a lot of things: whether you're paying attention to users, how well you understand them, and even how ...
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/math/series.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} _"A generating function is a clothesline on which we hang up a sequence of numbers for display."_ #align(right, "- <NAME>") Si $u in AA^NN$ est une suite à valeurs dan...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/WS-10.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [孙颖莎], [CHN], [3413], [2], [陈梦], [CHN], [3405], [3], [朱雨玲], [MAC], [3360], [4], [刘诗雯], [CHN], [3350], [5], [丁宁], [CHN], [3272], ...
https://github.com/kotfind/typst_task
https://raw.githubusercontent.com/kotfind/typst_task/master/example/first_tour.typ
typst
#import "../task.typ": tour, task #show: tour.with( title: [First Tour] ) #task[Task A][ Condition A ][ Solution A Answer. A 42 ] #task[Task B][ Condition B ][ Solution B Answer. B 42 ]
https://github.com/sses7757/sustech-graduated-thesis
https://raw.githubusercontent.com/sses7757/sustech-graduated-thesis/main/sustech-graduated-thesis/pages/decl-page.typ
typst
Apache License 2.0
#import "../utils/indent.typ": indent #import "../utils/style.typ": 字号, 字体 // 研究生声明页 #let decl-page( anonymous: false, twoside: false, fonts: (:), ) = { // 0. 如果需要匿名则短路返回 if anonymous { return } // 1. 默认参数 fonts = 字体 + fonts // 2. 正式渲染 pagebreak(weak: true, to: if twoside { "odd" }) v(25pt) align( ...
https://github.com/renyelin/-.zip
https://raw.githubusercontent.com/renyelin/-.zip/main/msc-tech%26algo.typ
typst
#align(center)[技术部纳新模拟] @picc 请先看看兔头 #figure( image("./纳新图/兔头.jpg",height: 40%), caption: [ 关注月之美兔谢谢喵 ], numbering: "1", )<picc> == 基础题 #show link:underline #block( fill: gray, width: 100%, inset: 5pt, outset: 5pt, radius: 4pt )[ + 先自我介绍一下吧(性别(option...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/a2c-nums/0.0.1/src/lib.typ
typst
Apache License 2.0
// Convert an int to Chinese number, for ex: 2024 become "二〇二四" #let int-to-cn-simple-num(n) = { let digits = ("〇", "一", "二", "三", "四", "五", "六", "七", "八", "九") let s = str(n) let result = "" for c in s.codepoints() { result += digits.at(int(c)) } return result } // Convert an int string to Chinese num...
https://github.com/saurabtharu/Internship-repo
https://raw.githubusercontent.com/saurabtharu/Internship-repo/main/Internship%20Report%20-%20typst/chapters/00-cert-ack-abhijeet.typ
typst
= MENTOR'S RECOMMENDATION \ #text(12pt)[ /* This is to recommend that *Mr. <NAME>* has carried out the internship project entitled “An Internship report on *DevOps Engineer at F1Soft Pvt. Ltd*.” for the fulfillment of the requirement of the Bachelor’s degree of Computer Science and Information Technology(BSc. CSIT)...
https://github.com/HPDell/typst-cineca
https://raw.githubusercontent.com/HPDell/typst-cineca/main/util/utils.typ
typst
MIT License
#let minutes-to-datetime(minutes) = { let h = calc.trunc(minutes / 60) let m = int(calc.round(calc.fract(minutes / 60) * 60)) return datetime(hour: h, minute: m, second: 0) } #let events-to-calendar-items(events, start) = { let dict = (:) for value in events { if value.len() < 4 { continue } ...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/type-theory/theory-exercises/exercises/extra.typ
typst
#import "/common.typ": * #exercise( section: (num: "5", title: "How to translate predicative logic with equality into type theory"), ex: 15, solution: false, [Show that by using the *Propositional Equality with Path Induction*, for any type $A$ and $a in A$, there exists a proof-term #q $ #q in sum(z in sum(...
https://github.com/galaxia4Eva/galaxia4Eva
https://raw.githubusercontent.com/galaxia4Eva/galaxia4Eva/main/essays/nuclear-ethics-essay.typ
typst
#set text(font: "Mariupol", weight: "light", size:11pt) #set par(justify: true) #show heading: set text(font: "Arsenal", weight: "bold") #show heading: set par(justify: false) = An essay on an assumed ethics of a nuke. == There is no amount of words that would justify burning millions of people alive. #v(0.65em) #par[ ...
https://github.com/GeorgeDong32/GD-Typst-Templates
https://raw.githubusercontent.com/GeorgeDong32/GD-Typst-Templates/main/functions/dirac.typ
typst
Apache License 2.0
#let ket(body) = $|#body angle.r$ #let bar(body) = $angle.l#body|$ #let barket(left, right) = $angle.l#left|#right angle.r$ #let ketbar(left, right) = $|#left angle.r angle.l #right|$
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/076.%20equity.html.typ
typst
equity.html The Equity Equation July 2007An investor wants to give you money for a certain percentage of your startup. Should you take it? You're about to hire your first employee. How much stock should you give him?These are some of the hardest questions founders face. And yet both have the same answer:1/(1 - n)W...
https://github.com/CaldeCrack/Typst-Templates
https://raw.githubusercontent.com/CaldeCrack/Typst-Templates/main/modules.typ
typst
// Import modules into a single file #import "modules/auto_table.typ": * #import "modules/auto_rect.typ": *
https://github.com/gianzamboni/cancionero
https://raw.githubusercontent.com/gianzamboni/cancionero/main/wip/actos-fallidos.typ
typst
#import "../theme.typ": *; == Actos Fallidos === Sol Pereyra Primero me corté las venas \ después me disparé. \ Más tarde me subí a un techo \ y desde arriba me tiré. \ Seguí en busca de una soga \ y en el cuello me la até. \ Después pasó un colectivo \ y abajo me le tiré. #newVerse Ya no sé que pasa \ si algo fall...
https://github.com/rhedgeco/resume
https://raw.githubusercontent.com/rhedgeco/resume/main/template.typ
typst
#let default-primary-color = rgb("#fca854") #let default-secondary-color = rgb("#5bd8c3") // define default themes #let light-theme( primary: default-primary-color, secondary: default-secondary-color, ) = { ( text-color: rgb("#303030"), stroke-color: rgb("#d1d9e0"), background-color: rgb("#ffffff"), ...