repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/jultty/skolar
https://raw.githubusercontent.com/jultty/skolar/main/template.typ
typst
#let properties_schema = ( title: "Document Title", author: "<NAME>", course: "Course Name", course_id: "COURSE_ID", date: datetime.today().display("[day]/[month]/[year]"), landscape: false, margin_x: 2cm, margin_y: 2cm, paper: "a5", ) // completes the user-provided properties with default values for...
https://github.com/Error-418-SWE/Documenti
https://raw.githubusercontent.com/Error-418-SWE/Documenti/src/2%20-%20RTB/Documentazione%20interna/Verbali/23-11-19/23-11-19.typ
typst
#import "/template.typ": * #show: project.with( date: "19/11/23", subTitle: "Meeting di retrospettiva e pianificazione", docType: "verbale", authors: ( "<NAME>", ), timeStart: "15:00", timeEnd: "17:00", ); = Ordine del giorno - Retrospettiva dello Sprint 2; - Discussione stato di avanzamento; - Pian...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/calc-30.typ
typst
Other
// Test the `binom` function. #test(calc.binom(0, 0), 1) #test(calc.binom(5, 3), 10) #test(calc.binom(5, 5), 1) #test(calc.binom(5, 6), 0) #test(calc.binom(6, 2), 15)
https://github.com/lphoogenboom/typstThesisDCSC
https://raw.githubusercontent.com/lphoogenboom/typstThesisDCSC/master/typFiles/acronyms.typ
typst
// Dictionary with acronyms #import "../acronymList.typ": acronyms // The state which tracks the used acronyms #let usedAcronyms = state("usedDic", (:)) // #acro() displays long name format for acronyms in acronymsList.typ #let acro(key) = { if(acronyms.keys().contains(key) == false) { return rect( fill: ...
https://github.com/seven-mile/blog-ng-content
https://raw.githubusercontent.com/seven-mile/blog-ng-content/master/_typst_ts_tmpl/template.typ
typst
#let heiti = ("Times New Roman", "Source Han Sans SC", "Source Han Sans TC", "Noto Sans CJK SC", "Noto Sans CJK TC", "New Computer Modern", "New Computer Modern Math") #let songti = ("Source Han Serif SC", "Source Han Serif TC", "Noto Serif CJK SC", "Noto Serif CJK TC", "New Computer Modern", "New Computer Modern Math"...
https://github.com/Coekjan/typst-upgrade
https://raw.githubusercontent.com/Coekjan/typst-upgrade/master/README.md
markdown
MIT License
# Typst Upgrade [![](https://img.shields.io/crates/v/typst-upgrade )](https://crates.io/crates/typst-upgrade) [![](https://img.shields.io/crates/d/typst-upgrade)](https://crates.io/crates/typst-upgrade) [![](https://img.shields.io/github/license/Coekjan/typst-upgrade )](https://github.com/Coekjan/typst-upgrade) [![](h...
https://github.com/hugoledoux/msc_geomatics_thesis_typst
https://raw.githubusercontent.com/hugoledoux/msc_geomatics_thesis_typst/main/appendices/someumldia.typ
typst
MIT License
= Some UML diagrams #figure( image("../figs/someuml.svg"), caption: [The UML diagram of something that looks important.], )<fig:someuml>
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-justify-cjk_02.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test punctuation whitespace adjustment #set page(width: auto) #set text(lang: "zh", font: "Noto Serif CJK SC") #set par(justify: true) #rect(inset: 0pt, width: 80pt, fill: rgb("eee"))[ “引号测试”,还, 《书名》《测试》下一行 《书名》《测试》。 ] 「『引号』」。“‘引号’”。
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CSL_old/oktoich/Hlas5/1_Pondelok.typ
typst
#let V = ( "HV": ( ("","Rádujsja póstnikom","Pláču i sítuju hórci, smotrjája strášnoje slóva vozdajánije, ot ďíl ne imýj otvíta i mála protívu viňí, okajánnyj. Ťímže moľúsja: préžde dáže ne postíhnet mjá koncá mojehó bezmístnoje, préžde požátija smértnaho, préžde sudá strášnaho, préžde choťášču mí osuždénije prij...
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/05-determinants-more-props.typ
typst
Other
#import "../../utils/core.typ": * == Дальнейшие свойства определителя #ticket[Определитель блочно-треугольной матрицы] #pr[ Пусть $A = mat(delim: "[", B, X; 0, C),$ где матрицы $B$ и $C$ квадратные. Тогда $det(A) = det(B) mul det(C)$. Такая матрица $A$ называется _блочно-треугольной матрицей_. ] #proof[ ...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/dict-02.typ
typst
Other
// Test rvalue missing key. #{ let dict = (a: 1, b: 2) // Error: 11-23 dictionary does not contain key "c" and no default value was specified let x = dict.at("c") }
https://github.com/tingerrr/chiral-thesis-fhe
https://raw.githubusercontent.com/tingerrr/chiral-thesis-fhe/main/src/core/component/affidavit.typ
typst
#import "/src/core/authors.typ" as _authors #import "/src/core/kinds.typ" as _kinds #import "/src/utils.typ" as _utils #let make-affidavit( title: "Mustertitel", author: "<NAME>", date: datetime(year: 1970, month: 01, day: 01), body: auto, kind: _kinds.report, ) = { _authors.assert-author-valid(author) ...
https://github.com/rytst/convex_analysis
https://raw.githubusercontent.com/rytst/convex_analysis/main/03_convex_functions/proposition_3.16/unequivocal-ams/proposition_3.16.typ
typst
#import "@preview/unequivocal-ams:0.1.0": ams-article, theorem, proof #show: ams-article.with( title: [Convex Analysis Workshop], authors: ( ( name: "<NAME>", email: "<EMAIL>", ), ), bibliography: bibliography("refs.bib"), ) #import "@preview/ctheorems:1.1.2": * #show: thmrules.with(qed-s...
https://github.com/Hao-Yuan-He/resume_typst
https://raw.githubusercontent.com/Hao-Yuan-He/resume_typst/main/readme.md
markdown
This is a template for resume based on `typst`, specifically, this template is developed based on [This Repo](https://github.com/stuxf/basic-typst-resume-template). --- The advantages of this template: - `bib` for academic publication list - Flexible format and content replacement. - Easy to use and re-develop. ##...
https://github.com/kaarmu/splash
https://raw.githubusercontent.com/kaarmu/splash/main/src/palettes/beamer.typ
typst
MIT License
/* The classic beamer colors (and metropolis!). * * == Metropolis theme == * Source: https://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/beamer-contrib/themes/metropolis/doc/metropolistheme.pdf * Accessed: 2023-04-12 */ // TODO: Add the normal beamer color themes #let beamer = ( metropolis-dark-brown : rgb...
https://github.com/BenH11235/cryptoctf23_did_it_solution
https://raw.githubusercontent.com/BenH11235/cryptoctf23_did_it_solution/main/solution.typ
typst
#let title = "DiD It (2023 CryptoCTF) -- Solution" #let author = "<NAME>" #import "@preview/ctheorems:1.1.0": * #show: thmrules #set heading(numbering: "1.1") #show link: underline #set document( title: title, author: author ) #let theorem = thmbox( "theorem", "Theorem", fill: rgb("#e8e8f8") ) #let lemm...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-bidi_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test inline object. #set text(lang: "he") קרנפיםRh#box(image("/assets/files/rhino.png", height: 11pt))inoחיים
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch10-ipynb.typ
typst
MIT License
== Data Preparation: Merging the CSV Files and Creating Named Tuples One of the challenges of working with the LUNA16 dataset is that it provides two separate CSV files that contain information about the candidates and the annotations. The candidates.csv file has four columns: seriesuid, coordX, coordY, and coordZ, w...
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Lausanne.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: "Lausanne", authors: ( "<NAME>", ), date: "4 Août, 2024", ) #set heading(numbering: "1.1.") - Forfait - Suisse - Prix - 12...
https://github.com/DieracDelta/presentations
https://raw.githubusercontent.com/DieracDelta/presentations/master/polylux/book/src/utils/sections.md
markdown
# Sections Another way of expressing where we are in a presentation is working with sections. Usually, this is a topic that a theme will/should handle so **this page is addressed more towards theme authors**. In your theme, you can incorporate the following features from the `utils` module: First, whenever a user wan...
https://github.com/marcothms/clean-polylux-typst
https://raw.githubusercontent.com/marcothms/clean-polylux-typst/main/theme.typ
typst
#import "@preview/polylux:0.3.1": * #import "@preview/codelst:1.0.0": sourcecode // CONFIG: Font #let font = "Roboto" #let weight = "light" #let size = 20pt // CONFIG: Color #let color-primary = rgb("#66A182") #let color-foreground = rgb("#5c6a72") #let color-background = rgb("#ffffff") #let footer-lighten-value = 5...
https://github.com/CedricMeu/ugent-typst-template
https://raw.githubusercontent.com/CedricMeu/ugent-typst-template/main/0.1.0/lib.typ
typst
#import "@preview/acrostiche:0.3.1": init-acronyms, print-index #import "lib/research-questions.typ": init-rqs #import "lib/utils.typ": current-academic-year #let thesis( // The title of this thesis [content] title: none, // the authors of this thesis [array of strings] authors: none, // the font that's used...
https://github.com/grnin/Zusammenfassungen
https://raw.githubusercontent.com/grnin/Zusammenfassungen/main/Bsys2/06_Scheduling.typ
typst
// Compiled with Typst 0.11.1 #import "../template_zusammenf.typ": * #import "@preview/wrap-it:0.1.0": wrap-content /*#show: project.with( authors: ("<NAME>", "<NAME>"), fach: "BSys2", fach-long: "Betriebssysteme 2", semester: "FS24", tableofcontents: (enabled: true), language: "de" )*/ = Scheduling Auf e...
https://github.com/MHellmund/typst-kbd-cheatsheet
https://raw.githubusercontent.com/MHellmund/typst-kbd-cheatsheet/main/Readme.md
markdown
MIT License
# A keyboard cheatsheet written in Typst loading a YAML file with keyboard codes The design was inspired by <NAME>'s beautiful LaTeX template https://gist.github.com/alexander-yakushev/c773543bf9a957749f79 .
https://github.com/Toniolo-Marco/git-for-dummies
https://raw.githubusercontent.com/Toniolo-Marco/git-for-dummies/main/slides/practice/commit.typ
typst
#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly #import "@preview/fletcher:0.5.1" as fletcher: node, edge #let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide) #import "../components/gh-button.typ": gh_button #import "../c...
https://github.com/HEIGVD-Experience/docs
https://raw.githubusercontent.com/HEIGVD-Experience/docs/main/S4/WEB/docs/3-JavaScript/javascript.typ
typst
#import "/_settings/typst/template-note-en.typ": conf #show: doc => conf( title: [ JavaScript ], lesson: "WEB", chapter: "3 - JavaScript", definition: "This text provides a comprehensive introduction to JavaScript, covering its educational objectives, differences between client and server environments, da...
https://github.com/SillyFreak/typst-crudo
https://raw.githubusercontent.com/SillyFreak/typst-crudo/main/tests/unit/test.typ
typst
MIT License
#import "/src/lib.typ" as crudo // the output is not relevant for this test #set page(width: 0pt, height: 0pt) #assert.eq( crudo.r2l(```txt first line second line ```), ( ("first line", "second line"), (block: true, lang: "txt"), ), ) #assert.eq( crudo.r2l(raw("first line\nsecond line")), ( ...
https://github.com/pedrofp4444/BD
https://raw.githubusercontent.com/pedrofp4444/BD/main/report/content/[3] Modelação Concetual/caracterização.typ
typst
#let caracterização = { [ == Identificação e Caracterização dos Atributos das Entidades e dos Relacionamentos Nesta etapa, a caracterização dos atributos das entidades e, possivelmente, dos relacionamentos passa a ser o alvo principal. #figure( caption: "Caracterização dos atributos da entidade F...
https://github.com/Ttajika/class
https://raw.githubusercontent.com/Ttajika/class/main/math_for_basic_micro/math_for_basic_micro.typ
typst
#import "slide_template.typ": * #show: project.with( title:"基礎ミクロ経済学のための数学", authors: ("<NAME>",), emph_color:white.darken(2%), size:20pt, //margin:(right:20pt、top:10pt、 left:20pt、 bottom:10pt) ) #import "@preview/cades:0.3.0": qr-code #show link: underline #text(size:10pt)[Powered by Typst (#link("https://typs...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/035%20-%20Core%202019/010_Unbowed%2C%20Part%202.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Unbowed, Part 2", set_name: "Core 2019", story_date: datetime(day: 05, month: 09, year: 2018), author: "<NAME>", doc ) Vivien awoke to the taste of tin in her mouth. Paste-like, it coated the insides of her cheeks and the underside of her t...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/cancel_06.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Specifying cancel line angle with a function $x + cancel(y, angle: #{angle => angle + 90deg}) - cancel(z, angle: #(angle => angle + 135deg))$ $ e + cancel((j + e)/(f + e)) - cancel((j + e)/(f + e), angle: #(angle => angle + 30deg)) $
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/008_Ixalan%3A%20Three%20Hundred%20Steps%20under%20the%20Sun.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Ixalan: Three Hundred Steps under the Sun", set_name: "March of the Machine", story_date: datetime(day: 21, month: 04, year: 2023), author: "<NAME>", doc ) #strong[Now] The jungles around Orazca burned, a ring of fire so hot that the golde...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/023%20-%20Oath%20of%20the%20Gatewatch/006_Oath%20of%20the%20Gatewatch.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Oath of the Gatewatch", set_name: "Oath of the Gatewatch", story_date: datetime(day: 03, month: 02, year: 2016), author: "<NAME>", doc ) #emph[Chandra has joined the other Planeswalkers, rescuing Gideon, Jace, and Nissa from the prison of a...
https://github.com/Ttajika/auto-ref-numbery
https://raw.githubusercontent.com/Ttajika/auto-ref-numbery/main/0.0.1/translation.typ
typst
MIT License
#let trans = ( en: (Proposition: "Proposition", Theorem: "Theorem", Table: "Table", Figure: "Figure", Assumption: "Assumption", Definition: "Definition", Corollary: "Corollary", Lemma: "Lemma", Remark: "Remark", Example: "Example", Claim: "Claim", Fact:...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/024%20-%20Shadows%20over%20Innistrad/012_I%20Am%20Avacyn.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "I Am Avacyn", set_name: "Shadows Over Innistrad", story_date: datetime(day: 18, month: 05, year: 2016), author: "<NAME>", doc ) #emph[Jace and Tamiyo have followed clues to Thraben Cathedral, the roost of the mad angel Avacyn. Avacyn attack...
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/identify-elevation/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Identify: Elevation", type: "identify", date: datetime(year: 2023, month: 11, day: 3), author: "<NAME>", witness: "Violet Ridge", ) Elevation is a key part of scoring ...
https://github.com/darioglasl/Arbeiten-Vorlage-Typst
https://raw.githubusercontent.com/darioglasl/Arbeiten-Vorlage-Typst/main/Anhang/03_Projektplan/00_projektmanagement.typ
typst
=== Projektmanagement ==== Rollenverteilung #par(justify: false)[ #figure( table( columns: (auto, auto, auto), inset: 10pt, align: left, [*Wer*], [*Was*], [*Verantwortlichkeiten*], [Anna Abc], [Scrum Master, Entwickler], [Leiten der Scrum Meetings, Verantwortung Frontend, User Stories umsetzen], [<NAME>]...
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/CU/minea/1_generated/00_all/01_september.typ
typst
#import "../../../all.typ": * #show: book = #translation.at("M_01_september") #include "../01_september/26.typ" #pagebreak()
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/docs/tutorial/1-writing.md
markdown
Apache License 2.0
--- description: Typst's tutorial. --- # Writing in 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 sou...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/let-15.typ
typst
Other
// Error: 6-12 cannot destructure boolean #let (a, b) = true
https://github.com/GolemT/BA-Template
https://raw.githubusercontent.com/GolemT/BA-Template/main/main.typ
typst
#import "template.typ": * #import "acronyms.typ": Acronyms #import "glossar.typ": Glossar #show: project.with( // Folgende Einstellungen einkommentieren und anpassen wenn benötigt. // title: "", authors: ( (name: "<NAME>", Matrikelnummer: "222033"), (name: "<NAME>", Matrikelnummer: "222097"), (nam...
https://github.com/rem3-1415926/Typst_Thesis_Template
https://raw.githubusercontent.com/rem3-1415926/Typst_Thesis_Template/main/appendix/app3.typ
typst
MIT License
= Appendix Three Typst does not like having an A3 paper as last one with this template, so... Here we go.
https://github.com/ivaquero/lang-speeches
https://raw.githubusercontent.com/ivaquero/lang-speeches/main/es%20-%20javier%20milei%20-%20un.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "El Debate General del 79 Período de Sesiones", author: ("<NAME>"), footer-cap: "", header-cap: "Speech Collection", outline-on: false, lang: "en", doc, ) #tip[ Palabras del Presidente de la Nación <NAME>, en el debate general, del 79 Período...
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/docs/manual.typ
typst
MIT License
#import "@preview/tidy:0.2.0" #import "/src/exports.typ" as fletcher: diagram, node, edge #import "/docs/style.typ" #set page(numbering: "1") #set par(justify: true) #show link: underline.with(stroke: 1pt + blue.lighten(70%)) // show references to headings as the heading title with a link // not as "Section 1.2.3" #s...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/advanced-topics-cs/quantum-algorithms/common.typ
typst
#let tensor = $times.circle$ #let phi = $phi.alt$ #let jstr = $arrow(j)$ #let lstr = $arrow(l)$ #let bra(var) = $angle.l #h(.5pt) #var #h(.5pt)|$ #let ket(var) = $|#h(.5pt) #var #h(.5pt) angle.r$ #let inner(x, y) = $angle.l #x #h(.5pt)|#h(.5pt) #y angle.r$
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/typ/book/lib.typ
typst
Apache License 2.0
// #import "@preview/typst-ts-variables:0.1.0": page-width, target #import "variables.typ": page-width, target // export typst.ts variables again, don't import typst-ts-variables directly #let get-page-width() = page-width #let target = target #let is-web-target() = target.starts-with("web") #let is-pdf-target() = t...
https://github.com/werifu/HUST-typst-template
https://raw.githubusercontent.com/werifu/HUST-typst-template/main/cs-template.typ
typst
MIT License
#import "@preview/lovelace:0.2.0": * #let huawenkaiti = ("Times New Roman", "STKaiti") #let heiti = ("Times New Roman", "Heiti SC", "Heiti TC", "SimHei") #let songti = ("Times New Roman", "Songti SC", "Songti TC", "SimSun") #let zhongsong = ("STZhongsong", "Times New Roman") #let bib_cite(..names) = { for name in ...
https://github.com/taylorh140/typst-graphviz-plugin
https://raw.githubusercontent.com/taylorh140/typst-graphviz-plugin/master/Gviztest.typ
typst
#let wasm = plugin("./dot.wasm") #let render(code) = { return str(wasm.render(bytes(code))) } #let render-svg(code, width: auto, height: auto, alt: none, fit: "cover") = { set text(font:"linux libertine",fill:black) image.decode(render(code), format: "svg", alt: alt, fit: fit) //render(code) } ...
https://github.com/maxlambertini/scravellerchargen
https://raw.githubusercontent.com/maxlambertini/scravellerchargen/main/scraveller_eng.typ
typst
#import "@preview/tablex:0.0.8": tablex, rowspanx, colspanx #set page( width:29.7cm, height:21cm, margin: (left: 1cm, right: 1cm, top:1cm, bottom: 1cm), numbering: none, ) #set rect( width: 100%, height: 100%, inset: 4pt, ) #set block( width:100%, ) #set text(lang: "en", size: 11pt) #set text(font: ...
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-autori/wolker.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": autor #autor("<NAME>", "1900", "1924", "spisovatel, překladatel, novinář", "PF UK", "proletářská literatura", "/cj-autori/media/wolker.jpg") Byl členem skupiny #underline[Devětsil] která byla založena socialisticky orientovanými výtvarníky. Dalšími členy byli například <NAME>, nebo K. Teige. De...
https://github.com/alberto-lazari/computer-science
https://raw.githubusercontent.com/alberto-lazari/computer-science/main/lcd/project-presentation/vcc-presentation.typ
typst
#import "/common.typ": * #set text(font: "Roboto") #show raw: itself => { set text(font: "Menlo"); itself } // Add background to monospace text #show raw.where(block: false): box.with( fill: luma(220), inset: (x: 5pt, y: 0pt), outset: (y: 10pt), radius: 10pt, ) #show raw.where(block: true): it => { set text(s...
https://github.com/ayoubelmhamdi/typst-phd-AI-Medical
https://raw.githubusercontent.com/ayoubelmhamdi/typst-phd-AI-Medical/master/chapters/ch00-int.typ
typst
MIT License
#import "../tablex.typ": tablex, cellx, rowspanx, colspanx #let finchapiter = text(fill:rgb("#1E045B"),[■]) = INTRODUCTION GÉNÉRALE. == Étendue du problème. #counter(figure.where(kind: image)).update(0) Dans le monde entier, le cancer du poumon est la cause principale des décès liés au cancer #cite("Siegel2017Cance...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/string-17.typ
typst
Other
// Error: 23-32 expected string or function, found array #"123".replace("123", (1, 2, 3))
https://github.com/teamdailypractice/pdf-tools
https://raw.githubusercontent.com/teamdailypractice/pdf-tools/main/typst-pdf/thirukkural-cover/t1.typ
typst
#set page("a4") #set text( font: "TSCu_SaiIndira", size: 32pt ) #set align(center) \ \ \ \ \ \ \ திருக்குறள் \ \ \ #set text( font: "TSCu_SaiIndira", size: 16pt ) மு. வரதராசனார் உரை
https://github.com/valentinvogt/npde-summary
https://raw.githubusercontent.com/valentinvogt/npde-summary/main/src/boxes.typ
typst
#import "theorems.typ": * #import "colors.typ": * #let theorem = thmbox( "theorem", "Theorem", fill: brown-box, // bodyfmt: body => [ // #body 2 // ] titlefmt: title => [ #text(weight: "bold")[ #title: ] ], namefmt: name => [ #text(weight: "bold")[ #name ] ], separator: ...
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/153.%20herd.html.typ
typst
herd.html Investor Herd Dynamics Want to start a startup? Get funded by Y Combinator. August 2013The biggest component in most investors' opinion of you is the opinion of other investors. Which is of course a recipe for exponential growth. When one investor wants to invest in you, that makes other investors w...
https://github.com/jrihon/multi-bibs
https://raw.githubusercontent.com/jrihon/multi-bibs/main/chapters/02_chapter/results.typ
typst
MIT License
#import "../../lib/multi-bib.typ": * #import "bib_02_chapter.typ": biblio == Results #lorem(50) We did the method of Cremer et al #mcite(("Cremer1975general"), biblio).
https://github.com/longlin10086/HITSZ-PhTyp
https://raw.githubusercontent.com/longlin10086/HITSZ-PhTyp/main/utils/two_line.typ
typst
#let two_lines = { set pad(0pt) v(1em) grid( rows: (auto, auto), gutter: 3pt, line(length: 100%, stroke: 0.05em), line(length: 100%, stroke: 0.05em) ) v(1em) }
https://github.com/saveriogzz/curriculum-vitae
https://raw.githubusercontent.com/saveriogzz/curriculum-vitae/main/modules/skills.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Skills") #cvSkill( type: [Languages], info: [English #hBar() Italian] ) #cvSkill( type: [Tech Stack], info: [Scala2 #hBar() Python #hBar() BigQuery] ) #cvSkill( type: [Personal Interests], info: [Swimming #hBar() Learning #hBar() Food] )
https://github.com/floriandejonckheere/utu-thesis
https://raw.githubusercontent.com/floriandejonckheere/utu-thesis/master/thesis/appendices/a-literature-review.typ
typst
#import "@preview/acrostiche:0.3.1": * #import "/helpers.typ": * = Systematic Literature Review publications <slr_publications> #set heading(numbering: none) == Primary studies #show figure: set block(breakable: true) #show figure: set text(size: 9pt) #figure( table( columns: (auto, auto), inset: 5pt, ...
https://github.com/shenxiangzhuang/typst-cn-book
https://raw.githubusercontent.com/shenxiangzhuang/typst-cn-book/master/template/chapters/chap2.typ
typst
MIT License
= 基础格式使用 <chapter2> @chapter2[章节]介绍基本格式的使用。 #lorem(100) == 代码 === Rust 下面是一个Rust代码块示例: #align(center, ```rust fn main() { println!("Hello World!"); } ``` ) === Python 下面是一个Python代码块示例: #align(center, ```python def main(): print("Hello World!") ``` ) #lorem(100) == 数学公式 我们定义$phi.alt$如下: $ phi.al...
https://github.com/ustctug/ustc-thesis-typst
https://raw.githubusercontent.com/ustctug/ustc-thesis-typst/main/template.typ
typst
MIT License
#let thesis( title: "Thesis title", author: "Author", body, ) = { // Set the document's metadata. set document(title: title, author: author) let serif_fonts = ( "Times New Roman", "TeX <NAME>", "SimSun", "Songti SC", ) let sans_fonts = ( "Arial", "TeX <NAME>", "SimHei", ...
https://github.com/ctenopoma/SoftwareDesignTypst
https://raw.githubusercontent.com/ctenopoma/SoftwareDesignTypst/main/000.software_spec.typ
typst
#import ".\software_designe_templete.typ": * #show: software_requirements.with( title: "ソフトウェア要求定義書" ) = 概要 本書は〇〇を対象としたソフトウェアの要求定義書である。 == 目的 本書の目的は〇〇の要求を定義することである。 == 範囲 〇〇が動作する範囲を示す。 == 参照 本書で参照する図書を示す。 #v(10pt) + 参考図書1 + 参考図書2 == 定義 本書で使用する用語を定義する。 #v(30pt) #tbl(table( columns: 3, [用語], [意味], [備...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz-plot/0.1.0/src/plot/errorbar.typ
typst
Apache License 2.0
#import "/src/cetz.typ": draw, util, vector #let _draw-whisker(pt, dir, ..style) = { let a = vector.add(pt, vector.scale(dir, -1)) let b = vector.add(pt, vector.scale(dir, +1)) draw.line(a, b, ..style) } #let draw-errorbar(pt, x, y, x-whisker-size, y-whisker-size, style) = { if type(x) != array { x = (-x, x)...
https://github.com/kdog3682/mathematical
https://raw.githubusercontent.com/kdog3682/mathematical/main/0.1.0/src/patterns/inner-squares-with-translate.typ
typst
#import "@preview/cetz:0.2.2" #import cetz.draw // more like a series of inner squares // i dont know why this works #let runner(size, steps: 1) = { for i in range(steps) { draw.rect((0, 0), (size, size)) size = size / 2 let offset = size / 2 draw.translate(x: offset, y: offset) ...
https://github.com/Complex2-Liu/macmo
https://raw.githubusercontent.com/Complex2-Liu/macmo/main/contests/2023/main.typ
typst
#import "lib/init.typ": init #import "lib/math.typ": problem, solution, note #import "lib/utils.typ": rem // #import "lib/config.typ": config #show: init TODO: - 设计一个 titlepage. - 添加 TOC. - Improve page header and footer. - Page counter. #let header = block(stroke: (bottom: 0.6pt), outset: 0.3em, width: 100%)[ 20...
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/ops-08.typ
typst
Other
// Test equality operators. // Most things compare by value. #test(1 == "hi", false) #test(1 == 1.0, true) #test(30% == 30% + 0cm, true) #test(1in == 0% + 72pt, true) #test(30% == 30% + 1cm, false) #test("ab" == "a" + "b", true) #test(() == (1,), false) #test((1, 2, 3) == (1, 2.0) + (3,), true) #test((:) == (a: 1), fa...
https://github.com/TGM-HIT/typst-diploma-thesis
https://raw.githubusercontent.com/TGM-HIT/typst-diploma-thesis/main/CHANGELOG.md
markdown
MIT License
# [v0.2.0](https://github.com/TGM-HIT/typst-diploma-thesis/releases/tag/v0.2.0) - fix deprecation warnings and incompatibilities introduced in 0.12, in part by updating codly, glossarium and outrageous - long chapter titles now look nicer in the header - **breaking:** glossary entries are now defined differently, see [...
https://github.com/ymgyt/techbook
https://raw.githubusercontent.com/ymgyt/techbook/master/cloud/aws/cdk/consept.md
markdown
# CDK Concepts ## Physical Name * 実際に作成されるResourceの名前のこと * `<resourceType>Name`のpropertyで指定もできる * **あるpropertyの変更がresourceのcreate deleteを引き起こす場合、指定してあると失敗する** ```typescript const bucket = new s3.Bucket(this, 'MyBucket', { bucketName: 'my-bucket-name', }); ```
https://github.com/Robotechnic/diagraph
https://raw.githubusercontent.com/Robotechnic/diagraph/main/doc/manual.typ
typst
MIT License
#import "@preview/mantys:0.1.4": * #import "@preview/diagraph:0.3.0" #show: mantys.with( ..toml("../typst.toml"), examples-scope: dictionary(diagraph), ) = Drawing graphs To draw a graph you have two options: #cmd[raw-render] and #cmd[render]. #cmd[raw-render] is a wrapper around the #cmd[render] and allow to us...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/suiji/0.1.0/README.md
markdown
Apache License 2.0
# Suiji [Suiji](https://github.com/liuguangxi/suiji) (随机 in Chinese, /suíjī/, meaning random) is a high efficient random number generator in Typst. Partial algorithm is inherited from [GSL](https://www.gnu.org/software/gsl) and many APIs are similar to [NumPy Random Generator](https://numpy.org/doc/stable/reference/...
https://github.com/Enter-tainer/typst-preview
https://raw.githubusercontent.com/Enter-tainer/typst-preview/main/addons/vscode/CHANGELOG.md
markdown
MIT License
# Change Log All notable changes to the "typst-preview" extension will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. ## v0.11.7 - [2024-06-09] Thanks @7sDream for this release! - Add supports for setting `sys.inputs` in...
https://github.com/zomvie-break/cv-typst
https://raw.githubusercontent.com/zomvie-break/cv-typst/main/modules/projects.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Projects") #cvEntry( title: [Personal website], society: [chroniclesofhades.com], date: [2023 - Present], location: [Bangkok, Thailand], description: list( [Used NextJS to render dynamic content on the server for improved SEO ], [Styled and added...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/053%20-%20Wilds%20of%20Eldraine/003_Episode%203%3A%20Two%20Great%20Banquets.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 3: Two Great Banquets", set_name: "Wilds of Eldraine", story_date: datetime(day: 10, month: 08, year: 2023), author: " <NAME>", doc ) #emph[Rowan, ] #emph[I hope this finds you ...] #emph[I can't say it'll find you well when I kno...
https://github.com/Caellian/UNIRI_voxels_doc
https://raw.githubusercontent.com/Caellian/UNIRI_voxels_doc/trunk/content/uvod.typ
typst
#import "../util.typ": complexity #import "../template.typ": formula #import "@preview/tablex:0.0.8": * = Uvod Cilj računalne grafike je deterministički prikaz trodimenzionalnog (3D) sadržaja na zaslonu računala. Kako bi se to postiglo, primjenjuju različiti algoritmi na strukturama podataka koje su zavisne o područj...
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/place-float-auto_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page #set page(height: 140pt) #set place(clearance: 5pt) #lorem(6) #place(auto, float: true, rect[A]) #place(auto, float: true, rect[B]) #place(auto, float: true, rect[C]) #place(auto, float: true, rect[D])
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/SestoSprint.typ
typst
MIT License
#import "../../functions.typ": glossary === Sesto #glossary[sprint] *Inizio*: Venerdì 29/12/2023 *Fine*: Giovedì 04/01/2024 *Obiettivi dello #glossary[sprint]*: - Iniziare revisione in stile #glossary[walkthrough] delle _Norme di Progetto v1.0_; - Proseguire la stesura del _Piano di Progetto_, con: - Aggi...
https://github.com/TycheTellsTales/typst-pho
https://raw.githubusercontent.com/TycheTellsTales/typst-pho/main/boards.typ
typst
//////////////// // PHO Boards // //////////////// #let __default = "Brockton Bay" #let __boards = state("pho_boards", ( "Announcements": ("Announcements",), "Brockton Bay": ("Places", "America", [Brockton Bay Discussion (Public Board)]), )) #let register(name, board) = { assert.eq(type(board), "array") con...
https://github.com/jamesrswift/blog
https://raw.githubusercontent.com/jamesrswift/blog/main/assets/packages/booktabs/rigor-test.typ
typst
MIT License
#import "lib.typ" as booktabs #import "@preview/typpuccino:0.1.0" #let bg-fill-1 = typpuccino.latte.base #let bg-fill-2 = typpuccino.latte.mantle #set text(size: 11pt) #show link: box.with(stroke:red) #let data = ( ( date: datetime.today(), particulars: lorem(05), ledger: [JRS123] + booktabs.footnotes...
https://github.com/7sDream/fonts-and-layout-zhCN
https://raw.githubusercontent.com/7sDream/fonts-and-layout-zhCN/master/chapters/04-opentype/exploring/name.typ
typst
Other
#import "/template/template.typ": web-page-template #import "/template/components.typ": note #import "/lib/glossary.typ": tr #show: web-page-template // ### The `name` table === `name` 表 // Any textual data stored within a font goes in the `name` table; not just the name of the font itself, but the version, copyrig...
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/050%20-%20Phyrexia%3A%20All%20Will%20Be%20One/002_A%20Hollow%20Body.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "A Hollow Body", set_name: "Phyrexia: All Will Be One", story_date: datetime(day: 12, month: 01, year: 2023), author: "<NAME>", doc ) The Dross Pits stink. You stand at the base of the vault, staring up the steaming shaft wall. You can smel...
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-F900.typ
typst
Apache License 2.0
#let data = ( ("CJK COMPATIBILITY IDEOGRAPH-F900", "Lo", 0), ("CJK COMPATIBILITY IDEOGRAPH-F901", "Lo", 0), ("CJK COMPATIBILITY IDEOGRAPH-F902", "Lo", 0), ("CJK COMPATIBILITY IDEOGRAPH-F903", "Lo", 0), ("CJK COMPATIBILITY IDEOGRAPH-F904", "Lo", 0), ("CJK COMPATIBILITY IDEOGRAPH-F905", "Lo", 0), ("CJK COMP...
https://github.com/Ngan-Ngoc-Dang-Nguyen/thesis
https://raw.githubusercontent.com/Ngan-Ngoc-Dang-Nguyen/thesis/main/docs/xxx-how.typ
typst
#include "../tools/multi-section-ref.typ" #import "../tools/macros.typ": eqref #import "../typst-orange.typ": theorem, proof, lemma, proposition, corollary, example // = CÁCH DÙNG TYPST // - ở mỗi file, cần thêm các dòng sau ở đầu file // ```typ // #include "../tools/multi-section-ref.typ" // #import "../tools/macros...
https://github.com/Nerixyz/icu-typ
https://raw.githubusercontent.com/Nerixyz/icu-typ/main/docs/docs/fmt-timezone.md
markdown
MIT License
# `fmt-timezone` 🚧 <!-- prettier-ignore --> !!!warning This function is experimental and can change at any time. ```typst-code let fmt-timezone( offset: none, // required iana: none, bcp47: none, local-date: none, metazone-id: none, zone-variant: none, locale: "en", fallback: "localized-gmt",...
https://github.com/tinnamchoi/resumes
https://raw.githubusercontent.com/tinnamchoi/resumes/master/src/template/template.typ
typst
#import "private.typ": * // main template #let header( name: "", links: (), ) = { context { set align(center) set text(size: 9pt) show par: set block(spacing: 0.25em) display_name(name: name) parbreak() display_links(links: links) } } #let template( doc, ) = [ #set text(font: "Rub...
https://github.com/0x1B05/nju_os
https://raw.githubusercontent.com/0x1B05/nju_os/main/lecture_notes/content/19_系统调用和UNIX-Shell.typ
typst
#import "../template.typ": * #pagebreak() = 系统调用和 UNIX Shell #image("images/2023-12-06-20-05-05.png") ```sh ❯ file /bin/ls /bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=897f49cafa98c11d63e619e7e40352f 855249c13, for GNU/Lin...
https://github.com/mgoulao/IST-MSc-Thesis-Typst-Template
https://raw.githubusercontent.com/mgoulao/IST-MSc-Thesis-Typst-Template/main/appendix_a.typ
typst
= Appendix == Appendix Section #lorem(100)
https://github.com/mielpeeters/pitcher
https://raw.githubusercontent.com/mielpeeters/pitcher/main/0.1.0/pitch.typ
typst
#let slide_count = counter("slide") #let slide_type = state("stype", 0) #let define_style(color: rgb("#0328fc"), font: "IBM Plex Sans", ..args) = { let primary_color = color let secondary_color = color.lighten(20%) let subtle_color = color.lighten(70%) let dark_color = color.darken(20%) let font_color = luma...
https://github.com/jredondoyuste/TypstReport
https://raw.githubusercontent.com/jredondoyuste/TypstReport/main/report.typ
typst
The Unlicense
#let report( title: "Report", event: "Nobel Prize Ceremony", author: "<NAME>", supervisor: "<NAME>", placedate: "Copenhagen, May 12th 2023.", doc, ) = { let header_text(term, align_value:left) = { set text( font: "TeX Gyre Adventor", size: 11pt, weight: "thin", ...
https://github.com/v1j4y/intro_qmech
https://raw.githubusercontent.com/v1j4y/intro_qmech/master/template.typ
typst
#let buildMainHeader(mainHeadingContent) = { [ #align(center, smallcaps(mainHeadingContent)) #line(length: 100%) ] } #let buildSecondaryHeader(mainHeadingContent, secondaryHeadingContent) = { [ #smallcaps(mainHeadingContent) #h(1fr) #emph(secondaryHeadingContent) #line(length: 100%) ] } //...
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/tests/i18n/test.typ
typst
Other
#import "/lib/lib.typ" as ucpc #import ucpc: i18n #let base = i18n.en-us #let base__make-prob-meta-keys = base.make-prob-meta.keys() #let base__make-prob-overview-keys = base.make-prob-overview.keys() #let base__make-problem-keys = base.make-problem.keys() #let base__problem-keys = base.make-problem.keys() #assert(ba...
https://github.com/SkiFire13/eh-presentation-shellcode
https://raw.githubusercontent.com/SkiFire13/eh-presentation-shellcode/master/unipd.typ
typst
#import "@preview/polylux:0.3.1": logic, utils #let unipd-palette = ( main: rgb(155, 0, 20), gray: rgb(72, 79, 89), light-gray: rgb(237, 237, 238), header-logo: "logo_text_white.png", title-background: "bg.svg", background-logo: "logo_text.png", footer-wave: "bg_wave.svg", ) #let palette-state = state("...
https://github.com/liuguangxi/suiji
https://raw.githubusercontent.com/liuguangxi/suiji/main/src/taus.typ
typst
MIT License
//============================================================================== // Maximally equidistributed combined Tausworthe generator // // The period of this generator is about 2^88. // Part of algorithm implementations reference to // GSL (https://www.gnu.org/software/gsl) //==============================...
https://github.com/AliothCancer/AppuntiUniversity
https://raw.githubusercontent.com/AliothCancer/AppuntiUniversity/main/capitoli_applicazioni/biocompatibilità.typ
typst
= Biocompatibilità == Costante di affinità K $ K = ["PS"] / ([P][S]) $ - \[PS\] $"ng"/"cm"^2$: Densità dei siti di legame occupati. - \[P\] $"ng"/"ml"$: Concentrazione della soluzione contente la biomolecola che aderisce al biomateriale
https://github.com/ShapeLayer/ucpc-solutions__typst
https://raw.githubusercontent.com/ShapeLayer/ucpc-solutions__typst/main/lib/utils/problem.typ
typst
Other
#import "/lib/i18n.typ": en-us #import "/lib/colors.typ": color #import "/lib/utils/make-problem.typ": make-problem #let problem = make-problem
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/unichar/0.1.0/ucd/block-16AD0.typ
typst
Apache License 2.0
#let data = ( ("BASSA VAH LETTER ENNI", "Lo", 0), ("BASSA VAH LETTER KA", "Lo", 0), ("BASSA VAH LETTER SE", "Lo", 0), ("BASSA VAH LETTER FA", "Lo", 0), ("BASSA VAH LETTER MBE", "Lo", 0), ("BASSA VAH LETTER YIE", "Lo", 0), ("BASSA VAH LETTER GAH", "Lo", 0), ("BASSA VAH LETTER DHII", "Lo", 0), ("BASSA V...
https://github.com/Slyde-R/not-jku-thesis-template
https://raw.githubusercontent.com/Slyde-R/not-jku-thesis-template/main/template/content/Analysis.typ
typst
MIT No Attribution
#import "../utils.typ": todo, silentheading, flex-caption = Analysis #todo[Replace this chapter!] == Introduction The analysis aims to identify patterns and relationships within the data, offering insights into how cats use specific behaviors to influence their human companions and the subsequent effects on human rou...
https://github.com/taiga4112/jasnaoe_template_typst
https://raw.githubusercontent.com/taiga4112/jasnaoe_template_typst/main/libs/jasnaoe-conf/jasnaoe-conf_lib.typ
typst
// Workaround for the lack of an `std` scope. #let std-bibliography = bibliography #let mincho = ("Times New Roman", "MS Mincho", "IPAMincho", "Noto Serif CJK JP", "Hiragino Mincho Pro") #let gothic = ("Times New Roman", "MS Gothic", "IPAGothic", "Noto Sans CJK JP", "Hiragino Kaku Gothic Pro") #let jasnaoe-conf( ti...
https://github.com/CK1201/Chengkai_CV
https://raw.githubusercontent.com/CK1201/Chengkai_CV/main/resume.typ
typst
MIT License
#import "chicv.typ": * #show: chicv = <NAME> #fa[#envelope] #link("mailto:<EMAIL>")[<EMAIL>] | #fa[#github] #link("https://github.com/ck1201")[github.com/ck1201] | #fa[#user] #link("https://chengkaiwu.me")[chengkaiwu.me] | // #fa[#calendar] 1 December 1999 | // #fa[#globe] China // #fa[#google] #link("https://schola...
https://github.com/kristoferssolo/Mafia-the-Game-Description
https://raw.githubusercontent.com/kristoferssolo/Mafia-the-Game-Description/main/layout.typ
typst
#import "@preview/i-figured:0.1.0" #import "@preview/big-todo:0.2.0": * #import "@preview/tablex:0.0.6": tablex #let indent = 1cm #let indent-par( body, ) = par(h(indent) + body) #let project( university: "", faculty: "", title: [], authors: (), advisor: "", date: "", body, ) = { set document(author...