repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/dyc3/senior-design
https://raw.githubusercontent.com/dyc3/senior-design/main/harness-tests.typ
typst
= Test Harness Tests In this section, tests used to test the harness will be outlined. === Test: Malformed WebSocket Connection Does Not Crash Balancer Scenario: A client with an incorrectly formatted header connects through the load balancer to OTT. WebSocket protocol dictates this should crash whatever is currentl...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/015_New%20Capenna%3A%20The%20Fall%20of%20Park%20Heights.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "New Capenna: The Fall of Park Heights", set_name: "March of the Machine", story_date: datetime(day: 27, month: 04, year: 2023), author: "<NAME>", doc ) #emph[Flowers hung from the ceiling, strung like chandeliers, perfuming the room with th...
https://github.com/rijuyuezhu/latex-typst-template
https://raw.githubusercontent.com/rijuyuezhu/latex-typst-template/main/pre-typst-simple/main.typ
typst
#import "@preview/touying:0.4.2": * #let s = themes.simple.register(aspect-ratio: "16-9", footer: [Simple slides]) #let (init, slides) = utils.methods(s) #show: init #set text(font: ("Arial", "SimHei"), size: 24pt) #let (slide, empty-slide, title-slide, centered-slide, focus-slide) = utils.slides(s) #show: slides #...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/002%20-%20Return%20to%20Ravnica/001_The%20Shadows%20of%20Prahv%2C%20Part%201.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Shadows of Prahv, Part 1", set_name: "Return to Ravnica", story_date: datetime(day: 29, month: 08, year: 2012), author: "<NAME>", doc ) #emph[Author's Note: Hey, it's Jenna. We'll be doing another Planeswalker's Guide next week. Today, ...
https://github.com/EpicEricEE/typst-droplet
https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/assets/example.typ
typst
MIT License
#import "../src/lib.typ": dropcap #set par(justify: true) #set text(size: 14pt) #set page( width: 11cm + 16pt, height: auto, margin: (x: 1em + 8pt, y: 1em), fill: none, background: pad(0.5pt, box( width: 100%, height: 100%, radius: 4pt, fill: white, stroke: white.darken(10%), )), ) #dr...
https://github.com/MobtgZhang/sues-thesis-typst
https://raw.githubusercontent.com/MobtgZhang/sues-thesis-typst/main/paper/covers/cover.typ
typst
MIT License
#import "../info.typ":* #import "../thesis.typ": fontstypedict,fontsizedict,linespacing,blind_state,autoFakeBold_pt #set align(center + top) #[ #set text(font:fontstypedict.宋体,weight: "semibold",size:fontsizedict.四号) #table( stroke:none, align: (right,left,center,right,left), columns: (auto,50pt,160pt,a...
https://github.com/HenkKalkwater/aoc-2023
https://raw.githubusercontent.com/HenkKalkwater/aoc-2023/master/test.typ
typst
#import "aoc.typ" #show: aoc.template.with( title: "Advent of Code 2023 (single part version)" ) #let year = 2023 #let day = 4 #let part = 2 #let test = false #let visualise = true #let input = "parts/day-" + str(day) + "-input" #if test { input += "-test" } #let input = input + ".txt"; // Content This file is ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/regression/issue23.typ
typst
Other
#let fn() = { set text(fill: red) if true [ test ] else [ test2 ] } #fn()
https://github.com/Wh4rp/Presentacion-Typst
https://raw.githubusercontent.com/Wh4rp/Presentacion-Typst/master/ejemplos/1_modo-markup.typ
typst
= Este es un título Hola, este es un párrafo normal. - item 1 - item 2 + subitem 1 + subitem 2 == Subtítulo Letras en _cursiva_ y *negrita*.
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/026%20-%20Eldritch%20Moon/006_Saint%20Traft%20and%20the%20Flight%20of%20Nightmares.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Saint Traft and the Flight of Nightmares", set_name: "Eldritch Moon", story_date: datetime(day: 13, month: 07, year: 2016), author: "<NAME>", doc ) #emph[When last we saw Thalia, Odric, and Grete, they had fled the evil lurking in the Lunar...
https://github.com/mielpeeters/pitcher
https://raw.githubusercontent.com/mielpeeters/pitcher/main/0.1.0/examples/slides.typ
typst
#import "@preview/pitcher:0.1.0": * #let style = define_style(color: rgb("#3271a8"), font: "IBM Plex Sans") #show: slides.with( title: "Pitcher Slides", description: "simple and modern", authors: "<NAME>", style: style, title_color: true, ) #new_slide() #outline() #new_slide() = My First Pitcher Slide #...
https://github.com/42CrMo4/InvLabel
https://raw.githubusercontent.com/42CrMo4/InvLabel/main/README.md
markdown
MIT License
# InvLabel Label printing and design with Typst and local or wireless printing with Brother_QL. ## Overview This project is designed to streamline the process of generating labels for inventory items stored in an InvenTree database. It utilizes the InvenTree API to retrieve information about parts or stock items and...
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/ebook.typ
typst
Apache License 2.0
#import "@preview/shiroa:0.1.1": * #import "/typ/templates/ebook.typ" #show: ebook.project.with( title: "typst-tutorial-cn", display-title: "Typst中文教程", spec: "book.typ", // set a resolver for inclusion styles: ( inc: it => include it, ), )
https://github.com/peterw16/da_typst_vorlage
https://raw.githubusercontent.com/peterw16/da_typst_vorlage/main/template/pages/deckblatt.typ
typst
#let deckblatt(title, aufgabenstellungen) = [ #let t20(body) = { text(size: 20pt, body) } #v(20pt) #[ #set text(size: 20pt) #set align(center) DIPLOMARBEIT ] #v(40pt) #set text(size: 12pt) #set align(center) Gesamtprojekt #text(size: 17pt)[#title] // v = vertical space #v(20pt) // pad, padding nur v...
https://github.com/ecomaikgolf/tinymist-copr
https://raw.githubusercontent.com/ecomaikgolf/tinymist-copr/master/README.md
markdown
# tinymist ## Description Tinymist is an integrated language service for Typst. No downstream patches, built with `yarn && yarn build:preview; cargo build --release --all-features --locked`, respecting upstream Cargo.lock ## Installation Instructions ``` dnf copr enable ecomaikgolf/typst dnf install tinymist ``` ...
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/masterproef/elems/template.typ
typst
#set page(paper: "a4") #import "tablex.typ": * #import "colors.typ": * #let mode = "print" #let font_size = 11pt #let section = state("section", "preface") #let raw_offset(offset) = { state("raw_offset", 0).update(offset) } // The project function defines how your document looks. // It takes your co...
https://github.com/0x546974616e/typst-resume
https://raw.githubusercontent.com/0x546974616e/typst-resume/main/template/layout.typ
typst
#import "./globals.typ": colors, spacing, column-size #let left-panel(content) = { // 1 // |\ // | \ // | \2 // | | // | | // 4---3 polygon( fill: colors.bg2, (0pt, 0pt), (column-size, column-size), (column-size, 100%), (0pt, 100%), ) // polygon place( dy: -100%, t...
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/复习/temple/main.typ
typst
#import "template.typ": * #let data=yaml("./data.yaml") #import "@preview/tablex:0.0.8": tablex, rowspanx, #show: doc => conf( linespacing: 1em, outlinedepth: 3, blind: false, listofimage: true, listoftable: true, listofcode: true, alwaysstartodd: true, doc ) #import "@preview/color...
https://github.com/Wh4rp/Presentacion-Typst
https://raw.githubusercontent.com/Wh4rp/Presentacion-Typst/master/main.typ
typst
#import "modulos/slides.typ": * #import "modulos/preview-block.typ": * #import "modulos/tablex.typ": * // Preambulo #show "Typst": box[#box(baseline: 0.3em, image("src/typst.svg", height: 0.9em))] #show "LaTeX": box[#box(baseline: 0.31em, image("src/latex.svg", height: 1.1em))] #show link: it => [ #set text(blue) ...
https://github.com/Functional-Bus-Description-Language/Specification
https://raw.githubusercontent.com/Functional-Bus-Description-Language/Specification/master/src/functionalities/functionalities.typ
typst
#pagebreak() = Functionalities Functionalities are the core part of the FBDL. They define the capabilities of the provider. Each functionality is distinct and unambiguously defines the provider behavior and the interface that must be generated for the requester. There are following 14 functionalities: + blackbox, + b...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/book.typ
typst
Other
#import "@preview/book:0.2.5": book, book-meta, chapter, target, is-pdf-target #import "/template/consts.typ" #import "/lib/glossary.typ": tr #show: book #let summary = [ - #chapter("notice.typ", section: none)[在线阅读说明] - #chapter("cover.typ", section: none)[封面] - #chapter("chapters/01-history/history.typ")[字体简...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/math/style.typ
typst
// Test text styling in math. --- math-style-italic-default --- // Test italic defaults. $a, A, delta, ϵ, diff, Delta, ϴ$ --- math-style --- // Test forcing a specific style. $A, italic(A), upright(A), bold(A), bold(upright(A)), \ serif(A), sans(A), cal(A), frak(A), mono(A), bb(A), \ italic(diff), upright(diff), \ ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/inline/shaping.typ
typst
// Test shaping quirks. --- shaping-script-separation --- // Test separation by script. #set text(font: ("Libertinus Serif", "IBM Plex Sans Devanagari")) ABCअपार्टमेंट // This is how it should look like. अपार्टमेंट // This (without the spaces) is how it would look // if we didn't separate by script. अ पा र् ट में ट ...
https://github.com/Az-21/typst-components
https://raw.githubusercontent.com/Az-21/typst-components/main/style/1.0.0/Components/hyperlink.typ
typst
Creative Commons Zero v1.0 Universal
#import "../dependencies.typ": * #import "../Colors/m3.typ": * #let m3 = material3.blue.light #let boxed-link( url, display: "", background: m3.primaryContainer, foreground: m3.onPrimaryContainer, width: 100%, ) = { set text(fill: foreground) set align(center) box(fill: background, width: width, inset:...
https://github.com/hei-templates/hevs-typsttemplate-thesis
https://raw.githubusercontent.com/hei-templates/hevs-typsttemplate-thesis/main/02-main/07-conclusion.typ
typst
MIT License
#pagebreak() = Conclusion <sec:conclusion> == Project summary #lorem(50) == Comparison with the initial objectives #lorem(50) == Encountered difficulties #lorem(50) == Future perspectives #lorem(50)
https://github.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper
https://raw.githubusercontent.com/BeiyanYunyi/Architectural-Technology-and-Art-Paper/main/nju-thesis/utils/indent.typ
typst
MIT License
// 中文缩进 #let indent = h(2em) // 假段落,附着于 heading 之后可以实现首行缩进 #let fake-par = { v(-1em) box() }
https://github.com/Canadauni/typst-static-dashboard
https://raw.githubusercontent.com/Canadauni/typst-static-dashboard/main/README.md
markdown
# Typst_static_dashboard Format requires quarto 1.5+ ## Installing ```bash quarto use template Canadauni/typst_static_dashboard ``` This will install the format extension and create an example qmd file that you can use as a starting place for your document. ## Using This is essentially a static dashboard format a...
https://github.com/alerque/polytype
https://raw.githubusercontent.com/alerque/polytype/master/content/dropcaps.md
markdown
+++ title = "Dropcaps" description = "For that bold leading character" extra.typesetters = [ "sile", "typst", "xelatex", "groff" ] +++ Once upon a time in a far away land all chapters began with these.
https://github.com/swablab/documents
https://raw.githubusercontent.com/swablab/documents/main/mitgliedsantrag.typ
typst
Creative Commons Zero v1.0 Universal
#import "templates/tmpl_page.typ": tmpl_page #import "templates/form.typ": form, form_field, form_inline #show: doc => tmpl_page( title: "Mitgliedsantrag", version: "v2.0", change_date: "16.10.2024", subtext: [ Hiermit trete ich zum #form_inline(width: 10em), dem swablab e.V. als Mitglied bei und erkenne d...
https://github.com/FuryMartin/I-QinShiHuang-Money
https://raw.githubusercontent.com/FuryMartin/I-QinShiHuang-Money/master/main.typ
typst
Creative Commons Zero v1.0 Universal
#set text(font: "三极小篆简") #import "src/lib.typ": invoice #let data = json("data.json") #show: invoice( title: "始皇帝", vice-title: "六国统一经费收据", recipient: data.recipient, items: data.items, pay: data.pay, invoice-date: "始皇帝十七年", thanks: "寡人谢诸君助力\n扫六合而统华夏", signature: image("./assets/传国玉玺.png", width: 5em...
https://github.com/TechnoElf/mqt-qcec-diff-thesis
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-thesis/main/template/conf.typ
typst
#import "cover.typ": cover_page #import "title.typ": title_page #import "contents.typ": contents_page #let conf( title: "", author: "", chair: "", school: "", degree: "", examiner: "", supervisor: "", submitted: "", doc ) = { cover_page( title: title, author: author, chair: chair, s...
https://github.com/zyf722/typst-tabler-icons
https://raw.githubusercontent.com/zyf722/typst-tabler-icons/main/gallery/gallery.typ
typst
MIT License
// Generated based on Tabler Icons v3.20.0 #import "../src/lib.typ": * #table( columns: 6, stroke: none, figure([#ti-a-b(size: 2em)], caption: [`\u{ec36}` \ #text([`a-b` \ ```typst #ti-a-b()```], size: 0.75em)], supplement: none), figure([#ti-a-b-2(size: 2em)], caption: [`\u{f25f}` \ #text([`a-b-2` \ ```typst...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/metro/0.1.0/src/lib.typ
typst
Apache License 2.0
#import "defs/units.typ" #import "defs/prefixes.typ" #import "metro.typ": num, unit, qty, metro-setup, declare-unit, declare-prefix, create-prefix, declare-power, declare-qualifier, metro-reset
https://github.com/cardano-miners/papers
https://raw.githubusercontent.com/cardano-miners/papers/main/src/fortuna.typ
typst
#import "@preview/unequivocal-ams:0.1.0": ams-article, theorem, proof #import "templates/transaction.typ": * #let miner_input = ( name: "CDP Params", address: "Synthetics Script", reference: true, value: ( p_Synthetic: "1", ), datum: ( collateral_assets: [AssetClass...
https://github.com/danjl1100/typst-dnd-5e
https://raw.githubusercontent.com/danjl1100/typst-dnd-5e/main/README.md
markdown
## WIP Goal: template for character sheets in DND 5e, using typst
https://github.com/davidcarayon/cv-typst
https://raw.githubusercontent.com/davidcarayon/cv-typst/main/README.md
markdown
# CV Both versions were made using the `moderncv` [Typst template](https://typst.app/universe/package/modern-cv/) adapted to Quarto. - :fr: French version : https://github.com/davidcarayon/cv-typst/blob/main/cv-fr.pdf - :gb: English version : https://github.com/davidcarayon/cv-typst/blob/main/cv-eng.pdf
https://github.com/Chwiggy/thesis_bachelor
https://raw.githubusercontent.com/Chwiggy/thesis_bachelor/main/src/chapters/02_related_work.typ
typst
#import "../preamble.typ": * #set math.equation(numbering: "(1)") = Related Work <related> In the following section I will explore, the aspects of this work already discussed in the literature at the intersection of transit accessibility and transit network analysis. This overview is necessarily incomplete, and in the...
https://github.com/jerrita/CQUPTypst
https://raw.githubusercontent.com/jerrita/CQUPTypst/master/template/template.typ
typst
#import "font.typ": * #let project( title: "", abstract: [], authors: (), date: none, logo: none, body, ) = { // Set the document's basic properties. set document(author: authors.map(a => a.name), title: title) set page(numbering: "1", number-align: center) set text(font: ("Times New Roman", "Songt...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/tequila/placement/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ" #import quill: tequila as tq #quill.quantum-circuit( 1, $X$, $Y$, quill.gate("R", x: 1, y: 1), ..tq.build( x: 2, y: 1, tq.h(0), tq.cx(0, 1), ) ) #pagebreak() #quill.quantum-circuit( quill.lstick($|0〉$, n: 3), ..tq.graph...
https://github.com/Lucascf11/PRE
https://raw.githubusercontent.com/Lucascf11/PRE/main/Avaliacoes/AV3/main.typ
typst
#import "@preview/klaro-ifsc-sj:0.1.0": report #show: doc => report( title: "Avaliação 3 de Processos Estocásticos", subtitle: "Caso contínuo: Variáveis aleatórias conjuntamente distrbuídas, distribuição condicional e covariância", // Se apenas um autor colocar , no final para indicar que é um array authors...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/haw-hamburg/0.1.0/examples/bachelor-thesis/dependencies.typ
typst
Apache License 2.0
#import "@preview/glossarium:0.4.1": make-glossary, print-glossary, gls, glspl
https://github.com/remggo/cookbook-typst
https://raw.githubusercontent.com/remggo/cookbook-typst/main/cookbook.typ
typst
MIT License
/* Helper Functions */ #let fill_image(path) = { if (path != none) { image(path, height: 100%, width: 100%) } } #let emoji_text(emoji, text) = [ #box(width: 1em)[#emoji] #text #h(0.5em) ] /// This function prints a recipe /// /// - title (content): The recipe Title /// - prep-time (content): The time it t...
https://github.com/janlauber/bachelor-thesis
https://raw.githubusercontent.com/janlauber/bachelor-thesis/main/chapters/evaluation.typ
typst
Creative Commons Zero v1.0 Universal
= Evaluation and Testing == Evaluation Criteria The evaluation of the One-Click Deployment system employs precisely defined criteria tailored to assess both system performance and user experience. These criteria ensure that results are both quantitatively measurable and qualitatively insightful, accurately reflecting...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/node-enclose/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge #diagram( node-stroke: 1pt, { node((0,0), [Hello], name: <en>) node((2,0), [Bonjour], name: <fr>) node((1,1), [Quack], name: <dk>) let a = (inset: 5pt, corner-radius: 5pt) node(enclose: (<en>, <fr...
https://github.com/AU-Master-Thesis/thesis
https://raw.githubusercontent.com/AU-Master-Thesis/thesis/main/sections/related-works.typ
typst
MIT License
#import "../lib/mod.typ": * #let etal = [_et al._] // #jonas[do please read the stuff in here] = Related Works <s.b.related-works> The field of multi-agent path planning has a rich literature spanning several decades, with numerous proposed methods. One of the key taxonomies that can be used to classify existing me...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/emoji-linebreak.typ
typst
Apache License 2.0
// Test that there are no linebreaks in composite emoji (issue #80). --- #set page(width: 50pt, height: auto) #h(99%) 🏳️‍🌈 🏳️‍🌈
https://github.com/Weetile/rhul-report-typst
https://raw.githubusercontent.com/Weetile/rhul-report-typst/main/template/main.typ
typst
MIT License
#import "../lib.typ": * #show: report.with( title: "Algorithms for Lightsaber dueling", // Change accordingly author: "<NAME>", // Add your name here unit_type: "Full Unit", // Full Unit or Half Unit report_type: "Final Report", // Project Plan, Interim Report, Final Report course_name: "BSc (Hons) in Comput...
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Math/accent.typ
typst
#set text( size:10pt, ) #set page( paper:"a5", margin:(x:1.8cm,y:1.5cm), ) #set par( justify: true, leading: 0.52em, ) = 重音 在附基上添加重音符号。 = 例 #image("7.png") = 参数 #image("8.png") = 基数 添加重音符号的基数,可以由多个字母组成。 = 重音 可添加于附基的重音符号。 支持的重音符号如下: #image("9.png") = 大小 重音的大小,相对于底座的宽度。 默认:auto
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/03661111-%5BLinear%20Algebra%201A%5D/src/lectures/03661111_lecture_12.typ
typst
#import "/template.typ": * #import "@preview/colorful-boxes:1.2.0": * #show: project.with( title: "אלגברה לינארית 1א׳ - שיעור 12", authors: ("<NAME>",), date: "13 בפברואר, 2024", ) #set enum(numbering: "(1.א)") = מטריצות ייצוג תהי $T: U->W$ ה״ל כאשר $B=(b_i)_(i=1)^n$ בסיס של $U$ ו-$C=(c_i)_(i=1)^m$ בסיס של $W$...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-indent-01.typ
typst
Other
// This is madness. #set par(first-line-indent: 12pt) Why would anybody ever ... ... want spacing and indent?
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Modules/FreedomOfSpeech.typ
typst
#import "../../../template.typ": * == Censorship Censorship is the attempt to suppress or regulate public access to material considered offensive or harmful. *Direct Censorship* - *Government monopolization* - government owns TV stations, radio, and newspapers. This has become harder due to the internet. - *Prepubl...
https://github.com/EpicEricEE/typst-marge
https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/parameter/numbering/test.typ
typst
MIT License
#import "/src/lib.typ": sidenote #set par(justify: true) #set page(width: 8cm, height: auto, margin: (outside: 4cm, rest: 5mm)) #lorem(4) #sidenote(numbering: "1")[Arabic numbering] #lorem(4) #sidenote(numbering: "a")[Alphabetic numbering] #lorem(4) #sidenote(numbering: "I")[Roman numbering] #lorem(4) #si...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/functions/figurelist.typ
typst
MIT License
#import "numbering.typ": * #import "style.typ": * #let listoffigures(title: "插图", kind: image) = { heading(title, numbering: none, outlined: false) locate(it => { let elements = query(figure.where(kind: kind).after(it), it) for el in elements { let maybe_number = { let el_loc = el.location()...
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem02/utils.typ
typst
#import "@preview/cetz:0.2.2" #import "@preview/polylux:0.3.1": pause #import "./floats.typ": * #import "../theme/theme.typ": * #let float-mantissa-color = palette.at(0) #let float-exponent-color = palette.at(1) #let float-sign-color = palette.at(2) #let is-bit-set(number, bit) = { let mask = int.bit-lshift(1, bit...
https://github.com/sabitov-kirill/comp-arch-conspect
https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/questions/2_numbers.typ
typst
#heading[Представление чисел.] #emph[Представление чисел. Способы хранения целых чисел: бит под знак, код со сдвигом, дополнение до 1, дополнение до 2). Способы хранения нецелых чисел: числа с фиксированной точкой, числа с плавающей точкой и стандарт IEEE 754 (как производить арифметические операции, специальные числа)...
https://github.com/VadimYarovoy/Networks2
https://raw.githubusercontent.com/VadimYarovoy/Networks2/main/lab1/report/typ/questions.typ
typst
#import "@preview/colorful-boxes:1.2.0": * = Ответы на вопросы == Вопрос 1 #colorbox( title: "TODO", color: "blue", radius: 2pt, width: auto )[ Что такое IP адрес, MAC адрес, маска подсети, порт ] IP-адрес (Internet Protocol address) - это уникальный числовой идентификатор, присвоенный устройству (компьют...
https://github.com/tingerrr/hydra
https://raw.githubusercontent.com/tingerrr/hydra/main/doc/template.typ
typst
MIT License
#import "util.typ": raw-bg #let project( package: (:), subtitle: none, abstract: [], date: none, body, ) = { set document(author: package.authors, title: package.name) set text(font: "Linux Libertine") show heading.where(level: 1): smallcaps // title page page({ v(4em) align(center, { ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/rivet/0.1.0/gallery/riscv/riscv.typ
typst
Apache License 2.0
#import "../../src/lib.typ": * #let conf = config.config( full-page: true, left-labels: true ) #let alu = schema.load("/gallery/riscv/alu_instr.yaml") #schema.render(alu, config: conf) #let branch = schema.load("/gallery/riscv/branch_instr.yaml") #schema.render(branch, config: conf) #let mem = schema.load("/gall...
https://github.com/kdxiao/typst-math-notes
https://raw.githubusercontent.com/kdxiao/typst-math-notes/main/preamble.typ
typst
#import "@preview/ctheorems:1.1.2": * #show: thmrules #set par(justify: true, linebreaks: "optimized") #set page(width: 17.6cm, height: 25cm, margin: 1.5cm, numbering: "1", number-align: bottom) #set text(font: "Arial", kerning: true, size: 10pt, lang: "en") #set heading(numbering: "1.1.") #let thm = thmbox("theorem",...
https://github.com/f14-bertolotti/bedlam
https://raw.githubusercontent.com/f14-bertolotti/bedlam/main/src/theme.typ
typst
#import "colors.typ": * #import "@preview/ctheorems:1.1.2": * #let template(doc) = [ #show: thmrules #set page( paper : "us-letter", fill : page_color, margin: ( top : 3cm, bottom : 3cm, left : 3cm, right : 3cm ) ) ...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-algorithms/notes.typ
typst
#import "@local/unipd-doc:0.0.1": * #show: notes() #show: unipd-doc( title: "Advanced Algorithms", subtitle: "Notes", author: "<NAME>", date: "II Semester – 2023", ) #lecture(2) = DFS (Depth First Search) / Complexity: $O (n + m)$ == Applications Derived using DFS (or BFS) in $O (n + m)$ - Path between sourc...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/numbly/0.1.0/README.md
markdown
Apache License 2.0
# numbly A package that helps you to specify different numbering formats for different levels of headings. Suppose you want to specify the following numbering format for your document: - Appendix A. Guide - A.1. Installation - Step 1. Download - Step 2. Install - A.2. Usage You might use `if...
https://github.com/buxx/cv
https://raw.githubusercontent.com/buxx/cv/master/modules/education.typ
typst
#import "../brilliant-CV/template.typ": * #cvSection("Formation") #entryA1Style([2008 - BTS - Informatique de Gestion - Développeur]) \ #entryA1Style([2006 - BAC - Sciences et Technologies Industrielles - Génie Electrotechnique])
https://github.com/El-Naizin/cv
https://raw.githubusercontent.com/El-Naizin/cv/main/modules_fr/skills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Compétences") #cvSkill( type: [Langues], info: [Anglais #hBar() Français #hBar() Chinois] ) #cvSkill( type: [Tech Stack], info: [Tableau #hBar() Python (Pandas/Numpy) #hBar() PostgreSQL] ) #cvSkill( type: [Centres d'intérêt], info: [Natation #hBar() ...
https://github.com/ZaninAndrea/physics-rl
https://raw.githubusercontent.com/ZaninAndrea/physics-rl/main/report/main.typ
typst
#import "template.typ": * #import "toc.typ": toc #show: ams-article.with( title: "Reinforcement learning for ICD devices", shortTitle: "PACS - Project Report", authors: ( ( name: "<NAME>", ), ( name: "<NAME>", ), ), ) #set math.equation(numbering: "(1)") #let argmax = { math.op("...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/040%20-%20Zendikar%20Rising/006_Beneath%20Riverroot%20Tree.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Beneath Riverroot Tree", set_name: "Zendikar Rising", story_date: datetime(day: 18, month: 09, year: 2020), author: "<NAME>", doc ) Bala Ged Skyclave hung in the air above the sprawling canopy of the Guum Wilds, a great moon that never left...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/mobile-security/notes.typ
typst
#import "@local/unipd-doc:0.0.1": * #show: notes() #show: unipd-doc( title: [Mobile Security], subtitle: [Notes], author: [<NAME>], date: [I Semester A.Y. 2023-2024], ) #lecture(2) = Android OS - Single user OS - Custom Linux kernel at its core #sym.arrow multi-user support: - Each app is a differe...
https://github.com/Trebor-Huang/HomotopyHistory
https://raw.githubusercontent.com/Trebor-Huang/HomotopyHistory/main/algtop.typ
typst
#import "common.typ": * = 代数拓扑 本章部分参考 @AlgTopHistoryTalk. == 同调论的发展 Poincaré 在 _Analysis Situs_ 的补充论文中注意到, Betti 数 —— 在当代视角看, 就是同调群中无挠部分的秩 —— 遗漏了同调中的一部分信息. 例如在射影平面 $RR PP^2$ 中, 无穷远直线本身不是曲面的边界, 但是与自身相加之后是 $RR^2 subset.eq RR PP^2$ 的边界. 这种现象来自于空间的扭曲, 因此称作 “挠” (torsion). 因此同调给出的信息由 Betti 数和挠数两部分组成. 1925 年, <NAME> 认识到 B...
https://github.com/VictorVanthilt/PEPS-Poster
https://raw.githubusercontent.com/VictorVanthilt/PEPS-Poster/master/4EUPlus.typ
typst
#import "./poster.typ": * #show: poster.with( size: "594x841", title: "Projected Entangled Pair States (PEPS)", authors: "<NAME>, <NAME>, <NAME>", departments: "", // univ_logo: "./images/logo_detail_copenhagen_2x.png", // univ_logo: "./images/CPHScience.svg", univ_logo: "./images/Ku-ucph-logo-svg.svg", ...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/3%20-%20PB/Documentazione%20interna/Verbali/24-03-10/24-03-10.typ
typst
#import "/template.typ": * #show: project.with( date: "10/03/24", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), reviewers: ( "<NAME>", ), timeStart: "15:10", timeEnd: "16:15", ); = Ordine del giorno - Valutazione del progresso generale; ...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/src/types/number.typ
typst
Other
#import "../base-type.typ": base-type #import "../assertions-util.typ": * #let number( assertions: (), min: none, max: none, ..args, ) = { assert-positive-type(min, types: (int,), name: "Minimum length") assert-positive-type(max, types: (int,), name: "Maximum length") base-type(name: "number", types: (...
https://github.com/Coekjan/typst-upgrade
https://raw.githubusercontent.com/Coekjan/typst-upgrade/master/tests/normal1/entry.compat.typ
typst
MIT License
#import "@local/pack:0.1.1" #import "@preview/pack1:0.2.2" #import "@preview/pack2:0.1.0"
https://github.com/gaetanserre/Typst-templates
https://raw.githubusercontent.com/gaetanserre/Typst-templates/main/poster/1.0.0/poster.typ
typst
/* * Created in 2023 by <NAME> */ // Utils functions #let TODO(it) = { text(fill: red, weight: "extrabold", [TODO #it]) } #let link_note(url, text) = { link(url)[#text] + footnote(link(url)) } /***********************************MATHS ENVIRONMENT*********************************************/ /***************...
https://github.com/HPDell/typst-cineca
https://raw.githubusercontent.com/HPDell/typst-cineca/main/README.md
markdown
MIT License
# CINECA: A Typst Package to Create Calendars CINECA Is Not an Electric Calendar App, but a Typst package to create calendars with events. ## Usage ### Day view `calendar(events, hour-range, minute-height, template, stroke)` Parameters: - `events`: An array of events. Each item is a 4-element array: - Index of ...
https://github.com/xkevio/parcio-typst
https://raw.githubusercontent.com/xkevio/parcio-typst/main/parcio-thesis/legal.typ
typst
MIT License
#heading(numbering: none, outlined: false)[Statement of Authorship] I herewith assure that I wrote the present thesis independently, that the thesis has not been partially or fully submitted as graded academic work and that I have used no other means than the ones indicated. I have indicated all parts of the work in w...
https://github.com/XcantloadX/TypstMomoTalk
https://raw.githubusercontent.com/XcantloadX/TypstMomoTalk/main/momotalk/characters.typ
typst
// ---------- AUTO GENERATED, DO NOT EDIT ---------- #import "momotalk.typ": chat, msgbox, messages #import "momotalk.typ": COLOR_MSGBOX_SENSEI_BG #let __wrap(name, filename) = messages.with(name, filename) #let sensei = messages.with(none, none, direction: "right", background_color: COLOR_MSGBOX_SENSEI_BG) #let laos...
https://github.com/LEXUGE/poincare
https://raw.githubusercontent.com/LEXUGE/poincare/main/src/notes/stats_mech/main.typ
typst
MIT License
#import "@preview/physica:0.9.2": * #import "@preview/gentle-clues:0.8.0": * #import "@lexuge/templates:0.1.0": * #import shorthands: * #import pf3: * #show: simple.with( title: "Statistical Mechanics, Thermodynamics, and Kinetic Theory", authors: ((name: "<NAME>", email: "<EMAIL>"),), ) #show: gentle-clues.with(bre...
https://github.com/Lypsilonx/boxr
https://raw.githubusercontent.com/Lypsilonx/boxr/main/util.typ
typst
MIT License
#let a-size(exponent) = { let a0-size = (841mm, 1189mm) for i in range(exponent) { let last-a-size = a0-size a0-size = (last-a-size.at(1) / 2, last-a-size.at(0)) } return a0-size } #let calculate-smallest-a-size(width, height) = { let current-a-size = 0 let current-size = a-size(current-a-size)...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/bookletic/0.2.0/example/example.typ
typst
Apache License 2.0
//#import "@preview/bookletic:0.2.0": sig #import "..\src\lib.typ": sig #set document(author: "<NAME>", title: "Bookletic Example") //Barebones example #let my-eight-pages = ( [ = Cover Page (or Page One) The content given within each bracket will appear as a single page in the booklet. ], [ = Page...
https://github.com/k0tran/typst
https://raw.githubusercontent.com/k0tran/typst/sisyphus/vendor/citationberg/README.md
markdown
# Citationberg [![Crates.io](https://img.shields.io/crates/v/citationberg.svg)](https://crates.io/crates/citationberg) [![Documentation](https://docs.rs/citationberg/badge.svg)](https://docs.rs/citationberg) [![Build status](https://github.com/typst/citationberg/workflows/Continuous%20integration/badge.svg)](https://g...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/foundations/repr.typ
typst
--- repr --- #let t(a, b) = test(repr(a), b.text) // Literal values. #t(auto, `auto`) #t(true, `true`) #t(false, `false`) // Numerical values. #t(12.0, `12.0`) #t(3.14, `3.14`) #t(1234567890.0, `1234567890.0`) #t(0123456789.0, `123456789.0`) #t(0.0, `0.0`) #t(-0.0, `-0.0`) #t(-1.0, `-1.0`) #t(-9876543210.0, `-9876543...
https://github.com/Fabioni/Typst-TUM-Thesis-Template
https://raw.githubusercontent.com/Fabioni/Typst-TUM-Thesis-Template/main/disclaimer.typ
typst
MIT No Attribution
#let disclaimer( title: "", degree: "", author: "", submissionDate: none, ) = { // --- Disclaimer --- pagebreak() v(1fr) text("Disclaimer", weight: 600, size: 1.4em) v(1.5em) text("I confirm that this " + degree + "’s thesis is my own work and I have documented all sources and material used....
https://github.com/OCamlPro/ppaqse-lang
https://raw.githubusercontent.com/OCamlPro/ppaqse-lang/master/src/étude/OCaml.typ
typst
#import "defs.typ": * #import "links.typ": * #language( name: [OCaml], introduction: [ Le langage #ocaml est issu de la famille des langage ML via différentes implémentations (Caml, Caml light) et première version officielle en 1996. Le langage connait une popularité croissante dans les milieux académi...
https://github.com/lkoehl/typst-boxes
https://raw.githubusercontent.com/lkoehl/typst-boxes/main/examples/colorbox.typ
typst
MIT License
#import "@dev/colorful-boxes:1.3.1": * #set page(paper: "a4", margin: 0.5cm, height: auto) #colorbox(title: lorem(5), color: "blue")[ #lorem(50) ]
https://github.com/OthoDeng/typst_cv_template
https://raw.githubusercontent.com/OthoDeng/typst_cv_template/main/README.md
markdown
# typst_cv_template A simple template for Typst. ![Preview](assets/CV_en_template.png) ## How to use 1. Copy the template(`CV_en_template.typ`) inside the `src` folder to your workspace. Import one of the template inside your document. ```typst #import "cv_template_en.typ": * ``` 2. Configure the contents. You can ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/keyle/0.1.0/src/sym.typ
typst
Apache License 2.0
// https://support.apple.com/en-hk/guide/mac-help/cpmh0011/mac #let mac-key = ( command: "⌘", shift: "⇧", option: "⌥", control: "⌃", "return": "↩", delete: "⌫", forward-delete: "⌦", escape: "⎋", left: "←", right: "→", up: "↑", down: "↓", pageup: "⇞", pagedown: "⇟", home: "↖", end: "↘", ...
https://github.com/pluttan/electron
https://raw.githubusercontent.com/pluttan/electron/main/dz3/dz3.typ
typst
#import "@docs/bmstu:1.0.0":* #import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx, cellx #show: student_work.with( caf_name: "Компьютерные системы и сети", faculty_name: "Информатика и системы управления", work_type: "домашней работе", work_num: "3", discipline_name: "Электроника", theme: "Мультивиб...
https://github.com/yanwenywan/typst-packages
https://raw.githubusercontent.com/yanwenywan/typst-packages/master/dndstatblock/0.1.0/statblock.typ
typst
Apache License 2.0
/// /// (c) 2024-05 Yanwenyuan /// /// This module does monster statblocks. /// it should be imported as something and used qualified, to avoid polluting the global scope #import calc #let title = ("TeX Gyre Bonum", "KingHwa_OldSong") #let fonts = ("Scaly Sans Remake", "KingHwa_OldSong") #let sc_fonts = ("Scaly Sans ...
https://github.com/storopoli/graphs-complexity
https://raw.githubusercontent.com/storopoli/graphs-complexity/main/README.md
markdown
Creative Commons Zero v1.0 Universal
# Graph Theory and Computational Complexity [![CC0](https://img.shields.io/badge/License-CC0-lightgrey.svg)](https://creativecommons.org/publicdomain/zero/1.0/) [![C code](https://img.shields.io/badge/code-C-blue)](./code/c) [![Zig code](https://img.shields.io/badge/code-Zig-orange)](./code/zig) [![Run on Repl.it](htt...
https://github.com/jpssrocha/templates
https://raw.githubusercontent.com/jpssrocha/templates/main/typst/lncc_report/lncc_report_template.typ
typst
MIT License
// Typst template for making simple reports for the disciplines in the LNCC // masters/PhD program. #let template( title: "Titulo aqui", author: "<NAME>", city-state: "Petrópolis-RJ", discipline: "Disciplina", professor: "Professor", bibliography_file: "references.bib", doc ) = { set document( ...
https://github.com/LeoColomb/dotdocs
https://raw.githubusercontent.com/LeoColomb/dotdocs/main/packages/leocolomb/logotype/1.0.0/src/lib.typ
typst
MIT License
// Primary color #let primary_colour = rgb("#000") // Logotype #let logo() = { text(font: "The Bold Font")[ #grid( columns: (auto, auto), gutter: 5pt, text(size: 27pt)[o], par(leading: 0.4em)[Léo\ Colombaro], ) ] }
https://github.com/RoyalRoppers/stadgar
https://raw.githubusercontent.com/RoyalRoppers/stadgar/master/stadgar.typ
typst
#import "template.typ" : * #show: template = Namn Föreningens fullständiga namn är RoyalRoppers, nedan benämnd föreningen. = Syfte Föreningens syfte är: - att delta i Capture The Flag (CTF) tävlingar, - att vara en samlingsplats för IT-säkerhetsintresserade, - att främja medlemmarnas utbildning och fortbildning inom...
https://github.com/0x6e66/hbrs-typst
https://raw.githubusercontent.com/0x6e66/hbrs-typst/main/template/utils.typ
typst
#import "@preview/outrageous:0.1.0" #import "../ads/meta.typ": * #import "../ads/acronyms.typ": acronyms #let auto_import(file) = { include {"../modules_" + language + "/" + file + ".typ"} } #let abstract(lang, body) = { align( left, text( size: 20pt, if lang == "de" { [Zusammenfassun...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/visualize/circle.typ
typst
// Test the `circle` function. --- circle --- // Default circle. #box(circle()) #box(circle[Hey]) --- circle-auto-sizing --- // Test auto sizing. #set circle(inset: 0pt) Auto-sized circle. #circle(fill: rgb("eb5278"), stroke: 2pt + black, align(center + horizon)[But, soft!] ) Center-aligned rect in auto-sized cir...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/appendix/examples/binary_complexity.typ
typst
#import "/config.typ": theme #import "@preview/cetz:0.2.2" #cetz.canvas(length: 100%, { import cetz.draw: * import cetz.plot set-viewport((0, 0), (1, .3)) plot.plot(axis-style: none, { plot.add( domain: (0, 10), x => 2/calc.pow(2, x), style: (stroke: theme.fg_light) ) plot.add-hline( ...
https://github.com/hotwords123/typst-assignment-template
https://raw.githubusercontent.com/hotwords123/typst-assignment-template/main/README.md
markdown
# typst-assignment-template A simple assignment template based on [gRox167/typst-assignment-template](https://github.com/gRox167/typst-assignment-template).
https://github.com/chubetho/Bachelor_Thesis
https://raw.githubusercontent.com/chubetho/Bachelor_Thesis/main/chapters/fundamental.typ
typst
#import "@preview/glossarium:0.4.1": glspl = Decision Framework <section_decision_framework> This chapter will use the micro frontends decision framework introduced by <NAME> in his book "Building Micro Frontends". This comprehensive framework focuses on four key areas: definition, composition, routing, and communica...
https://github.com/figarofuga/Typst-template
https://raw.githubusercontent.com/figarofuga/Typst-template/main/CJD/CJD_slide.typ
typst
// Get Polylux from the official package repository #import "@preview/polylux:0.3.1": * // Make the paper dimensions fit for a presentation and the text larger #set page(paper: "presentation-16-9") #set text(size: 25pt) // Use #polylux-slide to create a slide and style it using your favourite Typst functions #polylux...
https://github.com/Enter-tainer/m-jaxon
https://raw.githubusercontent.com/Enter-tainer/m-jaxon/master/README.md
markdown
MIT License
# [M-Jaxon](https://github.com/Enter-tainer/m-jaxon) Render LaTeX equation in typst using MathJax. **Note:** This package is made for fun and to demonstrate the capability of typst plugins. And it is **slow**. To actually convert LaTeX equations to typst ones, you should use **pandoc** or **texmath**. ![](mj.svg) ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/README.md
markdown
# Typst4K — Kotlin bindings for Typst ## Quick introduction This library allows - Manipulating Typst values: ```kt val pattern = TPattern( size = TArray(30.pt, 30.pt), body = TSequence( TPlace(body = TLine(start = TArray(0.pc, 0.pc), end = TArray(100.pc, 100.pc))), ...