repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/rxt1077/it610
https://raw.githubusercontent.com/rxt1077/it610/master/markup/exercises/volumes.typ
typst
#import "/templates/exercise.typ": exercise, code, admonition #show: doc => exercise( course-name: "Systems Administration", exercise-name: "Docker Volumes", doc, ) == Goals + Create a new volume in Docker + Run a postgres container with the volume mounted + Create a new database on the volume + Back up the vo...
https://github.com/OrangeX4/typst-pinit
https://raw.githubusercontent.com/OrangeX4/typst-pinit/main/pinit-core.typ
typst
MIT License
#let empty-box = box(height: 0pt, width: 0pt, outset: 0pt, inset: 0pt) // ----------------------------------------------- // Code from https://github.com/ntjess/typst-drafting // ----------------------------------------------- #let _run-func-on-first-loc(func, label-name: "loc-tracker") = { // Some placements are de...
https://github.com/jneug/typst-nassi
https://raw.githubusercontent.com/jneug/typst-nassi/main/src/draw.typ
typst
MIT License
#import "@preview/cetz:0.3.0" as cetz: draw #import cetz.util: measure, resolve-number #import "elements.typ": TYPES, empty #let if-auto(value, default, f: v => v) = if value == auto { f(default) } else { f(value) } #let rebalance-heights(elements, height-growth, y: auto) = { // Count elements that can have a...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/text/quotes_05.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test changing properties within text. "She suddenly started speaking french: #text(lang: "fr")['Je suis une banane.']" Roman told me. Some people's thought on this would be #[#set smartquote(enabled: false); "strange."]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/teig/0.1.0/lib.typ
typst
Apache License 2.0
#let _plugin = plugin("teig.wasm") #let eigenvalues(matr) = { let rows = matr.len() let cols = int(matr.map(x => x.len()).sum() / rows) if matr.filter(x => x.len() == cols).len() != rows { panic("Matrix size not consistent") } let data = bytes(matr.flatten().map(x => str(x)).join(",")) let eig_string...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-1F300.typ
typst
Apache License 2.0
#let data = ( ("CYCLONE", "So", 0), ("FOGGY", "So", 0), ("CLOSED UMBRELLA", "So", 0), ("NIGHT WITH STARS", "So", 0), ("SUNRISE OVER MOUNTAINS", "So", 0), ("SUNRISE", "So", 0), ("CITYSCAPE AT DUSK", "So", 0), ("SUNSET OVER BUILDINGS", "So", 0), ("RAINBOW", "So", 0), ("BRIDGE AT NIGHT", "So", 0), ("...
https://github.com/Edubmstr/typst_public
https://raw.githubusercontent.com/Edubmstr/typst_public/main/supercharged-dhbw1/main.typ
typst
#import "@preview/supercharged-dhbw:2.1.0": * #import "acronyms.typ": acronyms #show: supercharged-dhbw.with( title: "Erstellung einer Applikation zur Verwaltung von Enterprise Architecture Engagements in der Cloud Transformation Advisory", type-of-degree-specification: "Sales & Consulting", time-of-thesis: "29...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/149.%20startupideas.html.typ
typst
startupideas.html How to Get Startup Ideas Want to start a startup? Get funded by Y Combinator. November 2012The way to get startup ideas is not to try to think of startup ideas. It's to look for problems, preferably problems you have yourself.The very best startup ideas tend to have three things in common: th...
https://github.com/AHaliq/CategoryTheoryReport
https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter1/notes.typ
typst
#import "../../preamble/lemmas.typ": * #import "../../preamble/catt.typ": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #definition(name: "Category")[ @sa[definition 1.1] A category is a collection of objects and morphisms between them satisfying some properties. $ C = (Ob(C), Hom(C)) ...
https://github.com/typst-jp/typst-jp.github.io
https://raw.githubusercontent.com/typst-jp/typst-jp.github.io/main/docs/reference/styling.md
markdown
Apache License 2.0
--- description: Typst で文書のスタイル設定をするために必要な概念 --- # スタイル設定 Typstには柔軟なスタイル設定機能を持ち、出力される文書に対して自動的に任意のスタイル設定を適用します。 _setルール_ ではエレメントの基本プロパティを設定できます。 しかし、やりたいことすべてに対応するプロパティがあらかじめ実装されているとは限りません。 このため、Typstはエレメントの外観を完全に再定義できる _showルール_ もサポートしています。 ## setルール { #set-rules } setルールを使うと、エレメントの外観をカスタマイズできます。 これらは、`{set}`キーワード...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/show-node.typ
typst
Apache License 2.0
// Test show rules. --- // Override lists. #show list: it => "(" + it.children.map(v => v.body).join(", ") + ")" - A - B - C - D - E --- // Test full reset. #show heading: [B] #show heading: set text(size: 10pt, weight: 400) A #[= Heading] C --- // Test full removal. #show heading: none Where is = There are no...
https://github.com/mrwunderbar666/typst-apa7ish
https://raw.githubusercontent.com/mrwunderbar666/typst-apa7ish/main/src/apa7ish.typ
typst
MIT License
#let script-size = 8pt #let footnote-size = 8.5pt #let small-size = 9.25pt #let normal-size = 11pt #let large-size = 12pt #let conf( title: "", subtitle: none, abstract: none, authors: (), date: none, documenttype: none, keywords: none, disclosure: none, funding: none, anonymous: false, language...
https://github.com/Gekkio/gb-ctr
https://raw.githubusercontent.com/Gekkio/gb-ctr/main/chapter/cpu/instruction-set.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "../../common.typ": * #import "../../timing.typ" #let ops = toml("../../opcodes.toml") #let instruction-block(body, ..grid-args) = [ #body #grid( columns: 1, gutter: 6pt, ..grid-args ) #pagebreak() ] #let simple-instruction-timing(mnemonic: str, timing_data: dictionary) = timing.diagram(w...
https://github.com/howardlau1999/sysu-thesis-typst
https://raw.githubusercontent.com/howardlau1999/sysu-thesis-typst/master/templates/cover.typ
typst
MIT License
#import "../functions/style.typ": * #import "../functions/underline.typ": * #import "../functions/hline.typ": * #import "../info.typ": * #import "../custom.typ": * #box( grid( columns: (auto, auto), gutter: 0.4em, image("../images/vi/sysu-emblem.svg", height: 3em, fit: "contain") ) ) #linebreak() #v(1e...
https://github.com/csimide/SEU-Typst-Template
https://raw.githubusercontent.com/csimide/SEU-Typst-Template/master/seu-thesis/utils/show-heading.typ
typst
MIT License
#import "fonts.typ": 字体, 字号 #import "packages.typ": show-cn-fakebold, i-figured #import "states.typ": * #import "to-string.typ": to-string #import "fake-par.typ": fake-par #let show-heading( // 下方以数组形式给出的参数,代表 level 1, level 2, ... 标题分别使用的参数。 // 超过明示参数范围(数组下标)的,使用数组内最后一个参数 // 标题的上边距和下边距 heading-top-margin: ...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20esterna/Piano%20di%20Qualifica/Piano%20di%20Qualifica.typ
typst
#import "/template.typ": * #import "@preview/cetz:0.2.0" #show: project.with( title: "Piano di Qualifica", subTitle: "Metriche, qualità e valutazione", authors: ( "<NAME>", "<NAME>", ), showLog: true, isExternalUse: true, showImagesIndex: false, ); = Introduzione == Scopo del documento Il prese...
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/clip.typ
typst
#question({ If $a$ is 40% of b, what percentage of $a$ does $b$ exceed $a$ by? }) #let a40 = text(fill: blue, "40") #let a = text(fill: blue, "a")
https://github.com/takotori/PhAI-Spick
https://raw.githubusercontent.com/takotori/PhAI-Spick/main/sections/kosmologie.typ
typst
= Kosmologie *Umkreisung in geringer Höhe:* Gravitationskraft zwischen Satelliten und Erde $F_G$ ist gerade das Gewicht $m g$ des Satelliten, welches es er auch auf der Erde hätte $ m g=(m v^2)/r $ Daraus folgt die Formel für die #table( columns: (50%, 50%), fill: (_, row) => if row == 0 { gray }, [Geschwindigke...
https://github.com/hemmrich/CV_typst
https://raw.githubusercontent.com/hemmrich/CV_typst/master/template/template.typ
typst
/* * Functions for the CV template */ #import "@preview/fontawesome:0.2.1": * #import "./styles.typ": latinFontList, latinHeaderFont, awesomeColors, regularColors, setAccentColor, hBar /// Insert the header section of the CV. /// /// - metadata (array): the metadata read from the TOML file. /// - headerFont (array): ...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/037%20-%20Ravnica%20Allegiance/006_The%20Gathering%20Storm%3A%20Chapter%2012.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "The Gathering Storm: Chapter 12", set_name: "Ravnica Allegiance", story_date: datetime(day: 28, month: 08, year: 2019), author: "<NAME>", doc ) "What about giants?" Kaya said, brightly. "The pair of them in the basement certainly gave me a ...
https://github.com/davystrong/umbra
https://raw.githubusercontent.com/davystrong/umbra/main/README.md
markdown
MIT License
# Umbra Umbra is a library for drawing basic gradient shadows in [typst](https://typst.app). It currently provides only one function for drawing a shadow along one edge of a path. ## Examples <!-- img width is set so the table gets evenly spaced by GitHubs css --> ### Basic Shadow <a href="gallery/basic.typ"> <img ...
https://github.com/EpicEricEE/typst-marge
https://raw.githubusercontent.com/EpicEricEE/typst-marge/main/tests/resolve/dir/test.typ
typst
MIT License
#import "/src/resolve.typ": resolve-dir #context assert.eq(resolve-dir(), ltr) #{ set text(dir: rtl) context assert.eq(resolve-dir(), rtl) } #{ set text(lang: "he") context assert.eq(resolve-dir(), rtl) }
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-text_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test that gradients fills on text work with transforms. #set page(width: auto, height: auto, margin: 10pt) #show box: set text(fill: gradient.linear(..color.map.rainbow)) #rotate(45deg, box[World])
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/grid/basic.typ
typst
Apache License 2.0
#table( columns: (auto, 1fr, auto), gutter: 3pt, [Name], [Age], [Strength], [Hannes], [36], [Grace], [Irma], [50], [Resourcefulness], [Vikram], [49], [Perseverance], ) #table( columns: 3, gutter: 3pt, [Name], [Age], [Strength], [Hannes], [36], [GraceGraceGraceGraceGraceGraceGraceGraceGraceGraceGrac...
https://github.com/magic3007/cv-typst
https://raw.githubusercontent.com/magic3007/cv-typst/master/RESUME_JingMai-EN.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: 10pt, ) // Feel free to change the margin below to best fit your own CV #set page( margin: (x: 0.9cm, y: 1....
https://github.com/StanleyDINNE/php-devops-tp
https://raw.githubusercontent.com/StanleyDINNE/php-devops-tp/main/documents/Rapport/Typst/Constants.typ
typst
#import "Template_default.typ": set_config #let __constants_toml = toml("__private_tools/constants.toml") #let color = __constants_toml.color #let document_data = ( author: ( reb: __constants_toml.author.reb, stan: __constants_toml.author.stan, raf: __constants_toml.author.raf, ) ) #let figures_folder = __c...
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/visualize/gradient-relative-conic.typ
typst
Apache License 2.0
// Test whether `relative: "parent"` works correctly on conic gradients. --- // The image should look as if there is a single gradient that is being used for // both the page and the rectangles. #let grad = gradient.conic(red, blue, green, purple, relative: "parent"); #let my-rect = rect(width: 50%, height: 50%, fill:...
https://github.com/feiyangyy/Learning
https://raw.githubusercontent.com/feiyangyy/Learning/main/linear_algebra/矩阵代数.typ
typst
#import "@preview/cetz:0.2.2" #set text( font: "New Computer Modern", size: 6pt ) #set page( paper: "a5", margin: (x: 1.8cm, y: 1.5cm), ) #set par( justify: true, leading: 0.52em, ) #set heading(numbering: "1.",) = 映射 映射在测度、微积分、代数以及概率论中都有所体现,矩阵与向量相乘,可以看做对向量中的一种映射变换。新版的教材中删去了这个部分(反而显得矩阵代数这部分有点生硬) #let bs = ...
https://github.com/hotwords123/typst-assignment-template
https://raw.githubusercontent.com/hotwords123/typst-assignment-template/main/template.typ
typst
// Asssignment mode: problems #let problem-counter = counter("problem") #let problem-begin() = { problem-counter.step() [== Problem #problem-counter.display() <problem-begin>] } #let problem-body = block.with( fill: rgb(245, 255, 245), width: 100%, inset: 8pt, radius: 4pt, stroke: rgb(128, 199, 128), ) #...
https://github.com/MatejKafka/ctu-thesis-typst
https://raw.githubusercontent.com/MatejKafka/ctu-thesis-typst/main/template/template.typ
typst
// poznamky z tisku: // - zeptat se na studijnim, jestli by nemohli zadani tisknout se spravne zarovnanou zadni stranou (obe strany jsou prirazene doprava, coz pekne vychazi pro prvni stranu, ale ne pro druhou) // - tenke h1 nadpisy pusobi v tisku zvlastne, obzvlast v kontrastu s h2, a margin pod h1 nadpisem taky nen...
https://github.com/saveriogzz/curriculum-vitae
https://raw.githubusercontent.com/saveriogzz/curriculum-vitae/main/modules_it/professional.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Esperienza Professionale") #cvEntry( title: [Data Engineer], society: [Spotify], logo: "../src/logos/spotify_square.png", date: [Lug. 2022 - Presente], location: [Remoto all'interno dell'EMEA], description: list( [Ciao], [Ciao],...
https://github.com/fky2015/resume-ng-typst
https://raw.githubusercontent.com/fky2015/resume-ng-typst/main/README-typst.md
markdown
MIT License
# Resume-ng (Typst Version) A typst resume designed for optimal information density and aesthetic appeal. A LaTeX version # QuickStart `main.typ` will be a good start. A minimal exmaple would be: ```typst #show: project.with( title: "Resume-ng", author: (name: "FengKaiyu"), contacts: ( "+86 188...
https://github.com/wiuri/xjtu_bristol
https://raw.githubusercontent.com/wiuri/xjtu_bristol/main/README.md
markdown
<!-- Improved compatibility of back to top link: See: https://github.com/othneildrew/Best-README-Template/pull/73 <a name="readme-top"></a> <!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or simp...
https://github.com/lucifer1004/leetcode.typ
https://raw.githubusercontent.com/lucifer1004/leetcode.typ/main/problems/p0011.typ
typst
#import "../helpers.typ": * #import "../solutions/s0011.typ": * = Container With Most Water You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the i#super[th] line are `(i, 0)` and `(i, height[i])`. Find two lines that together with the x-axis form a co...
https://github.com/Dherse/typst-glossary
https://raw.githubusercontent.com/Dherse/typst-glossary/main/example/example.typ
typst
#import "../glossary.typ": * #set page(numbering: "I", paper: "a6") #show: glossary.with(( (key: "kuleuven", short: "KU Leuven", long: "Katholieke Universiteit Leuven"), (key: "uclouvain", short: "UCLouvain", long: "Université catholique de Louvain"), (key: "ughent", short: "UGent", long: "Universiteit Ge...
https://github.com/matchy233/typst-chi-cv-template
https://raw.githubusercontent.com/matchy233/typst-chi-cv-template/main/src/chicv.typ
typst
MIT License
#import "@preview/fontawesome:0.4.0": * #let cventry-padding = ( top: 0pt, bottom: 0pt, left: 10pt, right: 5pt, ) #let to-string(input) = { if type(input) == "string" { input } else if type(input) == "content" { if input.has("text") { input.text } else if input.has("children") { in...
https://github.com/DashieTM/ost-5semester
https://raw.githubusercontent.com/DashieTM/ost-5semester/main/experiment/weeks/week9.typ
typst
#import "../../utils.typ": * #section("Continuous Distribution") The issue with continuous distributions is that we no longer have specific intervals, aka we can't do regular math anymore -> we might need derivations and integrations.\ In other words, we are now calculating a range, and not specific timestamps. #align...
https://github.com/lastleon/tree-sitter-typst
https://raw.githubusercontent.com/lastleon/tree-sitter-typst/main/README.md
markdown
## THIS IS STILL A WIP See branch ```develop``` for current state. # Tree-Sitter Grammar For Typst
https://github.com/jasmerri/tsumo
https://raw.githubusercontent.com/jasmerri/tsumo/main/src/parser.typ
typst
MIT License
#import "./tile.typ": ids, types, variants #let _ignored = (" ") #let _z = ( "1": (which: ids.wind.east, type: types.wind), "2": (which: ids.wind.south, type: types.wind), "3": (which: ids.wind.west, type: types.wind), "4": (which: ids.wind.north, type: types.wind), "5": (which: ids.dragon.white, type: type...
https://github.com/pryhodkin/cv
https://raw.githubusercontent.com/pryhodkin/cv/master/template.typ
typst
#let _contact(text, icon, url) = { align(top)[ #box(height: 1em, baseline: 20%)[#pad(right: 0.4em)[#image("icons/" + icon)]] #link(url)[#text] ] } #let _contacts(email, linkedin, github) = { align(right + top)[ #set block(below: 0.5em) #if linkedin != "" { _contact(linkedin, "linkedin.sv...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/PianoDiProgetto/sections/PianificazioneSprint/QuindicesimoSprint.typ
typst
MIT License
#import "../../functions.typ": glossary === Quindicesimo #glossary[sprint] *Inizio*: Venerdì 29/03/2024 *Fine*: Giovedì 04/04/2024 *Obiettivi dello #glossary[sprint]*: - Terminare la stesura del _Piano di Progetto v2.0_: - Aggiornare pianificazione e preventivo pertinenti allo #glossary[sprint] 15 e inserire ...
https://github.com/lxl66566/my-college-files
https://raw.githubusercontent.com/lxl66566/my-college-files/main/信息科学与工程学院/操作系统(选修)/实验/3.typ
typst
The Unlicense
#import "template.typ": * #show: project.with( title: "实验三 进程间管道通信", authors: ( "absolutex", ) ) #align(right)[] + *实验目的* - 理解Linux系统中进程管道通信的基本原理及实现。 + 实验内容: + 编写一个程序,建立一个管道pipe,同时父进程生成一个子进程,子进程向管道pipe中写入一字符串,父进程从pipe中读出该字符串,并每隔3秒输出打印一次。 #include_code("src/3.1.c") - 运行结果:程序每 3 秒钟输出一次 `receiv...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/spread-08.typ
typst
Other
// Error: 13-16 only one argument sink is allowed #let f(..a, ..b) = none
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/052.%20web20.html.typ
typst
web20.html Web 2.0 Want to start a startup? Get funded by Y Combinator. November 2005Does "Web 2.0" mean anything? Till recently I thought it didn't, but the truth turns out to be more complicated. Originally, yes, it was meaningless. Now it seems to have acquired a meaning. And yet those who dislike the te...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history/2010/WS-11.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [Ranking], [Player], [Country/Region], [Rating], [1], [GUO Yan], [CHN], [3107], [2], [GUO Yue], [CHN], [3082], [3], [LI Xiaoxia], [CHN], [3017], [4], [LIU Shiwen], [CHN...
https://github.com/f14-bertolotti/bedlam
https://raw.githubusercontent.com/f14-bertolotti/bedlam/main/src/measure-theory/lebesgue-measure.typ
typst
#import "introduction.typ": * #import "../notation/main.typ": extension, restriction #import "../theme.typ": proof, proposition, theorem, definition, example, comment == Lebesgue Measure #let lebesgue-pre-measure = ( tag : link(<lebesgue-pre-measure>)[Lebesgue pre-measure], sym : n => link(<lebesgue-pre-mea...
https://github.com/sa-concept-refactoring/doc
https://raw.githubusercontent.com/sa-concept-refactoring/doc/main/weekly-updates.typ
typst
// Im ZIP Archive mit abgeben!! #set par(justify: true) #set page( margin: (top: 50pt, bottom: 50pt), header: [ #set text(10pt) #smallcaps[SA — C++ Concept Refactorings] #h(1fr) <NAME>, <NAME> ], ) #set page(numbering: "1 / 1") #set page(columns: 2) = Weekly Update Report == W1 No Updates == W2 =...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Texte_2.typ
typst
#import "template.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( title: "Texte 2", authors: ( "<NAME>", ), date: "30 Octobre, 2023", ) #set heading(numbering: "1.1.") == Comment se poème exprime-t-il le man...
https://github.com/iyno-org/Holistic-Clinical-Neurosurgery
https://raw.githubusercontent.com/iyno-org/Holistic-Clinical-Neurosurgery/main/1.%20Spinal%20Cord/Tract%20Pathologies/tracts.typ
typst
#import "@preview/tufte-memo:0.1.2": * #show: template.with( title: [1. Spinal Cord: Tract Pathologies], shorttitle: [], authors: ( ( name: "<NAME>", ), ), distribution: [iyno.org], toc: true, bib: bibliography("refs.bib") ) #pagebreak() Movement is crucial to human beings and animals in ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/matrix_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test semicolon syntax. #set align(center) $mat() dot mat(;) dot mat(1, 2) dot mat(1, 2;) \ mat(1; 2) dot mat(1, 2; 3, 4) dot mat(1 + &2, 1/2; &3, 4)$
https://github.com/r8vnhill/keen-manual
https://raw.githubusercontent.com/r8vnhill/keen-manual/main/omp/definition.typ
typst
BSD 2-Clause "Simplified" License
The One Max Problem (OMP) is a fundamental optimization challenge that is frequently utilized as a benchmark within the field of evolutionary algorithms and other heuristic search strategies. Evolutionary algorithms, inspired by natural selection, such as genetic algorithms, and heuristic methods, which seek practical...
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/typstfmt/136-raw.typ
typst
Apache License 2.0
- ``` my beautiful raw block ! ``` - #{ let raw_block = ``` another beautiful block ! ``` } A code block: ```rust if b { let x = 2; } ``` #text[ J'ai fait un snippet neovim qui crée des banners ! ``` ////////////////////// // This is a banner // ...
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/VerbaliInterni/VerbaleInterno_231221/content.typ
typst
MIT License
#import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro #import "functions.typ": glossary, team #let participants = csv("participants.csv") = Partecipanti / Inizio incontro: #inizio_incontro / Fine incontro: #fine_incontro / Luogo incontro: #luogo_incontro #table( columns: (3fr, 1fr), [*Nome*], [*Durat...
https://github.com/GeorgeDong32/GD-Typst-Templates
https://raw.githubusercontent.com/GeorgeDong32/GD-Typst-Templates/main/templates/exereport.typ
typst
Apache License 2.0
#import "../functions/style.typ": * #import "../functions/booktab.typ": * #import "../functions/dirac.typ": * #let fonts = ( text: ("Times New Roman", "SimSun"), sans: ("Times New Roman", "SimSun"), code: ("Cascadia Code", "Consolas", "SimSun"), ) #let textbf(it) = block( text( font: fonts.sans, weigh...
https://github.com/YuxuanQin/typst-template
https://raw.githubusercontent.com/YuxuanQin/typst-template/master/README.md
markdown
# typst 模板 [typst](https://typst.app) 是前年冬天发起的年轻项目,旨在取代 `LaTeX` 的地位,其语法之简易令人喜爱不已!因此,我尝试制作了本模板,以供将来使用。 目前,本模板还不完善。 --- typst 仍在开发中,它的亮点基本在于语法简易,近来确有长足进展,能制作一部分与 `LaTeX` 媲美的文档,甚至在论文排版方面也有模有样。**然而**,它还不太成熟,很显然不能与 `LaTeX` 这样的软件巨兽相比较,同时也存在崩溃的风险。 (虽然我 `LaTeX` 崩溃次数更多)
https://github.com/JakMobius/courses
https://raw.githubusercontent.com/JakMobius/courses/main/mipt-os-basic-2024/sem01/main.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/cetz:0.2.2" #import "../theme/theme.typ": * #import "./utils.typ": draw-compiler-lifecycle #show: theme #title-slide[ #align(horizon + center)[ = Базовые инструменты разработки АКОС, МФТИ 12 сентября, 2024 ] ] #show: enable-handout ...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/contrib/templates/std-tests/preset.typ
typst
Apache License 2.0
#let test(lhs, rhs) = { assert(lhs == rhs, message: "Expected \(lhs) to equal \(rhs)") } #let print(..args) = {} #let conifer = rgb("9feb52") #let forest = rgb("43a127") #let test-page(content) = { set page(width: 120pt, height: auto, margin: 10pt) set text(size: 10pt) content }
https://github.com/jrihon/multi-bibs
https://raw.githubusercontent.com/jrihon/multi-bibs/main/chapters/02_chapter/discussion.typ
typst
MIT License
#import "../../lib/multi-bib.typ": * #import "bib_02_chapter.typ": biblio = Discussion #lorem(20)
https://github.com/nvarner/typst-lsp
https://raw.githubusercontent.com/nvarner/typst-lsp/master/editors/vscode/README.md
markdown
MIT License
# Typst LSP VS Code Extension A VS Code extension for Typst. ## Features - Syntax highlighting, error reporting, code completion, and function signature help - Compiles to PDF on save (configurable to as-you-type, or can be disabled) ## Usage Tips - This extension compiles to PDF, but it doesn't have a P...
https://github.com/KVM-Explorer/AssignmentTemplate
https://raw.githubusercontent.com/KVM-Explorer/AssignmentTemplate/main/example.typ
typst
#import "template.typ": * #show: template.with( title: [Full Title], short_title: "Short Title", description: [ ], date: datetime(year: 2024, month: 07, day: 15), authors: ( ( name: "xxx", ), ), affiliations: ( (id: "1", name: "University"), ), bibliography_file: "re...
https://github.com/hongjr03/shiroa-page
https://raw.githubusercontent.com/hongjr03/shiroa-page/main/WXAPP/lab2/main.typ
typst
#import "template.typ": * #import "@preview/tablex:0.0.8": tablex, cellx, rowspanx, colspanx, vlinex, hlinex #import "@preview/cetz:0.2.2" #import "/book.typ": book-page #show: book-page.with(title: "实验 2:天气查询小程序") #let title = "实验 2:天气查询小程序" #let author = "洪佳荣" #let course_id = "移动软件开发" #let instructor = "高峰老师" #l...
https://github.com/dismint/docmint
https://raw.githubusercontent.com/dismint/docmint/main/linear/pset4.typ
typst
#import "template.typ": * #show: template.with( title: "PSET 4", subtitle: "18.06", pset: true, toc: false, ) #set math.mat(delim: "[") #set math.vec(delim: "[") Collaborators: <NAME> = 3.5.31 For the incidence matrix, the columns from left to right are the vertices and the rows from top to bottom are the ...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tidy/0.2.0/README.md
markdown
Apache License 2.0
# Tidy *Keep it tidy.* <!-- [![Tests](https://github.com/Mc-Zen/tidy/actions/workflows/run_tests.yml/badge.svg)](https://github.com/Mc-Zen/tidy/actions/workflows/run_tests.yml) --> **tidy** is a package that generates documentation directly in [Typst](https://typst.app/) for your Typst modules. It parses docstring c...
https://github.com/Trebor-Huang/HomotopyHistory
https://raw.githubusercontent.com/Trebor-Huang/HomotopyHistory/main/intro.typ
typst
#import "common.typ": * = 前言 一个 $n$ 维球面 $SS^n$ 可以以多少种不同的方式套在一个 $m$ 维球面 $SS^m$ 上? 对于 $n = m = 1$ 的情况, 一个圆可以在另一个圆上顺时针或逆时针缠绕任意多圈, 因此可以被整数集 $ZZ$ 描述, 我们写作 $[SS^1 -> SS^1] = ZZ$. 对于 $n < m$ 的情况, 无论怎么摆放, $n$ 维球面都会滑落下来, 因此可以收缩成一个点. 因此 $[SS^n -> SS^m] = 0$. 对于 $n > m$, 看似情况仍然是平凡的. 但是 Hopf 在 1931 年发现了一种方式, 将 $SS^3$ 套在 $SS^2$ 上...
https://github.com/TGM-HIT/typst-diploma-thesis
https://raw.githubusercontent.com/TGM-HIT/typst-diploma-thesis/main/template/chapters/konzept.typ
typst
MIT License
#import "../lib.typ": * = Konzept Nachdem die Studie abgeschlossen und der Weg bestimmt ist soll nun ein Konzept oder eher noch ein Ablauf zur Lösung beschrieben werden. Hier finden sich Diagramme, Skizzen, Drehbücher, Mockups, ..., welche als Basis für die eigentliche Entwicklung verwendet werden.
https://github.com/VadimYarovoy/CourseWork
https://raw.githubusercontent.com/VadimYarovoy/CourseWork/main/main.typ
typst
#import "template.typ": * #show: project.with( type: "КУРСОВАЯ РАБОТА", subject: "«Выполнение работ проекта в рамках выбранных процессов\n жизненного цикла разработки» по дисциплине \"Основы процесса разработки качественного\n программного продукта и его метрология\"", authors: ( (role: [Выполнили:], name: [...
https://github.com/FkHiroki/ex-D2
https://raw.githubusercontent.com/FkHiroki/ex-D2/main/README.md
markdown
MIT No Attribution
![Deploy workflow](https://github.com/kimushun1101/typst-jp-conf-template/actions/workflows/release.yml/badge.svg) ![Deploy workflow](https://github.com/kimushun1101/typst-jp-conf-template/actions/workflows/gh-pages.yml/badge.svg) # typst-jp-conf-template Typst で日本語論文を書くときのテンプレートです. [vscode-typst.webm](https:...
https://github.com/Nrosa01/TFG-2023-2024-UCM
https://raw.githubusercontent.com/Nrosa01/TFG-2023-2024-UCM/main/Memoria%20Typst/capitulos/6.SimuladorGPU.typ
typst
#import "../utilities/gridfunc.typ": * #import "../data/gridexamples.typ": * #import "../data/data.typ": * Ejecutar una simulación de partículas en la GPU supone un desafío. Como se explicó en la @simuladoresArena, y se mencionó en la @SimuladorCPU, los simuladores de arena de por sí no son paralelizables, ya que son ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/meta/heading-02.typ
typst
Other
// Blocks can continue the heading. = #[This is multiline. ] = This is not.
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/01-number-theory/03-modulo-eq.typ
typst
Other
#import "../../utils/core.typ": * == Сравнение по модулю #def[ Пусть $a, b, m in ZZ$. Говорят, что $ a equiv_(m) b & space.quad <==> \ a scripts(equiv)_m b & space.quad <==> \ a equiv b space.third (mod m) & space.quad <==> space.quad m divides (a - b) $ ] #prop[ + $equiv_(m)$...
https://github.com/madhank93/typst-resume-template
https://raw.githubusercontent.com/madhank93/typst-resume-template/main/README.md
markdown
### Commands i) Build ```sh typst compile --font-path ./assets/fonts resume.typ "output_resume.pdf" ``` ii) Dev ```sh typst watch --font-path ./assets/fonts resume.typ "output_resume.pdf" ```
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_6.typ
typst
#import "/0366-[Math]/globals/template.typ": * #import "@preview/colorful-boxes:1.2.0": * #show: project.with( title: "אלגברה לינארית 1א׳ - שיעור 6", authors: ("<NAME>",), date: "18 בינואר, 2024", ) #set enum(numbering: "(1.א)") = תתי-מרחבים וקטוריים ומושגים נוספים === תזכורת יהי $V$ מ״ו מעל השדה $F$ ותהי $U s...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/162.%20work.html.typ
typst
work.html What Doesn't Seem Like Work? January 2015My father is a mathematician. For most of my childhood he worked for Westinghouse, modelling nuclear reactors.He was one of those lucky people who know early on what they want to do. When you talk to him about his childhood, there's a clear watershed at about age 12,...
https://github.com/silverling/resume
https://raw.githubusercontent.com/silverling/resume/main/template.typ
typst
#let serif = ("Palatino Linotype", "Noto Serif CJK SC") #let sans = ("Libertinus Sans", "Noto Sans CJK SC") #let mono = ("Consolas") #let rem = 12pt #let infomation( wechat: none, email: none, phone: none, github: none, avatar: none, ) = { let _title = heading[个人信息] let _wechat = text( size: rem, ...
https://github.com/florianhartung/studienarbeit
https://raw.githubusercontent.com/florianhartung/studienarbeit/main/work/main.typ
typst
#import "dhbw_template/lib.typ": dhbw_template #show: dhbw_template.with( title: [Exploring WebAssembly for versatile plugin systems through the example of a text editor], author: "Hartung, Florian", course: "TINF22IT1", submissiondate: datetime(year: 2025, month: 04, day: 15), workperiod_from: datetime(yea...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-math_03.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test on matrix #show math.equation: set text(fill: gradient.linear(..color.map.rainbow)) #show math.equation: box $ A = mat( 1, 2, 3; 4, 5, 6; 7, 8, 9 ) $
https://github.com/Isaac-Fate/booxtyp
https://raw.githubusercontent.com/Isaac-Fate/booxtyp/master/README.md
markdown
Apache License 2.0
# BooxTyp A Typst template for books. It is inspired by a LaTeX template [ElegantBook](https://github.com/ElegantLaTeX/ElegantBook). ## Example Document See [example.pdf](example/example.pdf) for an example PDF document. Its typ source is in [example.typ](example/example.typ). ## License This project is licensed u...
https://github.com/ClazyChen/Table-Tennis-Rankings
https://raw.githubusercontent.com/ClazyChen/Table-Tennis-Rankings/main/history_CN/2019/WS-07.typ
typst
#set text(font: ("Courier New", "NSimSun")) #figure( caption: "Women's Singles (1 - 32)", table( columns: 4, [排名], [运动员], [国家/地区], [积分], [1], [陈梦], [CHN], [3433], [2], [刘诗雯], [CHN], [3361], [3], [朱雨玲], [MAC], [3352], [4], [孙颖莎], [CHN], [3306], [5], [王曼昱], [CHN], [3294], ...
https://github.com/gRox167/typst-assignment-template
https://raw.githubusercontent.com/gRox167/typst-assignment-template/main/assignment_example.typ
typst
#import "template.typ": * #let title = "Assignment #4" #let author = "<NAME>" #let course_id = "CS101" #let instructor = "<NAME>" #let semester = "Spring 2023" #let due_time = "April 3 at 23:59" #set enum(numbering: "a)") #show: assignment_class.with(title, author, course_id, instructor, semester, due_time) ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-07.typ
typst
Other
// Content blocks also create a scope. #[#let x = 1] // Error: 2-3 unknown variable: x #x
https://github.com/IllustratedMan-code/nixconfig-wsl
https://raw.githubusercontent.com/IllustratedMan-code/nixconfig-wsl/main/assignments-typst/main.typ
typst
#import "@preview/titleize:0.1.0": titlecase #let author(name, affiliation: none, email: none) = (name: name, affiliation: affiliation, email: email) #let csvtable(csvdata) = { let data = csvdata.slice(1) table( columns: csvdata.first().len(), table.header(..csvdata.first()), ..csvdata.slice(1).flatten...
https://github.com/dashuai009/dashuai009.github.io
https://raw.githubusercontent.com/dashuai009/dashuai009.github.io/main/src/content/blog/024.typ
typst
#let date = datetime( year: 2022, month: 3, day: 14, ) #metadata(( title: "陪审团人选", subtitle: [DP], author: "dashuai009", abstract: "", description: "poj上一道DP题。", pubDate: date.display(), ))<frontmatter> #import "../__template/style.typ": conf #show: conf == Description <description> In Frobnia, a ...
https://github.com/mgoulao/arkheion
https://raw.githubusercontent.com/mgoulao/arkheion/main/README.md
markdown
# arkheion A Typst template based on popular LateX template used in arXiv and bio-arXiv. Inspired by [arxiv-style](https://github.com/kourgeorge/arxiv-style) ![Example](example.png) ## Usage **Import** ``` #import "@preview/arkheion:0.1.0": arkheion, arkheion-appendices ``` **Main body** ``` #show: arkheion.with...
https://github.com/PraneethJain/IQIC
https://raw.githubusercontent.com/PraneethJain/IQIC/main/Assignment-1/2022101093.typ
typst
MIT License
#align(center, text(17pt)[*Introduction to Quantum Information and Communication*]) #align(center, text(16pt)[Theory Assignment-1]) #align(center, text(13pt)[<NAME>, 2022101093]) #let ket(x) = $lr(|#x angle.r)$ #let bra(x) = $lr(angle.l #x |)$ #let braket(x, y) = $lr(angle.l #x|#y angle.r)$ #let tensor = $times.circle...
https://github.com/Robotechnic/iridis
https://raw.githubusercontent.com/Robotechnic/iridis/master/lib.typ
typst
MIT License
#import "internals.typ" #let iridis-palette = internals.iridis-palette #let iridis-show( opening-parenthesis: ("(","[","{"), closing-parenthesis: (")","]","}"), palette: internals.iridis-palette, body ) = { let counter = state("parenthesis", 0) show raw : internals.colorize-code(counter, opening-parenthesi...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/visualize/gradient-official_00.typ
typst
Apache License 2.0
#set text(fill: gradient.linear(red, blue), font: "Open Sans") #let rainbow(content) = { set text(fill: gradient.linear(..color.map.rainbow)) box(content) } This is a gradient on text, but with a #rainbow[twist]!
https://github.com/fadimanai/lab4
https://raw.githubusercontent.com/fadimanai/lab4/main/Lab-4.typ
typst
#import "Class.typ": * #show: ieee.with( title: [#text(smallcaps("Lab #4: ROS2 using RCLPY in Julia"))], /* abstract: [ #lorem(10). ], */ authors: ( ( name: "<NAME>", department: [Senior-lecturer, Dept. of EE], organization: [ISET Bizerte --- Tunisia], profile: "a-mhamdi"...
https://github.com/chendaohan/bevy_tutorials_typ
https://raw.githubusercontent.com/chendaohan/bevy_tutorials_typ/main/04_systems/systems.typ
typst
#set page(fill: rgb(35, 35, 38, 255), height: auto, paper: "a3") #set text(fill: color.hsv(0deg, 0%, 90%, 100%), size: 22pt, font: "Microsoft YaHei") #set raw(theme: "themes/Material-Theme.tmTheme") = 1. 系统 系统是 Bevy 的功能模块。它们使用函数(```Rust fn```)和闭包(```Rust FnMut```)实现。这就是你实现所有游戏逻辑的方式。系统只能接受特殊参数类型,以指定你需要访问的数据。 特殊参数类型包括:...
https://github.com/francescoo22/kt-uniqueness-system
https://raw.githubusercontent.com/francescoo22/kt-uniqueness-system/main/src/CFG-based-system.typ
typst
#import "./proof-tree.typ": * #import "./vars.typ": * #import "@preview/commute:0.2.0": node, arr, commutative-diagram = CFG Based System Basic rules for Uniqueness and Borrowing won't change here, but adapted to fit the CFG representation of Kotlin. The key gap between the CFG version and the type rules is at the fu...
https://github.com/unb3rechenbar/TypstPackages
https://raw.githubusercontent.com/unb3rechenbar/TypstPackages/main/README.md
markdown
# Introduction This repository contains code to design typst documents the way I did using LaTeX. Since Typst has a lot of potential, I decided to translate some of my LaTeX definitions to Typst. This repository is a work in progress and will be updated as I continue to work on it. # Table of Contents 1. [Installation...
https://github.com/Jarivanbakel/typst-action
https://raw.githubusercontent.com/Jarivanbakel/typst-action/main/README.md
markdown
MIT License
# typst-action [![Test Github Action](https://github.com/Jarivanbakel/typst-action/actions/workflows/test.yml/badge.svg)](https://github.com/Jarivanbakel/typst-action/actions/workflows/test.yml) A cross-OS GitHub Action to compile Typst documents ## Inputs - `input_files` The Typst file(s) to be compiled. This input...
https://github.com/donRumata03/aim-report
https://raw.githubusercontent.com/donRumata03/aim-report/master/lib/generic-utils.typ
typst
#let blockquote = it => rect(stroke: (left: 2.5pt + gray.lighten(50%)), inset: (left: 1em), fill: gray.lighten(93%), { set text(size: 0.92em) it }) #let lnk(dest, body) = link(dest, emph(underline(text(body, fill: color.mix(rgb("#0000FF"), rgb("#600000").darken(30%)))))) // How to use nested set rules?
https://github.com/Dav1com/resume
https://raw.githubusercontent.com/Dav1com/resume/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Engineering in Computer Science], society: [Faculty of Physical and Mathematical Sciences, University of Chile], date: [Mar 2020 - Present], location: [Santiago, Chile], logo: "../img/uchile.svg", description: ...
https://github.com/zjutjh/zjut-report-typst
https://raw.githubusercontent.com/zjutjh/zjut-report-typst/main/README.md
markdown
## ZJUT-Report-Typst 浙江工业大学的报告模板 > **注意** > 本仓库**并非官方模板** ### 文件说明 - `template/template.typ` 模板入口 - `example.typ` 样例 - [example.pdf](./example.pdf) 编译出的 `pdf` 文件 ## 如何使用 ### Linux/Mac ```bash sh -c "$(wget https://raw.githubusercontent.com/zjutjh/zjut-report-typst/main/get-template.sh -O -)" ``` ### 手动 Clone 本仓库...
https://github.com/rsmith20/typst
https://raw.githubusercontent.com/rsmith20/typst/main/math-facts.typ
typst
#import "@preview/suiji:0.3.0" #let rng = suiji.gen-rng(35835935) #let col_size = 11 #let max = 30 #let integers = suiji.integers(rng, low: 2, high: max, size: 400).at(1) = Math Worksheet // #set align(left) #set text(font: "New Computer Modern Mono") #let problem(x, y, sign) = { // These could be sorted and it...
https://github.com/Myriad-Dreamin/tinymist
https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/crates/tinymist-query/src/fixtures/type_describe/ever_call.typ
typst
Apache License 2.0
#let tmpl(content) = { content } #(tmpl(1)) #(tmpl(2)) #(tmpl(3)) #(/* position after */ tmpl)
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/show-bare.typ
typst
Apache License 2.0
// Test bare show without selector. --- #set page(height: 130pt) #set text(0.7em) #align(center)[ #text(1.3em)[*Essay on typography*] \ <NAME> ] #show: columns.with(2) Great typography is at the essence of great storytelling. It is the medium that transports meaning from parchment to reader, the wave that sparks...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/grotesk-cv/0.1.0/lib.typ
typst
Apache License 2.0
#import "metadata.typ": * #import "@preview/fontawesome:0.2.1": * #let text-font = "<NAME>" #let text-size = 9pt #let header-name = [#first-name #last-name] #let title = [#sub-title] #let text-colors = ( light-gray: rgb("#ededef"), medium-gray: rgb("#78787e"), dark-gray: rgb("#3c3c42"), ) #let accent-color = ...
https://github.com/tairahikaru/old-typst-japanese
https://raw.githubusercontent.com/tairahikaru/old-typst-japanese/main/scsnowman.typ
typst
Other
// scsnowman.typ // https://github.com/tairahikaru/old-typst-japanese // This file is based on scsnowman.sty (https://github.com/aminophen/scsnowman) // Copyright notice of scsnowman.sty is as follows: // > The BSD 2-Clause License // > Copyright (c) 2015-2023 <NAME> // This file is distributed under The BSD 2-Clause L...
https://github.com/giZoes/justsit-thesis-typst-template
https://raw.githubusercontent.com/giZoes/justsit-thesis-typst-template/main/resources/utils/datetime-display.typ
typst
MIT License
#import "@preview/a2c-nums:0.0.1": int-to-cn-num, int-to-cn-ancient-num, int-to-cn-simple-num, num-to-cn-currency // 显示中文日期 #let datetime-display(date) = { date.display("[year] 年 [month] 月 [day] 日") } // 显示英文日期 #let datetime-en-display(date) = { date.display("[month repr:short] [day], [year]") } // 显示汉字日期 #let d...