repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/HiiGHoVuTi/requin
https://raw.githubusercontent.com/HiiGHoVuTi/requin/main/fonc/lc-nuls.typ
typst
#import "../lib.typ": * #show heading: heading_fct #import "@preview/diagraph:0.2.5": * #import "@preview/gloss-awe:0.0.5": gls #show figure.where(kind: "jkrb_glossary"): it => {it.body} #import "@preview/curryst:0.3.0": rule, proof-tree _Ce sujet introduit la théorie derrière les languages fonctionnels comme OCaml ...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/pagebreak.typ
typst
Apache License 2.0
// Test forced page breaks. --- // Just a pagebreak. // Should result in two pages. #pagebreak() --- // Pagebreak, empty with styles and then pagebreak // Should result in one auto-sized page and two conifer-colored 2cm wide pages. #pagebreak() #set page(width: 2cm, fill: conifer) #pagebreak() --- // Two text bodies...
https://github.com/Midbin/cades
https://raw.githubusercontent.com/Midbin/cades/main/typst-package/lib.typ
typst
MIT License
#import "@preview/jogs:0.2.0": compile-js, call-js-function #let qrcode-src = read("./qrcode.js") #let qrcode-bytecode = compile-js(qrcode-src) #let qr-code( content, width: auto, height: auto, color: black, background: white, error-correction: "M", ) = { assert( error-correction == "L" or ...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2011/MS-12.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Men's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [MA Long], [CHN], [3430], [2], [ZHANG Jike], [CHN], [3293], [3], [BOLL Timo], [GER], [3161], [4], [WANG Hao], [CHN],...
https://github.com/fenjalien/cirCeTZ
https://raw.githubusercontent.com/fenjalien/cirCeTZ/main/circuitypst.typ
typst
Apache License 2.0
#import "components.typ" #import "utils.typ" #import "../typst-canvas/draw.typ": * #import "../typst-canvas/coordinate.typ" #import "../typst-canvas/vector.typ" #let canvas-fill = fill #let canvas-stroke = stroke // #let draw-component(component) = { // (( // children: components. // ),) // } #let node(comp...
https://github.com/asmund20/typst-packages
https://raw.githubusercontent.com/asmund20/typst-packages/main/README.md
markdown
Place the "local" folder at {data-dir}/typst/packages/.\ {data-dir} is - $XDG_DATA_HOME or ~/.local/share on Linux - ~/Library/Application Support on macOS - %APPDATA% on Windows
https://github.com/vaibhavjhawar/typst-cv-template1
https://raw.githubusercontent.com/vaibhavjhawar/typst-cv-template1/main/cv1.typ
typst
MIT License
// ================================================== // // Typst Resume/CV Template // https://github.com/vaibhavjhawar/typst-cv-template1 // // Inspired by <NAME>'s Graduate CV LaTex template // // MIT License // // Requires: // - Typst CLI (https://github.com/typst/typst/) // - Fontin Fonts (http://www.exljbris....
https://github.com/31core/prescription
https://raw.githubusercontent.com/31core/prescription/main/README.md
markdown
# prescription 这是一个由typst编写的电子处方模板, 用于快速、方便地生成高质量处方. ## Why Typst 鉴于Word(.doc、.docx)是二进制格式, 不方便git管理; LaTex(TeX Live)安装包体积大, 语法冗余, 而且中文支持不好, 因此我们选择了typst这个轻量、语法简洁的排版工具. ## Usage 基本设置须更改`config.typ`对应的变量, 其中: * `title`: 医院的名称 * `name`: 患者姓名(汉字间建议用空格隔开) * `gender`: 性别, "男"或"女" * `age`: 患者年龄 * `diagnosis`: 诊断内容 * `d...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/034.typ
typst
#let date = datetime( year: 2022, month: 9, day: 3, ) #metadata(( title: "素数的计数", subtitle: [math,数论], author: "dashuai009", description: "存在无求多个素数、存在无穷多个模4余3的素数、算术级数的素数狄利克雷定理、素数定理、哥得巴赫猜想、孪生素数猜想、N方+1猜想", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf == 无...
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/book/git-basics-practice.typ
typst
#import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge, shapes #import fletcher.shapes: diamond #import "components/gh-button.typ": gh_button #import "components/git-graph.typ": branch_indicator, commit_node, connect_nodes, branch = Pratica == Configurare Git Prima di iniziare a utilizzare Git, è importan...
https://github.com/ddorn/cv
https://raw.githubusercontent.com/ddorn/cv/master/readme.md
markdown
This contains my resume. Feel free to copy the template if you want to, it is made with [Typst](https://typst.app/), a modern alternative to LaTeX. [link to PDF version](./out/resume.pdf)
https://github.com/darioglasl/Arbeiten-Vorlage-Typst
https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/Anhang/05_Modulbeschreibung/00_index.typ
typst
== Modulbeschreibung Studienarbeit Informatik <appendixModulbeschreibung> Auszug der Modulbeschreibung auf https://studien.rj.ost.ch/ @modulbeschreibungSA. === Meta Daten #figure( table( columns: (auto, auto), inset: 8pt, align: left, [Kurzzeichen], [M_SAI21], [Durchführungszeitraum], [HS/22-FS/25], [ECTS...
https://github.com/AOx0/expo-nosql
https://raw.githubusercontent.com/AOx0/expo-nosql/main/book/src/slide.md
markdown
MIT License
# Creating slides To fill your presentation with content, you can use the `#slide` function. The only required argument is some content that is supposed to be displayed on the slide, so in the simplest case you can just write ```typ #slide[ Your slide content ] ``` However, there are a couple optional keyword argume...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/layout/page-number-align.typ
typst
Apache License 2.0
// Test page number alignment. --- #set page( height: 100pt, margin: 30pt, numbering: "(1)", number-align: top + right, ) #block(width: 100%, height: 100%, fill: aqua.lighten(50%)) --- #set page( height: 100pt, margin: 30pt, numbering: "[1]", number-align: bottom + left, ) #block(width: 100%, height...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/array-27.typ
typst
Other
// Error: 2-14 cannot calculate product of empty array with no default #().product()
https://github.com/tiankaima/typst-notes
https://raw.githubusercontent.com/tiankaima/typst-notes/master/1e67fb-mma_final_report/main.typ
typst
= 符号计算软件大作业报告 PB21000030 马天开 #table( columns: (1fr, 1fr), align: center, [ Input ], [ Output ], image("imgs/input.jpg", width: 100%), image("imgs/output.png", width: 100%), ) 做了个简单的图像风格化的程序,最后代码大概100行左右,效果如上图所示。 == 处理思路 - Possion Disk Sampling,这个或许 Mathematica 有库函数,对照伪代码,自己搓了一个。 - Delaunay 三角剖分,这个 Math...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/pattern-stroke_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #align( center + top, square( size: 50pt, stroke: 5pt + pattern( size: (5pt, 5pt), align(horizon + center, circle(fill: blue, radius: 2.5pt)) ) ) )
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/basic/writing-markup.typ
typst
Apache License 2.0
#import "mod.typ": * #show: book.page.with(title: [初识标记模式]) Typst是一门简明但强大的现代排版语言,你可以使用简洁直观的语法排版出好看的文档。 Typst希望你总是尽可能少的配置样式,就获得一个排版精良的文档。多数情况下,你只需要专心撰写文档,而不需要在文档内部对排版做任何更复杂的调整。 得益于此设计目标,为了使你可以用Typst编写一篇基本文档,本节仍只需涉及最基本的语法。哪怕只依靠这些语法,你已经可以编写满足很多场合需求的文档。 == 段落 <grammar-paragraph> 普通文本默认组成一个个段落。 #code(```typ 我是一段文本 ``...
https://github.com/a-dixon/typst-template-ieee
https://raw.githubusercontent.com/a-dixon/typst-template-ieee/main/thesis.typ
typst
#import "template.typ": * #show: ieee.with( title: [Title of paper], abstract: [ This is abstract... ], authors: ( ( name: "<NAME>", organization: [Organisation name], email: "Author email" ), ), bibliography: bibliography("literature.bib"), ) // Uncomment the following lines...
https://github.com/vEnhance/1802
https://raw.githubusercontent.com/vEnhance/1802/main/src/stokes.typ
typst
MIT License
#import "@local/evan:1.0.0":* = Generalized Stokes' theorem == [TEXT] The only two things you need to remember for this section Remember the red arrows in @fig-int-chart-stokes? If you followed my advice in @exer-poster, you probably remember where the red arrows in the picture are now. Now it'll pay off in spades, ...
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/tests/types/stroke/test.typ
typst
Other
#import "/src/lib.typ" as z #import "/tests/utility.typ": * #show: show-rule.with(); #let schema = z.stroke() = types/stroke == Input types #let _ = z.parse(stroke(), schema)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/text/raw-align-02.typ
typst
Other
// Error: 17-20 alignment must be horizontal #set raw(align: top)
https://github.com/berceanu/activity-report
https://raw.githubusercontent.com/berceanu/activity-report/main/ultra-short-activity-report.typ
typst
BSD 3-Clause "New" or "Revised" License
#let mk_header( proiect, contract, ) = { set text(font: "DejaVu Sans", 12pt) show text: strong stack(dir: ltr, [#upper(proiect) \ #upper(contract)] ) v(1fr) } #let mk_title( title, ) = { set text(font: "DejaVu Sans", 14pt) show text: strong align(center, [#upper(title)]...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/mark-shapes.typ
typst
Apache License 2.0
#import "drawable.typ" #import "path-util.typ" #import "vector.typ" // Calculate triangular tip offset, depending on the strokes // join type. // // The angle is calculated for an isosceles triangle of base style.widh // and height style.length #let calculate-tip-offset(style) = { if style.stroke.join == "round" { ...
https://github.com/0xPARC/0xparc-intro-book
https://raw.githubusercontent.com/0xPARC/0xparc-intro-book/main/summer-notes-evan/src/0813-math-seminar.typ
typst
#import "@local/evan:1.0.0":* = Sum-check (<NAME>) This follows the notes at #url("https://notes.0xparc.org/notes/sum-check/"), so I won't retype them here.
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S5/PST/docs/4-ProbabilitéConditionnelle/probabilite-conditionnelle.typ
typst
#import "/_settings/typst/template-note.typ": conf #show: doc => conf( title: [ Probabilité conditionnelle ], lesson: "PST", chapter: "4 - Probabilité conditionnelle", definition: "Definition", col: 1, doc, ) = Probabilité conditionnelle == Concept La probabilité conditionnelle nous permet de calcul...
https://github.com/jiang131072/casual-szu-report
https://raw.githubusercontent.com/jiang131072/casual-szu-report/main/lib.typ
typst
MIT License
#let template( body, course-title: auto, experiment-title: auto, faculty: auto, major: auto, instructor: auto, reporter: auto, student-id: auto, class: auto, experiment-date: auto, submission-date: datetime.today(), features: (), ) = { // let font-family = ("Noto Serif", "Noto Serif CJK SC") ...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/cloud/aws/cdk/cdk.md
markdown
# CDK ## Install ``` npm install -g aws-cdk ``` ## Bootstrapping ```console cdk bootstrap aws://ACCOUNT-NUMBER/REGION ``` * lambdaやdocker image等、置いておくためにaccount/region毎に一度だけこの操作が必要 ## Init ```console cdk init app --language typescript ``` ## List stacks ```console cdk ls ``` ## Synth ```consle cdk synth # st...
https://github.com/angelcerveraroldan/notes
https://raw.githubusercontent.com/angelcerveraroldan/notes/main/diff_geo/diff_geo.typ
typst
#import "../preamble.typ" : * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #let abstract = align(center, "TODO") #show: project.with( title: "Diff Geometry", subtitle: "", topright: "Differential Geometry Notes", abstract: abstract, quote: "", ) #let chapters = ( "intro...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/algorithmen/mts.typ
typst
#import "/config.typ": theme #import "@preview/cetz:0.2.2" #set block(spacing: 4pt) #show table: set text(size: 9pt, font: "Noto Sans Mono") #let nums = (-13, 25, 34, 12, -3, 7, -87, 28, -77, 11) #cetz.canvas(length: 10%, { import cetz.draw: * set-style(content: (padding: (bottom: 4pt))) set-style(mark: (end: ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_240215/meta.typ
typst
MIT License
#let data_incontro = "15-02-2024" #let inizio_incontro = "14:00" #let fine_incontro = "15:30" #let luogo_incontro = "Discord"
https://github.com/tzx/NNJR
https://raw.githubusercontent.com/tzx/NNJR/main/README.md
markdown
MIT License
# NNJR NNJR: **N**NJR is **N**ot [**J**ake's **R**esume](https://github.com/jakegut/resume). However, it is similar and is written in `Typst`! ![example.png](./example.png) ## Usage There are two `.typ` files that you can choose to compile: 1. `resume_yaml.typ` allows you to configure just an `yaml` file for your...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/.github/ISSUE_TEMPLATE/bug_report.md
markdown
Apache License 2.0
--- name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **Package/Software version:** VSCode version(Help -> About): ```plain Version: 1.81.1 Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794 Date: ...
https://github.com/SkymanOne/ecs-typst-template
https://raw.githubusercontent.com/SkymanOne/ecs-typst-template/main/template.typ
typst
MIT License
#import "ecsproject.typ": * // Use everything together #show: doc => use_project( title: "My project", author: ( name: "<NAME>", email: none ), supervisor: ( name: "<NAME>", email: none ), examiner: ( name: "<NAME>", email: none ), date: "January 19, 2024", program: "BSc Comp...
https://github.com/3w36zj6/typst-template
https://raw.githubusercontent.com/3w36zj6/typst-template/main/templates/article.typ
typst
#let font-sans-serif = ("<NAME> Gothic") #let font-serif = ("New Computer Modern", "<NAME>") #let font-monospace = ("HackGen Console NF") #let article( title: "Untitled", subtitle: none, author: none, date: none, paginate: true, bib: none, body, ) = { // メタデータの設定 set document(title: title) // 本文の...
https://github.com/IANYEYZ/epigraph
https://raw.githubusercontent.com/IANYEYZ/epigraph/main/README.md
markdown
MIT License
# epigraph epigraph is, as it name suggests, a typst package for creating epigraph. The main feature includes: - Custom position of epigraph - Custom text style for both quote and source - Custom width of epigraph ## What is an epigraph ? An epigraph is some quotes at the beginning of chapter. For example, this is...
https://github.com/yangwenbo99/typst-lasaveur
https://raw.githubusercontent.com/yangwenbo99/typst-lasaveur/master/README.md
markdown
# Typst-lasaveur This is a Typst package for speedy mathematical input, inspired by [vim-latex](https://github.com/vim-latex/vim-latex). This project is named after my Vim plugin [vimtex-lasaveur](https://github.com/yangwenbo99/vimtex-lasaveur), which ports the operations in vim-latex to [vimtex](https://github.com/l...
https://github.com/roife/resume
https://raw.githubusercontent.com/roife/resume/master/chicv.typ
typst
MIT License
#import "fontawesome.typ": * #let chiline() = { v(-8pt); line(length: 100%, stroke: gray); v(-8pt) } #let iconlink( uri, text: "", icon: link-icon ) = { if text != "" { link(uri)[#fa[#icon] #text] } else { link(uri)[#fa[#icon]] } } #let ghrepo( repo, add_link: true, ic...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/216.%20greatwork.html.typ
typst
greatwork.html How to Do Great Work July 2023If you collected lists of techniques for doing great work in a lot of different fields, what would the intersection look like? I decided to find out by making it.Partly my goal was to create a guide that could be used by someone working in any field. But I was also curious ...
https://github.com/pranphy/tymer
https://raw.githubusercontent.com/pranphy/tymer/main/README.md
markdown
MIT License
# tymer A minimalist [typst](https://typst.app/docs) packages to make slide. The theme is kinda like some beamer theme, at least the layout. This doesn't have fancy features like uncover, only etc. I don't find them useful, they are just distractions. # Installation ```bash git clone git@github.com:pranphy/tymer ~...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/addons/vscode/README.md
markdown
MIT License
# [Typst Preview VSCode](https://github.com/Enter-tainer/typst-preview) Preview your Typst files in vscode instantly! ## Features - Low latency preview: preview your document instantly on type. The incremental rendering technique makes the preview latency as low as possible. - Open in browser: open the previe...
https://github.com/xrarch/books
https://raw.githubusercontent.com/xrarch/books/main/xr17032handbook/chapcontrol.typ
typst
#import "@preview/tablex:0.0.6": tablex, cellx, colspanx, rowspanx = Processor Control <control> === Introduction The behavior of the processor is primarily controlled by a small set of control registers (CRs). They are summarized by a table in @controlregs, and are explored in much more detail below. #box([ ===...
https://github.com/LuminolT/SHU-Bachelor-Thesis-Typst
https://raw.githubusercontent.com/LuminolT/SHU-Bachelor-Thesis-Typst/main/template/template.typ
typst
#import "../body/info.typ" : * #import "font.typ" : * #import "toc.typ" : * #import "body.typ" : * #let Thesis( // 参考文献bib文件路径 body, ) = { set page(paper: "a4", margin: ( top: 2.54cm, bottom: 2.54cm, left: 2.5cm, right: 2cm), ) // 封面 in...
https://github.com/maantjemol/Aantekeningen-Jaar-2
https://raw.githubusercontent.com/maantjemol/Aantekeningen-Jaar-2/main/Entrepreneurship/aantekeningen.typ
typst
#import "../template/lapreprint.typ": template #import "../template/frontmatter.typ": loadFrontmatter #import "@preview/drafting:0.2.0": * #import "@preview/cetz:0.2.2" #let default-rect(stroke: none, fill: none, width: 0pt, content) = { pad(left:width*(1 - marginRatio), rect(width: width*marginRatio, stroke: stroke...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/shift_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set underline(stroke: 0.5pt, offset: 0.15em) #underline[The claim#super[\[4\]]] has been disputed. \ The claim#super[#underline[\[4\]]] has been disputed. \ It really has been#super(box(text(baseline: 0pt, underline[\[4\]]))) \
https://github.com/kajiLabTeam/ipsj-national-convention-typst-template
https://raw.githubusercontent.com/kajiLabTeam/ipsj-national-convention-typst-template/main/template/functinos.typ
typst
#let spacer(size: 0pt) = par(text(size: size, "")) #let tbl(tbl, caption: "") = { figure( tbl, caption: caption, supplement: [表], kind: "table", ) } #let img(img, caption: "") = { figure( img, caption: caption, supplement: [図], kind: "image", ) }
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/layout/container-03.typ
typst
Other
// Test fr box. Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_check/annotation_fn2.typ
typst
Apache License 2.0
/// #let fn = `(..args) => any`; /// /// - fn (function, fn): The `fn`. /// - args (any): The `args`. #let fn-wrapper(fn, ..args) = none
https://github.com/JunzheShen/SJTU-Resume-Template-in-Typst
https://raw.githubusercontent.com/JunzheShen/SJTU-Resume-Template-in-Typst/main/resume.typ
typst
#import "template.typ": * // 设置图标, 来源: https://fontawesome.com/icons/ // 如果要修改图标颜色, 请手动修改 svg 文件中的 fill="rgb(38, 38, 125)" 属性 #let faAward = icon("fa-award.svg") #let faCode = icon("fa-code.svg") #let faGraduationCap = icon("fa-graduation-cap.svg") #let faWrench = icon("fa-wrench.svg") #let faCompass = icon("fa-compas...
https://github.com/jneug/schule-typst
https://raw.githubusercontent.com/jneug/schule-typst/main/src/api/typo.typ
typst
MIT License
// TODO: Refactorings // ================================ // = Typographic enhancements = // ================================ #import "@preview/unify:0.6.0" #import "../util/typst.typ" #import "../util/args.typ" #import "../util/util.typ" #import "../theme.typ" // ============================ // Text scaling //...
https://github.com/ralphmb/My-Dissertation
https://raw.githubusercontent.com/ralphmb/My-Dissertation/main/sections/appendix.typ
typst
Creative Commons Zero v1.0 Universal
#let c = counter("appendix") #let appendix(it) = block[ #c.step() #heading([Appendix #c.display("1"): #it], numbering: none, outlined:false) ] #set par(first-line-indent: 0pt) #show table: set text(7pt) #show table: set align(center) Blank/commented lines have been automatically removed from each script. This make...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/components/title.typ
typst
#let title = [ #set block(below: .3em) #set par(leading: .3em) #set text(font: "Noto Serif", size: 40pt, weight: 100) #stack(dir: ltr, spacing: 4pt, [<NAME>], h(1fr), image("../assets/cc.svg", width: 16pt), image("../assets/cc0.svg", width: 16pt), ) #text(weight: 900)[Algorithmen und \ Datenstru...
https://github.com/Dav1com/resume
https://raw.githubusercontent.com/Dav1com/resume/main/metadata.typ
typst
Apache License 2.0
// NOTICE: Copy this file to your root folder. /* Personal Information */ #let firstName = "David" #let lastName = "Ibáñez" #let personalInfo = ( github: "Dav1com", phone: "+569 82137345", email: "<EMAIL>", location: "Santiago, Chile", //linkedin: "johndoe", //gitlab: "mintyfrankie", //homepage: "jd.me...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/call-09.typ
typst
Other
// Error: 8 expected closing paren #{func(}
https://github.com/profetia/me
https://raw.githubusercontent.com/profetia/me/main/src/bin/cv.typ
typst
#show heading: set text(font: "Linux Biolinum") #show link: underline // Uncomment the following lines to adjust the size of text // The recommend resume text size is from `10pt` to `12pt` // #set text( // size: 12pt, // ) // Feel free to change the margin below to best fit your own CV #set page( marg...
https://github.com/FkHiroki/ex-D2
https://raw.githubusercontent.com/FkHiroki/ex-D2/main/docs/native-install.md
markdown
MIT No Attribution
# ローカル環境構築 ## コマンドによるインストール Typst のインストール方法は,[Typst の GitHubページ](https://github.com/typst/typst) にある通りですが,以下の 3 つのパターンが簡単かと思われます. ### Windows PowerShell を開き以下のコマンドを入力する. ```powershell winget install --id Typst.Typst ``` `winget` コマンドが有効でない場合には,Microsoft Store から [アプリインストーラー](https://apps.microsoft.com/detai...
https://github.com/asmund20/typst-packages
https://raw.githubusercontent.com/asmund20/typst-packages/main/local/rapport/1.0.0/main.typ
typst
#let rapport(title: "", authors: (), date: datetime.today().display("[day].[month].[year]"), language: "en", include_outline: false, abstract: none, body) = { // Set the document's basic properties. set document(author: authors, title: title) set page(numbering: "1", number-align: center) set text(font: "Source...
https://github.com/goshakowska/Typstdiff
https://raw.githubusercontent.com/goshakowska/Typstdiff/main/documentation/docs/about.md
markdown
# TypstDiff tool ## Introduction TypstDiff is a tool to compare two documents with Typst extention. Our tool takes two documents and marks changes made in both documents. Styling of those changes can be set by user (more info in user guide). TypstDiff marks: * **insertions** - underlining inserted elements and putting...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/reference/syntax.md
markdown
Apache License 2.0
--- description: | Typstの構文に関するコンパクトなリファレンスです。詳細については、言語のマークアップモード、数式モード、およびコードモードを参照してください。 --- # 構文 Typstはマークアップ言語です。 これは、シンプルな構文を使用して一般的なレイアウトタスクを簡単に行えるということです。 Typstの軽量なマークアップ構文は、文書を簡単かつ自動的にスタイリングできるsetルールとshowルールによって補完されています。 これらすべては、組み込み関数およびユーザー定義関数を備えた、緊密に統合されたスクリプト言語によって支えられています。 ## モード { #modes } Typst...
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/grundpositionen/muensteraner_erklaerung.typ
typst
Other
#import "/src/template.typ": * == #ix("Münsteraner Erklärung") Philosophie ist in einigen Bundesländern immernoch ein Wahl- oder Ersatzfach, obwohl die Kompetenzen, die mit Hilfe philosophischer Arbeit gewonnen werden, für das moderne Leben aktuell und wichtig sind. In der #ix("Münsteraner Erklärung")#en[@Muensterane...
https://github.com/jamesrswift/splendid-mdpi
https://raw.githubusercontent.com/jamesrswift/splendid-mdpi/main/template/main.typ
typst
The Unlicense
#import "@preview/splendid-mdpi:0.1.1" #import "@preview/physica:0.9.3" #show: splendid-mdpi.template.with( title: [Towards Swifter Interstellar Mail Delivery], authors: ( ( name: "<NAME>", department: "Primary Logistics Department", institution: "Delivery Institute", city: "Berlin", ...
https://github.com/yonatanmgr/university-notes
https://raw.githubusercontent.com/yonatanmgr/university-notes/main/0366-%5BMath%5D/globals/toc.typ
typst
#import "@preview/outrageous:0.1.0" #{ show outline.entry: outrageous.show-entry.with(font-weight: ("bold", auto), font: ("", auto), body-transform: (lvl, body) => { if "children" in body.fields() { let (number, space, ..text) = body.children style(styles => { h(measure([.], styles).width * (l...
https://github.com/max-niederman/MATH51
https://raw.githubusercontent.com/max-niederman/MATH51/main/notes/lecture_2023-08-04.typ
typst
#import "../lib.typ": * #show: lecture-notes.with( date: "2023-08-04" ) = Definite quadratic forms A quadratic form $q : RR^n -> RR$ is called _positive-definite_ if $ forall vname(x) in RR^n : vname(x) != vname(0) implies q(vname(x)) > 0 $ = Orthogonal matrices Orthogonal matrices represent transformations wh...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/attach-p2_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test high subscript and superscript. $ sqrt(a_(1/2)^zeta), sqrt(a_alpha^(1/2)), sqrt(a_(1/2)^(3/4)) \ sqrt(attach(a, tl: 1/2, bl: 3/4)), sqrt(attach(a, tl: 1/2, bl: 3/4, tr: 1/2, br: 3/4)) $
https://github.com/RaphGL/ElectronicsFromBasics
https://raw.githubusercontent.com/RaphGL/ElectronicsFromBasics/main/DC/chap2/8_polarity_of_voltage_drops.typ
typst
Other
#import "../../core/core.typ" === Polarity of voltage drops We can trace the direction that electrons will flow in the same circuit by starting at the negative (-) terminal and following through to the positive (+) terminal of the battery, the only source of voltage in the circuit. From this we can see that the elect...
https://github.com/taooceros/typst-sync-packages
https://raw.githubusercontent.com/taooceros/typst-sync-packages/main/README.md
markdown
Apache License 2.0
# typst-packages Typst Packages (majorly my template)
https://github.com/crd2333/template-report
https://raw.githubusercontent.com/crd2333/template-report/master/packages/Packages_test.typ
typst
MIT License
#import "@preview/chic-hdr:0.3.0": * #set page(paper: "a4") #show: chic.with( chic-footer( left-side: strong( link("mailto:<EMAIL>", "<EMAIL>") ), right-side: chic-page-number() ), chic-header( left-side: emph(chic-heading-name()), right-side: smallcaps("Example") ), chic-separato...
https://github.com/teamdailypractice/pdf-tools
https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/thirukkural-cover/t2.typ
typst
#set page("a4") #set text( font: "TSCu_SaiIndira", size: 40pt ) #set align(center) \ \ \ \ திருக்குறள் \ \ #set text( font: "TSCu_SaiIndira", size: 24pt ) #set align(center) மு. வரதராசனார் உரை
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/flyingcircus/3.0.0/template/Main.typ
typst
Apache License 2.0
#import "@preview/flyingcircus:3.0.0" : * #let title = "Sample Flying Circus Book" #let author = "Tetragramm" #show: FlyingCircus.with(Title: title, Author: author, CoverImg: image("images/Cover.png"), Dedication: [Look strange? You probably don't have the fonts installed. Download the fonts from #link("https://gith...
https://github.com/cunhapaulo/typst_styles
https://raw.githubusercontent.com/cunhapaulo/typst_styles/main/example_monography.typ
typst
MIT License
#import "./toolbox/monography.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( university: "Universidade Federal do Pará", sigla: "UFPA", centre: "Instituto de Filosofia e Ciências Humanas", faculty: ...
https://github.com/jamesrswift/journal-ensemble
https://raw.githubusercontent.com/jamesrswift/journal-ensemble/main/src/pages.typ
typst
The Unlicense
#import "pages/contents.typ": contents #import "pages/cover.typ": cover #import "pages/inner.typ": inner
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-33.typ
typst
Other
// Error: 10-41 the return value is too large #calc.lcm(15486487489457, 4874879896543)
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis
https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/src/utils.typ
typst
MIT License
// Validation if content is none or empty #let is-not-none-or-empty(content) = if content != none and content != "" { return true } else { return false } // Validation if dict contains a specified key #let dict-contains-key(dict: (), key) = { if (key in dict) { return true } else { return false } } // Converts cont...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-prec-04.typ
typst
Other
// Parentheses override precedence. #test((1), 1) #test((1+2)*-3, -9) // Error: 14 expected closing paren #test({(1 + 1}, 2)
https://github.com/Error0229/-
https://raw.githubusercontent.com/Error0229/-/main/-.-.%20.-/....%20.--%20..---.typ
typst
The Unlicense
#import "@preview/algo:0.3.3": algo, i, d, comment, code #set text(font: "New Computer Modern") #align(center, text(16pt)[ *Design and Analysis of Computer Algorithms Assignment \#2* ]) #align(right, [資工三 110590004 林奕廷]) = 1. == (a) #algo(title: "Alternating Disk", parameters: ("n", "d"))[ for $i <- 1$ to $n$ do:#...
https://github.com/adeshkadambi/ut-thesis-typst
https://raw.githubusercontent.com/adeshkadambi/ut-thesis-typst/main/main.typ
typst
MIT License
#import "template.typ": ut-thesis, appendix #show: ut-thesis.with( "Cool title for a really cool thesis", "<NAME>", "Doctor of Philosophy", "Institute of Biomedical Engineering", "2024", [#include("0-abstract.typ")], [#include("0-ack.typ")], [#include "0-abbrev.typ"] ) // Your thesis content starts he...
https://github.com/Trebor-Huang/HomotopyHistory
https://raw.githubusercontent.com/Trebor-Huang/HomotopyHistory/main/homology.typ
typst
#import "common.typ": * = 同调代数 同调代数, 就是将拓扑学中出现的同调概念的代数部分抽象出来研究的学科. 在此前代数拓扑的发展中, *链复形*的概念已经浮现出来. 这由一串代数对象 ${C_n}$ 与边界算子 $diff_n : C_n -> C_(n-1)$ 构成, 满足关键的等式 $ diff_n compose diff_(n+1) = 0 $ 简写成 $diff^2 = 0$. 这个简单的式子中蕴含无限丰富的结构. 同调群 $H_n$ 可以抽象地对链复形定义, 即 $ker diff_n$ 商去 $im diff_(n+1)$. 其中 $ker diff_n = Z_n$ 是图中蓝色的部分, 代...
https://github.com/linsyking/messenger-manual
https://raw.githubusercontent.com/linsyking/messenger-manual/main/component.typ
typst
#import "@preview/fletcher:0.4.5" as fletcher: diagram, node, edge #pagebreak() = Components Components can be considered as the basic elements in the game. Every layer contains several components and each type of component has its own logic. Components are versatile. Users can abstract almost every single thing in ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-11D00.typ
typst
Apache License 2.0
#let data = ( ("MASARAM GONDI LETTER A", "Lo", 0), ("MASARAM GONDI LETTER AA", "Lo", 0), ("MASARAM GONDI LETTER I", "Lo", 0), ("MASARAM GONDI LETTER II", "Lo", 0), ("MASARAM GONDI LETTER U", "Lo", 0), ("MASARAM GONDI LETTER UU", "Lo", 0), ("MASARAM GONDI LETTER E", "Lo", 0), (), ("MASARAM GONDI LETTER...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/draw/grouping.typ
typst
Apache License 2.0
#import "/src/process.typ" #import "/src/intersection.typ" #import "/src/path-util.typ" #import "/src/styles.typ" #import "/src/drawable.typ" #import "/src/vector.typ" #import "/src/util.typ" #import "/src/coordinate.typ" #import "/src/aabb.typ" #import "/src/anchor.typ" as anchor_ #import "/src/deps.typ" #import deps....
https://github.com/Jollywatt/typst-wordometer
https://raw.githubusercontent.com/Jollywatt/typst-wordometer/master/tests/word-count/test.typ
typst
MIT License
#import "/src/lib.typ": * #set page(width: 15cm, height: auto) #word-count(totals => [ Hello, stats are in! #totals ]) #block(fill: orange.lighten(90%), inset: 1em)[ #show: word-count One two three four. There are #total-words total words and #total-characters characters. ]
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/layout/gutter/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 0pt) #import "/src/quill.typ": * #box(fill: red, quantum-circuit( column-spacing: 0pt, row-spacing: 0pt, 10pt /*should be ignored*/, gate($H$), 5pt, 10pt, 5pt, gate($H$), 10pt, gate($H$), [\ ], 10pt, gate($H$), gate($H$), gate($H$), [\ ], 10pt, 20pt, gate($H$),...
https://github.com/Mc-Zen/quill
https://raw.githubusercontent.com/Mc-Zen/quill/main/tests/README.md
markdown
MIT License
# Tests for Quill Here, tests for the library are collected. There are - some unit tests testing the Typst code for things like correct gate and instruction creation as well as - output image comparisons for regression tests. The tests are instrumented using [typst-test](https://github.com/tingerrr/typst-test/).
https://github.com/EpicEricEE/typst-droplet
https://raw.githubusercontent.com/EpicEricEE/typst-droplet/master/tests/explicit/test.typ
typst
MIT License
#import "/src/lib.typ": dropcap #set page(width: 6cm, height: auto, margin: 1em) // Test explicitly passed first letter. #dropcap(square(size: 1em), gap: 1em)[A square is a square.] #dropcap(square(size: 1em), gap: 1em, height: 3, lorem(13)) #dropcap(square(), height: 14pt, gap: 1em, lorem(10)) #dropcap[\#1][The win...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/034%20-%20Dominaria/007_Return%20to%20Dominaria%3A%20Episode%207.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Return to Dominaria: Episode 7", set_name: "Dominaria", story_date: datetime(day: 25, month: 04, year: 2018), author: "<NAME>", doc ) Teferi walked out to the beach before dawn, to where he could see Zhalfir reflected in the sunrise. He was...
https://github.com/sthenic/technogram
https://raw.githubusercontent.com/sthenic/technogram/main/src/requirements.typ
typst
MIT License
#import "to-string.typ": * /* Hook to replace references of kind 'requirement' with custom text. */ #let format-reference(it) = { if it.element != none and it.element.has("kind") and it.element.kind == "requirement" { link(it.target, it.element.caption.body) } else { it } } /* Add a set of requirements ...
https://github.com/felsenhower/kbs-typst
https://raw.githubusercontent.com/felsenhower/kbs-typst/master/examples/10.typ
typst
MIT License
= Einführung #text(font: "Comic Sans MS")[ Mein erster Text mit Typst! ] #lorem(20)
https://github.com/pvdrz/cv
https://raw.githubusercontent.com/pvdrz/cv/main/cv.typ
typst
#set page( "us-letter", margin: 2cm, ) #set text( font: "Source Sans Pro", size: 8.7pt, weight: "light" ) #let purple = rgb("#684b75") #align(center)[ #text(size: 32pt, weight: "thin")[Christian] #h(0.5em) #text(size: 32pt, weight: "bold")[ <NAME>iz] #text(weight: "regular", size: 8pt, f...
https://github.com/Myriad-Dreamin/shiroa
https://raw.githubusercontent.com/Myriad-Dreamin/shiroa/main/packages/shiroa/summary-internal.typ
typst
Apache License 2.0
#import "utils.typ": _store-content /// Internal method to convert summary content nodes #let _convert-summary(elem) = { // The entry point of the metadata nodes if metadata == elem.func() { // convert any metadata elem to its value let node = elem.value // Convert the summary content inside the bo...
https://github.com/PgBiel/typst-ansi-gui
https://raw.githubusercontent.com/PgBiel/typst-ansi-gui/main/README.md
markdown
Apache License 2.0
# typst-ansi-gui Small GUI to highlight some Typst code using ANSI escape codes with [@frolozotl](https://github.com/frozolotl)'s amazing https://github.com/frozolotl/typst-ansi-hl Made with [iced](https://iced.rs/). You can **try it in your browser:** https://pgbiel.github.io/typst-ansi-gui/ ![app screenshot](https...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/tests/diagram-cetz-coords/test.typ
typst
MIT License
#set page(width: auto, height: auto, margin: 1em) #import "/src/exports.typ" as fletcher: diagram, node, edge Polar coordinates #diagram( node-fill: teal.transparentize(60%), { node((0,0), [hello], name: <center>) let n = 16 for i in range(0, n) { node((rel: (i*360deg/n, 15mm), to: <center>), $ ast $, fil...
https://github.com/liuguangxi/erdos
https://raw.githubusercontent.com/liuguangxi/erdos/master/Problems/typstdoc/figures/p93_3.typ
typst
#import "@preview/cetz:0.2.1" #cetz.canvas(length: 10pt, { import cetz.draw: * let brown = orange.darken(40%) let os = 0.12 let sqr-mark(cor) = line(cor, (rel: (0.24, 0.24)), stroke: black+3.6pt) line((2.3, 0), (3, 2.8), stroke: yellow+3pt) line((3, 0), (4.3, 2.5), stroke: yellow+3pt) line...
https://github.com/TheLukeGuy/backtrack
https://raw.githubusercontent.com/TheLukeGuy/backtrack/main/src/versions.typ
typst
Apache License 2.0
// Copyright © 2023 <NAME> // This file is part of Backtrack. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at <http://www.apache.org/licenses/LICENSE-2.0>. // // Unless required by applic...
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/components/math.typ
typst
#import "/config.typ": theme #let hlp(math) = { set text(fill: theme.primary) math } #let hls(math) = { set text(fill: theme.secondary) math }
https://github.com/bckmnn/typst-planner
https://raw.githubusercontent.com/bckmnn/typst-planner/main/README.md
markdown
MIT License
# typst-planner Typst Package to create plans and timelines and overviews.
https://github.com/EliasRothfuss/vorlage_typst_doku-master
https://raw.githubusercontent.com/EliasRothfuss/vorlage_typst_doku-master/main/chapter/abstract.typ
typst
= Kurzfassung Problemstellung Ziel der Arbeit Vorgehen und angewandte Methoden Konkrete Ergebnisse der Arbeit, am besten mit quantitativen Angaben #pagebreak() = Abstract Variante sorgt dafür, das Abstract nicht im Inhaltsverzeichnis auftaucht English translation of the #emph[Kurzfassung]
https://github.com/loreanvictor/master-thesis
https://raw.githubusercontent.com/loreanvictor/master-thesis/main/thesis_typ/math_classes.typ
typst
MIT License
#let sees = math.class( "relation", sym.lt.tri ) #let sharesscope = math.class( "relation", sym.eq.delta ) #let blindto = math.class( "relation", sym.lt.tri.not ) #let selects = math.class( "relation", sym.lt.tri.eq ) #let success = math.class( "normal", sym.circle.filled ) #let semisuccess = m...
https://github.com/maucejo/presentation_polylux
https://raw.githubusercontent.com/maucejo/presentation_polylux/main/src/_progress-bars.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import "_config.typ": * #let cell = block.with( width: 100%, height: 100%, above: 0pt, below: 0pt, breakable: false ) #let slide-progress-bar = utils.polylux-progress( ratio => { grid( columns: (ratio * 100%, 1fr), cell(fill: colors.red), cell(fill: colors....
https://github.com/WinstonMDP/math
https://raw.githubusercontent.com/WinstonMDP/math/main/exers/a.typ
typst
#import "../cfg.typ": * #show: cfg $ "Prove that" ex(lim_(n -> oo) x_n) -> lim_(n -> oo) abs(x_n) = abs(lim_(n -> oo) x_n) $ That is, $all(epsilon > 0) ex(N) all(n > N): abs(abs(lim_(n -> oo) x_n) - abs(x_n)) < epsilon$ $ex(N) all(n > N): abs(lim_(n -> oo) x_n - x_n) < epsilon$ $all(a\, b): abs(abs(a) - abs(b)) <= a...
https://github.com/Zateros/dimat-tetelek
https://raw.githubusercontent.com/Zateros/dimat-tetelek/main/dimat_elso.typ
typst
#import "@preview/cetz:0.2.2" #let colorS = color.rgb("#B4D3B4") #set page( paper: "a4", numbering: "1.", margin: (x: 40pt, y: 40pt) ) #set document( author: "<NAME> & <NAME>", title: "Diszkrét matematika vizsgatételek" ) #set text( size: 15pt, font: "Times New Roman" ) #set par( justify: true, ) ...