repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/mawkler/cv
https://raw.githubusercontent.com/mawkler/cv/main/README.md
markdown
MIT License
# CV Below you can download my CV as a PDF in either English or Swedish: <table cellspacing="0" cellpadding="0"> <tr> <th> <a href="https://github.com/mawkler/cv/releases/download/latest/english.pdf"> English Version </a> </th> <th> <a hr...
https://github.com/simon-isler/zhaw-summaries
https://raw.githubusercontent.com/simon-isler/zhaw-summaries/main/S6%20-%20FS2024/MOBA2/sections/1-react.typ
typst
= Mobile Web == Components - break UIs down in a modular way - enable interchangeability - isolate state from application business logic -> based on shadow DOM == React React wraps an imperative API with a declarative one - React's rendering process must always be pure - Event handlers don't need to be pure, as ...
https://github.com/darkMatter781x/OverUnderNotebook
https://raw.githubusercontent.com/darkMatter781x/OverUnderNotebook/main/entries/auton/skills/skills.typ
typst
#import "../auto-util.typ": * #auton( "Programming Skills", datetime(year: 2024, month: 2, day: 25), "skills.cpp", [ This code attempts to score as many points as possible in the 60-second skills period. We do this by first matchloading, then crossing under the elevation bar to make 2 rams into the...
https://github.com/jeremiahdanielregalario/BS-Mathematics-UP-Diliman-Course-Notes
https://raw.githubusercontent.com/jeremiahdanielregalario/BS-Mathematics-UP-Diliman-Course-Notes/main/Math%20110.1%20(Abstract%20Algebra%20I)/Math%20110.1%20Unit%201.typ
typst
#set text(font: "Fira Sans Math") #set page(paper: "a4") #set text(size: 30pt) #set align(horizon) = Math 110.1 ABSTRACT ALGEBRA I: Unit I #set text(size: 14pt, ) #emph[Course Notes by: <NAME>] \ #emph[II-BS Mathematics] \ #emph[University of the Philippines - Diliman] \ #emph[Dr. <NAME>] #pagebreak() #set page( m...
https://github.com/lphoogenboom/typstThesisDCSC
https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/README.md
markdown
# Typst Thesis Template for DCSC Students This is a transliteration of LaTeX template to Typst for theses at Delft Centre for Systems & Control at Delft University of Technology. Check out this [**Live Preview**](https://typst.app/project/rYJB_ORKNHmdgWC7pap-Cm) of the latest version!
https://github.com/sdsc-ordes/modos-poster
https://raw.githubusercontent.com/sdsc-ordes/modos-poster/main/src/modos.typ
typst
Creative Commons Attribution 4.0 International
// Import a theme #import "/src/sdsc_poster.typ": * #import themes.boxes: * // Set up paper dimensions and text #set page(width: 84.1cm, height: 118.9cm) #set text(font: "Museo", size: 26pt, weight: 100) #let big_text(t) = text(font: "Century Gothic Paneuropean", weight: 300, t); // Set up colors #show: theme.with(...
https://github.com/Tiggax/zakljucna_naloga
https://raw.githubusercontent.com/Tiggax/zakljucna_naloga/main/src/figures/bioreactor.typ
typst
#import "@preview/cetz:0.2.2": canvas, plot, draw, vector #let reactor = canvas( length: 1cm, { import draw: * let mesalo(pos, shift: 0deg)= group( { set-origin(pos) for x in (1,2,3) { group( { rotate(y: x * 120deg + shift, x: 60deg) ...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/post_type_check/with_user_func.typ
typst
Apache License 2.0
#let f(font, stroke) = text(font: font, stroke: stroke); #let g = f.with(/* position */);
https://github.com/donghoony/KUPC-2023
https://raw.githubusercontent.com/donghoony/KUPC-2023/master/main.typ
typst
#import "template.typ": * #import "abstractions.typ" : abstract_page #import "problems.typ" : contest_problems #import "problem_info.typ" : info #import "colors.typ" : * #import "description.typ" : create_page #show: project.with() #abstract_page(problems: contest_problems) #for i in range(contest_problems.len()) { ...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/linear/rules.typ
typst
The Unlicense
#import "format.typ": * #import "/utils.typ" #let rules = utils.make-rules(doc => { set text( font: "Blinker", size: 11pt, ) doc })
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/bytefield/0.0.4/lib/states.typ
typst
Apache License 2.0
// states #let __default_row_height = state("bf-row-height", 2.5em); #let __default_header_font_size = state("bf-header-font-size", 9pt); // function to use with show rule #let bf-config( row_height: 2.5em, header_font_size: 9pt, content ) = { __default_row_height.update(row_height); __default_header_font_...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/shape-aspect_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that minimum wins if both width and height are given. #stack( dir: ltr, spacing: 2pt, square(width: 20pt, height: 40pt), circle(width: 20%, height: 100pt), )
https://github.com/ckunte/m-one
https://raw.githubusercontent.com/ckunte/m-one/master/inc/model.typ
typst
= Building a model #figure( image("/img/model.png", width: 100%), caption: [ Building this model from scratch with error-checking, testing for integrity, and preparing for pushover ] ) <model> A few months ago, I found the need to rebuild a complex finite element model of a jacket substructure. This was aft...
https://github.com/bkorecic/enunciado-facil-fcfm
https://raw.githubusercontent.com/bkorecic/enunciado-facil-fcfm/main/template/main.typ
typst
MIT License
#import "@preview/enunciado-facil-fcfm:0.1.0" as template #show: template.conf.with( titulo: "Auxiliar 5", subtitulo: "Usando el template", titulo-extra: ( [*Profesora*: <NAME>], [*Auxiliares*: <NAME> y <NAME>], ), departamento: template.departamentos.dcc, curso: "CC4034 - Composición de documentos...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/docs/src/developer_documentation/custom_themes.md
markdown
The Unlicense
# Making Your Own Theme If you're unhappy with the existing themes, or just want to add your own flair to your notebook, the Notebookinator supports custom themes. We highly recommend you familiarize yourself with the [Typst Documentation](typst.app/docs) before trying to implement one yourself. Themes consist of two...
https://github.com/drupol/master-thesis
https://raw.githubusercontent.com/drupol/master-thesis/main/src/thesis/2-related-work.typ
typst
Other
#import "imports/preamble.typ": * #import "theme/template.typ": * #import "theme/common/titlepage.typ": * #import "theme/common/metadata.typ": * #import "theme/disclaimer.typ": * #import "theme/acknowledgement.typ": * #import "theme/abstract.typ": * #import "theme/infos.typ": * = Related work
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/examples/lorem.typ
typst
Other
#import "@preview/ucpc-solutions:0.1.0" as ucpc #import ucpc: color #import ucpc.presets: difficulties as lv #show: ucpc.ucpc.with( title: "Contest Name", authors: ("Solutions Commentary Editorial", ), hero: ucpc.utils.make-hero( title: [Contest Name], subtitle: [Solutions Commentary Editorial], auth...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/042.typ
typst
#let date = datetime( year: 2023, month: 5, day: 18, ) #metadata(( title: "c++23的std::print简单示例", subtitle: [c++23], author: "dashuai009", description: "", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf == 介绍 cpp23中加入了一个标准库std::print,类似python中的print。据说不是...
https://github.com/YunkaiZhang233/computer-science-notes
https://raw.githubusercontent.com/YunkaiZhang233/computer-science-notes/main/Symbolic-Reasoning-Imperial/symbolic-reasoning.typ
typst
MIT License
#import "../template.typ": * #show: template.with( title: [Symbolic Reasoning], short_title: "COMP 50009", description: [ for 2023/24 Year 2 Symbolic Reasoning course \ taught by Mr <NAME> and Dr <NAME>, Imperial College London ], date: datetime(year: 2024, mon...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/model/figure.typ
typst
// Test figures. --- figure-basic --- #set page(width: 150pt) #set figure(numbering: "I") We can clearly see that @fig-cylinder and @tab-complex are relevant in this context. #figure( table(columns: 2)[a][b], caption: [The basic table.], ) <tab-basic> #figure( pad(y: -6pt, image("/assets/images/cylinder.svg",...
https://github.com/TechnoElf/mqt-qcec-diff-presentation
https://raw.githubusercontent.com/TechnoElf/mqt-qcec-diff-presentation/main/main.typ
typst
#import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" #import "@preview/gentle-clues:0.9.0" #import "@preview/lovelace:0.3.0" #import "@preview/polylux:0.3.1": * #import "@preview/tablex:0.0.8" #import "@preview/unify:0.6.0" #import "@preview/quill:0.3.0" #import "template/conf.typ": conf, slide #import "tem...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/par-justify-04.typ
typst
Other
// Test that the last line can be shrunk #set page(width: 155pt) #set par(justify: true) This text can be fitted in one line.
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/layout-infinite-lengths.typ
typst
Apache License 2.0
// Test that passing infinite lengths to drawing primitives does not crash Typst. --- #set page(width: auto, height: auto) // Error: cannot expand into infinite width #layout(size => grid(columns: (size.width, size.height))[a][b][c][d]) --- #set page(width: auto, height: auto) // Error: 17-66 cannot create grid wit...
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/literature-review/typescript.typ
typst
#import "/components/glossary.typ": gls == TypeScript <sec-typescript> TypeScript, a superset of JavaScript, has gained significant popularity in recent years due to its ability to enhance code quality, maintainability, and scalability. This section explores the key features, benefits, and challenges of using TypeScr...
https://github.com/thaqibm/typst
https://raw.githubusercontent.com/thaqibm/typst/main/cheat_sheet.typ
typst
// The project function defines how your document looks. #let project(title: "", authors: (), body) = { set document(author: authors, title: title) set page(numbering: "1", number-align: center) set text(font: "New Computer Modern", lang: "en") show math.equation: set text(weight: 400) set page(width: 29.7...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/canonical-nthu-thesis/0.1.0/utils/cover-with-rect.typ
typst
Apache License 2.0
#let cover-with-rect(..cover-args, fill: auto, inline: true, body) = { if fill == auto { panic( "`auto` fill value is not supported until typst provides utilities to" + " retrieve the current page background" ) } if type(fill) == "string" { fill = rgb(fill) ...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/code/cond.typ
typst
Apache License 2.0
#if not true { // false } #if (is-tablex-cell(cell) and type(cell.y) in (_int-type, _float-type) and cell.y > acc) { cell.y } else { acc } #let a = 0 #let b = 1
https://github.com/mangkoran/utm-thesis-typst
https://raw.githubusercontent.com/mangkoran/utm-thesis-typst/main/02_declaration_thesis.typ
typst
MIT License
#import "@preview/tablex:0.0.7": tablex, rowspanx, colspanx #import "utils.typ": empty #let content( title: empty[title], author: empty[author], metric: empty[metric], dob: empty[dob], session: empty[session], utm_email: empty[utm email], supervisor: ( empty[supervisor 1], empty[supervisor 2], ...
https://github.com/Akida31/anki-typst
https://raw.githubusercontent.com/Akida31/anki-typst/main/typst/src/config.typ
typst
#let anki_config = state( "anki::config", ( export: false, date: none, title: none, prefix_deck_names_with_numbers: false, ), ) /// Get a value from `sys.inputs`. /// /// - key (str): The input key to read from. /// - default (any): The default value if it can't be read. /// - options (dict): Map...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/blockchain/weeks/week4.typ
typst
#import "../../utils.typ": * #section("Solidity Basics") - always signify license -> \/\/ SPDX-License-Identifier: MIT - classes are made as *contracts* -> state storage //typstfmt::off ```sol contract SimpleStorage { uint256 storedData; // state variable } ``` //typstfmt::on - Functions are as norm...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/minea/0_vseob/03_ApostolJeden.typ
typst
#let V = ( "HV": ( ("", 8, "Čto vy narečem", "Čto ťá imenújem Apoštole? nébo li? jáko slávu ispovídal jesí Bóžiju: rikú li? jáko tvar napajáješi tájno: zvizdú, ozarjájuščuju cérkov? čášu, pivo svjatoje izlivájuščuju?drúha Christóva blĺžňijšaho, Bezplótnych ravnosélnika: molí o spasénii duš nášich."), ...
https://github.com/sahasatvik/typst-theorems
https://raw.githubusercontent.com/sahasatvik/typst-theorems/main/basic.typ
typst
MIT License
#import "theorems.typ": * #show: thmrules.with(qed-symbol: $square$) #set page(width: 16cm, height: auto, margin: 1.5cm) #set text(font: "Libertinus Serif", lang: "en") #set heading(numbering: "1.1.") #let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee")) #let corollary = thmplain( "corollary", "Coroll...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/217.%20superlinear.html.typ
typst
superlinear.html Superlinear Returns October 2023One of the most important things I didn't understand about the world when I was a child is the degree to which the returns for performance are superlinear.Teachers and coaches implicitly told us the returns were linear. "You get out," I heard a thousand times, "what you...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/07_并发控制-互斥.typ
typst
#import "../template.typ": * #pagebreak() = 并发控制:互斥 == 互斥问题:定义与假设 #tip("Tip")[ 如果打破读写原子性的假设,那peterson的算法是错误的。 ] === 回顾:并发编程 理解并发的工具 - 线程 = 人 (大脑能完成局部存储和计算) - 共享内存 = 物理世界 (物理世界天生并行) - 一切都是状态机 (debugger & model checker) #tip("Tip")[ “躲进厕所锁上门,我就把全世界人锁在了厕所外” ] === 互斥问题:定义 互斥 (mutual exclusion),“互相排斥” 实现 lock_t 数据结...
https://github.com/LaPreprint/typst
https://raw.githubusercontent.com/LaPreprint/typst/main/examples/pixels/main.typ
typst
MIT License
// Update this import to where you put the `lapreprint.typ` file // It should probably be in the same folder #import "../../lapreprint.typ": template #show: template.with( title: "Pixels and their Neighbours", subtitle: "A Tutorial on Finite Volume", short-title: "Finite Volume Tutorial", venue: [ar#text(fill:...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/src/layout.typ
typst
MIT License
#import "length-helpers.typ": * /// Update bounds to contain the given rectangle /// - bounds (array): Current bound coordinates x0, y0, x1, y1 /// - rect (array): Bounds rectangle x0, y0, x1, y1 #let update-bounds(bounds, rect) = ( calc.min(bounds.at(0), rect.at(0).to-absolute()), calc.min(bounds.at(1), rect.at(...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.1/src/anchor.typ
typst
Apache License 2.0
#import "deps.typ" #import deps.oxifmt: strfmt #import "util.typ" #import util: typst-length #import "intersection.typ" #import "drawable.typ" #import "path-util.typ" #import "matrix.typ" #import "vector.typ" // Compass direction to angle #let named-border-anchors = ( east: 0deg, north-east: 45deg, north: 90de...
https://github.com/isaacholt100/isaacholt100.github.io
https://raw.githubusercontent.com/isaacholt100/isaacholt100.github.io/master/maths-notes/3-durham%3A-year-3/galois-theory/galois-theory.typ
typst
#import "../../template.typ": * #show: doc => template(doc, hidden: (), slides: false) // FIND: - \*(\w+)\*: ([\s\S]*?)(?=\n-|\n\n)\n // REPLACE: #$1[\n $2\n]\n #let char = $op("char")$ #let cbrt(arg) = $root(3, #arg)$ #let ideal(..gens) = $angle.l #gens.pos().join(",") angle.r$ #let Aut = $"Aut"$ #let Gal = $"Gal...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/055%20-%20Murders%20at%20Karlov%20Manor/009_Episode%209%3A%20Beauty%20in%20Destruction.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 9: Beauty in Destruction", set_name: "Murders at Karlov Manor", story_date: datetime(day: 17, month: 01, year: 2024), author: "<NAME>", doc ) Silence filled the room until it felt like they were collectively choking on it. Ezrim loo...
https://github.com/stalomeow/resume-template
https://raw.githubusercontent.com/stalomeow/resume-template/main/template.typ
typst
MIT License
// 获取 metadata #let get-var(name) = query(label(name)).first().value // 设置 metadata #let set-var(name, value) = [#metadata(value) #label(name)] // 图标 #let svg-icon(path) = context { let theme-color = get-var("theme-color") let box-base-line = get-var("box-base-line") let svg = read(path) svg = svg.replace(re...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/040%20-%20Zendikar%20Rising/001_Episode%201%3A%20In%20the%20Heart%20of%20the%20Skyclave.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 1: In the Heart of the Skyclave", set_name: "Zendikar Rising", story_date: datetime(day: 02, month: 09, year: 2020), author: "<NAME>", doc ) Nahiri studied the rising Skyclave before her where it floated vast, imposing, and ruined. ...
https://github.com/andymeneely/examify.typst
https://raw.githubusercontent.com/andymeneely/examify.typst/master/examples/quick/quick.typ
typst
MIT License
#import "@local/exam:0.1.0": * = Final Exam, #total_points() points and #num_questions() questions // <show_solutions> //uncomment for answer key Name: #blank(4cm) #question[ #points(2) Hello, #fill_in_blank(3cm, [world!]) ] #question[ #points(3) Speak friend and enter. #solution(height: 2.5cm, [melloch]) ] #...
https://github.com/akagiyuu/math-document
https://raw.githubusercontent.com/akagiyuu/math-document/main/integral/(%5Cfrac%7B1-e%5E-x%7D%7Bx%7D)%5E2.typ
typst
#set text(size: 20pt) $ integral_0^(infinity) ((1-e^(-x))/x)^2 dif x &= integral_0^(infinity) (integral_0^1 e^(-x y) dif y)^2 dif x \ &= integral_0^(infinity) (integral_0^1 e^(-x y) dif y)(integral_0^1 e^(-x z) dif z) dif x \ &= integral_0^(infinity) integral_0^1 integral_0^1 e^(-x (y + z)) dif z dif y d...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/019%20-%20Magic%20Origins/002_Liliana's%20Origin%3A%20The%20Fourth%20Pact.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Liliana's Origin: The Fourth Pact", set_name: "Magic Origins", story_date: datetime(day: 17, month: 06, year: 2015), author: "<NAME>", doc ) #figure(image("002_Liliana's Origin: The Fourth Pact/01.jpg", width: 100%), caption: [Art by Chase ...
https://github.com/AxiomOfChoices/Typst
https://raw.githubusercontent.com/AxiomOfChoices/Typst/master/Research/Summer%202024/Geometry%20School/Kahlar%20Metrics.typ
typst
#import "/Templates/generic.typ": latex #import "/Templates/notes.typ": chapter_heading #import "@preview/ctheorems:1.1.0": * #import "@preview/commute:0.2.0": node, arr, commutative-diagram #import "/Templates/math.typ": * //#import "/Templates/monograph.typ": frontpage //#import "@preview/cetz:0.2.2": canvas, draw, t...
https://github.com/medewitt/bio720
https://raw.githubusercontent.com/medewitt/bio720/main/signalling.typ
typst
BSD 3-Clause "New" or "Revised" License
#import "template.typ": * #show: ams-article.with( title: "Reading notes: Signalling", authors: ( ( name: "<NAME>", department: [Department of Biology], organization: [Wake Forest University], location: [Winston Salem, NC 27101], email: "<EMAIL>", url: "www.michaeldewittjr.co...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/005_The%20Gathering%20Storm%3A%20Chapter%2011.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 11", set_name: "Ravnica Allegiance", story_date: datetime(day: 21, month: 08, year: 2019), author: "<NAME>", doc ) Nivix was never truly quiet. Even in the dead of the night, there was always some inventor who c...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/bugs/flow-1_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 70pt) #block[This file tests a bug where an almost empty page occurs.] #block[ The text in this second block was torn apart and split up for some reason beyond my knowledge. ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/outrageous/0.1.0/outrageous.typ
typst
Apache License 2.0
#let align-helper(state-key, what-to-measure, display) = style(styles => { let max-width = state(state-key, 0pt) let this-width = measure(what-to-measure, styles).width max-width.update(max => calc.max(this-width, max)) locate(loc => { display(max-width.final(loc), this-width) }) }) #let presets = ( //...
https://github.com/Lucas-Wye/tech-note
https://raw.githubusercontent.com/Lucas-Wye/tech-note/main/src/ask.typ
typst
= How to Ask Question #label("how-to-ask-question") #link("http://www.catb.org/%7Eesr/faqs/smart-questions.html")[Click here]
https://github.com/jomaway/typst-bytefield
https://raw.githubusercontent.com/jomaway/typst-bytefield/main/lib/gen.typ
typst
MIT License
#import "types.typ": * #import "utils.typ": * #import "asserts.typ": * #import "states.typ": * #let assert-level-cols(levels, cols, side) = { if (cols != auto) { cols = if (int == type(cols)) { cols } else if (array == type(cols)) { cols.len() } else { panic(strfmt("expected {} argument to be auto, int or array,...
https://github.com/crd2333/typst-admonition
https://raw.githubusercontent.com/crd2333/typst-admonition/master/examples/example.typ
typst
MIT License
#import "../lib.typ": * #note(caption: [Self_defined Title], footer: [This is a footer.])[admonitions implemented by showybox, making the box more flexible.] #info(caption: "Change size and info", caption_size: 20pt, size: 14pt, [Caption and content size can be changed.], [Currently supported types are:\ *not...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/data-13.typ
typst
Other
// Error: 6-16 failed to parse xml file: found closing tag 'data' instead of 'hello' in line 3 #xml("test/assets/files/bad.xml")
https://github.com/bigskysoftware/hypermedia-systems-book
https://raw.githubusercontent.com/bigskysoftware/hypermedia-systems-book/main/ch05-htmx-patterns.typ
typst
Other
#import "lib/definitions.typ": * == Htmx Patterns Now that we’ve seen how htmx extends HTML as a hypermedia, it’s time to put it into action. As we use htmx, we will still be using hypermedia: we will issue HTTP requests and get back HTML. But, with the additional functionality that htmx provides, we will have a more...
https://github.com/OI-wiki/remark-typst
https://raw.githubusercontent.com/OI-wiki/remark-typst/main/README.md
markdown
Apache License 2.0
# OI Wiki: Export to PDF (WIP) 为 OI Wiki 的 Typst PDF 自动化导出工具开发的 Markdown 到 Typst 编译器。 **注意:本项目正在开发当中,请勿用于生产环境。** ## 使用方法 请使用下面的命令克隆本仓库: ```sh git clone --recurse-submodules --remote-submodules https://github.com/OI-wiki/remark-typst.git ``` 按如下方法使用: ```js import { unified } from 'unified' import remarkParse from...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/spacing.typ
typst
Apache License 2.0
// Test the `h` and `v` functions. --- // Linebreak and leading-sized weak spacing are equivalent. #box[A \ B] #box[A #v(0.65em, weak: true) B] // Eating up soft spacing. Inv#h(0pt)isible // Multiple spacings in a row. Add #h(10pt) #h(10pt) up // Relative to area. #let x = 25% - 4pt |#h(x)|#h(x)|#h(x)|#h(x)| // Fr...
https://github.com/herbhuang/utdallas-thesis-template-typst
https://raw.githubusercontent.com/herbhuang/utdallas-thesis-template-typst/main/content/proposal/transparency_ai_tools.typ
typst
MIT License
#import "/utils/todo.typ": TODO #TODO[ Change this paragraph to reflect the tools you used in your proposal ] In preparing this proposal, I utilized Grammarly for grammar and style correction across the Abstract, Introduction, and Conclusion sections, ensuring clarity and coherence in my writing. I used DeepL to en...
https://github.com/wznmickey/typst_workshop
https://raw.githubusercontent.com/wznmickey/typst_workshop/main/2024Fall/a.typ
typst
#import "@preview/codly:1.0.0": * #import "@preview/gentle-clues:1.0.0": * #set text(font: ("Noto Sans", "Noto Sans CJK SC")) #show: codly-init.with() #set page(height: auto, width: 35cm) #let LaTeX = { set text(font: "New Computer Modern") box( width: 2.55em, { [L] place(top, dx: 0.3em, text(s...
https://github.com/justinvulz/document
https://raw.githubusercontent.com/justinvulz/document/main/REU/ncube_poster.typ
typst
#import "../typst_packages\poster.typ": * #import "@preview/fletcher:0.4.5" as fletcher: diagram,node,edge #import "@preview/cetz:0.2.2" #show: doc => conf( "Critical Groups of n-cube Graphs", "<NAME>", advisor:"test", logo: "../pic/REU/logo.png", doc ) = Abstract The critical group, also known as the san...
https://github.com/tweaselORG/ReportHAR
https://raw.githubusercontent.com/tweaselORG/ReportHAR/main/templates/en/style.typ
typst
MIT License
#let tweaselStyle(doc) = [ #set page(numbering: (current, total) => "Page " + str(current) + " of " + str(total), number-align: end) #set text(font: "Linux Libertine", size: 12pt, lang: "en") #set heading(numbering: "1.1.") #show link: underline #set text(hyphenate: true) #set enum(numbering: "a.") #set q...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-invalid-03.typ
typst
Other
// Error: 3-13 cannot apply '+' to content #(+([] + []))
https://github.com/Clay438/3bao-hbut-typst
https://raw.githubusercontent.com/Clay438/3bao-hbut-typst/master/文献阅读表.typ
typst
附件3-1: #strong[湖北工业大学2023 / 2024学年(上)本科生课程文献阅读情况汇总表] #strong[课程名称: 学号: 学生姓名: 班级: 成绩:] #figure( align(center)[#table( columns: 7, align: (col, row) => (auto,auto,auto,auto,auto,auto,auto,).at(col), inset: 6pt, [#strong[序号];], [#strong[文献作者];], [#strong[参考文献标题] #strong[(或教材著作名称)] ], [#strong[发表期...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/004%20-%20Dragon's%20Maze/007_The%20Pursuit%2C%20Part%202.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Pursuit, Part 2", set_name: "Dragon's Maze", story_date: datetime(day: 14, month: 05, year: 2013), author: "<NAME>", doc ) "You should not have come." The words hung for a moment in the stale air of the damp sewer chamber. #figure(ima...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/tests/evel-math/test.typ
typst
MIT License
#import "../../src/schule.typ": ab #import ab: * #show: arbeitsblatt.with( /* @typstyle:off */ titel: "Base template test", reihe: "TYPST-TEST", datum: "15.06.2024", nummer: "1", fach: "Typst", kurs: "101", autor: ( name: "<NAME>", kuerzel: "Ngb", ), version: ...
https://github.com/frugal-10191/frugal-typst
https://raw.githubusercontent.com/frugal-10191/frugal-typst/main/README.md
markdown
Apache License 2.0
# frugal-typst A collection of templates for Typst ## book-template Based largely on the excellent Orange Legrand LaTeX template, with a lot of the original Typst code by flavio20002 (https://github.com/flavio20002/typst-orange-template). Features: - Title page with optional logo and full page background - Parts wh...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.3.0/src/draw/util.typ
typst
Apache License 2.0
/// Assert that the cetz version of the canvas matches the given version (range). /// /// min (version): Minimum version (current >= min) /// max (none, version): First unsupported version (current < max) /// hint (string): Name of the function/module this assert is called from #let assert-version(min, max: none, hint:...
https://github.com/catarinacps/typst-abnt
https://raw.githubusercontent.com/catarinacps/typst-abnt/main/README.md
markdown
MIT License
# A Typst Template for ABNT documents This is far, far from ready.
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/text/case.typ
typst
Apache License 2.0
// Test the `upper` and `lower` functions. // Ref: false --- #let memes = "ArE mEmEs gReAt?"; #test(lower(memes), "are memes great?") #test(upper(memes), "ARE MEMES GREAT?") #test(upper("Ελλάδα"), "ΕΛΛΆΔΑ") --- // Error: 8-9 expected string or content, found integer #upper(1)
https://github.com/kazewong/lecture-notes
https://raw.githubusercontent.com/kazewong/lecture-notes/main/Engineering/SoftwareEngineeringForDataScience/syllabus.typ
typst
#set page( paper: "us-letter", header: align(center, text(17pt)[ *Software engineering for data science* ]), numbering: "1", ) #set text( font: "Times New Roman", size: 11pt ) #show heading.where( level: 1, ): it => text( size: 18pt, weight: "extrabold", it.body ) #set par(justify: true) = C...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/fauve-cdb/0.1.0/src/utils.typ
typst
Apache License 2.0
#let balanced-cols(n-cols, gutter: 11pt, body) = layout(bounds => context { // Measure the height of the container of the text if it was single // column, full width let textHeight = measure(box( width: (bounds.width - (n-cols - 1) * gutter) / n-cols, body )).height // Recompute the height of the n...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/bugs/square-base.typ
typst
Apache License 2.0
// Test that square sets correct base for its content. --- #set page(height: 80pt) #square(width: 40%, rect(width: 60%, height: 80%))
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/PPT/MATLAB/touying/docs/docs/external/typst-preview.md
markdown
--- sidebar_position: 2 --- # Typst Preview The Typst Preview extension for VS Code provides an excellent slide mode, allowing us to preview and present slides. Press `Ctrl/Cmd + Shift + P` and type `Typst Preview: Preview current file in slide mode` to open the preview in slide mode. Press `Ctrl/Cmd + Shift + P` a...
https://github.com/ellmau/cv-typst
https://raw.githubusercontent.com/ellmau/cv-typst/main/cv.typ
typst
//#import "@preview/modern-acad-cv:0.1.0": * #import "modern-acad-cv.typ":* #let metadata = yaml("metadata.yaml") #let multilingual = yaml("data/i18n.yaml") #let infoline = yaml("data/infoline.yaml") #let education = yaml("data/education.yaml") #let feducation = yaml("data/feducation.yaml") #let work = yaml("data/wor...
https://github.com/Dherse/ugent-templates
https://raw.githubusercontent.com/Dherse/ugent-templates/main/slides/ugent-theme.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import "../common/colors.typ": * #import utils: polylux-outline, polylux-progress, current-section, register-section #let ratio = 1.621784511784512 #let text_inset = (inset: (x: 0.25cm / ratio, y: 0.13cm / ratio)) #let config(callback) = locate(loc => { let cfg = state("ugent-t...
https://github.com/sitandr/typst-examples-book
https://raw.githubusercontent.com/sitandr/typst-examples-book/main/src/snippets/layout/hiding.md
markdown
MIT License
# Hiding things ```typ // author: GeorgeMuscat #let redact(text, fill: black, height: 1em) = { box(rect(fill: fill, height: height)[#hide(text)]) } Example: - Unredacted text - Redacted #redact("text") ```
https://github.com/arthurcadore/eng-telecom-workbook
https://raw.githubusercontent.com/arthurcadore/eng-telecom-workbook/main/semester-7/MEC/homework1/homework.typ
typst
MIT License
#import "@preview/klaro-ifsc-sj:0.1.0": report #import "@preview/codelst:2.0.1": sourcecode #show heading: set block(below: 1.5em) #show par: set block(spacing: 1.5em) #set text(font: "Arial", size: 12pt) #set highlight( fill: rgb("#c1c7c3"), stroke: rgb("#6b6a6a"), extent: 2pt, radius: 0.2em, ) #show: doc...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-12-15/23-12-15.typ
typst
#import "/template.typ": * #show: project.with( date: "15/12/23", subTitle: "Discussione a seguito del meeting con il Proponente", docType: "verbale", authors: ( "<NAME>", ), timeStart: "12:30", timeEnd: "13:00", ); = Ordine del giorno A seguito dell'incontro odierno che il gruppo ha avuto con il pr...
https://github.com/EvanLuo42/rcore-notes
https://raw.githubusercontent.com/EvanLuo42/rcore-notes/main/Chapter%201/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(body, title: "") = { // Set the document's basic properties. set page(numbering: "1", number-align: center) set text(font: "PingFang SC", la...
https://github.com/The-Notebookinator/notebookinator
https://raw.githubusercontent.com/The-Notebookinator/notebookinator/main/themes/radial/components/graphs.typ
typst
The Unlicense
#import "../colors.typ": * #import "/packages.typ": cetz #import "/utils.typ" /// Creates a labeled pie chart. /// /// Example Usage: /// /// ```typ /// #pie-chart( /// (value: 8, color: green, name: "wins"), /// (value: 2, color: red, name: "losses") /// ) /// ``` /// /// - ..data (dictionary): Each dictionary m...
https://github.com/Ombrelin/adv-java
https://raw.githubusercontent.com/Ombrelin/adv-java/master/Slides/4-oriente-fonction.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/sourcerer:0.2.1": code #import themes.clean: * #show: clean-theme.with( logo: image("images/efrei.jpg"), footer: [<NAME>, EFREI Paris], short-title: [EFREI LSI L3 ALSI62-CTP : Java Avancé], color: rgb("#EB6237") ) #title-slide( title: [Java Avancé], su...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/meta/outline-entry_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // // // Error: 2-27 cannot outline metadata // #outline(target: metadata) // #metadata("hello")
https://github.com/mattheww/tyroshup
https://raw.githubusercontent.com/mattheww/tyroshup/funcalls/funcalls/expressions.typ
typst
#import "fns.typ": dt, t, t2, rubric, std, syntax = Expressions #rubric[Syntax] #syntax[``` Expression ::= ExpressionWithBlock | ExpressionWithoutBlock ExpressionWithBlock ::= OuterAttributeOrDoc* ( AsyncBlockExpression | BlockExpression | IfExpression ...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/capitoli_fisica/macchine.typ
typst
= Macchine <macchine> == Rendimenti <rendimenti> \*rendimenti isoentropici === Turbina adiabatica <turbina-adiabatica> $ eta = upright("Lavoro")_(upright("Estratto")) / upright("Lavoro")_(upright("Isoentropico")) = frac(h_2 - h_1, h_2^(upright("iso")) - h_1) $ L'energia utile qui è il lavoro estratto dalla turbina, a...
https://github.com/sabitov-kirill/comp-arch-conspect
https://raw.githubusercontent.com/sabitov-kirill/comp-arch-conspect/master/questions/6_ram.typ
typst
#heading[Оперативная память.] #emph[Оперативная память (процесс чтения и записи, тайминги для чтения, развитие оперативной памяти).] #import "/commons.typ": imagebox == Чтение и запись в оперативную память === Внутреннее устройство Для начала вспомним, как выглядит оперативная память. #columns(2)[ #imagebox("DRAM....
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/03-lebesgue-integral/01-integral-definition.typ
typst
#import "../../utils/core.typ": * == Определение Интеграла #lemma[ Пусть $f >= 0$ простая#rf("def-simple-fn"), $A_i$ --- допустимое разбиение#rf("def-simple-fn"), $a_i$ --- значения $f$ на $A_i$. $B_j$ --- допустимое разбиение, $b_j$ --- значения $f$ на $B_j$. Тогда $sum_(i = 1)^m a_i mu (E sect A_i) = sum_(j = ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/enum_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test automatic numbering in summed content. #for i in range(5) { [+ #numbering("I", 1 + i)] }
https://github.com/furkan/cv
https://raw.githubusercontent.com/furkan/cv/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Master of Science in Electrical - Electronics Engineering], society: [Middle East Technical University], date: [2020 - 2023], location: [Ankara, TR], // logo: "../src/logos/ucla.png", description: list( [...
https://github.com/MrToWy/Bachelorarbeit
https://raw.githubusercontent.com/MrToWy/Bachelorarbeit/master/Diagrams/full_ER.typ
typst
```pintora erDiagram Faculty { INT id PK STRING color } Faculty_Translation { INT id PK STRING name INT languageId FK INT facultyId FK } Department { INT id PK INT facultyId FK } Department_Translation { INT id PK STRING name INT languageId FK INT depart...
https://github.com/EdwinChang24/resume
https://raw.githubusercontent.com/EdwinChang24/resume/main/README.md
markdown
MIT License
# <NAME>'s Resume Built with [Typst](https://typst.app/).
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/selection_sort.typ
typst
#import "/components/num_row.typ": num_row #let row_swap(nums, i, j) = num_row( nums, hl_primary: i, hl_secondary: j, arrow: ( from: j, to: i, direction: "bidirectional" ) ) #let row_done(nums, i) = num_row( nums, hl_success: range(i+1) ) #let rows(nums) = { let min_index(nums, start) = {...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that there are no hick-ups with justification enabled and // basically empty paragraph. #set par(justify: true) #""
https://github.com/frederiksemmel/linicrypt_typst
https://raw.githubusercontent.com/frederiksemmel/linicrypt_typst/main/lib/template_fs.typ
typst
#import "@preview/ctheorems:1.1.0": * #let script-size = 8pt #let footnote-size = 8.5pt #let small-size = 9pt #let normal-size = 10pt #let large-size = 12pt #let title-size = 14pt // This function gets your whole document as its `body` and formats // it as an article in the style of the American Mathematical Society....
https://github.com/Mufanc/hnuslides-typst
https://raw.githubusercontent.com/Mufanc/hnuslides-typst/master/templates/slides.typ
typst
#import "/configs.typ" #import "/utils/colors.typ" #let leading(title, content) = context { let header = text(size: 2em, weight: 300, fill: colors.secondary.transparentize(20%), title) let decoration-color = colors.primary.transparentize(60%) place( center, box(width: configs.slide.width)[...
https://github.com/Mouwrice/resume
https://raw.githubusercontent.com/Mouwrice/resume/main/modules/professional.typ
typst
#import "../brilliant-CV/template.typ": * #import "@preview/fontawesome:0.1.1": * #let link-icon = super[#fa-arrow-up-right-from-square()] #cvSection("Professional Experience") #cvEntry( title: [Software Developer Internship], society: [Guardsquare], logo: "../src/logos/guardsquare.jpg", date: [July ...
https://github.com/BrainTmp/MetaNote
https://raw.githubusercontent.com/BrainTmp/MetaNote/main/README.md
markdown
# MetaNote: LaTeX/Typst Template for Everyday Mathematics Note Taking Welcome to MetaNote, the LaTeX/Typst template designed specifically for everyday mathematics note taking! Typesetting should be the least of your concerns when taking notes. MetaNote is designed to be as minimal as possible, so that you can focus ...
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/styling/fold.typ
typst
--- fold-vec-order-text-features --- // Test fold order of vectors. #set text(features: (liga: 1)) #set text(features: (liga: 0)) fi --- fold-vec-order-text-decos --- #underline(stroke: aqua + 4pt)[ #underline[Hello] ] --- fold-vec-order-meta --- #let c = counter("mycounter") #c.update(1) // Warning: 1:2-7:3 `loca...
https://github.com/Zuttergutao/Typstdocs-Zh-CN-
https://raw.githubusercontent.com/Zuttergutao/Typstdocs-Zh-CN-/main/version/reference.typ
typst
这是一段测试文本@ss @yy #linebreak() 这也是一段测试文本#cite("ss","yy") #bibliography("ref.yml",title:"参考文献")
https://github.com/gongke6642/tuling
https://raw.githubusercontent.com/gongke6642/tuling/main/Tutorial-Writing%20in%20Typst/Tutorial-Writing%20in%20Typst.typ
typst
Writing in Typst 用Typst写作 Let's get started! Suppose you got assigned to write a technical report for university. It will contain prose, maths, headings, and figures. To get started, you create a new project on the Typst app. You'll be taken to the editor where you see two panels: A source panel where you compose y...
https://github.com/frosty884/vex-typst-notebook
https://raw.githubusercontent.com/frosty884/vex-typst-notebook/main/template.typ
typst
#let notebook(title: "", authors: (), organization: "", location: "", header: none, body) = { set document(author: authors, title: title) // PDF metadata set page(paper:"a4") // Font setup let body-font = "New Computer Modern" let sans-font = "NewCMSans" set text(font: body-font, lang: "en") show math.eq...
https://github.com/dark-flames/apollo-typst
https://raw.githubusercontent.com/dark-flames/apollo-typst/main/content/posts/without-title.md
markdown
Apache License 2.0
+++ title = "Ancestors: Typst (Without Title)" date = "2024-07-09" [taxonomies] tags=["documentation"] [extra] typst = "posts/test" hide_title = true +++